/* =====================================================================
   andreasjunge.berlin – Relaunch 2026
   Farbwelt „Marine & Messing“, Schriften selbst gehostet (DSGVO)
   Wird auf ALLEN Seiten als letztes Stylesheet geladen.
===================================================================== */

/* ---------- Schrift (lokal, kein Google-Server) ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("/fonts/inter-latin-800-normal.woff2") format("woff2"); }

/* ---------- Design-Tokens ---------- */
:root {
  --aj-ink:        #0F1C2B;   /* Text, Überschriften */
  --aj-navy:       #1B3A5C;   /* Primärfarbe, Buttons */
  --aj-navy-dark:  #132B45;   /* Hover */
  --aj-navy-soft:  #E9EEF4;   /* helle Navy-Fläche */
  --aj-brass:      #A9823F;   /* Akzent: Linien, Kicker */
  --aj-brass-text: #85662D;   /* Akzent als Text (Kontrast) */
  --aj-paper:      #F6F4EF;   /* warmes Hellgrau für Banner/Sektionen */
  --aj-line:       #E2DED5;   /* Trennlinien */
  --aj-muted:      #556070;   /* Fließtext sekundär */
  --aj-white:      #FFFFFF;
  --aj-footer:     #13233A;
  --aj-star:       #D99A1E;
  --aj-radius:     6px;
  --aj-serif: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --aj-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Basis ---------- */
html, body {
  font-family: var(--aj-sans) !important;
  color: var(--aj-ink);
  background: var(--aj-white);
  font-size: 17px;
}
body { line-height: 1.6; }
h1, h2, h3 {
  font-family: var(--aj-serif);
  font-weight: 600;
  color: var(--aj-ink);
  letter-spacing: -0.01em;
}
h4, h5, h6 { font-family: var(--aj-sans); color: var(--aj-ink); }
a { color: var(--aj-navy); }
a:hover { color: var(--aj-navy-dark); }
.visually-hidden-aj { position:absolute!important; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }

.aj-kicker {
  display: inline-block;
  font-family: var(--aj-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--aj-brass-text);
}

/* ---------- Buttons ---------- */
.aj-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--aj-navy); color: #fff !important;
  font-family: var(--aj-sans); font-weight: 600; font-size: 1rem;
  padding: .8rem 1.4rem; border-radius: var(--aj-radius); border: 1px solid var(--aj-navy);
  text-decoration: none !important; line-height: 1.2; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.aj-btn:hover { background: var(--aj-navy-dark); border-color: var(--aj-navy-dark); color: #fff; }
.aj-btn:focus-visible { outline: 3px solid rgba(169,130,63,.45); outline-offset: 2px; }
.aj-btn-ghost {
  display: inline-flex; align-items: center; gap: .4rem;
  background: transparent; color: var(--aj-navy) !important;
  font-weight: 600; padding: .8rem 1.1rem; border-radius: var(--aj-radius);
  border: 1px solid #C9D2DD; text-decoration: none !important;
}
.aj-btn-ghost:hover { border-color: var(--aj-navy); }

/* =====================================================================
   HEADER
===================================================================== */
nav.aj-header {
  background: var(--aj-white) !important;
  border-bottom: 1px solid var(--aj-line);
  padding: 14px 0 !important;
}
.aj-header .container { max-width: 1180px !important; padding-left: 20px !important; padding-right: 20px !important; }
.aj-brand { display: flex; flex-direction: column; text-decoration: none !important; line-height: 1.15; }
.aj-brand-name { font-family: var(--aj-serif); font-weight: 600; font-size: 1.35rem; color: var(--aj-ink); letter-spacing: -0.01em; }
.aj-brand-sub  { white-space: nowrap; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--aj-brass-text); margin-top: 3px; }

.aj-header .aj-nav-link {
  color: var(--aj-ink) !important; font-size: 0.98rem; font-weight: 400;
  padding: .5rem .95rem !important; white-space: nowrap;
}
.aj-header .aj-nav-link:hover,
.aj-header .nav-item.dropdown:hover > .aj-nav-link { color: var(--aj-navy) !important; text-decoration: underline; text-decoration-color: var(--aj-brass); text-underline-offset: 6px; }
.aj-header .dropdown-toggle::after { display: none !important; }

.aj-rating-link { display: inline-flex; align-items: center; gap: 6px; font-size: .92rem; color: var(--aj-ink) !important; text-decoration: none !important; }
.aj-rating-link img { height: 18px; width: auto; }
.aj-rating-link .stars { color: var(--aj-star); letter-spacing: 1px; font-size: .85rem; }
.aj-rating-link .cnt { color: var(--aj-muted); font-size: .85rem; }

.aj-header-phone { font-weight: 600; color: var(--aj-ink) !important; text-decoration: none !important; white-space: nowrap; font-size: .98rem; }
.aj-header-phone small { display:block; font-weight: 400; font-size: .72rem; color: var(--aj-muted); letter-spacing: .02em; }
.aj-header .aj-btn { padding: .62rem 1.1rem; font-size: .95rem; white-space: nowrap; }
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .aj-header .aj-nav-link { padding: .5rem .7rem !important; }
  .aj-header-phone small { display: none; }
}
@media (max-width: 575.98px) {
  .aj-brand-name { font-size: 1.2rem; }
  .aj-brand-sub { font-size: .6rem; letter-spacing: .08em; }
  nav.aj-header .container { flex-wrap: nowrap; }
  .aj-header .navbar-collapse { position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 0 20px 16px; border-bottom: 1px solid var(--aj-line); margin-top: 0; }
}

@media (min-width: 1200px) {
  .aj-header .dropdown-menu {
    background: #fff; border: 1px solid var(--aj-line); border-radius: 8px;
    box-shadow: 0 12px 32px rgba(15,28,43,.10); padding: 8px; min-width: 250px; top: 100%;
  }
  .aj-header .dropdown-item { font-size: .93rem; color: var(--aj-ink); padding: .55rem .8rem; border-radius: 4px; }
  .aj-header .dropdown-item:hover { background: var(--aj-paper); color: var(--aj-navy); }
  .aj-header .nav-item.dropdown .dropdown-menu { display: none; }
  .aj-header .nav-item.dropdown:hover .dropdown-menu { display: block; }
  .aj-header .desktop-no-click { pointer-events: none; }
}
@media (max-width: 1199.98px) {
  nav.aj-header { width: 100vw !important; max-width: 100vw !important; }
  .aj-header .navbar-collapse { border-top: 1px solid var(--aj-line); margin-top: 12px; }
  .aj-header .navbar-nav .nav-item { width: 100%; border-bottom: 1px solid var(--aj-line); }
  .aj-header .aj-nav-link { display: flex; justify-content: space-between; padding: .95rem 0 !important; font-size: 1.02rem; }
  .aj-header .dropdown-toggle::after { display: inline-block !important; content: '+'; border: 0 !important; font-size: 1.3rem; line-height: .8; color: var(--aj-muted); }
  .aj-header .dropdown-toggle[aria-expanded="true"]::after { content: '−'; }
  .aj-header .dropdown-menu { border: 0 !important; box-shadow: none !important; padding: 0 0 8px !important; margin: 0 !important; }
  .aj-header .dropdown-item { padding: .6rem 1rem !important; color: var(--aj-muted); font-size: .95rem; }
  .aj-header .nav-item.aj-nav-cta { border-bottom: 0; padding: 16px 0 6px; }
  .aj-header .aj-btn { width: 100%; padding: .85rem 1rem; }
  .aj-header .aj-rating-link { padding: .95rem 0; }
}
.aj-header .navbar-toggler { border: 0; padding: .25rem .25rem; box-shadow: none !important; }
.aj-header .navbar-toggler-icon {
  width: 26px; height: 18px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 18'><g stroke='%230F1C2B' stroke-width='1.6' stroke-linecap='round'><line x1='1' y1='2' x2='25' y2='2'/><line x1='1' y1='9' x2='25' y2='9'/><line x1='1' y1='16' x2='25' y2='16'/></g></svg>");
  background-size: 26px 18px;
}

/* Mobile Anruf-Leiste im Header */
.aj-mobile-call { display:none; }
@media (max-width: 1199.98px) {
  .aj-mobile-call { display:inline-flex; align-items:center; margin-left:auto; margin-right:10px; white-space:nowrap; font-weight:600; font-size:.9rem; color: var(--aj-navy) !important; text-decoration:none !important; border:1px solid #C9D2DD; border-radius: var(--aj-radius); padding:.4rem .7rem; }
}

/* =====================================================================
   FOOTER
===================================================================== */
.aj-footer { background: var(--aj-footer); color: #B7C2CF; padding: 64px 0 28px; border-top: 3px solid var(--aj-brass); margin-top: 0; }
.aj-footer .container { max-width: 1180px; padding: 0 20px; }
.aj-footer .aj-brand-name { color: #fff; font-size: 1.4rem; }
.aj-footer .aj-brand-sub { color: #CDB07A; }
.aj-footer p { font-size: .93rem; line-height: 1.7; color: #A9B5C3; }
.aj-footer h5 { font-family: var(--aj-sans); color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.aj-footer ul { list-style: none; padding: 0; margin: 0; }
.aj-footer li { margin-bottom: 9px; }
.aj-footer a { color: #C9D3DE; text-decoration: none; font-size: .93rem; }
.aj-footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--aj-brass); text-underline-offset: 4px; }
.aj-footer dl { margin: 0; font-size: .93rem; }
.aj-footer dt { color: #7F8C9C; font-weight: 600; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; margin-top: 12px; }
.aj-footer dd { margin: 2px 0 0; color: #DCE3EA; }
.aj-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; color: #7F8C9C; }

/* =====================================================================
   CTA-BANNER (Unterseiten) – hell statt dunkel
===================================================================== */
.cta-anwalt {
  background: var(--aj-paper) !important;
  border: 1px solid var(--aj-line);
  border-left: 4px solid var(--aj-brass);
  border-radius: var(--aj-radius) !important;
  padding: 22px 26px !important;
  display: flex; align-items: center; gap: 24px;
  box-shadow: none !important;
}
.cta-anwalt .cta-icon { display: none !important; }
.cta-anwalt .cta-text h4 { font-family: var(--aj-serif) !important; font-weight: 600 !important; font-size: 1.25rem !important; color: var(--aj-ink) !important; margin: 0 0 6px !important; }
.cta-anwalt .cta-text p  { color: var(--aj-muted) !important; font-size: .98rem !important; line-height: 1.55 !important; margin: 0 !important; }
.cta-anwalt .cta-text p strong { color: var(--aj-ink); }
.btn-gold,
.cta-anwalt .btn-gold,
.sticky-cta .btn-gold {
  background: var(--aj-navy) !important; color: #fff !important; border: 0 !important;
  font-family: var(--aj-sans); font-weight: 600 !important; font-size: .98rem !important;
  padding: .8rem 1.3rem !important; border-radius: var(--aj-radius) !important; white-space: nowrap;
}
.btn-gold:hover,
.cta-anwalt .btn-gold:hover,
.sticky-cta .btn-gold:hover { background: var(--aj-navy-dark) !important; color: #fff !important; }
.sticky-cta { background: #fff !important; border-top: 1px solid var(--aj-line) !important; box-shadow: 0 -6px 20px rgba(15,28,43,.08) !important; }
.sticky-cta p { color: var(--aj-ink) !important; font-weight: 600; }

/* Unterseiten: Inhaltsverzeichnis-Akzent */
.toc-box a:hover, .toc-box a.active { border-left-color: var(--aj-brass) !important; color: var(--aj-ink) !important; }

/* =====================================================================
   STARTSEITE
===================================================================== */
.aj-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.aj-section { padding: 80px 0; }
.aj-section-paper { background: var(--aj-paper); }
.aj-section-head { max-width: 720px; margin-bottom: 40px; }
.aj-section-head h2 { font-size: 2.1rem; margin: 10px 0 12px; line-height: 1.2; }
.aj-section-head p { color: var(--aj-muted); font-size: 1.05rem; margin: 0; }
@media (max-width: 767px) {
  .aj-section { padding: 56px 0; }
  .aj-section-head h2 { font-size: 1.65rem; }
}

/* ---------- Hero ---------- */
.aj-hero { background: linear-gradient(180deg, var(--aj-paper) 0%, #FBFAF7 100%); border-bottom: 1px solid var(--aj-line); padding: 48px 0 64px; }
.aj-hero-grid { display: grid; grid-template-columns: 1fr 520px; gap: 56px; align-items: start; }
.aj-hero h1 { font-size: 2.7rem; line-height: 1.12; margin: 14px 0 16px; }
.aj-hero-lead { font-size: 1.15rem; color: var(--aj-muted); max-width: 500px; margin: 0 0 26px; }
.aj-checks { list-style: none; padding: 0; margin: 0 0 32px; }
.aj-checks li { position: relative; padding-left: 28px; margin-bottom: 10px; font-size: 1.04rem; color: var(--aj-ink); }
.aj-checks li::before {
  content: ""; position: absolute; left: 2px; top: .42em; width: 13px; height: 7px;
  border-left: 2px solid var(--aj-brass); border-bottom: 2px solid var(--aj-brass); transform: rotate(-45deg);
}
.aj-lawyer { display: flex; gap: 16px; align-items: center; padding-top: 24px; border-top: 1px solid var(--aj-line); max-width: 500px; }
.aj-lawyer img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--aj-navy-soft); flex-shrink: 0; }
.aj-lawyer-name { font-family: var(--aj-serif); font-weight: 600; font-size: 1.15rem; line-height: 1.2; }
.aj-lawyer-role { font-size: .9rem; color: var(--aj-muted); }
.aj-ratings { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 6px; font-size: .9rem; }
.aj-ratings a { color: var(--aj-ink); text-decoration: none; }
.aj-ratings a:hover { text-decoration: underline; }
.aj-ratings strong { font-weight: 700; }
.aj-ratings .stars { color: var(--aj-star); letter-spacing: 1px; }
.aj-ratings .cnt { color: var(--aj-muted); }

@media (max-width: 1099.98px) {
  .aj-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .aj-hero { padding: 28px 0 40px; }
  .aj-hero h1 { font-size: 1.95rem; margin-top: 8px; }
}
@media (max-width: 575.98px) {
  .aj-hero { padding-top: 22px; }
  .aj-hero h1 { font-size: 1.7rem; margin-bottom: 10px; }
  .aj-hero-lead { font-size: .98rem; }
  .aj-funnel-top { padding: 16px 18px 0; }
  .aj-funnel .form-container { padding: 18px 18px 20px; }
  .aj-funnel h2.question { font-size: 1.35rem; }
  .aj-funnel .question-item { padding: 13px 15px; }
  .aj-funnel-foot { padding: 12px 18px; }
  .aj-form { padding: 22px 18px; }
  .aj-hero-lead { font-size: 1.03rem; margin-bottom: 0; }
  .aj-hero-intro .aj-checks, .aj-hero-intro .aj-lawyer { display: none; }
  .aj-hero-after { display: block !important; }
}
.aj-hero-after { display: none; margin-top: 28px; }

/* ---------- Klickstrecke ---------- */
.aj-funnel {
  background: #fff; border: 1px solid var(--aj-line); border-radius: 10px;
  box-shadow: 0 18px 50px rgba(15,28,43,.08); overflow: hidden;
  scroll-margin-top: 100px;
}
.aj-funnel-top { padding: 18px 26px 0; }
.aj-funnel-meta { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; color: var(--aj-muted); margin-bottom: 10px; }
.aj-funnel-meta strong { color: var(--aj-ink); font-weight: 600; letter-spacing: .02em; }
.aj-progress { height: 4px; background: var(--aj-navy-soft); border-radius: 4px; overflow: hidden; }
.aj-progress span { display: block; height: 100%; width: 10%; background: var(--aj-navy); border-radius: 4px; transition: width .35s ease; }

.aj-funnel .form-container { background: transparent; box-shadow: none; border-radius: 0; padding: 22px 26px 26px; margin: 0; max-width: none; }
.aj-funnel h2.question {
  font-family: var(--aj-serif); font-weight: 600; font-size: 1.55rem; line-height: 1.25;
  color: var(--aj-ink); margin: 0 0 18px; padding: 0;
}
.aj-options { display: grid; gap: 10px; }
.aj-funnel .question-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
  font-family: var(--aj-sans); font-size: 1.04rem; font-weight: 600; text-align: left;
  color: var(--aj-ink); background: #fff;
  border: 1px solid #D5DBE3; border-radius: var(--aj-radius);
  padding: 15px 18px; margin: 0; cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.aj-funnel .question-item small { display:block; font-weight: 400; font-size: .86rem; color: var(--aj-muted); margin-top: 2px; }
.aj-funnel .question-item::after {
  content: ""; width: 8px; height: 8px; flex-shrink: 0; margin-right: 4px;
  border-top: 2px solid #9AA6B4; border-right: 2px solid #9AA6B4; transform: rotate(45deg);
  transition: border-color .15s ease;
}
.aj-funnel .question-item:hover { border-color: var(--aj-navy); background: #FAFBFC; transform: none; box-shadow: none; }
.aj-funnel .question-item:hover::after { border-color: var(--aj-navy); }
.aj-funnel .question-item:focus-visible { outline: 3px solid rgba(169,130,63,.45); outline-offset: 2px; }
.aj-funnel .question-item.active { background: var(--aj-navy); border-color: var(--aj-navy); color: #fff; }
.aj-funnel .question-item.active small { color: #C9D6E4; }
.aj-funnel .question-item.active::after { border-color: #fff; }

.aj-back { display: inline-block; margin-top: 18px; background: none; border: 0; padding: 4px 0; font-size: .95rem; color: var(--aj-muted); cursor: pointer; font-family: var(--aj-sans); }
.aj-back:hover { color: var(--aj-ink); text-decoration: underline; }

.aj-funnel-foot { border-top: 1px solid var(--aj-line); background: #FBFAF7; padding: 13px 26px; font-size: .86rem; color: var(--aj-muted); display: flex; flex-wrap: wrap; gap: 4px 18px; }
.aj-funnel-foot span { position: relative; padding-left: 16px; }
.aj-funnel-foot span::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--aj-brass); }

.aj-notice { border: 1px solid #D5DBE3; border-left: 4px solid var(--aj-brass); background: var(--aj-paper); border-radius: var(--aj-radius); padding: 16px 18px; margin: 4px 0 6px; font-size: .96rem; }
.aj-notice h4 { font-size: 1rem; font-weight: 700; margin: 0 0 6px; }
.aj-notice p { margin: 0 0 12px; color: var(--aj-muted); }
.aj-notice .aj-btn, .aj-notice .aj-btn-ghost { padding: .55rem 1rem; font-size: .93rem; }

.aj-upload { background: var(--aj-paper); border: 1px solid var(--aj-line); border-radius: var(--aj-radius); padding: 16px 18px; margin-top: 4px; font-size: .96rem; }
.aj-upload p { margin: 0 0 12px; }
.aj-upload .aj-btn, .aj-upload .aj-btn-ghost { width: 100%; margin-bottom: 8px; }
.aj-upload-item { display: flex; gap: 8px; align-items: center; background: #fff; border: 1px solid var(--aj-line); border-radius: 4px; padding: 8px 10px; font-size: .9rem; margin-top: 6px; }
.aj-upload-item::before { content: ""; width: 10px; height: 5px; border-left: 2px solid #2E7D4F; border-bottom: 2px solid #2E7D4F; transform: rotate(-45deg); margin: 0 4px 3px 2px; flex-shrink: 0; }

/* Kontakt-Schritt */
.aj-contact-grid { display: grid; grid-template-columns: 1fr 560px; gap: 56px; align-items: start; }
@media (max-width: 1099.98px) { .aj-contact-grid { grid-template-columns: 1fr; gap: 20px; } .aj-contact-intro .aj-checks { display: none; } }
.aj-form { background: #fff; border: 1px solid var(--aj-line); border-radius: 10px; box-shadow: 0 18px 50px rgba(15,28,43,.08); padding: 28px; }
.aj-form h2 { font-size: 1.5rem; margin: 0 0 6px; }
.aj-form > p { color: var(--aj-muted); margin: 0 0 18px; }
.aj-form .form-control { font-family: var(--aj-sans); font-size: 1rem; padding: .78rem .9rem; border: 1px solid #CDD4DD; border-radius: var(--aj-radius); }
.aj-form .form-control:focus { border-color: var(--aj-navy); box-shadow: 0 0 0 3px rgba(27,58,92,.12); }
.aj-form .form-label { font-size: .86rem; font-weight: 600; color: var(--aj-ink); margin-bottom: 4px; }
.aj-salutation { display: flex; gap: 22px; margin-bottom: 4px; }
.aj-salutation label { display: inline-flex; gap: 8px; align-items: center; cursor: pointer; }
.aj-salutation input { accent-color: var(--aj-navy); width: 17px; height: 17px; }
.aj-form .aj-btn { width: 100%; padding: 1rem; font-size: 1.05rem; margin-top: 20px; }
.aj-form-legal { font-size: .8rem; color: var(--aj-muted); margin: 12px 0 0; line-height: 1.5; }

/* ---------- Rechtsgebiete ---------- */
.aj-area-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin: 0 0 18px; padding-bottom: 12px; border-bottom: 1px solid var(--aj-line); }
.aj-area-head h3 { font-size: 1.4rem; margin: 0; }
.aj-area-head a { font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap; }
.aj-area-head a:hover { text-decoration: underline; }
.aj-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 56px; }
.aj-cards:last-child { margin-bottom: 0; }
@media (max-width: 991.98px) { .aj-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .aj-cards { grid-template-columns: 1fr; } .aj-area-head { flex-direction: column; align-items: start; gap: 6px; } }
.aj-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--aj-line); border-radius: 8px; overflow: hidden; text-decoration: none !important; color: var(--aj-ink); transition: border-color .15s ease, box-shadow .15s ease; }
.aj-card:hover { border-color: #BFC8D3; box-shadow: 0 10px 28px rgba(15,28,43,.08); color: var(--aj-ink); }
.aj-card-img { aspect-ratio: 16/9; background: var(--aj-navy-soft); overflow: hidden; }
.aj-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.85); }
.aj-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.aj-card-law { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--aj-brass-text); margin-bottom: 6px; }
.aj-card h4 { font-family: var(--aj-serif); font-weight: 600; font-size: 1.2rem; margin: 0 0 8px; line-height: 1.25; }
.aj-card p { font-size: .95rem; color: var(--aj-muted); margin: 0 0 14px; line-height: 1.55; }
.aj-card-more { margin-top: auto; font-weight: 600; font-size: .93rem; color: var(--aj-navy); }
.aj-card:hover .aj-card-more { text-decoration: underline; }
.aj-card-plain { border-top: 3px solid var(--aj-navy); }

/* ---------- Profil ---------- */
.aj-profile { display: grid; grid-template-columns: 360px 1fr; gap: 64px; align-items: start; }
@media (max-width: 991.98px) { .aj-profile { grid-template-columns: 1fr; gap: 32px; } }
.aj-profile-img { border-radius: 8px; overflow: hidden; background: var(--aj-navy-soft); aspect-ratio: 4/5; }
.aj-profile-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.aj-profile-facts { margin-top: 20px; border-top: 1px solid var(--aj-line); }
.aj-profile-facts div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--aj-line); font-size: .95rem; }
.aj-profile-facts span { color: var(--aj-muted); }
.aj-profile-facts strong { font-weight: 600; text-align: right; }
.aj-profile h2 { font-size: 2.2rem; margin: 10px 0 4px; }
.aj-profile-role { font-size: 1.1rem; color: var(--aj-muted); margin-bottom: 24px; }
.aj-profile-text p { font-size: 1.05rem; line-height: 1.7; }
.aj-profile h3 { font-size: 1.25rem; margin: 34px 0 14px; }
.aj-cv { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--aj-line); }
.aj-cv li { position: relative; padding: 0 0 20px 24px; }
.aj-cv li::before { content: ""; position: absolute; left: -6px; top: .45em; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2px solid var(--aj-brass); }
.aj-cv-date { font-size: .82rem; font-weight: 700; letter-spacing: .06em; color: var(--aj-brass-text); text-transform: uppercase; }
.aj-cv-title { font-weight: 600; margin: 2px 0; }
.aj-cv-desc { font-size: .95rem; color: var(--aj-muted); }

/* ---------- Bewertungen ---------- */
.aj-reviews-top { display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: center; margin-bottom: 32px; }
.aj-score { display: flex; align-items: center; gap: 12px; text-decoration: none !important; color: var(--aj-ink); }
.aj-score-num { font-family: var(--aj-serif); font-size: 2.3rem; font-weight: 600; line-height: 1; }
.aj-score .stars { color: var(--aj-star); letter-spacing: 2px; display: block; }
.aj-score small { color: var(--aj-muted); font-size: .88rem; }
.aj-review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 991.98px) { .aj-review-grid { grid-template-columns: 1fr; } }
.aj-review { background: #fff; border: 1px solid var(--aj-line); border-radius: 8px; padding: 26px; display: flex; flex-direction: column; margin: 0; }
.aj-review .stars { color: var(--aj-star); letter-spacing: 2px; font-size: .95rem; margin-bottom: 12px; }
.aj-review blockquote { font-family: var(--aj-serif); font-size: 1.05rem; line-height: 1.6; color: var(--aj-ink); margin: 0 0 18px; }
.aj-review figcaption { margin-top: auto; font-size: .9rem; color: var(--aj-muted); }
.aj-review figcaption strong { color: var(--aj-ink); font-weight: 600; }
.aj-review figcaption a { color: var(--aj-muted); }

/* ---------- FAQ ---------- */
.aj-faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; }
@media (max-width: 767.98px) { .aj-faq { grid-template-columns: 1fr; } }
.aj-faq-item { border-top: 1px solid var(--aj-line); padding: 24px 0; }
.aj-faq-item h3 { font-size: 1.2rem; margin: 0 0 10px; line-height: 1.35; }
.aj-faq-item p { color: var(--aj-muted); margin: 0; font-size: 1rem; line-height: 1.65; }
.aj-faq-item strong { color: var(--aj-ink); }

/* ---------- Großer CTA-Block (hell) ---------- */
.aj-cta-block { background: var(--aj-paper); border: 1px solid var(--aj-line); border-left: 4px solid var(--aj-brass); border-radius: 8px; padding: 36px 40px; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.aj-cta-block h2 { font-size: 1.75rem; margin: 0 0 8px; }
.aj-cta-block p { color: var(--aj-muted); margin: 0; font-size: 1.04rem; }
.aj-cta-actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
@media (max-width: 767.98px) { .aj-cta-block { grid-template-columns: 1fr; padding: 26px 22px; } .aj-cta-block h2 { font-size: 1.4rem; } }

/* ---------- Standort ---------- */
.aj-location { display: grid; grid-template-columns: 1fr 400px; gap: 56px; align-items: start; }
@media (max-width: 991.98px) { .aj-location { grid-template-columns: 1fr; gap: 32px; } }
.aj-location h2 { font-size: 1.85rem; line-height: 1.25; margin: 10px 0 18px; }
.aj-location-text p { font-size: 1.02rem; line-height: 1.7; color: #2B3746; }
.aj-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.aj-tags a { font-size: .87rem; color: var(--aj-ink); text-decoration: none; border: 1px solid var(--aj-line); background: #fff; border-radius: 30px; padding: 6px 13px; }
.aj-tags a:hover { border-color: var(--aj-navy); color: var(--aj-navy); }
.aj-contact-card { background: #fff; border: 1px solid var(--aj-line); border-top: 3px solid var(--aj-navy); border-radius: 8px; padding: 26px 28px; }
.aj-contact-card h3 { font-size: 1.3rem; margin: 0 0 6px; }
.aj-contact-card dl { margin: 0; }
.aj-contact-card dt { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--aj-brass-text); margin-top: 16px; }
.aj-contact-card dd { margin: 3px 0 0; font-size: .98rem; }
.aj-contact-card dd small { color: var(--aj-muted); }

/* ---------- Mobile-Feinschliff (muss am Ende stehen) ---------- */
@media (max-width: 575.98px) {
  .aj-hero-intro .aj-kicker { display: none; }
  .aj-hero h1 { margin-top: 0; }
  .aj-funnel-top { padding: 14px 16px 0; }
  .aj-funnel .form-container { padding: 16px 16px 18px; }
  .aj-funnel h2.question { font-size: 1.3rem; margin-bottom: 14px; }
  .aj-funnel .question-item { padding: 12px 14px; font-size: 1rem; }
  .aj-funnel-foot { padding: 11px 16px; font-size: .8rem; }
  .aj-form { padding: 22px 16px; }
  .aj-wrap { padding: 0 16px; }
}

/* ---------- Unterseiten: dekorative Symbole aus, ruhigere Akzente ---------- */
.info-card-icon { display: none !important; }
.info-card-header { gap: 0 !important; }
a > .icon:first-child, .card > .icon:first-child, .topic-card > .icon:first-child, .category-card > .icon:first-child { display: none !important; }
.aj-header-phone { margin-right: 18px; }
@media (min-width: 1200px) { .aj-header .navbar-nav { align-items: center !important; } }
nav.aj-header { border-bottom: 1px solid var(--aj-line) !important; padding: 14px 0 !important; min-height: 0 !important; }
.aj-header-phone { display: block; line-height: 1.25; }

/* ---------- Kontaktschritt innerhalb der Fragen-Box ---------- */
.aj-form-inline > p { color: var(--aj-muted); margin: -8px 0 14px; font-size: .95rem; }
.aj-form-inline .form-control { font-family: var(--aj-sans); font-size: 1rem; padding: .72rem .85rem; border: 1px solid #CDD4DD; border-radius: var(--aj-radius); }
.aj-form-inline .form-control:focus { border-color: var(--aj-navy); box-shadow: 0 0 0 3px rgba(27,58,92,.12); }
.aj-form-inline .form-label { font-size: .86rem; font-weight: 600; color: var(--aj-ink); margin-bottom: 4px; }
.aj-form-inline .aj-btn { width: 100%; padding: .95rem; font-size: 1.04rem; margin-top: 18px; }
.aj-form-inline .aj-form-legal { font-size: .78rem; color: var(--aj-muted); margin: 10px 0 0; line-height: 1.5; }

/* ---------- Unterseiten: Tabellen-Buttons & Ablauf-Liste ---------- */
.btn-beratung {
  background: var(--aj-navy) !important; color: #fff !important;
  font-family: var(--aj-sans); font-weight: 600 !important; font-size: .78rem !important;
  padding: 5px 10px !important; border-radius: 4px !important; white-space: nowrap; line-height: 1.3 !important; display: inline-block;
}
.btn-beratung:hover { background: var(--aj-navy-dark) !important; color: #fff !important; }
.timeline li::before { content: none !important; display: none !important; }
.timeline .tl-dot { background: var(--aj-navy) !important; color: #fff !important; font-weight: 700 !important; }
.timeline::before { background: var(--aj-line) !important; }

/* =====================================================================
   DANKE-SEITE
===================================================================== */
.aj-thanks { padding: 56px 0 80px; border-bottom: 0; }
.aj-thanks-grid { display: grid; grid-template-columns: minmax(0, 640px) 1fr; gap: 56px; align-items: start; }
@media (max-width: 991.98px) { .aj-thanks-grid { grid-template-columns: 1fr; gap: 32px; } .aj-thanks { padding: 24px 0 56px; } }
.aj-thanks-title { font-size: 2.2rem; line-height: 1.15; margin: 0 0 12px; }
.aj-thanks-lead { font-size: 1.08rem; color: var(--aj-muted); margin: 0 0 26px; }
.aj-status { list-style: none; padding: 0; margin: 0 0 26px; position: relative; }
.aj-status::before { content: ""; position: absolute; left: 15px; top: 16px; bottom: 16px; width: 2px; background: var(--aj-line); }
.aj-status li { display: flex; gap: 16px; padding-bottom: 18px; position: relative; }
.aj-status li:last-child { padding-bottom: 0; }
.aj-status li::before { content: none !important; }
.aj-status-dot { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .88rem; background: #fff; border: 2px solid #CDD4DD; color: var(--aj-muted); position: relative; z-index: 1; }
.aj-status li.is-done .aj-status-dot { background: var(--aj-navy); border-color: var(--aj-navy); color: #fff; }
.aj-status li.is-current .aj-status-dot { border-color: var(--aj-navy); color: var(--aj-navy); }
.aj-status strong { display: block; font-weight: 600; margin-top: 4px; }
.aj-status div > span { display: block; font-size: .94rem; color: var(--aj-muted); line-height: 1.5; }
.aj-thanks-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.aj-thanks-side { padding-top: 8px; }
.aj-thanks-tip { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--aj-line); font-size: .95rem; color: var(--aj-muted); }
.aj-thanks-tip strong { color: var(--aj-ink); }
@media (max-width: 575.98px) {
  .aj-thanks-title { font-size: 1.7rem; }
  .aj-thanks-actions .aj-btn, .aj-thanks-actions .aj-btn-ghost { width: 100%; justify-content: center; }
}

/* ---------- H1: etwas kleiner, kräftiger ---------- */
h1 { font-weight: 700 !important; letter-spacing: -0.015em; }
.aj-hero h1 { font-size: 2.35rem; line-height: 1.15; }
.aj-thanks-title { font-size: 2rem; }
@media (max-width: 1099.98px) { .aj-hero h1 { font-size: 1.8rem; } }
@media (max-width: 575.98px)  { .aj-hero h1 { font-size: 1.6rem; } .aj-thanks-title { font-size: 1.6rem; } }
@media (max-width: 1199.98px) {
  .aj-mobile-call { width: 42px; height: 42px; padding: 0 !important; justify-content: center; border-radius: 50% !important; }
}
.aj-card-plain { border-top: 1px solid var(--aj-line) !important; }
.aj-card-law { text-transform: none !important; letter-spacing: .02em !important; font-size: .85rem !important; }

/* ---------- Moderne Schrift: Feinabstimmung ---------- */
html, body { font-size: 16px; }
h1, h2, h3, .aj-funnel h2.question, .aj-card h4 { letter-spacing: -0.025em; }
h1 { font-weight: 700 !important; }
h2, h3, .aj-card h4, .aj-funnel h2.question { font-weight: 700; }
.aj-brand-name { font-weight: 700; letter-spacing: -0.02em; }
.aj-review blockquote { font-size: 1rem; }
.aj-funnel .question-item { font-weight: 600; }
h1, h2, h3, .aj-funnel h2.question, .aj-card h4 { letter-spacing: -0.012em !important; word-spacing: 0.04em; }
.aj-brand-name { letter-spacing: -0.01em; }
.aj-brand-sub { font-size: .66rem; letter-spacing: .1em; }
@media (min-width: 1200px) and (max-width: 1439.98px) {
  .aj-header .aj-nav-link { padding: .5rem .6rem !important; font-size: .93rem; }
  .aj-rating-link .cnt { display: none; }
  .aj-header .aj-btn { padding: .6rem .95rem; font-size: .9rem; }
}
@media (max-width: 991.98px) {
  .aj-profile > div:first-child { order: 2; }
  .aj-profile > div:last-child { order: 1; }
  .aj-profile-img { aspect-ratio: 1 / 1; max-width: 320px; }
}

/* =====================================================================
   STARTSEITE v2 – ruhiger, klarer
===================================================================== */
.aj-v2 { padding: 96px 0; }
.aj-v2 + .aj-v2 { border-top: 1px solid var(--aj-line); }
.aj-v2-h2 { font-size: 2rem; line-height: 1.2; margin: 0 0 28px; }
@media (max-width: 767.98px) { .aj-v2 { padding: 64px 0; } .aj-v2-h2 { font-size: 1.6rem; margin-bottom: 22px; } }

/* Ihr Anwalt */
.aj-v2-lawyer { border-top: 0 !important; }
.aj-v2-lawyer-grid { display: grid; grid-template-columns: 440px 1fr; gap: 72px; align-items: center; }
.aj-v2-portrait { border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--aj-navy-soft); }
.aj-v2-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.aj-v2-lawyer-text h2 { font-size: 2.6rem; line-height: 1.1; margin: 0 0 8px; }
.aj-v2-role { font-size: 1.05rem; color: var(--aj-muted); margin: 0 0 32px; }
.aj-v2-lawyer-text > p.aj-v2-quote { font-size: 1.4rem; line-height: 1.45; font-weight: 500; color: var(--aj-ink); margin: 0 0 24px; letter-spacing: -0.01em; }
.aj-v2-lawyer-text > p { font-size: 1.05rem; line-height: 1.7; color: #3A4656; }
.aj-v2-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 32px 0 0; padding: 26px 0 0; border-top: 1px solid var(--aj-line); }
.aj-v2-facts dt { font-size: 1.35rem; font-weight: 700; color: var(--aj-ink); letter-spacing: -0.01em; }
.aj-v2-facts dt .stars { font-size: .85rem; color: var(--aj-star); letter-spacing: 1px; vertical-align: 3px; }
.aj-v2-facts dd { margin: 4px 0 0; font-size: .92rem; color: var(--aj-muted); }
.aj-v2-facts dd a { color: var(--aj-muted); }
.aj-v2-cv { margin-top: 28px; }
.aj-v2-cv summary { cursor: pointer; font-weight: 600; color: var(--aj-navy); list-style: none; display: inline-flex; align-items: center; gap: 8px; }
.aj-v2-cv summary::-webkit-details-marker { display: none; }
.aj-v2-cv summary::after { content: "+"; font-size: 1.2rem; line-height: 1; }
.aj-v2-cv[open] summary::after { content: "−"; }
.aj-v2-cv ul { list-style: none; padding: 0; margin: 16px 0 0; }
.aj-v2-cv li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 10px 0; border-top: 1px solid var(--aj-line); font-size: .95rem; color: #3A4656; }
.aj-v2-cv li span { color: var(--aj-muted); font-size: .88rem; }
@media (max-width: 991.98px) {
  .aj-v2-lawyer-grid { grid-template-columns: 1fr; gap: 32px; }
  .aj-v2-portrait { aspect-ratio: 1 / 1; max-width: 420px; }
  .aj-v2-lawyer-text h2 { font-size: 2rem; }
  .aj-v2-lawyer-text > p.aj-v2-quote { font-size: 1.2rem; }
}
@media (max-width: 575.98px) {
  .aj-v2-facts { grid-template-columns: 1fr; gap: 14px; }
  .aj-v2-facts div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
  .aj-v2-facts dt { font-size: 1.1rem; }
  .aj-v2-cv li { grid-template-columns: 1fr; gap: 2px; }
}

/* Rechtsgebiete */
.aj-v2-areas-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
@media (max-width: 767.98px) { .aj-v2-areas-grid { grid-template-columns: 1fr; gap: 48px; } }
.aj-v2-areas h3 { font-size: 1.3rem; margin: 0 0 6px; }
.aj-v2-areas-grid > div > p { color: var(--aj-muted); margin: 0 0 18px; }
.aj-v2-links { list-style: none; padding: 0; margin: 0 0 20px; border-top: 1px solid var(--aj-line); }
.aj-v2-links li { border-bottom: 1px solid var(--aj-line); }
.aj-v2-links a { display: flex; justify-content: space-between; align-items: center; padding: 14px 2px; color: var(--aj-ink); text-decoration: none; font-weight: 500; }
.aj-v2-links a::after { content: "→"; color: #9AA6B4; transition: transform .15s ease, color .15s ease; }
.aj-v2-links a:hover { color: var(--aj-navy); }
.aj-v2-links a:hover::after { color: var(--aj-navy); transform: translateX(3px); }
.aj-v2-more { font-weight: 600; font-size: .95rem; text-decoration: none; }
.aj-v2-more::after { content: " →"; }
.aj-v2-more:hover { text-decoration: underline; }

/* Bewertungen */
.aj-v2-reviews { background: var(--aj-paper); border-top: 0 !important; }
.aj-v2-reviews-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px 32px; margin-bottom: 32px; }
.aj-v2-reviews-head .aj-v2-h2 { margin: 0; }
.aj-v2-scores { display: flex; gap: 28px; flex-wrap: wrap; }
.aj-v2-scores a { color: var(--aj-muted); text-decoration: none; font-size: .95rem; }
.aj-v2-scores strong { color: var(--aj-ink); font-size: 1.1rem; }
.aj-v2-scores .stars { color: var(--aj-star); letter-spacing: 1px; }
.aj-v2-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
@media (max-width: 991.98px) { .aj-v2-quotes { grid-template-columns: 1fr; gap: 28px; } }
.aj-v2-quotes figure { margin: 0; }
.aj-v2-quotes blockquote { font-size: 1.05rem; line-height: 1.65; color: var(--aj-ink); margin: 0 0 12px; }
.aj-v2-quotes figcaption { font-size: .88rem; color: var(--aj-muted); }

/* FAQ */
.aj-v2-faq { border-top: 0 !important; }
.aj-v2-faq-grid { display: grid; grid-template-columns: 320px 1fr; gap: 72px; align-items: start; }
@media (max-width: 991.98px) { .aj-v2-faq-grid { grid-template-columns: 1fr; gap: 0; } }
.aj-v2-acc { border-top: 1px solid var(--aj-line); }
.aj-v2-acc details { border-bottom: 1px solid var(--aj-line); }
.aj-v2-acc summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font-weight: 600; font-size: 1.05rem; color: var(--aj-ink); }
.aj-v2-acc summary::-webkit-details-marker { display: none; }
.aj-v2-acc summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--aj-muted); font-weight: 400; }
.aj-v2-acc details[open] summary::after { content: "−"; }
.aj-v2-acc details p { margin: -4px 0 22px; color: #3A4656; line-height: 1.7; max-width: 680px; }

/* Kontakt */
.aj-v2-contact { background: var(--aj-paper); border-top: 0 !important; }
.aj-v2-contact-grid { display: grid; grid-template-columns: 1fr 360px; gap: 80px; align-items: start; }
@media (max-width: 991.98px) { .aj-v2-contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.aj-v2-contact-grid > div > p { color: #3A4656; line-height: 1.75; font-size: 1.02rem; }
.aj-v2-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.aj-v2-address { margin: 0; border-top: 1px solid #D9D4C8; }
.aj-v2-address div { padding: 16px 0; border-bottom: 1px solid #D9D4C8; }
.aj-v2-address dt { font-size: .82rem; font-weight: 600; color: var(--aj-muted); margin-bottom: 3px; }
.aj-v2-address dd { margin: 0; font-size: 1rem; color: var(--aj-ink); }
@media (max-width: 575.98px) { .aj-v2-cta .aj-btn, .aj-v2-cta .aj-btn-ghost { width: 100%; justify-content: center; } }

/* Hero ruhiger */
.aj-hero { background: var(--aj-paper); border-bottom: 0; }
.aj-lawyer { border-top: 0; padding-top: 4px; }
.aj-v2-quotes figure, .aj-v2-quotes figcaption { text-align: left !important; }
.aj-v2-scores { gap: 8px 28px; }

/* ---------- Logo: klare Wortmarke ---------- */
.aj-brand-name { font-weight: 700 !important; font-size: 1.4rem !important; letter-spacing: -0.015em !important; color: var(--aj-ink); line-height: 1.1; }
.aj-brand-sub { font-size: .82rem !important; font-weight: 400 !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--aj-muted) !important; margin-top: 3px; }
.aj-footer .aj-brand-name { color: #fff; }
.aj-footer .aj-brand-sub { color: #A9B5C3 !important; }
.aj-mobile-call { display: none !important; }
@media (max-width: 575.98px) { .aj-brand-name { font-size: 1.2rem !important; } .aj-brand-sub { font-size: .74rem !important; } }

/* ---------- Logo C: § + Name | Rechtsanwalt ---------- */
.aj-brand { flex-direction: row !important; align-items: center; gap: 12px; }
.aj-logo-mark { width: 36px; height: 36px; border-radius: 50%; background: var(--aj-navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 1.15rem; line-height: 1; flex-shrink: 0; }
.aj-brand-divider { width: 1px; height: 24px; background: #CDD4DD; }
.aj-brand .aj-brand-sub { font-size: 1.1rem !important; margin-top: 0 !important; color: var(--aj-muted) !important; }
.aj-footer .aj-logo-mark { background: #fff; color: var(--aj-footer); }
.aj-footer .aj-brand-divider { background: rgba(255,255,255,.25); }
@media (max-width: 575.98px) {
  .aj-brand { gap: 9px; }
  .aj-logo-mark { width: 30px; height: 30px; font-size: 1rem; }
  .aj-brand-name { font-size: 1.12rem !important; }
  .aj-brand .aj-brand-sub { font-size: .98rem !important; }
  .aj-brand-divider { height: 20px; }
}
.aj-brand, .aj-brand-name, .aj-brand-sub { white-space: nowrap; flex-shrink: 0; }
.aj-brand { margin-right: 24px; }
.aj-footer .aj-brand .aj-brand-sub { color: #C9D3DE !important; }
@media (min-width: 1200px) and (max-width: 1439.98px) {
  .aj-header .aj-rating-link { display: none !important; }
}
@media (min-width: 1200px) { .aj-header .aj-rating-link { display: none !important; } }
.aj-footer .aj-brand-divider { background: rgba(255,255,255,.4) !important; }
.aj-header-phone { margin-left: 22px; }

/* =====================================================================
   VARIANTE B – Navy-Hero, Inter, Grün als Aktionsfarbe
   (überschreibt die Regeln weiter oben)
===================================================================== */
:root {
  --aj-ink: #111827;
  --aj-navy: #14284B;
  --aj-navy-dark: #0E1D38;
  --aj-navy-soft: #E8EEF5;
  --aj-green: #15803D;
  --aj-green-dark: #166534;
  --aj-green-soft: #EAF6EE;
  --aj-paper: #F4F7FB;
  --aj-line: #DFE5EE;
  --aj-muted: #5B6675;
  --aj-star: #F5B301;
  --aj-footer: #0E1D38;
}
html, body { font-size: 16px; letter-spacing: -0.011em; color: var(--aj-ink); }
h1, h2, h3, h4 { letter-spacing: -0.025em !important; word-spacing: normal; }
h1 { font-weight: 800 !important; }

/* Buttons: Grün */
.aj-btn { background: var(--aj-green); border-color: var(--aj-green); border-radius: 8px; }
.aj-btn:hover { background: var(--aj-green-dark); border-color: var(--aj-green-dark); }
.aj-btn-ghost { border-radius: 8px; }
.btn-gold, .cta-anwalt .btn-gold, .sticky-cta .btn-gold, .btn-beratung { background: var(--aj-green) !important; }
.btn-gold:hover, .cta-anwalt .btn-gold:hover, .sticky-cta .btn-gold:hover, .btn-beratung:hover { background: var(--aj-green-dark) !important; }
.cta-anwalt { background: var(--aj-paper) !important; border-left-color: var(--aj-navy) !important; }

/* ---------- Header: Navy ---------- */
nav.aj-header { background: var(--aj-navy) !important; border-bottom: 0 !important; padding: 14px 0 !important; }
.aj-header .aj-brand-name { color: #fff; }
.aj-header .aj-brand .aj-brand-sub { color: #C5D0E0 !important; }
.aj-header .aj-brand-divider { background: rgba(255,255,255,.3); }
.aj-header .aj-logo-mark { background: #fff; color: var(--aj-navy); }
.aj-header .aj-nav-link { color: #E3E9F2 !important; }
.aj-header .aj-nav-link:hover, .aj-header .nav-item.dropdown:hover > .aj-nav-link { color: #fff !important; text-decoration-color: rgba(255,255,255,.5); }
.aj-header .aj-header-phone { color: #fff !important; }
.aj-header .aj-header-phone small { color: #AFC0D6; }
.aj-header .navbar-toggler-icon { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 18'><g stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round'><line x1='1' y1='2' x2='25' y2='2'/><line x1='1' y1='9' x2='25' y2='9'/><line x1='1' y1='16' x2='25' y2='16'/></g></svg>"); }
@media (max-width: 1199.98px) {
  .aj-header .navbar-collapse { background: var(--aj-navy) !important; border-top: 1px solid rgba(255,255,255,.12) !important; }
  .aj-header .navbar-nav .nav-item { border-bottom: 1px solid rgba(255,255,255,.1); }
  .aj-header .aj-nav-link { color: #fff !important; }
  .aj-header .dropdown-toggle::after { color: #AFC0D6; }
  .aj-header .dropdown-item { color: #C5D0E0 !important; background: transparent !important; }
  .aj-header .aj-rating-link, .aj-header .aj-rating-link strong { color: #fff !important; }
  .aj-header .aj-rating-link .cnt { color: #AFC0D6; }
}
@media (min-width: 1200px) {
  .aj-header .dropdown-item:hover { background: var(--aj-paper); color: var(--aj-navy); }
}

/* ---------- Hero: Navy-Bühne ---------- */
.aj-hero {
  background: radial-gradient(120% 95% at 85% 0%, #21407A 0%, #14284B 45%, #0E1D38 100%) !important;
  color: #fff; border-bottom: 0 !important; padding: 40px 0 72px !important;
}
.aj-hero-grid { grid-template-columns: minmax(0, 1fr) 500px; gap: 56px; }
.aj-hero h1 { color: #fff; font-size: 2.65rem !important; line-height: 1.08 !important; margin: 6px 0 18px !important; letter-spacing: -0.03em !important; }
.aj-hero .aj-hero-lead { color: #C9D4E5; font-size: 1.15rem; max-width: 540px; margin-bottom: 26px; }
.aj-benefits { list-style: none; padding: 0; margin: 0 0 26px; }
.aj-benefits li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 11px; font-size: 1.02rem; line-height: 1.45; color: #EEF2F8; }
.aj-benefits svg { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 1px; color: #4ADE80; }
.aj-rating-chip { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; padding: 11px 16px; border-radius: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); font-size: .88rem; }
.aj-rating-chip a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.aj-rating-chip strong { font-size: 1.12rem; font-weight: 800; }
.aj-rating-chip .stars { color: var(--aj-star); letter-spacing: 1px; }
.aj-rating-chip .cnt { color: #B8C5D9; }
.aj-rating-chip .sep { width: 1px; height: 26px; background: rgba(255,255,255,.18); }
.aj-portrait { display: flex; align-items: flex-end; gap: 18px; margin-top: 30px; }
.aj-portrait img { width: 128px; height: 160px; object-fit: cover; object-position: top; border-radius: 12px; background: #33445F; box-shadow: 0 14px 30px rgba(0,0,0,.25); }
.aj-portrait strong { display: block; font-size: 1.1rem; color: #fff; }
.aj-portrait span { display: block; color: #B8C5D9; font-size: .9rem; margin-top: 2px; }
.aj-lawyer-m { display: none; }
.aj-hero-intro .aj-lawyer { display: none !important; }
@media (max-width: 1099.98px) {
  .aj-hero { padding: 18px 0 36px !important; }
  .aj-hero-grid { grid-template-columns: 1fr; gap: 22px; }
  .aj-hero h1 { font-size: 1.9rem !important; }
  .aj-hero .aj-hero-lead { font-size: 1.02rem; margin-bottom: 0; }
  .aj-benefits, .aj-rating-chip, .aj-portrait { display: none !important; }
  .aj-lawyer-m { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; }
  .aj-lawyer-m img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: top; background: #33445F; flex: 0 0 56px; }
  .aj-lawyer-m strong { display: block; color: #fff; font-size: .98rem; }
  .aj-lawyer-m span { display: block; color: #B8C5D9; font-size: .82rem; }
}
@media (max-width: 575.98px) { .aj-hero h1 { font-size: 1.75rem !important; } }

/* ---------- Klickstrecke ---------- */
.aj-funnel { background: #fff; border: 0; border-radius: 14px; box-shadow: 0 24px 60px rgba(6,16,36,.35); color: var(--aj-ink); }
.aj-funnel-top { display: block !important; padding: 24px 24px 0 !important; }
.aj-funnel-meta { display: flex !important; justify-content: space-between; align-items: baseline; margin-bottom: 8px; padding: 0 !important; }
.aj-funnel-meta strong { display: inline !important; color: var(--aj-navy); font-size: .9rem; font-weight: 700; }
.aj-funnel-meta span { color: var(--aj-muted); font-size: .84rem; }
.aj-progress { width: auto !important; height: 6px !important; background: #E8EEF5; border-radius: 99px !important; }
.aj-progress span { background: var(--aj-green) !important; border-radius: 99px !important; }
.aj-funnel .form-container { padding: 20px 24px 6px !important; animation: ajIn .3s ease; }
@keyframes ajIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.aj-funnel h2.question { color: var(--aj-navy); font-size: 1.4rem !important; font-weight: 700; letter-spacing: -0.02em !important; margin: 0 0 16px !important; }
.aj-options { gap: 10px; }
.aj-funnel .question-item {
  gap: 14px; background: #fff; border: 1px solid var(--aj-line); border-radius: 10px;
  padding: 15px 16px; font-size: 1.02rem; font-weight: 600; color: var(--aj-ink);
  transition: border-color .15s, background .15s, box-shadow .15s, transform .15s;
}
.aj-funnel .question-item > span:first-child { flex: 1; }
.aj-funnel .question-item small { color: var(--aj-muted); font-size: .86rem; }
.aj-funnel .question-item::after { content: none !important; display: none !important; }
.aj-radio { width: 22px; height: 22px; flex: 0 0 22px; border-radius: 50%; border: 2px solid #C9D2DE; display: inline-flex; align-items: center; justify-content: center; transition: all .15s; }
.aj-radio svg { width: 12px; height: 12px; opacity: 0; }
.aj-funnel .question-item:hover { border-color: var(--aj-green); background: #FAFCFB; transform: translateY(-1px); box-shadow: 0 6px 14px rgba(20,40,75,.07); }
.aj-funnel .question-item:hover .aj-radio { border-color: var(--aj-green); }
.aj-funnel .question-item.active { background: var(--aj-green-soft); border-color: var(--aj-green); color: var(--aj-ink); }
.aj-funnel .question-item.active small { color: var(--aj-muted); }
.aj-funnel .question-item.active .aj-radio { background: var(--aj-green); border-color: var(--aj-green); }
.aj-funnel .question-item.active .aj-radio svg { opacity: 1; }
@media (hover: none) { .aj-funnel .question-item:hover { transform: none; box-shadow: none; background: #fff; border-color: var(--aj-line); } .aj-funnel .question-item.active:hover { background: var(--aj-green-soft); border-color: var(--aj-green); } }
.aj-back { margin: 2px 0 0; font-size: .9rem; color: var(--aj-muted); }
.aj-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin: 14px 24px 0; padding: 12px 0 18px; border-top: 1px solid #EEF1F5; font-size: .8rem; color: var(--aj-muted); }
.aj-trust span { display: inline-flex; align-items: center; gap: 6px; }
.aj-trust svg { width: 13px; height: 13px; }
.aj-notice { border-left-color: var(--aj-navy); background: var(--aj-paper); border-radius: 10px; }
.aj-upload { background: #F7FAFF; border: 1px dashed var(--aj-green); border-radius: 10px; }
.aj-upload-item::before { border-color: var(--aj-green); }
.aj-form-inline .form-control { border-color: var(--aj-line); border-radius: 8px; }
.aj-form-inline .form-control:focus { border-color: var(--aj-green); box-shadow: 0 0 0 3px rgba(21,128,61,.15); }
.aj-salutation input { accent-color: var(--aj-green); }
@media (max-width: 575.98px) {
  .aj-funnel-top { padding: 18px 16px 0 !important; }
  .aj-funnel .form-container { padding: 16px 16px 4px !important; }
  .aj-funnel h2.question { font-size: 1.25rem !important; }
  .aj-funnel .question-item { padding: 13px 14px; font-size: .98rem; }
  .aj-trust { margin: 12px 16px 0; }
}

/* ---------- Abschnitte darunter ---------- */
.aj-v2-reviews, .aj-v2-contact { background: var(--aj-paper) !important; }
.aj-v2-lawyer-text h2, .aj-v2-h2, .aj-v2-areas h3 { color: var(--aj-navy); }
.aj-v2-quote { color: var(--aj-navy) !important; }
.aj-v2-links a:hover, .aj-v2-links a:hover::after { color: var(--aj-green); }
.aj-v2-cv summary, .aj-v2-more { color: var(--aj-navy); }
.aj-v2-address { border-top-color: var(--aj-line); }
.aj-v2-address div { border-bottom-color: var(--aj-line); }
.aj-v2-facts dt { color: var(--aj-navy); }

/* ---------- Footer ---------- */
.aj-footer { background: var(--aj-footer) !important; border-top: 0 !important; }
.aj-footer .aj-logo-mark { background: #fff; color: var(--aj-navy); }

/* ---------- Danke-Seite: heller Hintergrund ---------- */
.aj-thanks { background: var(--aj-paper) !important; color: var(--aj-ink); padding: 48px 0 80px !important; }
.aj-thanks .aj-funnel { box-shadow: 0 18px 50px rgba(20,40,75,.12); }
.aj-thanks-side .aj-lawyer { display: flex !important; }
.aj-thanks h1, .aj-thanks .aj-thanks-title { color: var(--aj-navy) !important; font-size: 2rem !important; margin: 0 0 12px !important; }
.aj-thanks .aj-checks li::before { border-color: var(--aj-green); }
.aj-thanks-lead { color: var(--aj-muted) !important; }
.toc-box a:hover, .toc-box a.active { border-left-color: var(--aj-navy) !important; }
.aj-checks li::before { border-color: var(--aj-green); }

/* ---------- Profil mit Werdegang-Karte ---------- */
.aj-pro { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 72px; align-items: start; }
.aj-pro-text h2 { font-size: 2.6rem; line-height: 1.1; margin: 0 0 8px; color: var(--aj-navy); }
.aj-pro-text > p { font-size: 1.05rem; line-height: 1.7; color: #3A4656; }
.aj-pro-text > p.aj-v2-quote { font-size: 1.35rem; line-height: 1.45; font-weight: 500; color: var(--aj-navy); margin: 0 0 22px; }
.aj-pro-card { background: #fff; border: 1px solid var(--aj-line); border-radius: 14px; box-shadow: 0 14px 40px rgba(20,40,75,.08); padding: 24px 26px 18px; }
.aj-pro-head { display: flex; gap: 18px; align-items: center; padding-bottom: 20px; margin-bottom: 18px; border-bottom: 1px solid var(--aj-line); }
.aj-pro-head img { width: 96px; height: 120px; border-radius: 10px; object-fit: cover; object-position: top; background: #8C99AC; flex: 0 0 96px; }
.aj-pro-head strong { display: block; font-size: 1.15rem; color: var(--aj-navy); margin-bottom: 4px; }
.aj-pro-head span { display: block; font-size: .88rem; color: var(--aj-muted); line-height: 1.45; }
.aj-pro-card h3 { font-size: .78rem !important; letter-spacing: .08em !important; text-transform: uppercase; color: var(--aj-muted); font-weight: 700; margin: 0 0 12px; }
.aj-pro-cv { list-style: none; padding: 0; margin: 0; position: relative; }
.aj-pro-cv::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: var(--aj-line); }
.aj-pro-cv li { position: relative; padding: 0 0 16px 26px; }
.aj-pro-cv li:last-child { padding-bottom: 4px; }
.aj-pro-cv li::before { content: ""; position: absolute; left: 0; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--aj-green); }
.aj-pro-cv li:first-child::before { background: var(--aj-green); }
.aj-pro-cv .y { display: block; font-size: .78rem; font-weight: 700; color: var(--aj-green); letter-spacing: .02em; margin-bottom: 1px; }
.aj-pro-cv b { display: block; font-size: .96rem; color: var(--aj-ink); font-weight: 600; }
.aj-pro-cv small { display: block; font-size: .84rem; color: var(--aj-muted); line-height: 1.45; margin-top: 2px; }
@media (max-width: 991.98px) {
  .aj-pro { grid-template-columns: 1fr; gap: 32px; }
  .aj-pro-text h2 { font-size: 2rem; }
  .aj-pro-text > p.aj-v2-quote { font-size: 1.18rem; }
}
@media (max-width: 575.98px) {
  .aj-pro-card { padding: 20px 18px 14px; }
  .aj-pro-head img { width: 80px; height: 100px; flex-basis: 80px; }
}

/* ---------- Mobil: Menü-Unterpunkte lesbar ---------- */
@media (max-width: 1199.98px) {
  .aj-header .dropdown-menu { background: #fff !important; border-radius: 10px !important; padding: 6px !important; margin: 0 0 12px !important; }
  .aj-header .dropdown-item { color: var(--aj-ink) !important; border-bottom: 1px solid #EEF1F5; padding: .7rem .9rem !important; }
  .aj-header .dropdown-menu li:last-child .dropdown-item { border-bottom: 0; }
  .aj-header .dropdown-item:hover, .aj-header .dropdown-item:active { background: var(--aj-paper) !important; color: var(--aj-navy) !important; }
  .aj-header .dropdown-divider { border-color: #EEF1F5; margin: 4px 0; }
}

/* ---------- Mobil: Banner aus, Sticky-Leiste an ---------- */
.sticky-cta { display: none !important; }
.aj-sticky { display: none; }
@media (max-width: 767.98px) {
  .cta-anwalt { display: none !important; }
  .aj-sticky {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 999;
    background: var(--aj-navy); padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    box-shadow: 0 -8px 24px rgba(6,16,36,.25);
  }
  .aj-sticky p { margin: 0; color: #fff; font-weight: 700; font-size: .95rem; line-height: 1.25; }
  .aj-sticky p span { display: block; font-weight: 400; font-size: .8rem; color: #B8C5D9; }
  .aj-sticky .aj-btn { padding: .7rem 1.2rem; font-size: .95rem; white-space: nowrap; }
  body { padding-bottom: 72px; }
}
@media (max-width: 1199.98px) { .aj-header .navbar-collapse { margin-top: 0 !important; } .aj-header .navbar-collapse.show, .aj-header .navbar-collapse.collapsing { box-shadow: 0 0 0 1px var(--aj-navy); } }
