/* ==========================================================
   PAGE-SPEZIFISCHE ERWEITERUNGEN
   (Aus den Mockup-HTML-Style-Blöcken zusammengeführt)
   ========================================================== */

/* ============ STARTSEITE: HERO ============ */
.hero { padding: var(--s-9) 0 var(--s-8); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; right: -160px; top: -160px;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(196,137,62,.10), transparent 60%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: var(--s-8); align-items: end; }
.hero h1 {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(46px, 6.2vw, 88px); line-height: .98; letter-spacing: -0.025em;
  color: var(--ink-900); margin: var(--s-5) 0 var(--s-5); max-width: 16ch;
}
.hero h1 em { font-style: italic; color: var(--ochre-700); font-weight: 400; }
.hero .lede {
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; color: var(--ink-800);
  max-width: 52ch; margin: 0 0 var(--s-6);
}
.hero-cta { display: flex; gap: var(--s-3); flex-wrap: wrap; align-items: center; }
.hero-meta { display: flex; gap: var(--s-5); margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--paper-300); }
.hero-meta .item { display: grid; gap: 2px; }
.hero-meta .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; color: var(--text-500); text-transform: uppercase; }
.hero-meta .v { font-family: var(--font-serif); font-size: 17px; color: var(--ink-900); }
.portrait-card { position: relative; }
.stamp {
  position: absolute; right: -18px; bottom: 32px;
  background: var(--ochre-600); color: #fff;
  padding: 14px 18px; border-radius: var(--r-sm);
  font-family: var(--font-serif); font-size: 16px; line-height: 1.25;
  box-shadow: 0 12px 30px -10px rgba(166,110,42,.55);
  max-width: 260px; white-space: nowrap;
}
.stamp .small { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; display: block; margin-bottom: 4px; }
.about-body h2 { font-size: clamp(32px, 3.4vw, 44px); line-height: 1.08; max-width: 20ch; }
.about-body .lede { font-family: var(--font-serif); font-weight: 300; font-size: 22px; line-height: 1.45; color: var(--ink-800); margin: var(--s-4) 0 var(--s-5); max-width: 56ch; }

/* ============ ÜBER MICH: VALUES + TOPIC-LIST ============ */
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4); margin-top: var(--s-6); }
.value-card { background: var(--paper-100); border: 1px solid var(--paper-300); border-radius: var(--r-md); padding: var(--s-5); display: grid; gap: var(--s-2); }
.value-card .v-num { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; color: var(--ochre-700); text-transform: uppercase; }
.value-card h3 { font-size: 20px; line-height: 1.2; }
.value-card p { font-size: 15px; color: var(--text-700); line-height: 1.6; }
.topic-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2) var(--s-5); margin-top: var(--s-5); list-style: none; padding: 0; }
.topic-list li { font-size: 15px; color: var(--text-700); display: flex; gap: 10px; align-items: start; line-height: 1.45; padding: 4px 0; border-top: 1px solid var(--paper-300); }
.topic-list li::before { content: "—"; color: var(--ochre-600); font-family: var(--font-serif); flex-shrink: 0; }

/* ============ KANZLEI: TEAM-GRID + TEAM-CARDS ============ */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); margin-top: var(--s-6); }
.team-card { background: var(--paper-100); border: 1px solid var(--paper-300); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; }
.team-card.lead { background: #fff; border-color: var(--ochre-500); }
.tc-portrait { aspect-ratio: 4 / 5; background: var(--paper-300); overflow: hidden; }
.tc-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.tc-body { padding: var(--s-5); display: grid; gap: var(--s-2); }
.tc-role { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; color: var(--ochre-700); text-transform: uppercase; }
.tc-name { font-family: var(--font-serif); font-weight: 400; font-size: 22px; line-height: 1.2; color: var(--ink-900); }
.tc-desig { font-family: var(--font-sans); font-size: 14px; color: var(--text-500); }
.tc-focus { font-size: 14px; color: var(--text-700); line-height: 1.6; }
@media (max-width: 980px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .team-grid { grid-template-columns: 1fr; } .tc-portrait { aspect-ratio: 3 / 2; } .tc-body { padding: 18px; } .tc-name { font-size: 20px; } }

/* ============ LEISTUNGEN: SECTIONS + SUB-CARDS + ERSTBERATUNG ============ */
.lsection { padding: var(--s-9) 0; border-bottom: 1px solid var(--paper-300); }
.lsection:last-of-type { border-bottom: 0; }
.lsection-head { display: grid; grid-template-columns: minmax(360px, 32em) 1fr; gap: var(--s-7); margin-bottom: var(--s-6); align-items: start; }
.lsection-head .lnum { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; color: var(--ochre-700); text-transform: uppercase; margin-bottom: var(--s-2); }
.lsection-head h2 { font-size: clamp(26px, 2.4vw, 36px); line-height: 1.1; hyphens: manual; }
.lsection-head .desc { font-size: 17px; color: var(--text-700); line-height: 1.65; align-self: end; }
.sub-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4); }
.sub-card { background: var(--paper-100); border: 1px solid var(--paper-300); border-radius: var(--r-md); padding: var(--s-5); }
.sub-card h3 { font-size: 20px; line-height: 1.2; margin-bottom: var(--s-3); }
.sub-card p { font-size: 15px; color: var(--text-700); line-height: 1.65; }
.sub-card.featured { background: #fff; border-color: var(--ochre-500); position: relative; overflow: hidden; }
.sub-card.featured::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--ochre-600); }
.erstberatung-box { background: var(--ink-900); color: var(--paper-200); border-radius: var(--r-lg); padding: var(--s-7) var(--s-8); display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-7); align-items: center; margin-top: var(--s-7); }
.erstberatung-box h2 { color: #fff; font-size: clamp(28px, 2.8vw, 38px); line-height: 1.1; margin-bottom: var(--s-3); }
.erstberatung-box p { color: var(--ink-300); font-size: 16px; line-height: 1.65; }
.erstberatung-box .facts { display: grid; gap: var(--s-3); margin-top: var(--s-3); }
.erstberatung-box .fact { display: flex; gap: 12px; align-items: start; font-size: 15px; color: var(--ink-300); }
.erstberatung-box .fact::before { content: "✓"; color: var(--ochre-500); flex-shrink: 0; font-size: 14px; margin-top: 2px; }

/* ============ LEISTUNGSBEREICHE: SIDEBAR-LAYOUT + TIMELINE ============ */
/* .weg-* = WEG-Seite (Bestand), .area* = neutrale Namen fuer Immobilienrecht +
   Folgeseiten (Design-Handoff 30.07.2026). Werte identisch, daher Gruppenselektoren;
   bei der spaeteren WEG-Angleichung ans Muster koennen die .weg-*-Namen entfallen. */
.weg-area, .area { display: grid; grid-template-columns: 280px 1fr; gap: var(--s-8); padding: var(--s-8) 0; border-bottom: 1px solid var(--paper-300); align-items: start; }
.weg-area:last-child, .area:last-child { border-bottom: 0; }
.weg-label, .area-label { position: sticky; top: 90px; }
.weg-label .area-num, .area-label .area-num { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; color: var(--ochre-700); text-transform: uppercase; margin-bottom: var(--s-2); }
.weg-label h2, .area-label h2 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; }
.weg-body h3, .area-body h3 { font-size: 19px; color: var(--ink-900); margin: var(--s-5) 0 var(--s-2); line-height: 1.3; }
.weg-body h3:first-child, .area-body h3:first-child { margin-top: 0; }
.weg-body p, .area-body p { font-size: 16px; color: var(--text-700); line-height: 1.7; margin-bottom: var(--s-4); max-width: 64ch; }
.area-body p:last-child { margin-bottom: 0; }
.weg-body .law-ref { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: var(--ochre-700); background: var(--ochre-100); padding: 4px 10px; border-radius: 999px; margin-bottom: var(--s-3); }
.reform-box { background: var(--ink-900); color: var(--paper-200); border-radius: var(--r-md); padding: var(--s-5) var(--s-6); margin-top: var(--s-5); }
.reform-box h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; color: var(--ochre-500); text-transform: uppercase; margin: 0 0 var(--s-2); font-weight: 500; }
.reform-box p { font-size: 15px; color: var(--ink-300); line-height: 1.65; margin: 0; }
.timeline { margin-top: var(--s-4); display: grid; gap: var(--s-3); }
.tl-item { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; font-size: 15px; color: var(--text-700); line-height: 1.5; }
.tl-item .tl-dot { width: 28px; height: 28px; border-radius: 50%; background: var(--ochre-100); border: 1px solid var(--ochre-500); display: grid; place-items: center; font-family: var(--font-mono); font-size: 11px; color: var(--ochre-700); font-weight: 600; flex-shrink: 0; margin-top: 2px; }

/* ============ IMMOBILIENRECHT: ANKER, HINWEIS-BOX, SONDERBLOCK ============ */
/* Design-Handoff design_handoff_immobilienrecht/ (SPEC-Immobilienrecht.md) */
.anchor-row { display: flex; gap: var(--s-3); flex-wrap: wrap; padding-bottom: var(--s-6); }
.area, .special-band { scroll-margin-top: 90px; } /* Anker-Ziele unter der Sticky-Nav */
.note-box { background: var(--ochre-100); border: 1px solid var(--ochre-500); border-radius: var(--r-md); padding: var(--s-5) var(--s-6); margin-top: var(--s-5); }
.note-box h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; color: var(--ochre-700); text-transform: uppercase; margin: 0 0 var(--s-2); font-weight: 500; }
.note-box p { font-size: 15px; color: var(--ink-800); line-height: 1.65; margin: 0; max-width: 62ch; }
.special-band { background: var(--paper-100); border-top: 1px solid var(--paper-300); border-bottom: 1px solid var(--paper-300); padding: var(--s-9) 0; }
.special { position: relative; background: #fff; border: 1px solid var(--ochre-500); border-radius: var(--r-lg); padding: var(--s-8); display: grid; grid-template-columns: 280px 1fr; gap: var(--s-8); align-items: start; }
.special::before { content: ""; position: absolute; inset: 0; border-radius: var(--r-lg); box-shadow: inset 0 0 0 6px var(--ochre-100); pointer-events: none; }
.special-label { position: relative; }
.special-label .star { font-family: var(--font-serif); font-size: 34px; line-height: 1; color: var(--ochre-500); display: block; margin-bottom: var(--s-3); }
.special-label .kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; color: var(--ochre-700); text-transform: uppercase; margin-bottom: var(--s-2); }
.special-label h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.12; margin: 0; }
.qual-badge { display: inline-flex; align-items: center; gap: 10px; margin-top: var(--s-4); padding: 8px 14px; border: 1px solid var(--ink-300); border-radius: 999px; background: var(--paper-50); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-800); line-height: 1.3; }
.qual-badge .seal { width: 20px; height: 20px; border-radius: 50%; background: var(--ochre-100); border: 1px solid var(--ochre-500); display: grid; place-items: center; font-family: var(--font-serif); font-size: 12px; color: var(--ochre-700); flex-shrink: 0; }
.special-body { position: relative; }
.special-body .lead-q { font-family: var(--font-serif); font-weight: 300; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; color: var(--ink-800); max-width: 52ch; margin: 0 0 var(--s-5); }
.special-body h3 { font-size: 19px; color: var(--ink-900); margin: var(--s-5) 0 var(--s-2); line-height: 1.3; }
.special-body p { font-size: 16px; color: var(--text-700); line-height: 1.7; margin-bottom: var(--s-4); max-width: 64ch; }
.special-body p:last-child { margin-bottom: 0; }

/* ============ NEWS-ARCHIV: FILTER + FEATURED + GRID ============ */
.filter-bar { display: flex; gap: var(--s-2); flex-wrap: wrap; margin-bottom: var(--s-7); }
.filter-btn { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--paper-300); background: transparent; color: var(--text-700); cursor: pointer; transition: background .15s, border-color .15s, color .15s; text-decoration: none; display: inline-block; }
.filter-btn:hover { border-color: var(--ink-500); color: var(--ink-900); }
.filter-btn.active { background: var(--ink-900); color: #fff; border-color: var(--ink-900); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.news-card-full { text-decoration: none; color: inherit; border-top: 1px solid var(--paper-300); padding: var(--s-5) 0; display: grid; gap: var(--s-3); transition: opacity .15s; }
.news-card-full:hover { opacity: .85; }
.news-card-full time { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: var(--text-500); display: flex; gap: 12px; align-items: center; }
.news-card-full time .cat { color: var(--ochre-700); }
.news-card-full h3 { font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; }
.news-card-full:hover h3 { color: var(--ochre-700); }
.news-card-full p { color: var(--text-700); font-size: 15px; line-height: 1.55; }
.news-card-full .more { font-family: var(--font-sans); font-weight: 600; font-size: 14px; color: var(--ink-800); display: inline-flex; gap: 6px; align-items: center; }
.news-featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-7); padding: var(--s-6) 0; border-top: 2px solid var(--ink-900); border-bottom: 1px solid var(--paper-300); text-decoration: none; color: inherit; }
.news-featured:hover h2 { color: var(--ochre-700); }
.news-featured .f-meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: var(--text-500); display: flex; gap: 12px; }
.news-featured .f-meta .cat { color: var(--ochre-700); }
.news-featured h2 { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.1; margin: var(--s-3) 0 var(--s-4); transition: color .15s; }
.news-featured p { font-size: 16px; color: var(--text-700); line-height: 1.65; max-width: 56ch; }
.news-featured .label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; color: var(--ochre-700); text-transform: uppercase; margin-bottom: var(--s-3); border: 1px solid var(--ochre-500); border-radius: 999px; padding: 3px 10px; display: inline-block; }
.img-ph { background: repeating-linear-gradient(135deg, rgba(20,32,47,.04) 0 2px, transparent 2px 14px), linear-gradient(180deg, var(--paper-200), var(--paper-300)); border-radius: var(--r-md); aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.img-ph img { width: 100%; height: 100%; object-fit: cover; }
.img-ph span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--text-500); text-transform: uppercase; }

/* ============ NEWS-ARTIKEL: ARTIKEL-LAYOUT + SIDEBAR + AUTHOR ============ */
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: var(--s-9); align-items: start; padding: var(--s-8) 0; }
.article-body { max-width: 72ch; }
.article-meta { display: flex; gap: var(--s-4); align-items: center; flex-wrap: wrap; margin-bottom: var(--s-5); }
.article-cat { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; color: var(--ochre-700); text-transform: uppercase; border: 1px solid var(--ochre-500); border-radius: 999px; padding: 4px 12px; }
.article-date { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: var(--text-500); }
.article-readtime { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: var(--text-500); }
.article-body h1 { font-size: clamp(32px, 4vw, 54px); line-height: 1.05; letter-spacing: -0.022em; font-weight: 400; margin-bottom: var(--s-5); }
.article-intro { font-family: var(--font-serif); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--ink-800); font-weight: 300; margin-bottom: var(--s-6); padding-bottom: var(--s-6); border-bottom: 1px solid var(--paper-300); }
.article-img { background: repeating-linear-gradient(135deg, rgba(20,32,47,.04) 0 2px, transparent 2px 14px), linear-gradient(180deg, var(--paper-200), var(--paper-300)); border-radius: var(--r-md); aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; margin-bottom: var(--s-6); overflow: hidden; }
.article-img img { width: 100%; height: 100%; object-fit: cover; }
.article-img span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--text-500); text-transform: uppercase; }
.article-text h2 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; margin: var(--s-7) 0 var(--s-3); }
.article-text h3 { font-size: clamp(18px, 1.8vw, 21px); line-height: 1.2; margin: var(--s-5) 0 var(--s-2); }
.article-text p { font-size: 17px; color: var(--text-700); line-height: 1.75; margin-bottom: var(--s-4); }
.article-text ul { font-size: 17px; color: var(--text-700); line-height: 1.7; padding-left: var(--s-5); margin-bottom: var(--s-5); }
.article-text ul li { margin-bottom: var(--s-2); }
.article-text strong { color: var(--ink-900); font-weight: 600; }
.article-text .law-box { background: var(--paper-100); border: 1px solid var(--paper-300); border-radius: var(--r-md); padding: var(--s-5); margin: var(--s-5) 0; }
.article-text .law-box .law-title { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; color: var(--ochre-700); text-transform: uppercase; margin-bottom: var(--s-2); }
.article-text .law-box p { font-size: 15px; margin-bottom: 0; }
.article-text .pull { margin: var(--s-6) 0; padding: var(--s-5) var(--s-6); border-left: 3px solid var(--ochre-600); font-family: var(--font-serif); font-style: italic; font-size: 22px; line-height: 1.45; color: var(--ink-800); }
.author-card { background: var(--paper-100); border: 1px solid var(--paper-300); border-radius: var(--r-md); padding: var(--s-5); margin-top: var(--s-7); display: flex; gap: var(--s-4); align-items: center; }
.author-portrait { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--paper-300); }
.author-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.author-info .author-name { font-family: var(--font-serif); font-size: 17px; font-weight: 500; color: var(--ink-900); }
.author-info .author-role { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--ochre-700); text-transform: uppercase; margin-top: 2px; }
.article-sidebar { position: sticky; top: 90px; display: grid; gap: var(--s-4); }
.sidebar-box { background: var(--paper-100); border: 1px solid var(--paper-300); border-radius: var(--r-md); padding: var(--s-5); }
.sidebar-box h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; color: var(--ochre-700); text-transform: uppercase; margin-bottom: var(--s-4); font-weight: 500; }
.sidebar-box .toc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.sidebar-box .toc-list a { font-size: 14px; color: var(--ink-800); text-decoration: none; display: flex; gap: 8px; align-items: start; line-height: 1.4; }
.sidebar-box .toc-list a::before { content: "—"; color: var(--ochre-500); flex-shrink: 0; }
.sidebar-box .toc-list a:hover { color: var(--ochre-700); }
.sidebar-cta { background: var(--ink-900); border-radius: var(--r-md); padding: var(--s-5); }
.sidebar-cta h4 { color: var(--ochre-500); }
.sidebar-cta p { font-size: 14px; color: var(--ink-300); line-height: 1.55; margin-bottom: var(--s-4); }
.related { padding: var(--s-8) 0; border-top: 1px solid var(--paper-300); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); margin-top: var(--s-6); }

/* ============ KONTAKT: 2-COL LAYOUT + OFFICE-CARDS ============ */
.contact-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--s-9); padding: var(--s-8) 0 var(--s-10); align-items: start; }
.form-section h2 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.1; margin-bottom: var(--s-6); }
.form-section h2 em { font-style: italic; color: var(--ochre-700); }
.contact-info h3 { font-size: 22px; line-height: 1.2; margin-bottom: var(--s-5); }
.contact-block { margin-bottom: var(--s-6); padding-bottom: var(--s-6); border-bottom: 1px solid var(--paper-300); }
.contact-block:last-child { border-bottom: 0; }
.contact-block .c-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; color: var(--ochre-700); text-transform: uppercase; margin-bottom: var(--s-2); display: block; }
.contact-block .c-val { font-family: var(--font-serif); font-size: 19px; color: var(--ink-900); line-height: 1.4; }
.contact-block .c-val a { color: var(--ink-900); text-decoration: none; transition: color .15s; }
.contact-block .c-val a:hover { color: var(--ochre-700); }
.contact-block .c-sub { font-family: var(--font-sans); font-size: 14px; color: var(--text-500); margin-top: 2px; }
.offices { display: grid; gap: var(--s-4); margin-top: var(--s-5); }
.office-card { background: var(--paper-100); border: 1px solid var(--paper-300); border-radius: var(--r-md); padding: var(--s-4) var(--s-5); }
.office-card .o-city { font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; color: var(--ochre-700); text-transform: uppercase; margin-bottom: var(--s-1); }
.office-card .o-addr { font-size: 15px; color: var(--text-700); line-height: 1.55; }
.office-card .o-tel { font-family: var(--font-serif); font-size: 17px; color: var(--ink-900); text-decoration: none; display: block; margin-top: var(--s-2); }
.office-card .o-tel:hover { color: var(--ochre-700); }
.form-success { display: none; background: #fff; border: 1px solid var(--paper-300); border-radius: var(--r-md); padding: var(--s-7); text-align: center; }
.form-success .s-icon { font-size: 40px; display: block; margin-bottom: var(--s-3); }
.form-success h3 { font-size: 24px; margin-bottom: var(--s-2); }
.form-success p { color: var(--text-700); font-size: 16px; }

/* ============ FAQ-SEITE: SIDEBAR + KATEGORIE-HEADER ============ */
.faq-layout { display: grid; grid-template-columns: 220px 1fr; gap: var(--s-9); padding: var(--s-8) 0 var(--s-10); align-items: start; }
.faq-sidebar { position: sticky; top: 90px; }
.faq-sidebar nav { display: grid; gap: 4px; }
.faq-sidebar a { font-family: var(--font-sans); font-size: 14px; font-weight: 500; color: var(--ink-700); text-decoration: none; padding: 8px 12px; border-radius: var(--r-sm); transition: background .15s, color .15s; }
.faq-sidebar a:hover, .faq-sidebar a.active { background: var(--ochre-100); color: var(--ochre-700); }
.faq-category { margin-bottom: var(--s-8); }
.faq-category:last-child { margin-bottom: 0; }
.cat-eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; color: var(--ochre-700); text-transform: uppercase; margin-bottom: var(--s-4); display: flex; align-items: center; gap: var(--s-3); }
.cat-eyebrow::after { content: ""; flex: 1; height: 1px; background: var(--paper-300); }
.faq-category h2 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.1; margin-bottom: var(--s-5); }
.faq-category h2 em { font-style: italic; color: var(--ochre-700); }

/* ============ WP-SPEZIFISCHE ANPASSUNGEN ============ */
/* Active Nav-Link via WordPress current-menu-item Class */
.nav li.current-menu-item > a,
.nav li.current_page_item > a,
.nav li.current-menu-ancestor > a {
  border-bottom-color: var(--ochre-600);
  color: var(--ink-900);
}

/* Skip-Link für Accessibility */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink-900); color: #fff; padding: var(--s-3) var(--s-4);
  font-family: var(--font-sans); font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: var(--s-4); top: var(--s-4); }

/* Alignwide / Alignfull (Editor) */
.alignleft  { float: left;  margin: 0 var(--s-4) var(--s-3) 0; }
.alignright { float: right; margin: 0 0 var(--s-3) var(--s-4); }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }

/* Responsive Tweaks für die Erweiterungen */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .portrait-card { max-width: 480px; margin-top: var(--s-6); }
  .hero-meta { flex-direction: column; gap: var(--s-3); }
  .values { grid-template-columns: 1fr; }
  .topic-list { grid-template-columns: 1fr; }
  .lsection-head { grid-template-columns: 1fr; }
  .sub-cards { grid-template-columns: 1fr; }
  .erstberatung-box { grid-template-columns: 1fr; padding: var(--s-6); }
  .weg-area, .area, .special { grid-template-columns: 1fr; }
  .weg-label, .area-label, .special-label { position: static; }
  .area, .special { gap: var(--s-5); }
  .special { padding: var(--s-6); }
  .special-band { padding: var(--s-8) 0; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-featured { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-sidebar { position: static; display: none; }
}
@media (max-width: 640px) {
  .news-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
}

/* ==========================================================
   BURGER BUTTON (Mobile Nav-Trigger im Sticky-Header)
   ========================================================== */
.burger { display: none; width: 40px; height: 40px; border-radius: 50%; background: var(--paper-100); border: 1px solid var(--paper-300); cursor: pointer; place-items: center; padding: 0; }
.burger span { display: block; width: 16px; height: 1.5px; background: var(--ink-900); position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: var(--ink-900); }
.burger span::before { top: -5px; }
.burger span::after { top: 5px; }

/* ==========================================================
   MOBILE MENU OVERLAY (Slide-in von rechts, ≤640px, JS-gesteuert)
   ========================================================== */
.menu-overlay { position: fixed; inset: 0; z-index: 50; background: var(--ink-900); transform: translateX(100%); transition: transform .38s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; visibility: hidden; }
.menu-overlay.open { transform: translateX(0); visibility: visible; }
.menu-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; border-bottom: 1px solid rgba(255,255,255,.08); min-height: 62px; flex-shrink: 0; }
.menu-brand img { height: 26px; width: auto; opacity: .92; display: block; }
.menu-close { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); border: none; color: #fff; display: grid; place-items: center; cursor: pointer; flex-shrink: 0; }
.menu-close svg { width: 15px; height: 15px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; fill: none; }
.menu-nav { flex: 1; padding: 8px 0; }
.menu-nav ul { list-style: none; padding: 0; margin: 0; }
.menu-nav li { border-bottom: 1px solid rgba(255,255,255,.06); }
.menu-nav a { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; gap: 12px; font-family: var(--font-serif); font-size: 30px; font-weight: 400; color: #fff; text-decoration: none; letter-spacing: -0.018em; line-height: 1; transition: color .15s; }
.menu-nav a:active,
.menu-nav li.current-menu-item a,
.menu-nav li.current_page_item a,
.menu-nav li.current-menu-ancestor a { color: var(--ochre-500); }
.menu-nav li.current-menu-item .arr,
.menu-nav li.current_page_item .arr { color: var(--ochre-500); }
.menu-nav .meta { display: flex; flex-direction: column; gap: 4px; }
.menu-nav .num { font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; color: var(--ochre-500); text-transform: uppercase; }
.menu-nav .arr { font-family: var(--font-serif); font-size: 22px; color: rgba(255,255,255,.25); flex-shrink: 0; }
.menu-foot { padding: 22px 20px 44px; border-top: 1px solid rgba(255,255,255,.08); flex-shrink: 0; }
.menu-foot .foot-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; color: var(--ochre-500); text-transform: uppercase; margin-bottom: 14px; }
.menu-foot .contact-links { display: grid; gap: 12px; margin-bottom: 18px; }
.menu-foot .clink { font-family: var(--font-sans); font-size: 15px; font-weight: 600; color: var(--paper-200); text-decoration: none; display: flex; flex-direction: column; gap: 2px; }
.menu-foot .clink small { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; color: var(--ink-300); font-weight: 400; text-transform: uppercase; }
.menu-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* ==========================================================
   STICKY MOBILE BOTTOMBAR (Anrufen / Schreiben, ≤640px)
   ========================================================== */
.bottombar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(20,32,47,.96); backdrop-filter: blur(10px); border-top: 1px solid rgba(255,255,255,.08); padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 16px)); grid-template-columns: 1fr 1fr; gap: 8px; }
.bottombar a { display: flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-sans); font-weight: 600; font-size: 14px; line-height: 1; padding: 14px 12px; border-radius: 6px; text-decoration: none; }
.bottombar a.call  { background: var(--ochre-600); color: #fff; }
.bottombar a.write { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.25); }
.bottombar a .ic { font-size: 14px; line-height: 1; }

/* ==========================================================
   MOBILE-AKTIVIERUNG (≤640px)
   - Burger einblenden, Desktop-Menü ausblenden (Util-Bar bleibt im
     bestehenden 640px-Block ausgeblendet), Desktop-CTA verstecken,
     Bottombar einblenden, Body-Padding-Bottom für Bottombar.
   ========================================================== */
@media (max-width: 640px) {
  .nav { grid-template-columns: auto 1fr auto; }
  .nav ul { display: none; }
  .nav .btn-accent { display: none; }
  .burger { display: grid; }
  .bottombar { display: grid; }
  body { padding-bottom: 84px; }
}

/* ==========================================================
   HERO-BADGES (Mobile Kontakt – Trust-Pills unter dem Lede)
   ========================================================== */
.hero-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: var(--s-4); }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--text-500); text-transform: uppercase; }
.hero-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ochre-500); display: inline-block; }

/* ==========================================================
   ANCHOR-PILLS (Mobile – kompakte Mono-Buttons unter dem Hero)
   ========================================================== */
.anchor-pills { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 0 var(--s-6); border-bottom: 1px solid var(--paper-300); margin-bottom: var(--s-6); }
.anchor-pill { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--paper-300); color: var(--ink-700); background: #fff; text-decoration: none; }
.anchor-pill:hover { border-color: var(--ink-500); color: var(--ink-900); }

/* ==========================================================
   FORM-ROW (CF7 / Custom Form – 2 Felder nebeneinander)
   ========================================================== */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3) var(--s-4); }

/* ==========================================================
   MOBILE-VERFEINERUNGEN (≤640px) – Layout-Politur der Innenseiten,
   damit sie 1:1 wie die Mobile-Mockups (Innenseiten Mobil) aussehen.
   ========================================================== */
@media (max-width: 640px) {
  /* --- Allgemein: knappere Wraps + kleinere Headings --- */
  .wrap { padding: 0 20px; }
  section.block { padding: 36px 0; }
  section.block.tight { padding: 28px 0; }
  .section-head { padding: 0; margin-bottom: 22px; }
  .section-head h2 { font-size: 28px !important; line-height: 1.1; max-width: none; }
  .section-head .right { font-size: 14px; max-width: none; }

  /* --- Page Hero --- */
  .page-hero { padding: 24px 0 28px; }
  .page-hero .breadcrumb { padding-top: 4px; padding-left: 0; padding-right: 0; }
  .page-hero h1 { font-size: 38px !important; line-height: 1.02; max-width: none; }
  .page-hero .lede { font-size: 16px; max-width: none; }
  .page-hero::before { right: -120px; top: -120px; width: 320px; height: 320px; }

  /* --- Hero (Startseite) --- */
  .hero { padding: 28px 0 32px; }
  .hero h1 { font-size: 44px; max-width: none; }
  .hero .lede { font-size: 17px; max-width: none; }
  .hero-meta { flex-direction: column; gap: var(--s-3); align-items: flex-start; }
  .stamp { right: 12px; bottom: 14px; max-width: 220px; font-size: 13px; padding: 10px 14px; }

  /* --- Trust Strip --- */
  .trust { padding: 18px 0; }
  .trust .items { grid-template-columns: 1fr 1fr; gap: 12px 14px; display: grid; }
  .trust .item { font-size: 13px; gap: 10px; }
  .trust .item .glyph { width: 24px; height: 24px; min-width: 24px; font-size: 12px; }

  /* --- Schwerpunkte / Service-Cards --- */
  .services { gap: 12px; }
  .service { padding: 20px; gap: 8px; }
  .service h3 { font-size: 21px; }
  .service p { font-size: 14px; }

  /* --- Steps (Startseite + WEG-Recht) – Duration-Pill rechts oben --- */
  .steps { gap: 0; margin-top: 18px; border-top: 1px solid rgba(255,255,255,.12); }
  .step { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "num dur" "ttl ttl" "txt txt"; padding: 20px 0 !important; column-gap: 12px; row-gap: 6px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .step:last-child { border-bottom: 0; }
  .step:not(:first-child) { padding-left: 0; }
  .step .num { grid-area: num; }
  .step .duration { grid-area: dur; margin-top: 0; align-self: start; }
  .step h3 { grid-area: ttl; font-size: 19px; margin: 0; }
  .step p { grid-area: txt; font-size: 14px; max-width: none; }

  /* --- Über mich --- */
  .about { gap: 24px; }
  .about-body h2 { font-size: 28px; max-width: none; }
  .about-body .lede { font-size: 17px; max-width: none; }
  .credentials { gap: 6px var(--s-4); }
  .credentials li { font-size: 14px; }
  .signature { font-size: 22px; padding: 14px 18px; }
  .pull { margin: 18px 0; padding: 16px 18px; font-size: 18px; }
  .values { gap: 10px; }
  .value-card { padding: 16px 18px; }
  .value-card h3 { font-size: 18px; }
  .topic-list li { font-size: 14px; }

  /* --- Leistungen --- */
  .lsection { padding: 32px 0; }
  .lsection-head { gap: 14px; margin-bottom: 18px; }
  .lsection-head h2 { font-size: 28px !important; }
  .lsection-head .desc { font-size: 15px; }
  .sub-card { padding: 18px; }
  .sub-card h3 { font-size: 18px; }
  .sub-card p { font-size: 14px; }
  .erstberatung-box { padding: 24px 22px; gap: 18px; margin-top: 20px; border-radius: 12px; }
  .erstberatung-box h2 { font-size: 26px !important; }

  /* --- WEG-Recht (Sektionen Aktenblau-Sidebar wird zu Standalone-Block) --- */
  .weg-area, .area { gap: 14px; padding: 32px 0; }
  .weg-label, .area-label { position: static; }
  .weg-label h2, .area-label h2 { font-size: 26px; }
  .weg-label .btn, .area-label .btn { display: none; } /* per-Bereich-CTA verbergen – Bottombar deckt es ab (bewusste Abweichung vom Handoff, dessen Mockup die Sticky-Bottombar nicht kennt) */
  .weg-body h3, .area-body h3 { font-size: 17px; margin: 16px 0 8px; }
  .weg-body p, .area-body p { font-size: 15px; max-width: none; }
  .anchor-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
  .anchor-row .btn { justify-content: flex-start; min-height: 48px; }
  .anchor-row .btn:last-child { grid-column: 1 / -1; }
  .special { padding: var(--s-5); }
  .special::before { box-shadow: inset 0 0 0 4px var(--ochre-100); }
  .special-body .btn { min-height: 48px; }
  .note-box { padding: var(--s-4) var(--s-5); }
  .note-box p { font-size: 14px; }
  .reform-box { padding: 14px 16px; border-radius: 8px; margin-top: 14px; }
  .reform-box p { font-size: 14px; }
  .timeline { gap: 10px; margin-top: 12px; }
  .tl-item { grid-template-columns: 24px 1fr; gap: 12px; font-size: 14px; }
  .tl-item .tl-dot { width: 24px; height: 24px; font-size: 10px; }

  /* --- Kontakt --- */
  .contact-layout { padding: 24px 0 32px; gap: 28px; }
  .form-section h2 { font-size: 26px !important; margin-bottom: 18px; }
  .contact-info { padding: 28px 0; }
  .contact-info h3 { font-size: 24px; margin-bottom: 18px; }
  .contact-block { padding: 16px 0; margin-bottom: 0; }
  .contact-block .c-val { font-size: 18px; }
  .office-card { padding: 14px 16px; border-radius: 8px; }
  .office-card .o-tel { font-size: 17px; }
  .office-card .o-addr { font-size: 13px; }

  /* --- FAQ-Seite --- */
  .faq-category h2 { font-size: 26px !important; }
  .faq-q { font-size: 17px; padding: 18px 0; gap: 14px; }
  .faq-a-inner p { font-size: 15px; }

  /* --- News-Archiv + Featured + Cards --- */
  .filter-bar { gap: 6px; margin-bottom: 22px; }
  .filter-btn { font-size: 11px; padding: 7px 13px; }
  .news-featured { gap: 18px; padding: 22px 0; }
  .news-featured h2 { font-size: 28px !important; }
  .news-featured p { font-size: 15px; max-width: none; }
  .news-card-full h3, .news-card h3 { font-size: 20px; }

  /* --- News-Artikel --- */
  .article-layout { padding: 24px 0; gap: 28px; }
  .article-body h1 { font-size: 32px !important; }
  .article-intro { font-size: 17px; padding-bottom: 18px; margin-bottom: 18px; }
  .article-text h2 { font-size: 22px !important; margin: 28px 0 10px; }
  .article-text h3 { font-size: 18px !important; }
  .article-text p, .article-text ul { font-size: 16px; }
  .article-text .pull { font-size: 19px; margin: 22px 0; padding: 16px 18px; }
  .author-card { padding: 16px; gap: 14px; margin-top: 28px; }
  .related-grid { gap: 0; margin-top: 18px; }
  .related-grid .news-card { border-top: 1px solid var(--paper-300); padding: 14px 0; }

  /* --- CTA-Banner --- */
  .cta-section { padding: 28px 0 40px; }
  .cta { padding: 26px 22px; border-radius: 12px; gap: 18px; }
  .cta .copy h2 { font-size: 26px !important; }
  .cta .copy p { font-size: 15px; }
  .cta .actions { gap: 10px; margin-top: 4px; align-items: stretch; }
  .cta .actions .btn { width: 100%; justify-content: center; }

  /* --- Footer (1-col, kompakte Awards) --- */
  footer { padding: 40px 0 28px; }
  .foot-grid { gap: 24px; }
  .foot-awards { gap: 16px; padding-top: 18px; margin-top: 24px; }
  .foot-awards .award img { height: 72px; }
  .foot-bot { font-size: 10px; gap: 12px; flex-wrap: wrap; }
}


/* Hub: sub-cards als Links (30.07.2026) */
a.sub-card { display: block; text-decoration: none; color: inherit; transition: border-color .15s ease; }
a.sub-card:hover { border-color: var(--ochre-500); }
