/* ==========================================================================
   Teyze Time — landing page
   Helles Sticker-Album. Die Farben kommen aus den bunten Kartenmotiven in
   assets/teyze-oktober: Türkis, Rot, Blau und das Aubergine der Strickjacke,
   auf warmem Papierweiss. Braun und Orange kommen bewusst nicht mehr vor.
   Ton: fröhlich, aber streng — runde Formen, harte Konturen.
   ========================================================================== */

:root {
  /* Grundflächen */
  --cream:      #FFF7EC;
  --cream-2:    #FFFCF6;
  --white:      #FFFFFF;

  /* Schrift */
  --ink:        #33132B;   /* tiefes Pflaume statt Schwarz */
  --ink-soft:   #6E4E62;
  --ink-line:   rgba(51, 19, 43, .14);
  --on-color:   #FFF7EC;   /* Text auf gesättigten Flächen */

  /* Akzente, direkt aus den Kartenmotiven abgenommen */
  --teal:       #13BCB5;
  --teal-d:     #0E9A94;
  --teal-l:     #DFF7F5;
  --red:        #E03A26;
  --red-d:      #C02B1B;
  --red-l:      #FFE7E2;
  --blue:       #0F68F3;
  --blue-d:     #0B51C7;
  --blue-l:     #E4EDFF;
  --plum:       #6A1D4C;
  --plum-l:     #F8E9F2;
  --sun:        #FFC24A;   /* nur als Funke, nie als Fläche */

  /* Rollen */
  --paper:      var(--cream);
  --card:       var(--white);
  --accent:     var(--red);

  --radius:     18px;
  --radius-lg:  26px;
  --shell:      1160px;

  /* Sticker-Look: harte Kontur plus versetzter Schatten */
  --edge:       2px solid var(--ink);
  --pop:        6px 6px 0 var(--ink);
  --pop-sm:     4px 4px 0 var(--ink);
  --shadow-sm:  0 3px 10px rgba(51,19,43,.10);
  --shadow-md:  0 16px 34px -18px rgba(51,19,43,.35);
  --shadow-lg:  0 30px 60px -30px rgba(51,19,43,.42);

  --font-display: "Playfair Display", Georgia, serif;
  --font-body:    "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.22, .68, .36, 1);
}

/* ── reset ────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html { scroll-padding-top: calc(var(--site-header-height, 72px) + 1rem); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; margin: 0; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--red); color: var(--on-color);
  padding: .7rem 1.1rem; border-radius: 999px; font-weight: 700;
  text-decoration: none; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.shell { width: min(100% - 2.5rem, var(--shell)); margin-inline: auto; }

section[id] { scroll-margin-top: 92px; }
@media (max-width: 767px) { section[id] { scroll-margin-top: 130px; } }

/* Papierkorn. Bewusst ohne mix-blend-mode: eine ganzseitig geblendete
   Auflage zieht die Seite auf eine Compositing-Ebene und manche Engines
   malen darunter ganze Abschnitte nicht mehr. Auf hellem Grund reicht sehr
   wenig Deckkraft, sonst wird das Cremeweiss grau. */
.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
}

/* ── Aufkleber ────────────────────────────────────────────────────────── *
 * Alle Schnipsel aus den Sticker-Bögen laufen über .sticker. Sie sind rein
 * dekorativ, liegen hinter dem Text und verschwinden auf schmalen Geräten.
 * -------------------------------------------------------------------- */

.sticker {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  filter: drop-shadow(0 8px 14px rgba(51,19,43,.16));
  will-change: transform;
}
@media (max-width: 900px) { .sticker { display: none; } }

.sticker--bob    { animation: bob 5.2s ease-in-out infinite; }
.sticker--bob-2  { animation: bob 6.8s ease-in-out infinite .7s; }
.sticker--wobble { animation: wobble 7.4s ease-in-out infinite; }
.sticker--spin   { animation: slow-spin 26s linear infinite; }
.sticker--pulse  { animation: pulse 3.6s ease-in-out infinite; }

@keyframes bob       { 0%,100% { transform: translateY(0) rotate(var(--rot,0deg)); }
                       50%     { transform: translateY(-13px) rotate(calc(var(--rot,0deg) + 3deg)); } }
@keyframes wobble    { 0%,100% { transform: rotate(calc(var(--rot,0deg) - 6deg)); }
                       50%     { transform: rotate(calc(var(--rot,0deg) + 6deg)); } }
@keyframes slow-spin { to      { transform: rotate(360deg); } }
@keyframes pulse     { 0%,100% { transform: scale(1)    rotate(var(--rot,0deg)); }
                       50%     { transform: scale(1.12) rotate(var(--rot,0deg)); } }

/* ── Buttons ──────────────────────────────────────────────────────────── */

.btn {
  --btn-bg: var(--red);
  --btn-fg: var(--on-color);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  gap: .55rem;
  min-height: 50px;
  padding: .85rem 1.7rem;
  border: var(--edge);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 700 1rem/1 var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: var(--pop-sm);
  transition: transform .14s var(--ease), box-shadow .14s var(--ease), background .2s var(--ease);
}
.btn:hover  { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px);   box-shadow: 1px 1px 0 var(--ink); }

.btn--primary:hover   { background: var(--red-d); }
.btn--secondary       { --btn-bg: var(--teal); --btn-fg: var(--ink); }
.btn--secondary:hover { background: var(--teal-d); }

.btn--ghost       { --btn-bg: var(--white); --btn-fg: var(--ink); }
.btn--ghost:hover { background: var(--teal-l); }

.btn--small { min-height: 40px; padding: .5rem 1.05rem; font-size: .9rem; }

/* Der eine Button, der zählt, wippt leise — wie ein ungeduldiger Zeigefinger. */
.hero__actions .btn--primary { animation: cta-nudge 4.2s ease-in-out infinite; }
@keyframes cta-nudge {
  0%, 82%, 100% { transform: translate(0, 0)       rotate(0deg); }
  86%           { transform: translate(-2px, -3px) rotate(-1.6deg); }
  90%           { transform: translate(-2px, -3px) rotate(1.6deg); }
  94%           { transform: translate(-2px, -3px) rotate(-1deg); }
}
.hero__actions .btn--primary:hover { animation: none; }

.btn.is-unset {
  --btn-bg: var(--plum-l); --btn-fg: var(--ink-soft);
  box-shadow: 2px 2px 0 var(--ink-line); cursor: default;
  animation: none;
}
.btn.is-unset:hover { transform: none; box-shadow: 2px 2px 0 var(--ink-line); background: var(--plum-l); }

/* ── Kopfzeile ────────────────────────────────────────────────────────── */

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  background: transparent;
  border-bottom: 2px solid transparent;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--ink-line);
}
.site-header__inner { display: flex; align-items: center; gap: 1rem; min-height: 72px; flex-wrap: wrap; }

.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: inherit; margin-inline-end: auto; }
.brand__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--teal-l);
  object-fit: cover; object-position: 50% 26%;
  transition: transform .3s var(--ease);
}
.brand:hover .brand__avatar { transform: rotate(-8deg) scale(1.06); }
.brand__name { font: 700 1.45rem/1 var(--font-display); letter-spacing: -.015em; }
.brand__name-alt { color: var(--red); margin-inline-start: .26em; }

.site-nav { display: flex; align-items: center; gap: 1.3rem; }
.site-nav a {
  color: var(--ink-soft); text-decoration: none;
  font-weight: 700; font-size: .95rem;
  padding: .3rem 0;
  border-bottom: 2px solid transparent;
  transition: color .18s var(--ease), border-color .18s var(--ease);
  white-space: nowrap;
}
.site-nav a:hover { color: var(--ink); border-color: var(--teal); }
.site-nav__cta {
  color: var(--ink) !important;
  border: 2px solid var(--ink) !important;
  border-radius: 999px;
  padding: .4rem 1rem !important;
  background: var(--teal);
  box-shadow: 3px 3px 0 var(--ink);
}
.site-nav__cta:hover { background: var(--red); color: var(--on-color) !important; }

.lang { display: flex; gap: 2px; padding: 3px; border: 2px solid var(--ink); border-radius: 999px; background: var(--white); }
.lang__btn {
  border: 0; background: transparent; cursor: pointer;
  color: var(--ink-soft);
  font: 700 .8rem/1 var(--font-body);
  letter-spacing: .04em;
  padding: .45rem .7rem;
  border-radius: 999px;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.lang__btn:hover { color: var(--ink); background: var(--teal-l); }
.lang__btn[aria-pressed="true"] { background: var(--plum); color: var(--on-color); }

/* ── gemeinsame Bausteine ─────────────────────────────────────────────── */

/* Texte, die als einzelne Zeilen geschrieben sind, behalten ihre Umbrüche —
   der Rhythmus gehört zur Stimme. Die Übersetzungen tragen \n in script.js. */
.lines { white-space: pre-line; }

.section { position: relative; padding-block: clamp(3.5rem, 8vw, 6rem); }
.section__head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3rem); position: relative; z-index: 1; }
.section__head--center { text-align: center; margin-inline: auto; }
.section__title { font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.12; letter-spacing: -.03em; margin-bottom: 1.1rem; text-wrap: balance; }
.section__lead { color: var(--ink-soft); font-size: 1.12rem; max-width: 52ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 800; letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--teal-d);
  margin-bottom: 1rem;
}
.eyebrow__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); animation: dot-ping 2.3s ease-out infinite; }
@keyframes dot-ping {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--red) 55%, transparent); }
  70%  { box-shadow: 0 0 0 11px color-mix(in srgb, var(--red) 0%, transparent); }
  100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--red) 0%, transparent); }
}

.frame { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--white); }
.frame img { width: 100%; }
.frame--card { border: var(--edge); box-shadow: var(--pop); }

/* ── Hero ─────────────────────────────────────────────────────────────── *
 * Teyze steht in voller Größe, ihre Füße stehen auf der Unterkante des
 * Abschnitts — deshalb padding-bottom 0 und align-items:end.
 * -------------------------------------------------------------------- */

.hero {
  position: relative;
  padding-block: clamp(2rem, 5vw, 3.5rem) 0;
  overflow: hidden;
  background:
    radial-gradient(90% 70% at 12% 0%,  color-mix(in srgb, var(--teal) 20%, transparent), transparent 70%),
    radial-gradient(70% 60% at 92% 12%, color-mix(in srgb, var(--blue) 15%, transparent), transparent 72%),
    linear-gradient(180deg, var(--cream-2), var(--cream));
  border-bottom: 2px solid var(--ink-line);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: url('assets/bg-cream.webp?v=25') center/cover;
  opacity: .5;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
}

.hero__inner {
  position: relative; z-index: 1;
  display: grid; gap: clamp(1.5rem, 4vw, 3.5rem);
  grid-template-columns: 1fr;
  align-items: end;
}
@media (min-width: 900px) { .hero__inner { grid-template-columns: 1.05fr .95fr; } }

.hero__text { padding-bottom: clamp(3rem, 7vw, 5.5rem); }

.hero__title {
  font-size: clamp(2.15rem, 6vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  margin-bottom: .85rem;
  text-wrap: balance;
}
.hero__title-alt { display: block; color: var(--red); }
.hero__eyes { display: inline-block; margin-inline-start: .18em; transform-origin: 50% 60%; animation: eyes-peek 5.2s ease-in-out infinite; }
@keyframes eyes-peek {
  0%, 62%, 100% { transform: translateY(0) scaleY(1); }
  68%           { transform: translateY(-3px) scaleY(.55); }
  74%           { transform: translateY(0) scaleY(1); }
  80%           { transform: translateY(0) scaleY(.55); }
  86%           { transform: translateY(0) scaleY(1); }
}

.hero__kicker { font: 700 clamp(1.15rem, 2.6vw, 1.4rem)/1.3 var(--font-display); color: var(--teal-d); margin-bottom: .5rem; }
.hero__sub { font-size: clamp(1.02rem, 2.1vw, 1.14rem); color: var(--ink-soft); max-width: 42ch; margin-bottom: 1.8rem; text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.1rem; }
.hero__note { display: flex; align-items: center; gap: .5rem; font-size: .92rem; color: var(--ink-soft); }
.hero__note-icon { font-size: 1rem; }

.hero__art { position: relative; align-self: end; }

/* ── Teyze mit blickfolgenden Augen ──────────────────────────────────── *
 * hero-teyze.webp zeigt die ganze Figur, in den Augen ist nur das Weiss
 * stehen geblieben. Pupillen und Lider sind DOM-Elemente; script.js bewegt
 * die Pupillen. Alle Maße in Prozent der Bildbreite, damit sie bei jeder
 * Darstellungsgröße sitzen.
 * -------------------------------------------------------------------- */

.teyze {
  position: relative;
  width: min(100%, 430px);
  margin-inline: auto;
  /* Die Füße bleiben auf dem Boden, nur der Oberkörper wiegt sich. */
  transform-origin: 50% 100%;
  animation: teyze-sway 7.5s ease-in-out infinite;
}
.teyze__head { width: 100%; display: block; }

@keyframes teyze-sway {
  0%, 100% { transform: rotate(-.9deg); }
  50%      { transform: rotate(.9deg); }
}

.teyze__pupil {
  position: absolute; left: 0; top: 0;
  width: 7.9%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #201018;
  pointer-events: none;
  transform: translate(-50%, -50%) translate(var(--px, 0px), var(--py, 0px));
  transition: transform .22s var(--ease);
}
.teyze__pupil::after {
  content: "";
  position: absolute; left: 56%; top: 16%;
  width: 30%; aspect-ratio: 1; border-radius: 50%;
  background: rgba(255, 252, 246, .95);
}

/* Das Lid ist eine hautfarbene Scheibe, die sich kurz über die Augenweiss-
   fläche aufzieht. Weil sie knapp innerhalb der Brillenfassung bleibt, bleibt
   der schwarze Rand sichtbar und der Blinzler liest sich richtig. */
.teyze__lid {
  position: absolute; left: 0; top: 0;
  width: 13.4%;
  aspect-ratio: 108 / 78;
  border-radius: 50%;
  background: #FBC28C;
  pointer-events: none;
  transform: translate(-50%, -50%) scaleY(0);
  animation: blink 6.4s ease-in-out infinite;
}
.teyze__lid--2 { animation-delay: .06s; }
@keyframes blink {
  0%, 93%, 100% { transform: translate(-50%, -50%) scaleY(0); }
  94.5%, 96%    { transform: translate(-50%, -50%) scaleY(1); }
  97.5%         { transform: translate(-50%, -50%) scaleY(0); }
  98.5%, 99.2%  { transform: translate(-50%, -50%) scaleY(1); }
}

/* der Demo-Timer, an die Figur gelehnt */
.timer {
  position: absolute; z-index: 2;
  inset-inline-start: clamp(-1.5rem, -1vw, 0rem);
  bottom: clamp(2rem, 7vw, 4.5rem);
  width: min(245px, 62%);
  padding: 1rem 1.1rem 1.1rem;
  background: var(--white);
  border: var(--edge);
  border-radius: var(--radius);
  box-shadow: var(--pop);
  transform: rotate(-2.4deg);
  text-align: center;
}
.timer__label { font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-d); }
.timer__display { font: 700 2.6rem/1.05 var(--font-display); font-variant-numeric: tabular-nums; letter-spacing: -.02em; color: var(--red); margin-block: .1rem .5rem; }
.timer__bar { height: 9px; border-radius: 99px; background: var(--teal-l); border: 2px solid var(--ink); overflow: hidden; margin-bottom: .8rem; }
.timer__bar span {
  display: block; height: 100%; width: 0%;
  background: repeating-linear-gradient(45deg, var(--teal) 0 6px, var(--teal-d) 6px 12px);
  background-size: 17px 17px;
  transition: width .4s linear;
}
.timer.is-running .timer__bar span { animation: stripes .9s linear infinite; }
@keyframes stripes { to { background-position: 17px 0; } }
.timer__actions { display: flex; gap: .45rem; justify-content: center; }
.timer__say { margin-top: .7rem; font-size: .84rem; line-height: 1.4; color: var(--ink-soft); min-height: 2.4em; }

/* Hero-Aufkleber */
.hero__sticker { z-index: 1; }
.hero__sticker--nazar  { --rot: -8deg; width: 76px; inset-inline-start: 2.5%; top: 16%; }
.hero__sticker--flower { --rot: 12deg; width: 92px; inset-inline-end: 2%;    top: 5%; }
.hero__sticker--cay    { --rot: -5deg; width: 80px; inset-inline-end: 11%;   bottom: 9%; }
.hero__sticker--heart  { --rot: 9deg;  width: 54px; inset-inline-start: 44%; top: 3%; }

/* ── Zitatband ────────────────────────────────────────────────────────── */

.band { background: var(--teal); color: var(--ink); border-block: 2px solid var(--ink); }
.band__inner { min-height: 104px; display: flex; align-items: center; justify-content: center; gap: 1.8rem; padding-block: 1.3rem; flex-wrap: wrap; }
.band__label { font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; color: var(--plum); flex: none; }
.band__quote { font: 700 italic clamp(1.15rem, 2.2vw, 1.7rem)/1.35 var(--font-display); transition: opacity .4s, transform .4s; text-align: center; }
.band__quote.is-out { opacity: 0; transform: translateY(6px); }

/* ── Reel ─────────────────────────────────────────────────────────────── */

.reel-section { background: var(--white); border-bottom: 2px solid var(--ink-line); }
.reel__inner { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.reel__copy .section__title { font-size: clamp(2rem, 3.7vw, 3rem); max-width: 14ch; }
.reel__copy .section__lead { max-width: 30ch; }
.reel__ornament { width: 108px; height: auto; margin-top: 1.5rem; animation: wobble 8s ease-in-out infinite; }
.reel__film {
  margin: 0; border: var(--edge); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--ink);
  box-shadow: var(--pop); transform: rotate(1.2deg);
}
.reel__film video { display: block; width: 100%; height: auto; aspect-ratio: 16/9; }

/* ── Was ist Teyze Time ───────────────────────────────────────────────── */

.section--what { overflow: hidden; }
.section--what .section__head { text-align: center; margin-inline: auto; }
.section--what .section__lead { margin-inline: auto; max-width: 48ch; }

.features { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; position: relative; z-index: 1; }

.feature {
  position: relative; isolation: isolate; overflow: hidden;
  border: var(--edge); border-radius: var(--radius-lg);
  box-shadow: var(--pop);
  padding: clamp(1.8rem, 3vw, 2.5rem);
  min-height: 330px;
  background: var(--white);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.feature:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.feature__copy { position: relative; z-index: 1; }
.feature__title { font-size: clamp(1.55rem, 2.6vw, 2.15rem); margin-bottom: .9rem; line-height: 1.1; }
.feature__text { font-size: 1.06rem; line-height: 1.55; max-width: 33ch; }
.feature__art { position: absolute; z-index: 0; pointer-events: none; object-fit: contain; transition: transform .35s var(--ease); }

.feature--focus {
  grid-column: span 3; min-height: 420px;
  background: var(--teal) url('assets/bg-blue.webp?v=25') center/cover;
  background-blend-mode: soft-light;
  color: var(--ink);
  padding-inline-start: 46%;
  display: flex; align-items: center;
}
.feature--focus .feature__art { width: 33%; inset-inline-start: 6%; bottom: 26px; height: 340px; transform: rotate(-6deg); filter: drop-shadow(0 16px 18px rgba(51,19,43,.3)); }
.feature--focus:hover .feature__art { transform: rotate(-2deg) translateY(-8px); }
.feature--focus .feature__text { max-width: 18ch; }

.feature--blocking { grid-column: span 3; min-height: 420px; background: var(--red); color: var(--on-color); }
.feature--blocking .feature__copy { max-width: 76%; }
.feature--blocking .feature__art { width: 175px; inset-inline-end: -16px; bottom: -6px; transform: rotate(-20deg); }
/* der Pantoffel holt aus, sobald man hinfasst */
.feature--blocking:hover .feature__art { transform: rotate(16deg) translate(-16px, -22px); }

.feature--habits { grid-column: span 2; background: var(--cream-2); }
.feature--habits .feature__art { width: 100px; inset-inline-end: 14px; bottom: -8px; }
.feature--habits:hover .feature__art { transform: translateY(-10px) rotate(6deg); }
.feature--habits .feature__text { padding-inline-end: 5.5rem; }

.feature--mahalle { grid-column: span 4; min-height: 460px; background: var(--blue); color: var(--on-color); }
/* Das Nachtdorf laeuft nach oben weich aus, statt mit einer Kante anzusetzen —
   derselbe Uebergang wie im Hilf-Teyze-Abschnitt. */
.feature--mahalle .feature__art {
  width: 100%; height: 270px; object-fit: cover; object-position: center bottom;
  bottom: 0; inset-inline-start: 0;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.4) 12%, rgba(0,0,0,.88) 27%, #000 42%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.4) 12%, rgba(0,0,0,.88) 27%, #000 42%);
}
.feature--mahalle::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 270px;
  z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, color-mix(in srgb, var(--blue) 62%, transparent) 0%, transparent 30%);
}
.feature--mahalle .feature__text { max-width: 47ch; }

.feature--reactions {
  grid-column: 1 / -1; min-height: 210px;
  background: var(--plum); color: var(--on-color);
  display: flex; align-items: center;
  padding-inline-end: 260px;
}
.feature--reactions .feature__title { color: var(--sun); }
.feature--reactions .feature__text { max-width: 68ch; }
.feature--reactions .feature__art { width: 200px; height: auto; inset-inline-end: 30px; bottom: -14px; }
.feature--reactions:hover .feature__art { transform: rotate(-6deg) scale(1.06); }

.what__sticker--soup { --rot: -7deg; width: 108px; inset-inline-start: 10px; top: 17%; }
.what__sticker--herb { --rot: 14deg; width: 88px;  inset-inline-end: 12px;    top: 9%; }

/* ── Teyzes Küche ─────────────────────────────────────────────────────── */

.section--kitchen { padding-block: clamp(2rem, 4vw, 3rem) clamp(3.5rem, 7vw, 5.5rem); }
.kitchen__inner {
  position: relative;
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; gap: 2rem;
  background: url('assets/bg-kitchen-tiles.webp?v=25') center/cover;
  border: var(--edge); border-radius: var(--radius-lg);
  box-shadow: var(--pop);
  padding: clamp(2rem, 4vw, 3.4rem) clamp(1.6rem, 4vw, 4rem) 0;
  overflow: hidden;
}
/* helle Auflage, damit die Schrift auf der Kachelwand ruhig steht */
.kitchen__inner::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(255,250,242,.95) 0%, rgba(255,250,242,.88) 48%, rgba(255,250,242,.32) 78%, transparent 100%);
}
.kitchen__text { position: relative; z-index: 1; grid-column: 1; grid-row: 1; padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.kitchen__art  { position: relative; z-index: 1; grid-column: 2; grid-row: 1; align-self: end; background: transparent; border: 0; box-shadow: none; overflow: visible; margin: 0; }
.kitchen__art img { width: 100%; max-height: 560px; object-fit: contain; object-position: bottom; filter: drop-shadow(0 20px 26px rgba(51,19,43,.24)); }
.kitchen__text .section__title { color: var(--plum); }
.kitchen__small { margin-top: 1.1rem; color: var(--ink-soft); font-size: .95rem; }
.kitchen__actions { margin-top: 1.5rem; }
.kitchen__kicker { font: 700 italic 1.3rem/1.4 var(--font-display); margin-top: 1.4rem; color: var(--teal-d); }

.kitchen__sticker--spoon { --rot: -12deg; width: 126px; inset-inline-end: 2%;   top: 5%;     z-index: 2; }
.kitchen__sticker--lemon { --rot: 8deg;   width: 70px;  inset-inline-end: 34%;  top: 7%;     z-index: 2; }

/* ── Die Teyzes ───────────────────────────────────────────────────────── */

#teyze { position: relative; overflow: hidden; background: var(--cream-2); border-block: 2px solid var(--ink-line); }
#teyze .section__head { text-align: center; margin-inline: auto; }
#teyze .section__lead { margin-inline: auto; }

.cast { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: start; position: relative; z-index: 1; }
.cast__item {
  overflow: hidden; border-radius: var(--radius-lg);
  border: var(--edge); box-shadow: var(--pop);
  background: var(--teal); color: var(--ink);
  padding-bottom: 1.6rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.cast__item:nth-child(1) { transform: rotate(-2.5deg); }
.cast__item:nth-child(2) { background: var(--red);  color: var(--on-color); margin-top: 28px; }
.cast__item:nth-child(3) { background: var(--blue); color: var(--on-color); transform: rotate(2.5deg); }
.cast__item:hover { transform: translateY(-10px) rotate(0deg); box-shadow: 10px 12px 0 var(--ink); }
.cast .frame { border-radius: 0; border: 0; box-shadow: none; margin: 0 0 1.3rem; background: transparent; }
.cast .frame img { width: 100%; aspect-ratio: 9/8; object-fit: cover; transition: transform .4s var(--ease); }
.cast__item:hover .frame img { transform: scale(1.04); }
.cast__name { font-size: clamp(1.35rem, 2.2vw, 1.85rem); padding-inline: 1.5rem; margin-bottom: .7rem; }
.cast__text { padding-inline: 1.5rem; font-size: 1.02rem; line-height: 1.5; }
.cast__more { display: flex; align-items: center; justify-content: center; gap: .9rem; text-align: center; margin-top: 3.2rem; color: var(--ink-soft); font: 700 italic 1.1rem/1.5 var(--font-display); position: relative; z-index: 1; }
.cast__more-mark { width: 36px; height: auto; animation: pulse 3.6s ease-in-out infinite; }

.cast__sticker--nazar { --rot: 10deg; width: 78px; inset-inline-end: 14px;    top: 15%; }
.cast__sticker--pot   { --rot: -6deg; width: 86px; inset-inline-start: 10px;  bottom: 16%; }

/* ── Hilf Teyze ───────────────────────────────────────────────────────── */

.help__inner {
  position: relative; display: grid; grid-template-columns: 1fr;
  overflow: hidden;
  border: var(--edge); border-radius: var(--radius-lg);
  box-shadow: var(--pop);
  padding: clamp(2.2rem, 4vw, 3.8rem) clamp(1.6rem, 4vw, 4rem) 420px;
  background: var(--teal-d);
  color: var(--on-color);
}
/* Das Nachtdorf sitzt auf derselben Flaeche wie der Text, deshalb laeuft es
   oben weich aus, statt mit einer harten Kante anzusetzen. Zusaetzlich legt
   sich ein tuerkiser Schleier darueber, damit die Farbfamilien sich treffen. */
.help__village {
  position: absolute; bottom: 0; left: 0; width: 100%; height: 480px;
  object-fit: cover; object-position: center bottom;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.4) 9%, rgba(0,0,0,.88) 20%, #000 32%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.4) 9%, rgba(0,0,0,.88) 20%, #000 32%);
}
.help__inner::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 480px;
  pointer-events: none;
  background: linear-gradient(180deg, color-mix(in srgb, var(--teal-d) 62%, transparent) 0%, transparent 24%);
}
.help__col { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.help__title, .help__col > .section__lead { grid-column: 1; }
.help__title { color: var(--on-color); }
.help__heart { width: auto; height: 44px; display: inline-block; vertical-align: -.12em; margin-inline-end: .5rem; animation: pulse 2.4s ease-in-out infinite; }
.help__col > .section__lead { color: color-mix(in srgb, var(--on-color) 84%, transparent); margin-bottom: 1.5rem; }
.help__goal-intro { grid-column: 2; grid-row: 1; align-self: end; color: color-mix(in srgb, var(--on-color) 80%, transparent); }

.goals { grid-column: 2; grid-row: 2 / 4; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-block: 1.5rem; border-block: 2px solid color-mix(in srgb, var(--on-color) 32%, transparent); }
.goal { display: flex; flex-direction: column; gap: 6px; }
.goal__icon { display: none; }
.goal__num { font: 700 clamp(2.4rem, 4vw, 3.5rem)/1.1 var(--font-display); color: var(--sun); }
.goal__label { font-size: .9rem; color: color-mix(in srgb, var(--on-color) 84%, transparent); }
.goal__of { font-size: .9rem; }
.goal__meter { height: 6px; width: 100%; margin-top: .6rem; border-radius: 99px; background: color-mix(in srgb, var(--on-color) 24%, transparent); overflow: hidden; }
.goal__bar { display: block; height: 100%; width: 0; background: var(--sun); border-radius: 99px; transition: width .8s var(--ease); }
.help__updated { grid-column: 2; font-size: .8rem; color: color-mix(in srgb, var(--on-color) 72%, transparent); }
.help__body { grid-column: 1; display: grid; gap: 1.1rem; color: color-mix(in srgb, var(--on-color) 88%, transparent); font-size: 1rem; }
.help__every { grid-column: 2; grid-row: 4; font: 700 italic 1.35rem/1.4 var(--font-display); margin-top: 1.7rem; }
.help__actions { grid-column: 2; grid-row: 5; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5rem; }
.help__actions .btn--ghost { --btn-bg: var(--cream); }

/* aus den Folgen-Buttons steigen Herzen auf */
.help__actions .btn::after {
  content: "♥"; position: absolute; left: 50%; top: 0;
  font-size: 1.1rem; color: var(--red);
  opacity: 0; pointer-events: none;
}
.help__actions .btn:hover::after { animation: heart-up 1.1s ease-out infinite; }
@keyframes heart-up {
  0%   { opacity: 0; transform: translate(-50%, 0) scale(.6); }
  25%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -46px) scale(1.25); }
}

/* ── Journey ──────────────────────────────────────────────────────────── */

#journey { position: relative; overflow: hidden; background: var(--white); border-block: 2px solid var(--ink-line); }
/* Teyze winkt vom Rand der Roadmap herein */
.journey__wave {
  position: absolute; z-index: 0; pointer-events: none;
  inset-inline-end: 2%; top: clamp(1rem, 3vw, 2.5rem);
  width: 132px; height: auto;
  transform-origin: 50% 100%;
  filter: drop-shadow(0 14px 20px rgba(51,19,43,.18));
  animation: wave-tilt 4.4s ease-in-out infinite;
}
@keyframes wave-tilt { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(2.5deg); } }
@media (max-width: 1100px) { .journey__wave { display: none; } }
#journey .section__head { text-align: left; max-width: none; }
.journey__chapters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.6rem, 3vw, 2.4rem); }
.journey__chapter { border-top: 3px solid var(--ink); padding-top: 1.5rem; }
.journey__chapter:nth-child(2) { border-color: var(--teal); }
.journey__chapter:nth-child(3) { border-color: var(--blue); }
.journey__chapter-title { font-size: 1.55rem; color: var(--plum); margin-bottom: 1.4rem; }
.journey { display: grid; gap: 1.2rem; }
.journey__step { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; }
.journey__mark { font-size: 0; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink); background: var(--white); margin: 7px 0 0 4px; }
.journey__step[data-state='done']   .journey__mark { background: var(--teal); }
.journey__step[data-state='unlock'] .journey__mark,
.journey__step[data-state='launch'] .journey__mark { background: var(--red); animation: pulse 2.2s ease-in-out infinite; }
.journey__title { font-family: var(--font-body); font-size: 1.05rem; font-weight: 800; margin-bottom: 4px; line-height: 1.3; }
.journey__text { color: var(--ink-soft); font-size: .95rem; line-height: 1.45; }
.journey__step--key .journey__title { color: var(--red); }

/* ── Noch etwas, evladım ──────────────────────────────────────────────── */

.section--note { padding-block: clamp(3rem, 6vw, 4.5rem); }
.note {
  position: relative;
  display: grid; grid-template-columns: 120px 1fr; gap: .6rem 2.4rem; align-items: center;
  max-width: 920px; margin-inline: auto;
  padding: clamp(2rem, 4vw, 3rem) clamp(1.8rem, 4vw, 3rem);
  background: var(--white);
  border: var(--edge); border-radius: var(--radius-lg);
  box-shadow: var(--pop);
}
.note__cay { grid-row: 1 / 3; width: 104px; max-height: 170px; object-fit: contain; animation: wobble 6.6s ease-in-out infinite; }
.note__title { font-size: clamp(1.6rem, 3vw, 2rem); }
.note__text { color: var(--ink-soft); max-width: 67ch; }

.note__sticker--jar { --rot: 8deg;   width: 84px;  inset-inline-end: -40px;   top: -26px; }
.note__sticker--pin { --rot: -14deg; width: 118px; inset-inline-start: -56px; bottom: -22px; }

/* ── Warteliste ───────────────────────────────────────────────────────── */

.section--waitlist {
  position: relative;
  padding-block: clamp(2rem, 4vw, 3rem) 0;
  background: url('assets/bg-counter.webp?v=25') center/cover;
  border-top: 2px solid var(--ink-line);
}
.section--waitlist::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 0%, rgba(255,250,242,.5) 35%, rgba(255,250,242,.93) 60%); }
.waitlist__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: end; }
.waitlist__teyze { grid-column: 1; grid-row: 1; max-height: 560px; width: 100%; object-fit: contain; object-position: center bottom; align-self: end; filter: drop-shadow(0 20px 26px rgba(51,19,43,.22)); }
.waitlist__col { grid-column: 2; grid-row: 1; padding-block: 2rem 4rem; }
.waitlist__text .section__title { font-size: clamp(2.4rem, 5vw, 4rem); color: var(--plum); }

.form { margin-top: 1.8rem; }
.form__embed { min-height: 52px; }
.form__embed button, .form__embed [data-tf-slider] {
  font-family: var(--font-body) !important;
  font-size: 1.05rem !important; font-weight: 700 !important;
  padding: 15px 30px !important; border-radius: 999px !important;
  background: var(--red) !important; color: var(--on-color) !important;
  border: 2px solid var(--ink) !important; height: auto !important;
  box-shadow: 4px 4px 0 var(--ink); cursor: pointer;
}
.form__fallback { display: inline-block; margin-top: .9rem; color: var(--ink-soft); font-size: .9rem; text-underline-offset: 4px; }
.form__fallback:hover { color: var(--red); }
.form__small { font-size: .9rem; color: var(--ink-soft); margin-top: .8rem; }
.form__status { color: var(--ink-soft); }

/* ── Fußzeile ─────────────────────────────────────────────────────────── */

.site-footer { border-top: 2px solid var(--ink); background: var(--plum); color: var(--on-color); padding-block: 2.4rem; }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem 2rem; }
.site-footer__logo { width: 168px; height: auto; }
.site-footer__brand { font: 700 1.5rem/1 var(--font-display); }
.site-footer__note { font-size: .92rem; color: color-mix(in srgb, var(--on-color) 84%, transparent); flex: 1; }
.site-footer__copy { font-size: .8rem; color: color-mix(in srgb, var(--on-color) 68%, transparent); }

/* ── Einblenden beim Scrollen ─────────────────────────────────────────── */

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .cast__item:nth-child(1).is-visible { transform: rotate(-2.5deg); }
.js .cast__item:nth-child(3).is-visible { transform: rotate(2.5deg); }
.js .cast__item.is-visible:hover { transform: translateY(-10px) rotate(0deg); }

/* ── schmalere Fenster ────────────────────────────────────────────────── */

@media (max-width: 1000px) {
  .help__inner { padding: 2.4rem 2.2rem 330px; }
  .help__village { height: 380px; }
  .help__inner::after { height: 380px; }
  .help__col { column-gap: 2rem; }
  .feature--focus { padding-inline-start: 44%; }
  .feature--reactions { padding-inline-end: 200px; }
  .feature--reactions .feature__art { width: 160px; }
  .cast { gap: 18px; }
}

@media (max-width: 899px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__text { padding-bottom: 1rem; }
  .hero__art { display: flex; flex-direction: column; align-items: center; }
  .teyze { width: min(78%, 330px); }
  /* Der Timer rutscht ueber die Figur, damit Teyze auch hier mit den Fuessen
     auf der Unterkante des Abschnitts steht. */
  .timer { order: -1; position: static; width: min(320px, 100%); margin: 0 auto 1.4rem; transform: rotate(-1.4deg); }
}

@media (max-width: 767px) {
  .shell { width: calc(100% - 2.2rem); }
  .site-header__inner { flex-wrap: wrap; min-height: 64px; padding-block: .5rem; gap: .6rem; }
  .brand__name { font-size: 1.28rem; }
  .brand__avatar { width: 36px; height: 36px; }
  .site-nav { order: 3; width: 100%; justify-content: space-between; gap: .5rem;
              padding-top: .45rem; border-top: 2px solid var(--ink-line); }
  .site-header:not(.is-scrolled) .site-nav { border-top-color: transparent; }
  .site-nav a { display: flex; align-items: center; min-height: 36px; font-size: .86rem; }
  .site-nav__cta { padding: .3rem .8rem !important; box-shadow: 2px 2px 0 var(--ink); }

  .section { padding-block: 3.2rem; }
  .section__head { margin-bottom: 1.8rem; }
  .section__title { font-size: 2.15rem; }
  .section__lead { font-size: 1.04rem; }

  .band__inner { flex-direction: column; gap: .6rem; text-align: center; min-height: 130px; }
  .band__quote { min-height: 2.7em; }

  .reel__inner { grid-template-columns: 1fr; gap: 1.8rem; }
  .reel__copy .section__title { max-width: 22ch; }
  .reel__ornament { display: none; }
  .reel__film { transform: none; }

  .features { grid-template-columns: 1fr; gap: 16px; }
  .feature { grid-column: 1 !important; min-height: 280px; padding: 1.6rem; }
  .feature__title { font-size: 1.8rem; hyphens: auto; overflow-wrap: break-word; }
  .feature--focus { min-height: 340px; padding-inline-start: 47%; }
  .feature--focus .feature__art { width: 35%; height: 285px; inset-inline-start: 5%; bottom: 22px; }
  .feature--blocking { min-height: 320px; }
  .feature--blocking .feature__copy { max-width: 86%; }
  .feature--blocking .feature__art { width: 120px; }
  .feature--habits { min-height: 250px; padding-bottom: 6.5rem; }
  .feature--habits .feature__text { padding-inline-end: 0; }
  .feature--habits .feature__art { width: 80px; inset-inline-end: 20px; bottom: 6px; }
  .feature--mahalle { min-height: 420px; }
  .feature--mahalle .feature__art,
  .feature--mahalle::after { height: 210px; }
  .feature--reactions { padding-inline-end: 1.6rem; padding-bottom: 170px; }
  .feature--reactions .feature__art { width: 150px; inset-inline-end: 50%; transform: translateX(50%); bottom: 0; }
  .feature--reactions:hover .feature__art { transform: translateX(50%) rotate(-6deg); }

  .kitchen__inner { grid-template-columns: 1fr; gap: 0; padding: 1.8rem 1.4rem 0; }
  .kitchen__inner::before { background: linear-gradient(180deg, rgba(255,250,242,.95) 0%, rgba(255,250,242,.88) 55%, rgba(255,250,242,.45) 100%); }
  .kitchen__text { grid-column: 1; grid-row: 1; padding-bottom: 1.2rem; }
  .kitchen__art { grid-column: 1; grid-row: 2; max-width: 320px; justify-self: center; }
  .kitchen__art img { max-height: 400px; }

  .cast { grid-template-columns: 1fr; gap: 22px; max-width: 430px; margin-inline: auto; }
  .cast__item:nth-child(n), .js .cast__item:nth-child(n).is-visible { transform: none; margin: 0; }
  .cast__name { font-size: 1.8rem; }

  .help__inner { padding: 1.8rem 1.4rem 210px; }
  .help__village { height: 250px; }
  .help__inner::after { height: 250px; }
  .help__col { display: flex; flex-direction: column; }
  .help__title { font-size: 2.05rem; }
  .help__heart { width: 34px; }
  .goals { width: 100%; margin: 1rem 0 1.5rem; }
  .goal__num { font-size: 2.6rem; }
  .help__every { font-size: 1.2rem; }

  .journey__chapters { grid-template-columns: 1fr; gap: 2.2rem; }
  .journey__chapter-title { font-size: 1.6rem; }

  .note { grid-template-columns: 64px 1fr; gap: 1rem; padding: 1.6rem 1.3rem; }
  .note__cay { width: 64px; grid-row: 1; }
  .note__title { font-size: 1.5rem; }
  .note__text { grid-column: 1 / -1; }

  .section--waitlist { padding-top: 0; }
  .section--waitlist::before { background: linear-gradient(180deg, rgba(255,250,242,.93) 0%, rgba(255,250,242,.93) 60%, rgba(255,250,242,.4) 100%); }
  .waitlist__inner { grid-template-columns: 1fr; gap: 0; }
  .waitlist__col { grid-column: 1; grid-row: 1; padding-block: 2.2rem 1rem; text-align: center; }
  .waitlist__text .section__lead { margin-inline: auto; }
  .waitlist__text .section__title { font-size: 3rem; }
  .waitlist__teyze { grid-column: 1; grid-row: 2; max-height: 340px; }

  .site-footer__inner { flex-direction: column; text-align: center; gap: .9rem; }
}


/* ── Rechtsseite (Impressum) ──────────────────────────────────────────── */

.section--legal { background: var(--cream-2); }
.legal {
  position: relative;
  max-width: 720px;
  padding: clamp(1.8rem, 4vw, 2.8rem);
  background: var(--white);
  border: var(--edge); border-radius: var(--radius-lg);
  box-shadow: var(--pop);
}
.legal__sticker { --rot: 9deg; width: 74px; inset-inline-end: -34px; top: -30px; }
.legal__intro { color: var(--ink-soft); margin-bottom: 1.8rem; }
.legal__title { font-size: 1.28rem; color: var(--plum); margin-bottom: .35rem; }
.legal__title + * { margin-bottom: 1.6rem; }
.legal__body { color: var(--ink-soft); font-style: normal; }
.legal__body a { color: var(--red); text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal__back { margin-top: .6rem; padding-top: 1.4rem; border-top: 2px solid var(--ink-line); }
.legal__back a { color: var(--teal-d); font-weight: 700; text-decoration: none; }
.legal__back a:hover { text-decoration: underline; }

.site-footer__link { color: inherit; text-underline-offset: 3px; }
.site-footer__link:hover { color: var(--sun); }

/* ── mitlaufende CTA-Leiste ───────────────────────────────────────────── *
 * Ausgeblendet ist sie visibility:hidden, damit der Tabulator nicht in eine
 * unsichtbare Leiste laeuft. Wann sie erscheint, entscheidet script.js.
 * -------------------------------------------------------------------- */

.cta-bar {
  position: fixed; z-index: 55;
  left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: center;
  gap: .7rem 1.6rem; flex-wrap: wrap;
  padding: .8rem clamp(1rem, 3vw, 2.5rem);
  background: var(--plum);
  color: var(--on-color);
  border-top: 2px solid var(--ink);
  box-shadow: 0 -12px 34px -20px rgba(51,19,43,.7);
  visibility: hidden;
  transform: translateY(115%);
  transition: transform .42s var(--ease), visibility 0s linear .42s;
}
.cta-bar.is-on { visibility: visible; transform: none; transition: transform .42s var(--ease), visibility 0s; }

.cta-bar__text { display: flex; align-items: center; gap: .6rem; font: 700 1.04rem/1.3 var(--font-body); text-wrap: balance; }
.cta-bar__mark { width: auto; height: 26px; flex: none; animation: pulse 2.4s ease-in-out infinite; }
.cta-bar__actions { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; }
.cta-bar__actions .btn { box-shadow: 3px 3px 0 var(--ink); }
.cta-bar__actions .btn:hover { box-shadow: 5px 5px 0 var(--ink); }

.cta-bar__close {
  position: absolute; inset-inline-end: .55rem; top: -15px;
  width: 30px; height: 30px; padding: 0;
  display: grid; place-items: center;
  border: 2px solid var(--ink); border-radius: 50%;
  background: var(--cream); color: var(--ink);
  font: 700 1.15rem/1 var(--font-body);
  cursor: pointer;
  transition: background .18s var(--ease), transform .18s var(--ease);
}
.cta-bar__close:hover { background: var(--red); color: var(--on-color); transform: scale(1.08); }

@media (max-width: 767px) {
  .cta-bar { flex-direction: column; gap: .55rem; padding: .7rem 1rem .8rem; }
  .cta-bar__text { font-size: .94rem; text-align: center; }
  .cta-bar__mark { height: 22px; }
  .cta-bar__actions .btn { min-height: 38px; padding: .45rem .9rem; font-size: .88rem; }
}

/* ── Rücksicht auf reduzierte Bewegung ────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .teyze__pupil { --px: 0px !important; --py: 0px !important; }
  .teyze__lid { display: none; }
}

/* ── Auftakt ueber der Vorschau ────────────────────────────────────────── *
 * Die Seite sprang bisher ohne ein Wort in das Demo-Fenster. Der Hero liefert
 * den Haken nach und traegt bewusst denselben Grund wie die Vorschau, damit
 * Ueberschrift und Demo als ein Auftakt gelesen werden.
 * --------------------------------------------------------------------- */
.lead-hero {
  background: #fbf0dd;
  padding: calc(var(--site-header-height, 72px) + clamp(2.4rem, 5.5vw, 4.2rem)) 0 clamp(1.4rem, 3vw, 2.2rem);
  text-align: center;
}
.lead-hero__inner { max-width: 1050px; }
.lead-hero__eyebrow { color: #8a6a52; margin-bottom: .9rem; }
.lead-hero__eyebrow .eyebrow__dot { background: #b7392c; }

.lead-hero__title {
  margin: 0 auto;
  max-width: 19ch;
  font: 900 clamp(2.15rem, 5.2vw, 3.9rem)/1.05 var(--font-display);
  letter-spacing: -.038em;
  color: #3b241c;
  text-wrap: balance;
}
.lead-hero__title em { display: block; font-style: normal; color: #b7392c; }
.lead-hero__hook { display: block; }
.lead-hero__platform { display: inline-grid; vertical-align: baseline; white-space: nowrap; }
.lead-hero__platform-word {
  grid-area: 1 / 1;
  text-align: left;
  opacity: 0;
  transform: translateY(.28em);
  transition: opacity .32s ease, transform .32s ease;
}
.lead-hero__platform-word.is-current { opacity: 1; transform: translateY(0); }
.lead-hero__platform-word.is-exiting { transform: translateY(-.28em); }

.lead-hero__sub {
  margin: 1.05rem auto 0;
  max-width: 58ch;
  font: 400 clamp(1.02rem, 1.5vw, 1.16rem)/1.55 var(--font-body);
  color: #664c42;
  text-wrap: pretty;
}
.lead-hero__actions { margin-top: 1.5rem; }
.lead-hero__actions .btn { --btn-bg: #b7392c; --btn-fg: #fffaf2; border-color: #3b241c; box-shadow: 4px 4px 0 #3b241c; }
.lead-hero__actions .btn:hover { background: #91271f; box-shadow: 6px 6px 0 #3b241c; }

/* Steht der Hero davor, muss die Vorschau nicht mehr den ganzen Schirm fuellen. */
.lead-hero + .experience { min-height: auto; padding-top: clamp(.4rem, 1.6vw, 1rem); }

@media (max-width: 767px) {
  .lead-hero { padding-top: calc(var(--site-header-height, 112px) + 2rem); }
  /* Auf schmalen Schirmen bricht text-wrap:balance die Zeile nach "Noch 5".
     Ohne Ausgleich und ohne Breitenlimit landet der Umbruch dort, wo der Satz
     ihn selbst setzt. */
  .lead-hero__title { max-width: none; text-wrap: initial; font-size: clamp(1.95rem, 8.4vw, 2.4rem); }
  .lead-hero__sub { font-size: 1rem; }
}

/* ── Interaktiver Hero nach der Teyze Time Together Vorlage ────────────── */
.experience {
  position: relative;
  min-height: calc(100dvh - 76px);
  padding: clamp(1.4rem, 3vw, 2.5rem) 0 clamp(4rem, 7vw, 6rem);
  background: #fbf0dd;
  border-bottom: 2px solid #dbc4ac;
  overflow-x: clip;
}
.experience__shell { max-width: 1050px; }
.experience__tabs {
  display: flex;
  width: max-content;
  max-width: 100%;
  gap: .15rem;
  padding: .25rem;
  margin: 0 0 1.6rem auto;
  border-radius: 999px;
  background: #efd2b4;
}
.experience__tabs button {
  min-width: 74px;
  min-height: 35px;
  padding: .45rem .8rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #40241f;
  font: 700 .9rem/1 var(--font-body);
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.experience__tabs button:hover { background: #ffffff80; }
.experience__tabs button[aria-selected="true"] { background: #b7392c; color: #fff9f2; box-shadow: 0 2px 6px #7d221a36; }
.experience__tabs button:focus-visible { outline-offset: 2px; }
.experience__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.experience__companion { min-width: 0; }
.experience__portrait { position: relative; height: clamp(350px, 35vw, 420px); }
.experience__teyze {
  position: absolute;
  bottom: 0;
  left: 12%;
  width: min(55%, 230px);
  margin: 0;
}
.experience__sofa {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  animation: experience-sofa-arrive .32s ease-out both;
}
.experience__sofa[hidden] { display: none; }
.experience__sofa video, .experience__sofa img { display: block; width: 100%; height: auto; object-fit: contain; object-position: center bottom; background: transparent; }
.experience__sofa .teyze__pupil { width: 3.3%; }
.experience__portrait.is-throwing { z-index: 8; }
.experience__throw {
  position: absolute;
  bottom: 0;
  left: 12%;
  width: min(55%, 230px);
  aspect-ratio: 928 / 1694;
  z-index: 3;
  transform-origin: 50% 88%;
  pointer-events: none;
  animation: experience-throw-body 1.55s ease-in-out both;
}
.experience__throw[hidden], .experience__flying-terlik[hidden] { display: none; }
.experience__throw img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.experience__throw-windup { animation: experience-windup-frame 1.55s steps(1, end) both; }
.experience__throw-release { animation: experience-release-frame 1.55s steps(1, end) both; }
.experience__flying-terlik {
  position: absolute;
  z-index: 9;
  top: 8%;
  left: 12%;
  width: clamp(52px, 13vw, 78px);
  height: auto;
  transform-origin: 50% 50%;
  pointer-events: none;
  filter: drop-shadow(4px 8px 5px #4a211e50);
  animation: experience-terlik-flight 1.55s ease-in both;
}
@keyframes experience-throw-body {
  0% { opacity: 0; transform: translateY(14px) rotate(5deg) scale(.96); }
  9% { opacity: 1; transform: translateY(0) rotate(3deg) scale(1); }
  31% { opacity: 1; transform: translateX(-9px) rotate(-8deg) scale(1); }
  39% { opacity: 1; transform: translateX(15px) rotate(6deg) scale(1.04); }
  56% { opacity: 1; transform: translateX(8px) rotate(3deg) scale(1); }
  100% { opacity: 1; transform: none; }
}
@keyframes experience-windup-frame {
  0%, 36% { opacity: 1; }
  37%, 100% { opacity: 0; }
}
@keyframes experience-release-frame {
  0%, 36% { opacity: 0; }
  37%, 100% { opacity: 1; }
}
@keyframes experience-terlik-flight {
  0%, 37% { opacity: 0; transform: translate(0, 0) scale(.45) rotate(-25deg); }
  38% { opacity: 1; transform: translate(0, 0) scale(.5) rotate(-15deg); }
  55% { opacity: 1; transform: translate(8vw, -3vh) scale(1.1) rotate(55deg); }
  72% { opacity: 1; transform: translate(24vw, -5vh) scale(2.5) rotate(170deg); }
  87% { opacity: 1; transform: translate(40vw, 0) scale(5.2) rotate(330deg); }
  100% { opacity: 0; transform: translate(52vw, 8vh) scale(8.5) rotate(470deg); }
}
@keyframes experience-card-recoil {
  0%, 74%, 100% { transform: none; }
  78% { transform: translateX(6px) rotate(.3deg); }
  82% { transform: translateX(-4px) rotate(-.2deg); }
  86% { transform: translateX(2px); }
}
.experience.is-throwing .experience__card { animation: experience-card-recoil 1.55s ease-out both; }
@keyframes experience-sofa-arrive {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.experience__bubble {
  position: absolute;
  top: 18%;
  right: 1%;
  width: min(45%, 190px);
  min-height: 78px;
  display: grid;
  align-content: center;
  padding: .9rem 1.1rem;
  border: 1.5px solid #d4c0ad;
  border-radius: 25px;
  background: #fffaf2;
  box-shadow: 0 9px 22px #783e2820;
  color: #3b221d;
  transition: opacity .18s ease, transform .18s ease;
}
.experience__portrait.is-session-active .experience__bubble {
  top: 0;
  right: 0;
  width: min(40%, 180px);
}
.experience__portrait.is-throwing .experience__bubble { opacity: 0; transform: translateY(-8px) scale(.95); }
.experience__bubble strong { font: 700 clamp(.93rem, 1.4vw, 1.1rem)/1.3 var(--font-display); }
.experience__sound { max-width: 450px; margin-inline: auto; color: #52372f; }
.experience__ambient { margin-top: .55rem; text-align: center; }
.experience__ambient p { margin-bottom: .55rem; color: #755345; font: 800 .72rem/1.2 var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.experience__ambient-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: .45rem; }
.experience__ambient-buttons button, .experience__durations button {
  min-height: 36px;
  padding: .45rem .8rem;
  border: 1.5px solid #d0bda9;
  border-radius: 999px;
  background: #fffaf2;
  color: #40251f;
  font: 700 .87rem/1 var(--font-body);
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 2px 3px #57301e12;
}
.experience__ambient-buttons button:hover, .experience__durations button:hover { border-color: #b7392c; }
.experience__ambient-buttons button[aria-pressed="true"], .experience__durations button[aria-pressed="true"] { background: #b7392c; border-color: #b7392c; color: #fffaf2; }
.experience__card {
  min-width: 0;
  min-height: 505px;
  display: grid;
  align-content: center;
  padding: clamp(1.55rem, 3vw, 2.15rem);
  border: 1.5px solid #d0bda9;
  border-radius: 30px;
  background: #fffcf7;
  box-shadow: 0 16px 30px #9b4e2d22;
  color: #3c211d;
}
.experience__title { font-size: clamp(1.75rem, 3vw, 2.15rem); line-height: 1.12; }
.experience__lead { margin: .25rem 0 1.6rem; color: #664c42; font: 400 1.02rem/1.45 var(--font-body); }
.experience__durations { display: flex; gap: .45rem; flex-wrap: wrap; }
.experience__durations button { min-width: 75px; }
.experience__clock { display: block; margin: 1.5rem 0 .55rem; color: #b7392c; font: 900 clamp(4rem, 8vw, 6rem)/1 var(--font-display); font-variant-numeric: tabular-nums; letter-spacing: -.055em; }
.experience__progress { height: 10px; margin-bottom: 1.4rem; border-radius: 999px; background: #ebdecd; overflow: hidden; }
.experience__progress span { display: block; width: 0; height: 100%; background: #b7392c; transition: width .35s linear; }
.experience__focus-actions { display: flex; gap: .65rem; }
.experience__main-button, .experience__add button, .experience__reset {
  min-height: 45px;
  padding: .6rem 1.25rem;
  border: 0;
  border-radius: 999px;
  background: #b7392c;
  color: #fffaf2;
  font: 700 1rem/1 var(--font-body);
  cursor: pointer;
}
.experience__main-button { flex: 1; }
.experience__main-button:hover, .experience__add button:hover { background: #91271f; }
.experience__reset { background: #ead4bc; color: #442a21; }
.experience__focus-actions button:disabled { cursor: default; opacity: .72; }
.experience__stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: .5rem; margin-top: 1.5rem; }
.experience__stats > div { min-width: 0; min-height: 72px; padding: .6rem .2rem; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 20px; background: #efd5ba; text-align: center; }
.experience__stats strong { font: 700 1.5rem/1.1 var(--font-display); }
.experience__stats span { font: 700 .71rem/1.25 var(--font-body); overflow-wrap: anywhere; }
.experience__list { display: grid; gap: .6rem; margin: 1.25rem 0; }
.experience__list li { min-height: 55px; display: flex; align-items: center; gap: .65rem; padding: .55rem .85rem; border-radius: 24px; background: #efd6ba; }
.experience__list li > span:first-child { flex: 0 0 auto; }
.experience__list .experience__item-name { flex: 1; min-width: 0; overflow-wrap: anywhere; font-weight: 700; }
.experience__list .experience__item-meta { flex: 0 0 auto; font-size: .78rem; color: #8f4c3c; }
.experience__list button { flex: 0 0 auto; border: 0; background: transparent; color: #5c372c; font: 700 1.15rem/1 var(--font-body); cursor: pointer; }
.experience__list .experience__check { width: 31px; height: 31px; border: 2px solid #d7bfa8; border-radius: 50%; background: #fffcf7; }
.experience__list .experience__check[aria-pressed="true"] { background: #0e9a94; border-color: #0e9a94; color: #fff; }
.experience__list .experience__item-name.is-done { text-decoration: line-through; opacity: .65; }
.experience__add { display: flex; gap: .5rem; }
.experience__add input { flex: 1; min-width: 0; min-height: 43px; padding: .65rem .95rem; border: 1.5px solid #d0bda9; border-radius: 999px; background: #fcf2e5; color: #40251f; font: 1rem/1.2 var(--font-body); }
.experience__add input::placeholder { color: #9b8173; opacity: 1; }
.experience__add button { min-height: 43px; }
.experience__recipes li { display: grid; grid-template-columns: 20px minmax(0,1fr); column-gap: .6rem; align-content: center; }
.experience__recipes .experience__item-meta { grid-column: 2; }
.experience__recipes li[data-unlocked="false"] { color: #725448; }
.experience__caveat { margin-top: 1rem; color: #755d52; font: .82rem/1.45 var(--font-body); }
@media (max-width: 899px) {
  .experience { min-height: auto; padding: 1.2rem 0 3rem; }
  .experience__tabs { margin: 0 auto 1rem; }
  .experience__layout { grid-template-columns: 1fr; gap: 2rem; }
  .experience__portrait { max-width: 430px; height: 345px; margin-inline: auto; }
  .experience__teyze { width: 195px; left: 10%; }
  .experience__throw { width: 195px; left: 10%; }
  .experience__flying-terlik { left: 10%; }
  .experience__bubble { right: 5%; }
  .experience__sound { max-width: 420px; }
  .experience__card { min-height: 0; max-width: 620px; width: 100%; margin-inline: auto; }
}
@media (max-width: 480px) {
  .experience__tabs { width: 100%; justify-content: space-between; }
  .experience__tabs button { min-width: 0; flex: 1; padding-inline: .4rem; font-size: .78rem; }
  .experience__portrait { height: 275px; }
  .experience__teyze { width: 150px; left: 10%; }
  .experience__throw { width: 150px; }
  .experience__bubble { top: 15%; width: 47%; padding: .8rem; }
  .experience__bubble strong { font-size: .9rem; }
  .experience__portrait.is-session-active .experience__bubble { width: 38%; }
  .experience__ambient-buttons button { font-size: .76rem; padding-inline: .55rem; }
  .experience__card { padding: 1.35rem; border-radius: 25px; }
  .experience__clock { font-size: clamp(3.8rem, 16vw, 5rem); }
  .experience__stats { gap: .3rem; }
  .experience__stats > div { border-radius: 14px; }
  .experience__stats span { font-size: .63rem; }
}
.experience__dialog { width: min(560px, calc(100% - 2rem)); max-height: min(88dvh, 800px); padding: 2rem; overflow: auto; border: 1.5px solid #c9b49d; border-radius: 25px; background: #fffcf7; color: #3c211d; box-shadow: 0 24px 80px #3c211d55; }
.experience__dialog::backdrop { background: #271d19ae; }
.experience__dialog-close { float: right; min-width: 34px; min-height: 34px; border: 0; border-radius: 50%; background: #efd6ba; color: #3c211d; font-size: 1.4rem; cursor: pointer; }
.experience__dialog h2 { margin-bottom: .25rem; font-size: 2rem; }
.experience__dialog > p { margin-bottom: 1rem; color: #755d52; }
.experience__dialog h3 { margin: 1.4rem 0 .5rem; font-size: 1.2rem; }
.experience__dialog ul { list-style: disc; padding-left: 1.4rem; }
.experience__dialog ol { list-style: decimal; padding-left: 1.4rem; }
.experience__dialog li { margin-bottom: .35rem; line-height: 1.45; }
.experience__leave-dialog {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #050505;
  color: #fffaf2;
}
.experience__leave-dialog[open] { display: grid; place-items: center; }
.experience__leave-dialog::backdrop { background: #050505; }
.experience__leave-stage {
  position: relative;
  width: min(100vw, 177.78vh);
  width: min(100vw, 177.78dvh);
  aspect-ratio: 16 / 9;
}
.experience__leave-dialog video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #050505;
}
.experience__leave-bubble {
  position: absolute;
  z-index: 1;
  top: 8%;
  right: 24%;
  width: clamp(160px, 27%, 320px);
  padding: clamp(.65rem, 1.2vw, 1rem);
  border: 2px solid #3b241c;
  border-radius: 1.25rem;
  background: #fff9ef;
  box-shadow: 5px 6px 0 #3b241c;
  color: #3b241c;
  font: 800 clamp(.875rem, 1.2vw, 1.05rem)/1.25 var(--font-body);
  text-wrap: balance;
  animation: experience-bubble-in .25s ease-out both;
}
.experience__leave-bubble::after {
  content: "";
  position: absolute;
  left: 9%;
  bottom: -11px;
  width: 18px;
  height: 18px;
  border-right: 2px solid #3b241c;
  border-bottom: 2px solid #3b241c;
  background: #fff9ef;
  transform: rotate(45deg);
}
@keyframes experience-bubble-in {
  from { opacity: 0; transform: translateY(8px) scale(.96); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 600px) and (orientation: portrait) {
  .experience__leave-bubble {
    top: auto;
    right: 8%;
    bottom: calc(100% + 1rem);
    width: min(84%, 260px);
  }
  .experience__leave-bubble::after { left: 25%; }
}
.experience__leave-close {
  position: absolute;
  z-index: 2;
  top: max(1rem, env(safe-area-inset-top));
  right: max(1rem, env(safe-area-inset-right));
  min-height: 44px;
  padding: .5rem 1rem;
  border: 2px solid #fffaf2;
  border-radius: 999px;
  background: #3b241c;
  color: #fffaf2;
  font: 700 .94rem/1 var(--font-body);
  cursor: pointer;
}
.experience__leave-close:hover { background: #b7392c; }
.experience__recipes li[data-unlocked="true"] { cursor: pointer; }
.experience__recipes li[data-unlocked="true"]:hover { background: #e9c4a5; }
.experience__recipes li[data-unlocked="true"]:focus-visible { outline-offset: 2px; }
.experience__durations button:disabled { cursor: default; opacity: .65; }
@media (prefers-reduced-motion: reduce) {
  .experience__teyze { animation: none; }
  .experience__sofa { animation: none; }
  .experience__throw, .experience__throw img, .experience__flying-terlik, .experience.is-throwing .experience__card { animation: none; }
  .experience__progress span { transition: none; }
}
@media (max-width: 360px) {
  .experience__tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .25rem; border-radius: 18px; }
  .experience__tabs button { width: 100%; }
  .experience__durations button { min-width: 64px; padding-inline: .5rem; }
  .experience__portrait.is-session-active .experience__bubble { width: 44%; padding: .65rem .7rem; }
  .experience__portrait.is-session-active .experience__bubble strong { font-size: .8rem; line-height: 1.2; }
}
