@charset "UTF-8";

/* =========================================================
   Sallys App website
   1. Tokens and base       8. Premium
   2. Type and buttons      9. FAQ
   3. Header               10. Closing section
   4. Hero                 11. Footer
   5. Was ist neu (tour)   12. Sub-pages (legal, support)
   6. Das ist Sally        13. 404 page
   7. Recipe carousel      14. Cookie banner
                           15. Utilities and reduced motion
   ========================================================= */

/* ---------- 1. Tokens and base ---------- */
:root {
  --pink: #e2007a;
  --pink-dark: #b8005f;
  --pink-soft: #fbe3ee;
  --navy: #133a5e;
  --navy-ink: #1f3550;
  --petrol: #0a3b5a;
  --petrol-light: #9ab6c4;
  --cream: #f3ece2;
  --beige: #e6dccd;
  --oat: #dfd2c5;
  --sky: #d8e4ee;
  --butter: #f8f2c4;
  --gold: #b8955a;
  --gold-ink: #7d5d27;
  --yellow: #f6f08c;
  --muted: #4d5f75;
  --body-ink: #3c4f66;
  --white: #fff;
  --radius: 28px;
  --head: "Oswald", "Arial Narrow", sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
  --script: "Caveat", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--navy-ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.wrap-narrow { width: min(760px, 100% - 32px); }
.section { padding: 104px 0; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 { margin-inline: auto; max-width: 20ch; }
@media (max-width: 720px) {
  .section { padding: 72px 0; }
}

/* ---------- 2. Type and buttons ---------- */
h1, h2, h3 {
  font-family: var(--head);
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.05;
  margin: 0 0 .5em;
  color: var(--navy);
}
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 500; }
h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 500; }

.eyebrow {
  font-family: var(--head); text-transform: uppercase; letter-spacing: .14em;
  font-size: .95rem; color: var(--pink); margin-bottom: .8rem;
}
.pill {
  display: inline-block; background: var(--pink); color: var(--white);
  font: 500 .85rem var(--head); letter-spacing: .12em; text-transform: uppercase;
  padding: .35em .9em; border-radius: 6px; margin-bottom: 1.2rem;
}

.btn {
  display: inline-block; background: var(--pink); color: var(--white); text-decoration: none;
  font-family: var(--head); text-transform: uppercase; letter-spacing: .08em;
  padding: .8em 1.6em; border-radius: 999px; transition: background .2s;
}
.btn:hover { background: var(--pink-dark); }
.btn-small { padding: .55em 1.2em; font-size: .9rem; }
.btn-line { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn-line:hover { background: var(--navy); color: var(--white); }

/* App Store / Google Play buttons */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; scroll-margin-top: 100px; }
.stores-center { justify-content: center; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--navy); color: var(--white); text-decoration: none;
  padding: 10px 20px 10px 16px; border-radius: 14px;
  font-weight: 700; line-height: 1.1; transition: transform .2s;
}
.store:hover { transform: translateY(-2px); }
.store svg { width: 26px; height: 26px; fill: currentColor; }
.store small { display: block; font-weight: 400; font-size: .72rem; }
@media (max-width: 720px) {
  .stores { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
  .stores-center { width: 100%; max-width: 360px; margin-inline: auto; }
  .store { justify-content: center; gap: 8px; padding: 12px 10px; font-size: clamp(.8rem, 4vw, 1rem); white-space: nowrap; }
  .store svg { width: 22px; height: 22px; flex: none; }
}

/* Sally's handwritten sign-off with her portrait */
.signoff { margin: 40px 0 0; display: flex; align-items: center; justify-content: center; gap: 16px; }
.signoff img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: center 18%; border: 4px solid var(--white); box-shadow: 0 10px 24px rgba(19,58,94,.18); }
.signoff p { margin: 0; display: flex; flex-direction: column; align-items: flex-start; }
.signoff span { font: 600 clamp(2.2rem, 5vw, 3rem)/1 var(--script); color: var(--pink); rotate: -3deg; }
.signoff small { margin-top: 10px; font-size: .95rem; color: var(--muted); }
.signoff small::before { content: "\2665  "; color: var(--pink); }

/* Soft colour blobs and floating recipe photos (closing section and 404) */
.cta-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .75; }
.cb1 { width: 420px; height: 420px; background: var(--pink-soft); left: 18%; top: -160px; animation: drift-a 24s ease-in-out infinite alternate; }
.cb2 { width: 460px; height: 460px; background: var(--sky); right: 10%; bottom: -200px; animation: drift-b 28s ease-in-out infinite alternate; }
.cb3 { width: 320px; height: 320px; background: var(--butter); left: 40%; bottom: -160px; animation: drift-a 30s ease-in-out infinite alternate-reverse; }
.cta-photo {
  position: absolute; width: 150px; aspect-ratio: 1; object-fit: cover;
  border-radius: 22px; border: 6px solid var(--white); box-shadow: 0 20px 40px rgba(19,58,94,.16);
  rotate: var(--rot); animation: bob 7s ease-in-out infinite;
}
.cp1 { --rot: -8deg; left: 6%; top: 14%; }
.cp2 { --rot: 6deg; left: 12%; bottom: 12%; width: 120px; animation-delay: -2s; }
.cp3 { --rot: 7deg; right: 6%; top: 12%; animation-delay: -4s; }
.cp4 { --rot: -5deg; right: 13%; bottom: 10%; width: 120px; animation-delay: -1s; }
@media (max-width: 960px) {
  .cp2, .cp4 { display: none; }
  .cp1 { left: -30px; top: 30px; width: 110px; }
  .cp3 { right: -30px; top: 50px; width: 110px; }
}
@media (max-width: 720px) {
  .cp1, .cp3 { width: 84px; border-width: 4px; border-radius: 16px; }
  .cp1 { top: 24px; }
  .cp3 { top: 36px; }
}

@keyframes drift-a { to { transform: translate(120px, 80px) scale(1.15); } }
@keyframes drift-b { to { transform: translate(-140px, 60px) scale(.9); } }
@keyframes bob { 50% { translate: 0 -14px; } }
@keyframes spin { to { rotate: 360deg; } }

/* ---------- 3. Header: floating glass bar ---------- */
.nav { position: sticky; top: 0; z-index: 20; padding: 12px 0; margin-bottom: -88px; }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 64px; padding: 0 10px 0 12px; border-radius: 999px;
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 0 0 1px rgba(19,58,94,.06), 0 8px 24px rgba(19,58,94,.06);
  transition: background .3s, box-shadow .3s;
}
.nav.is-scrolled .nav-inner { background: rgba(255,255,255,.92); box-shadow: 0 0 0 1px rgba(19,58,94,.06), 0 14px 36px rgba(19,58,94,.14); }
.nav-logo { display: flex; }
.nav-logo img { width: 44px; height: 44px; transition: transform .3s; }
.nav-logo:hover img { transform: rotate(-10deg) scale(1.05); }
.nav-links { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(243,236,226,.7); }
.nav-links a {
  position: relative; padding: .5em 1.05em; border-radius: 999px; text-decoration: none;
  font-family: var(--head); text-transform: uppercase; letter-spacing: .1em; font-size: .9rem; color: var(--navy);
  transition: background .25s, color .25s;
}
.nav-links a:hover { background: rgba(255,255,255,.7); }
.nav-links a.is-active { background: var(--white); box-shadow: 0 2px 10px rgba(19,58,94,.1); }
.nav-links a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px;
  border-radius: 50%; background: var(--pink);
}
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-cta { display: inline-flex; align-items: center; gap: .5em; padding: .45em 1.2em; box-shadow: 0 6px 16px rgba(226,0,122,.25); }
.nav-toggle { display: none; }

/* Phones: flat bar like sallys-blog.de (logo centred, menu button right, full-screen menu) */
@media (max-width: 720px) {
  .nav { padding: 0; margin-bottom: -72px; }
  .nav-inner {
    display: grid; grid-template-columns: 40px 1fr 40px; gap: 0;
    width: 100%; height: 72px; padding: 0 16px; border-radius: 0;
    background: var(--oat); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none;
  }
  .nav.is-scrolled .nav-inner, .nav.is-open .nav-inner { background: var(--oat); box-shadow: 0 6px 18px rgba(19,58,94,.1); }
  .nav-logo { grid-column: 2; justify-self: center; }
  .nav-logo img { width: 48px; height: 48px; }

  .nav-toggle {
    grid-column: 3; display: grid; place-items: center; width: 40px; height: 40px;
    padding: 0; border: 0; background: none; cursor: pointer; color: var(--petrol);
  }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    display: block; width: 21px; height: 1.7px; background: currentColor; transition: transform .25s, opacity .2s;
  }
  .nav-toggle span { position: relative; width: 13px; margin-left: 8px; }
  .nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; right: 0; }
  .nav-toggle span::before { top: -7px; }
  .nav-toggle span::after { top: 7px; }
  .nav.is-open .nav-toggle span { background: transparent; }
  .nav.is-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

  .nav-links {
    position: fixed; inset: 72px 0 0; z-index: -1;
    flex-direction: column; gap: 0; padding: 16px 28px 120px; border-radius: 0; background: var(--white);
    overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility 0s .25s;
  }
  .nav.is-open .nav-links { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s; }
  .nav-links a {
    padding: 16px 0; border-radius: 0; border-bottom: 1px solid #e5e7eb;
    font-size: 1.1rem; font-weight: 500; letter-spacing: 2px; color: var(--navy-ink);
  }
  .nav-links a:hover, .nav-links a.is-active { background: none; box-shadow: none; color: var(--pink-dark); }
  .nav-links a.is-active::after { display: none; }

  .nav-right {
    position: fixed; left: 28px; right: 28px; bottom: 28px;
    opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s .25s;
  }
  .nav.is-open .nav-right { opacity: 1; visibility: visible; transition: opacity .25s; }
  .nav-right .btn { display: block; width: 100%; text-align: center; padding: .9em 1.6em; font-size: 1rem; }
  body.nav-open { overflow: hidden; }
}

/* ---------- 4. Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--cream); padding: 160px 0 88px; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.lead { font-size: 1.2rem; max-width: 34ch; }
.note { font-size: .9rem; color: var(--muted); margin-top: 14px; }

/* Background: drifting colour blobs and line doodles that follow the pointer */
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .7; will-change: transform; }
.blob-1 { width: 420px; height: 420px; background: var(--pink-soft); left: -120px; top: -140px; animation: drift-a 22s ease-in-out infinite alternate; }
.blob-2 { width: 520px; height: 520px; background: var(--sky); right: -160px; top: 10%; animation: drift-b 26s ease-in-out infinite alternate; }
.blob-3 { width: 360px; height: 360px; background: var(--butter); left: 30%; bottom: -200px; animation: drift-a 30s ease-in-out infinite alternate-reverse; }
.doodle {
  position: absolute; left: var(--x); top: var(--y); width: calc(var(--s) * 1.4); height: calc(var(--s) * 1.4);
  transform: translate(calc(var(--mx, 0) * var(--depth) * 1px), calc(var(--my, 0) * var(--depth) * 1px));
  transition: transform .4s ease-out;
}
.doodle svg {
  width: 100%; height: 100%; overflow: visible;
  fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 220; stroke-dashoffset: 220;
  animation: draw 1.6s ease-out forwards, float var(--d) ease-in-out var(--delay) infinite;
  rotate: var(--r);
}
.ink-navy { color: rgba(19,58,94,.3); }
.ink-pink { color: rgba(226,0,122,.5); }
.ink-gold { color: rgba(184,149,90,.7); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes float {
  0%, 100% { translate: 0 0; rotate: var(--r); }
  50% { translate: 0 -14px; rotate: calc(var(--r) + 8deg); }
}

/* Phone with the app screens sliding in like in-app navigation */
.hero-visual { position: relative; height: 560px; }
.phone {
  background: var(--white); border-radius: 44px; padding: 10px; overflow: hidden;
  box-shadow: 0 30px 60px rgba(19,58,94,.18), 0 0 0 1px rgba(19,58,94,.06);
}
.phone-hero {
  position: absolute; width: 340px; right: 20px; bottom: -88px;
  border-bottom-left-radius: 0; border-bottom-right-radius: 0; padding-bottom: 0;
}
.screens { position: relative; aspect-ratio: 390 / 580; overflow: hidden; border-radius: 34px 34px 0 0; background: var(--cream); }
.screen { position: absolute; inset: 0; transform: translateX(100%); background: #eef1f3; }
.screen > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.screen-anim { position: absolute; left: 0; top: 8%; width: 100%; height: auto; aspect-ratio: 585 / 600; object-fit: contain; }
.screen.is-active { transform: none; z-index: 2; transition: transform .9s cubic-bezier(.65,0,.2,1); box-shadow: -18px 0 40px rgba(19,58,94,.18); }
.screen.is-leaving { transform: translateX(-28%); filter: brightness(.85); z-index: 1; transition: transform .9s cubic-bezier(.65,0,.2,1), filter .9s; }
.screen-label {
  position: absolute; z-index: 3; left: 120px; bottom: 56px;
  display: flex; align-items: center; gap: .55em;
  background: var(--white); color: var(--navy); border-radius: 999px; padding: .55em 1.1em .55em .9em;
  font: 500 .95rem var(--head); letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 0 14px 30px rgba(19,58,94,.16);
}
.screen-label::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px var(--pink-soft); }
.screen-label.pop span { animation: label-pop .5s cubic-bezier(.2,.8,.2,1); }
@keyframes label-pop { from { opacity: 0; transform: translateY(8px); } }

/* Sally's photo beside the phone (tablet only) */
.sally-card { display: none; }

/* Floating app pieces around the phone (desktop only) */
.ui-chip { display: none; }

@media (min-width: 721px) and (max-width: 960px) {
  .sally-card {
    display: block; position: absolute; margin: 0; left: 2%; top: 120px; width: 170px; z-index: 2;
    border-radius: 22px; overflow: hidden; border: 6px solid var(--white);
    box-shadow: 0 24px 48px rgba(19,58,94,.2);
    transform: rotate(-5deg); animation: bob 8s ease-in-out infinite;
  }
  .sally-card img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; width: 100%; }
}
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 520px; max-width: 460px; width: 100%; margin-inline: auto; }
}
@media (min-width: 961px) {
  .screen-label { display: none; }
  .phone-hero { width: 300px; left: 50%; right: auto; translate: -50% 0; z-index: 2; }
  .ui-chip {
    display: flex; position: absolute; z-index: 3; align-items: center; gap: 12px;
    background: var(--white); border-radius: 20px; padding: 10px 16px 10px 10px;
    box-shadow: 0 0 0 1px rgba(19,58,94,.05), 0 18px 40px rgba(19,58,94,.16);
    animation: bob 7s ease-in-out infinite;
  }
  .ui-chip small { display: block; font: 500 .7rem var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
  .ui-chip b { display: block; font: 500 1rem/1.2 var(--head); color: var(--navy); text-transform: uppercase; letter-spacing: .02em; }
  .chip-recipe { left: -10px; top: 40px; flex-direction: column; align-items: stretch; width: 170px; padding: 8px 8px 12px; rotate: -5deg; }
  .chip-recipe img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; }
  .chip-recipe span { padding: 2px 6px 0; }
  .chip-recipe em { font-style: normal; font-size: .8rem; color: var(--pink); font-weight: 700; }
  .chip-done { right: -24px; top: 120px; rotate: 3deg; animation-delay: -2s; }
  .chip-done .tick { width: 34px; height: 34px; border-radius: 50%; flex: none; background: #3fae6a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
  .chip-list { left: -20px; bottom: 70px; flex-direction: column; align-items: stretch; gap: 6px; padding: 14px 18px; rotate: 3deg; animation-delay: -3s; }
  .chip-list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .9rem; }
  .chip-list li { display: flex; align-items: center; gap: 8px; }
  .chip-list li::before { content: ""; width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid #b9c4cf; flex: none; }
  .chip-list li.on { color: #8a97a6; text-decoration: line-through; }
  .chip-list li.on::before { border-color: var(--pink); background: var(--pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
  .chip-sally { right: -10px; bottom: 150px; border-radius: 999px; padding: 6px 18px 6px 6px; animation-delay: -5s; }
  .chip-sally img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: center 15%; }
}

/* Phones: the app first, then the copy and the buttons; doodles peek in from the edges */
@media (max-width: 720px) {
  .hero { padding: 92px 0 48px; }
  .hero-inner { display: flex; flex-direction: column; gap: 0; }
  .hero h1 { font-size: clamp(2.1rem, 10vw, 2.7rem); }
  .pill { font-size: .75rem; margin-bottom: 1rem; }
  .lead { font-size: 1.05rem; }
  .note { text-align: center; }

  .hero-visual { order: -1; width: 100%; max-width: 360px; height: 300px; margin: 0 auto 22px; }
  .phone-hero {
    width: 214px; height: 300px; left: 0; right: 0; top: 0; bottom: auto; margin-inline: auto;
    border-radius: 34px; padding: 7px 7px 0;
    -webkit-mask-image: linear-gradient(#000 78%, transparent);
            mask-image: linear-gradient(#000 78%, transparent);
  }
  .screens { aspect-ratio: auto; height: 293px; border-radius: 27px 27px 0 0; }
  .screen-label { left: 50%; bottom: 14px; translate: -50% 0; font-size: .8rem; white-space: nowrap; }

  .blob { filter: blur(50px); }
  .blob-1 { width: 300px; height: 300px; left: -140px; top: -80px; }
  .blob-2 { width: 320px; height: 320px; right: -160px; top: 30%; }
  .blob-3 { width: 340px; height: 340px; left: -120px; top: auto; bottom: 10%; }

  .doodle { width: 30px; height: 30px; }
  .d1  { left: -8px; top: 2%; }
  .d2  { left: calc(100% - 26px); top: 6%; }
  .d3  { left: calc(100% - 24px); top: 24%; }
  .d4  { left: -10px; top: 33%; }
  .d5  { left: calc(100% - 24px); top: 45%; }
  .d6  { left: -14px; top: 52%; width: 40px; }
  .d7  { left: calc(100% - 24px); top: 63%; }
  .d8  { left: -6px; top: 72%; }
  .d9  { left: calc(100% - 26px); top: 86%; }
  .d10 { left: -8px; top: 94%; }
}

/* ---------- 5. Was ist neu (tour) ---------- */
#tour { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, #fdf8f3 30%, #f8f3ee 70%, #fff 100%); }
#tour > .wrap { position: relative; z-index: 1; }

/* Background colour fields and doodles that move with scrolling (--p is set in main.js) */
.scroll-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.sb {
  position: absolute; top: var(--top); left: var(--left); width: var(--size); height: var(--size);
  transform: translateY(calc((var(--p, .5) - .5) * var(--speed) * 700px)) rotate(calc(var(--rot) + var(--p, .5) * var(--speed) * 120deg));
  will-change: transform;
}
.sb svg {
  width: 100%; height: 100%; overflow: visible;
  fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round;
}
.sb-color {
  position: absolute; top: var(--top); left: var(--left); width: 640px; height: 640px; border-radius: 50%;
  filter: blur(90px); opacity: .7;
  transform: translateY(calc((var(--p, .5) - .5) * var(--speed) * 800px));
  will-change: transform;
}
.c-pink { background: var(--pink-soft); }
.c-sky { background: var(--sky); }
.c-yellow { background: var(--butter); }
.c-beige { background: var(--beige); }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 88px; }
.feature:last-child { margin-bottom: 0; }
.feature-flip .feature-media { order: 2; }
.feature-media { border-radius: var(--radius); aspect-ratio: 390 / 400; display: grid; place-items: center; overflow: hidden; }
.feature-media video, .feature-media img.poster { width: 100%; height: 100%; object-fit: contain; }
/* Point 04: the cake video has a solid background (not transparent); the card uses the same colour so its edges blend in */
.media-cake { position: relative; background: #b7b8ae; }
.media-cake video, .media-cake img.poster {
  position: absolute; inset: 0;
  /* Browsers render video colours slightly differently from CSS, so fade the video's side edges into the card */
  -webkit-mask-image: linear-gradient(90deg, transparent 11%, #000 17%, #000 83%, transparent 89%);
  mask-image: linear-gradient(90deg, transparent 11%, #000 17%, #000 83%, transparent 89%);
}
.media-sky { background: var(--sky); }
.media-cream { background: var(--cream); }
.media-pink { background: var(--pink-soft); }
.num { display: block; font: 300 3.2rem/1 var(--head); color: var(--gold); margin-bottom: 12px; }
.feature-copy { max-width: 52ch; }
.feature-copy > p:not(.feature-more) { font-size: 1.15rem; font-weight: 500; color: var(--navy); }
.feature-more { font-size: 1.1rem; line-height: 1.65; color: var(--body-ink); margin: 0 0 18px; }
.feature-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.feature-points li { position: relative; padding-left: 30px; font-size: .98rem; line-height: 1.45; }
.feature-points li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--pink-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23e2007a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
@media (max-width: 960px) {
  .feature { grid-template-columns: 1fr; gap: 40px; }
  .feature-flip .feature-media { order: 0; }
}
/* Phones: each feature sits on a white card */
@media (max-width: 720px) {
  .sb { width: calc(var(--size) * .6); height: calc(var(--size) * .6); }
  .sb[style*="--left:8"], .sb[style*="--left:9"] { left: calc(100% - var(--size) * .45); }
  .sb[style*="--left:2"], .sb[style*="--left:3"], .sb[style*="--left:4"], .sb[style*="--left:6"] { left: calc(var(--size) * -.2); }
  .sb-color { width: 380px; height: 380px; filter: blur(60px); }
  .feature {
    background: var(--white); border-radius: 28px; padding: 12px 12px 26px;
    box-shadow: 0 14px 34px rgba(19,58,94,.08), 0 0 0 1px rgba(19,58,94,.05);
    gap: 22px;
  }
  .feature, .feature:last-child { margin-bottom: 28px; }
  .feature-media { border-radius: 20px; }
  .feature-copy { padding-inline: 10px; }
  .feature-copy > p:not(.feature-more) { font-size: 1.05rem; margin-bottom: 16px; }
  .feature-more { display: none; } /* phones: lead line and bullet points are enough */
}

/* ---------- 6. Das ist Sally ---------- */
.meet { position: relative; overflow: hidden; background: linear-gradient(170deg, #fbf4ee 0%, var(--cream) 60%, #efe6da 100%); }
.meet-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
.meet-photos { position: relative; height: 580px; }
.meet-photos img { position: absolute; object-fit: cover; border: 8px solid var(--white); box-shadow: 0 30px 60px rgba(19,58,94,.18); }
.meet-main { left: 0; top: 0; width: 66%; aspect-ratio: 2 / 3; border-radius: 28px; rotate: -3deg; object-position: center 20%; }
.meet-second { right: 2%; bottom: 0; width: 44%; aspect-ratio: 2 / 3; border-radius: 24px; rotate: 4deg; z-index: 1; }
.meet-badge { position: absolute; left: 56%; top: 4%; width: 104px; height: 104px; z-index: 2; display: grid; place-items: center; }
.meet-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--white); stroke: var(--pink); stroke-width: 1.4; animation: spin 24s linear infinite; }
.meet-badge b { position: relative; font: 500 1.5rem var(--head); color: var(--pink); letter-spacing: .04em; }
.meet-lead { font-size: 1.15rem; max-width: 44ch; }
.meet-stats { list-style: none; padding: 0; margin: 32px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.meet-stats li { background: rgba(255,255,255,.75); border-radius: 18px; padding: 16px; box-shadow: 0 0 0 1px rgba(19,58,94,.06); }
.meet-stats b { display: block; font: 500 1.7rem/1.1 var(--head); color: var(--navy); text-transform: uppercase; }
.meet-stats span { display: block; margin-top: 4px; font-size: .9rem; color: var(--muted); line-height: 1.3; }
.meet-sign { margin: 0; font: 600 2.4rem/1 var(--script); color: var(--pink); rotate: -3deg; display: inline-block; }
@media (max-width: 960px) {
  .meet-inner { grid-template-columns: 1fr; gap: 40px; }
  .meet-photos { height: 520px; max-width: 460px; width: 100%; margin-inline: auto; }
}
@media (max-width: 720px) {
  .meet-photos { height: 420px; }
  .meet-badge { width: 80px; height: 80px; left: 58%; }
  .meet-badge b { font-size: 1.15rem; }
  .meet-stats { grid-template-columns: 1fr; }
  .meet-stats li { display: flex; align-items: baseline; gap: 12px; padding: 12px 16px; }
  .meet-stats b { font-size: 1.35rem; flex: none; min-width: 6.5em; }
}

/* ---------- 7. Recipe carousel ---------- */
.recipes { overflow: hidden; background: var(--white); }
.recipes-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; }
.recipes-head h2 { margin-bottom: .3em; }
.recipes-lead { font-size: 1.1rem; max-width: 46ch; margin: 0; }
.carousel-nav { display: flex; gap: 10px; flex: none; }
.cbtn {
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--cream); display: grid; place-items: center; transition: background .2s, transform .2s;
}
.cbtn svg { width: 22px; height: 22px; fill: none; stroke: var(--navy); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cbtn:hover { background: var(--navy); transform: scale(1.05); }
.cbtn:hover svg { stroke: var(--white); }
.carousel {
  --gutter: max(16px, (100% - 1160px) / 2);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 8px var(--gutter) 36px; scroll-padding-inline: var(--gutter);
}
.carousel::-webkit-scrollbar { display: none; }
.carousel:focus-visible { outline: 2px solid var(--pink); outline-offset: -2px; }
.carousel-track { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; width: max-content; }
.rcard {
  width: 250px; flex: none; scroll-snap-align: start; position: relative;
  background: var(--white); border-radius: 24px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(19,58,94,.06), 0 14px 30px rgba(19,58,94,.08);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
}
.rcard:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 0 0 1px rgba(19,58,94,.06), 0 24px 44px rgba(19,58,94,.14); }
.rcard > img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .6s; }
.rcard:hover > img { transform: scale(1.05); }
.rcard-body { padding: 16px 18px 20px; position: relative; background: var(--white); }
.rcard h3 { font-size: 1.15rem; margin: .45em 0 0; line-height: 1.2; }
.rtag {
  display: inline-block; font: 500 .72rem var(--head); letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-ink); background: #f6efe1; border-radius: 999px; padding: .3em .8em;
}
.rcard-sally { width: 300px; background: var(--navy); color: var(--white); }
.rcard-sally > img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-position: center 18%; }
.rcard-sally::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(19,58,94,.92)); }
.rcard-sally-copy { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 22px; }
.rcard-sally-copy p { margin: .6em 0 0; font-size: 1.05rem; line-height: 1.4; }
.rcard-sally .rtag { background: var(--pink); color: var(--white); }
@media (max-width: 720px) {
  .recipes-head { flex-direction: column; align-items: flex-start; }
  .carousel-nav { display: none; }
  .rcard { width: 210px; }
  .rcard-sally { width: 240px; }
}

/* ---------- 8. Premium ---------- */
.premium { background: linear-gradient(160deg, #f7f1e4 0%, #eadcbc 45%, #c9d8e4 100%); }
.premium-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.premium .eyebrow { color: var(--gold-ink); }
.perks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.perk {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  background: rgba(255,255,255,.72); border-radius: 18px;
  box-shadow: 0 0 0 1px rgba(19,58,94,.06), 0 6px 16px rgba(19,58,94,.05);
  transition: transform .25s;
}
.perk:hover { transform: translateY(-3px); }
.perk svg {
  width: 38px; height: 38px; flex: none; padding: 8px; border-radius: 12px; background: var(--navy);
  fill: none; stroke: var(--white); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.perk span { line-height: 1.25; }
.perk small { display: block; font: 500 .7rem var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.perk b { font: 500 1.12rem var(--head); color: var(--navy); text-transform: uppercase; letter-spacing: .03em; }
.perk-wide { grid-column: 1 / -1; font-size: 1.02rem; }
.perk-gold svg { background: var(--gold); }
.perk-note { font-size: .9rem; color: var(--muted); margin: 12px 0 0; }

.premium-visual { position: relative; height: 560px; max-width: 480px; width: 100%; margin-inline: auto; }
.pcard { position: absolute; margin: 0; background: var(--white); border-radius: 24px; padding: 10px; box-shadow: 0 24px 50px rgba(19,58,94,.16); }
.pcard img { border-radius: 16px; width: 100%; object-fit: cover; }
.pcard-main { width: 62%; left: 6%; top: 0; transform: rotate(-3deg); }
.pcard-main img { aspect-ratio: 4 / 5; }
.pcard-small { width: 44%; right: 0; top: 34%; transform: rotate(4deg); }
.pcard-small img { aspect-ratio: 1; }
.pcard-small figcaption { font: 500 1rem/1.2 var(--head); color: var(--navy); text-align: center; padding: 12px 6px 6px; }
.premium-badge {
  position: absolute; top: -14px; left: 50%; translate: -50% 0;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--pink); color: var(--white); border-radius: 999px; padding: 6px 14px 6px 10px;
  font: 500 .9rem var(--head); letter-spacing: .1em; text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(226,0,122,.3);
}
.premium-badge svg { width: 18px; height: 18px; fill: var(--yellow); }
.voucher { position: absolute; width: 38%; left: 0; bottom: 0; transform: rotate(-6deg); filter: drop-shadow(0 18px 30px rgba(19,58,94,.2)); border-radius: 18px; }
@media (max-width: 960px) {
  .premium-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 720px) {
  .premium-visual { height: 440px; }
  .perk { padding: 10px 12px; gap: 10px; }
  .perk svg { width: 32px; height: 32px; padding: 6px; border-radius: 10px; }
  .perk b { font-size: .98rem; }
}

/* ---------- 9. FAQ ---------- */
.faq { background: #faf6f0; }
.faq-layout { display: grid; grid-template-columns: 340px 1fr; gap: 64px; align-items: start; }
.faq-layout > * { min-width: 0; }
.faq-intro { position: sticky; top: 112px; }
.faq-lead { font-size: 1.1rem; margin-bottom: 28px; }
.faq-tabs { display: flex; flex-direction: column; gap: 6px; margin-bottom: 32px; }
.faq-tab {
  display: flex; align-items: center; justify-content: space-between;
  text-align: left; cursor: pointer; border: 0; background: transparent; color: var(--navy);
  font: 500 1.05rem var(--head); letter-spacing: .08em; text-transform: uppercase;
  padding: 12px 18px; border-radius: 14px; transition: background .2s, color .2s;
}
.faq-tab::after { content: "\2192"; opacity: 0; transform: translateX(-6px); transition: .2s; color: var(--pink); }
.faq-tab:hover { background: var(--white); }
.faq-tab[aria-selected="true"] { background: var(--white); box-shadow: 0 6px 18px rgba(19,58,94,.08); }
.faq-tab[aria-selected="true"]::after { opacity: 1; transform: none; }

.faq-panel { display: flex; flex-direction: column; gap: 12px; animation: panel-in .35s ease; }
.faq-panel[hidden] { display: none; }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } }
.faq-list details {
  background: var(--white); border-radius: 20px; padding: 0 24px;
  box-shadow: 0 1px 0 rgba(19,58,94,.06); transition: box-shadow .25s;
  interpolate-size: allow-keywords;
}
.faq-list details[open] { box-shadow: 0 14px 34px rgba(19,58,94,.1); }
.faq-list details::details-content { block-size: 0; overflow: hidden; transition: block-size .3s ease, content-visibility .3s allow-discrete; }
.faq-list details[open]::details-content { block-size: auto; }
summary {
  cursor: pointer; list-style: none; font-weight: 700; font-size: 1.08rem; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23133a5e' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .3s ease, background-color .3s;
}
details[open] summary::after { transform: rotate(45deg); background-color: var(--pink-soft); }
.answer { padding-bottom: 22px; max-width: 64ch; color: #3b4d63; }
.answer p { margin: 0 0 .7em; }
.answer p:last-child { margin-bottom: 0; }
.answer ul, .answer ol { margin: 0 0 .7em; padding-left: 1.2em; }
.answer li { margin-bottom: .3em; }

/* "Noch Fragen?" card under the questions */
.help-card {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; margin-top: 20px;
  background: var(--navy); color: var(--white); text-decoration: none; border-radius: 24px; padding: 22px 24px;
  transition: transform .2s;
}
.help-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,.06); }
.help-card:hover { transform: translateY(-2px); }
.help-card strong { display: block; font: 500 1.1rem var(--head); letter-spacing: .06em; text-transform: uppercase; }
.help-card span span { font-size: .92rem; color: #c9d6e3; }
.help-icon { flex: none; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.12); display: grid; place-items: center; }
.help-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.help-btn {
  margin-left: auto; flex: none; position: relative; z-index: 1;
  background: var(--white); color: var(--navy); border-radius: 999px; padding: .6em 1.2em;
  font: 500 .9rem var(--head); letter-spacing: .08em; text-transform: uppercase; transition: background .2s, color .2s;
}
.help-card:hover .help-btn { background: var(--pink); color: var(--white); }

@media (max-width: 960px) {
  .faq-layout { grid-template-columns: 1fr; gap: 32px; }
  .faq-intro { position: static; }
  .faq-tabs { flex-direction: row; overflow-x: auto; margin-inline: -16px; padding: 4px 16px; scrollbar-width: none; }
  .faq-tab { white-space: nowrap; flex: none; background: var(--white); }
  .faq-tab::after { display: none; }
  .faq-tab[aria-selected="true"] { background: var(--navy); color: var(--white); }
}
@media (max-width: 720px) {
  .faq-layout { gap: 20px; }
  .faq-lead { font-size: 1rem; margin-bottom: 20px; }
  .faq-tabs { gap: 8px; margin-bottom: 0; }
  .faq-tab { font-size: .9rem; padding: 10px 16px; border-radius: 12px; }
  .faq-panel { gap: 10px; }
  .faq-list details { padding: 0 18px; border-radius: 18px; }
  summary { font-size: 1rem; line-height: 1.4; padding: 16px 0; gap: 12px; }
  summary::after { width: 30px; height: 30px; background-size: 14px; }
  .answer { padding-bottom: 18px; font-size: .97rem; }
  .help-card { flex-wrap: wrap; gap: 14px; padding: 20px; margin-top: 16px; }
  .help-card > span:nth-child(2) { flex: 1 1 0; min-width: 0; }
  .help-btn { flex-basis: 100%; margin-left: 0; text-align: center; padding: .75em 1.2em; }
}

/* ---------- 10. Closing section ---------- */
.cta { position: relative; overflow: hidden; padding: 120px 0; text-align: center; color: var(--navy-ink); background: linear-gradient(180deg, #f7f1e8 0%, var(--cream) 100%); }
.cta-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.cta-inner > img { width: 96px; height: 96px; margin-bottom: 24px; }
.cta p { font-size: 1.1rem; }
@media (max-width: 720px) {
  .cta { padding: 96px 0 80px; }
}

/* ---------- 11. Footer (same structure as sallys-blog.de) ---------- */
.footer { background: var(--petrol); color: var(--white); font-size: .9rem; }
.footer a { text-decoration: none; }
.footer-bar { background: var(--petrol-light); color: var(--petrol); }
.footer-bar-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 14px 0; flex-wrap: wrap; }
.footer-app { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-bar-title { font: 600 .85rem var(--head); letter-spacing: .14em; text-transform: uppercase; margin-right: 6px; }
.badge { display: inline-flex; align-items: center; gap: 7px; background: #000; color: #fff; border-radius: 7px; padding: 5px 11px 5px 8px; line-height: 1.05; border: 1px solid #a6a6a6; }
.badge svg { width: 18px; height: 18px; fill: currentColor; }
.badge span { font: 600 .95rem var(--body); }
.badge small { display: block; font-size: .55rem; font-weight: 500; }
.footer-social { display: flex; gap: 24px; }
.footer-social a { color: var(--petrol); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; transition: background .2s; }
.footer-social a:hover { background: rgba(255,255,255,.4); }
.footer-social svg { width: 22px; height: 22px; }
.footer-main { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; padding: 34px 0 40px; }
.footer-brand { display: flex; gap: 22px; align-items: flex-start; }
.footer-logo img { width: 64px; height: 64px; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.footer-col a, .footer-col button { color: var(--white); font: 500 .9rem var(--head); letter-spacing: .1em; text-transform: uppercase; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.footer-col a:hover, .footer-col button:hover { color: var(--petrol-light); }
.footer-head { margin: 0; font: 500 .85rem var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--petrol-light); }
.footer-copy { margin: 26px 0 0; font-size: .8rem; color: #c3d0dd; }
@media (max-width: 860px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
/* Phones: like the sallys-blog.de footer (centred app bar, fold-out link groups) */
@media (max-width: 720px) {
  .footer-bar-inner { flex-direction: column; align-items: stretch; gap: 18px; padding: 20px 0 16px; }
  .footer-app { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; justify-items: start; }
  .footer-app .badge:last-child { justify-self: end; }
  .footer-bar-title { grid-column: 1 / -1; justify-self: center; margin: 0; font-size: .95rem; }
  .footer-social { justify-content: space-between; gap: 0; padding: 0 4px; }
  .footer-social svg { width: 26px; height: 26px; }

  .footer-main { grid-template-columns: 1fr; gap: 0; padding: 32px 0 28px; }
  .footer-brand { gap: 16px; margin-bottom: 26px; }
  .footer-logo img { width: 96px; height: 96px; }
  .footer-col { gap: 16px; }
  .footer-col a, .footer-col button { font-size: 14px; line-height: 18px; letter-spacing: 2px; }
  .footer-copy { margin-top: 16px; font-size: 14px; color: #9e9ba3; }

  .footer-col.is-collapsible { gap: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .footer-col.is-collapsible > a { display: none; }
  .footer-col.is-open > a { display: block; margin-bottom: 16px; }
  .footer-col.is-collapsible .footer-head {
    display: flex; justify-content: space-between; align-items: center; width: 100%;
    padding: 18px 0; font-size: 14px; line-height: 18px; letter-spacing: 2px; cursor: pointer;
  }
  .footer-col.is-collapsible .footer-head::after {
    content: ""; width: 9px; height: 9px; margin: -5px 4px 0 0;
    border: solid var(--petrol-light); border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); transition: transform .25s, margin .25s;
  }
  .footer-col.is-open .footer-head::after { transform: rotate(-135deg); margin-top: 4px; }
}

/* ---------- 12. Sub-pages (legal, support) ---------- */
.page-hero { background: var(--cream); padding: 144px 0 56px; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.8rem); hyphens: auto; overflow-wrap: break-word; }
.page-lead { font-size: 1.15rem; max-width: 52ch; margin: 0; }
.legal { padding-top: 56px; }
.legal h2 { font-size: 1.5rem; margin: 40px 0 .5em; }
.legal h2:first-of-type { margin-top: 24px; }
.legal h3 { font-size: 1.1rem; margin: 24px 0 .4em; }
.legal p { max-width: 68ch; }
.table-wrap { overflow-x: auto; margin: 0 0 20px; }
.legal table { border-collapse: collapse; width: 100%; font-size: .9rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid #dde3e8; }
.legal th { font: 600 .85rem var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.ph { background: #fff3a6; border-radius: 4px; padding: 0 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.draft-note { border-radius: 14px; padding: 14px 18px; font-size: .95rem; margin-bottom: 8px; background: #fff8d6; border: 1px solid #f0e2a0; }

.support { padding-top: 64px; }
.support-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.support-card { background: var(--white); border: 1px solid var(--beige); border-radius: 24px; padding: 28px; }
.support-card h2 { font-size: 1.5rem; margin-bottom: .4em; }
.support-card p { margin: 0; }
.support-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--cream); color: var(--navy); margin-bottom: 18px; }
.support-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card-link { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--pink-dark); text-decoration: none; }
.card-link:hover { text-decoration: underline; }
.subs-box {
  margin-top: 20px; background: var(--navy); color: var(--white); border-radius: 24px; padding: 32px;
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
}
.subs-box h2 { color: var(--white); font-size: 1.5rem; margin-bottom: .3em; }
.subs-box p { margin: 0; color: #d3dee9; max-width: 56ch; }
.subs-links { display: flex; flex-wrap: wrap; gap: 10px; }
.subs-links .store { background: var(--white); color: var(--navy); padding: 12px 20px; }
.support-help { margin-top: 72px; max-width: 820px; }
.support-help h2 { font-size: 2rem; }
.support-help .faq-list details { border: 1px solid var(--beige); }
@media (max-width: 960px) {
  .support-cards, .subs-box { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .page-hero { padding-top: 120px; }
  .legal, .support { padding-top: 72px; }
}

/* ---------- 13. 404 page ---------- */
.e404 { position: relative; overflow: hidden; min-height: 100vh; display: grid; place-items: center; padding: 140px 0 100px; text-align: center; background: linear-gradient(180deg, #f7f1e8 0%, var(--cream) 100%); }
.e404-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.e404-code { display: flex; align-items: center; gap: clamp(8px, 2vw, 20px); margin: 0 0 12px; font: 600 clamp(7rem, 18vw, 12rem)/1 var(--head); color: var(--navy); }
.e404-plate { width: .82em; aspect-ratio: 1; border-radius: 50%; padding: .05em; background: var(--pink); box-shadow: 0 0 0 .035em var(--white), 0 24px 50px rgba(226,0,122,.25); animation: e404-wobble 5s ease-in-out infinite; }
.e404-plate img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: .03em solid var(--white); }
@keyframes e404-wobble { 0%, 100% { rotate: -6deg; } 50% { rotate: 6deg; translate: 0 -8px; } }
.e404 h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); max-width: 18ch; margin: 0 0 16px; }
.e404-lead { max-width: 46ch; font-size: 1.1rem; color: var(--body-ink); margin: 0 0 28px; }
.e404-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.e404-sign { margin-top: 44px; }
.e404-sign span { font-size: clamp(1.8rem, 4vw, 2.4rem); }
@media (max-width: 720px) {
  .e404 { padding: 120px 0 72px; }
  .e404-actions { flex-direction: column; width: 100%; max-width: 320px; }
  .e404-actions .btn { text-align: center; }
  .e404-sign { flex-direction: column; text-align: center; }
  .e404-sign p { align-items: center; }
}

/* ---------- 14. Cookie banner (same layout as sallys-blog.de) ---------- */
.ck { position: fixed; inset: 0; z-index: 1000; background: rgba(40,40,40,.55); display: grid; place-items: center; padding: 16px; }
.ck[hidden] { display: none; }
body.ck-open { overflow: hidden; }
.ck-box { position: relative; background: var(--white); color: var(--petrol); border-radius: 6px; width: min(860px, 100%); max-height: calc(100dvh - 32px); overflow: auto; padding: 28px 32px 24px; box-shadow: 0 20px 60px rgba(0,0,0,.25); text-align: center; }
.ck-x { position: absolute; top: 10px; right: 12px; background: none; border: 0; font-size: 1.6rem; line-height: 1; color: var(--petrol); cursor: pointer; padding: 6px; }
.ck-box h2 { font: 600 1.05rem var(--head); letter-spacing: .1em; text-transform: uppercase; margin: 0 0 10px; color: var(--petrol); }
.ck-text { font-size: .85rem; line-height: 1.5; margin: 0 auto 8px; max-width: 72ch; }
.ck-links { font-size: .85rem; margin: 0 0 18px; }
.ck-links a { color: var(--petrol); text-decoration: underline; }
.ck-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.ck-btn { background: var(--white); color: var(--petrol); border: 2px solid var(--petrol); border-radius: 999px; padding: .6em 1.3em; font: 600 .82rem var(--head); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s; }
.ck-btn:hover, .ck-btn:focus-visible { background: var(--petrol); color: var(--white); }
.ck-btn[hidden], .ck-cats[hidden] { display: none; }
.ck-cats { text-align: left; margin: 8px 0 18px; border-top: 1px solid #dde3e8; }
.ck-cat { padding: 14px 0; border-bottom: 1px solid #dde3e8; }
.ck-cat-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ck-cat h3 { margin: 0; font: 600 .9rem var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--petrol); }
.ck-cat p { margin: 6px 0 0; font-size: .9rem; }
.ck-cat .ck-detail { font-size: .75rem; color: var(--body-ink); line-height: 1.5; }
.ck-always { font-size: .8rem; color: #5b6b7c; }
.ck-switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: .8rem; color: var(--body-ink); }
.ck-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ck-track { width: 36px; height: 20px; border-radius: 999px; background: #c9d1d9; position: relative; transition: background .2s; }
.ck-track::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.ck-switch input:checked + .ck-track { background: var(--petrol); }
.ck-switch input:checked + .ck-track::after { transform: translateX(16px); }
.ck-switch input:focus-visible + .ck-track { outline: 2px solid var(--pink); outline-offset: 2px; }
@media (max-width: 520px) {
  .ck-box { padding: 24px 18px 18px; }
  .ck-actions { flex-direction: column; }
  .ck-btn { width: 100%; }
}

/* ---------- Mobile polish: tap targets of at least 44px, no sideways scrolling, readable small text ----------
   Scoped with body:not(.page-404) so the custom 404 page (custom_pages/404.html) keeps its look. */
body:not(.page-404) { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-tap-highlight-color: rgba(19,58,94,.08); }
body:not(.page-404) .legal a, body:not(.page-404) .legal td { overflow-wrap: anywhere; }
@media (max-width: 720px) {
  body:not(.page-404) .footer-social a { width: 44px; height: 44px; }
  body:not(.page-404) .footer-brand .footer-col { gap: 0; }
  body:not(.page-404) .footer-col a, body:not(.page-404) .footer-col button { padding: 11px 0; }
  body:not(.page-404) .footer-col.is-open > a { margin-bottom: 0; }
  body:not(.page-404) .footer-col.is-open > a:last-child { margin-bottom: 12px; }
  body:not(.page-404) .footer-copy { margin-top: 10px; }
  body:not(.page-404) .faq-tab { padding-block: 13px; }
  body:not(.page-404) .card-link { padding: 10px 0; margin-top: 4px; }
  body:not(.page-404) .rtag { font-size: .78rem; }
  body:not(.page-404) .store small, body:not(.page-404) .perk small { font-size: .75rem; }
  body:not(.page-404) .ck-btn { min-height: 46px; }
  body:not(.page-404) .ck-x { top: 4px; right: 4px; width: 44px; height: 44px; padding: 0; }
  body:not(.page-404) .ck-switch { min-height: 44px; }
  /* Keep the buttons in reach while the settings list scrolls */
  body:not(.page-404) .ck-actions { position: sticky; bottom: -18px; margin: 0 -18px -18px; padding: 12px 18px 18px; background: var(--white); box-shadow: 0 -10px 18px -12px rgba(10,59,90,.25); }
  body:not(.page-404) .nav-right { bottom: calc(28px + env(safe-area-inset-bottom)); }
}
@media (max-width: 360px) {
  body:not(.page-404) .perks { grid-template-columns: 1fr; }
}

/* ---------- 15. Utilities and reduced motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .blob, .doodle svg, .cta-blob, .cta-photo, .meet-badge svg, .e404-plate, .sally-card, .ui-chip { animation: none; }
  .doodle svg { stroke-dashoffset: 0; }
  .doodle { transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .screen.is-active, .screen.is-leaving { transition: none; }
}

/* Header without the download button: keep the menu centred on desktop */
@media (min-width: 721px) {
  body:not(.page-404) .nav-inner::after { content: ""; flex: 0 0 44px; }
}

/* Recipe cards link to the recipe on sallys-blog.de */
.rcard-a { display: block; height: 100%; color: inherit; text-decoration: none; border-radius: inherit; }
.rcard-a > img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .6s; }
.rcard:hover .rcard-a > img { transform: scale(1.05); }
.rcard-a:focus-visible { outline: 3px solid var(--pink); outline-offset: -3px; }

/* ---------- App screens: own section (endless strip on desktop, swipe row on phones) ---------- */
.showcase { position: relative; overflow: hidden; padding: 96px 0 88px; background: linear-gradient(180deg, #fbf7f1 0%, var(--cream) 100%); }
.showcase .section-head { margin-bottom: 36px; }
.showcase-viewport {
  overflow: hidden; padding: 28px 0 48px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.showcase-viewport:focus-visible { outline: 3px solid var(--pink); outline-offset: -3px; }
.showcase-track { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; width: max-content; animation: showcase-scroll 80s linear infinite; }
.showcase-viewport:hover .showcase-track, .showcase-viewport:focus-within .showcase-track { animation-play-state: paused; }
@keyframes showcase-scroll { to { transform: translateX(calc(-50% - 14px)); } }
.showcase-item {
  flex: none; width: 240px; border-radius: 26px; overflow: hidden; background: var(--white);
  box-shadow: 0 0 0 1px rgba(19,58,94,.06), 0 18px 40px rgba(19,58,94,.14);
  rotate: var(--tilt, 0deg); translate: 0 var(--lift, 0);
  opacity: 0; scale: .9;
  transition: rotate .45s cubic-bezier(.2,.8,.2,1), translate .45s cubic-bezier(.2,.8,.2,1), scale .6s cubic-bezier(.2,.8,.2,1), opacity .6s ease, box-shadow .45s;
  transition-delay: 0s, 0s, calc(var(--i, 0) * 70ms), calc(var(--i, 0) * 70ms), 0s;
}
.showcase-item:nth-child(odd) { --tilt: -1.6deg; }
.showcase-item:nth-child(even) { --tilt: 1.6deg; --lift: 22px; }
.showcase.is-visible .showcase-item { opacity: 1; scale: 1; }
.showcase-item img { display: block; width: 100%; height: auto; }
.showcase-item { position: relative; }
.showcase-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s ease; }
.showcase-video.is-playing { opacity: 1; }
.showcase-item:hover { --tilt: 0deg; --lift: -14px; scale: 1.04; box-shadow: 0 0 0 1px rgba(19,58,94,.06), 0 30px 60px rgba(19,58,94,.22); transition-delay: 0s; }
.showcase-dots { display: none; }

@media (max-width: 720px) {
  .showcase { padding: 64px 0 56px; }
  .showcase .section-head { margin-bottom: 8px; }
  .showcase-viewport {
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 20px 0 28px;
    -webkit-mask-image: none; mask-image: none;
  }
  .showcase-viewport::-webkit-scrollbar { display: none; }
  .showcase-track { animation: none; gap: 16px; padding-inline: 19vw; }
  .showcase-item { width: 62vw; max-width: 280px; scroll-snap-align: center; --tilt: 0deg !important; --lift: 0 !important; }
  .showcase-item[aria-hidden="true"] { display: none; }
  .showcase-dots { display: flex; justify-content: center; gap: 8px; }
  .showcase-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(19,58,94,.2); transition: width .3s, background .3s; }
  .showcase-dots span.on { width: 22px; border-radius: 4px; background: var(--pink); }
}


@media (prefers-reduced-motion: reduce) {
  .showcase-track { animation: none; }
  .showcase-viewport { overflow-x: auto; }
  .showcase-item { opacity: 1; scale: 1; transition: none; }
  .showcase-item[aria-hidden="true"] { display: none; }
}
