/* =====================================================================
   Immobilienwert Säuliamt — Kovacs Experience AG
   Design-System & Landingpage
   ===================================================================== */

/* ---------- Schriften (selbst gehostet, keine externen Requests) ---------- */
@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-var.woff2') format('woff2-variations');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2074, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: 'Jost';
  src: url('../fonts/jost-var.woff2') format('woff2-variations');
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2074, U+20AC, U+2122, U+2212;
}

/* ---------- Design-Tokens ---------- */
:root {
  /* Kovacs CI */
  --navy:        #0D2130;
  --navy-800:    #102a3d;
  --navy-700:    #163a54;
  --navy-600:    #1f4d6d;
  --steel:       #58758C;
  --gold:        #DAAD81;
  --gold-600:    #c8965f;
  --gold-300:    #ecd7bd;
  --gold-100:    #f7ecdf;

  --paper:       #FCFAF7;
  --sand:        #F4EDE4;
  --sand-deep:   #EDE3D6;
  --white:       #ffffff;

  --ink:         #0D2130;
  --muted:       #5F686F;
  --muted-light: #8b939a;
  --line:        #E7E0D6;
  --line-soft:   #F0EAE1;

  --ok:          #2f7d55;
  --ok-bg:       #e8f4ed;
  --warn:        #b4790f;
  --err:         #b3372e;
  --err-bg:      #fbeceb;

  /* Typografie */
  --ff-display: 'Playfair Display', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --ff-body:    'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  /* Radien & Schatten */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 22px;

  --sh-sm: 0 1px 2px rgba(13,33,48,.06), 0 2px 6px rgba(13,33,48,.04);
  --sh-md: 0 4px 12px rgba(13,33,48,.07), 0 12px 28px rgba(13,33,48,.06);
  --sh-lg: 0 10px 24px rgba(13,33,48,.09), 0 30px 64px rgba(13,33,48,.10);
  --sh-gold: 0 8px 24px rgba(218,173,129,.28);

  /* Layout */
  --wrap: 1200px;
  --gut: clamp(20px, 5vw, 40px);
  --sec-y: clamp(64px, 9vw, 118px);

  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  font-family: var(--ff-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
/* Inline-SVGs ohne width/height-Attribut brauchen eine Grundgrösse */
svg { width: 1em; height: 1em; flex-shrink: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }

:focus-visible {
  outline: 2px solid var(--gold-600);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---------- Typografie ---------- */
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -.015em;
  color: var(--navy);
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 5.4vw, 4.05rem); }
h2 { font-size: clamp(1.95rem, 4vw, 3rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); font-family: var(--ff-body); font-weight: 500; letter-spacing: -.01em; }
p  { text-wrap: pretty; }

.eyebrow {
  font-family: var(--ff-body);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 18px;
  display: block;
}
.lead { font-size: clamp(1.03rem, 1.4vw, 1.16rem); color: var(--muted); line-height: 1.72; font-weight: 300; }
.muted { color: var(--muted); }

/* ---------- Layout ---------- */
.wrap { width: min(var(--wrap), 100% - var(--gut) * 2); margin-inline: auto; }
.section { padding-block: var(--sec-y); }
.section--sand { background: var(--sand); }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section-head { max-width: 660px; margin-inline: auto; text-align: center; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .lead { margin-top: 18px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border-radius: var(--r-sm);
  font-weight: 500;
  font-size: .97rem;
  letter-spacing: .01em;
  line-height: 1.2;
  border: 1px solid transparent;
  transition: transform .22s var(--ease-out), box-shadow .22s var(--ease), background-color .22s var(--ease);
  will-change: transform;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.btn:active { transform: translateY(0); }
.btn svg { width: 15px; height: 15px; flex-shrink: 0; }
.btn .ico { transition: transform .25s var(--ease-out); }
.btn:hover .ico { transform: translateX(4px); }

.btn--gold  { --btn-bg: var(--gold); --btn-fg: var(--navy); }
.btn--gold:hover { background: var(--gold-600); box-shadow: var(--sh-gold); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy); border-color: var(--line); }
.btn--ghost:hover { background: var(--white); border-color: var(--navy); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--navy); }
.btn--wide  { width: 100%; }
.btn--lg    { padding: 18px 36px; font-size: 1.03rem; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(252,250,247,.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 1px 20px rgba(13,33,48,.05); }
.header__inner { display: flex; align-items: center; gap: 28px; height: 78px; }

.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 34px; width: auto; }

.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav a:not(.btn) {
  font-size: .93rem; font-weight: 400; color: var(--ink); position: relative; padding: 6px 0;
  transition: color .2s var(--ease);
}
.nav a:not(.btn)::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
  background: var(--gold); transition: width .28s var(--ease-out);
}
.nav a:not(.btn):hover { color: var(--navy); }
.nav a:not(.btn):hover::after { width: 100%; }
/* Button in der Navigation behält seine eigenen Farben */
.nav a.btn { color: var(--btn-fg); }
.header .btn { padding: 12px 22px; font-size: .9rem; }

.nav-toggle { display: none; width: 42px; height: 42px; margin-left: auto; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 21px; height: 1.5px; background: var(--navy); position: relative; transition: background .2s; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0; width: 21px; height: 1.5px; background: var(--navy);
  transition: transform .3s var(--ease-out);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 78px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--gut) 26px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease-out);
    max-height: calc(100dvh - 78px); overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--line-soft); font-size: 1.02rem; }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 18px; }
}

/* Mobil: Header nicht sticky — der Rechner soll den ganzen Bildschirm bekommen */
@media (max-width: 720px) {
  .header {
    position: relative; top: auto;
    background: var(--paper);
    backdrop-filter: none; -webkit-backdrop-filter: none;
    border-bottom: 1px solid var(--line-soft);
  }
  .header.is-stuck { box-shadow: none; border-bottom-color: var(--line-soft); }
  .header__inner { height: 64px; }
  .logo img { height: 30px; }
  /* Menü hängt jetzt am Header statt am Viewport */
  .nav {
    position: absolute; inset: 100% 0 auto 0;
    max-height: 76vh;
  }
  html { scroll-padding-top: 8px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(36px, 5vw, 68px) clamp(48px, 6vw, 78px);
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(252,250,247,.94) 0%, rgba(252,250,247,.86) 46%, rgba(252,250,247,.96) 100%);
}
/* Fallback, solange kein Regionsfoto hinterlegt ist */
.hero--nophoto .hero__bg {
  background:
    radial-gradient(96% 70% at 82% 4%, rgba(218,173,129,.30) 0%, transparent 60%),
    radial-gradient(80% 60% at 12% 96%, rgba(88,117,140,.18) 0%, transparent 62%),
    linear-gradient(155deg, var(--paper) 0%, var(--sand) 68%, var(--sand-deep) 100%);
}
.hero--nophoto .hero__bg::after { display: none; }

/* Einleitung — zentriert über dem Rechner */
.hero__intro { max-width: 760px; margin-inline: auto; text-align: center; }
.hero__intro h1 { margin-bottom: 20px; }
.hero__intro .lead { max-width: 620px; margin-inline: auto; }

.hero__usps {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px clamp(18px, 3vw, 34px); margin-top: 26px;
}
.hero__usps li { display: flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--navy); }
.check {
  flex-shrink: 0; width: 21px; height: 21px; border-radius: 50%;
  background: var(--gold-100); color: var(--gold-600);
  display: grid; place-items: center; border: 1px solid var(--gold-300);
}
.check svg { width: 11px; height: 11px; }

/* ---------- Bewertungsrechner ---------- */
.hero__calc {
  width: 100%;
  margin-top: clamp(30px, 4vw, 46px);
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  overflow: hidden;
  /* Muss data-min-height des Widgets (720px) entsprechen: reserviert exakt den
     Platz, den der Rechner beim Laden einnimmt — kein Sprung, kein weisser Rest. */
  min-height: 720px;
  display: flex;
}
.hero__calc > * { flex: 1; min-width: 0; }
/* Höhe und min-height setzt das Widget selbst per Inline-Style – hier nicht dagegenhalten. */
.hero__calc iframe { width: 100%; border: 0; display: block; }
/* Sobald der Rechner seine Höhe gemeldet hat, gibt der Container die Reservierung frei. */
.hero__calc.is-sized { min-height: 0; }

/* Platzhalter, solange kein Embed-Code hinterlegt ist */
.calc-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 60px 24px; text-align: center;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(218,173,129,.05) 14px 28px),
    var(--white);
}
.calc-placeholder__ico {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--gold-100); color: var(--gold-600);
  display: grid; place-items: center; border: 1px solid var(--gold-300);
}
.calc-placeholder__ico svg { width: 26px; height: 26px; }
.calc-placeholder__title {
  font-family: var(--ff-display); font-size: 1.35rem; font-weight: 500; color: var(--navy);
}
.calc-placeholder__text { font-size: .93rem; color: var(--muted); line-height: 1.65; }
.calc-placeholder code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .86em;
  background: var(--sand); padding: 2px 7px; border-radius: 4px; color: var(--navy);
}

/* ---------- Unter dem Rechner ---------- */
.hero__after {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px 32px; flex-wrap: wrap; margin-top: 24px;
}
.hero__note {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .85rem; color: var(--muted-light);
}
.hero__note svg { width: 14px; height: 14px; flex-shrink: 0; }

/* Vertrauenszeile im Hero: Gesicht + Name statt anonymer Avatare */
.hero__advisor {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 11px 26px 11px 11px; background: var(--white);
  border: 1px solid var(--line-soft); border-radius: 60px;
  box-shadow: var(--sh-sm); text-align: left;
  transition: transform .22s var(--ease-out), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.hero__advisor:hover { transform: translateY(-2px); box-shadow: var(--sh-md); border-color: var(--gold-300); }
/* <picture> ist das Flex-Kind – ohne flex-shrink:0 wird es gestaucht
   und das runde Bild wird zum Ei. */
.hero__advisor picture { display: block; flex: 0 0 auto; line-height: 0; }
.hero__advisor img {
  width: 60px; height: 60px; border-radius: 50%; object-fit: cover;
  display: block; flex: 0 0 auto;
}
.hero__advisor span { font-size: .9rem; color: var(--muted); line-height: 1.5; }
.hero__advisor strong { display: block; color: var(--navy); font-weight: 500; font-size: .98rem; }

.hero__proof { display: flex; align-items: center; gap: 13px; }
.avatars { display: flex; }
.avatars > * { position: relative; }
.avatars > *:nth-child(1) { z-index: 3; }
.avatars > *:nth-child(2) { z-index: 2; }
.avatars > *:nth-child(3) { z-index: 1; }
.avatars img, .avatars span {
  width: 38px; height: 38px; border-radius: 50%; border: 2.5px solid var(--paper);
  object-fit: cover; margin-left: -12px; background: var(--sand-deep);
  display: grid; place-items: center; font-size: .76rem; font-weight: 500; color: var(--navy);
}
.avatars > *:first-child { margin-left: 0; }
.hero__proof p { font-size: .86rem; color: var(--muted); line-height: 1.45; }
.hero__proof strong { color: var(--navy); font-weight: 500; }

/* ---------- Mobil: Rechner randlos, maximaler Platz ---------- */
@media (max-width: 720px) {
  .hero { padding-block: 26px 34px; }
  .hero__intro { text-align: left; }
  .hero__intro .lead { margin-inline: 0; }
  .hero__usps { justify-content: flex-start; gap: 10px 20px; }

  /* volle Viewport-Breite, aus dem Container ausgebrochen */
  .hero__calc {
    margin-inline: calc(50% - 50vw);
    width: 100vw;
    max-width: 100vw;
    border-radius: 0;
    border-inline: 0;
    box-shadow: 0 6px 20px rgba(13,33,48,.07);
    min-height: 720px;
  }
  .hero__after {
    margin-top: 22px; gap: 18px;
    flex-direction: column; align-items: center; text-align: center;
  }
  .hero__note {
    display: block; max-width: 34ch; margin-inline: auto;
    text-align: center; line-height: 1.55;
  }
  .hero__note svg {
    display: inline-block; vertical-align: -2px; margin-right: 7px;
  }
  .hero__advisor { padding: 12px 22px 12px 12px; gap: 15px; }
  .hero__advisor img { width: 64px; height: 64px; }
}

/* ---------- Trust-Leiste ---------- */
.trustbar { background: var(--white); border-block: 1px solid var(--line-soft); }
.trustbar__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding-block: 26px;
}
.trustbar__item { display: flex; align-items: center; gap: 13px; padding-inline: 22px; }
.trustbar__item + .trustbar__item { border-left: 1px solid var(--line-soft); }
.trustbar__ico {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: var(--r-sm);
  background: var(--gold-100); color: var(--gold-600); display: grid; place-items: center;
}
.trustbar__ico svg { width: 19px; height: 19px; }
.trustbar__item strong { display: block; font-size: .9rem; font-weight: 500; color: var(--navy); line-height: 1.35; }
.trustbar__item span { font-size: .82rem; color: var(--muted); }

@media (max-width: 880px) {
  .trustbar__grid { grid-template-columns: 1fr 1fr; gap: 20px 0; }
  .trustbar__item:nth-child(odd) { border-left: 0; }
  .trustbar__item { padding-inline: 12px; }
}
@media (max-width: 520px) {
  .trustbar__grid { grid-template-columns: 1fr; }
  .trustbar__item { border-left: 0 !important; }
}

/* ---------- Split-Sektion (Bild + Text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(36px, 6vw, 78px); align-items: center; }
.split--rev .split__media { order: -1; }
.split__copy { max-width: 520px; }
.split__copy .btn { margin-top: 30px; }

.split__media { position: relative; }
.split__media > img {
  width: 100%; border-radius: var(--r-lg); box-shadow: var(--sh-md); aspect-ratio: 4 / 3; object-fit: cover;
}

.float-card {
  position: absolute; background: var(--white);
  border-radius: var(--r-md); box-shadow: var(--sh-lg); padding: 17px 20px;
  border: 1px solid var(--line-soft);
}
.float-card--stat { top: 26px; left: -26px; }
.float-card--stat .label { font-size: .78rem; color: var(--muted); line-height: 1.4; }
.float-card--stat .value {
  font-family: var(--ff-display); font-size: 1.95rem; font-weight: 600; color: var(--ok);
  display: flex; align-items: center; gap: 7px; line-height: 1.1; margin-block: 4px;
}
.float-card--stat .value svg { width: 17px; height: 17px; }
.float-card--stat .sub { font-size: .74rem; color: var(--muted-light); }

.float-card--quote {
  bottom: 24px; right: -24px; max-width: 320px;
  display: flex; gap: 14px; align-items: flex-start;
}
.float-card--quote p { font-size: .85rem; line-height: 1.55; color: var(--navy); font-style: italic; }
.float-card--quote .who { font-size: .76rem; color: var(--muted); font-style: normal; margin-top: 7px; }
.float-card--quote .who b { display: block; color: var(--navy); font-weight: 500; font-style: normal; }
.float-card--quote picture { display: block; flex: 0 0 auto; line-height: 0; }
.float-card--quote img, .float-card--quote .mono {
  width: 52px; height: 52px; border-radius: var(--r-sm); object-fit: cover; flex-shrink: 0;
  background: var(--navy); color: var(--gold); display: grid; place-items: center;
  font-family: var(--ff-display); font-size: 1.1rem; letter-spacing: .02em;
}

@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .split__copy { max-width: 640px; }
  .float-card--stat { left: 12px; top: 12px; }
  .float-card--quote { right: 12px; bottom: 12px; max-width: 280px; }
}
@media (max-width: 560px) {
  .float-card { position: static; margin-top: 14px; max-width: none; }
  .split__media { display: grid; gap: 0; }
}

/* ---------- Ablauf (3 Schritte) ---------- */
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; position: relative; }
.step3 {
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  padding: 34px 26px 30px; text-align: center; position: relative;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.step3:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--gold-300); }
.step3__num {
  position: absolute; top: -17px; left: 50%; transform: translateX(-50%);
  width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-size: .87rem; font-weight: 500;
  box-shadow: 0 4px 12px rgba(13,33,48,.22);
}
.step3__ico {
  width: 58px; height: 58px; margin: 10px auto 20px; border-radius: 50%;
  background: var(--gold-100); color: var(--gold-600); display: grid; place-items: center;
  border: 1px solid var(--gold-300);
}
.step3__ico svg { width: 25px; height: 25px; }
.step3 h3 { margin-bottom: 10px; }
.step3 p { font-size: .92rem; color: var(--muted); line-height: 1.62; }

@media (max-width: 860px) { .steps3 { grid-template-columns: 1fr; gap: 34px; } }

/* ---------- Markt-Statistik ---------- */
.market { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 72px); align-items: center; }
.statcard {
  background: var(--white); border-radius: var(--r-lg); box-shadow: var(--sh-md);
  padding: clamp(26px, 3.4vw, 38px); border: 1px solid var(--line-soft);
}
.statcard__head { font-size: .79rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.statcard__head svg { width: 14px; height: 14px; color: var(--gold-600); }
.statcard__main { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-top: 18px; }
.statcard__value { font-family: var(--ff-display); font-size: clamp(2.6rem, 5vw, 3.5rem); font-weight: 600; color: var(--navy); line-height: 1; }
.statcard__label { font-size: .93rem; color: var(--muted); margin-top: 8px; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 84px; }
.bars i {
  width: 13px; border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-300) 100%);
  transform-origin: bottom; transform: scaleY(0);
  animation: barGrow .85s var(--ease-out) forwards;
}
@keyframes barGrow { to { transform: scaleY(1); } }
.statcard__foot {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-soft);
  display: flex; align-items: center; gap: 9px; font-size: .87rem; color: var(--muted);
}
.statcard__foot svg { width: 15px; height: 15px; color: var(--ok); flex-shrink: 0; }

@media (max-width: 900px) { .market { grid-template-columns: 1fr; } }

/* ---------- Leistungs-Karten ---------- */
.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.scard {
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  padding: 30px 26px; display: flex; flex-direction: column;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.scard:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--gold-300); }
.scard__ico { width: 46px; height: 46px; border-radius: var(--r-sm); background: var(--gold-100); color: var(--gold-600); display: grid; place-items: center; margin-bottom: 20px; }
.scard__ico svg { width: 21px; height: 21px; }
.scard h3 { margin-bottom: 11px; }
.scard p { font-size: .91rem; color: var(--muted); line-height: 1.62; flex: 1; }
.scard__link {
  margin-top: 20px; font-size: .87rem; font-weight: 500; color: var(--navy);
  display: inline-flex; align-items: center; gap: 7px;
}
.scard__link svg { width: 13px; height: 13px; transition: transform .25s var(--ease-out); }
.scard:hover .scard__link svg { transform: translateX(4px); }

@media (max-width: 1040px) { .cards4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px)  { .cards4 { grid-template-columns: 1fr; } }

/* ---------- Team / Ansprechperson ---------- */
.team { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 72px); align-items: center; }
.team__media img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--sh-md); }
.team__list { display: flex; flex-direction: column; gap: 13px; margin-top: 28px; }
.team__list li { display: flex; align-items: flex-start; gap: 12px; font-size: .96rem; color: var(--navy); }
.team .btn { margin-top: 30px; }

.advisor {
  margin-top: 30px; display: flex; gap: 18px; align-items: center;
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  padding: 20px 22px; box-shadow: var(--sh-sm);
}
.advisor__mono {
  width: 62px; height: 62px; flex-shrink: 0; border-radius: 50%;
  background: var(--navy); color: var(--gold);
  display: grid; place-items: center;
  font-family: var(--ff-display); font-size: 1.3rem; letter-spacing: .02em;
}
.advisor__mono img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.advisor__name { font-size: 1rem; font-weight: 500; color: var(--navy); }
.advisor__role { font-size: .84rem; color: var(--gold-600); letter-spacing: .04em; text-transform: uppercase; margin-top: 2px; }
.advisor__contact { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 9px; font-size: .86rem; }
.advisor__contact a { color: var(--muted); display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.advisor__contact a:hover { color: var(--navy); }
.advisor__contact svg { width: 13px; height: 13px; color: var(--gold-600); }

@media (max-width: 900px) { .team { grid-template-columns: 1fr; } }

/* ---------- Ansprechperson (Johanna) ---------- */
.advisor-feature {
  display: grid; grid-template-columns: minmax(280px, 420px) 1fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.advisor-feature__media { position: relative; }
.advisor-feature__media img {
  width: 100%; border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  aspect-ratio: 4 / 5; object-fit: cover;
}
.advisor-feature__badge {
  position: absolute; right: -20px; bottom: 26px;
  display: flex; align-items: center; gap: 11px;
  background: var(--white); border: 1px solid var(--line-soft);
  border-radius: var(--r-md); box-shadow: var(--sh-lg); padding: 13px 18px;
}
.advisor-feature__badge span:last-child { font-size: .78rem; color: var(--muted); line-height: 1.4; }
.advisor-feature__badge strong { display: block; font-size: .87rem; color: var(--navy); font-weight: 500; }
.advisor-feature__pulse {
  width: 9px; height: 9px; border-radius: 50%; background: var(--ok); flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(47,125,85,.5); animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  70%  { box-shadow: 0 0 0 9px rgba(47,125,85,0); }
  100% { box-shadow: 0 0 0 0 rgba(47,125,85,0); }
}

.advisor-feature__copy { max-width: 560px; }
.advisor-feature__copy h2 { margin-bottom: 6px; }
.advisor-feature__role {
  font-size: .8rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--gold-600); margin-bottom: 24px;
}
.advisor-feature__quote {
  font-family: var(--ff-display); font-size: clamp(1.1rem, 1.7vw, 1.32rem);
  line-height: 1.6; color: var(--navy); font-style: italic;
  border-left: 2px solid var(--gold); padding-left: 22px; margin-bottom: 30px;
}
.advisor-feature__list { display: flex; flex-direction: column; gap: 17px; }
.advisor-feature__list li { display: flex; align-items: flex-start; gap: 14px; }
.advisor-feature__list span:last-child { font-size: .89rem; color: var(--muted); line-height: 1.55; }
.advisor-feature__list strong { display: block; font-size: .96rem; color: var(--navy); font-weight: 500; margin-bottom: 2px; }
.advisor-feature__ico {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%;
  background: var(--gold-100); color: var(--gold-600);
  display: grid; place-items: center; border: 1px solid var(--gold-300);
}
.advisor-feature__ico svg { width: 18px; height: 18px; }

.advisor-feature__actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 32px; }
.advisor-feature__actions .btn svg { width: 16px; height: 16px; }
.advisor-feature__actions .btn--ghost:hover .ico { transform: none; }

.team__note { margin-top: 26px; font-size: .93rem; color: var(--muted); }
.team__note a { color: var(--navy); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .advisor-feature { grid-template-columns: 1fr; }
  .advisor-feature__media { max-width: 420px; }
  .advisor-feature__copy { max-width: none; }
  /* Kompakter Chip statt breiter Karte – verdeckt weniger vom Bild */
  .advisor-feature__badge {
    right: auto; left: 14px; bottom: 14px;
    padding: 9px 14px; gap: 9px;
  }
  .advisor-feature__badge strong { font-size: .8rem; }
  .advisor-feature__badge span:last-child { font-size: .72rem; }
  .advisor-feature__pulse { width: 7px; height: 7px; }
}
@media (max-width: 480px) {
  .advisor-feature__actions .btn { width: 100%; }
}

/* ---------- Kundenstimmen ---------- */
.testi-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.testis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testi {
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  padding: 28px 26px; display: flex; flex-direction: column;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease);
}
.testi:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.testi p { font-size: .95rem; line-height: 1.68; color: var(--navy); flex: 1; }
.testi__who { margin-top: 20px; font-size: .86rem; color: var(--muted); }
.stars { display: flex; gap: 3px; margin-top: 12px; color: var(--gold); }
.stars svg { width: 15px; height: 15px; }

@media (max-width: 900px) { .testis { grid-template-columns: 1fr; } }

/* ---------- Abschluss-CTA ---------- */
.cta {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(64px, 8vw, 104px); color: #fff;
}
.cta__bg { position: absolute; inset: 0; z-index: -2; background: var(--navy); }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .34; }
.cta__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(96deg, rgba(13,33,48,.95) 0%, rgba(13,33,48,.80) 46%, rgba(13,33,48,.55) 100%);
}
.cta__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.cta .eyebrow { color: var(--gold); }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.8); margin-top: 16px; font-weight: 300; }
.cta .btn { margin-top: 30px; }
.cta__list { display: flex; flex-direction: column; gap: 14px; }
.cta__list li { display: flex; align-items: center; gap: 12px; font-size: .97rem; color: rgba(255,255,255,.94); }
.cta__list .check { background: rgba(218,173,129,.18); border-color: rgba(218,173,129,.42); color: var(--gold); }

@media (max-width: 860px) { .cta__grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,.72); padding-block: clamp(48px, 6vw, 68px) 30px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.footer__brand img { height: 34px; width: auto; margin-bottom: 18px; }
.footer__brand p { font-size: .89rem; line-height: 1.7; max-width: 300px; }
.footer h4 {
  font-family: var(--ff-body); font-size: .78rem; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 17px;
}
.footer__list { display: flex; flex-direction: column; gap: 11px; }
.footer__list a, .footer__list span { font-size: .89rem; color: rgba(255,255,255,.72); transition: color .2s var(--ease); }
.footer__list a:hover { color: var(--gold); }
.footer__list li { display: flex; align-items: flex-start; gap: 9px; }
.footer__list svg { width: 14px; height: 14px; color: var(--gold); flex-shrink: 0; margin-top: 4px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.13); padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: .83rem; color: rgba(255,255,255,.55);
}
.footer__bottom nav { display: flex; gap: 22px; }
.footer__bottom a:hover { color: var(--gold); }

@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; gap: 34px; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; } }

/* ---------- Scroll-Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Mobil-Sticky-CTA ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: 12px var(--gut) calc(12px + env(safe-area-inset-bottom));
  background: rgba(252,250,247,.94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .35s var(--ease-out);
  display: none;
}
.mobile-cta.is-shown { transform: none; }
@media (max-width: 720px) { .mobile-cta { display: block; } }

/* ---------- Rechtstexte ---------- */
.legal { padding-block: clamp(52px, 7vw, 88px); background: var(--paper); }
.legal__inner { max-width: 760px; margin-inline: auto; }
.legal h1 { margin-bottom: 12px; }
.legal h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin-top: 42px; margin-bottom: 14px; }
.legal h3 { margin-top: 26px; margin-bottom: 8px; }
.legal p, .legal li { color: var(--muted); font-size: .97rem; line-height: 1.75; }
.legal p + p { margin-top: 14px; }
.legal ul { margin: 14px 0 0; display: flex; flex-direction: column; gap: 8px; }
.legal ul li { padding-left: 18px; position: relative; }
.legal ul li::before { content: ''; position: absolute; left: 0; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.legal a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.legal__back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px; font-size: .89rem; color: var(--muted); }
.legal__back svg { width: 14px; height: 14px; }
.legal__back:hover { color: var(--navy); }
.legal table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: .92rem; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { color: var(--navy); font-weight: 500; }

/* ---------- Utilities ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
[hidden] { display: none !important; }
