/* ============================================================================
   SMITS · Designsystem (Neubau 2026)
   Marine-Anker · Stahlblau-Marke · Kupfer-Akzent · warm Off-White-Flächen
   Source Serif 4 (Display) · Inter Tight (Body) · JetBrains Mono (Daten)
   ============================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,400;8..60,500;8..60,600;8..60,700&family=Inter+Tight:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Anker / Dunkel — Marine */
  --ink:        #14233B;
  --ink-2:      #1C3050;
  --ink-3:      #243C61;
  /* Marke — Stahlblau */
  --brand:      #285080;
  --brand-2:    #336199;
  --brand-deep: #1B3A5E;
  --brand-soft: #DCE6F1;
  --brand-tint: #EEF3F9;
  /* Akzent — Kupfer (ersetzt Gold; Variablennamen bleiben für Kompatibilität) */
  --gold:       #B5713C;
  --gold-2:     #95592D;
  --gold-soft:  #F3E6D8;
  /* Neutral */
  --graphite:   #1F2630;
  --text:       #16263E;
  --text-2:     #44566B;
  --text-3:     #5A6878;
  --stone:      #88909C;
  --line:       #E2E1DA;
  --line-2:     #ECEBE3;
  /* Flächen */
  --bg:         #F2F2ED;
  --bg-2:       #E9E9E1;
  --surface:    #FFFFFF;

  --ff-display: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --ff-sans:    'Inter Tight', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --ff-mono:    'JetBrains Mono', ui-monospace, monospace;

  --r-sm: 8px; --r: 12px; --r-lg: 16px; --r-xl: 22px; --r-2xl: 28px;
  --sh-1: 0 1px 2px rgba(20,35,59,.05), 0 1px 1px rgba(20,35,59,.04);
  --sh-2: 0 6px 20px rgba(20,35,59,.07), 0 1px 3px rgba(20,35,59,.05);
  --sh-3: 0 22px 50px rgba(20,35,59,.13), 0 4px 12px rgba(20,35,59,.07);
  --container: 1200px;
  --gutter: clamp(18px, 4vw, 40px);
  --section: clamp(56px, 8vw, 110px);
  --ease: cubic-bezier(.22,.61,.36,1);
  --dur: .45s;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-sans);
  font-size: 16px; line-height: 1.65; color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 3px; }
.skip-link { position: absolute; left: 12px; top: -52px; z-index: 300; background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 8px; font-weight: 600; font-size: 14px; transition: top .15s var(--ease); }
.skip-link:focus { top: 12px; outline: 2px solid var(--gold); }

/* A11y: Anker/Fokus nicht unter Sticky-Nav verstecken (WCAG 2.4.11) */
:target { scroll-margin-top: 96px; }
*:focus-visible { scroll-margin-top: 96px; }

/* A11y: Bewegung respektieren (WCAG 2.3.3) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-up { opacity: 1 !important; transform: none !important; }
}

/* ─── Layout ─────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--tight { padding: clamp(40px,5vw,72px) 0; }
.section--ink { background: var(--ink); color: #fff; }
.section--soft { background: var(--bg-2); }
.hairline { height: 1px; background: var(--line); border: 0; }
.center { text-align: center; }

/* ─── Typografie ─────────────────────────────────────────── */
.display, h1, h2, h3 { font-family: var(--ff-display); font-weight: 600; line-height: 1.08; letter-spacing: -.012em; color: var(--ink); }
h1, .h1 { font-size: clamp(34px, 5.4vw, 62px); }
h2, .h2 { font-size: clamp(27px, 3.6vw, 42px); }
h3, .h3 { font-size: clamp(19px, 2vw, 24px); line-height: 1.2; }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }
em { font-style: italic; color: var(--brand); }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--text-2); }
.section--ink .lead { color: rgba(255,255,255,.74); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-family: var(--ff-mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.section--ink .eyebrow .dot { background: #CD935F; }
.section--ink .eyebrow { color: #CD935F; }
.mono { font-family: var(--ff-mono); }
.muted { color: var(--text-3); }

.section-head { max-width: 720px; margin-bottom: clamp(32px,4vw,52px); }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head h2 { margin: 12px 0 14px; }
.section-head p { color: var(--text-2); }

/* ─── Buttons ────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 13px 22px; border-radius: 999px; font-family: var(--ff-sans); font-weight: 600; font-size: 15px; border: 1px solid transparent; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s; }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(40,80,128,.26); }
.btn-primary:hover { background: var(--brand-2); transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-2); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn-ghost { padding: 8px 0; color: var(--brand); font-weight: 600; }
.section--ink .btn-outline { color: #fff; border-color: rgba(255,255,255,.32); }
.section--ink .btn-outline:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-lg { padding: 16px 28px; font-size: 16px; }

/* ─── Pills / Badges / Chips ─────────────────────────────── */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; }
.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.badge--neu { background: #E4F1E9; color: #1F7A4D; }            /* grün = neu */
.badge--gebraucht { background: #F6ECCF; color: #8A6516; }      /* amber = gebraucht */
.badge--restbestand { background: #F7E0D6; color: #A24327; }    /* terracotta = restbestand */
.az-chip { font-family: var(--ff-mono); font-size: 11px; color: var(--text-3); padding: 2px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.avail { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--brand); }
.avail::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
/* Verfügbarkeits-Ampel: grün = gut, gold = wenige, rot = letztes Stück */
.avail--in           { color: #2E7D5B; }
.avail--in::before   { background: #2E7D5B; box-shadow: 0 0 0 3px rgba(46,125,91,.16); }
.avail--low          { color: var(--gold-2); }
.avail--low::before  { background: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.avail--last         { color: #B23A36; }
.avail--last::before { background: #B23A36; box-shadow: 0 0 0 3px rgba(178,58,54,.16); }

/* ─── Utilbar + Navigation ───────────────────────────────── */
.utilbar { background: var(--ink); color: rgba(255,255,255,.72); font-size: 12.5px; }
.utilbar-inner { max-width: var(--container); margin: 0 auto; padding: 8px var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.utilbar svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 6px; color: rgba(255,255,255,.55); }
.util-left { display: flex; align-items: center; gap: 8px; }
.util-right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.utilbar a { color: rgba(255,255,255,.82); }
.utilbar a:hover { color: #fff; }
.util-track { color: #CD935F !important; font-weight: 600; }
.utilbar .sep { opacity: .35; }

.nav { position: sticky; top: 0; z-index: 90; background: #F6F5F2; border-bottom: 1px solid transparent; transition: border-color .25s, background .25s; }
.nav.scrolled { border-bottom-color: var(--line); background: #F6F5F2; }
.nav-inner { max-width: var(--container); margin: 0 auto; padding: 14px var(--gutter); display: flex; align-items: center; gap: 18px; }
.brand-mark { display: flex; align-items: center; gap: 12px; }
.brand-mark .seal { width: 42px; height: 42px; flex-shrink: 0; }
.wordmark { display: flex; flex-direction: column; line-height: 1; }
.wm-name { font-family: var(--ff-display); font-weight: 700; font-size: 21px; letter-spacing: .04em; color: var(--ink); }
.wm-sub { font-family: var(--ff-mono); font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-3); margin-top: 3px; }
.nav-spacer { flex: 1; }
.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-menu a { padding: 9px 14px; border-radius: 8px; font-weight: 500; font-size: 15px; color: var(--text-2); transition: color .15s, background .15s; }
.nav-menu a:hover, .nav-menu a.active { color: var(--ink); background: rgba(40,80,128,.08); }
.nav-cta { margin-left: 4px; }
.nav-q2 { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; background: var(--gold-soft); color: #7E4E26; font-size: 12.5px; font-weight: 600; }
.nav-q2 .live { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-2); }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(181,113,60,.5)} 70%{box-shadow:0 0 0 7px rgba(181,113,60,0)} 100%{box-shadow:0 0 0 0 rgba(181,113,60,0)} }
/* Fachkreise-Dropdown (Hauptnav) */
.nav-dd { position: relative; }
.nav-dd > a { display: inline-flex; align-items: center; gap: 6px; }
.nav-dd > a::after { content: ''; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-1px); opacity: .5; }
.nav-dd::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.nav-dd-menu { position: absolute; top: calc(100% + 11px); left: 0; min-width: 232px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-2); padding: 7px; display: grid; gap: 1px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .16s var(--ease), transform .16s var(--ease), visibility .16s; }
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu { opacity: 1; visibility: visible; transform: none; }
.nav-dd-menu .dd-lead { font-family: var(--ff-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); padding: 6px 13px 5px; }
.nav-dd-menu a { display: block; padding: 10px 13px; border-radius: 8px; font-size: 14.5px; font-weight: 500; color: var(--text-2); white-space: nowrap; }
.nav-dd-menu a:hover, .nav-dd-menu a.active { background: var(--brand-tint); color: var(--brand); }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); padding: 6px; }
.nav-mobile { display: none; flex-direction: column; gap: 2px; padding: 8px var(--gutter) 20px; border-top: 1px solid var(--line); background: var(--bg); }
.nav-mobile a { padding: 13px 4px; font-size: 18px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line-2); }
.nav-mobile .btn { margin-top: 14px; justify-content: center; border-bottom: 0; }
.nav.open .nav-mobile { display: flex; }

/* ─── Hero ───────────────────────────────────────────────── */
.hero { padding: clamp(40px,6vw,84px) 0 clamp(36px,5vw,64px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px,4vw,64px); align-items: center; }
.hero-meta { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-3); margin-bottom: 20px; }
.hero-meta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.hero h1 { margin-bottom: 20px; }
.hero .lead { max-width: 52ch; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-figure { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-3); aspect-ratio: 4/3.4; background: var(--ink-2); }
.hero-figure picture { display: contents; }
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }
.hero-figure .tag { position: absolute; left: 16px; bottom: 16px; right: 16px; display: flex; justify-content: space-between; align-items: flex-end; color: #fff; }
.hero-figure .tag .label { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.hero-figure .tag strong { display: block; font-family: var(--ff-display); font-weight: 600; font-size: 17px; }
.hero-figure .tag .az { font-family: var(--ff-mono); font-size: 11px; background: rgba(0,0,0,.4); padding: 4px 8px; border-radius: 6px; }
.hero-figure::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,35,59,.55), transparent 45%); }

/* ─── Q2 Statusband ──────────────────────────────────────── */
.statusband { background: linear-gradient(110deg, var(--ink), var(--brand-deep)); color: #fff; border-radius: var(--r-lg); padding: clamp(22px,3vw,32px) clamp(24px,4vw,40px); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; position: relative; overflow: hidden; }
.statusband::after { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 160% at 92% -20%, rgba(194,168,120,.22), transparent 55%); pointer-events: none; }
.statusband .sb-text { position: relative; }
.statusband .sb-tag { display: inline-flex; align-items: center; gap: 7px; font-family: var(--ff-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.statusband .sb-tag .live { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.statusband h2, .statusband h1 { color: #fff; font-size: clamp(22px,2.6vw,30px); }
.statusband p { color: rgba(255,255,255,.7); margin-top: 6px; max-width: 60ch; }
.statusband .btn { position: relative; flex-shrink: 0; }

/* ─── KPI-Leiste ─────────────────────────────────────────── */
.kpis { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.kpis .kpi { background: var(--surface); padding: 26px 18px; text-align: center; display: flex; flex-direction: column; gap: 5px; }
.kpis .kpi .n { font-family: var(--ff-display); font-weight: 600; font-size: clamp(26px,3vw,38px); color: var(--brand); line-height: 1; }
.kpis .kpi .n.txt { font-size: clamp(17px,1.9vw,23px); line-height: 1.15; }
.kpis .kpi .l { font-size: 13px; color: var(--text-3); }
/* Flex-Statband (dunkel, Establishment) */
.statbar { display: grid; grid-template-columns: repeat(4,1fr); background: var(--ink); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-2); }
.statbar .stat { padding: 30px 18px; text-align: center; border-right: 1px solid rgba(255,255,255,.08); }
.statbar .stat:last-child { border-right: 0; }
.statbar .n { display: block; font-family: var(--ff-display); font-weight: 600; font-size: clamp(23px,2.7vw,34px); color: var(--gold); line-height: 1; }
.statbar .l { display: block; font-size: 13px; color: rgba(255,255,255,.6); margin-top: 8px; }

/* ─── Rollenkette (Legitimität: Verwalter → Smits → Treuhandkonto) ─── */
.rollenkette { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--brand); border-radius: var(--r-xl); padding: clamp(26px,3.5vw,40px); box-shadow: var(--sh-1); }
.rk-head { margin-bottom: 24px; max-width: 60ch; }
.rk-head h2 { margin-top: 10px; font-size: clamp(21px,2.5vw,29px); }
.rk-steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; }
.rk-step { padding: 2px 22px; }
.rk-step:first-child { padding-left: 0; }
.rk-step:last-child { padding-right: 0; }
.rk-n { font-family: var(--ff-mono); font-size: 12px; color: var(--gold-2); letter-spacing: .12em; }
.rk-step h3 { font-size: 17px; margin: 9px 0 7px; }
.rk-step p { font-size: 14px; color: var(--text-2); line-height: 1.55; }
.rk-arrow { align-self: center; color: var(--gold); font-size: 24px; padding: 0 4px; }
@media (max-width: 760px) {
  .rk-steps { grid-template-columns: 1fr; }
  .rk-arrow { display: none; }
  .rk-step { padding: 16px 0 0; border-top: 1px solid var(--line-2); }
  .rk-step:first-child { padding-top: 0; border-top: 0; }
}
@media (max-width:680px){ .statbar { grid-template-columns: 1fr 1fr; } .statbar .stat:nth-child(2){border-right:0;} }

/* ─── Cards: Produkt + Kategorie ─────────────────────────── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px,1fr)); gap: 18px; }
/* Aktenkarte: bewusst foto-los — das Aktenzeichen ersetzt das Bild */
.pcard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--r-lg); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-left-color: var(--gold-2); }
.pcard-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; background: linear-gradient(180deg, var(--bg-2), var(--surface)); border-bottom: 1px solid var(--line); }
.pcard-init { font-family: var(--ff-display); font-weight: 600; font-size: 25px; color: var(--ink); line-height: 1; }
.pcard-az-tab { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pcard-az-tab .lbl { font-family: var(--ff-mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.pcard-az-tab .num { font-family: var(--ff-mono); font-weight: 600; font-size: 16px; color: var(--ink); line-height: 1.1; }
.pcard-body { padding: 14px 18px 2px; display: flex; flex-direction: column; flex: 1; }
.pcard .cat { font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.pcard h3 { font-size: 17px; margin: 6px 0 7px; line-height: 1.25; }
.pcard .desc { font-size: 13.5px; color: var(--text-2); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-az { display: none; justify-content: space-between; align-items: center; padding: 10px 18px; margin-top: 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); }
.pcard-az .k { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.pcard-az .v { font-family: var(--ff-mono); font-size: 13px; font-weight: 500; color: var(--ink); }
.pcard-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding: 13px 18px 16px; }
.pcard .price { text-align: right; }
.pcard .price .v { font-family: var(--ff-display); font-weight: 600; font-size: 20px; color: var(--ink); }
.pcard .price .u { display: block; font-size: 11px; color: var(--text-3); }
.pcard .avail { font-size: 12.5px; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px,1fr)); gap: 14px; }
.cat-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 22px 20px; transition: transform .2s var(--ease), border-color .2s, box-shadow .2s; }
.cat-card:hover { transform: translateY(-3px); border-color: var(--brand-soft); box-shadow: var(--sh-1); }
.cat-card .num { font-family: var(--ff-mono); font-size: 12px; color: var(--gold-2); }
.cat-card h3 { font-size: 19px; margin: 8px 0 12px; }
.cat-card .meta { display: flex; align-items: baseline; gap: 6px; color: var(--text-3); font-size: 13px; }
.cat-card .meta .count { font-family: var(--ff-display); font-weight: 600; font-size: 22px; color: var(--brand); }
.cat-card .go { position: absolute; right: 20px; bottom: 20px; color: var(--brand); opacity: 0; transform: translateX(-4px); transition: .2s var(--ease); }
.cat-card:hover .go { opacity: 1; transform: translateX(0); }

/* Info-Karten (Vertrauen / Leistungen) */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 16px; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 24px; }
.info-card .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-tint); display: grid; place-items: center; color: var(--brand); margin-bottom: 16px; }
.info-card .ic svg { width: 22px; height: 22px; }
.info-card h3 { font-size: 18px; margin-bottom: 8px; }
.info-card p { font-size: 14px; color: var(--text-2); }

/* ─── Fachkreise-Teaser-Band ─────────────────────────────── */
.fk-band { background: var(--ink); color: #fff; border-radius: var(--r-2xl); padding: clamp(30px,4vw,52px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.fk-band::after { content: ''; position: absolute; inset: 0; background: radial-gradient(110% 130% at 88% 10%, rgba(51,97,153,.42), transparent 55%); }
.fk-band > * { position: relative; }
.fk-band h2 { color: #fff; }
.fk-band p { color: rgba(255,255,255,.72); margin: 12px 0 0; }
.fk-list { list-style: none; display: grid; gap: 12px; }
.fk-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: rgba(255,255,255,.82); }
.fk-list svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }

/* ─── Fachkreise Sub-Navigation ──────────────────────────── */
.fk-subwrap { border-bottom: 1px solid var(--line); background: var(--surface); }
.fk-subnav { display: flex; gap: 4px; flex-wrap: wrap; padding: 9px 0; }
.fk-subnav a { font-size: 14px; font-weight: 600; color: var(--text-2); padding: 8px 15px; border-radius: 999px; white-space: nowrap; transition: .15s; }
.fk-subnav a:hover { color: var(--brand); background: var(--brand-tint); }
.fk-subnav a.is-active { background: var(--ink); color: #fff; }

/* ─── Kontakt-CTA ────────────────────────────────────────── */
.cta { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px,4vw,48px); background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: var(--r-xl); padding: clamp(28px,4vw,44px); box-shadow: var(--sh-1); }
.cta h2 { margin-bottom: 10px; }
.cta .sub { color: var(--text-2); }
.cta-list { list-style: none; display: grid; gap: 10px; margin: 0 0 18px; }
.cta-list li { display: flex; flex-direction: column; }
.cta-list .k { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.cta-list .v { font-family: var(--ff-display); font-weight: 600; font-size: 18px; color: var(--brand); }

/* ─── Katalog ────────────────────────────────────────────── */
.filterbar { position: sticky; top: 64px; z-index: 50; background: #F6F5F2; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 9px 0; }
.filterbar-inner { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 13.5px; font-weight: 500; color: var(--text-2); transition: .15s; }
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter-search { position: relative; margin-left: auto; min-width: 200px; }
.filter-search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--text-3); }
.filter-search input { width: 100%; padding: 9px 12px 9px 36px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; background: var(--surface); }
.filter-search input:focus { outline: none; border-color: var(--brand); }
.filter-sort select { padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; background: var(--surface); color: var(--text-2); }
.kat-block { padding-top: clamp(36px,5vw,60px); }
.kat-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.kat-head .num { font-family: var(--ff-mono); font-size: 12px; color: var(--gold-2); }
.kat-head h2 { font-size: clamp(22px,2.6vw,30px); margin-top: 6px; }
.kat-head .right { text-align: right; color: var(--text-3); font-size: 13.5px; max-width: 42ch; }
.no-results { padding: 60px 0; text-align: center; color: var(--text-3); }

/* ─── Detailseite ────────────────────────────────────────── */
.detail-back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-3); margin-bottom: 24px; }
.detail-back:hover { color: var(--brand); }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,56px); align-items: start; }
/* Akten-Panel: foto-lose Detail-Fläche, Aktenzeichen als Motiv */
.akte-panel { aspect-ratio: 4/3.2; border-radius: var(--r-xl); background: linear-gradient(160deg, var(--ink), var(--brand-deep)); color: #fff; box-shadow: var(--sh-2); display: flex; flex-direction: column; justify-content: center; padding: clamp(28px,4vw,48px); position: relative; overflow: hidden; }
.akte-panel::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gold); }
.akte-panel::after { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 130% at 90% 8%, rgba(194,168,120,.16), transparent 55%); }
.akte-panel > * { position: relative; }
.ap-label { font-family: var(--ff-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.ap-az { font-family: var(--ff-mono); font-weight: 600; font-size: clamp(30px,5vw,52px); color: #fff; margin: 8px 0 6px; letter-spacing: .01em; }
.ap-cat { font-size: 14px; color: rgba(255,255,255,.6); }
.ap-foto { margin-top: auto; padding-top: 22px; font-size: 13.5px; color: var(--gold); }
.ap-foto:hover { color: #fff; }
.detail-info h1 { font-size: clamp(26px,3.2vw,38px); margin: 12px 0 14px; }
.detail-price { font-family: var(--ff-display); font-weight: 600; font-size: 34px; color: var(--ink); display: flex; flex-direction: column; gap: 2px; margin: 18px 0; }
.detail-price .u { font-size: 13px; color: var(--text-3); font-weight: 400; font-family: var(--ff-sans); }
.detail-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin: 20px 0; }
.detail-facts .fact { background: var(--surface); padding: 14px 16px; display: flex; flex-direction: column; gap: 3px; }
.detail-facts .k { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.detail-facts .v { font-weight: 600; color: var(--ink); }

/* ─── Footer ─────────────────────────────────────────────── */
.footer { background: var(--ink); color: rgba(255,255,255,.6); padding: clamp(56px,7vw,80px) 0 34px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .seal { width: 44px; height: 44px; }
.footer .wm-name { color: #fff; }
.footer .wm-sub { color: rgba(255,255,255,.5); }
.footer-about { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.6); max-width: 38ch; margin-top: 16px; }
.footer h4 { color: #fff; font-family: var(--ff-sans); font-weight: 600; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 9px; }
.footer ul a { color: rgba(255,255,255,.6); font-size: 14px; }
.footer ul a:hover { color: #fff; }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: rgba(255,255,255,.45); }
.footer-bottom .mono { font-family: var(--ff-mono); }

/* ─── Formulare ──────────────────────────────────────────── */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; min-width: 0; }
.field label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.field input, .field textarea, .field select { width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); font-size: 15px; font-family: inherit; background: var(--surface); color: var(--text); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }

/* ─── Animationen ────────────────────────────────────────── */
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--brand); z-index: 200; transition: width .08s linear; }
.fade-up { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.fade-up.visible { opacity: 1; transform: none; }
.stagger > * { transition-delay: var(--d, 0ms); }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { aspect-ratio: 16/10; }
  .fk-band, .cta { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
}

/* ─── Neubau 2026-06-03: Top-Angebote · Vertrauens-Anker · Karten-CTA · Preis-Anker · Footer-Tracking ─── */
.ribbon { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.ribbon-inner { max-width: var(--container); margin: 0 auto; padding: 15px var(--gutter); display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; justify-content: center; text-align: center; font-size: 13.5px; color: var(--text-2); }
.ribbon-inner b { color: var(--ink); }
.ribbon .sep { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

.toprow { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.pcard--top { border-left: 1px solid var(--gold-soft); box-shadow: 0 8px 26px rgba(181,113,60,.12); position: relative; }
.pcard--top .pcard-head { padding-top: 30px; }
.pcard--top::before { content: '\2605 Top-Angebot'; position: absolute; top: 0; left: 0; background: var(--gold); color: #fff; font-family: var(--ff-mono); font-size: 9.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 4px 11px; border-bottom-right-radius: 10px; z-index: 2; }

.pcard .cta { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 14px; border-top: 1px solid var(--brand); background: var(--brand); font-size: 13.5px; font-weight: 600; color: #fff; transition: background .2s, color .2s, border-color .2s; }
.pcard:hover .cta { background: var(--brand-deep); color: #fff; border-top-color: var(--brand-deep); }
.pcard .cta .arrow, .pcard .cta::after { transition: transform .2s var(--ease); }

.pcard .price .old { display: block; font-family: var(--ff-sans); font-size: 12px; font-weight: 500; color: var(--text-3); text-decoration: line-through; }
.detail-price .old { font-size: 17px; color: var(--text-3); text-decoration: line-through; font-family: var(--ff-sans); font-weight: 400; }

.footer-track { border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-track .container { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; padding-bottom: 30px; }
.footer-track h3 { color: #fff; font-size: 21px; font-family: var(--ff-display); font-weight: 600; }
.footer-track p { color: rgba(255,255,255,.6); font-size: 14px; margin-top: 3px; }
.footer-track form { display: flex; gap: 9px; }
.footer-track input { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 12px 18px; color: #fff; font-family: var(--ff-mono); font-size: 13px; min-width: 220px; }
.footer-track input::placeholder { color: rgba(255,255,255,.4); }
.footer-track input:focus { outline: none; border-color: var(--gold); }

@media (max-width: 880px) { .toprow { grid-template-columns: 1fr; } }
/* Desktop-Nav passt ab ~868px nicht mehr in eine Zeile → iPad-Porträt (768px) und
   schmaler bekommen die Hamburger-Navigation, statt die ganze Seite rauszuzoomen. */
@media (max-width: 980px) {
  .nav-menu, .nav-q2, .nav .nav-cta { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
}
@media (max-width: 760px) {
  .kpis { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .util-hours, .util-mail { display: none; }
}
@media (max-width: 520px) {
  .kpis, .detail-facts { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .statusband, .cta { text-align: left; }
}
/* ── Mobile-Feinschliff (2026-07): Überlauf-Schutz + Tap-Targets ──────────
   Viele Sektionen nutzen inline gesetzte 2-Spalten-Grids (grid-template-columns
   direkt im style-Attribut). Die brachen auf dem Handy nicht um und drückten das
   Layout über die Bildschirmbreite (Seite zoomte raus). Author-!important schlägt
   Inline-Styles zuverlässig, daher hier der zentrale Umbruch auf eine Spalte. */
@media (max-width: 640px) {
  .container[style*="grid-template-columns"],
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns:1.15fr"],
  [style*="grid-template-columns:1.1fr"],
  .pruef { grid-template-columns: 1fr !important; }
  /* Fingerfreundlichere Fußzeilen-Links */
  .footer-top ul a { display: inline-block; padding: 6px 0; }
  .footer-top ul li { line-height: 1.2; }
}

@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1 !important; transform: none !important; }
  * { scroll-behavior: auto; }
}
