/* =========================================
   Root-Setup (lokal je Seite)
   Diese Variablen definieren Farben, Typo,
   Spacing und Komponentenoptik.
   ========================================= */

:root {
  /* --------- Farb-Tokens --------- */
  --brand: #49a5a2;           /* Primärfarbe – bei Bedarf seitenweise ändern */
  --ink-h: #3c3c3c;           /* Überschriften */
  --ink-t: #4a4a4a;           /* Fließtext */
  --muted: #6b7280;           /* sekundärer Text */
  --bg: #ffffff;              /* Standard-Hintergrund */
  --card-bg: #ffffff;
  --border: rgba(0, 0, 0, .08);

  /* --------- Typografie-Skala --------- */
  /* Basis: mobil-first, wächst fluid */
  --fs-body: clamp(1rem, 0.95rem + 0.2vw, 1.05rem);
  --lh-body: 1.6;
  --lh-title: 1.25;

  /* Headings */
  --fs-h1: clamp(2.2rem, 1.4rem + 2.5vw, 3.2rem);
  --fs-h2: clamp(1.7rem, 1.2rem + 1.8vw, 2.4rem);
  --fs-h3: clamp(1.35rem, 1.05rem + 1.2vw, 1.8rem);
  --fs-h4: clamp(1.15rem, 1.0rem + 0.6vw, 1.35rem);

  /* Section title + body tokens (unified) */
  --fs-h2: clamp(1.6rem, 3.0vw, 2.5rem);
  --fs-h3: clamp(1.2rem, 2.4vw, 1.6rem);
  --fs-lead: clamp(1rem, 1.6vw, 1.08rem);           /* Intro text under h2 */
  --fs-info: clamp(13px, 1.5vw, 17px);              /* Information text size */

  /* Hero-Text (hell auf dunklem Hintergrund) */
  --hero-h1-size: clamp(2rem, 5.4vw, 3.2rem);
  --hero-h1-weight: 400;
  --hero-h1-color: #ffffff;
  --hero-p-size: clamp(1rem, 1.2vw, 1.1rem);
  --hero-p-weight: 100;
  --hero-p-color: #ffffff;
  --hero-eyebrow-color: #d6d6d6;

  /* Eyebrows (Standard / nicht Hero) */
  --eyebrow-color: var(--brand);
  --eyebrow-size: clamp(0.9rem, 1.6vw, 1.1rem);
  --eyebrow-letterspace: .12em;

  /* Cards */
  --card-title-size: clamp(1.5rem, 1.8vw, 1.6rem);
  --card-title-weight: 300;
  --card-title-color: var(--ink-h);
  --card-text-size: clamp(.98rem, 1.2vw, 1.05rem);
  --card-text-weight: 200;
  --card-text-color: var(--ink-t);
  --card-lineheight: 1.65;

  /* --------- Font Weights --------- */
  --fw-100: 100;
  --fw-200: 200;
  --fw-300: 300;
  --fw-400: 400;
  --fw-500: 500;
  --fw-600: 600;
  --fw-700: 700;

  /* --------- Spacing & Radius --------- */
  --space-2: .5rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-14: clamp(2.5rem, 2rem + 2vw, 4rem);
  --radius-l: 1rem;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, .06);
}

/* =========================================
   Globale Grundtypografie (optional)
   Greift automatisch, wenn du willst.
   ========================================= */
body {
  color: var(--ink-t);
  background: var(--bg);
  font-weight: var(--fw-400);
  line-height: var(--lh-body);
  font-size: var(--fs-body);
}

h1, h2, h3, h4 {
  color: var(--ink-h);
  line-height: var(--lh-title);
  font-weight: var(--fw-600);
}

a { color: var(--brand); text-decoration: none; }

/* Eyebrow */
.eyebrow {
  color: var(--eyebrow-color);
  text-transform: uppercase;
  letter-spacing: var(--eyebrow-letterspace);
  font-size: var(--eyebrow-size);
  font-weight: var(--fw-500);
}

/* Hero-Spezialfälle */
.hero h1 {
  font-size: var(--hero-h1-size);
  font-weight: var(--hero-h1-weight);
  color: var(--hero-h1-color);
}

.hero p {
  font-size: var(--hero-p-size);
  line-height: var(--lh-body);
  color: var(--hero-p-color);
  font-weight: var(--hero-p-weight);
}

/* Cards */
.card .title {
  font-size: var(--card-title-size);
  font-weight: var(--card-title-weight);
  color: var(--card-title-color);
}

.card p {
  font-size: var(--card-text-size);
  font-weight: var(--card-text-weight);
  line-height: var(--card-lineheight);
  color: var(--card-text-color);
}



:root{
  --brand:#49a5a2;
  --line:#e7e7e7;
  --text:#2b2b2b;
  --muted:#4a4a4a;
  --card-bg:#ffffff;
  --radius:6px;

  /* Hero-Theming (pro Seite überschreibbar) */
  --hero-img:url("assets/images/h3.png");
  --hero-reveal-bg:#49a5a22d; 
  --hero-ink:#1f6e6a;
}

*{box-sizing:border-box;}

html,body{
  max-width:100%;
  overflow-x:hidden;
  scroll-behavior:smooth;
}

body {
  margin:0;
  color:var(--text);
  background:#fff;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* (Optional) Divider global */
.mini-divider{
  display:flex;
  justify-content:center;
  padding:clamp(20px,4vw,36px) 0;
}

.hero-underline {
  display:block;
  width:clamp(160px,18vw,280px);
  height:2px;
  margin:16px auto 0;
  background:radial-gradient(circle at center, rgba(58,166,160,1) 0%,
    rgba(58,166,160,.6) 40%, rgba(58,166,160,0) 100%);
  border-radius:2px;
  opacity:.9;
}

/* =========================
   HERO – Parallax/Shrink
   ========================= */
.about-hero.parallax{
  --p:0;                                 /* progress 0..1 (vom Script gesetzt) */
  --heroShift:calc(12px * var(--p));
  --heroRadius:calc(26px * var(--p));
  position:relative;
  background:var(--hero-reveal-bg);
  isolation:isolate;
}

.about-hero.parallax .ah-top{
  position: sticky; 
  top: 0;
  height: var(--heroFixedH);
  min-height: var(--heroFixedH);
  display: grid;
  place-items: end start;                 /* ⬅️ unten links statt Mitte */
  padding: clamp(18px, 3vw, 32px);        /* Innenabstand zum Rand */
  overflow: hidden;
  border-bottom-left-radius: var(--heroRadius);
  border-bottom-right-radius: var(--heroRadius);
  transform: scale(calc(1 - 0.035 * var(--p)));
  will-change: transform, border-radius;
  backface-visibility: hidden;
  z-index: 1;
}

/* Bildlayer (mit Scale/Shift) */
.about-hero.parallax .ah-media{
  position:absolute; 
  inset:0;
  background:var(--hero-img) center/cover no-repeat, #dfe7ee;
  transform:translateY(calc(var(--heroShift) * -1)) scale(calc(1 + 0.18 * var(--p)));
  transform-origin:center;
  will-change:transform;
  border-bottom-left-radius:inherit;
  border-bottom-right-radius:inherit;
  z-index:0;
}

/* Overlay – gleiche Bewegung wie Bild (keine helle Kante) */
.about-hero.parallax .ah-overlay{
  position:absolute; 
  inset: 0;
  background:linear-gradient(
    to top,
    rgba(0,0,0,.82) 0%,
    rgba(0,0,0,.64) 38%,
    rgba(0,0,0,.44) 70%,
    rgba(0,0,0,0.1) 100%);
  transform:translateY(calc(var(--heroShift) * -1)) scale(calc(1 + 0.18 * var(--p)));
  transform-origin:center;
  will-change:transform;
  border-bottom-left-radius:inherit;
  border-bottom-right-radius:inherit;
  z-index:1;
}

/* Feines Korn (optional) */
.about-hero.parallax .ah-top::before{
  content:""; position:absolute; 
  inset:0;
  background-image:url("assets/ui/grain-128.png");
  background-repeat:repeat; 
  background-size:140px 140px; 
  opacity:.12;
  pointer-events:none; 
  z-index:2;
}

/* Text im Hero */
.about-hero.parallax .ah-content{
  position: relative;
  z-index: 3;
  text-align: left;
  padding: 0 clamp(18px, 3vw, 32px) 
           clamp(28px, 10vh, 120px);
  will-change: opacity, transform;
  opacity: calc(1 - 0.9 * var(--p));
  transform: translateY(calc(-12px * var(--p)));
  align-self: end;
  justify-self: start;
  width: min(900px, 92vw);
}

 #about-hero-title {
   margin: 12px 0 20px;
   font-family: "Kaisei Tokumin", serif;
   font-weight: 300 !important;
   font-size: clamp(2.4rem, 5.4vw, 4.2rem);
   line-height: 1.1;
   color: #fff;
   text-shadow: 0 2px 20px rgba(0,0,0,.14);
 }

 .about-hero.parallax .ah-content p{
   font-size: 1.2rem;
   line-height: 1.6;
   max-width: 60ch;
   opacity: 1.0;
   font-weight: 100 !important;
 }

.about-hero.parallax .ah-kicker{
  margin: 0; 
  max-width: 60ch;
  font-size: 1.2rem; 
  font-weight: 200; 
  line-height: 1.6;
  letter-spacing: .02em;
  color: rgb(235, 235, 235);
  text-align: left;
}

/* =========================
   Glass CTA Button (Hero & Reveal)
   ========================= */
.glass-btn, .hero-cta, .btn-primary.hero-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 15px 56px 15px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 1rem;
  line-height: 1;
  font-weight: 200;
  color: #fff;
  background: #49a5a2;
  box-shadow: 0 8px 32px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.18);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  margin-top: 15px;
}

.glass-btn:hover, .hero-cta:hover, .btn-primary.hero-cta:hover {
  background: #2f918b;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,.20);
}
.glass-btn:active{ transform: translateY(0); }

/* Dark-on-light variant (Reveal auf hellem Hintergrund) */
.glass-btn.glass-btn--ink{
  --glass-bg: color-mix(in srgb, var(--hero-ink) 10%, transparent);
  --glass-bd: color-mix(in srgb, var(--hero-ink) 24%, transparent);
  --glass-tx: var(--hero-ink);
}
.glass-btn.glass-btn--ink:hover{
  background: color-mix(in srgb, var(--hero-ink) 16%, transparent);
  border-color: color-mix(in srgb, var(--hero-ink) 36%, transparent);
}

/* Positionierung im Hero & in der Reveal-Sektion */
.about-hero.parallax .ah-cta{ margin-top: clamp(14px, 2.2vw, 24px); }
.about-hero.parallax .ah-reveal .glass-btn{ margin-top: clamp(10px, 1.8vw, 18px); }


/* =========================
   Hero Stats (Right Side)
   ========================= */
.ah-stats{
  position:absolute;
  right: clamp(150px,5vw,72px);
  bottom: clamp(28px,10vh,120px);
  display:flex;
  gap: clamp(16px,2.2vw,24px);
  z-index:4;
}

.stat-card{
  background: linear-gradient(
      to top,
      rgba(0,0,0,0.65) 0%,
      rgba(0,0,0,0.32) 40%,
      rgba(0,0,0,0.12) 60%,
      rgba(0,0,0,0.00) 100%
  ) !important;
  border-radius: 14px;
  padding: clamp(16px,2vw,22px) clamp(22px,2.4vw,28px);
  text-align:center;
  color:#fff;
  min-width: 150px;
}

.stat-number{
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  line-height:1;
  margin:0 0 4px 0;
}

.stat-label{
  margin:0;
  font-size: clamp(.9rem,1.4vw,1rem);
  font-weight:300;
  opacity:.9;
}

/* Mobile: Stats unter den Hero-Text stacken */
@media(max-width:900px){
  .ah-stats{
    display: none !important;
    position:relative;
    right:auto;
    bottom:auto;
    margin-top: -80px;
    justify-content:flex-start;
    align-items:flex-start;
    padding-left: clamp(18px,3vw,32px);
    gap: 10px;
    width: 100%;
    transform:none;
  }
  .stat-card{
    min-width: 96px;
    padding: 10px 14px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,.18);
  }
  .stat-number{
    font-size: clamp(1.6rem,3.4vw,2.2rem);
  }
}

/* =========================
   REVEAL – unter dem Bild
   ========================= */
.about-hero.parallax .ah-reveal{ position:relative; z-index:0;
  padding:clamp(44px,7vw,96px) 0 clamp(64px,9vw,120px); }
.about-hero.parallax .ah-reveal__wrap{ width:min(1100px,92%); margin:0 auto; text-align:left; }

.about-hero.parallax .ah-eyebrow{
  margin:0 0 10px; text-transform:uppercase; letter-spacing:.16em;
  font-size:.85rem; font-weight:300; color:var(--hero-ink); max-width:44ch;
}
.about-hero.parallax .ah-subtitle{
  margin: 0 0 8px;
  font-family: "Kaisei Tokumin", serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.2;
  color: var(--hero-ink);
  max-width: 44ch;
  margin-top: 30px;
}
.about-hero.parallax .ah-lead{
  margin: 0 0 clamp(22px, 4vw, 34px);
  max-width: 64ch;
  color: var(--hero-ink);
  line-height: 1.65;
  font-weight: 300;
  margin-top: 30px;
}

/* Features */
.about-hero.parallax .ah-feats {
  list-style: none;
  margin: clamp(10px, 2vw, 16px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 36px);
  align-items: start;
  justify-items: start;
  margin-top: 100px;
}
@media (max-width:900px){ .about-hero.parallax .ah-feats{ grid-template-columns:1fr; } }

.about-hero.parallax .ah-feat{ display:block; text-align:left; background:none; border:none; box-shadow:none; padding:0; width:100%; max-width:420px; }
.about-hero.parallax .ah-feat-ico{ width:44px; height:44px; object-fit:contain; display:block; margin:0 0 10px 0; filter:saturate(.95); }
.about-hero.parallax .ah-feat h3{
  margin: 0 0 6px 0;
  font-family: "Kaisei Tokumin", serif;
  font-weight: 300;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--hero-ink);
  line-height: 1.3;
  margin-top: 20px;
}
.about-hero.parallax .ah-feat p{
  margin: 0;
  color: var(--hero-ink);
  line-height: 1.6;
  font-weight: 300;
  font-size: .95rem;
  max-width: 55ch;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  margin-top: 30px;
}

/* Responsive Tweaks */
@media (max-width:1199px){
  #about-hero-title,
  .about-hero.parallax .ah-content h1,
  .finance-hero .ah-content h1 {
    max-width: 22ch;
    margin-inline: 0;
    text-align: left;
  }
  .about-hero.parallax .ah-kicker,
  .finance-hero .ah-kicker {
    max-width: 54ch;
    margin-inline: 0;
    text-align: left;
  }
  .about-hero.parallax .ah-eyebrow,
  .about-hero.parallax .ah-subtitle,
  .about-hero.parallax .ah-lead,
  .finance-hero .ah-eyebrow,
  .finance-hero .ah-subtitle,
  .finance-hero .ah-lead {
    max-width: 44ch;
  }
}
@media (max-width:767px){
  .about-hero.parallax .ah-content,
  .finance-hero .ah-content {
    width: min(92vw, 640px);
    text-align: left;
  }

  #about-hero-title,
  .about-hero.parallax h1,
  .finance-hero .ah-content h1 {
    font-size: clamp(2.5rem, 7.2vw, 2.5rem) !important;
    line-height: 1.15;
    max-width: 50ch !important;
    margin: 0 0 8px 0;
    text-align: left;
  }

  .about-hero.parallax .ah-kicker,
  .finance-hero .ah-kicker {
    font-size: 1.1rem !important;
    max-width: 75ch !important;
    font-weight: 300 !important;
    margin: 0;
    text-align: left;
    line-height: 1.3;
  }

  .about-hero.parallax .ah-eyebrow,
  .about-hero.parallax .ah-subtitle,
  .about-hero.parallax .ah-lead,
  .finance-hero .ah-eyebrow,
  .finance-hero .ah-subtitle,
  .finance-hero .ah-lead {
    max-width: 34ch;
  }
}

/* Deactivate potential view-timeline animations */
@supports (animation-timeline: view()){
  .about-hero.parallax .ah-top{animation:none !important;}
}

/* Motion-Respect */
@media (prefers-reduced-motion: reduce){
  .about-hero.parallax .ah-top,
  .finance-hero .ah-top { transform: none !important; box-shadow: none !important; }
  .about-hero.parallax .ah-media,
  .finance-hero .ah-media { transform: none !important; }
}


/* =========================
   Abschnitt "About" unter dem Hero
   ========================= */
.about-lead {
  position: relative;
  background: #fff;
  padding-top: clamp(28px, 6vw, 48px);
  padding-bottom: clamp(28px, 6vw, 56px);
  margin-top: -28px;            /* Linie leicht in den Hero „hineinziehen“ */
}

/* Vertikale Linie in der Mitte */
.about-divider {
  width: 2px;
  height: clamp(36px, 6vw, 56px);
  background: #3aa6a0;
  margin-left: auto;
  margin-right: auto;
  border-radius: 2px;
  margin-top: -75px;
}



/* ========== Baufinanzierung – Hero: Mobile & Tablet wie „Über uns“ ========== */


@media (max-width: 1199px){
  .about-hero,
  .finance-hero{ --cut-depth: 16%; }

  .about-hero .ah-content,
  .finance-hero .ah-content{ padding-inline: 24px; }

  .about-hero .ah-content h1,
  .finance-hero .ah-content h1{
    max-width: 22ch;
    margin-inline: 0;
    text-align: left;
  }

  .about-hero .ah-kicker,
  .finance-hero .ah-kicker{
    max-width: 54ch;
    margin-inline: 0;
    text-align: left;
  }
}


@media (max-width: 767px){

  .about-hero,
  .finance-hero{
    --cut-depth: 14%;
    --hero-min-h: clamp(360px, 56vh, 560px);
  }

  .about-hero .ah-content,
  .finance-hero .ah-content{
    padding-inline: 16px;
    width: min(92vw, 640px);
    text-align: left;            /* linksbündig auch mobil */
  }

  .about-hero .ah-content h1,
  .finance-hero .ah-content h1{
    font-size: clamp(1.6rem, 7.2vw, 2.2rem);
    line-height: 1.15;
    max-width: 20ch;
    margin: 0 0 8px 0;           /* nicht zentrieren */
    text-align: left;
  }

  .about-hero .ah-kicker,
  .finance-hero .ah-kicker{
    font-size: .95rem;
    font-weight: 200;
    color: rgba(215,215,215,.9);
    max-width: 30ch;
    margin: 0;                   /* links statt zentriert */
    text-align: left;
  }

  /* Abschnitt unter dem Hero (falls auch hier genutzt) */
  .about-lead{
    padding-top: clamp(18px, 5vw, 28px);
    padding-bottom: clamp(22px, 6vw, 36px);
    margin-top: -18px;
  }
  .about-divider{
    height: 40px;
    margin-top: -46px;
  }
}

/* Sehr klein (≤ 360px) */
@media (max-width: 360px){
  .about-hero .ah-content h1,
  .finance-hero .ah-content h1{ font-size: 1.5rem; }
  .about-hero .ah-kicker,
  .finance-hero .ah-kicker{ font-size: .9rem; }
}







:root{
  --gk-brand:#3aa6a0;      /* Gecko Türkis */
  --neg:#d84a4a;           /* Rot für Nachteile */
  --ink:#2f2f2f;
  --muted:#7a7a7a;
}

/* Übernommene Typo-Klassen */
.gk-eyebrow{
  text-transform: uppercase;
  letter-spacing: var(--eyebrow-letterspace);
  font-size: var(--eyebrow-size);
  color: var(--brand);
  text-align: left;
  margin: 0 auto 6px;
  font-weight: var(--fw-200);
  max-width: 70ch;
}

.gk-title {
  font-family: "Kaisei Tokumin", serif;
  text-align: left;
  font-size: var(--fs-h1);
  line-height: var(--lh-title);
  font-weight: var(--fw-500);
  color: var(--ink-h);
  max-width: 70ch;
  margin: 0 auto 8px;
  padding-left: 0;
  display: block;
  width: 100%;
  box-sizing: border-box;
}

.gk-compare-head {
  text-align: left;              /* alles innerhalb linksbündig */
  display: flex;
  flex-direction: column;
  align-items: flex-start;       /* statt center */
  justify-content: center;
  width: min(1100px, 92%);
  margin: 0 auto;                /* zentriert den gesamten Block */
  box-sizing: border-box;
}

.gk-compare-head > * {
  text-align: left;
  width: 100%;
  max-width: none;               /* kein zusätzliches Limit */
  margin: 0;
}

.gk-intro {
  text-align: left;
  color: var(--ink-t);
  margin: 0 0 clamp(22px, 3vw, 34px) 0;
  max-width: 70ch;
  line-height: var(--lh-body);
  font-size: var(--fs-lead);
  font-weight: var(--fw-300);
  align-self: flex-start;
}

/* Sektion */
.gk-compare-simple{
  padding: clamp(28px,5vw,60px) 16px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: block;
}
.gk-compare-head{margin-bottom: clamp(18px,3.2vw,36px);}

/* Zweispaltig */
.gk-compare-cols{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px,3vw,44px);
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
  grid-auto-rows: 1fr;
}
@media (max-width: 900px){
  .gk-compare-cols{grid-template-columns: 1fr; gap: 28px;}
}

.gk-compare-card {
  background: #f7f7f7;
  border-radius: 16px;
  padding: clamp(24px,3vw,36px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  height: 100%;
}

/* Spaltentitel */
.gk-col-title{
  margin:0 0 10px; font-size: clamp(1.05rem,1.6vw,1.2rem); font-weight:700; color:#3c3c3c;;
}
.gk-col-title--neg{ color: var(--neg); font-size: 30px; margin-bottom: 20px; }
.gk-col-title--pos{ color: var(--gk-brand); font-size: 30px; margin-bottom: 20px; }

/* Bulletlisten – ohne Rahmen/Kästen */
.gk-bullets{ list-style:none; margin:0; padding:0; display:grid; gap:12px; }
.gk-bullets li{
  position:relative; padding-left:40px; color:#4a4a4a; line-height:1.45;
}

/* Icon-Badge (Kreis) */
.gk-bullets li::before{
  content:"";
  position:absolute; left:0; top:50%; transform:translateY(-50%);
  width:24px; height:24px; border-radius:50%; display:block;
  border:1px solid currentColor; background:#fff;
}

/* Kreuz/Check als Pseudo-Zeichen */
.gk-bullets--neg li{ color:#555; }
.gk-bullets--neg li::before{
  border-color: color-mix(in srgb, var(--neg) 70%, #fff);
  box-shadow: 0 2px 8px rgba(216,74,74,.12);
}
.gk-bullets--neg li::after{
  content:"✕"; position:absolute; left:0; top:50%; transform:translate(0, -50%);
  width:24px; height:24px; display:grid; place-items:center;
  color:var(--neg); font-size:.9rem; font-weight:700;
}

.gk-bullets--pos li{ color:#364544; }
.gk-bullets--pos li::before{
  border-color: color-mix(in srgb, var(--gk-brand) 70%, #fff);
  background:#e9f8f5;
  box-shadow: 0 2px 8px rgba(58,166,160,.12);
}
.gk-bullets--pos li::after{
  content:"✓"; position:absolute; left:0; top:50%; transform:translate(0, -50%);
  width:24px; height:24px; display:grid; place-items:center;
  color:#0d6a63; font-size:.9rem; font-weight:800;
}

/* Fade-in-up Effekt */
[data-animate="fade-up"]{
  opacity:0; transform: translateY(60px);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}
.is-inview[data-animate="fade-up"]{
  opacity:1; transform: translateY(0);
}
/* Container mittig fixen */
.gk-compare-simple{
  padding: clamp(28px,5vw,60px) 16px;
}

.gk-compare-cols{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px,3vw,44px);
  align-items:start;
  max-width: 1100px;
  margin: 0 auto;
}

/* =========================
   Compare – Footnote + CTA
   ========================= */
.gk-compare-foot {
  width: min(1100px, 92%);
  margin: clamp(40px, 6vw, 60px) auto 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(16px, 2vw, 24px);
  box-sizing: border-box;
}

.gk-footnote {
  flex: 0 0 auto;
  font-size: 1rem;
  font-weight: 300;
  color: #222;
  line-height: 1.6;
  margin: 0;
}

.gk-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 56px 14px 28px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 300;
  text-decoration: none;
  color: #fff;
  background-color: #49a5a2;
  border: none;
  cursor: pointer;
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
  margin-top: 8px;
  position: relative;
  overflow: visible !important;
}

.gk-cta:hover {
  background: #2f918b;
  box-shadow: 0 10px 22px rgba(0,0,0,.20);
}

/* Pfeil-Animation */
.gk-cta .cta-arrow {
  position: absolute;
  right: 22px;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translate(0,-50%);
  opacity: 1;
  transition: opacity .2s ease;
  pointer-events: none;
  z-index: 2;
}

.gk-cta:hover .cta-arrow {
  animation: cta-arrow-loop .45s cubic-bezier(.22,.8,.25,1) both;
}

@keyframes cta-arrow-loop {
  0%   { transform: translate(0,-50%); opacity: 1; }
  40%  { transform: translate(10px,-70%); opacity: 0; }
  50%  { transform: translate(-12px,-30%); opacity: 0; }
  100% { transform: translate(0,-50%); opacity: 1; }
}

@media (max-width: 900px){
  .gk-compare-cols{
    grid-template-columns: 1fr;
    gap: 28px;
  }
}





/* =========================
   INS-STEPS — Header / Title Block (inline, non-intrusive)
   ========================= */
.ins-header {
  position: relative;
  width: min(1200px, 92%);
  margin: 0 auto clamp(40px, 6vw, 80px);
  padding-inline: clamp(16px, 3vw, 32px);
  text-align: left;
}

.ins-header .ins-eyebrow {
  margin: 0 0 6px 0;
  text-transform: uppercase;
  font-size: var(--eyebrow-size);
  color:  #ffffff00 !important;
  font-weight: 200;
}

.ins-header .ins-title {
  margin: 0;
  font-family: "Kaisei Tokumin", serif !important;
  font-weight: var(--fw-500);
  font-size: var(--fs-h1);
  line-height: var(--lh-title);
  color: var(--ink-h);
}
.ins-highlight {
  color: #b0b0b0; /* helles Grau */
  font-weight: 400;
  letter-spacing: 0.3px;
}

/* Section padding neutral (keine Verschiebung für Sticky) */
.ins-steps {
  position: relative;
  padding-top: clamp(80px, 12vw, 140px);
  padding-bottom: clamp(80px, 12vw, 140px);
}

.ins-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(40px, 6vw, 80px);
  width: min(1200px, 92%);
  margin: 0 auto;
  padding-inline: clamp(16px, 3vw, 32px);
}

/* Linke Spalte: Scrollbare Karten */
/* Adjusted width: slightly narrower left cards */
.ins-left {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  gap: clamp(80px, 12vh, 140px);
  min-height: 180vh;
}

.ins-card {
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .08);
  overflow: hidden;
  opacity: 0.85;
  transform: scale(.96);
  transition: transform .3s ease, box-shadow .3s ease, opacity .3s ease;
}
.ins-card.active {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 16px 40px rgba(0,0,0,.15);
}
.ins-card img {
  width: 100%;
  height: clamp(240px, 30vh, 360px);
  object-fit: cover;
  display: block;
}
.ins-card-body {
  padding: clamp(20px, 2vw, 28px);
}
.ins-card-body h3 {
  margin-bottom: 6px;
  color: #222;
}
.ins-card-body p {
  color: #555;
  font-weight: 300;
  line-height: 1.6;
}

/* Rechte Spalte: Sticky Block */
/* Sticky Block: bleibt sauber innerhalb der Sektion, kein Sprung */
.ins-sticky {
  position: sticky;
  top: 45vh;
  background: #fff;
  z-index: 5;
  padding: clamp(24px, 3vw, 36px);
  border-radius: 12px;
  max-width: 650px;
  width: 100%;
  align-self: flex-start;
  transition: none;
}

/* sorgt dafür, dass sticky innerhalb der Sektion aufhört */
/* Adjusted width: slightly wider sticky block */
.ins-right {
  display: flex;
  align-items: flex-start;
  flex: 0 0 65%;
  position: relative;
  height: fit-content;
}

/* Remove duplicate (overriding) .ins-left rule, keep only the above with updated flex-basis */

/* Verhindert, dass Sticky über die Sektion hinausragt */
.ins-steps {
  position: relative;
  overflow: hidden; /* blockiert Überlauf */
}

.ins-wrap {
  align-items: stretch; /* sorgt für sauberes Scrollverhalten */
}

.ins-right {
  position: relative;
  flex: 0 0 45%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
}
.ins-sticky h2 {
  margin: 0 0 6px;
  font-family: "Kaisei Tokumin", serif !important;
  font-weight: var(--fw-300) !important;
  font-size: var(--fs-h2);
  line-height: var(--lh-title);
  color: var(--ink-h);
  margin-top: 20px;
}
.ins-sticky p {
  margin-top: auto;
  margin-bottom: 30px;
  margin-top: 20px;
  color: var(--ink-t);
  line-height: var(--lh-body);
  font-size: var(--fs-info);
  font-weight: var(--fw-300);
}

/* === Sticky Fix: context + height alignment === */
.ins-steps,
.ins-wrap,
.ins-right {
  overflow: visible !important;
  transform: none !important;
  contain: none !important;
}

/* Liste im Sticky-Bereich */
.ins-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ins-list li {
  position: relative;
  padding-left: 18px;
  color: #777;
  transition: color .3s ease;
  line-height: var(--lh-body);
  font-size: var(--fs-info);
  font-weight: var(--fw-300);
}
.ins-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #ccc;
}
.ins-list li.active {
  color: #49a5a2;
}
.ins-list li.active::before {
  color: #49a5a2;
}

/* Mobile Fallback (Sticky unter dem Header, Karten scrollen vorbei) */
@media (max-width: 900px) {
  .ins-wrap {
    flex-direction: column;
    position: relative;
  }

  .ins-right {
    order: 1;
    position: sticky;
    top: 5vh;
    z-index: 5;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,.15);
    padding: clamp(24px, 5vw, 40px);
    padding-left: clamp(32px, 6vw, 56px);
    padding-right: clamp(32px, 6vw, 56px);
    width: 100%;
    max-width: 100% !important;
    margin: 0 auto;
    box-sizing: border-box;
    color: #ffffff; /* Textfarbe weiß */
    text-align: left;
  }

  .ins-sticky {
    background: #2c2c2c !important;
    border-radius: 12px;
    padding: clamp(24px, 5vw, 40px);
    width: min(84vw, 600px) !important;
    margin: 0 auto !important;
    box-sizing: border-box;
  }

  .ins-right {
    padding-inline: 16px;
  }

  .ins-sticky h2,
  .ins-list li {
    color: #ffffff;
  }

  .ins-list li::before {
    color: rgba(255,255,255,0.6);
  }

  .ins-sticky p {
    display: none; /* Text im Sticky-Block ausblenden */
  }

  .ins-card {
    margin-bottom: clamp(16px, 5vw, 28px);
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0,0,0,.08);
    overflow: hidden;
  }
  .ins-card-body {
    padding: clamp(16px, 3vw, 20px);
  }

  .ins-left {
    order: 2;
    margin-top: clamp(16px, 4vw, 24px);
    flex: 1 1 auto;
  }

  .ins-card {
    margin-bottom: clamp(24px, 6vw, 40px);
  }

  .ins-steps {
    overflow: visible;
  }
}









/* === Wrapper / Grundlayout === */
.why-band{
  position: relative;
  overflow: hidden;
  background: #ffffff;
  padding: clamp(56px, 8vw, 120px) 0;
  color: #0f1115;
  /* Einheitliche Zielhöhe für beide Grid-Reihen (Card + Bild) */
  --wb-row-h: clamp(320px, 42vw, 560px);
}
.wb-wrap{ width:min(1200px,92%); margin:0 auto; position:relative; }

/* Halbtransparenter Großschriftzug im Hintergrund */
.wb-bgword{
  position: absolute;
  inset: 0 auto auto 56%;
  transform: translateX(-44%);
  font-family: "Kaisei Tokumin", serif;
  font-weight: 700;
  letter-spacing: .02em;
  font-size: clamp(140px, 32vw, 470px);
  line-height: .85;
  color: rgba(54, 54, 54, 0.075);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  margin-top: -80px;
}

@media (max-width: 900px){
  /* BG-Word sauber zentrieren + hinter Content halten */
  .wb-bgword{
    top: clamp(80px, 18vw, 160px);
    left: 50%;
    right: auto;
    bottom: auto;
    transform: translate(-50%, -8%);
    font-size: clamp(120px, 48vw, 320px);
    line-height: .9;
    margin-top: 0;           /* nicht nach oben abschneiden */
    z-index: 0;              /* unter Content */
  }
  /* Alles außer dem BG‑Word über das BG‑Word legen */
  .wb-wrap > *:not(.wb-bgword){ position: relative; z-index: 1; }
}

/* Kopfbereich */
.wb-eyebrow{
  display:block;           /* volle Breite, einfacher zu zentrieren */
  width:100%;
  letter-spacing:.15em;
  text-transform:uppercase;
  font-size: var(--eyebrow-size);
  margin-bottom:10px;
  text-align:center;
  margin-left:auto;
  margin-right:auto;
  color: var(--brand);
  font-weight: var(--fw-200);
}
.wb-title{
  font-family: "Kaisei Tokumin", serif;
  line-height: var(--lh-title);
  letter-spacing: -.01em;
  margin: 8px 0 12px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 38ch;
  font-size: var(--fs-h1) !important;
  color: var(--ink-h);
  font-weight: var(--fw-500);
}
.wb-intro{
  max-width: 75ch;
  line-height: var(--lh-body);
  margin: 0 0 clamp(24px,4vw,40px);
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  font-size: var(--fs-lead);
  color: var(--ink-t);
  font-weight: var(--fw-200) !important;
}



/* Grid – 2 Reihen, 2 Spalten */
/* Grid – 2 Reihen, 2 Spalten */
.wb-grid{
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  grid-auto-rows: var(--wb-row-h);
  grid-template-rows: var(--wb-row-h) var(--wb-row-h);
  gap: clamp(18px, 2.6vw, 28px);
  align-items: stretch;
  place-items: stretch;
  margin-top: 200px;
  align-content: stretch;    /* make grid tracks fill the container */
  align-items: stretch;      /* make children stretch fully */
}

.wb-grid > * {
  height: 100%;
  min-height: 0 !important; /* verhindert, dass Inhalte die Zeilenhöhe aufsprengen */
}

/* Karten & Medien */
.wb-card{
  background: #242424;               /* gleiche Farbe wie Panel */
  border-radius: 22px;
  padding: clamp(20px, 2.8vw, 28px);
  box-shadow: 0 18px 42px rgba(0,0,0,.08);
  display: flex;
  flex-direction: column;            /* Titel oben, Inhalt unten */
  gap: 14px;
  min-height: clamp(260px, 32vw, 420px);
  margin: 0;                 /* prevent accidental margins from variants */
}

.wb-card--info{
  grid-column: 1;
  grid-row: 1;
}

.wb-media{
  position: relative;
  background: #f8f8f8;
  border-radius: 22px;
  overflow: hidden;
  
  margin: 0; 
}
.wb-media img{ width:100%; height:100%; object-fit:cover; display:block; }

/* Einheitliche Höhe für beide Reihen */
.wb-card, .wb-media { height: 100%; min-height: 0 !important; }

/* Reihe 1 */
.wb-card--info { height: 100%; min-height: 0; }
.wb-media--hero { height: 100%; min-height: 0; }

/* Reihe 2 */
.wb-media--chart { height: 100%; min-height: 0; }
.wb-card--panel { height: 100%; min-height: 0; }

/* Row 1 – großes Bild rechts */
.wb-media--hero{
  grid-column: 2;
  grid-row: 1;
}

/* Row 2 – kleines Bild links */
.wb-media--chart{
  grid-column: 1;
  grid-row: 2;
  background:#fff;
}

/* Row 2 – großes Panel rechts (gleiches Layout wie Card) */
.wb-card--panel{
  grid-column: 2;
  grid-row: 2;
  background: #242424;
  display: flex;
  flex-direction: column;            /* Titel oben, Text unten */
}

/* Typo & Abstände in den Karten */
.wb-card-title{
  font-family: "Kaisei Tokumin", serif;
  font-weight:500;
  letter-spacing:-.01em;
  line-height:1.1;
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  margin: 0;                         /* steht ganz oben */
  color:#909090;                     /* an Panel-Farbe angepasst */
}

.wb-card-text{
  color:#909090;                     /* an Panel-Farbe angepasst */
  line-height:1.7;
  margin: 0;
  margin-top: auto;
  font-size:clamp(.98rem,1.2vw,1.05rem);
  font-weight: 200;                 /* Text an den unteren Bereich drücken */
}

/* CTA sitzt ganz unten, kleiner Abstand zum Text */
.wb-btn{
  align-self:flex-start;
  margin-top: 10px;                  /* Abstand zum Text */
  background: #909090;
  color: #fff;
  text-decoration:none;
  font-weight: 200;
  font-size: 1rem;
  padding: 12px 20px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0,0,0,.15);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.wb-btn:hover{ background:#646464; transform: translateY(-2px); box-shadow:0 10px 22px rgba(0,0,0,.2); }



/* Panel-Card (2. Reihe rechts): Text ebenfalls unten */
.wb-panel-title{
  font-family: "Kaisei Tokumin", serif;
  font-weight:500;
  letter-spacing:-.01em;
  line-height:1.1;
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  margin: 0 0 8px;
  color:#909090;
}
.wb-panel-text{
  color:#909090;
  line-height:1.8;
  max-width: 72ch;
  margin: 0;
  margin-top: auto;
  font-size:clamp(.98rem,1.2vw,1.05rem);
  font-weight: 200;
}

/* Reveal-Up */
.reveal-up{ opacity:0; transform: translateY(24px); transition: opacity .5s ease, transform .6s cubic-bezier(.22,1,.36,1); }
.reveal-up.is-in{ opacity:1; transform: translateY(0); }

/* Responsive */
@media (max-width: 980px){
  .wb-grid{ 
    grid-template-columns: 1fr; 
    margin-top: clamp(40px, 10vw, 80px); /* weniger Luft auf Mobile */
    grid-auto-rows: auto; 
    grid-template-rows: none; 
  }
  /* Reihenfolge mobil:
     1) Großes Bild (hero)
     2) Infocard ohne Button (wb-card--info)
     3) Zweites Bild (chart)
     4) Infocard mit Button (wb-card--panel)
  */
  .wb-media--hero{  grid-column:1; grid-row:1; min-height: clamp(240px, 50vw, 460px); }
  .wb-card--info{   grid-column:1; grid-row:2; }
  .wb-media--chart{ grid-column:1; grid-row:3; }
  .wb-card--panel{  grid-column:1; grid-row:4; }
}





/* Ensure figures/images inside the why-band grid don't add extra vertical margins
   and always fill the track height exactly (matches Energie-Seite behavior) */
.why-band figure,
.wb-media figure {
  margin: 0 !important;            /* kill UA top/bottom margins */
  height: 100%;
}
.why-band figure > img,
.wb-media figure > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}






/* ===== FAQ (scoped) ===== */
.faq{
  --faq-ink: #0f1115;
  --faq-muted:#5d616a;
  --faq-border: rgba(15,17,21,.08);
  --faq-hover:#1b1f24;
  --faq-accent:#3aa6a0;

  background:#fff;
  color:var(--faq-ink);
  padding: clamp(40px, 6vw, 96px) 0;
}
.faq__wrap{
  width: min(1200px, 92%);
  margin: 0 auto;
}
.faq__eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:.9rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--faq-muted);
}
.faq__eyebrow::before{
  content:"";
  width:8px;height:8px;border-radius:50%;
  background:var(--faq-ink);
  display:inline-block;
}
.faq__title{
  font-family: "Kaisei Tokumin", serif !important;
  font-weight: var(--fw-500);
  font-size: var(--fs-h1);
  line-height: var(--lh-title);
  color: var(--ink-h);
  margin: 0;
}

.faq__list{
  margin: 16px 0 0;
  padding: 0;
  list-style:none;
}
.faq__item{
  border-bottom:1px solid var(--faq-border);
}

.faq__question{
  width:100%;
  background:none;
  border:0;
  text-align:left;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding: clamp(16px, 2.2vw, 22px) 0;
  font: inherit;
  color: var(--faq-ink);
  cursor:pointer;
  transition: transform .22s ease, color .22s ease;
  will-change: transform, color;
}
.faq__question:hover{
  color:var(--faq-hover);
  transform: translateX(10px);
}
.faq__question:focus-visible{
  outline: 2px solid color-mix(in srgb, var(--faq-accent) 60%, #fff);
  outline-offset: 2px;
  border-radius: 8px;
}

/* Plus/Minus Icon */
.faq__icon{
  flex:0 0 auto;
  width:34px; height:34px;
  border-radius:50%;
  background: #f4f6f8;
  position:relative;
  transition: background .2s ease, transform .2s ease;
}
.faq__question:hover .faq__icon{ background:#eef2f4; }
.faq__icon::before,
.faq__icon::after{
  content:"";
  position:absolute;
  top:50%; left:50%;
  width:14px; height:2px;
  background:#0f1115;
  transform: translate(-50%,-50%);
  border-radius:2px;
}
.faq__icon::after{ /* vertikaler Strich → Plus */
  transform: translate(-50%,-50%) rotate(90deg);
}
.faq__question[aria-expanded="true"] .faq__icon::after{
  opacity:0; /* wird zu Minus */
}
.faq__question[aria-expanded="true"] .faq__icon{
  background:#e9f5f3;
}

/* Antwort mit sanfter Höhen-Animation */
.faq__answer{
  overflow:hidden;
  max-height:0;
  transition: max-height .28s ease;
  will-change: max-height;
}
.faq__answer p{
  color:var(--faq-muted);
  line-height:1.7;
  margin: 0 0 clamp(16px,2vw,18px);
  padding-right: clamp(8px,2vw,12px);
  /* zusätzlicher Innenabstand oberhalb */
  padding-top: 4px;
}

/* Offen-State (per JS) */
.faq__item.is-open .faq__answer{
  /* max-height wird inline vom Script gesetzt; diese Klasse dient nur als Hook */
}

/* FAQ Footnote */
.faq__footnote{
  margin: clamp(14px, 2.2vw, 20px) 0 0;
  color: var(--faq-muted);
  line-height: 1.65;
  font-size: .95rem;
}

.faq__footnote a{
  color: var(--faq-accent);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: color .2s ease, border-color .2s ease;
}

.faq__footnote a:hover{
  color: var(--faq-ink);
  border-bottom-color: transparent;
}


/* kleinere Screens */
@media (max-width: 640px){
  .faq__title{ font-size: clamp(1.8rem, 8vw, 2.4rem); }
}




html, body{
  width: 100%;
  max-width: 100%;
  position: relative;
  overflow-x: clip; 
}



/* =========================
   Kontakt-Teaser (Versicherungen)
   1200px breit (zentriert), 800px hoch
   Bild vollflächig, Panel im rechten Drittel auf dem Bild
   ========================= */
.about-page .contact-teaser.contact-teaser--overlay{
  padding: clamp(24px, 4vw, 40px) 0;
}

.about-page .contact-teaser.contact-teaser--overlay .ct-wrap{
  position: relative;
  width: min(1175px, 90%) !important;
  height: 650px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
}

/* Bild nimmt die ganze Fläche der Sektion ein */
.about-page .contact-teaser.contact-teaser--overlay .ct-media{
  position: absolute;
  inset: 0;
  z-index: 0;
}
.about-page .contact-teaser.contact-teaser--overlay .ct-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

/* Farbpanel obenauf, im rechten Drittel, mit Abstand zum Rand */
.about-page .contact-teaser.contact-teaser--overlay .ct-panel{
  /* Manual offsets (visual balance) */
  --ct-top: clamp(40px, 4vw, 50px);
  --ct-right: clamp(52px, 5vw, 68px);   /* slightly larger to compensate perspective/crop */
  --ct-bottom: clamp(40px, 4vw, 50px);
  position: absolute;
  top: var(--ct-top);
  right: var(--ct-right);
  bottom: var(--ct-bottom);

  width: 50%; 
  min-width: 420px;
  max-width: 600px;

  background: var(--ct-bg, #b1d7d6);
  color: var(--ct-ink, #1f6e6a);
  border-top-left-radius: 14px;
  border-bottom-left-radius: 14px;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(12px, 2vw, 18px);
  padding: clamp(24px, 4vw, 48px);
  z-index: 2;
  box-shadow: none;
  outline: 1px solid rgba(0,0,0,.06); 

  /* Hinzugefügt: Grid-Layout für Panel */
  display: grid;
  grid-template-rows: 1fr auto auto;
  align-items: start;
  justify-items: start;
}

/* Typo im Panel */
.about-page .contact-teaser.contact-teaser--overlay .ct-title{
  margin: 0 0 8px 0;
  font-family: "Kaisei Tokumin", serif;
  font-weight: 300;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  line-height: 1.15;
  /* Hinzugefügt: Grid-Alignment */
  align-self: start;
  margin-bottom: 0;
  color: #1f6e6a;
}
.about-page .contact-teaser.contact-teaser--overlay .ct-lead{
  margin: 0 0 clamp(16px, 2.4vw, 22px) 0;
  font-weight: 300;
  line-height: 1.65;
  color: #1f6e6a;
  max-width: 46ch;
  /* Hinzugefügt: Grid-Alignment */
  align-self: end;
  margin: 0 0 10px 0;
}
/* Button-Styles für Kontakt-Teaser */
.about-page .contact-teaser.contact-teaser--overlay .ct-btn{
  align-self: end;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: #1f6e6a;
  color: #b1d7d6;
  text-decoration: none;
  font-weight: 300;
  font-size: 1rem;
  padding: 12px 56px 12px 28px; /* Platz für Pfeil rechts */
  border-radius: 999px;
  border: none;
  box-shadow: 0 6px 16px rgba(0,0,0,.15);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.about-page .contact-teaser.contact-teaser--overlay .ct-btn:hover{
  background: #2f918b;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,.20);
}

/* =====================================================
   MOBILE – bis 900px
   Bild oben, Card unten, beide 94% breit, zentriert
   ===================================================== */
@media (max-width: 900px) {

  /* Wrapper komplett neutralisieren */
  .contact-teaser.contact-teaser--overlay .ct-wrap {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;

    gap: 20px !important;
    height: auto !important;
    overflow: visible !important;
    border-radius: 0 !important;
  }

  /* Bild */
  .contact-teaser.contact-teaser--overlay .ct-media {
    width: 94% !important;
    margin: 0 auto !important;
    height: auto !important;
    position: relative !important;
    border-radius: 12px !important;
    overflow: hidden !important;
  }

  .contact-teaser.contact-teaser--overlay .ct-media img {
    width: 100% !important;
    height: 220px !important; /* Höhe wie gewünscht kleiner */
    object-fit: cover !important;
    border-radius: 12px !important;
  }

  /* Card */
  .contact-teaser.contact-teaser--overlay .ct-panel {
    width: 94% !important;
    max-width: 94% !important;
    min-width: unset !important;

    position: relative !important;
    inset: auto !important;

    background: var(--ct-bg, #b1d7d6) !important;
    border-radius: 12px !important;

    margin: 0 auto !important;
    padding: 24px 28px !important;
    box-sizing: border-box !important;

    display: grid !important;
    grid-template-rows: auto auto auto !important;
    gap: 16px !important;
  }
}


/* =====================================================
   TABLET – 900px bis 1200px
   Bild oben 94%, Card unten 94%, gleichbreit
   ===================================================== */
@media (min-width: 901px) and (max-width: 1200px) {

  .contact-teaser.contact-teaser--overlay .ct-wrap {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;

    gap: 28px !important;
    height: auto !important;
  }

  /* Bild */
  .contact-teaser.contact-teaser--overlay .ct-media {
    width: 94% !important;
    margin: 0 auto !important;
    height: auto !important;
    border-radius: 16px !important;
    overflow: hidden !important;
  }

  .contact-teaser.contact-teaser--overlay .ct-media img {
    width: 100% !important;
    height: 260px !important; /* Tablet etwas höher */
    object-fit: cover !important;
    border-radius: 16px !important;
  }

  /* Card */
  .contact-teaser.contact-teaser--overlay .ct-panel {
    width: 94% !important;
    max-width: 94% !important;
    min-width: unset !important;

    position: relative !important;
    inset: auto !important;

    border-radius: 16px !important;
    padding: 32px !important;
    margin: 0 auto !important;
  }
}



 /* =========================
   RELATED LINKS SECTION (Footer-Navigation)
   ========================= */
.related-links {
  background: #000;
  color: #fff;
  text-align: left;
  padding: clamp(80px, 10vh, 120px) 0;
}

.related-wrap {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.related-title {
  margin: 0 0 50px 10px;
  font-size: var(--fs-h1);
  line-height: var(--lh-title);
  font-family: "Kaisei Tokumin", serif;
  font-weight: var(--fw-500);
  color: #fff;
}

.related-title .dot {
  color: #49a5a2;
  font-weight: 700;
}

/* === Grid === */
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  justify-content: center;
  align-items: start;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* === Cards === */
/* === Cards (benefits style) === */
.related-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  border-radius: 10px;
  overflow: visible;
  background: transparent;
  transition: transform .3s ease, box-shadow .3s ease;
}

.related-card:hover {
  transform: translateY(-6px);
}

.related-top,
.related-img {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.related-top {
  background: var(--bg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.4rem;
  color: #222;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  margin-bottom: 12px;
  min-height: 95px;
  height: 95px;
  box-sizing: border-box;
}

.related-top h3 {
  font-size: 1.33rem;
  margin: 0;
  text-align: left;
  font-weight: 300 !important;
  line-height: 1.3;
  word-wrap: break-word;
}

.related-img {
  width: 100%;
  height: 440px;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  margin: 0 auto;
  position: relative;
}

.related-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  transition: transform .6s ease;
}

.related-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0) 100%);
  z-index: 1;
}


.related-card:hover {
  transform: none;
}

.related-top {
  transition: background-color .3s ease, transform .3s ease;
}

.related-card:hover .related-top {
  background: color-mix(in srgb, var(--bg) 80%, #000);
  transform: scale(0.97);
}

/* === Caption === */
.related-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.18rem;
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.22;
  font-weight: 200;
  z-index: 2;
  text-align: left;
  background: transparent;
}

.related-caption p {
  margin: 0;
}

/* === Responsive === */
@media (max-width: 900px) {
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .related-grid {
    grid-template-columns: 1fr;
  }
  .related-img {
    height: 300px;
  }
}




/* BTN */

/* === Arrow-Icon für Baufinanzierung-Buttons === */
.ct-btn .cta-arrow,
.hs-btn .cta-arrow,
.glass-btn .cta-arrow,
.hero-cta .cta-arrow,
.btn-primary.hero-cta .cta-arrow{
  position: absolute;
  right: 22px;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translate(0,-50%);
  opacity: 1;
  transition: opacity .2s ease;
  pointer-events: none;
}

/* Hover-Animation (wie Startseite) */
.ct-btn:hover .cta-arrow,
.hs-btn:hover .cta-arrow,
.glass-btn:hover .cta-arrow,
.hero-cta:hover .cta-arrow,
.btn-primary.hero-cta:hover .cta-arrow{
  animation: cta-arrow-loop .45s cubic-bezier(.22,.8,.25,1) both;
}

@keyframes cta-arrow-loop {
  0%   { transform: translate(0,-50%);   opacity: 1; }
  40%  { transform: translate(10px,-70%); opacity: 0; } /* raus */
  50%  { transform: translate(-12px,-30%); opacity: 0; } /* umsetzen */
  100% { transform: translate(0,-50%);    opacity: 1; }  /* rein */
}

/* Bewegungsreduktion respektieren */
@media (prefers-reduced-motion: reduce){
  .ct-btn:hover .cta-arrow,
  .hs-btn:hover .cta-arrow,
  .glass-btn:hover .cta-arrow{
    animation: none;
  }
}
