/* ==========================================================================
   MyHomeScout – Stylesheet
   ========================================================================== */

/* Schriften (lokal, keine Verbindung zu Google) */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/bricolage-grotesque-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2"); }

:root {
  --ink: #0E1A2B;        /* Dunkelblau – Text, dunkle Flächen */
  --ink-2: #3D4A5C;      /* Fließtext */
  --muted: #4A5568;      /* Nebentext */
  --bg: #F7F7F2;         /* Seitenhintergrund */
  --bg-2: #EEEFE7;       /* Abschnitts-Hintergrund */
  --white: #FFFFFF;
  --field: #FBFBF8;
  --line: #E3E5DC;
  --line-2: #D5D8CE;
  --blue: #0366DD;       /* Logo-Blau */
  --blue-d: #024FAD;
  --blue-soft: #EEF2FF;
  --lime: #D9F36A;       /* Akzent */
  --lime-line: #C9E35A;
  --on-lime: #2A3524;
  --navy-2: #18263B;
  --navy-3: #2B3B55;
  --on-dark: #C9D2DE;
  --on-dark-2: #A9B4C4;
  --error: #B42318;
  --error-bg: #FEF3F2;
  --ok-bg: #EEF7E6;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /*--display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;*/
  --display: Inter, system-ui, sans-serif;
  --r-sm: 14px;
  --r: 22px;
  --r-lg: 28px;
  --r-xl: 36px;
  --shadow: 0 20px 50px rgba(14, 26, 43, .07);
  --header-h: 79px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-d); }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; overflow-wrap: break-word; }
@media (max-width: 600px) { .h1, .h2, .display { -webkit-hyphens: auto; hyphens: auto; } }
.prose, .toc, .placeholder { overflow-wrap: anywhere; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; }
.skip:focus { top: 12px; color: #fff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Layout ------------------------------------------------------------------ */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 900px; }
.section { padding: 76px 0; }
.section-sm { padding: 64px 0; }
.section-top { padding-top: 72px; }
.section-cta { padding: 0 0 100px; }
.section + .section-cta, .section-sm + .section-cta { padding-top: 0; }
.pb-0 { padding-bottom: 0; }
.bg-2 { background: var(--bg-2); }
.bg-dark { background: var(--ink); color: #F7F7F2; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack-sm { display: flex; flex-direction: column; gap: 12px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center { text-align: center; align-items: center; }
.center .row { justify-content: center; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 56px; align-items: center; }
.split-top { align-items: start; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 300px)), 1fr)); gap: 20px; }
.grid-fill { grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--min, 300px)), 1fr)); }
.mt { margin-top: 20px; }
.mb-lg { margin-bottom: 44px; }

@media (max-width: 480px) {
  .container { padding: 24px; }
  .section { padding: 40px 20px 40px 20px; }
}


/* Typografie -------------------------------------------------------------- */
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.bg-dark .eyebrow { color: var(--lime); }
.display { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 4vw, 56px); line-height: .98; letter-spacing: -0.035em; }
.h1 { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 4vw, 48px); line-height: 1; letter-spacing: -0.035em; }
.h2 { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 2.6vw, 42px); line-height: 1.04; letter-spacing: -0.03em; }
.h3 { font-family: var(--display); font-weight: 800; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.1; letter-spacing: -0.02em; }
.h4 { font-size: 21px; font-weight: 600; line-height: 1.3; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--ink-2); max-width: 640px; }
.bg-dark .lead, .bg-dark p { color: var(--on-dark); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.text-blue { color: var(--blue); }
.hl { background: var(--lime); padding: 0 .16em; border-radius: .18em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.max-720 { max-width: 720px; }

/* Buttons ----------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent; font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn svg { flex: 0 0 auto; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-lg { min-height: 58px; padding: 0 30px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-d); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1D2D44; color: #fff; }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: #CBE65A; color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--bg); color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-outline-light { background: transparent; color: #F7F7F2; border-color: #F7F7F2; }
.btn-outline-light:hover { background: #F7F7F2; color: var(--ink); }
.link-plain { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; padding: 12px 14px; }
.link-plain:hover { color: var(--blue); }
.link-strong { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; text-align: left; }

/* Header & Navigation ----------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 247, 242, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); padding-top: 12px; padding-bottom: 12px; }
.logo { display: flex; align-items: center; min-height: 44px; }
.logo img { height: 54px; width: auto; }
.nav-desktop { display: flex; gap: 26px; font-size: 15px; font-weight: 500; }
.nav-desktop a { color: var(--ink); text-decoration: none; padding: 10px 0; }
.nav-desktop a:hover { color: var(--blue); }
.nav-desktop a[aria-current="page"] { color: var(--blue); font-weight: 600; box-shadow: inset 0 -2px 0 var(--blue); }
.header-actions { display: flex; align-items: center; gap: 10px; }

.burger { display: none; }
.burger > summary { list-style: none; width: 48px; height: 48px; border-radius: var(--r-sm); border: 1.5px solid var(--line-2); background: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.burger > summary::-webkit-details-marker { display: none; }
.burger .ico-close { display: none; }
.burger[open] .ico-close { display: block; }
.burger[open] .ico-menu { display: none; }
.burger-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 28px 40px rgba(14, 26, 43, .14); padding: 8px 24px 28px; display: flex; flex-direction: column; gap: 20px; max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
.burger-main { display: flex; flex-direction: column; }
.burger-main a { display: flex; align-items: center; justify-content: space-between; min-height: 58px; border-bottom: 1px solid var(--line); font-size: 19px; font-weight: 600; color: var(--ink); text-decoration: none; }
.burger-main a[aria-current="page"], .burger-more a[aria-current="page"] { color: var(--blue); }
.burger-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.burger-more a { display: flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.burger-cta { display: flex; flex-direction: column; gap: 10px; }

@media (max-width: 1100px) {
  .nav-desktop, .header-actions { display: none; }
  .burger { display: block; }
}
@media (max-width: 480px) {
  :root { --header-h: 71px; }
  .logo img { height: 46px; }
}

/* Karten & Bausteine ------------------------------------------------------ */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.card p { color: var(--ink-2); }
.card-lg { border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); }
.card-lime { background: var(--lime); border-color: var(--lime-line); }
.card-lime p { color: var(--on-lime); }
.card-dark { background: var(--ink); border-color: var(--ink); color: #F7F7F2; }
.card-dark p { color: var(--on-dark); }
.card-navy { background: var(--navy-2); border-color: var(--navy-3); color: #F7F7F2; }
.card-navy p { color: var(--on-dark); }
.card-blue { background: var(--blue); border-color: var(--blue); color: #fff; }
.card-blue p { color: #E3E9FF; }
.card-shadow { box-shadow: var(--shadow); }
.lift { transition: transform .2s ease, box-shadow .2s ease; }
.lift:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(14, 26, 43, .10); }
.num { font-family: var(--display); font-weight: 800; font-size: 54px; line-height: 1; color: var(--blue); }
.card-lime .num, .card-dark .num { color: var(--ink); }
.card-navy .num { color: var(--lime); }
.card-dark .num { color: var(--lime); }
.icon-tile { width: 50px; height: 50px; border-radius: var(--r-sm); background: var(--blue-soft); color: var(--blue); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.card-lime .icon-tile { background: var(--ink); color: var(--lime); }
.card-dark .icon-tile, .card-navy .icon-tile { background: var(--navy-3); color: var(--lime); }
.photo { width: 100%; object-fit: cover; border-radius: var(--r-lg); }
.photo-sm { aspect-ratio: 4 / 3; border-radius: 16px; }
.photo-wrap { position: relative; }
.photo-wrap::before { content: ""; position: absolute; width: 120px; height: 120px; border-radius: 50%; background: var(--lime); left: -14px; bottom: -18px; }
.photo-wrap img { position: relative; }
.pill-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px 10px 12px; font-weight: 600; }
.pill .dot { width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; }
.tag { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; background: #fff; border: 1px solid var(--line); padding: 8px 14px 8px 10px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--blue); }
.tag-lime { background: var(--lime); border-color: var(--lime-line); color: var(--ink); }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--blue); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(3, 102, 221, .45); } 70% { box-shadow: 0 0 0 10px rgba(3, 102, 221, 0); } 100% { box-shadow: 0 0 0 0 rgba(3, 102, 221, 0); } }
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist svg { flex: 0 0 auto; margin-top: 2px; color: var(--blue); }
.card-dark .checklist svg, .bg-dark .checklist svg { color: var(--lime); }
.badge { display: inline-block; background: var(--lime); color: var(--ink); font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; }

/* Hero -------------------------------------------------------------------- */
.hero { padding: 72px 0 88px; }
.hero-visual { position: relative; min-height: 600px; border-radius: var(--r-xl); overflow: visible; display: flex; align-items: flex-end; }
.hero-visual::before { content: ""; position: absolute; top: -20px; right: 28px; width: 150px; height: 150px; border-radius: 50%; background: var(--lime); }
.hero-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; border-radius: var(--r-xl); }
.hero-visual .note { position: absolute; top: 18px; left: 18px; font-size: 12px; font-weight: 600; background: rgba(255, 255, 255, .92); padding: 6px 12px; border-radius: 999px; }
.notifs { position: relative; width: min(100%, 360px); display: flex; flex-direction: column; gap: 12px; padding: 22px; }
.notif { background: #fff; border-radius: 18px; padding: 14px 16px; display: flex; gap: 14px; align-items: center; box-shadow: 0 16px 34px rgba(0, 0, 0, .25); animation: rise .7s both; }
.notif:nth-child(2) { margin-left: 26px; animation-delay: .5s; }
.notif-blue { background: var(--blue); color: #fff; justify-content: space-between; animation-delay: .9s; box-shadow: none; }
.notif-blue span:last-child { font-size: 13px; background: rgba(255, 255, 255, .18); padding: 6px 15px; border-radius: 25px; }
.notif .icon-tile { width: 44px; height: 44px; border-radius: 12px; }
.notif strong { display: block; font-size: 15px; }
.notif small { font-size: 14px; color: var(--muted); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) { .hero-visual { min-height: 520px; } }

.quick { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; max-width: 600px; }
.quick-row { display: flex; flex-wrap: wrap; gap: 10px; }
.quick-input { flex: 1 1 240px; display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); padding: 0 14px; min-height: 56px; background: var(--field); color: var(--muted); }
.quick-input input { border: 0; background: transparent; font: inherit; font-size: 17px; color: var(--ink); width: 100%; min-height: 52px; outline-offset: 6px; }
.quick-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--muted); }
.quick-meta span { display: inline-flex; align-items: center; gap: 6px; }
.quick-meta svg { color: var(--blue); }

/* Segment-Schalter (Mieten/Kaufen, Abo/Einmalig, Laufzeit, Filter) */
.seg { display: inline-flex; flex-wrap: wrap; gap: 6px; background: #F1F2EC; padding: 5px; border-radius: 999px; }
.seg label, .seg button { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: transparent; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg label:has(input:checked), .seg button[aria-pressed="true"], .seg button[aria-selected="true"] { background: var(--ink); color: #fff; }
.seg label:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.seg .disc { font-size: 12px; padding: 3px 7px; border-radius: 999px; background: var(--line); color: var(--ink); }
.seg label:has(input:checked) .disc { background: var(--lime); }
.seg-plain { background: transparent; padding: 0; gap: 10px; }
.seg-plain button { border: 1.5px solid var(--line-2); background: #fff; min-height: 46px; }
.seg-plain button[aria-pressed="true"], .seg-plain button[aria-selected="true"] { border-color: var(--ink); }
.seg-blue button[aria-pressed="true"], .seg-blue button[aria-selected="true"] { background: var(--blue); border-color: var(--blue); }

@media (max-width: 960px) {
  .seg {border-radius: 25px; }
  .seg label, .seg button { min-height: 36px; padding: 0 10px; border-radius: 15px;  font-size: 13px; font-weight: 400; }
}

/* Immobilien auf startseite --------------------------------------------------------- */
.slider-arrow{width:44px;height:44px;border-radius:50%;border:1px solid var(--line);background:white;color:var(--brand)}
  .slider-arrow:hover{background:var(--brand);color:white}
  .property-track{display:flex;gap:22px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:10px 2px 24px}
  .property-track::-webkit-scrollbar{display:none}
  .property-card{flex:0 0 300px;scroll-snap-align:start;background:white;border:1px solid var(--line);border-radius:17px;overflow:hidden;box-shadow:0 10px 26px rgba(20,42,75,.045)}
  .property-card img{width:100%;height:190px;object-fit:cover}
  .property-body{padding:19px}.property-body small{color:var(--muted)}
  .property-body h3{font-size:1.06rem;letter-spacing:-.02em;margin:7px 0 12px}
  .property-meta{display:flex;gap:18px;font-size:.8rem;font-weight:700}

/* Kundenmeinungen --------------------------------------------------------- */
.quote { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 16px; justify-content: space-between; }
.quote blockquote { margin: 0; font-size: 17px; line-height: 1.55; }
.stars { color: var(--blue); letter-spacing: 3px; font-size: 17px; }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--lime); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; flex: 0 0 auto; }
.avatar-lg { width: 64px; height: 64px; font-family: var(--display); font-weight: 800; font-size: 22px; }
.quote .who { flex: 1; }
.quote .who strong { display: block; }
.quote .who span { display: block; font-size: 14px; color: var(--muted); }
.cc { font-size: 12px; font-weight: 600; padding: 4px 8px; border-radius: 6px; background: var(--blue-soft); }
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.rating .big { font-family: var(--display); font-weight: 800; font-size: 76px; line-height: 1; color: var(--lime); }
.rating .stars { color: var(--lime); font-size: 22px; }

/* Preise ------------------------------------------------------------------ */
.price-bar { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; }
.price-bar fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.price-bar legend { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 0; margin-bottom: 8px; }
.plan { border-radius: var(--r); padding: 26px 22px; display: flex; flex-direction: column; gap: 18px; background: #fff; border: 1px solid var(--line); }
.plan-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; min-height: 30px; }
.plan h3 { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; }
.plan .price { font-family: var(--display); font-weight: 800; font-size: 40px; letter-spacing: -0.03em; line-height: 1.1; }
.plan .per, .plan .total { font-size: 14px; color: var(--muted); }
.plan .was { font-size: 14px; font-weight: 600; color: var(--blue); }
.plan .checklist { font-size: 15px; line-height: 1.4; gap: 9px; }
.plan .btn { margin-top: auto; }
.plan-featured { background: var(--ink); border-color: var(--ink); color: #F7F7F2; box-shadow: 0 24px 50px rgba(14, 26, 43, .18); }
.plan-featured .per, .plan-featured .total { color: var(--on-dark-2); }
.plan-featured .was { color: var(--lime); }
.plan-featured .checklist svg { color: var(--lime); }
.starter { background: var(--lime); border-radius: var(--r); padding: 26px 30px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.starter p { color: var(--on-lime); }
.starter .head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 14px; }
.starter .head b { font-family: var(--display); font-weight: 800; font-size: 30px; }
.big-price { font-family: var(--display); font-weight: 800; font-size: 48px; letter-spacing: -0.03em; }

/* FAQ --------------------------------------------------------------------- */
.faq-layout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.faq-nav { flex: 1 1 220px; display: flex; flex-wrap: wrap; gap: 8px; position: sticky; top: calc(var(--header-h) + 20px); }
.faq-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; }
.faq-nav a:hover { border-color: var(--blue); color: var(--blue); }
.faq-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 44px; }
@media (max-width: 860px) { .faq-nav { position: static; } }
.acc { display: flex; flex-direction: column; gap: 12px; }
.acc details { background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.acc summary { list-style: none; min-height: 64px; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-size: 18px; font-weight: 600; cursor: pointer; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary svg { flex: 0 0 auto; color: var(--blue); transition: transform .2s ease; }
.acc details[open] summary svg { transform: rotate(45deg); }
.acc details p { padding: 0 22px 22px; color: var(--ink-2); line-height: 1.7; }

/* KI-Assistent ------------------------------------------------------------ */
.chat { background: var(--ink); color: #F7F7F2; border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.chat .label { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-2); }
.bubble-me { align-self: flex-end; max-width: 88%; background: var(--navy-3); border-radius: 18px 18px 4px 18px; padding: 14px 16px; font-size: 15px; line-height: 1.5; }
.bubble-ai { align-self: flex-start; max-width: 92%; background: #fff; color: var(--ink); border-radius: 18px 18px 18px 4px; padding: 14px 16px; font-size: 15px; line-height: 1.55; display: flex; gap: 10px; }
.bubble-ai .ai { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 8px; background: var(--lime); display: flex; align-items: center; justify-content: center; }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 24px; }
.no-js-gap > * + * { margin-top: 24px; }
.js .no-js-gap > * + * { margin-top: 0; }

/* Formulare --------------------------------------------------------------- */
.form { display: flex; flex-direction: column; gap: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { min-height: 52px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); padding: 0 16px; font: inherit; font-weight: 400; font-size: 16px; background: var(--field); color: var(--ink); width: 100%; }
.field textarea { padding: 14px 16px; resize: vertical; min-height: 150px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230E1A2B' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: 3px solid rgba(3, 102, 221, .25); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: var(--error); background: var(--error-bg); }
.field .hint { font-weight: 400; font-size: 14px; color: var(--muted); }
.field-error { margin: 0; font-size: 14px; font-weight: 500; color: var(--error); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; font-weight: 400; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; flex: 0 0 auto; accent-color: var(--blue); }
.alert { border-radius: 16px; padding: 16px 18px; font-size: 15px; line-height: 1.55; }
.alert-ok { background: var(--ok-bg); color: #1F3A12; }
.alert-error { background: var(--error-bg); color: var(--error); }
.alert-info { background: var(--blue-soft); color: #1A2B55; }
.success { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 12px 0; }
.success .icon-tile { width: 56px; height: 56px; border-radius: 50%; background: var(--lime); color: var(--ink); }
.contact-item { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px 20px; text-decoration: none; color: var(--ink); }
.contact-item small { display: block; font-size: 14px; color: var(--muted); }
.contact-item.lime { background: var(--lime); border-color: var(--lime-line); }
.contact-item.lime .icon-tile { background: var(--ink); color: var(--lime); }
.auth { max-width: 560px; margin: 0 auto; }

/* CTA-Band ---------------------------------------------------------------- */
.cta { position: relative; overflow: hidden; background: var(--blue); color: #fff; border-radius: var(--r-xl); padding: clamp(40px, 4vw, 50px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 32px; align-items: center; }
.cta::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 280px; height: 280px; border-radius: 50%; background: var(--lime);opacity: 0.5; }
.cta > * { position: relative; z-index: 1; }
.cta h2 { font-family: var(--display); font-weight: 800; font-size: clamp(36px, 4.6vw, 60px); line-height: 1; letter-spacing: -0.035em; }
.cta p { font-size: 19px; line-height: 1.55; color: #E3E9FF; }
.cta .stack { align-items: flex-start; }

.band-dark { background: var(--ink); color: #F7F7F2; border-radius: 32px; padding: clamp(32px, 5vw, 56px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.band-dark p { color: var(--on-dark); }

/* Über uns ---------------------------------------------------------------- */
.stats { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.stats > div { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column-reverse; gap: 6px; }
.stats dt { font-size: 15px; color: var(--muted); }
.stats dd { margin: 0; font-family: var(--display); font-weight: 800; font-size: 36px; letter-spacing: -0.02em; }
.stats > .blue { background: var(--blue); border-color: var(--blue); color: #fff; }
.stats > .blue dt { color: #E3E9FF; }
.steps-6 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.steps-6 li { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: flex; gap: 18px; align-items: flex-start; }
.steps-6 .icon-tile { font-family: var(--display); font-weight: 800; font-size: 22px; }
.steps-6 strong { display: block; font-size: 18px; margin-bottom: 4px; }
.steps-6 span { font-size: 15px; color: var(--ink-2); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.timeline li { border-top: 4px solid var(--blue); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; color: var(--ink-2); }
.timeline b { font-family: var(--display); font-weight: 800; font-size: 24px; color: var(--blue); }
.person { display: flex; align-items: center; gap: 16px; }
.person strong { display: block; font-size: 20px; }
.person span { font-size: 15px; font-weight: 600; color: var(--blue); }
.values h3 { font-size: 18px; margin-bottom: 4px; }
.card-dark.values h3 { color: var(--lime); }

/* Social Media ------------------------------------------------------------ */
.channel { text-decoration: none; color: var(--ink); }
.channel .row { justify-content: space-between; }
.channel .go { color: var(--blue); display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; }
.channel:hover { border-color: var(--blue); }

/* Rechtstexte ------------------------------------------------------------- */
.legal-layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.toc { flex: 1 1 260px; position: sticky; top: calc(var(--header-h) + 20px); background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.toc h2 { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.toc a { color: var(--ink-2); text-decoration: none; display: inline-block; padding: 3px 0; }
.toc a:hover { color: var(--blue); }
@media (max-width: 900px) { .toc { position: static; } }
.prose { flex: 999 1 560px; min-width: 0; max-width: 780px; font-size: 16px; line-height: 1.75; color: var(--ink-2); }
.prose h2 { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; color: var(--ink); margin: 44px 0 12px; line-height: 1.2; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; color: var(--ink); margin: 24px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose dl { display: grid; grid-template-columns: minmax(150px, max-content) 1fr; gap: 6px 20px; margin: 0 0 14px; }
.prose dt { font-weight: 600; color: var(--ink); }
.prose dd { margin: 0; }
.placeholder { border: 2px dashed var(--line-2); border-radius: var(--r); padding: 22px; background: #fff; color: var(--muted); font-size: 15px; }
.placeholder strong { color: var(--ink); }
.stand { font-size: 14px; color: var(--muted); }

/* Footer ------------------------------------------------------------------ */
.site-footer { background: var(--ink); color: var(--on-dark); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 32px; padding-top: 64px; padding-bottom: 32px; font-size: 15px; }
.footer-grid nav { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.footer-grid h2 { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 6px; }
.footer-grid h2.mt { margin-top: 18px; }
.footer-grid a, .footer-grid .link-button { color: var(--on-dark); text-decoration: none; display: inline-flex; align-items: center; min-height: 34px; }
.footer-grid a:hover, .footer-grid .link-button:hover { color: #fff; text-decoration: underline; }
.footer-grid a[aria-current="page"] { color: #fff; font-weight: 600; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand img { width: 230px; }
.footer-bottom { padding-top: 20px; padding-bottom: 36px; border-top: 1px solid #24344D; font-size: 14px; color: var(--on-dark-2); }

/* Cookie-Banner ----------------------------------------------------------- */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; display: flex; justify-content: center; }
.cookie-box { width: min(100%, 720px); background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 24px 60px rgba(14, 26, 43, .25); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.cookie-box h2 { font-family: var(--display); font-weight: 800; font-size: 24px; }
.cookie-box p { font-size: 15px; color: var(--ink-2); }
.cookie-options { display: flex; flex-direction: column; gap: 10px; padding: 6px 0; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions .btn { min-height: 46px; padding: 0 20px; font-size: 15px; }
@media (max-width: 520px) { .cookie-actions .btn { flex: 1 1 100%; } }

/* Fehlerseite ------------------------------------------------------------- */
.notfound { min-height: 50vh; display: flex; flex-direction: column; justify-content: center; }

/* Ergänzungen */
.form-grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
.center .tag { align-self: center; }
