/* =========================================
   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);
}


body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ===== Variablen / Basics ===== */
:root{
  --brand: #b8903c;
  --line: #e7e7e7;
  --text: #2b2b2b;
  --muted: #4a4a4a;
  --card-bg: #ffffff;
  --radius: 6px;

  /* Hero-Theming */
  --hero-img: url("assets/images/h3.png");
  --hero-reveal-bg: #49a5a22d; /* helles Türkis hinter dem Bild */
  --hero-ink: #1f6e6a;         /* dunkles Türkis für Typo im Reveal */
}

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

body{ 
  margin:0; 
  color:var(--text); 
  background:#fff; 
}

/* Mini Divider (optional 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{
  /* JS schreibt 0..1 in --p */
  --p: 0;
  --heroShift: calc(12px * var(--p));
  --heroRadius: calc(26px * var(--p));

  position:relative;
  background: var(--hero-reveal-bg, #49a5a22d);
  isolation:isolate;
}

/* Sticky Bild-Ebene */
.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;
}

/* Bild */
.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))); /* Zoom */
  transform-origin:center;
  will-change:transform;
  border-bottom-left-radius:inherit;
  border-bottom-right-radius:inherit;
  z-index:0;
}

/* Overlay */
.about-hero.parallax .ah-overlay{
  position:absolute; inset:0;
  background: linear-gradient(
              to top,
                rgba(0,0,0,.72) 0%,
    rgba(0,0,0,.74) 38%,
    rgba(0,0,0,.44) 70%,
    rgba(0,0,0,0.2) 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;                                     /* ⬅️ links */
  padding: 0 clamp(18px, 3vw, 32px)                    /* seitlich */
           clamp(28px, 10vh, 120px);                   /* unten mehr Platz */
  will-change: opacity, transform;
  opacity: calc(1 - 0.9 * var(--p));
  transform: translateY(calc(-12px * var(--p)));
  align-self: end;                                      /* ⬅️ unten andocken */
  justify-self: start;                                  /* ⬅️ links andocken */
  width: min(900px, 92vw);                              /* gute Lesebreite */
}

#about-hero-title{
  margin: 12px 0 20px;
  font-family: "Kaisei Tokumin", serif;
  font-weight: 300;
  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{
  margin: 0 0 12px 0;
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 60ch;
  opacity: 1.0;
  font-weight: 100;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,.14);
}
.about-hero.parallax .ah-kicker{
  margin: 0;
  max-width: 60ch;
  font-size: 1.2rem;
  line-height: 1.6;
  font-weight: 200;
  letter-spacing: .01em;
  color: rgba(235,235,235,.95);
  text-align: left;
  opacity: 1;
}
/* Gleiches Linksalignment für Titel, Lead & CTA */
.about-hero.parallax .ah-content #about-hero-title{ margin-left: 0; }
.about-hero.parallax .ah-cta{ margin-top: clamp(14px, 2.2vw, 24px); }

/* =========================
   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 .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;
}

.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;
}

/* Align hero title and kicker exactly on the same left edge */

.about-hero.parallax .ah-content{
  padding-left: clamp(18px, 3vw, 32px);
}
#about-hero-title{
  margin-left: 0;
}

/* =========================
   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.75) 0%,
      rgba(0,0,0,0.45) 40%,
      rgba(0,0,0,0.15) 70%,
      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:700;
  margin:0 0 6px 0;
  line-height:1;
}

.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;
    position:relative;
    right:auto;
    bottom:auto;
    margin-top: -80px;
    justify-content:flex-start;
    padding-left: clamp(18px,3vw,32px); /* exakt gleiche linke Linie wie .ah-content */
    gap: 10px;
    transform: scale(.88);
    width: 100%;
  }
  .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-Bereich 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;                /* dünner wie im Beispiel */
  font-size: clamp(1.6rem,3vw,2.4rem);
  line-height: 1.2;
  color: var(--hero-ink);
  max-width: 44ch;
  margin-top: 30px;               /* zusätzlicher Abstand nach oben */
}

.about-hero.parallax .ah-lead{
  margin: 0 0 clamp(22px,4vw,34px);
  max-width: 64ch;                                              /* breiter wie im Beispiel */
  color: var(--hero-ink);
  line-height: 1.65;
  font-weight: 300;
  margin-top: 30px;                                             /* zusätzlicher Abstand nach oben */
}

/* Feature Grid */
.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;
}

/* Abstand zwischen Verkäufer- und Käuferblock */
.about-hero.parallax .ah-divider {
  height: clamp(60px,8vw,100px);
  width: 100%;
}

/* =========================
   Responsive Tweaks – Immobilienseite
   ========================= */
@media (max-width: 1199px){
  #about-hero-title,
  .about-hero.parallax .ah-content h1 {
    max-width: 22ch;
    margin-inline: 0;
    text-align: left;
  }
  .about-hero.parallax .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 {
    max-width: 44ch;
  }
}

@media (max-width: 767px){
  .about-hero.parallax .ah-content {
    width: min(92vw, 640px);
    text-align: left;
  }

  #about-hero-title,
  .about-hero.parallax 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 {
    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 {
    max-width: 34ch;
  }
}

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

/* 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{ transform:none !important; box-shadow:none !important; }
  .about-hero.parallax .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;
}


/* ========== Versicherungen – Hero: Mobile & Tablet wie die anderen ========== */

/* Tablet (≤ 1199px) */
@media (max-width: 1199px){
  /* falls der Abschnitt anders benannt ist, beide Selektoren abdecken */
  .about-hero.insurance-hero,
  .insurance-hero,
  .about-hero{
    --cut-depth: 16%;
  }

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

  .about-hero.insurance-hero .ah-content h1,
  .insurance-hero .ah-content h1,
  .about-hero .ah-content h1{
    max-width: 22ch;                 /* nicht über volle Breite */
    margin-inline: auto;
  }

  .about-hero.insurance-hero .ah-kicker,
  .insurance-hero .ah-kicker,
  .about-hero .ah-kicker{
    max-width: 54ch;
    margin-inline: auto;
  }
}

/* Phone (≤ 767px) */
@media (max-width: 767px){

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

  .about-hero.insurance-hero .ah-content,
  .insurance-hero .ah-content,
  .about-hero .ah-content{
    padding-inline: 16px;
    width: min(92vw, 640px);
    text-align: center;
  }

  .about-hero.insurance-hero .ah-content h1,
  .insurance-hero .ah-content h1,
  .about-hero .ah-content h1{
    font-size: clamp(1.6rem, 7.2vw, 2.2rem);
    line-height: 1.15;
    max-width: 20ch;                 /* schöne Zeilenlänge */
    margin: 0 auto 8px;
  }

  .about-hero.insurance-hero .ah-kicker,
  .insurance-hero .ah-kicker{
    font-size: .95rem;
    font-weight: 200;
    color: rgba(215,215,215,.9);
    max-width: 30ch;
    margin: 0 auto;                  /* nur Insurance-Varianten bleiben zentriert */
  }
  .about-hero.parallax .ah-kicker{
    font-size: .95rem;
    font-weight: 200;
    color: rgba(215,215,215,.9);
    max-width: 30ch;
    margin: 0;                       /* Baufinanzierung bleibt linksbündig */
    text-align: left;
  }
  

  /* optional: Abstand unter dem Hero-Intro angleichen */
  .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.insurance-hero .ah-content h1,
  .insurance-hero .ah-content h1,
  .about-hero .ah-content h1{ font-size: 1.5rem; }

  .about-hero.insurance-hero .ah-kicker,
  .insurance-hero .ah-kicker,
  .about-hero .ah-kicker{ font-size: .9rem; }
}






/* ===== Vorteile (Eyebrow, Headline, 3 Karten) ===== */
.gk-advantages {
  background:#fff;
  padding: clamp(40px, 6vw, 84px) 0;
  color: var(--text);
  margin-top: -80px;
}
.gk-adv-wrap { width:min(1200px, 92%); margin:0 auto; }

/* Kopf */
.gk-adv-eyebrow {
  text-transform: uppercase;
  letter-spacing: var(--eyebrow-letterspace);
  font-size: var(--eyebrow-size);
  color: var(--brand);
  text-align: left !important;
  margin: 0 0 6px;
  font-weight: var(--fw-200);
  margin-left: 0 !important;
  margin-right: auto !important;
}

.gk-adv-title {
  text-align: left !important;
  margin: 0 0 10px;
  font-size: var(--fs-h1);
  line-height: var(--lh-title);
  font-family: "Kaisei Tokumin", serif;
  font-weight: var(--fw-500);
  color: var(--ink-h);
  margin-left: 0 !important;
  margin-right: auto !important;
}

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

/* Grid der Vorteile */
.gk-adv-grid{
  display:grid;
  grid-template-columns: repeat(3,1fr);
  gap: clamp(18px, 2.2vw, 28px);
}
@media (max-width: 900px){
  .gk-adv-grid{ grid-template-columns: 1fr; }
}

/* ===== Infocards (Bild + Text, alternierend) ===== */
.info-card{
  display:flex;
  flex-direction:column;
  background:#eeeeee71;
  border-radius:12px;
  overflow:hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
  transition: transform .25s ease, box-shadow .25s ease;
  height:100%;
}
.info-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0,0,0,.08);
}

/* Grundaufbau Card als Flex */
.gk-adv-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Text immer oben */
  padding: 0;                  /* kein Innenabstand – damit Bild exakt 10px Abstand bekommt */
  border-radius: 10px;
  background: #f0f0f0;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
}

/* Bildbereich */
.info-media{
  line-height: 0;
  margin: 10px; /* überall exakt 10px Abstand zum Kartenrand */
}

.gk-adv-card.top .info-media,
.gk-adv-card.bottom .info-media{
  margin: 10px; /* oben, rechts, unten, links jeweils 10px */
}


.info-media img{
  display: block;
  width: 100%;
  height: clamp(180px, 24vw, 240px);
  object-fit: cover;
  border-radius: 6px;
}

/* ===== Info-Card CTA Overlay (Pfeil-Icon) ===== */
.info-media {
  position: relative;
  overflow: hidden;
}

.info-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25); /* leichtes dunkles Overlay */
  z-index: 1;
  pointer-events: none;
  transition: background .3s ease;
}

.info-card:hover .info-media::after {
  background: rgba(0, 0, 0, 0.35); /* etwas stärker beim Hover */
}

/* Optisch angepasste Info-CTA mit Glas-/Blur-Effekt */
.info-cta {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(73, 165, 162, 0.55); /* halbtransparentes Türkis */
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .25);
  backdrop-filter: blur(8px) saturate(160%);
  -webkit-backdrop-filter: blur(8px) saturate(160%);
  opacity: 1;
  transition: transform .3s ease, background .3s ease;
  z-index: 2;
}

.info-card:hover .info-cta {
  transform: translate(-50%, -50%) scale(1.05);
  background: rgba(73, 165, 162, 0.7); /* etwas kräftiger beim Hover */
}

.info-cta .cta-arrow {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  transition: transform .3s ease;
}

.info-card:hover .info-cta .cta-arrow {
  animation: info-cta-arrow 0.6s cubic-bezier(.22,.8,.25,1) both;
}

@keyframes info-cta-arrow {
  0%   { transform: translate(0, 0); opacity: 1; }
  40%  { transform: translate(6px, -4px); opacity: 0; }
  60%  { transform: translate(-6px, 4px); opacity: 0; }
  100% { transform: translate(0, 0); opacity: 1; }
}



/* Reihenfolge-Varianten */
.info-media--top   { /* Bild oben */ }
.info-media--bottom{ /* Bild unten: Text zuerst, dann Bild */ }
.info-media--bottom .info-media{ order: 2; }
.info-media--bottom .info-body { order: 1; }

/* Textbereich */
.info-body{
  padding: clamp(16px, 2.4vw, 22px);
}
.info-icon{
  width:36px; height:36px; display:block; margin:0 0 8px 0;
  filter: grayscale(1);
  opacity:.85;
}
.info-title{
  margin: 0 0 6px;
  font-size: clamp(1.65rem, 1.8vw, 1.3rem);
  line-height: 1.25;
  font-family: "Kaisei Tokumin", serif;
  color:#2f2f2f;
  font-weight:400;
  margin-bottom: 30px;
}
.info-text{
  margin:0;
  color:#4a4a4a;
  line-height:1.4;
  font-weight:300;
  font-size: clamp(11px, 1.3vw, 15.5px);
}

/* Grid-Responsiveness bleibt wie gehabt durch .gk-adv-grid */
.gk-adv-link{ text-decoration:none; color:inherit; display:block; }







/* =========================
   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;
  vertical-align: middle;
  transform: translateY(0);
}
.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;
  }
}










/* ===== Variables / base ===== */
:root{
  --wne-brand: var(--gk-brand, #3aa6a0);
  --wne-ink: #1b1b1b;
  --wne-muted:#6a6f78;
  --wne-bg:#ffffff;
  --wne-card:#f6f7f8;
  --wne-radius: 18px;
  --wne-shadow: 0 14px 34px rgba(0,0,0,.10);
}

/* Section wrapper */
.why-not-enough{
  background: var(--wne-bg);
  padding: clamp(42px, 8vw, 96px) 0;
  color: var(--wne-ink);
}
.wne-wrap{ width:min(1100px, 92%); margin:0 auto; }

/* Heading + marker */
.wne-title {
  text-align: left;
  margin-left: 0;
  margin-right: auto;
  width: min(1200px, 92%);
  font-family: "Kaisei Tokumin", serif !important;
  font-weight: var(--fw-500);
  line-height: var(--lh-title);
  font-size: var(--fs-h1);
  color: var(--ink-h);
}
.wne-title .dot {
  color: var(--brand);
  font-weight: 700;
}
.wne-mark{
  position:relative;
  display:inline-block;
  padding: 0 .15em;
  z-index:0;
  color: #4a4a4a;
  font-weight: 300;
}
.wne-mark::after{
  content:"";
  position:absolute; left:-.05em; right:-.05em; bottom:.05em; height: .7em;
  border-radius: .35em;
  background: color-mix(in srgb, var(--wne-brand) 26%, #c9fff2);
  z-index:-1;
}
.wne-mark--soft::after{ background: color-mix(in srgb, var(--wne-brand) 18%, #eafaf6); }

.wne-sub {
  text-align: left;
  margin-left: 0;
  margin-right: auto;
  width: min(1200px, 92%);
  margin-top: 0;
  margin-bottom: clamp(22px, 3vw, 34px);
  color: var(--ink-t);
  font-size: var(--fs-lead);
  line-height: var(--lh-body);
  font-weight: var(--fw-300);
  max-width: 70ch;
}

/* Grid: 4 columns, tall spans 3 rows, short spans 2 rows (≈ 2/3 height) */
.wne-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 120px; /* base row height */
  gap: clamp(14px, 2.4vw, 22px);
  align-items: stretch;
  margin-top: clamp(20px, 3vw, 28px);
}

/* Card base */
.wne-card{
  position:relative;
  border-radius: var(--wne-radius);
  overflow:hidden;
  background: var(--wne-card);
  box-shadow: var(--wne-shadow);
  display:flex;
  align-items:flex-start;
  justify-content:flex-start;
  isolation:isolate;
  color: #fff;
}
.wne-card--tall { grid-row: span 3; }
.wne-card--short{ grid-row: span 2; }

/* Image / texture cards */
.wne-card--img::before,
.wne-card--texture::before{
  content:"";
  position:absolute; inset:0;
  background: var(--bg, none) center/cover no-repeat;
  z-index:0;
}
.wne-card--img::after{
  /* subtle dark overlay for legibility */
  content:""; position:absolute; inset:0; z-index:0;
  background: linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.35));
}

/* Brand-tinted tall card */
.wne-card--brand{
  background: #b4e8e0;
}

/* Card body */
.wne-card-body{
  position:relative; z-index:1;
  padding: clamp(16px, 2.2vw, 22px);
  color: #fff !important;
}

.wne-card-body--light{ 
  color:#fff !important; 
  text-shadow:0 2px 10px #4a4a4a; 
}

/* Force readable white text on image cards */
.wne-card--img .wne-card-body,
.wne-card--img .wne-card-body--light,
.wne-card--img .wne-card-body--light h3,
.wne-card--img .wne-card-body--light p {
  color: #fff !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  position: relative;
  z-index: 2;
}

.wne-card-title{
  margin: 0;
  font-size: clamp(1.0rem, 1.6vw, 1.15rem);
  font-weight:400;
  line-height:1.3;
  margin-top: 100px;
}

/* Number badges */
.wne-badge{
  position:absolute;
  top: clamp(12px, 1.8vw, 16px);
  left: clamp(12px, 1.8vw, 16px);
  width: 36px; height:36px;
  border-radius: 999px;
  display:grid; place-items:center;
  font-weight:700; font-size:.95rem;
  z-index:1;
  box-shadow: 0 6px 14px rgba(0,0,0,.12);
}
.wne-badge--light{
  background:#c9fff2; color:#111;
}
.wne-badge--dark{
  background:#121212; color:#fff !important;
}

/* Inline marker highlights inside text (card #4) */
.wne-inline-mark{
  position:relative; display:inline-block; padding:0 .15em;
}
.wne-inline-mark::after{
  content:""; position:absolute; left:-.05em; right:-.05em; bottom:.05em; height:.6em;
  border-radius:.3em; background: color-mix(in srgb, var(--wne-brand) 26%, #d9d9d9);
  z-index:-1;
}

/* Center arrow button on the texture card */
.wne-cta{
  position:absolute; inset:0; display:grid; place-items:center;
  background: none; border: 0; cursor: pointer;
}
.wne-cta-arrow{
  display:inline-grid; place-items:center;
  width: 56px; height:56px; border-radius:50%;
  background:#fff;
  color:#111; font-size:1.1rem; font-weight:700;
  box-shadow: 0 8px 22px rgba(0,0,0,.20);
  transition: transform .25s ease, background .25s ease;
}
.wne-card--texture .wne-cta:hover .wne-cta-arrow{ transform: translate(2px, -2px); background: #f3fff7; }

/* Footer text under the grid */
.wne-footnote{
  margin: clamp(18px, 3vw, 28px) 0 0;
  max-width: 56ch;
  color: #4a4a4a;
  font-size: .98rem;
  font-weight: 300;
}

/* Responsive */
@media (max-width: 980px){
  .wne-grid{ grid-template-columns: repeat(2, 1fr); grid-auto-rows: 120px; }
}

@media (max-width: 640px){
  .wne-grid{ grid-template-columns: 1fr; grid-auto-rows: 120px; }
  .wne-card--tall, .wne-card--short{ grid-row: span 3; }
  .wne-footnote{ max-width: none; }
}

.wne-card--short {
  margin-bottom: 0;
}

/* === WNE Mobile: clean vertical stack (no overlap) === */
@media (max-width: 640px){
  /* container centered; allow shadows to render fully */
  .why-not-enough{ overflow: visible; }
  .wne-wrap{ width: min(94%, 380px); margin-inline: auto; overflow: visible; }

  /* one column grid with normal gaps */
  .wne-grid{
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: 120px;
    gap: clamp(16px, 3.5vw, 22px);
    padding-bottom: 0;
  }

  /* reset any overlap/margins */
  .wne-card{
    position: relative;
    margin: 0;
    will-change: auto;
    transition: none;
  }
  .wne-card + .wne-card{ margin-top: 0; }

  /* preserve desktop heights on mobile */
  .wne-card--short{
    grid-row: span 2;
    margin-bottom: 0 !important;
  }
  .wne-card--tall{
    grid-row: span 3;
    margin-bottom: 0 !important;
  }

  /* restore original inner spacing & title offset so copy sits lower on image cards */
  .wne-card-body{ padding: clamp(16px, 2.2vw, 22px); }
  .wne-card-title{ margin-top: 100px; }

  /* footnote full width on mobile */
  .wne-footnote{ max-width: none; }
}





/* ========== Vorteile-Block – Mobile & Tablet Anpassung ========== */

/* Grundblock: leicht in Hero hineinragen lassen */
.gk-advantages{
  margin-top: -60px;                  /* nicht so stark wie -80px */
  padding: clamp(32px, 5vw, 72px) 0;
  background:#fff;
  position: relative;
  overflow: hidden;                   /* Karten sauber abschneiden */
}
/* Desktop: gewollter Zeilenumbruch */
.br-desktop {
  display: inline;
}

/* Mobile: kein zusätzlicher Bruch */
@media (max-width: 600px) {
  .br-desktop {
    display: none;
  }
}
/* Tablet (≤ 1199px) */
@media (max-width: 1199px){
  .gk-adv-eyebrow{
    font-size: .82rem;
    letter-spacing: .12em;
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }
  .gk-adv-title{
    font-size: clamp(1.8rem, 3vw, 2rem);
    line-height: 1.25;
    max-width: 25ch !important;
    margin-inline: 0;
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }
  .gk-adv-intro{
    max-width: 60ch;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 28px;
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    padding-inline: 0 !important;
  }
}

/* Phone (≤ 767px) */
@media (max-width: 767px){
  .gk-advantages{
    margin-top: -36px;
    padding: clamp(26px, 7vw, 44px) 0;
  }

  .gk-adv-eyebrow{
    font-size: .78rem;
    letter-spacing: .1em;
    margin-bottom: 4px;
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }
  .gk-adv-title{
    font-size: clamp(1.55rem, 6vw, 1.8rem);
    line-height: 1.25;
    max-width: 22ch;
    margin: 0 0 8px 0 !important;
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }
  .gk-adv-intro{
    max-width: 34ch;
    font-size: .96rem;
    line-height: 1.55;
    margin: 0 0 18px 0 !important;
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    padding-inline: 0 !important;
  }

  /* Karten in 1 Spalte, volle Breite, sauber abgeschnitten */
  .gk-adv-wrap{
    width: 92%;
  }
}

/* Sehr kleine Screens (≤ 360px) */
@media (max-width: 360px){
  .gk-adv-title{ font-size: 1.25rem; }
  .gk-adv-intro{ font-size: .9rem; }
}



.alt-section {
  background: #fff;
  padding: clamp(60px, 8vw, 120px) 0;
}

.alt-section-title {
  width: min(1200px, 92%);
  margin: 0 auto clamp(32px, 5vw, 64px);
  text-align: left;
  font-family: "Kaisei Tokumin", serif;
  font-size: var(--fs-h1);
  font-weight: var(--fw-500);
  line-height: var(--lh-title);
  color: var(--ink-h);
}

.alt-section-title span {
  color: #a6a6a6;
  font-weight: var(--fw-500);
}

.alt-wrap {
  width: min(1200px, 92%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 2.0vw, 22px);
}

/* ======= GRID-GRUNDAUFBAU ======= */
.alt-row {
  display: grid;
  grid-template-columns: 2fr 1fr; /* 2/3 - 1/3 Verhältnis */
  gap: clamp(10px, 2vw, 22px);
  align-items: stretch;
}

.alt-row--reverse {
  grid-template-columns: 1fr 2fr;
}

/* CTA-Zeile */
.alt-row--cta {
  grid-template-columns: 2fr 1fr;
  align-items: stretch;
}

/* ======= CARD-STYLE ======= */
.alt-card {
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .04);
  overflow: hidden;
  background: #f8f8f8;
  padding: clamp(32px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  height: clamp(500px, 50vh, 640px);
}

.alt-card--img {
  padding: 0;
}

.alt-card--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

/* Textkarten */
/* ===== ALT-CARD--TEXT: Haupttitel oben, Subtitel und Text unten ===== */
.alt-card--text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.alt-card--text h2 {
  font-family: "Kaisei Tokumin", serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 200 !important;
  line-height: 1.2;
  color: #1b1b1b;
  align-self: flex-start;
  margin-bottom: 18px;
  margin-top: 0;
}

.alt-card--text .alt-sub {
  margin-top: auto;
  margin-bottom: 12px;
  font-weight: 500;
  font-size: 1.05rem;
  color: #222;
  line-height: 1.4;
}

.alt-card--text p {
  margin-top: 0;
  color: #444;
  font-weight: 300;
  line-height: 1.65;
  max-width: 60ch;
}

/* CTA-Buttons */
.alt-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

/* =========================
   CTA Button (wie global Hero/CTA)
   ========================= */
/* Exakter globaler Button-Stil wie im Immobilien-Teaser */
.btn-primary1 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px; /* Abstand zwischen Text und Pfeil */
  background: #3aa6a0;
  color: #fff;
  text-decoration: none;
  font-weight: 300; /* dünnere Schrift wie andere Buttons */
  font-size: 1rem;
  padding: 12px 32px; /* etwas kompakter */
  border-radius: 999px;
  border: none;
  transition: background .25s ease, transform .2s ease, box-shadow .25s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  position: relative;
}

.btn-primary1:hover {
  background: #49a5a2 !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

/* Pfeilposition & Animation */
.btn-primary1 .cta-arrow {
  margin-left: 10px; /* Abstand zur Schrift */
  width: 18px;
  height: 18px;
  stroke: currentColor;
  transition: transform .25s ease;
  position: relative;
  top: 1px; /* leicht nach unten für optische Mitte */
}

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

/* ======= Farbkarte (rechte CTA-Karte) ======= */
.alt-card--color {
  background: #49a5a2;
  color: #fff;
  text-align: center;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  height: 100%;
}

.alt-card--color h3 {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.1;
  margin: 0;
}

.alt-card--color span {
  display: block;
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: .02em;
}

/* ======= Responsive ======= */
@media (max-width: 1000px) {
  .alt-row,
  .alt-row--reverse,
  .alt-row--cta {
    grid-template-columns: 1fr;
  }

  .alt-card--color {
    min-height: 180px;
  }
}

@media (max-width: 680px){

  /* Grid auf 1 Spalte */
  .alt-row,
  .alt-row--reverse,
  .alt-row--cta {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Karten kleiner */
  .alt-card{
    height: auto !important;
    padding: 22px !important;
  }

  .alt-card--img img{
    height: 220px !important;
    border-radius: 10px !important;
  }

  /* Titel etwas kleiner */
  .alt-card--text h2{
    font-size: clamp(1.4rem, 5.5vw, 1.9rem) !important;
    margin-bottom: 10px !important;
  }
  .alt-card--text .alt-sub{
    font-size: .95rem !important;
    margin-bottom: 10px !important;
  }
  .alt-card--text p{
    font-size: .92rem !important;
    line-height: 1.55 !important;
  }

  /* Reihenfolge fixieren: Wechsel Text–Bild–Text–Bild */
  .alt-row:nth-child(1) .alt-card--text{ order:1; }
  .alt-row:nth-child(1) .alt-card--img{ order:2; }

  .alt-row:nth-child(2) .alt-card--text{ order:1; }
  .alt-row:nth-child(2) .alt-card--img{ order:2; }

  .alt-row:nth-child(3) .alt-card--text{ order:1; }
  .alt-row:nth-child(3) .alt-card--img{ order:2; }

  /* CTA-Row weiterhin Text oben, Farbe unten */
  .alt-row--cta .alt-card--text{ order:1 !important; }
  .alt-row--cta .alt-card--color{ order:2 !important; }
}





.ai-secure {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 12vw, 160px) 0;
  background: linear-gradient(to bottom, #ffffff 0%, #f4fffc 100%);
  color: #111;
}

/* Hintergrund-Schriftzug */
.ai-bg-text {
  position: absolute;
  top: clamp(-30%, -25vh, -10%);
  left: -20%;
  transform: translateX(-120%);
  width: 100%;
  text-align: center;
  font-size: clamp(20rem, 40vw, 45em);
  font-family: "Kaisei Tokumin", serif;
  color: rgba(58,166,160,0.08);
  font-weight: 500;
  letter-spacing: -0.02em;
  user-select: none;
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 680px){
  .ai-bg-text{
    font-size: clamp(10rem, 32vw, 16rem);
    top: -10%;
    left: -10%;
    transform: translateX(-60%);
  }
}

/* Sterne */
.ai-stars {
  position: absolute;
  top: clamp(0px, 0vw, 60px);
  right: clamp(80px, 20vw, 80px);
  display: flex;
  gap: 12px;
  z-index: 1;
}
.ai-stars span {
  font-size: clamp(50px, 20vw, 36px);
  color: rgba(58,166,160,0.25);
}

/* Inhalt */
.ai-wrap {
  position: relative;
  z-index: 2;
  width: min(1000px, 90%);
  margin: 0 auto;
  text-align: left;
}

/* Eyebrow */
.ai-secure .eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  font-weight: 400;
  color: #555;
  margin-bottom: 18px;
}

/* Titel */
.ai-secure .ai-title {
  font-family: "Kaisei Tokumin", serif;
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.15;
  color: #111;
  margin-bottom: clamp(48px, 8vw, 80px);
}

@media (max-width: 680px){
  .ai-secure .ai-title{
    font-size: clamp(1.6rem, 6vw, 2.1rem);
    margin-bottom: 32px;
    line-height: 1.25;
  }
}

/* Textabschnitt */
.ai-secure .ai-text p {
  font-size: clamp(2.2rem, 1.2vw, 1.1rem);
  line-height: 1.65;
  font-weight: 300;
  color: #444;
  margin-bottom: 1.8rem;
  max-width: 800px;
}

@media (max-width: 680px){
  .ai-secure .ai-text p{
      font-size: clamp(1.05rem, 4.8vw, 1.25rem);
      line-height: 1.58;
      max-width: 92%;
  }
}

.ai-secure .highlight {
  color: #3aa6a0;
  font-weight: 500;
}

/* Effektzustand für Scroll-Animation */
.ai-secure .fade-word {
  opacity: 0.25;
  transition: color 0.5s ease, opacity 0.5s ease;
}
.ai-secure .fade-word.active {
  opacity: 1;
  color: #111;
}

@media (max-width: 680px){
  .ai-secure .fade-word{
    opacity: 0.5;
  }
  .ai-secure .fade-word.active{
    opacity: 1;
    transition: opacity .35s ease;
  }
}







/* Immobilien Teaser Section */

.estate-teaser {
  width: min(1200px, 94%);
  margin: 80px auto;
  padding-inline: clamp(12px, 3vw, 20px);
  margin-top: 5%;
  overflow: hidden;
}

.teaser-head {
  text-align: center;
  margin-bottom: 36px;
  margin-top: 100px;
  color: var(--ink-h);
}

.teaser-head h2 {
  font-size: var(--fs-h1);
  line-height: var(--lh-title);
  margin: 0 0 12px;
  color: var(--ink-h);
  font-family: "Kaisei Tokumin", serif !important;
  font-weight: var(--fw-500);
}

.teaser-head p {
  text-align: center;
  max-width: 70ch;
  margin: 0 auto clamp(22px, 3vw, 34px);
  font-size: var(--fs-lead);
  line-height: var(--lh-body);
  color: var(--ink-t);
  font-weight: var(--fw-200);
}

/* Grid */
.estate-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* exakte Spaltenzahl auf großen Screens */
  gap: 24px;
  box-sizing: border-box;
  max-width: 100%;
}

@media (max-width: 1100px){
  .estate-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px){
  .estate-grid{ grid-template-columns: 1fr; }
}

/* ===== Immobilien-Teaser: Karte mit Titel an der Bild-Unterkante ===== */


.estate-card {
  --teaserTitleH: 48px;
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #c3c3c3;
  background: #fff;
  box-shadow: 0 6px 14px rgba(0,0,0,.06);
  transition: transform .22s ease, box-shadow .22s ease;
  aspect-ratio: 4 / 3;
  height: auto;
  display: block;
  --overlayH: 34%;
  --overlayH-hover: 56%;
  isolation: isolate;
}

.estate-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,.14);
}


/* Estate image: full-bleed, fills card height */
.estate-img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  overflow:hidden;
  margin:0;
  z-index:0;
}
.estate-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

@media (max-width: 680px) {
}


.estate-img::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height: var(--overlayH);
  background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,0));
  pointer-events:none;
  z-index:1;
  transition: height .28s ease;
}
.estate-card:hover .estate-img::after{ height: var(--overlayH-hover); }


  .estate-body{
    position:absolute;
    left:0; right:0; bottom:0;
    margin:0;
    padding: 12px 14px 12px !important;
    background: transparent !important;
    color:#fff !important;
    z-index:2;
    display:grid;
    gap:4px;
  }


  .estate-body h3{
    margin:0;
    padding:0;
    font: 300 clamp(1.0rem,1.15vw,1.1rem)/1.16 system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
    color:#ffffff;
    text-shadow:0 2px 10px rgba(0,0,0,.65);
  }
.estate-card:hover .estate-body h3{ transform: none; }


  .estate-meta{
    display:flex;
    flex-wrap:wrap;
    gap:6px 10px;                 /* enger */
    margin: 2px 0 0;
    line-height:1.2;
    font: 200 clamp(.82rem,0.92vw,.92rem)/1.2 system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
    color:#fff;
    text-shadow:0 1px 6px rgba(0,0,0,.55);
  }

  .estate-meta strong{ color:#fff; font-weight:300; }

  .estate-loc{
    margin-top: 2px;
    color: rgba(255,255,255,.90);
    text-shadow: 0 1px 6px rgba(0,0,0,.55);
    font-weight: 200;
    font-size: clamp(.8rem, .85vw, 1rem);
    line-height: 1.2;
  }


  .estate-card a {
    text-decoration: none !important;
    color: inherit;
    display: block;
  }

  .estate-card a:hover {
    text-decoration: none !important;
  }


  .teaser-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 36px; 
    text-align: center;
  }


  .more-btn {
    align-self: end;
    display: inline-block;
    background: #49a5a2;
    color: #fff;
    text-decoration: none;
    font-weight: 200;
    font-size: 1rem;
    padding: 12px 35px;
    border-radius: 999px;
    border: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  }
  .more-btn:hover {
    background: #2f918b;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0,0,0,.20);
  }

/* ensure the card defines the height for absolute image */
.estate-card{ position:relative; }





/* ===== 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;
  font-size: var(--fs-h1);
  font-weight:400;
  line-height:1.05;
  letter-spacing:-.01em;
  margin: 12px 0 32px;
}

.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); }
}








/* =========================
   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(1280px, 92%);
  height: 670px;
  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{
  position: absolute;
  top: clamp(50px, 2.5vw, 50px);
  right: clamp(50px, 5.2vw, 80px);
  bottom: clamp(50px, 2.5vw, 42px);

  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;
   

  /* 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 */
/* Updated Contact Teaser Button with Arrow and Animation */
.about-page .contact-teaser.contact-teaser--overlay .ct-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: #1f6e6a;
  color: #b1d7d6;
  text-decoration: none;
  font-weight: 300;
  font-size: 1.1rem;
  padding: 14px 56px 14px 28px; /* extra right space for arrow */
  border-radius: 999px;
  border: none;
  box-shadow: 0 6px 16px rgba(0,0,0,.15);
  transition: background .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.about-page .contact-teaser.contact-teaser--overlay .ct-btn .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 state + arrow animation */
.about-page .contact-teaser.contact-teaser--overlay .ct-btn:hover {
  background: #2f918b;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,.25);
}

.about-page .contact-teaser.contact-teaser--overlay .ct-btn:hover .cta-arrow {
  animation: cta-arrow-loop .45s cubic-bezier(.22,.8,.25,1) both;
}

/* Arrow animation keyframes */
@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; }
}

/* =====================================================
   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;
  }
}

