:root {
    --brand: #17402e;
    --brand-deep: #102f22;
    --brand-ink: #0b2318;
    --gold: #b08d57;
    --gold-soft: #c8a97a;
    --paper: #f7f5f1;
    --white: #ffffff;
    --ink: #26313e;
    --muted: #5f6b78;
    --line: #e6e1d8;
    --serif: Georgia, "Times New Roman", serif;
    --sans: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    font-family: var(--sans);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
  }
  img { max-width: 100%; }
  a { color: inherit; }

  .wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

  /* ===== Entwurfs-Hinweis ===== */
  .draft-badge {
    position: fixed; right: 14px; bottom: 14px; z-index: 999;
    background: var(--brand-ink); color: #f3e9d8;
    border: 1px solid var(--gold);
    font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
    padding: 7px 12px; border-radius: 4px; opacity: .92;
  }

  /* ===== Topbar ===== */
  .topbar {
    background: var(--brand-ink); color: #c6d5cc;
    font-size: 13px;
  }
  .topbar .wrap {
    display: flex; flex-wrap: wrap; gap: 6px 28px;
    justify-content: flex-end; padding-top: 8px; padding-bottom: 8px;
  }
  .topbar span { white-space: nowrap; }
  .topbar b { color: #fff; font-weight: 600; }
  .topbar a { text-decoration: none; }
  .topbar a:hover b { color: var(--gold-soft); }

  /* ===== Navigation ===== */
  header.site {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(6px);
  }
  .nav {
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px; padding: 14px 24px; max-width: 1120px; margin: 0 auto;
  }
  .brand { text-decoration: none; line-height: 1.15; }
  .brand .name {
    font-family: var(--serif); font-size: 21px; letter-spacing: .04em;
    color: var(--brand); font-weight: 700;
  }
  .brand .name em { font-style: normal; color: var(--gold); }
  .brand .sub {
    font-size: 10.5px; letter-spacing: .34em; text-transform: uppercase;
    color: var(--muted); margin-top: 2px;
  }
  .brand-logo { height: 48px; width: auto; display: block; }
  .menu { display: flex; align-items: center; gap: 20px; list-style: none; }
  .menu a {
    text-decoration: none; font-size: 14.5px; color: var(--ink);
    padding: 6px 0; border-bottom: 2px solid transparent;
    transition: color .15s, border-color .15s;
  }
  .menu a:hover { color: var(--brand); border-bottom-color: var(--gold); }
  .btn {
    display: inline-block; text-decoration: none; font-weight: 600;
    border-radius: 4px; transition: background .15s, color .15s, border-color .15s;
    font-family: inherit; font-size: inherit; cursor: pointer;
  }
  .btn-gold {
    background: var(--gold); color: #fff !important;
    padding: 10px 20px; border: 1px solid var(--gold);
  }
  .btn-gold:hover { background: #9c7b49; border-color: #9c7b49; }
  .btn-ghost {
    color: #fff; border: 1px solid rgba(255,255,255,.55);
    padding: 12px 24px;
  }
  .btn-ghost:hover { border-color: var(--gold-soft); color: var(--gold-soft); }
  .nav-toggle {
    display: none; background: none; border: 1px solid var(--line);
    border-radius: 4px; padding: 8px 10px; cursor: pointer;
  }
  .nav-toggle span {
    display: block; width: 20px; height: 2px; background: var(--brand);
    margin: 4px 0;
  }

  /* ===== Hero ===== */
  .hero {
    position: relative; overflow: hidden;
    background: linear-gradient(160deg, var(--brand) 0%, var(--brand-deep) 55%, var(--brand-ink) 100%);
    color: #fff;
  }
  .hero .mark {
    position: absolute; right: -40px; top: -80px;
    font-family: var(--serif); font-size: 560px; line-height: 1;
    color: rgba(255,255,255,.045); user-select: none; pointer-events: none;
  }
  .hero .wrap { position: relative; padding-top: 92px; padding-bottom: 64px; }
  .eyebrow {
    display: inline-block; font-size: 12.5px; letter-spacing: .28em;
    text-transform: uppercase; color: var(--gold-soft);
    border-bottom: 1px solid rgba(200,169,122,.45); padding-bottom: 8px;
    margin-bottom: 26px;
  }
  .hero h1 {
    font-family: var(--serif); font-weight: 700;
    font-size: clamp(38px, 6vw, 64px); line-height: 1.08; letter-spacing: .01em;
    max-width: 15ch;
  }
  .hero h1 .dot { color: var(--gold-soft); }
  .hero p.lead {
    margin-top: 22px; max-width: 56ch; font-size: 18px; color: #cddbd2;
  }
  .hero .cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
  .hero .btn-gold { padding: 12px 26px; font-size: 16px; }
  .stats {
    display: flex; flex-wrap: wrap; gap: 0;
    margin-top: 64px; border-top: 1px solid rgba(255,255,255,.14);
  }
  .stat { flex: 1 1 200px; padding: 22px 28px 4px 0; }
  .stat + .stat { border-left: 1px solid rgba(255,255,255,.14); padding-left: 28px; }
  .stat .num {
    font-family: var(--serif); font-size: 30px; color: var(--gold-soft);
  }
  .stat .lbl { font-size: 13.5px; color: #b5c6bb; margin-top: 2px; }

  /* ===== Sektionen allgemein ===== */
  section { padding: 84px 0; }
  .kicker {
    font-size: 12px; letter-spacing: .3em; text-transform: uppercase;
    color: var(--gold); font-weight: 600;
  }
  h2.title {
    font-family: var(--serif); font-size: clamp(28px, 4vw, 38px);
    color: var(--brand); margin-top: 10px; line-height: 1.2;
  }
  .section-head { max-width: 640px; margin-bottom: 46px; }
  .section-head p { color: var(--muted); margin-top: 14px; }

  /* ===== Rechtsgebiete ===== */
  .areas { background: var(--white); }
  .area-grid {
    display: grid; gap: 22px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  .area {
    background: var(--paper); border: 1px solid var(--line); border-radius: 6px;
    padding: 30px 28px; display: flex; flex-direction: column; gap: 12px;
    transition: transform .18s, box-shadow .18s, border-color .18s;
  }
  .area:hover {
    transform: translateY(-4px); border-color: var(--gold-soft);
    box-shadow: 0 14px 34px rgba(11,35,24,.10);
  }
  .area .icon {
    width: 46px; height: 46px; border-radius: 6px;
    background: var(--brand); color: var(--gold-soft);
    display: flex; align-items: center; justify-content: center;
  }
  .area h3 { font-family: var(--serif); font-size: 21px; color: var(--brand); }
  .area p { font-size: 15px; color: var(--muted); }
  .area .more {
    font-size: 14px; font-weight: 600; color: var(--gold);
    text-decoration: none; letter-spacing: .02em;
  }
  .area .more:hover { color: #8f7244; }
  .area { cursor: pointer; }
  .area-list {
    list-style: none; display: grid; gap: 7px;
    margin: 2px 0 6px; font-size: 13.5px; color: #4a5866;
  }
  .area-list li { position: relative; padding-left: 15px; }
  .area-list li::before {
    content: ""; position: absolute; left: 0; top: 7px;
    width: 5px; height: 5px; border-radius: 50%; background: var(--gold);
  }
  .area-list[hidden] { display: none; }
  .area-actions { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
  .area .less {
    font-size: 13.5px; font-weight: 600; color: var(--muted); text-decoration: none;
  }
  .area .less:hover { color: var(--brand); }
  .area .less[hidden] { display: none; }

  /* ===== Rechtsgebiet-Detailseite (simulierte Unterseite) ===== */
  .gebiet-seite {
    position: fixed; inset: 0; z-index: 300; overflow-y: auto;
    background: var(--paper);
  }
  .gebiet-seite[hidden] { display: none; }
  .gs-head {
    position: sticky; top: 0; z-index: 10;
    background: var(--brand); color: #fff;
    display: flex; align-items: center; justify-content: space-between;
    gap: 18px; padding: 13px 24px;
  }
  .gs-back {
    background: none; border: 1px solid rgba(255,255,255,.45); color: #fff;
    border-radius: 4px; padding: 8px 14px; cursor: pointer;
    font: inherit; font-size: 14px; font-weight: 600;
  }
  .gs-back:hover { border-color: var(--gold-soft); color: var(--gold-soft); }
  /* Wortmarke als SVG-Pfade statt Schrift: Die Vorlage ist die Schrift des
     Original-Logos (Kunstler Script). Als Font-Datei darf sie nicht auf den
     Server (Desktop-Lizenz), als gerendertes Bild schon - und so sieht die
     Wortmarke auf jedem Geraet identisch aus, ohne Font-Download. */
  .gs-wordmark { height: 34px; width: auto; display: block; }
  .gs-body { max-width: 820px; margin: 0 auto; padding: 46px 24px 80px; }
  .gs-body h1 {
    font-family: var(--serif); font-size: clamp(30px, 4.5vw, 40px);
    color: var(--brand); margin: 10px 0 18px; line-height: 1.15;
  }
  .gs-body h2 { font-family: var(--serif); font-size: 21px; color: var(--brand); margin: 26px 0 8px; }

  /* ===== Fortbildungslisten (Profile), nach Jahren gruppiert ===== */
  .fb-block { margin: 18px 0 26px; }
  .fb-block h3 { margin-bottom: 10px; }
  .fb-jahr { border-top: 1px solid var(--line); }
  .fb-jahr:last-of-type { border-bottom: 1px solid var(--line); }
  .fb-aelter .fb-jahr:last-of-type { border-bottom: none; }
  .fb-jahr summary { cursor: pointer; color: var(--brand); font-weight: 700;
    padding: 9px 2px; list-style-position: outside; }
  .fb-jahr summary:hover { color: var(--gold); }
  .fb-jahr[open] > summary { color: var(--gold); }
  .fb-jahr ul { margin: 2px 0 12px 20px; padding: 0; color: #3d4956; font-size: 14.5px; }
  .fb-jahr li { margin-bottom: 9px; }
  /* Funktionsbezeichnung eigenstaendig darunter: erst sie macht erkennbar,
     wer da referiert hat (BGH-Richter, Hochschule, Fachanwaltschaft). */
  .fb-ref { display: block; font-size: 13px; color: var(--muted); margin-top: 1px; }
  .fb-aelter[hidden] { display: none; }
  .fb-aktion { margin-top: 12px; }
  .btn-line { background: none; border: 1px solid var(--line); color: var(--brand);
    border-radius: 4px; padding: 8px 16px; font: inherit; font-size: 14px;
    font-weight: 600; cursor: pointer; }
  .btn-line:hover { border-color: var(--gold); color: var(--gold); }

  /* ===== Scheidungskosten-Rechner ===== */
  .rechner { background: var(--white); border: 1px solid var(--line);
    border-radius: 6px; padding: 22px 24px; margin: 18px 0; }
  .rechner-feld { margin-bottom: 14px; }
  .rechner-feld label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 5px; }
  .rechner-feld input { width: 100%; max-width: 340px; padding: 9px 12px;
    border: 1px solid var(--line); border-radius: 4px; font: inherit; font-size: 15px; }
  .rechner-feld input:focus { outline: 2px solid var(--gold-soft); border-color: var(--gold); }
  .rechner-tabelle { width: 100%; border-collapse: collapse; margin: 10px 0 6px;
    font-size: 15px; color: #3d4956; }
  .rechner-tabelle td { padding: 7px 4px; border-bottom: 1px solid var(--line); }
  .rechner-tabelle td:last-child { text-align: right; white-space: nowrap; }
  .rechner-tabelle tr.summe td { font-weight: 700; color: var(--brand); }
  .rechner-tabelle tr.gesamt td { font-size: 17px; border-top: 2px solid var(--gold); }
  .rechner-hinweis { font-size: 13.5px; color: var(--muted); }

  .gs-body h3, .gs-body-seite h3 { font-family: var(--serif); font-size: 17px; color: var(--brand); margin: 20px 0 6px; }
  .gs-body p { color: #3d4956; margin: 0 0 13px; }
  /* Fliesstexte im Blocksatz (Wunsch Kanzlei 26./27.08.) - mit Silbentrennung,
     sonst reisst der Blocksatz bei langen Rechtsbegriffen grosse Luecken.
     Gilt auch fuer Kacheln, Checklisten, Ablauf-Schritte, Hinweis- und
     Kosten-Karten (Nachforderung 27.08.); nur nackte Stichpunktlisten
     (area-list, Fortbildungen) bleiben linksbuendig. */
  .gs-body p, .gs-body-seite p, .about .cols p, .divorce .cols p,
  .section-head p, .area p, .checklist li span, .step div, .note,
  .cost-card p, .docs-intro, .docs-group p, .hero p.lead, .contact .cols p {
    text-align: justify; hyphens: auto; overflow-wrap: break-word;
  }
  .gs-body a { color: var(--gold); font-weight: 600; text-decoration: none; }
  .gs-body a:hover { color: #8f7244; }
  .mail-hinweis a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
  .gs-profilkopf { display: flex; gap: 24px; align-items: center; margin-top: 12px; }
  .gs-profilkopf h1 { margin: 0; }
  .gs-avatar {
    width: 120px; height: 120px; border-radius: 50%; object-fit: cover;
    border: 3px solid var(--gold-soft); box-shadow: 0 0 0 5px var(--white);
    flex: none; background: #dfe4ea;
  }
  .gs-rolle { color: var(--muted); font-size: 14.5px; margin-top: 6px; }
  .gs-kontakt {
    margin-top: 34px; background: var(--white); border: 1px solid var(--line);
    border-radius: 6px; padding: 20px 24px;
    display: flex; flex-wrap: wrap; gap: 8px 26px; align-items: baseline;
  }
  .gs-kontakt b { color: var(--brand); font-size: 15.5px; }
  .gs-kontakt span { font-size: 14px; color: var(--muted); }

  .fach-note {
    margin-top: 26px; font-size: 14px; color: var(--muted);
    display: flex; align-items: center; gap: 10px;
  }
  .fach-note .seal {
    width: 22px; height: 22px; border-radius: 50%;
    border: 1.5px solid var(--gold); color: var(--gold);
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--serif); font-size: 13px; flex: none;
  }

  /* ===== Anwälte ===== */
  .lawyer-grid {
    display: grid; gap: 26px;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  }
  .lawyer {
    background: var(--white); border: 1px solid var(--line); border-radius: 6px;
    padding: 36px 28px 30px; display: flex; flex-direction: column;
    align-items: center; text-align: center;
  }
  .avatar {
    width: 150px; height: 150px; border-radius: 50%; object-fit: cover;
    border: 3px solid var(--gold-soft);
    box-shadow: 0 0 0 6px var(--white), 0 12px 26px rgba(11,35,24,.16);
  }
  .lawyer .body { padding: 20px 0 0; }
  .about-photo {
    width: 100%; border-radius: 6px; display: block;
    box-shadow: 0 14px 34px rgba(11,35,24,.14); margin-bottom: 22px;
  }
  .lawyer h3 { font-family: var(--serif); font-size: 24px; color: var(--brand); }
  .lawyer .role { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
  .badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; justify-content: center; }
  .badge {
    font-size: 12.5px; font-weight: 600; letter-spacing: .02em;
    color: var(--brand); background: #eef0ec;
    border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px;
  }
  .badge.gold { background: #f4ecdf; border-color: #e3d3b4; color: #7d6335; }
  /* Fachanwaltschaften sind Links auf das jeweilige Rechtsgebiet */
  a.badge { text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; }
  a.badge.gold:hover, a.badge.gold:focus-visible { background: #ecdfc8; border-color: #d4bd93; }
  /* Ansprechpartner-Name verlinkt auf das Anwaltsprofil */
  .gs-kontakt b a, .contact-person b a { color: inherit; text-decoration: underline;
    text-underline-offset: 3px; text-decoration-color: var(--gold);
    text-decoration-thickness: 1.5px; }
  .gs-kontakt b a:hover, .gs-kontakt b a:focus-visible,
  .contact-person b a:hover, .contact-person b a:focus-visible { color: var(--gold); }
  .lawyer .meta { margin-top: 16px; font-size: 14.5px; color: var(--muted); }
  .lawyer .more { display: inline-block; margin-top: 18px; font-size: 14.5px;
    font-weight: 600; color: var(--gold); text-decoration: none; }
  .lawyer .more:hover { color: #8f7244; }

  /* ===== Kanzlei-Galerie + Lightbox ===== */
  .galerie {
    display: grid; gap: 14px; margin-top: 40px;
    grid-template-columns: repeat(4, 1fr);
  }
  .galerie img {
    width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
    border-radius: 6px; cursor: zoom-in; display: block;
    box-shadow: 0 8px 22px rgba(11,35,24,.10);
    transition: transform .18s, box-shadow .18s;
  }
  .galerie img:hover {
    transform: scale(1.02); box-shadow: 0 14px 30px rgba(11,35,24,.18);
  }
  .galerie-mehr { margin-top: 14px; }
  .galerie-mehr[hidden] { display: none; }
  .galerie-aktion { display: flex; justify-content: center; margin-top: 20px; }
  .lightbox {
    position: fixed; inset: 0; z-index: 500;
    background: rgba(11,35,24,.88);
    display: flex; align-items: center; justify-content: center;
    padding: 24px; cursor: zoom-out;
  }
  .lightbox[hidden] { display: none; }
  .lightbox img {
    max-width: 92vw; max-height: 88vh; border-radius: 6px;
    box-shadow: 0 30px 80px rgba(0,0,0,.5);
  }
  .lightbox .lb-close {
    position: absolute; top: 16px; right: 20px;
    background: none; border: 1px solid rgba(255,255,255,.5); color: #fff;
    border-radius: 4px; width: 38px; height: 38px; cursor: pointer;
    font-size: 18px; line-height: 1;
  }
  .lightbox .lb-close:hover { border-color: var(--gold-soft); color: var(--gold-soft); }
  .lightbox .lb-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(11,35,24,.55); border: 1px solid rgba(255,255,255,.5); color: #fff;
    border-radius: 50%; width: 52px; height: 52px; cursor: pointer;
    font-size: 30px; line-height: 1; padding-bottom: 4px;
  }
  .lightbox .lb-prev { left: 18px; }
  .lightbox .lb-next { right: 18px; }
  .lightbox .lb-nav:hover { border-color: var(--gold-soft); color: var(--gold-soft); }
  .lightbox .lb-nav[hidden] { display: none; }
  .kontakt-foto { margin-top: 14px; }
  .kontakt-foto img {
    width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 62%;
    border-radius: 6px; display: block; cursor: zoom-in;
    border: 1px solid rgba(255,255,255,.14);
  }
  .kontakt-foto .bildzeile { font-size: 12.5px; color: #9fb4a7; margin-top: 8px; }

  /* ===== Online-Scheidung ===== */
  .divorce { background: #f3ecdc; }
  .divorce h3 { font-family: var(--serif); font-size: 22px; color: var(--brand); }
  .divorce .cols { display: grid; gap: 44px; grid-template-columns: 1fr 1fr; align-items: start; }
  .checklist { list-style: none; display: grid; gap: 13px; margin-top: 18px; }
  .checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: #3d4956; }
  .checklist .chk {
    width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: #fff;
    flex: none; display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700; margin-top: 2px;
  }
  .checklist b { color: var(--brand); }
  .steps {
    background: var(--white); border: 1px solid var(--line); border-radius: 6px;
    padding: 26px 28px 22px;
  }
  .step { display: flex; gap: 18px; padding: 15px 0; }
  .step + .step { border-top: 1px dashed var(--line); }
  .step .n {
    font-family: var(--serif); font-size: 19px; color: var(--gold);
    width: 34px; height: 34px; flex: none; border: 1.5px solid var(--gold-soft);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
  }
  .step b { color: var(--brand); display: block; }
  .step span.txt { font-size: 14.5px; color: var(--muted); }
  .divorce .note {
    margin-top: 22px; font-size: 14px; color: #64583e;
    background: rgba(255,255,255,.65); border-left: 3px solid var(--gold);
    padding: 12px 16px; border-radius: 0 6px 6px 0;
  }
  .divorce .cta-row { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
  .divorce .contact-person { font-size: 14.5px; color: var(--muted); }
  .divorce .contact-person b { color: var(--brand); }

  /* ===== Kanzlei ===== */
  .about { background: var(--white); }
  .about .cols {
    display: grid; gap: 48px; align-items: start;
    grid-template-columns: 1.2fr .8fr;
  }
  .about .text p + p { margin-top: 16px; }
  .about .text p { color: #3d4956; }
  .quote {
    background: var(--brand); color: #e7efe9; border-radius: 6px;
    padding: 34px 32px; position: relative; overflow: hidden;
  }
  .quote .q-mark {
    position: absolute; right: 6px; top: -34px;
    font-family: var(--serif); font-size: 170px; color: rgba(255,255,255,.07);
  }
  .quote p.motto {
    font-family: var(--serif); font-size: 27px; line-height: 1.35; color: #fff;
  }
  .quote p.motto em { color: var(--gold-soft); font-style: normal; }
  .quote .src { margin-top: 14px; font-size: 13.5px; color: #a8bcb0;
    letter-spacing: .06em; text-transform: uppercase; }
  .facts { margin-top: 22px; display: grid; gap: 12px; }
  .fact {
    display: flex; gap: 12px; align-items: baseline;
    background: var(--paper); border: 1px solid var(--line);
    border-radius: 6px; padding: 14px 18px; font-size: 15px;
  }
  .fact b { font-family: var(--serif); font-size: 20px; color: var(--brand); white-space: nowrap; }

  /* ===== Hinweis-Box ===== */
  .sys-note {
    margin-top: 26px; font-size: 13.5px; color: var(--muted);
    background: #f1ede4; border: 1px dashed #d6c9ad; border-radius: 6px;
    padding: 12px 16px;
  }

  button.btn { cursor: pointer; font: inherit; font-weight: 600; }

  /* ===== Kosten ===== */
  .cost-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
  .cost-card {
    background: var(--white); border: 1px solid var(--line); border-radius: 6px;
    padding: 28px 28px 26px;
  }
  .cost-card .icon {
    width: 46px; height: 46px; border-radius: 6px;
    background: var(--brand); color: var(--gold-soft);
    display: flex; align-items: center; justify-content: center;
  }
  .cost-card h3 { font-family: var(--serif); font-size: 20px; color: var(--brand); margin: 14px 0 8px; }
  .cost-card p { font-size: 14.5px; color: var(--muted); }
  .cost-card .big {
    font-family: var(--serif); font-size: 27px; color: var(--gold); margin-top: 14px;
  }
  .cost-card .fine { font-size: 12.5px; color: var(--muted); display: block; margin-top: 8px; }
  .cost-card a { color: var(--gold); font-weight: 600; text-decoration: none; }

  /* ===== Service / Dokumente (kompakt, ausklappbar) ===== */
  .docs { background: var(--white); padding: 38px 0; }
  .docs-details {
    background: var(--paper); border: 1px solid var(--line); border-radius: 6px;
  }
  .docs-details summary {
    list-style: none; cursor: pointer; display: flex; align-items: center;
    flex-wrap: wrap; gap: 8px 14px; padding: 14px 20px; user-select: none;
  }
  .docs-details summary::-webkit-details-marker { display: none; }
  .docs-sum-kicker {
    font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
    color: var(--gold); font-weight: 700; flex: none;
  }
  .docs-sum-title { font-size: 14.5px; font-weight: 600; color: var(--brand); flex: 1; min-width: 220px; }
  .docs-details .chev { color: var(--muted); flex: none; transition: transform .2s; }
  .docs-details[open] .chev { transform: rotate(180deg); }
  .docs-details summary:hover .docs-sum-title { color: var(--gold); }
  .docs-inner { padding: 4px 20px 18px; border-top: 1px solid var(--line); }
  .docs-intro { font-size: 13px; color: var(--muted); margin: 12px 0 14px; }
  .docs-intro b { color: var(--brand); font-weight: 600; }
  .docs-cols { display: grid; gap: 18px 32px; grid-template-columns: 1fr 1fr; }
  .docs-group h4 { font-family: var(--serif); font-size: 16px; color: var(--brand); }
  .docs-group p { font-size: 12.5px; color: var(--muted); margin: 2px 0 8px; }
  .doc-links-slim { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
  .doc-links-slim a {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 600; color: var(--brand); text-decoration: none;
    background: var(--white); border: 1px solid var(--line); border-radius: 999px;
    padding: 6px 13px; transition: border-color .15s, color .15s;
  }
  .doc-links-slim a:hover { border-color: var(--gold-soft); color: var(--gold); }

  /* ===== Anfrage-Formular (Dialog) ===== */
  dialog.anfrage {
    border: none; border-radius: 8px; padding: 0;
    width: min(680px, calc(100vw - 32px));
    max-height: calc(100vh - 48px); overflow-y: auto;
    box-shadow: 0 30px 80px rgba(11,35,24,.35);
  }
  dialog.anfrage::backdrop { background: rgba(11,35,24,.55); }
  .anfrage-head {
    background: var(--brand); color: #fff; padding: 22px 28px;
    display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  }
  .anfrage-head h3 { font-family: var(--serif); font-size: 22px; }
  .anfrage-head p { font-size: 13.5px; color: #b5c6bb; margin-top: 4px; }
  .anfrage-close {
    background: none; border: 1px solid rgba(255,255,255,.4); color: #fff;
    border-radius: 4px; width: 32px; height: 32px; cursor: pointer;
    font-size: 16px; line-height: 1; flex: none;
  }
  .anfrage-close:hover { border-color: var(--gold-soft); color: var(--gold-soft); }
  .anfrage-body { padding: 24px 28px 28px; background: var(--white); }
  .form-sec {
    font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
    color: var(--gold); font-weight: 700; margin: 18px 0 10px;
    padding-bottom: 6px; border-bottom: 1px solid var(--line);
  }
  .form-sec:first-child { margin-top: 0; }
  .form-grid { display: grid; gap: 12px 14px; grid-template-columns: 1fr 1fr; }
  .field { display: flex; flex-direction: column; gap: 5px; }
  .field.wide { grid-column: 1 / -1; }
  .field label { font-size: 13px; font-weight: 600; color: var(--ink); }
  .field label .req { color: var(--gold); }
  .field input, .field select, .field textarea {
    font-family: inherit; font-size: 14.5px; color: var(--ink);
    border: 1px solid var(--line); border-radius: 5px;
    padding: 9px 12px; background: var(--paper); outline: none;
    transition: border-color .15s, background .15s;
  }
  .field input:focus, .field select:focus, .field textarea:focus {
    border-color: var(--gold); background: var(--white);
  }
  .field textarea { resize: vertical; min-height: 74px; }
  /* Leere Pflichtfelder nach Klick auf "Anfrage senden" (Wunsch Kanzlei 06.09.):
     alle auf einmal rot, nicht nur das erste wie beim Browser-Standard */
  .field.feld-fehler label { color: #b0483d; }
  .field.feld-fehler input, .field.feld-fehler select {
    border-color: #b0483d; background: #fdf3f2; box-shadow: 0 0 0 2px rgba(176, 72, 61, .15);
  }
  .consent.feld-fehler { color: #b0483d; }
  /* Dreiteiliges Datum: Tag | Monat (Liste) | Jahr */
  .datum-teile { display: grid; grid-template-columns: 3.4em minmax(0, 1fr) 4.8em; gap: 6px; }
  .datum-teile input { text-align: center; }
  .hint { font-size: 12.5px; color: #b0483d; line-height: 1.45; }
  .hint[hidden] { display: none; }
  .consent {
    display: flex; gap: 10px; align-items: flex-start;
    font-size: 12.5px; color: var(--muted); margin-top: 16px;
  }
  .consent input { margin-top: 2px; accent-color: var(--gold); }
  .anfrage-actions {
    display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 18px;
  }
  .mail-hinweis {
    margin-top: 14px; font-size: 13.5px; color: #64583e;
    background: #f4ecdf; border-left: 3px solid var(--gold);
    padding: 10px 14px; border-radius: 0 5px 5px 0;
  }
  .mail-hinweis.erfolg { background: #e8f1eb; border-color: var(--brand); color: #2f4a3a; font-size: 15px; }
  .mail-hinweis.fehler { background: #f8e9e7; border-color: #b0483d; color: #6e2f28; }
  /* Honeypot gegen Bots: fuer Menschen unsichtbar, Bots fuellen es aus */
  .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

  /* ===== Kontakt ===== */
  .contact { background: var(--brand-deep); color: #d9e4dd; }
  .contact .kicker { color: var(--gold-soft); }
  .contact h2.title { color: #fff; }
  .contact .cols {
    display: grid; gap: 40px; grid-template-columns: 1fr 1fr; align-items: stretch;
  }
  .c-list { display: grid; gap: 18px; margin-top: 8px; align-content: start; }
  .c-item { display: flex; gap: 16px; align-items: flex-start; }
  .c-item .ic {
    width: 40px; height: 40px; flex: none; border-radius: 6px;
    border: 1px solid rgba(200,169,122,.5); color: var(--gold-soft);
    display: flex; align-items: center; justify-content: center;
  }
  .c-item b { color: #fff; display: block; font-size: 15.5px; }
  .c-item span { font-size: 14.5px; color: #b6c8bc; }
  .c-item span a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
  .c-item span a:hover { color: var(--gold-soft); }
  .map-spalte { display: flex; flex-direction: column; }
  .map-ph {
    border-radius: 6px; min-height: 320px; flex: 1;
    background:
      repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 16px, rgba(255,255,255,.07) 16px 32px),
      linear-gradient(160deg, #1d4a37, #143528);
    border: 1px solid rgba(255,255,255,.14);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 10px; color: #9fb4a7; text-align: center; padding: 24px;
  }
  .map-ph .ph-label {
    font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase;
    background: rgba(0,0,0,.25); padding: 4px 10px; border-radius: 3px;
  }

  /* ===== Consent-Banner (Einwilligungsabfrage) ===== */
  .consent-banner {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 400;
    background: var(--white); border-top: 3px solid var(--gold);
    box-shadow: 0 -14px 40px rgba(11,35,24,.25);
  }
  .consent-banner[hidden] { display: none; }
  .consent-inner { max-width: 1120px; margin: 0 auto; padding: 18px 24px 20px; }
  .consent-inner b { color: var(--brand); font-size: 15.5px; }
  .consent-inner p { font-size: 13.5px; color: var(--muted); margin: 6px 0 0; max-width: 95ch; }
  .consent-inner p a { color: var(--gold); font-weight: 600; text-decoration: none; }
  .consent-details { display: grid; gap: 8px; margin-top: 12px; font-size: 14px; color: var(--ink); }
  .consent-details[hidden] { display: none; }
  .consent-details label { display: flex; gap: 9px; align-items: center; }
  .consent-details input { accent-color: var(--brand); }
  .consent-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
  .consent-actions .btn { padding: 10px 18px; font-size: 14.5px; }
  .btn-grey { background: #5c6b78; color: #fff !important; border: 1px solid #5c6b78; }
  .btn-grey:hover { background: #4a5866; border-color: #4a5866; }
  .btn-line { background: none; color: var(--brand) !important; border: 1px solid var(--line); }
  .btn-line:hover { border-color: var(--gold-soft); color: var(--gold) !important; }
  .map-hinweis { font-size: 11.5px; color: #9fb4a7; max-width: 42ch; }
  .map-hinweis a { color: var(--gold-soft); }

  /* ===== Footer ===== */
  footer { background: var(--brand-ink); color: #9db0a4; font-size: 14.5px; }
  footer .cols {
    display: grid; gap: 40px; grid-template-columns: 1.4fr 1fr 1fr;
    padding: 56px 0 44px;
  }
  .foot-logo {
    display: inline-block; background: #f5f3ee;
    padding: 12px 16px; border-radius: 6px;
  }
  .foot-logo img { height: 46px; width: auto; display: block; }
  footer p.blurb { margin-top: 14px; max-width: 40ch; }
  footer h4 {
    color: #fff; font-size: 13px; letter-spacing: .22em; text-transform: uppercase;
    margin-bottom: 16px; font-weight: 600;
  }
  footer ul { list-style: none; display: grid; gap: 9px; }
  footer a { text-decoration: none; }
  footer a:hover { color: var(--gold-soft); }
  .foot-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 20px 0; display: flex; flex-wrap: wrap; gap: 10px 28px;
    justify-content: space-between; font-size: 13.5px;
  }
  .foot-bottom .legal { display: flex; gap: 22px; }
  .foot-bottom .legal a { color: var(--gold-soft); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
  .foot-bottom .legal a:hover { color: #fff; }

  /* ===== Responsive ===== */
  @media (max-width: 900px) {
    .about .cols, .contact .cols, .divorce .cols { grid-template-columns: 1fr; }
    .docs-cols { grid-template-columns: 1fr; }
    .galerie { grid-template-columns: 1fr 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    footer .cols { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 1150px) {
    .nav-toggle { display: block; }
    .menu {
      display: none; position: absolute; left: 0; right: 0; top: 100%;
      background: #fff; border-bottom: 1px solid var(--line);
      flex-direction: column; align-items: flex-start;
      padding: 18px 24px 22px; gap: 14px;
      box-shadow: 0 18px 30px rgba(11,35,24,.12);
    }
    .menu.open { display: flex; }
  }
  @media (max-width: 760px) {
    .topbar .wrap { justify-content: center; }
    .brand-logo { height: 42px; }
    /* Wortmarke am Handy kleiner, sonst laeuft sie neben dem Zurueck-Knopf
       aus dem Bild (bei 375 px bleiben rund 210 px fuer sie uebrig). */
    .gs-wordmark { height: 24px; }
    /* Rechtsgebiete am Handy zweispaltig (Wunsch Hannes 23.08.): auto-fit
       braucht 300px je Spalte und faellt sonst auf eine zurueck. Damit der
       Text nicht erdrueckt wird, sind Innenabstand, Icon und Schrift kleiner. */
    /* minmax(0, 1fr) statt 1fr: sonst zwingt ein langes Wort (z. B.
       "Gesellschaftsrecht") seine Spalte breiter als die halbe Zeile. */
    .area-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
    /* hyphens trennt sauber mit Bindestrich, greift aber nicht in jedem
       Browser; overflow-wrap ist der Notnagel, damit lange Komposita
       ("Vermoegensauseinandersetzung") nicht aus der Karte laufen. */
    .area h3, .area p, .area-list { hyphens: auto; overflow-wrap: break-word; }
    .area { padding: 18px 14px; gap: 9px; }
    .area .icon { width: 36px; height: 36px; }
    .area .icon svg { width: 19px; height: 19px; }
    .area h3 { font-size: 15.5px; line-height: 1.25; }
    /* Kurztext auf vier Zeilen begrenzen: In der schmalen Spalte wuerden die
       Karten sonst sehr hoch und ungleich - die Details stehen ohnehin einen
       Fingertipp entfernt auf der Unterseite. */
    .area p { font-size: 13px; display: -webkit-box; -webkit-box-orient: vertical;
      -webkit-line-clamp: 4; overflow: hidden; }
    .area .more, .area .less { font-size: 12.5px; }
    .area-list { font-size: 12.5px; gap: 6px; }
    .area-list li { padding-left: 13px; }
    .lightbox .lb-nav { width: 42px; height: 42px; font-size: 24px; }
    .lightbox .lb-prev { left: 8px; }
    .lightbox .lb-next { right: 8px; }
    section { padding: 64px 0; }
    .hero .wrap { padding-top: 64px; }
    .stat + .stat { border-left: none; padding-left: 0; }
    .stats { gap: 10px; }
    footer .cols { grid-template-columns: 1fr; gap: 30px; }
  }

/* width/height-Attribute (CLS) duerfen nur das Seitenverhaeltnis beim Laden
   reservieren, nie die angezeigte Groesse bestimmen - Klassen-Regeln mit
   expliziter Hoehe (Avatare usw.) gewinnen weiterhin. */
img { height: auto; }

/* ===== Layout echter Unterseiten (statt Overlay) ===== */
.gs-body-seite { background: var(--paper); padding: 40px 0 70px; }
.wrap-schmal { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.gs-body-seite h1 { font-family: var(--serif); font-size: clamp(30px, 4.5vw, 40px);
  color: var(--brand); margin: 10px 0 18px; line-height: 1.15; }
.gs-body-seite h2 { font-family: var(--serif); font-size: 21px; color: var(--brand);
  margin: 26px 0 8px; }
.gs-body-seite p { color: #3d4956; margin: 0 0 13px; }
.gs-body-seite a { color: var(--gold); font-weight: 600; text-decoration: none; }
.gs-body-seite a:hover { color: #8f7244; }
.gs-head a.gs-back { text-decoration: none; display: inline-block; }
