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

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: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid 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=19') 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=19') 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=19') 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=19') 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-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; }
}
