/* Adler & Co. Website · Design-System V2
   Proportionen nach Riedel-Teardown (Nov 2026), Farben Adler & Co.
   Radius 0, keine Schatten, Struktur über Flächenwechsel und 1-px-Linien. */

@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-wght-normal.woff2?v=a30ddcd349") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-ext-wght-normal.woff2?v=3911b66d9f") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-cyrillic-wght-normal.woff2?v=26287892a2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-greek-wght-normal.woff2?v=bdfac7adb9") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
/* Cardinal Photo: Testversion, nur Ziffern und lateinische Grundbuchstaben. Vor Livegang Lizenz erwerben. */
@font-face { font-family: "Cardinal Photo"; src: url("../fonts/CardinalPhoto-Light-Trial.otf?v=cc10829b6a") format("opentype"); font-weight: 300; font-style: normal; font-display: swap; unicode-range: U+0020-0022, U+0026-0027, U+002A-0039, U+003F, U+0041-005A, U+0061-007A; }

:root {
  /* Farben */
  --ink: #1a1a1a;
  --navy: #00102a;
  --navy-2: #1c2e4c;
  --white: #ffffff;
  --beige: #f2eeea;
  --sand: #d2c6b1;
  --taupe: #786b5a;      /* nur auf Weiß */
  --taupe-d: #6e6252;    /* auf Beige */
  --grey: #5c5c5c;
  --line: #cccccc;
  --field: #878787;
  --media: #e2dcd2;
  --on-dark-line: rgba(255,255,255,.2);
  --danger: #8f1d1d;

  /* Schrift */
  --f-sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --f-fig: "Cardinal Photo", Georgia, serif;
  --fs-display: clamp(2.5rem, 4vw, 3.625rem);   /* 58 px */
  --fs-h1: clamp(1.9375rem, 2.8vw, 2.5rem);      /* 40 px */
  --fs-h2: clamp(1.6875rem, 2.5vw, 2.1875rem);   /* 35 px */
  --fs-h3: clamp(1.25rem, 1.7vw, 1.5rem);        /* 24 px */
  --fs-quote: clamp(1.375rem, 1.95vw, 1.75rem);  /* 28 px */
  --fs-text: clamp(1rem, 1.25vw, 1.125rem);      /* 18 px */
  --fs-ui: 1.125rem;                              /* 18 px Buttons, Kartentitel */
  --fs-small: .875rem;                            /* 14 px */
  --fs-fig: clamp(4rem, 7vw, 6.25rem);            /* 100 px Kennzahl */

  /* Raum */
  --s-xxs: 10px; --s-xs: 15px; --s-s: 20px; --s-m: 30px; --s-l: 50px; --s-xl: 80px;
  --pad: clamp(20px, 3.5vw, 50px);
  --sec: clamp(50px, 5.5vw, 80px);
  --max: 1600px;
  --text: 620px;
  --btn-h: 63px;
  --header-h: 64px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--f-sans); font-size: var(--fs-text); line-height: 1.5; font-weight: 400; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { text-transform: inherit; letter-spacing: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
::selection { background: var(--navy); color: var(--white); }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
:is(.dark, .on-dark, .hero, .figbox, .compare .with, .calc-out, .done, .guide .cover, .media--dark, .site-footer, .page-head--dark) :focus-visible { outline-color: var(--white); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 10px; top: -60px; z-index: 100; background: var(--navy); color: var(--white); padding: 12px 18px; text-decoration: none; }
.skip:focus { top: 10px; }
h1, h2, h3 { text-wrap: balance; hyphens: manual; overflow-wrap: break-word; }
p { text-wrap: pretty; }

/* Layout */
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }
.sec { padding-block: var(--sec); }
.sec--beige { background: var(--beige); }
.sec--white { background: var(--white); }
.dark { background: var(--navy); color: var(--white); }
.stack { display: flex; flex-direction: column; gap: var(--s-m); }
.stack-s { display: flex; flex-direction: column; gap: var(--s-xs); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: clamp(30px, 5.5vw, 80px); align-items: center; }
.split--top { align-items: start; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: var(--s-m); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: var(--s-m); }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-s); margin-bottom: var(--s-l); }
.sec-head .stack-s { max-width: 720px; }
.measure { max-width: var(--text); }

/* Typografie */
.display { font-size: var(--fs-display); line-height: 1.1; font-weight: 300; letter-spacing: -0.01em; }
.h1 { font-size: var(--fs-h1); line-height: 1.1; font-weight: 300; }
.h2 { font-size: var(--fs-h2); line-height: 1.2; font-weight: 300; }
.h3 { font-size: var(--fs-h3); line-height: 1.2; font-weight: 300; }
.title { font-size: var(--fs-ui); line-height: 1.25; font-weight: 500; }
.lead { font-size: var(--fs-text); max-width: var(--text); }
.small { font-size: var(--fs-small); line-height: 1.45; }
.muted { color: var(--grey); }
.place { font-size: var(--fs-small); color: var(--taupe); }
.sec--beige .place, .sec--beige .tone { color: var(--taupe-d); }
.dark .muted, .dark .place, .on-dark .muted, :is(.figbox, .calc-out, .done, .guide .cover, .hero, .compare .with) .muted { color: var(--sand); }
.quote { font-size: var(--fs-quote); line-height: 1.3; font-weight: 400; color: var(--taupe); }
.sec--beige .quote { color: var(--taupe-d); }
.kicker { display: inline-flex; align-items: center; gap: 12px; font-size: var(--fs-small); font-weight: 500; color: var(--taupe); }
.kicker::before { content: ""; width: 30px; height: 1px; background: currentColor; }
.sec--beige .kicker { color: var(--taupe-d); }
.dark .kicker { color: var(--sand); }
.fig { font-family: var(--f-fig); font-size: var(--fs-fig); line-height: 1; font-weight: 300; letter-spacing: .03em; font-variant-numeric: lining-nums tabular-nums; }
.fig small { font-size: .52em; letter-spacing: 1px; }
.fig sup { font-family: var(--f-sans); font-size: 14px; font-weight: 500; letter-spacing: 0; vertical-align: super; margin-left: 2px; }
.caps { font-size: var(--fs-small); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--btn-h); padding: 10px 40px; border: 1px solid var(--navy); background: transparent; color: var(--navy); font-size: var(--fs-ui); font-weight: 500; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; transition: background-color .12s ease, color .12s ease, border-color .12s ease; }
.btn:active { background: #000814; }
.btn--primary { background: var(--navy); color: var(--white); }
.btn--light { background: var(--white); border-color: var(--white); color: var(--navy); }
.btn--inverse { border-color: var(--white); color: var(--white); }
.btn--small { min-height: 44px; padding: 6px 18px; font-size: 15px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-xs); }
.link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; }
.link svg { transition: transform .18s ease; }

/* Hover nur auf Geräten mit Zeiger */
@media (hover: hover) {
  .btn:hover { background: var(--navy); color: var(--white); }
  .btn--primary:hover { background: var(--navy-2); border-color: var(--navy-2); }
  .btn--light:hover { background: var(--beige); border-color: var(--beige); color: var(--navy); }
  .btn--inverse:hover { background: var(--white); color: var(--navy); }
  .link:hover svg { transform: translateX(3px); }
  .menu-btn:hover { color: var(--ink); }
  .menu-nav a:hover, .menu-nav a[aria-current="page"] { color: var(--taupe); }
  .crumbs a:hover { text-decoration: underline; }
  .play:hover { transform: scale(1.05); }
  .icon-btn:hover { background: var(--white); color: var(--navy); }
  .card:hover .title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
  .footer-cols a:hover { color: var(--white); text-decoration: underline; }
}
.menu-nav a[aria-current="page"] { color: var(--taupe); }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap { min-height: var(--header-h); display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: var(--s-xs); }
.menu-btn { justify-self: start; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--taupe); font-size: 16px; font-weight: 500; cursor: pointer; }
.brand { display: block; }
.brand img { height: 28px; width: auto; }
.header-end { justify-self: end; display: flex; align-items: center; gap: var(--s-s); }
.lang { display: inline-flex; gap: 2px; font-size: 13px; font-weight: 500; letter-spacing: .08em; }
.lang button { min-width: 36px; min-height: 36px; border: 0; background: none; color: var(--grey); cursor: pointer; padding: 0 4px; }
.lang button[aria-pressed="true"] { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 6px; }
.dark .lang button, .site-footer .lang button { color: var(--sand); } .dark .lang button[aria-pressed="true"], .site-footer .lang button[aria-pressed="true"] { color: var(--white); }
.site-footer :focus-visible { outline-color: var(--white); }
@media (max-width: 56em) { .header-end .btn, .header-end .lang { display: none; } .menu-btn .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .brand img { height: 24px; } }
.header-cta-mobile { display: none; }
@media (max-width: 56em) { .header-cta-mobile { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--navy); } }

/* Menü-Overlay */
.menu { position: fixed; inset: 0; z-index: 60; background: var(--white); overflow-y: auto; }
.menu .wrap { min-height: 100%; display: flex; flex-direction: column; }
.menu-top { min-height: var(--header-h); display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; border-bottom: 1px solid var(--line); }
.menu-grid { flex: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: var(--s-l); padding-block: var(--s-l); }
.menu-nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-h2); font-weight: 300; line-height: 1.2; text-decoration: none; transition: color .12s ease; }
.menu-side { background: var(--beige); padding: var(--s-m); display: flex; flex-direction: column; gap: var(--s-s); align-self: start; }

/* Hero */
.hero { position: relative; min-height: min(800px, 92vh); display: flex; align-items: flex-end; background: var(--navy-2); color: var(--white); overflow: hidden; isolation: isolate; }
.hero .media { position: absolute; inset: 0; z-index: -2; aspect-ratio: auto; background: var(--navy-2); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0, 16, 42, .45); }
.hero .wrap { width: 100%; padding-block: var(--s-xl) var(--s-l); display: flex; flex-direction: column; gap: var(--s-m); }
.hero .display { max-width: 920px; }
.hero .lead { color: var(--sand); }
.hero-bar { max-width: 720px; display: flex; flex-direction: column; gap: var(--s-xs); }
.hero-tabs { display: flex; flex-wrap: wrap; gap: 4px var(--s-m); }
.hero-tabs button { padding: 8px 0; border: 0; border-bottom: 1px solid transparent; background: none; color: var(--sand); cursor: pointer; }
.hero-tabs button[aria-selected="true"] { color: var(--white); border-bottom-color: var(--white); }
.hero-field { display: flex; min-height: 61px; border: .5px solid rgba(255,255,255,.75); padding: 3px; }
.hero-field input { flex: 1 1 auto; min-width: 0; border: 0; background: transparent; color: var(--white); padding: 0 17px; font-size: var(--fs-ui); }
.hero-field input::placeholder { color: rgba(255,255,255,.75); }
.hero-field input:focus-visible { outline-offset: -2px; outline-color: var(--white); }
.hero-field .btn { min-height: 0; flex-shrink: 0; }
@media (max-width: 36em) { .hero-field { flex-direction: column; gap: 3px; } .hero-field input { min-height: 52px; } .hero-field .btn { min-height: 52px; } }
.hero-meta { font-size: var(--fs-small); color: var(--sand); }
.video-toggle { position: absolute; right: var(--pad); bottom: var(--s-l); width: 44px; height: 44px; border: .5px solid rgba(255,255,255,.75); background: transparent; color: var(--white); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
@media (max-width: 56em) { .video-toggle { top: 20px; bottom: auto; } }

/* Seitenkopf Unterseiten */
.page-head { background: var(--beige); padding-block: clamp(50px, 6vw, 96px) var(--s-l); }
.page-head .display { max-width: 980px; }
.page-head--dark { background: var(--navy); color: var(--white); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--fs-small); color: var(--taupe-d); margin-bottom: var(--s-s); }
.crumbs a { text-decoration: none; }
.page-head--dark .crumbs { color: var(--sand); }

/* Vertrauensleiste */
.trust { border-bottom: 1px solid var(--line); background: var(--white); }
.trust .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-xs) var(--s-l); padding-block: var(--s-s); }
.trust-label { font-size: var(--fs-small); color: var(--grey); flex: 0 0 auto; }
.trust-banks { display: flex; flex-wrap: wrap; gap: 6px 26px; font-size: 15px; font-weight: 500; color: var(--grey); flex: 1 1 520px; }
.trust-note { flex: 1 1 auto; min-width: 0; }
/* Google-Bewertung: Sterne, Durchschnitt, Anzahl und Stand (Zahlen aus config.js) */
.rating { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; text-decoration: none; }
.rating .stars { flex: 0 0 auto; fill: var(--navy); }
.rating b { color: var(--ink); font-weight: 600; }
.rating:hover > span, .rating:focus-visible > span { text-decoration: underline; text-underline-offset: .2em; }
.trust .rating { flex: 0 1 auto; }

/* Medien-Slots: Datei in assets/media legen, Platzhalter verschwindet */
.media { position: relative; background: var(--media); overflow: hidden; }
.media > img, .media > video { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.media .slot { position: absolute; top: 15px; left: 15px; right: 15px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; pointer-events: none; }
.media .slot span { padding: 4px 8px; background: rgba(255,255,255,.92); font-size: 12px; font-weight: 500; color: var(--grey); }
.media .slot b { padding: 4px 8px; background: var(--navy); color: var(--white); font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.media.has-file .slot { display: none; }
.media--dark { background: var(--navy-2); }
.media--dark .slot span { background: rgba(0,16,42,.7); color: var(--sand); }
.ratio-34 { aspect-ratio: 3 / 4; } .ratio-43 { aspect-ratio: 4 / 3; } .ratio-169 { aspect-ratio: 16 / 9; } .ratio-11 { aspect-ratio: 1 / 1; } .ratio-32 { aspect-ratio: 3 / 2; }
.media .line-art { position: absolute; left: 4%; bottom: -2%; width: 92%; height: auto; opacity: .14; }
.play { position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border: 0; background: var(--white); color: var(--navy); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform .18s ease; }
.duration { position: absolute; right: 15px; bottom: 15px; padding: 3px 10px; background: var(--navy); color: var(--white); font-size: 13px; font-weight: 500; }

/* Kennzahlen */
.figbox { background: var(--navy); color: var(--white); padding: clamp(30px, 3.5vw, 50px); display: flex; flex-direction: column; gap: var(--s-xs); }
.figbox .label { font-size: var(--fs-small); color: var(--sand); }
.figbox-nav { display: flex; align-items: center; justify-content: space-between; gap: var(--s-s); border-top: 1px solid var(--on-dark-line); padding-top: var(--s-s); margin-top: var(--s-xxs); }
.dots { display: flex; gap: 8px; }
.dots span { width: 24px; height: 2px; background: rgba(255,255,255,.35); }
.dots span.on { background: var(--white); }
.icon-btn { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.5); background: transparent; color: var(--white); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); border-top: 1px solid var(--line); }
.stats > div { padding: var(--s-m) var(--s-m) var(--s-xs) 0; display: flex; flex-direction: column; gap: 8px; }
.stats .fig { font-size: clamp(3rem, 5vw, 4.5rem); }

/* Objektkarten */
.card { background: var(--white); display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.card .media { aspect-ratio: 3 / 4; }
.card-body { display: flex; flex-direction: column; gap: var(--s-xxs); padding: var(--s-xs) var(--s-s) 25px; }
.card-facts { font-size: var(--fs-small); line-height: 1.45; color: var(--grey); }
.cut { position: absolute; left: 0; bottom: 0; background: var(--white); padding: 10px 10px 0 0; z-index: 2; }
.sec--white .card { background: var(--beige); } .sec--white .card .cut { background: var(--beige); }
.tag { display: inline-block; background: var(--beige); padding: 3px 10px; font-size: var(--fs-small); font-weight: 500; }
.sec--white .card .tag { background: var(--white); }
.tag--dark { background: var(--navy); color: var(--white); }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 4px var(--s-m); border-bottom: 1px solid var(--line); margin-bottom: var(--s-m); }
.filters button { padding: 10px 0; margin-bottom: -1px; border: 0; border-bottom: 1px solid transparent; background: none; color: var(--taupe-d); cursor: pointer; }
.filters button[aria-pressed="true"], .filters button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.filters .note { margin-left: auto; font-size: var(--fs-small); color: var(--grey); text-transform: none; letter-spacing: 0; }


/* Objektgalerie */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.gallery .g-main { grid-column: 1 / -1; }
/* Objektseite: leere Fotoplätze nicht zeigen; ein einzelnes Bild über die ganze Breite */
.hide-empty .gallery .media.no-file { display: none; }
@media (min-width: 48em) { .gallery { grid-template-columns: 2fr 1fr 1fr; } .gallery .g-main { grid-column: auto; grid-row: span 2; aspect-ratio: auto; min-height: 100%; } }
@media (min-width: 48em) { .hide-empty .gallery .g-main:not(:has(~ .media.has-file)) { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 9; min-height: 0; } }
/* Objekte mobil als Slider wie bei Riedel */
@media (max-width: 40em) {
  [data-objects].grid-4 { display: flex; gap: var(--s-xs); overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); scrollbar-width: none; }
  [data-objects].grid-4 > .card { flex: 0 0 78%; scroll-snap-align: start; }
}

/* Listen mit Linien */
.lines > li { padding: 12px 0; border-top: 1px solid var(--line); }
.lines > li:last-child { border-bottom: 1px solid var(--line); }
.lines-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); column-gap: var(--s-m); }
.lines-2 > li { padding: 12px 0; border-top: 1px solid var(--line); }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 0 var(--s-l); }
.tiles > li { display: flex; flex-direction: column; gap: var(--s-xxs); padding: 25px 0 var(--s-m); border-top: 1px solid var(--line); }
.tiles .num { font-size: var(--fs-small); color: var(--taupe); }
.sec--beige .tiles .num { color: var(--taupe-d); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: var(--s-m); counter-reset: step; }
.steps > li { display: flex; flex-direction: column; gap: var(--s-xxs); border-top: 1px solid var(--line); padding-top: var(--s-s); }
.steps > li:first-child { border-top-color: var(--ink); }
.steps .num { font-size: var(--fs-small); color: var(--taupe-d); }

/* Vergleich */
.compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: var(--s-m); }
.compare > div { padding: clamp(25px, 3vw, 40px); display: flex; flex-direction: column; gap: var(--s-s); }
.compare .without { background: var(--white); border: 1px solid var(--line); }
.compare .with { background: var(--navy); color: var(--white); }
.compare ul li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 16px; }
.compare .with ul li { border-top-color: var(--on-dark-line); }
.compare svg { margin-top: 3px; }

/* Referenzen */
.ref-feature { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); background: var(--white); }
.ref-feature > .media { min-height: 440px; }
.ref-feature .body { padding: clamp(20px, 2.5vw, 40px); display: flex; flex-direction: column; gap: var(--s-xs); }
.person { display: flex; align-items: center; gap: var(--s-xs); }
.person .media { width: 56px; height: 56px; flex-shrink: 0; }
.person .media .slot { inset: 0; top: auto; left: 0; right: auto; }
.person .media .slot b { display: none; }
.person .media .slot span { padding: 2px 4px; font-size: 9px; }
.wall { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 40em) { .wall { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 64em) { .wall--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.wall .media { aspect-ratio: 4 / 5; }
.wall .media .slot span:first-child { display: none; }

/* Team */
.member { display: flex; flex-direction: column; gap: var(--s-xs); }
.member .media { aspect-ratio: 3 / 4; }
.member .role { font-size: var(--fs-small); color: var(--taupe); }
.sec--beige .member .role { color: var(--taupe-d); }

/* Formulare */
.form { background: var(--beige); padding: clamp(25px, 3.5vw, 50px); display: flex; flex-direction: column; gap: var(--s-m); }
.sec--beige .form { background: var(--white); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: var(--s-xxs); }
legend { font-size: var(--fs-ui); font-weight: 500; padding: 0; margin-bottom: 12px; }
legend .muted { font-size: var(--fs-small); font-weight: 400; color: var(--taupe-d); }
.field { display: flex; flex-direction: column; gap: 8px; font-size: var(--fs-small); font-weight: 500; }
.field input, .field select, .field textarea { min-height: 61px; border: 1px solid var(--field); border-radius: 0; background: var(--white); padding: 0 17px; font-size: var(--fs-ui); font-weight: 400; color: var(--ink); min-width: 0; width: 100%; }
.field textarea { padding: 15px 17px; min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6b6b6b; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline-offset: 0; }
.field .hint { font-weight: 400; color: var(--grey); }
.field .err, .consent .err { color: var(--danger); font-weight: 500; font-size: var(--fs-small); }
.form-msg { color: var(--danger); font-weight: 500; font-size: var(--fs-small); }
.consent.invalid input, .slots.invalid .slotbtn, .days.invalid .day { outline: 2px solid var(--danger); outline-offset: 2px; }
.field.invalid input, .field.invalid select { border-color: var(--danger); border-width: 2px; }
.fields-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: var(--s-xs); }
.fields-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-xs); }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: var(--s-xxs); }
.choice { position: relative; display: flex; align-items: center; gap: 10px; min-height: 61px; padding: 10px 15px; border: 1px solid var(--field); background: var(--white); font-size: 16px; cursor: pointer; }
.choice input { margin: 0; accent-color: var(--navy); width: 18px; height: 18px; flex-shrink: 0; }
.choice:has(input:checked) { border: 2px solid var(--navy); padding: 9px 14px; font-weight: 500; }
.choice:has(input:focus-visible) { outline: 2px solid var(--navy); outline-offset: 3px; }
.days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-xxs); }
.day, .slotbtn { border: 1px solid var(--field); background: var(--white); color: var(--ink); cursor: pointer; }
.day { padding: 10px 4px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.day small { font-size: 12px; letter-spacing: .08em; color: var(--grey); }
.day b { font-size: 22px; font-weight: 400; line-height: 1.1; }
.slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-xxs); }
.slotbtn { min-height: 50px; font-size: 16px; }
.day[aria-pressed="true"], .slotbtn[aria-pressed="true"] { border: 2px solid var(--navy); font-weight: 500; }
.day:disabled, .slotbtn:disabled { opacity: .45; cursor: not-allowed; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-small); line-height: 1.45; color: var(--grey); }
.consent input { margin: 2px 0 0; width: 18px; height: 18px; accent-color: var(--navy); flex-shrink: 0; }
.form-note { font-size: var(--fs-small); color: var(--grey); }
.done { background: var(--navy); color: var(--white); padding: clamp(25px, 3.5vw, 50px); display: flex; flex-direction: column; gap: var(--s-s); }
@media (max-width: 30em) { .days { grid-template-columns: repeat(3, minmax(0, 1fr)); } .slots { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fields-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Rechner */
.calc-out { background: var(--navy); color: var(--white); padding: clamp(30px, 3.5vw, 50px); display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-m); }
.calc-out .fig { font-size: clamp(2.6rem, 7vw, 6.25rem); letter-spacing: .01em; overflow-wrap: anywhere; }
/* Monatsrechnung */
.rechnung { display: grid; gap: var(--s-m) clamp(30px, 5.5vw, 80px); }
@media (min-width: 62em) { .rechnung { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "in out" "notes out"; align-items: start; } .rechnung .r-in { grid-area: in; } .rechnung .r-out { grid-area: out; align-self: stretch; } .rechnung .r-notes { grid-area: notes; } }
.r-lines { display: flex; flex-direction: column; gap: var(--s-s); }
.r-out .calc-row b { font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.r-out .fig { font-size: clamp(2.6rem, 6vw, 5.4rem); white-space: nowrap; }
.r-tax { border-left: 3px solid var(--sand); padding: 2px 0 2px var(--s-s); display: flex; flex-direction: column; gap: 6px; }
.r-tax p { color: var(--grey); }
.rechnung .field span { min-height: 2.6em; display: flex; align-items: flex-end; }
.calc-row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-s); border-bottom: 1px solid var(--on-dark-line); padding-bottom: var(--s-s); font-size: 16px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: var(--s-s) 0; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: var(--s-s); font-size: var(--fs-h3); line-height: 1.2; font-weight: 300; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+" / ""; font-size: 28px; font-weight: 300; color: var(--taupe-d); line-height: 1; }
.faq details[open] summary::after { content: "–" / ""; }
.faq details p { margin-top: var(--s-xs); max-width: 65ch; font-size: 16px; color: var(--grey); }
.faq { border-top: 1px solid var(--line); }

/* Tabelle */
.facts { width: 100%; border-collapse: collapse; font-size: 16px; }
.facts th, .facts td { text-align: left; padding: 12px 0; border-top: 1px solid var(--line); vertical-align: top; }
.facts th { font-weight: 400; color: var(--grey); width: 45%; padding-right: var(--s-s); }
.facts td { font-weight: 500; }
.facts tr:last-child th, .facts tr:last-child td { border-bottom: 1px solid var(--line); }

/* Ratgeber */
.guide { display: flex; flex-direction: column; background: var(--white); }
.guide .cover { aspect-ratio: 4 / 3; background: var(--navy); color: var(--white); padding: var(--s-m); display: flex; flex-direction: column; justify-content: space-between; }
.guide .cover .h3 { max-width: 14ch; }
.guide .body { padding: var(--s-s); display: flex; flex-direction: column; gap: var(--s-xxs); flex: 1; }
.guide .body .link { margin-top: auto; align-self: flex-start; }

/* Banken */
.banks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (min-width: 40em) { .banks { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.banks li { min-height: 80px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: center; padding: 10px; text-align: center; font-size: 16px; font-weight: 500; color: var(--grey); }

/* Footer */
.site-footer { background: var(--navy); color: var(--white); }
.site-footer .wrap { padding-block: var(--s-xl) var(--s-l); display: flex; flex-direction: column; gap: var(--s-l); }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-m); }
.footer-top img { height: 34px; width: auto; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: var(--s-m); border-top: 1px solid var(--on-dark-line); padding-top: var(--s-m); font-size: 16px; }
.footer-cols h2 { font-size: var(--fs-ui); font-weight: 500; margin-bottom: var(--s-xxs); }
.footer-cols ul { display: flex; flex-direction: column; gap: 8px; }
.footer-cols a { color: var(--sand); text-decoration: none; }
.footer-cols address { font-style: normal; color: var(--sand); display: flex; flex-direction: column; gap: 6px; }
.footer-legal { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--on-dark-line); padding-top: 25px; font-size: var(--fs-small); color: var(--sand); }
.footer-legal p { max-width: 65ch; }
.footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px var(--s-m); margin-top: var(--s-xxs); }
.footer-legal nav a { color: var(--white); }

/* Sticky Termin-Leiste mobil */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--white); border-top: 1px solid var(--line); padding: 10px var(--pad); display: none; transform: translateY(100%); transition: transform .3s ease; }
.sticky-cta.on { transform: none; }
@media (max-width: 56em) { .sticky-cta { display: block; } body:has(> .sticky-cta) { padding-bottom: calc(var(--btn-h) + 24px); } html:has(.sticky-cta) { scroll-padding-bottom: calc(var(--btn-h) + 34px); } }

/* Einblenden: Inhalte starten sichtbar, Bewegung nur ohne reduzierte Bewegung */
@media (prefers-reduced-motion: no-preference) {
  .js .rise { opacity: 0; transform: translateY(16px); transition: opacity .55s ease-out, transform .55s ease-out; }
  .js .rise.in { opacity: 1; transform: none; }
}

/* Platzhalter für Inhalte, die noch fehlen */
.todo { background: #fff8d6; color: #3d3300 !important; outline: 1px dashed #8a6d00; outline-offset: 2px; }
.no-todos .todo { background: none; outline: 0; }

/* Druck */
@media print { .site-header, .sticky-cta, .menu, .video-toggle, .hero-bar { display: none !important; } .hero { min-height: 0; color: var(--ink); background: none; } .hero::after { display: none; } }

/* ---------- Ergänzungen 9. November 2026 ---------- */
.wall--5 > :first-child { grid-column: span 2; }
@media (min-width: 40em) { .wall--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } .wall--5 > :first-child { grid-column: auto; } }
.card--static .title { text-decoration: none !important; }
.social, .lang-more { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: var(--s-xs); font-size: var(--fs-small); }
.site-footer .social a, .site-footer .lang-more a { color: var(--sand); text-decoration: none; }
@media (hover: hover) { .site-footer .social a:hover, .site-footer .lang-more a:hover { color: var(--white); text-decoration: underline; } }
.site-footer .social a.todo { color: #3d3300; }
.menu-side .lang-more a { color: var(--taupe-d); }
.linkbtn { border: 0; background: none; padding: 0; color: var(--white); font: inherit; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.trust-note[href] { color: inherit; }

/* Einwilligungsbanner */
.consent-bar { position: fixed; z-index: 60; left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); max-width: 640px; margin-inline: auto; background: var(--white); color: var(--ink); border: 1px solid var(--ink); padding: var(--s-s); display: flex; flex-direction: column; gap: var(--s-xs); font-size: 15px; }
.consent-bar[hidden] { display: none; }
.consent-bar .title { font-size: var(--fs-ui); }
.consent-bar p { max-width: 65ch; }
.consent-bar .opts { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); padding-top: var(--s-xs); }
.consent-bar .opts label { display: flex; gap: 10px; align-items: flex-start; }
.consent-bar .opts input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--navy); flex-shrink: 0; }
.consent-bar .btn-row { gap: 10px; }
.consent-bar .btn { flex: 1 1 160px; }

/* Landingpages in weiteren Sprachen */
[dir="rtl"] .crumbs, [dir="rtl"] .lines li, [dir="rtl"] .steps li { text-align: right; }
[dir="rtl"] .field input, [dir="rtl"] .field select { text-align: right; }
.lp-lang { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; }
.lp-lang a { color: inherit; }
.lp-lang a[aria-current] { font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.lp-lang--m { display: none; color: var(--sand); }
@media (max-width: 56em) { .lp-lang--d { display: none; } .lp-lang--m { display: flex; } }
.consent-bar .opts[hidden] { display: none; }
[dir="rtl"] .site-footer address[dir="ltr"] { align-items: flex-end; }
.media.has-file .line-art { display: none; }
.hero .media.has-file ~ .wrap .lead, .hero .media.has-file ~ .wrap .hero-meta { text-shadow: 0 1px 12px rgba(0, 16, 42, .35); }
.hero:has(.media.has-file)::after { background: linear-gradient(90deg, rgba(0, 16, 42, .7) 0%, rgba(0, 16, 42, .45) 50%, rgba(0, 16, 42, .15) 100%), linear-gradient(180deg, rgba(0, 16, 42, 0) 45%, rgba(0, 16, 42, .55) 100%); }
.ai-note { position: absolute; right: 10px; bottom: 10px; z-index: 2; font-size: 11px; letter-spacing: .02em; padding: 3px 7px; background: rgba(0, 16, 42, .8); color: var(--sand); pointer-events: none; }
.hero .ai-note { bottom: auto; top: calc(var(--header-h, 72px) + 12px); }
.media .duration ~ .ai-note { right: auto; left: 10px; }
/* Bild mit Status-Marke unten links: Hinweis nach oben rechts, damit lange Hinweise die Marke nicht überdecken */
.media .cut ~ .ai-note, .media:has(> .cut) > .ai-note { bottom: auto; top: 10px; max-width: calc(100% - 20px); }
/* KI-Beispielbild einer Wohnung: sehr kleiner Hinweis „AI“ unten rechts, Erklärung in der Zeile unter der Liste */
.card .media > .ai-note.ai-note--mini { top: auto; bottom: 8px; right: 8px; font-size: 9px; line-height: 1; letter-spacing: .1em; padding: 3px 5px; }
.ai-hint { margin-top: var(--s-s); }
.ai-hint[hidden] { display: none; }

/* ---------- Bildplätze 13. November 2026 ---------- */
.hide-empty .media .slot { display: none; }
.hide-empty [data-pending]:not(.is-filled) { display: none !important; }
.media .initials { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: "Cardinal Photo", var(--f-sans, serif); font-weight: 300; font-size: clamp(48px, 7vw, 96px); letter-spacing: .04em; color: var(--sand); background: var(--navy); }
.person .media .initials { font-size: 22px; }
.media.has-file .initials { display: none; }
.media.poster-only .play, .media.poster-only .duration { display: none; }

/* ---------- Ratgeber-Hefte 13. November 2026 ---------- */
.guide > .media { aspect-ratio: 4 / 3; }
.guide .body .h3 { margin-bottom: 2px; }

/* Einwilligungsbanner nach deploy-v2/einstellungen.json */
.consent-bar .btn[data-cb="no"] { background: var(--navy); color: var(--white); }
@media (hover: hover) { .consent-bar .btn[data-cb="no"]:hover { background: var(--navy-2); border-color: var(--navy-2); } }
@media (max-width: 640px) { .consent-bar .btn { flex-basis: 100%; } }
.consent-bar { top: calc(var(--header-h, 64px) + env(safe-area-inset-top, 0px) + 17px); bottom: auto; margin-inline: 0 auto; max-height: calc(100dvh - var(--header-h, 64px) - 33px); overflow-y: auto; }
