/* Semira-Website im App-Look (Stand 12.11.2026): Palette Rosé und Himbeere, Handschrift-Titel, rosa Kapseln,
   Vollbild-Looks mit Lichtwisch oben, animierte Handy-Mockups weiter unten */

/* Ersatz für Geräte ohne Noteworthy (Windows, Android): Patrick Hand, SIL Open Font License */
@font-face {
  font-family: "Semira Hand";
  src: url("fonts/patrick-hand-latin.woff2") format("woff2");
  font-weight: 400 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Semira Hand";
  src: url("fonts/patrick-hand.woff2") format("woff2");
  font-weight: 400 700; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #F8E1E6;
  --text: #4B1F33;
  --primary: #EC9DB2;
  --accent: #F6C4D1;
  --button: #B84D71;
  --surface: #FDF2F4;
  --star: #D96A8E;
  --berry-deep: #290D1A;
  --muted: rgba(75, 31, 51, 0.7);
  --hand: Noteworthy, "Semira Hand", "Bradley Hand", "Segoe Print", cursive;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --radius: 28px;
  --shadow: 0 24px 60px rgba(75, 31, 51, 0.18);
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }

/* Handschrift-Titel wie HandwritingTitle in der App */
.hand {
  font-family: var(--hand); font-weight: 700; line-height: 1.04; letter-spacing: -0.005em;
  margin: 0; text-wrap: balance;
}
.hand .pink { color: var(--star); position: relative; white-space: nowrap; }
.hand .spark {
  position: absolute; top: 0.52em; right: -0.42em; width: 0.36em; height: 0.36em;
  fill: currentColor; animation: twinkle 3.2s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
  45% { transform: scale(0.55) rotate(25deg); opacity: 0.55; }
  55% { transform: scale(1.12) rotate(35deg); opacity: 1; }
}
.label { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--button); }

/* Rosa Kapsel wie TextCTA */
.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 60px; padding: 0 36px; border-radius: 999px;
  background: linear-gradient(180deg, #F6CCD8, #EDB4C5);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 12px 28px rgba(184, 77, 113, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  color: var(--text); font-size: 20px; text-decoration: none; white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.cta .arrow { width: 22px; height: 22px; color: var(--button); transition: transform 0.25s var(--ease); }
a.cta:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(184, 77, 113, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
a.cta:hover .arrow { transform: translateX(3px); }
.cta .spark { width: 16px; height: 16px; fill: var(--star); }
.cta-soon { cursor: default; }
.cta-sm { height: 42px; padding: 0 20px; font-size: 15px; gap: 8px; box-shadow: 0 6px 16px rgba(184, 77, 113, 0.16); }
.cta-sm .spark { width: 12px; height: 12px; }
.badge { display: inline-flex; margin-top: 18px; }

/* Kopfzeile: schwebende Milchglas-Kapsel */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 14px 16px; pointer-events: none; }
.top-in {
  pointer-events: auto; max-width: 1160px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 22px; border-radius: 999px;
  background: rgba(253, 242, 244, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 30px rgba(75, 31, 51, 0.08);
  transition: background 0.3s, box-shadow 0.3s;
}
.top.scrolled .top-in { background: rgba(253, 242, 244, 0.9); box-shadow: 0 10px 34px rgba(75, 31, 51, 0.12); }
.brand img { height: 30px; width: auto; }
.top-nav { display: flex; gap: 22px; margin-left: auto; margin-right: 6px; }
.top-nav a { font-size: 14px; color: rgba(75, 31, 51, 0.72); text-decoration: none; transition: color 0.2s; }
.top-nav a:hover { color: var(--button); }
.top-menu { display: none; position: relative; }
.top-menu summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--text); }
.top-menu summary::-webkit-details-marker { display: none; }
.top-menu[open] summary { background: rgba(236, 157, 178, 0.25); }
.top-menu nav {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 190px;
  display: flex; flex-direction: column; padding: 8px; border-radius: 20px;
  background: rgba(253, 242, 244, 0.97); border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 40px rgba(75, 31, 51, 0.16);
}
.top-menu nav a { padding: 12px 14px; border-radius: 12px; font-size: 16px; color: var(--text); text-decoration: none; }
.top-menu nav a:active, .top-menu nav a:hover { background: rgba(236, 157, 178, 0.2); }

/* Hero: Looks über die ganze Breite, je Feld mit Lichtwisch */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; background: var(--berry-deep); color: #fff; }
.panels { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.sw { position: relative; overflow: hidden; background: #3a1626; }
.layer { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease; display: block; }
.layer.in { opacity: 1; }
.layer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.layer .a { clip-path: inset(0 100% 0 0); transition: clip-path 1.5s var(--ease); }
.layer.swept .a { clip-path: inset(0 0 0 0); }
.layer .streak {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, rgba(255, 240, 246, 0) 40%, rgba(255, 240, 246, 0.6) 49%, rgba(255, 255, 255, 0.85) 50%, rgba(255, 240, 246, 0.6) 51%, rgba(255, 240, 246, 0) 60%);
  transform: translateX(-50%);
}
.layer.swept .streak { animation: streak 1.5s var(--ease) forwards; }
@keyframes streak {
  0% { transform: translateX(-50%); opacity: 0; }
  12% { opacity: 1; } 88% { opacity: 1; }
  100% { transform: translateX(50%); opacity: 0; }
}
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(41, 13, 26, 0.28) 0%, rgba(41, 13, 26, 0) 18%),
    linear-gradient(180deg, rgba(41, 13, 26, 0) 38%, rgba(41, 13, 26, 0.55) 64%, rgba(41, 13, 26, 0.9) 100%);
}
.hero-text {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  max-width: 900px; margin: 0 auto; padding: 0 24px 84px; text-align: center;
  animation: rise 1s 0.2s var(--ease) both;
}
.hero .label { color: var(--accent); }
.hero h1 { font-size: clamp(52px, 7.4vw, 104px); margin-top: 12px; text-shadow: 0 4px 30px rgba(41, 13, 26, 0.35); }
.hero h1 .pink { color: var(--primary); }
.hero-text p { font-size: clamp(18px, 1.6vw, 21px); color: rgba(255, 255, 255, 0.9); max-width: 34ch; margin: 18px auto 30px; text-shadow: 0 2px 12px rgba(41, 13, 26, 0.4); }
.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; width: 22px; height: 34px; margin-left: -11px; z-index: 2;
  border: 2px solid rgba(255, 255, 255, 0.6); border-radius: 12px;
}
.scroll-hint::after {
  content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 7px; margin-left: -2px;
  border-radius: 2px; background: #fff; animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Laufband mit allen Looks */
.marquee { overflow: hidden; padding: 30px 0; border-bottom: 1px solid rgba(75, 31, 51, 0.08); }
.mq-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: mq 60s linear infinite; }
.mq-track span { font-family: var(--hand); font-weight: 700; font-size: 30px; white-space: nowrap; }
.mq-track .spark { width: 16px; height: 16px; fill: var(--star); flex: none; }
@keyframes mq { to { transform: translateX(-50%); } }
.marquee:not(.on) .mq-track { animation-play-state: paused; }

/* Handy-Mockup */
.phone {
  position: relative; width: 300px; aspect-ratio: 9 / 19.5; flex: none;
  padding: 11px; border-radius: 52px;
  background: linear-gradient(145deg, #3b2230, #1d0f16 55%, #2e1a24);
  box-shadow: var(--shadow), 0 0 0 1.5px rgba(255, 255, 255, 0.12) inset, 0 0 0 1px #12080d;
}
.phone .island { position: absolute; top: 22px; left: 50%; width: 92px; height: 27px; margin-left: -46px; border-radius: 20px; background: #000; z-index: 5; }
.screen { position: absolute; inset: 11px; border-radius: 42px; overflow: hidden; background: #3a1626; transition: opacity 0.6s ease; }
.screen .sw { position: absolute; inset: 0; }
.screen .full { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.status {
  position: absolute; top: 0; left: 0; right: 0; z-index: 4; height: 50px; padding: 18px 28px 0 30px;
  display: flex; justify-content: space-between; color: #fff; font-size: 14px; font-weight: 600;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0)); pointer-events: none;
}
.status .icons { display: flex; align-items: center; gap: 5px; }
.status .icons i { width: 15px; height: 9px; border-radius: 2px; background: #fff; opacity: 0.95; }
.status .icons i:first-child { width: 14px; clip-path: polygon(0 100%, 100% 0, 100% 100%); border-radius: 0; }
.status .icons b { width: 22px; height: 11px; border-radius: 3.5px; border: 1.5px solid rgba(255, 255, 255, 0.9); position: relative; }
.status .icons b::after { content: ""; position: absolute; inset: 1.5px; right: 5px; border-radius: 1.5px; background: #fff; }

/* Bildschirm 1: AI Effects mit Briefumschlag-Ladeanzeige und Neu-Abzeichen */
.newtag {
  position: absolute; top: 62px; right: 18px; z-index: 3; color: #fff;
  font-family: "New York", Georgia, serif; font-style: italic; font-size: 17px;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.85); padding: 0 14px 1px 0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}
.newtag .spark { position: absolute; top: -4px; right: 0; width: 11px; height: 11px; fill: var(--accent); animation: twinkle 3s ease-in-out infinite; }
.making {
  position: absolute; left: 0; right: 0; bottom: 70px; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: #fff; font-size: 15px; text-align: center; padding: 0 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  opacity: 0; transform: translateY(8px); transition: opacity 0.4s, transform 0.4s;
}
.sw[data-state="before"] ~ .making { opacity: 1; transform: none; }
.env { position: relative; width: 52px; height: 40px; animation: bob 1.6s ease-in-out infinite; }
.env svg { width: 100%; height: 100%; filter: drop-shadow(0 6px 10px rgba(184, 77, 113, 0.35)); }
.env .lines { position: absolute; left: -22px; top: 10px; width: 16px; height: 20px;
  background: linear-gradient(#fff, #fff) 0 0 / 100% 2px no-repeat, linear-gradient(#fff, #fff) 4px 9px / 12px 2px no-repeat, linear-gradient(#fff, #fff) 0 18px / 100% 2px no-repeat;
  opacity: 0.8; animation: lines 1.6s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-6px) rotate(3deg); } }
@keyframes lines { 0%, 100% { opacity: 0; transform: translateX(6px); } 50% { opacity: 0.85; transform: none; } }

/* Bildschirm 2: Glow Up, warmer Schein und Regler */
.s2 .eyes { opacity: 0; animation: eyes 1.6s ease-in-out infinite alternate; }
.s2 .pill .fill, .s2 .pill .knob { animation-duration: 1.6s; }
@keyframes eyes { from { opacity: 0; } to { opacity: 1; } }
.pill .eye { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--star); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pill {
  position: absolute; left: 16px; right: 16px; bottom: 30px; z-index: 3;
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 999px;
  background: rgba(253, 242, 244, 0.86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.pill .spark { width: 16px; height: 16px; fill: var(--star); flex: none; }
.pill .sun { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--text); flex: none; }
.pill .bar { position: relative; flex: 1; height: 3px; border-radius: 3px; background: rgba(75, 31, 51, 0.15); }
.pill .fill { position: absolute; inset: 0; border-radius: 3px; background: var(--button); transform-origin: left; animation: fill 6s ease-in-out infinite alternate; }
.pill .knob { position: absolute; top: 50%; left: 0; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2); animation: knob 6s ease-in-out infinite alternate; }
@keyframes fill { from { transform: scaleX(0.2); } to { transform: scaleX(0.8); } }
@keyframes knob { from { left: 20%; } to { left: 80%; } }

/* Bildschirm 4: Stärke-Regler. --p läuft von 0 (Original) über 100 (Ergebnis) bis 150 (stärker) */
@property --p { syntax: "<integer>"; inherits: true; initial-value: 100; }
.s4 { --p: 100; animation: strength 8s ease-in-out infinite; counter-reset: pct var(--p); }
@keyframes strength { 0%, 12% { --p: 100; } 32%, 40% { --p: 0; } 66%, 74% { --p: 150; } 92%, 100% { --p: 100; } }
.s4 .a { opacity: calc(min(var(--p), 100) / 100); }
.s4 .boost { opacity: calc(max(var(--p) - 100, 0) / 50); filter: saturate(1.35) contrast(1.1) brightness(1.03); }
.strength {
  position: absolute; left: 16px; right: 16px; bottom: 26px; z-index: 3;
  display: flex; flex-direction: column; gap: 10px; padding: 12px 16px 16px; border-radius: 22px;
  background: rgba(253, 242, 244, 0.88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.strength .sl { display: flex; justify-content: space-between; align-items: baseline; font-size: 11px; font-weight: 600; color: rgba(75, 31, 51, 0.6); }
.strength .pct { font-size: 14px; color: var(--text); font-variant-numeric: tabular-nums; }
.strength .pct::after { content: counter(pct) " %"; }
.strength .bar { position: relative; height: 4px; border-radius: 4px; background: rgba(75, 31, 51, 0.15); }
.strength .fill { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--p) / 150 * 100%); border-radius: 4px; background: var(--button); }
.strength .mid { position: absolute; left: 66.67%; top: -5px; width: 2px; height: 14px; margin-left: -1px; border-radius: 2px; background: rgba(75, 31, 51, 0.25); }
.strength .knob { position: absolute; top: 50%; left: calc(var(--p) / 150 * 100%); width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: #fff; box-shadow: 0 1px 5px rgba(0, 0, 0, 0.22); }

/* Bildschirm 3: Editor mit warmem Licht und Zuschnitt-Ecken */
.s3 .warm { position: absolute; inset: 0; opacity: 0; background: linear-gradient(160deg, rgba(255, 170, 195, 0.32), rgba(236, 120, 160, 0.12)); animation: warm 6s ease-in-out infinite alternate; }
@keyframes warm { from { opacity: 0; } to { opacity: 1; } }
.edpanel {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 16px 18px 22px;
  display: flex; flex-direction: column; gap: 0;
  background: rgba(253, 242, 244, 0.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.edpanel .bar { position: relative; height: 3px; border-radius: 3px; background: rgba(75, 31, 51, 0.15); }
.edpanel .fill { position: absolute; inset: 0; border-radius: 3px; background: var(--button); transform-origin: left; animation: fill 6s ease-in-out infinite alternate; }
.edpanel .knob { position: absolute; top: 50%; left: 0; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2); animation: knob 6s ease-in-out infinite alternate; }
.edpanel .tools { display: flex; justify-content: space-between; }
.edpanel .tool { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, 0.7); color: var(--text); }
.edpanel .tool.on { background: var(--button); color: #fff; }
.edpanel .tool svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* Klassisches Zuschneiden: Rahmen mit Drittel-Raster zieht sich zusammen, außen abgedunkelt, dann zoomt das Bild auf den Ausschnitt */
.crop {
  position: absolute; z-index: 2; top: 56px; left: 10px; right: 10px; bottom: 96px;
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 999px rgba(20, 8, 14, 0);
  background:
    linear-gradient(rgba(255,255,255,.55), rgba(255,255,255,.55)) 33.33% 0 / 1px 100% no-repeat,
    linear-gradient(rgba(255,255,255,.55), rgba(255,255,255,.55)) 66.66% 0 / 1px 100% no-repeat,
    linear-gradient(rgba(255,255,255,.55), rgba(255,255,255,.55)) 0 33.33% / 100% 1px no-repeat,
    linear-gradient(rgba(255,255,255,.55), rgba(255,255,255,.55)) 0 66.66% / 100% 1px no-repeat;
  animation: cropbox 7s ease-in-out infinite;
}
.crop i { position: absolute; width: 24px; height: 24px; border: 4px solid #fff; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3)); }
.crop i:nth-child(1) { top: -4px; left: -4px; border-right: 0; border-bottom: 0; }
.crop i:nth-child(2) { top: -4px; right: -4px; border-left: 0; border-bottom: 0; }
.crop i:nth-child(3) { bottom: -4px; left: -4px; border-right: 0; border-top: 0; }
.crop i:nth-child(4) { bottom: -4px; right: -4px; border-left: 0; border-top: 0; }
@keyframes cropbox {
  0%, 8% { top: 56px; left: 10px; right: 10px; bottom: 96px; box-shadow: 0 0 0 999px rgba(20, 8, 14, 0); opacity: 1; }
  14% { box-shadow: 0 0 0 999px rgba(20, 8, 14, 0.5); }
  38%, 50% { top: 120px; left: 42px; right: 42px; bottom: 190px; box-shadow: 0 0 0 999px rgba(20, 8, 14, 0.5); opacity: 1; }
  58%, 86% { top: 120px; left: 42px; right: 42px; bottom: 190px; box-shadow: 0 0 0 999px rgba(20, 8, 14, 0); opacity: 0; }
  94%, 100% { top: 56px; left: 10px; right: 10px; bottom: 96px; opacity: 0; }
}
.s3 .cimg { transform-origin: 50% 40%; animation: cropzoom 7s ease-in-out infinite; }
@keyframes cropzoom { 0%, 50% { transform: scale(1); } 60%, 86% { transform: scale(1.32); } 96%, 100% { transform: scale(1); } }

/* Pausen außerhalb des sichtbaren Bereichs */
.phone:not(.on) *, .phone:not(.on) *::before, .phone:not(.on) *::after { animation-play-state: paused !important; }

/* Geschichte: großes Handy bleibt stehen, Texte ziehen vorbei */
.story { position: relative; display: grid; grid-template-columns: 1fr 1fr; max-width: 1160px; margin: 0 auto; padding: 60px 24px 40px; }
.stage { position: sticky; top: 0; height: 100vh; padding-top: 84px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; }
.glowblob {
  position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 157, 178, 0.55), rgba(246, 196, 209, 0.25) 45%, rgba(248, 225, 230, 0) 70%);
  animation: breathe 8s ease-in-out infinite;
}
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
/* Handy passt immer unter die Kopfzeile (Höhe = Breite x 2,17) */
.phone-main { width: min(310px, calc((100vh - 150px) * 0.46)); }
.stage .screen { opacity: 0; }
.stage[data-step="1"] .s1, .stage[data-step="2"] .s2, .stage[data-step="3"] .s3, .stage[data-step="4"] .s4, .stage[data-step="5"] .s5 { opacity: 1; }
.float {
  position: absolute; width: 112px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 18px;
  border: 3px solid #fff; box-shadow: 0 14px 30px rgba(75, 31, 51, 0.18);
  animation: float 9s ease-in-out infinite;
}
.f1 { top: 16%; left: 4%; --r: -8deg; }
.f2 { top: 22%; right: 2%; --r: 7deg; animation-delay: -2s; }
.f3 { bottom: 16%; left: 8%; --r: 6deg; animation-delay: -4s; }
.f4 { bottom: 12%; right: 6%; --r: -5deg; animation-delay: -6s; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(var(--r)); } 50% { transform: translateY(-16px) rotate(var(--r)); } }
.steps { position: relative; }
.step { min-height: 100vh; display: flex; align-items: center; }
/* Letzter Schritt: Text kommt wie die anderen mittig an und wandert dann bei stehendem Handy weiter nach oben (bis etwa 20 % der Höhe), erst dann löst sich das Handy */
.step:last-child { min-height: 122vh; align-items: flex-start; padding-top: 38vh; box-sizing: border-box; }
.step-text { max-width: 440px; }
.step .hand { font-size: clamp(42px, 4.6vw, 62px); margin-top: 10px; line-height: 1.16; }
.step p { font-size: 19px; color: var(--muted); max-width: 34ch; margin: 18px 0 0; }
.phone-inline { display: none; }

/* Galerie */
.gallery { max-width: 1160px; margin: 0 auto; padding: 100px 24px 40px; text-align: center; }
.gallery .hand { font-size: clamp(44px, 5vw, 66px); }
.gallery .sub { color: var(--muted); margin: 14px 0 0; font-size: 18px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 22px; margin-top: 48px; }
.card { margin: 0; position: relative; }
.card-new {
  position: absolute; top: 14px; right: 16px; z-index: 3; pointer-events: none; color: #fff;
  font-family: "New York", Georgia, serif; font-style: italic; font-size: 17px;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.85); padding: 0 14px 1px 0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}
.card-new .spark { position: absolute; top: -4px; right: 0; width: 11px; height: 11px; fill: var(--accent); animation: twinkle 3s ease-in-out infinite; }
.shot {
  position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; padding: 0; border: 0;
  border-radius: 24px; overflow: hidden; cursor: pointer; background: var(--surface);
  box-shadow: 0 12px 30px rgba(75, 31, 51, 0.12);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.shot:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(75, 31, 51, 0.18); }
.shot .layer { opacity: 1; }
.tag {
  position: absolute; top: 12px; padding: 4px 10px; border-radius: 999px; z-index: 2;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  background: rgba(253, 242, 244, 0.9); transition: opacity 0.4s;
}
.tag-b { left: 12px; }
.tag-a { right: 12px; opacity: 0; }
.shot:has(.swept) .tag-a { opacity: 1; }
.shot:has(.swept) .tag-b { opacity: 0; }
.card figcaption { font-family: var(--hand); font-weight: 700; font-size: 24px; margin-top: 12px; }

/* Transparenz */
.trust {
  max-width: 820px; margin: 90px auto 0; padding: 56px 48px; text-align: center;
  background: var(--surface); border-radius: 36px; box-shadow: 0 18px 50px rgba(75, 31, 51, 0.08);
}
.trust .hand { font-size: clamp(36px, 4vw, 50px); }
.trust p { color: var(--muted); margin: 18px auto 0; max-width: 56ch; }

/* Abschluss */
.final {
  max-width: 1080px; margin: 120px auto 0; padding: 0 24px;
  display: grid; grid-template-columns: auto 1fr; gap: 80px; align-items: center;
}
.final-text { text-align: left; }
.final .hand { font-size: clamp(50px, 6vw, 84px); margin-bottom: 34px; }
.phone-final { width: 280px; transform: rotate(-4deg); }
/* Dunkler Akzent wie die App-Store-Bilder: Beere mit rosa Lichtschein hinter dem Handy */
.final.dark {
  position: relative; overflow: hidden; max-width: 1120px; padding: 90px 72px; border-radius: 48px; color: #fff;
  background: radial-gradient(160% 110% at 50% 50%, #4A1C30 0%, #2A0F1C 62%, #14060C 100%);
  box-shadow: 0 40px 90px rgba(41, 13, 26, 0.35);
}
.final-glow {
  position: absolute; left: 4%; top: 50%; width: 620px; height: 620px; transform: translateY(-50%); pointer-events: none;
  background: radial-gradient(circle, rgba(246, 196, 209, 0.6) 0%, rgba(236, 157, 178, 0.35) 35%, rgba(184, 77, 113, 0) 70%);
}
.final.dark > *:not(.final-glow) { position: relative; z-index: 1; }
.final.dark .hand { color: #fff; }
.final.dark .hand .pink { color: #F4A9BF; }
.final.dark .phone-final { box-shadow: 0 50px 110px rgba(10, 2, 6, 0.6), 0 0 90px rgba(236, 157, 178, 0.3); }

/* Fuß */
.foot { max-width: 1160px; margin: 0 auto; padding: 110px 24px 48px; text-align: center; font-size: 14px; color: var(--muted); }
.foot-icon { width: 56px; height: 56px; border-radius: 13px; margin: 0 auto 22px; box-shadow: 0 8px 20px rgba(75, 31, 51, 0.15); }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot p { margin: 18px 0 0; }

/* Einblenden beim Scrollen */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.rv.shown { opacity: 1; transform: none; }
.phone-final.rv.shown { transform: rotate(-4deg); }

/* Rechtstexte */
.page .legal { max-width: 720px; margin: 0 auto; padding: 120px 24px 20px; }
.legal h1 { font-family: var(--hand); font-weight: 700; font-size: clamp(32px, 9vw, 58px); line-height: 1.05; margin: 18px 0 28px; overflow-wrap: break-word; hyphens: auto; }
.legal h2, .legal h3 { font-size: 19px; font-weight: 650; margin: 32px 0 8px; }
.legal p, .legal li { color: rgba(75, 31, 51, 0.86); }
.legal a { text-decoration: underline; }
.back { font-size: 14px; color: var(--muted); text-decoration: none; }

/* Schmale Bildschirme */
@media (max-width: 860px) {
  .top { padding: 10px 12px; }
  .top-in { padding: 6px 6px 6px 18px; }
  .brand img { height: 26px; }
  .top .cta-sm { display: none; }
  .top-in { padding: 6px 6px 6px 18px; justify-content: space-between; }
  .top-nav { display: none; }
  .top-menu { display: block; }
  .cta { font-size: 18px; padding: 0 26px; max-width: 100%; }
  .panels { grid-template-columns: 1fr; }
  .panels .p1, .panels .p3 { display: none; }
  .hero-text { padding-bottom: 76px; }
  .hero h1 { font-size: clamp(46px, 13vw, 64px); }
  .story { display: block; padding: 20px 16px 0; }
  .stage { display: none; }
  .step { min-height: 0; flex-direction: column; gap: 34px; padding: 56px 0; text-align: center; }
  .step:last-child { min-height: 0; padding-top: 56px; align-items: center; }
  .step-text { margin: 0 auto; }
  .step p { margin-left: auto; margin-right: auto; }
  .phone-inline { display: block; width: min(270px, 72vw); }
  .gallery { padding: 70px 0 20px; }
  .gallery > .rv { padding: 0 16px; }
  .grid {
    grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: min(66vw, 250px);
    gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 16px 18px; margin-top: 32px;
    scroll-padding-inline: 16px; scrollbar-width: none;
  }
  .grid::-webkit-scrollbar { display: none; }
  .card { scroll-snap-align: start; }
  .trust { margin: 60px 16px 0; padding: 40px 24px; }
  .final { grid-template-columns: 1fr; gap: 44px; margin-top: 80px; justify-items: center; }
  .final.dark { margin-left: 16px; margin-right: 16px; padding: 56px 22px 60px; border-radius: 36px; }
  .final-glow { left: 50%; top: 30%; width: 460px; height: 460px; transform: translate(-50%, -50%); }
  .final-text { text-align: center; }
  .phone-final { width: min(250px, 66vw); }
  .foot { padding-top: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  .s4 { animation: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Posen (27.11.2026): drei Beispielbilder wechseln weich, Chip wie in der App */
.s5 .pz { opacity: 0; animation: pz 9s ease-in-out infinite; object-position: center 40%; }
.s5 .pz1 { animation-delay: -1s; }   /* negativ: auch angehalten sofort sichtbar */
.s5 .pz2 { animation-delay: 2s; }
.s5 .pz3 { animation-delay: 5s; }
@keyframes pz { 0% { opacity: 0; } 6% { opacity: 1; } 33% { opacity: 1; } 40% { opacity: 0; } 100% { opacity: 0; } }
.s5 .posechip { position: absolute; left: 50%; bottom: 9%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.86); color: #8a2f52; font-size: 13px; font-weight: 600; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.s5 .posechip svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.s5 .posechip svg circle { fill: currentColor; stroke: none; }
@media (prefers-reduced-motion: reduce) { .s5 .pz { animation: none; } .s5 .pz1 { opacity: 1; } }
