/* ==========================================================================
   Female Baking Academy — femalebaking.de
   1:1 Rebuild (WordPress/Elementor → statisch, Netlify + Supabase)
   KL Design · 2026-07-05
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Recia";
  src: url("../fonts/Recia-Variable.woff2") format("woff2");
  font-display: swap; font-style: normal; font-weight: 300 800;
}
@font-face {
  font-family: "erode";
  src: url("../fonts/Erode-Variable.woff2") format("woff2");
  font-display: swap; font-style: normal; font-weight: 300 700;
}
@font-face {
  font-family: "tan";
  src: url("../fonts/TANSONGBIRD.woff2") format("woff2");
  font-display: swap; font-style: normal; font-weight: 400;
}
@font-face {
  font-family: "bek";
  src: url("../fonts/BerkshireSwash-Regular.woff2") format("woff2");
  font-display: swap; font-style: normal; font-weight: 400;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/Fraunces-Variable.woff2") format("woff2");
  font-display: swap; font-style: normal; font-weight: 400 700;
}

/* ---------- Design Tokens (aus uicore-global.css der Live-Seite) ---------- */
:root {
  --c-primary:   #843038;   /* uicore_primary / dark  */
  --c-secondary: #CD7178;   /* uicore_secondary       */
  --c-accent:    #FFC8CB;   /* uicore_accent          */
  --c-light:     #ECEDEE;
  --c-headline:  #010101;
  --c-body:      rgba(1, 1, 1, 0.6);
  --c-white:     #FFFFFF;
  --c-blue:      #C4E0FF;   /* e-global 400ec3a       */
  --c-steel:     #5E7B9B;   /* e-global 439cc07       */

  --f-head: "erode", serif;
  --f-body: "Recia", serif;
  --f-menu: "Fraunces", serif;

  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-pill: 100px;
  --container: 1140px;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  font-size: 18px; line-height: 1.5; letter-spacing: -0.005em;
  color: var(--c-body);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3 {
  font-family: var(--f-head);
  font-weight: 600; line-height: 1.08; letter-spacing: -0.04em;
  color: var(--c-secondary);
}
h1 { font-size: clamp(42px, 7vw, 82px); }
h2 { font-size: clamp(32px, 4.5vw, 58px); }
h3 { font-size: clamp(22px, 2.5vw, 30px); letter-spacing: -0.02em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--f-menu); font-size: 15px; font-weight: 500;
  padding: 14px 30px; border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer; transition: all .3s ease;
  line-height: 1;
}
.btn-primary { background: var(--c-primary); color: var(--c-white); }
.btn-primary:hover { background: #6d272e; transform: translateY(-2px); }
.btn-accent { background: var(--c-accent); color: var(--c-primary); }
.btn-accent:hover { background: #ffb9bd; transform: translateY(-2px); }
.btn-outline-light { background: transparent; color: var(--c-white); border-color: rgba(255,255,255,.7); }
.btn-outline-light:hover { background: rgba(255,255,255,.15); }
.btn-white { background: var(--c-white); color: var(--c-primary); }
.btn-white:hover { background: var(--c-accent); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  padding: 18px 24px;
  transition: padding .3s ease;
}
.header-inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--c-accent);
  border-radius: var(--radius-pill);
  padding: 10px 14px 10px 28px;
  box-shadow: 0 6px 24px rgba(132, 48, 56, .12);
}
.logo img { height: 54px; width: auto; }
.main-nav ul { display: flex; gap: 34px; }
.main-nav a {
  font-family: var(--f-menu); font-size: 16px; font-weight: 600;
  color: var(--c-headline); transition: color .25s;
}
.main-nav a:hover { color: var(--c-primary); }
.header-cta { white-space: nowrap; }

/* Mobile nav */
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--c-primary); margin: 5px 0; transition: .3s; }

@media (max-width: 991px) {
  /* Vollbild-Overlay-Menü */
  .main-nav {
    position: fixed; inset: 0; z-index: 999;
    background: var(--c-accent);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .35s ease, visibility .35s;
  }
  .main-nav.open { opacity: 1; visibility: visible; pointer-events: auto; }
  .main-nav ul {
    flex-direction: column; gap: 6px;
    text-align: center; padding-bottom: 70px;
  }
  .main-nav a {
    display: block; padding: 12px 20px;
    font-family: var(--f-head); font-size: clamp(30px, 8.5vw, 42px);
    font-weight: 600; letter-spacing: -0.03em;
    color: var(--c-primary);
    opacity: 0; transform: translateY(26px);
    transition: opacity .45s ease, transform .55s cubic-bezier(.34,1.4,.64,1);
  }
  .main-nav.open a { opacity: 1; transform: none; }
  .main-nav.open li:nth-child(1) a { transition-delay: .08s; }
  .main-nav.open li:nth-child(2) a { transition-delay: .15s; }
  .main-nav.open li:nth-child(3) a { transition-delay: .22s; }
  .main-nav.open li:nth-child(4) a { transition-delay: .29s; }
  .main-nav.open li:nth-child(5) a { transition-delay: .36s; }
  .main-nav::after {
    content: "female baking academy";
    position: absolute; bottom: 34px; left: 0; right: 0;
    text-align: center;
    font-family: var(--f-menu); font-size: 12px; font-weight: 600;
    letter-spacing: .25em; text-transform: uppercase;
    color: rgba(132, 48, 56, .55);
  }
  .nav-toggle { display: block; position: relative; z-index: 1001; }
  .header-cta { display: none; }
  body.nav-open { overflow: hidden; }

  /* Burger → X */
  .nav-toggle span { transition: transform .3s ease, opacity .25s ease; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: flex-end;
  padding-bottom: 70px;
  background: url("../img/hero-1600.webp") center / cover no-repeat;
}
@media (min-width: 1100px) { .hero { background-image: url("../img/hero-2400.webp"); } }
@media (max-width: 700px)  { .hero { background-image: url("../img/hero-900.webp"); } }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 75% at 16% 82%, rgba(255,200,203,.95) 0%, rgba(255,200,203,.65) 48%, rgba(255,200,203,0) 78%),
    linear-gradient(160deg, rgba(255,200,203,.30) 0%, rgba(255,200,203,.10) 55%, rgba(255,200,203,0) 80%);
}
.hero h1, .hero p { text-shadow: 0 1px 14px rgba(255,220,222,.55); }
.hero .container {
  position: relative; z-index: 2;
  margin-left: 6vw; margin-right: auto; max-width: 760px; padding: 0 24px;
}
.hero h1 { color: var(--c-primary); margin-bottom: 28px; max-width: 16ch; }
.hero p { color: rgba(60,20,24,.85); max-width: 46ch; margin-bottom: 36px; font-size: 19px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Hero mobil: ruhiger, klarer, luftiger ---------- */
@media (max-width: 767px) {
  .hero {
    min-height: 100svh;
    align-items: flex-end;
    padding-bottom: 64px;
    background-position: 46% 42%;
  }
  /* kräftiger Verlauf von unten: Text steht auf ruhiger Fläche */
  .hero::after {
    background:
      linear-gradient(0deg,
        var(--c-accent) 0%,
        rgba(255,200,203,.97) 26%,
        rgba(255,200,203,.80) 44%,
        rgba(255,200,203,.30) 62%,
        rgba(255,200,203,0) 80%);
  }
  .hero .container {
    margin-left: 0; max-width: 100%; padding: 0 26px;
  }
  .hero h1 {
    font-size: clamp(30px, 8.4vw, 36px);
    line-height: 1.12; letter-spacing: -0.03em;
    max-width: 100%; margin-bottom: 16px;
    text-shadow: none;
  }
  .hero p {
    font-size: 16px; line-height: 1.55;
    max-width: 34ch; margin-bottom: 26px;
    color: rgba(60,20,24,.78); text-shadow: none;
  }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-actions .btn { text-align: center; padding: 16px 24px; font-size: 15px; }

  /* weicher Übergang vom Hero-Rosa in die Mission-Sektion */
  .mission {
    background: linear-gradient(180deg,
      var(--c-accent) 0%,
      #e9a3a8 12%,
      #b8595f 26%,
      var(--c-primary) 40%,
      var(--c-primary) 100%);
    padding-top: 70px;
  }

}

/* ---------- Mission (#mission) ---------- */
.mission {
  background: var(--c-primary);
  padding: 110px 0 90px; text-align: center; color: rgba(255,255,255,.85);
}
.mission h2 { color: var(--c-white); margin-bottom: 18px; }
.mission .sub {
  font-family: var(--f-head); font-size: clamp(20px, 2.4vw, 28px); font-weight: 600;
  color: var(--c-accent); margin-bottom: 34px; letter-spacing: -0.02em;
}
.mission p { max-width: 68ch; margin: 0 auto 18px; }
.mission-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; margin-top: 64px;
}
.mission-card {
  position: relative; min-height: 280px;
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; align-items: flex-end; padding: 20px;
  background: center / cover no-repeat;
  box-shadow: 0 18px 40px rgba(40, 8, 12, .35);
}
.mission-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,200,203,0) 40%, var(--c-accent) 100%);
}
.mission-card .pill {
  position: relative; display: inline-block;
  color: var(--c-primary);
  font-family: var(--f-head); font-size: 21px; font-weight: 650; line-height: 1.2;
  text-align: left; max-width: 92%;
}
@media (max-width: 767px) { .mission-cards { grid-template-columns: 1fr; } }

/* ---------- Big image break (mit Parallax) ---------- */
.img-break {
  position: relative; height: 70vh; min-height: 420px;
  overflow: hidden;
}
.img-break-inner {
  position: absolute; left: 0; right: 0; top: -12%; bottom: -12%;
  background: center / cover no-repeat;
  will-change: transform;
}
.img-break.one .img-break-inner { background-image: url("../img/break1-1400.webp"); }
.img-break.two .img-break-inner { background-image: url("../img/break2-1400.webp"); }
@media (min-width: 1100px) {
  .img-break.one .img-break-inner { background-image: url("../img/break1-2400.webp"); }
  .img-break.two .img-break-inner { background-image: url("../img/break2-2400.webp"); }
}
@media (prefers-reduced-motion: reduce) {
  .img-break-inner { transform: none !important; top: 0; bottom: 0; }
}

/* ---------- Workshops (#workshops) ---------- */
.workshops { background: var(--c-secondary); padding: 110px 0 90px; text-align: center; }
.workshops h2 { color: var(--c-primary); margin-bottom: 24px; }
.workshops .intro { color: rgba(255,255,255,.9); max-width: 72ch; margin: 0 auto 26px; }
.workshops .claim {
  font-weight: 700; color: var(--c-primary);
  max-width: 60ch; margin: 0 auto 56px;
}
.workshop-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
  max-width: 900px; margin: 0 auto;
}
.workshop-card {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  min-height: 300px; display: flex; flex-direction: column;
  align-items: flex-start; justify-content: flex-end;
  padding: 28px; text-align: left;
  background: center / cover no-repeat;
  isolation: isolate;
  box-shadow: 0 18px 40px rgba(60, 12, 18, .35);
  transition: transform .3s ease, box-shadow .3s ease;
}
.workshop-card:hover { transform: translateY(-4px); box-shadow: 0 26px 52px rgba(60, 12, 18, .45); }
.workshop-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,8,9,.05) 30%, rgba(20,8,9,.72) 100%);
  transition: background .3s;
}
.workshop-card h3 { color: var(--c-white); margin-bottom: 6px; }
.workshop-card .date { color: rgba(255,255,255,.85); font-size: 16px; margin-bottom: 16px; }
.workshop-card .ribbon {
  position: absolute; top: 18px; right: 18px;
  background: var(--c-accent); color: var(--c-primary);
  font-family: var(--f-menu); font-weight: 700; font-size: 14px;
  padding: 8px 14px; border-radius: 50%;
}
@media (max-width: 767px) { .workshop-grid { grid-template-columns: 1fr; } }

/* Einzelnes Event */
.workshop-grid.single { grid-template-columns: 1fr; max-width: 620px; }
.event-card { min-height: 420px; background-position: center 30%; }
.event-card .event-tags {
  color: rgba(255,255,255,.9); font-size: 14.5px;
  font-family: var(--f-menu); margin-bottom: 18px;
}

/* Vergangenes / ausgebuchtes Event */
.event-card.is-past { background-blend-mode: luminosity; background-color: rgba(120, 90, 95, .45); }
.event-card.is-past::after { background: linear-gradient(180deg, rgba(20,8,9,.20) 25%, rgba(20,8,9,.82) 100%); }
.event-card.is-past:hover { transform: none; box-shadow: 0 18px 40px rgba(60, 12, 18, .35); }
.event-card.is-past h3, .event-card.is-past .date { opacity: .85; }
.ribbon-soldout {
  border-radius: var(--radius-pill) !important;
  background: rgba(255,255,255,.92) !important;
  color: var(--c-primary) !important;
  letter-spacing: .06em; text-transform: uppercase;
  font-size: 12px !important; padding: 8px 16px !important;
}
.btn-disabled {
  background: rgba(255,255,255,.18); color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.35);
  cursor: default; pointer-events: none;
}
.event-note {
  color: rgba(255,255,255,.85); font-size: 14px; line-height: 1.5;
  margin-top: 14px; max-width: 44ch;
}

/* ---------- Foto-Strips (statische, überlappende Kartenreihen) ---------- */
.photo-strip { padding: 0 30px; }
.photo-strip-inner {
  display: flex; gap: 24px; justify-content: center; align-items: flex-start;
  max-width: 1400px; margin: 0 auto;
}
.photo-strip img {
  width: calc(20% - 20px); aspect-ratio: 3 / 4.4; object-fit: cover;
  border-radius: 22px; flex: 0 0 auto;
  box-shadow: 0 16px 36px rgba(40, 8, 12, .30);
}
.photo-strip img:nth-child(even) { margin-top: 48px; }
.strip-1 { background: linear-gradient(180deg, var(--c-secondary) 50%, var(--c-accent) 50%); padding-top: 30px; padding-bottom: 30px; }
.strip-2 { background: linear-gradient(180deg, var(--c-secondary) 50%, var(--c-steel) 50%); padding-top: 30px; padding-bottom: 30px; }
.strip-3 { background: linear-gradient(180deg, var(--c-steel) 50%, var(--c-accent) 50%); padding-top: 30px; padding-bottom: 30px; }
@media (max-width: 767px) {
  /* Mobile: weiche Farbübergänge statt harter 50/50-Kante */
  .strip-1 { background: linear-gradient(180deg, var(--c-secondary) 0%, var(--c-secondary) 22%, #e2a9ae 50%, var(--c-accent) 78%, var(--c-accent) 100%); }
  .strip-2 { background: linear-gradient(180deg, var(--c-secondary) 0%, var(--c-secondary) 22%, #97707f 50%, var(--c-steel) 78%, var(--c-steel) 100%); }
  .strip-3 { background: linear-gradient(180deg, var(--c-steel) 0%, var(--c-steel) 22%, #ad9fb8 50%, var(--c-accent) 78%, var(--c-accent) 100%); }

  /* Mobile: 2-spaltige, 2-zeilige Masonry-Galerie */
  .photo-strip { padding-left: 20px; padding-right: 20px; }
  .photo-strip-inner {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 14px; align-items: start;
  }
  .photo-strip img { width: 100%; }
  .photo-strip img:nth-child(odd)  { aspect-ratio: 3 / 4.3; }
  .photo-strip img:nth-child(even) { aspect-ratio: 3 / 3.4; margin-top: 30px; }
  .photo-strip img:nth-child(n+5)  { display: none; }
  .insta-strip .photo-strip img { width: 100%; }
  .insta-strip .photo-strip img:nth-child(even) { margin-top: 30px; }
}

/* ---------- Testimonials (#stimmen) ---------- */
.testimonials { background: var(--c-accent); padding: 110px 0; }
.testi-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 60px; align-items: center;
}
.testi-slider { position: relative; }
.testi-card {
  background: var(--c-primary); color: rgba(255,255,255,.92);
  border-radius: 40px 40px 40px 120px; padding: 48px 42px 42px;
  box-shadow: 14px 14px 0 rgba(132,48,56,.25);
  display: none;
}
.testi-card.active { display: block; }
.testi-head { display: flex; align-items: center; gap: 20px; margin-bottom: 26px; }
.testi-head img {
  width: 92px; height: 92px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--c-accent);
}
.testi-head h3 { color: var(--c-white); margin-bottom: 4px; }
.stars { color: var(--c-accent); font-size: 15px; letter-spacing: 3px; }
.testi-card blockquote { font-size: 16.5px; line-height: 1.65; }
.testi-dots { display: flex; gap: 10px; justify-content: center; margin-top: 26px; }
.testi-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(132,48,56,.3); transition: .3s;
}
.testi-dots button.active { background: var(--c-primary); transform: scale(1.3); }
.testi-copy h2 { color: var(--c-primary); margin-bottom: 20px; }
.testi-copy p { margin-bottom: 30px; }
@media (max-width: 991px) { .testi-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Story / Timeline (#story) ---------- */
.story {
  background: var(--c-secondary);
  padding: 110px 0 90px;
}
.story h2 { color: var(--c-white); text-align: center; max-width: 18ch; margin: 0 auto 80px; }
/* --- Scrollytelling-Kapitel --- */
.story { padding: 0; }
.story-scroll { position: relative; height: 440vh; }
.story-sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; flex-direction: column;
}
.story-head { padding-top: 12vh; text-align: center; }
.story-head h2 { color: var(--c-white); max-width: 22ch; margin: 0 auto; }
.story-chapters { position: relative; flex: 1; }
.chapter {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  gap: 5vw; padding: 0 8vw;
  opacity: 0; pointer-events: none;
  transition: opacity .45s ease;
}
.chapter.active { opacity: 1; pointer-events: auto; }
.chapter:nth-child(even) { flex-direction: row-reverse; }
.chapter-num {
  position: absolute; right: 5vw; bottom: 2vh;
  font-family: var(--f-head); font-weight: 600; font-size: clamp(120px, 20vw, 240px);
  line-height: 1; color: rgba(255,255,255,.10); user-select: none;
}
.chapter:nth-child(even) .chapter-num { right: auto; left: 5vw; }
.chapter-media { flex: 0 0 42%; max-width: 520px; }
.chapter-media img {
  width: 100%; max-height: 54vh; object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 26px 60px rgba(60,12,18,.38);
  opacity: 0; transform: translateY(70px) rotate(-5deg) scale(.9);
  transition: transform .8s cubic-bezier(.34,1.56,.64,1), opacity .45s ease;
}
.chapter:nth-child(even) .chapter-media img { transform: translateY(70px) rotate(5deg) scale(.9); }
.chapter.active .chapter-media img { opacity: 1; transform: none; }
.chapter-text { flex: 0 1 480px; }
.chapter-label {
  display: inline-block; margin-bottom: 16px;
  font-family: var(--f-menu); font-size: 13px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--c-accent);
  opacity: 0; transform: translateY(30px);
  transition: all .6s ease .1s;
}
.chapter-text p {
  color: rgba(255,255,255,.95); font-size: 17.5px;
  opacity: 0; transform: translateY(40px);
  transition: all .7s ease .18s;
}
.chapter.active .chapter-label,
.chapter.active .chapter-text p { opacity: 1; transform: none; }

/* Fortschritts-Pill mit Cupcake + Herzen (im Look der Header-Navi) */
.story-progress {
  margin: 0 auto 5vh; flex: 0 0 auto;
  width: min(620px, 78vw);
  background: var(--c-accent);
  border-radius: var(--radius-pill);
  padding: 16px 26px;
  display: flex; align-items: center; gap: 18px;
  box-shadow: 0 10px 30px rgba(60, 12, 18, .18);
}
.story-progress::before {
  content: "01";
  font-family: var(--f-menu); font-size: 13px; font-weight: 700;
  letter-spacing: .1em; color: var(--c-primary);
}
.story-progress::after {
  content: "04";
  font-family: var(--f-menu); font-size: 13px; font-weight: 700;
  letter-spacing: .1em; color: rgba(132, 48, 56, .45);
}
.sp-track {
  position: relative; flex: 1; height: 3px;
  background: rgba(132, 48, 56, .18); border-radius: 3px;
}
.sp-fill {
  position: absolute; left: 0; top: 0; bottom: 0; width: 0;
  background: var(--c-primary); border-radius: 3px;
}
.sp-cursor {
  position: absolute; right: -17px; top: 50%;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--c-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transform: translateY(-50%);
  animation: cursor-wiggle 1.6s ease-in-out infinite;
}
@keyframes cursor-wiggle {
  0%, 100% { transform: translateY(-50%) rotate(-8deg); }
  50% { transform: translateY(-50%) rotate(8deg); }
}
.sp-heart {
  position: absolute; top: 50%;
  width: 26px; height: 26px;
  background: none; border: 0;
  color: rgba(132, 48, 56, .30);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; line-height: 1;
  transform: translate(-50%,-50%) scale(.8);
  transition: all .45s cubic-bezier(.34,1.8,.64,1);
}
.sp-heart.lit {
  color: var(--c-primary);
  transform: translate(-50%,-50%) scale(1.15);
}

.swipe-hint { display: none; }

@media (max-width: 991px) {
  .story { padding: 70px 0 60px; }
  .story-scroll { height: auto; }
  .story-sticky { position: static; height: auto; overflow: visible; }
  .story-head { padding-top: 0; margin-bottom: 30px; }

  /* Timeline-Slider: horizontal wischen, ein Kapitel pro Karte */
  .story-chapters {
    display: flex; flex: none;
    overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .story-chapters::-webkit-scrollbar { display: none; }
  .chapter {
    position: relative; inset: auto;
    flex: 0 0 100%; min-width: 100%;
    scroll-snap-align: center;
    flex-direction: column !important; align-items: flex-start;
    gap: 16px; padding: 46px 26px 10px;
    opacity: 1 !important; pointer-events: auto;
  }
  .chapter-num {
    position: absolute; top: -14px; right: 18px; left: auto; bottom: auto;
    font-size: 92px; color: rgba(255,255,255,.20);
  }
  .chapter:nth-child(even) .chapter-num { left: auto; right: 18px; }
  .chapter-media { flex: none; width: 100%; max-width: 100%; }
  .chapter-media img { max-height: 40vh; width: 100%; }
  .chapter-media img, .chapter-label, .chapter-text p {
    opacity: 1 !important; transform: none !important;
  }
  .chapter-text { flex: none; }
  .chapter-text p { font-size: 16px; }

  .swipe-hint {
    display: block; text-align: center;
    font-family: var(--f-menu); font-size: 12px; letter-spacing: .2em;
    text-transform: uppercase; color: rgba(255,255,255,.7);
    margin: 18px 0 10px;
  }
  .story-progress { padding-bottom: 10px; width: min(400px, 78vw); }
  .sp-heart { cursor: pointer; width: 30px; height: 30px; font-size: 13px; }
  .sp-cursor { width: 38px; height: 38px; font-size: 18px; right: -19px; }
}

@media (prefers-reduced-motion: reduce) {
  .chapter, .chapter-media img, .chapter-label, .chapter-text p { transition: none !important; }
  .sp-cursor { animation: none; }
}

/* ---------- Team / Work with us (#workwithus) ---------- */
.team {
  background: var(--c-steel);
  padding: 130px 0 110px; color: rgba(255,255,255,.9);
}
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.team h2, .team h3 { color: var(--c-white); margin-bottom: 26px; }

/* Kopfbereich */
.team-head { text-align: center; margin-bottom: 46px; }
.team-eyebrow {
  display: inline-block; margin-bottom: 14px;
  font-family: var(--f-menu); font-size: 12.5px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--c-blue);
}
.team-head h2 { margin-bottom: 14px; }
.team-lead { max-width: 52ch; margin: 0 auto; font-size: 17px; }

/* Tabs */
.team-tabs {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 56px;
}
.team-tab {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: var(--radius-pill);
  padding: 14px 28px; cursor: pointer;
  color: rgba(255,255,255,.85);
  font-family: var(--f-menu); font-size: 15px; font-weight: 600;
  transition: background .3s ease, color .3s ease, border-color .3s ease, transform .3s ease;
}
.team-tab:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }
.team-tab .tab-num {
  font-size: 12px; letter-spacing: .1em; opacity: .7;
}
.team-tab.active {
  background: var(--c-white); color: var(--c-steel);
  border-color: var(--c-white);
  box-shadow: 0 12px 30px rgba(20, 30, 45, .28);
}
.team-tab.active .tab-num { color: var(--c-secondary); opacity: 1; }

/* Panels */
.team-panel { display: none; }
.team-panel.active { display: block; animation: tabfade .5s ease both; }
@keyframes tabfade {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.team-points {
  margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 10px;
}
.team-points li {
  position: relative; padding-left: 26px;
  font-family: var(--f-head); font-weight: 600; font-size: 17.5px; color: var(--c-white);
}
.team-points li::before {
  content: "→"; position: absolute; left: 0; top: 0;
  color: var(--c-blue);
}
@media (max-width: 600px) {
  .team-tabs { flex-direction: column; gap: 10px; }
  .team-tab { justify-content: center; }
}
.team p { margin-bottom: 18px; font-size: 16.5px; }
.team-link {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--f-head); font-weight: 600; font-size: 24px; color: var(--c-white);
  margin-top: 26px; transition: .3s;
}
.team-link:hover { transform: translateX(6px); color: var(--c-blue); }
.team-link .arrow { font-size: 34px; }
.team-grid img { border-radius: var(--radius-lg); width: 100%; object-fit: cover; box-shadow: 0 22px 48px rgba(20, 30, 45, .40); }
@media (max-width: 991px) { .team-grid { grid-template-columns: 1fr; } }

/* ---------- Kontakt ---------- */
.contact { background: var(--c-steel); padding: 40px 0 120px; }
.contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 40px; align-items: stretch; }
.contact-intro {
  background: var(--c-blue); border-radius: var(--radius-lg);
  padding: 56px 44px; display: flex; flex-direction: column; justify-content: space-between;
  color: var(--c-headline);
  box-shadow: 0 20px 44px rgba(20, 30, 45, .30);
}
.contact-intro h2 { color: #2b3a4d; margin-bottom: 30px; }
.contact-intro .mail-label { font-weight: 600; margin-bottom: 6px; color: #2b3a4d; }
.contact-intro a.mail { color: var(--c-steel); font-size: 20px; font-family: var(--f-head); font-weight: 600; }
.contact-form-card {
  background: var(--c-white); border-radius: var(--radius-lg);
  padding: 48px 44px;
  box-shadow: 0 20px 44px rgba(20, 30, 45, .30);
}
.contact-form-embed { padding: 10px; overflow: hidden; }
.contact-form-embed .involveme_embed { min-height: 520px; border-radius: var(--radius-md); overflow: hidden; }
.contact-form-embed .involveme_embed iframe { width: 100% !important; }
.contact-form-card h3 { color: var(--c-headline); text-align: center; margin-bottom: 32px; font-family: var(--f-menu); font-size: 20px; }
.chip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.chip {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--c-steel); color: var(--c-white);
  border-radius: 12px; padding: 16px 18px;
  font-family: var(--f-menu); font-size: 14px;
  cursor: pointer; border: 2px solid transparent; transition: .25s;
}
.chip input { accent-color: var(--c-blue); }
.chip.selected { border-color: var(--c-blue); background: #4d6883; }
.chip.wide { grid-column: 1 / -1; max-width: 60%; margin: 0 auto; }
.form-step-2 { display: none; }
.form-step-2.visible { display: block; }
.form-step-2 input, .form-step-2 textarea {
  width: 100%; margin-bottom: 14px;
  border: 1px solid #d5dde6; border-radius: 12px;
  padding: 14px 16px; font-family: var(--f-body); font-size: 15px;
  color: var(--c-headline); background: #f7fafd;
}
.form-step-2 textarea { min-height: 110px; resize: vertical; }
.form-actions { text-align: center; margin-top: 18px; }
.form-note { text-align: center; font-size: 13px; margin-top: 14px; color: var(--c-body); }
.form-success { text-align: center; color: var(--c-steel); font-family: var(--f-head); font-size: 22px; padding: 40px 0; display: none; }
@media (max-width: 991px) {
  .contact-grid { grid-template-columns: 1fr; }
  .chip.wide { max-width: 100%; }
}

/* ---------- Instagram-Strip ---------- */
.insta-strip .photo-strip-inner { gap: 18px; }
.insta-strip .photo-strip img {
  width: calc(16.66% - 16px); aspect-ratio: 3 / 4; border-radius: 14px;
}
.insta-strip .photo-strip img:nth-child(even) { margin-top: 40px; }
/* ---- Behold-Feed: Kacheln mit Hover-Overlay ---- */
.ig-item {
  position: relative; display: block; padding: 0; border: 0; cursor: pointer;
  width: calc(16.66% - 16px); flex: 0 0 auto;
  background: none; border-radius: 14px; overflow: hidden;
  box-shadow: 0 16px 36px rgba(40, 8, 12, .30);
  transition: transform .35s ease, box-shadow .35s ease;
}
.ig-item:nth-child(even) { margin-top: 40px; }
/* höhere Spezifität als die generischen .photo-strip img-Regeln */
.insta-strip .photo-strip .photo-strip-inner .ig-item img,
.photo-strip .ig-item img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block;
  margin-top: 0; border-radius: 0;
}
.ig-item:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(40, 8, 12, .40); }

.ig-badge {
  position: absolute; top: 10px; right: 12px; z-index: 2;
  color: #fff; font-size: 15px; line-height: 1;
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.ig-hover {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  padding: 16px 14px;
  background: linear-gradient(180deg, rgba(30,10,12,0) 35%, rgba(30,10,12,.82) 100%);
  opacity: 0; transition: opacity .35s ease;
  text-align: left;
}
.ig-item:hover .ig-hover, .ig-item:focus-visible .ig-hover { opacity: 1; }
.ig-hover-stats {
  font-family: var(--f-menu); font-size: 13px; font-weight: 600; color: #fff;
}
.ig-hover-cap {
  font-family: var(--f-body); font-size: 12.5px; line-height: 1.4;
  color: rgba(255,255,255,.9);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---- Lightbox ---- */
.ig-lightbox {
  position: fixed; inset: 0; z-index: 3000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s;
}
.ig-lightbox.open { opacity: 1; visibility: visible; }
.ig-lb-backdrop { position: absolute; inset: 0; background: rgba(30, 10, 12, .82); }
.ig-lb-dialog {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr;
  width: min(940px, calc(100vw - 40px)); max-height: calc(100vh - 60px);
  background: var(--c-white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 30px 70px rgba(30, 10, 12, .45);
  transform: translateY(18px) scale(.97); transition: transform .4s cubic-bezier(.34,1.4,.64,1);
}
.ig-lightbox.open .ig-lb-dialog { transform: none; }
.ig-lb-media { background: #f4eceb; }
.ig-lb-media img { width: 100%; height: 100%; max-height: calc(100vh - 60px); object-fit: cover; display: block; }
.ig-lb-body {
  padding: 34px 32px; display: flex; flex-direction: column; gap: 14px;
  overflow-y: auto;
}
.ig-lb-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ig-lb-user { font-family: var(--f-head); font-weight: 600; font-size: 19px; color: var(--c-primary); }
.ig-lb-date { font-family: var(--f-menu); font-size: 12px; letter-spacing: .06em; color: var(--c-body); }
.ig-lb-caption {
  font-size: 15.5px; line-height: 1.65; white-space: pre-line;
  max-height: 40vh; overflow-y: auto;
}
.ig-lb-stats {
  display: flex; gap: 18px; padding-top: 4px;
  font-family: var(--f-menu); font-size: 13.5px; font-weight: 600; color: var(--c-primary);
}
.ig-lb-link { align-self: flex-start; margin-top: auto; }
.ig-lb-close {
  position: absolute; top: 14px; right: 16px; z-index: 3;
  width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.9); color: var(--c-primary);
  font-size: 24px; line-height: 1; transition: background .25s;
}
.ig-lb-close:hover { background: var(--c-accent); }
.ig-lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.85); color: var(--c-primary);
  font-size: 26px; line-height: 1; transition: background .25s;
}
.ig-lb-nav:hover { background: var(--c-accent); }
.ig-lb-nav.prev { left: 14px; }
.ig-lb-nav.next { left: calc(52.5% - 56px); }

@media (max-width: 767px) {
  .ig-item { width: 100%; }
  .ig-item:nth-child(even) { margin-top: 30px; }
  .ig-item:nth-child(n+5) { display: none; }
  .insta-strip .photo-strip .photo-strip-inner .ig-item img,
  .photo-strip .ig-item img { width: 100%; aspect-ratio: 3 / 4; margin-top: 0; }
  .ig-hover { opacity: 1; background: linear-gradient(180deg, rgba(30,10,12,0) 55%, rgba(30,10,12,.7) 100%); }
  .ig-hover-cap { display: none; }
  .ig-lb-dialog { grid-template-columns: 1fr; max-height: calc(100vh - 30px); }
  .ig-lb-media img { max-height: 42vh; }
  .ig-lb-body { padding: 22px 20px; gap: 10px; }
  .ig-lb-nav.next { left: auto; right: 14px; }
}
@media (max-width: 767px) { .insta-strip .photo-strip img { width: 40vw; } }

/* ---------- CTA ---------- */
.cta { background: var(--c-accent); padding: 110px 0; }
.cta-card {
  background: var(--c-primary); border-radius: var(--radius-lg);
  display: grid; grid-template-columns: 1.1fr .9fr; overflow: hidden;
  max-width: 980px; margin: 0 auto;
  box-shadow: 0 24px 56px rgba(132, 48, 56, .35);
}
.cta-copy { padding: 60px 52px; }
.cta-copy h2 { color: var(--c-accent); margin-bottom: 20px; max-width: 12ch; }
.cta-copy p { color: rgba(255,255,255,.9); margin-bottom: 34px; max-width: 40ch; font-size: 16.5px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-img { min-height: 340px; background: url("../img/ARW02562-1.webp") center / cover no-repeat; }
@media (max-width: 767px) { .cta-card { grid-template-columns: 1fr; } .cta-img { min-height: 260px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-primary); color: rgba(255,255,255,.85); }
.footer-main {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 40px; align-items: center;
  padding: 64px 24px; max-width: var(--container); margin: 0 auto;
}
.footer-logo img { height: 84px; width: auto; }
.footer-mid { text-align: center; }
.footer-mid .mail { font-family: var(--f-head); font-weight: 600; font-size: 20px; color: var(--c-white); }
.footer-legal { margin-top: 12px; display: flex; gap: 18px; justify-content: center; font-size: 13.5px; }
.footer-legal a:hover { color: var(--c-white); }
.footer-right { text-align: right; font-size: 14.5px; line-height: 1.8; }
.footer-right .insta {
  display: inline-flex; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.5);
  align-items: center; justify-content: center; margin-bottom: 12px;
  transition: .3s; color: var(--c-white); font-size: 18px;
}
.footer-right .insta:hover { background: rgba(255,255,255,.15); }
.footer-bar {
  background: var(--c-secondary); padding: 14px 24px;
  display: flex; justify-content: center; align-items: center;
}
.footer-bar img { height: 30px; opacity: .9; transition: opacity .3s; }
.kl-credit { display: inline-flex; align-items: center; }
.kl-credit-text {
  max-width: 0; opacity: 0; overflow: hidden; white-space: nowrap;
  transform: translateX(8px);
  font-family: var(--f-menu); font-size: 12px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--c-white);
  transition: max-width .45s ease, opacity .35s ease, transform .45s ease, margin .45s ease;
}
.kl-credit:hover .kl-credit-text { max-width: 130px; opacity: 1; transform: none; margin-right: 12px; }
.kl-credit:hover img { opacity: 1; }
@media (max-width: 767px) {
  .footer-main { grid-template-columns: 1fr; text-align: center; }
  .footer-logo img { margin: 0 auto; }
  .footer-right { text-align: center; }
}

/* ---------- Legal pages ---------- */
.legal-page { padding: 180px 0 90px; }
.legal-page h1 { color: var(--c-primary); margin-bottom: 40px; }
.legal-page h2 { font-size: 26px; color: var(--c-primary); margin: 42px 0 14px; }
.legal-page p { margin-bottom: 14px; max-width: 80ch; }
.legal-page a { color: var(--c-secondary); text-decoration: underline; }

/* ---------- Cookie-Banner ---------- */
.cookie-banner {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(30px);
  z-index: 2000; width: min(560px, calc(100vw - 32px));
  background: var(--c-white); border-radius: var(--radius-md);
  padding: 26px 28px;
  box-shadow: 0 24px 60px rgba(60, 12, 18, .35);
  opacity: 0; visibility: hidden;
  transition: opacity .4s ease, transform .5s cubic-bezier(.34,1.4,.64,1), visibility .4s;
}
.cookie-banner.show { opacity: 1; visibility: visible; transform: translateX(-50%); }
.cookie-banner h4 {
  font-family: var(--f-head); font-weight: 600; font-size: 20px; color: var(--c-primary);
  margin-bottom: 8px;
}
.cookie-banner p { font-size: 14px; line-height: 1.55; margin-bottom: 16px; }
.cookie-banner p a { color: var(--c-primary); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 12px 22px; font-size: 14px; }
.btn-outline-primary {
  background: transparent; color: var(--c-primary);
  border: 1px solid rgba(132, 48, 56, .45);
}
.btn-outline-primary:hover { background: rgba(132, 48, 56, .07); }

/* Platzhalter für blockiertes involve.me-Formular */
.embed-placeholder {
  min-height: 480px; border-radius: var(--radius-md);
  background: #f2f6fb;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 16px; padding: 40px 30px;
}
.embed-placeholder p { font-size: 15px; max-width: 42ch; }

/* ---------- Reveal animation (fadeInUp wie Elementor) ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
