/* Mary's Backwerk
   Tokens aus der Visitenkarte: Pink-Aquarell, Gold-Akzent, Script-Wortmarke.
   Formen: Buttons und Chips = Pille, Bilder und Flächen = 20px, Eingabefelder = 12px. */

@font-face {
  font-family: "Outfit";
  src: url("fonts/outfit-latin-var.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Great Vibes";
  src: url("fonts/great-vibes-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #fff7fa;
  --surface: #ffffff;
  --tint: #fdecf2;
  --tint-strong: #f9d9e5;
  --pink: #c2185b;        /* Akzent, Buttons: 5.9:1 mit Weiß */
  --pink-hover: #a3124b;
  --pink-soft: #ec6f9f;
  --gold: #c9a050;        /* nur Deko, nie für Text */
  --gold-text: #7c5d1c;   /* Gold für Text, 5.6:1 auf Weiß */
  --gold-tint: #fbf1dc;
  --ink: #3a2430;
  --ink-2: #66505b;
  --line: #efd3de;
  --error: #b3261e;
  --focus: #c2185b;

  --r-img: 20px;
  --r-field: 12px;
  --shadow: 0 1px 2px rgb(122 30 66 / .06), 0 12px 32px -12px rgb(122 30 66 / .18);

  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --container: 1180px;
  --font: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Great Vibes", "Brush Script MT", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--pink); text-underline-offset: 3px; }
a:hover { color: var(--pink-hover); }
h1, h2, h3 { line-height: 1.12; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

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

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.sr-only, .hp {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 999px;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  --btn-h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: var(--btn-h); padding: 0 1.6rem;
  border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1 var(--font); letter-spacing: .005em; white-space: nowrap;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .16s var(--ease-out), box-shadow .2s ease;
}
.btn:active { transform: scale(.97); }
.btn .ph { font-size: 1.15em; transition: transform .2s var(--ease-out); }
.btn-primary { background: var(--pink); color: #fff; box-shadow: 0 6px 18px -8px rgb(194 24 91 / .55); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-sm { --btn-h: 42px; padding: 0 1.1rem; font-size: .95rem; }
.btn-lg { --btn-h: 58px; padding: 0 2rem; font-size: 1.05rem; }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--pink-hover); color: #fff; }
  .btn-primary:hover .ph-arrow-right, .btn-primary:hover .ph-paper-plane-tilt { transform: translateX(3px); }
  .btn-ghost:hover { border-color: var(--pink-soft); color: var(--pink-hover); background: rgb(255 255 255 / .6); }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 247 250 / .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgb(239 211 222 / .7);
}
@media (prefers-reduced-transparency: reduce) { .site-header { background: var(--bg); backdrop-filter: none; } }
.header-inner { display: flex; align-items: center; gap: 2rem; height: 68px; }
.wordmark {
  font-family: var(--script); font-size: 2rem; line-height: 1; color: var(--ink);
  text-decoration: none; white-space: nowrap; padding-top: .15em;
}
.wordmark:hover { color: var(--pink); }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: .5rem .85rem; border-radius: 999px;
  color: var(--ink-2); font-weight: 500; text-decoration: none; transition: color .2s ease, background-color .2s ease;
}
.main-nav a:hover { color: var(--ink); background: var(--tint); }
@media (max-width: 820px) {
  .main-nav { display: none; }
  .header-inner { justify-content: space-between; height: 62px; }
  .wordmark { font-size: 1.75rem; }
}

/* ---------- Aquarell-Flächen ---------- */
.wash { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.wash::before, .wash::after { content: ""; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .7; }
.wash-hero::before { width: 620px; height: 520px; right: -120px; top: -140px; background: radial-gradient(closest-side, #f7b6cf, transparent); }
.wash-hero::after { width: 520px; height: 420px; left: -180px; bottom: -160px; background: radial-gradient(closest-side, #fbd3e1, transparent); }
.wash-about::before { width: 700px; height: 500px; left: -10%; top: -30%; background: radial-gradient(closest-side, #f4a9c6, transparent); opacity: .55; }
.wash-about::after { width: 420px; height: 360px; right: -6%; bottom: -30%; background: radial-gradient(closest-side, #f6deb0, transparent); opacity: .6; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3.5rem, 7vw, 6rem); }
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(2rem, 5vw, 5rem);
}
.hero h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.4rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.04;
  max-width: 12ch;
}
.lead { margin-top: 1.4rem; font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.2rem; }

.hero-visual { position: relative; justify-self: end; width: min(100%, 460px); perspective: 1200px; }
.hero-stage { transform-style: preserve-3d; will-change: transform; }
.print { position: relative; border-radius: var(--r-img); overflow: hidden; box-shadow: var(--shadow); }
.hero-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 40%; }
/* Druckkopf: feine Linie, die beim Druck-Reveal über das Bild läuft */
.print-head {
  position: absolute; left: -2%; right: -2%; top: 0; height: 3px; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent, var(--gold) 18%, #fff6df 50%, var(--pink-soft) 82%, transparent);
  box-shadow: 0 2px 10px rgb(201 160 80 / .55), 0 -6px 18px rgb(255 255 255 / .6);
}
.hero-mary-wrap {
  position: absolute; left: -18%; bottom: -9%; width: 46%;
  will-change: transform;
}
.hero-mary { width: 100%; border-radius: 50%; filter: drop-shadow(0 14px 24px rgb(122 30 66 / .22)); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; width: min(82%, 420px); margin-top: 1rem; }
  .hero-mary-wrap { left: -12%; width: 42%; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-tint { background: var(--tint); }
.section-title { font-size: clamp(1.9rem, 3.4vw, 2.75rem); font-weight: 600; letter-spacing: -.02em; }
.section-lead { margin-top: 1rem; color: var(--ink-2); max-width: 58ch; font-size: 1.1rem; }

/* ---------- Bento ---------- */
.bento {
  margin-top: 2.75rem;
  display: grid; gap: 1rem;
  grid-template-columns: 1.25fr 1fr 1fr;
  grid-template-areas: "a b c" "a d e";
}
.tile {
  position: relative; overflow: hidden; border-radius: var(--r-img);
  background: var(--surface); border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.tile img { width: 100%; object-fit: cover; flex: 1 1 auto; min-height: 0; transition: transform .6s var(--ease-out); }
.tile-body { padding: 1.15rem 1.3rem 1.35rem; }
.tile h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; }
.tile p { margin-top: .4rem; color: var(--ink-2); font-size: .98rem; line-height: 1.55; }
.tile-a { grid-area: a; }
.tile-a img { aspect-ratio: 4 / 5; }
.tile-b { grid-area: b; }
.tile-b img { aspect-ratio: 16 / 10; object-position: center 30%; }
.tile-d { grid-area: d; }
.tile-d img { aspect-ratio: 16 / 10; }
.tile-c { grid-area: c; }
.tile-e { grid-area: e; }
.tile-tint, .tile-gold { padding: 1.6rem 1.4rem; justify-content: flex-end; border: 0; }
.tile-tint { background: linear-gradient(160deg, #f8c6d9 0%, #fbe1ea 70%); }
.tile-gold { background: linear-gradient(160deg, #f5e2b8 0%, var(--gold-tint) 75%); }
.tile-icon {
  font-size: 1.6rem; color: var(--pink); margin-bottom: auto;
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: rgb(255 255 255 / .7);
}
.tile-gold .tile-icon { color: var(--gold-text); }
.tile-tint p, .tile-gold p { color: var(--ink); opacity: .85; }
.tile-tint h3, .tile-gold h3 { margin-top: 2.5rem; }
@media (hover: hover) and (pointer: fine) {
  .tile:hover img { transform: scale(1.03); }
}
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "a a" "b d" "c e"; }
  .tile-a img { aspect-ratio: 16 / 11; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; grid-template-areas: "a" "b" "c" "d" "e"; }
}

/* ---------- Ablauf ---------- */
.steps {
  list-style: none; margin: 3rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem;
  position: relative;
}
.steps::before {
  content: ""; position: absolute; top: 28px; left: 28px; right: 16%;
  border-top: 2px dashed var(--gold); opacity: .55;
}
.step { position: relative; }
.step-icon {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); color: var(--pink); font-size: 1.5rem;
  box-shadow: 0 0 0 6px var(--tint), 0 0 0 7px rgb(201 160 80 / .45);
  position: relative;
}
.step h3 { margin-top: 1.4rem; font-size: 1.3rem; font-weight: 600; }
.step p { margin-top: .5rem; color: var(--ink-2); max-width: 32ch; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 2rem; }
  .steps::before { top: 28px; bottom: 28px; left: 27px; right: auto; border-top: 0; border-left: 2px dashed var(--gold); }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 1.25rem; }
  .step-icon { grid-row: span 2; }
  .step h3 { margin-top: .7rem; }
}

/* ---------- Material ---------- */
.materials { margin-top: 2.75rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.material { border-radius: var(--r-img); padding: clamp(1.6rem, 3vw, 2.4rem); }
.material h3 { font-size: 1.55rem; font-weight: 600; letter-spacing: -.01em; }
.material > p { margin-top: .6rem; color: var(--ink-2); max-width: 40ch; }
.material-sugar { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.material-wafer { background: var(--gold-tint); }
.checks { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .55rem; }
.checks li { display: flex; gap: .65rem; align-items: baseline; }
.checks .ph { color: var(--pink); flex: none; transform: translateY(2px); }
.material-wafer .checks .ph { color: var(--gold-text); }
.formats { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.formats span {
  padding: .55rem 1.05rem; border-radius: 999px; background: var(--tint);
  color: var(--ink-2); font-size: .95rem;
}
.formats strong { color: var(--ink); font-weight: 600; margin-right: .3rem; }
@media (max-width: 760px) { .materials { grid-template-columns: 1fr; } }

/* ---------- Über Mary ---------- */
.about { position: relative; overflow: hidden; padding: clamp(4rem, 8vw, 6.5rem) 0; background: #fbe3ec; }
.about-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(220px, 380px) 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about-portrait { width: 100%; border-radius: 50%; filter: drop-shadow(0 18px 30px rgb(122 30 66 / .22)); }
.about-copy h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 600; letter-spacing: -.02em; }
.about-copy p { margin-top: 1rem; font-size: 1.15rem; max-width: 52ch; }
.about-copy .signature { font-family: var(--script); font-size: 3.4rem; color: var(--pink); line-height: 1.1; margin-top: 1.2rem; padding-bottom: .15em; }
@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; text-align: left; }
  .about-portrait { width: min(70%, 300px); }
}

/* ---------- Anfrage ---------- */
.request-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.request-intro { position: sticky; top: 104px; }
.request-intro > p { margin-top: 1rem; color: var(--ink-2); max-width: 42ch; }
.request-notes { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
.request-notes li { display: flex; gap: .8rem; align-items: flex-start; color: var(--ink-2); font-size: .98rem; }
.request-notes .ph {
  flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--tint); color: var(--pink); font-size: 1.1rem;
}
.request-notes span { padding-top: .35rem; }
.request-notes a { word-break: break-all; }
@media (max-width: 900px) {
  .request-grid { grid-template-columns: 1fr; }
  .request-intro { position: static; }
}

.request-form {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-img);
  padding: clamp(1.4rem, 3.5vw, 2.5rem); box-shadow: var(--shadow);
}
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset + fieldset { margin-top: 2rem; padding-top: 2rem; box-shadow: inset 0 1px 0 var(--line); }
legend { font-size: 1.2rem; font-weight: 600; padding: 0; margin-bottom: 1.1rem; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 600px) { .row-2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: .45rem; margin-bottom: 1.2rem; align-content: start; }
.field label, .field .label { font-weight: 500; font-size: .98rem; }
.opt { font-weight: 400; color: var(--ink-2); font-size: .88rem; margin-left: .25rem; }
.hint { font-size: .88rem; color: var(--ink-2); }
.error { font-size: .9rem; color: var(--error); display: flex; gap: .4rem; align-items: center; font-weight: 500; }
.error[hidden] { display: none; }
.error::before { content: "\e4e2"; font-family: "Phosphor"; font-weight: normal; }

input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea {
  width: 100%; min-height: 50px; padding: .75rem .95rem;
  font: 400 1rem/1.4 var(--font); color: var(--ink);
  background: #fffdfe; border: 1.5px solid #e2c3cf; border-radius: var(--r-field);
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
  appearance: none; -webkit-appearance: none;
}
textarea { resize: vertical; min-height: 130px; }
input::placeholder, textarea::placeholder { color: #806a75; }
input:hover, select:hover, textarea:hover { border-color: #d29db2; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 4px rgb(194 24 91 / .14); background: #fff; }
[aria-invalid="true"] { border-color: var(--error) !important; }
[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgb(179 38 30 / .14) !important; }
.select-wrap { position: relative; }
.select-wrap select { padding-right: 2.6rem; cursor: pointer; }
.select-wrap .ph { position: absolute; right: .95rem; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--ink-2); }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem;
  border-radius: 999px; border: 1.5px solid #e2c3cf; background: #fffdfe;
  font-weight: 500; font-size: .97rem; color: var(--ink);
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .16s var(--ease-out);
}
.chip:hover span { border-color: #d29db2; }
.chip:active span { transform: scale(.97); }
.chip input:checked + span { background: var(--pink); border-color: var(--pink); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.chips.is-invalid span { border-color: var(--error); }

.dropzone {
  position: relative; border: 2px dashed #e2b3c6; border-radius: var(--r-img);
  background: var(--tint); transition: border-color .2s ease, background-color .2s ease;
}
.dropzone input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dropzone-inner { display: grid; justify-items: center; gap: .4rem; padding: 1.8rem 1rem; text-align: center; color: var(--ink-2); }
.dropzone-inner .ph { font-size: 2rem; color: var(--pink); transition: transform .25s var(--ease-out); }
.dropzone-inner strong { color: var(--pink); font-weight: 600; }
.dropzone:hover, .dropzone.is-over { border-color: var(--pink); background: #fbdbe7; }
.dropzone.is-over .dropzone-inner .ph { transform: translateY(-4px); }
.dropzone:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.dropzone.is-full { display: none; }

.previews { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.previews:empty { display: none; }
.preview {
  position: relative; border-radius: var(--r-field); overflow: hidden; background: var(--tint);
  aspect-ratio: 1; animation: pop-in .28s var(--ease-out);
}
.preview img { width: 100%; height: 100%; object-fit: cover; }
.preview.is-busy img { opacity: .5; }
.preview .meta {
  position: absolute; left: 0; right: 0; bottom: 0; padding: .9rem .55rem .45rem;
  background: linear-gradient(transparent, rgb(58 36 48 / .72)); color: #fff; font-size: .75rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.preview button {
  position: absolute; top: .4rem; right: .4rem; width: 32px; height: 32px; border-radius: 50%;
  border: 0; background: rgb(255 255 255 / .92); color: var(--ink); cursor: pointer;
  display: grid; place-items: center; font-size: 1rem;
  transition: transform .16s var(--ease-out), background-color .15s ease;
}
.preview button::after { content: ""; position: absolute; inset: -6px; }
.preview button:hover { background: #fff; color: var(--error); }
.preview button:active { transform: scale(.9); }
@keyframes pop-in { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }

.consent { margin-top: .4rem; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: .8rem; align-items: start; font-weight: 400 !important; font-size: .95rem !important; color: var(--ink-2); cursor: pointer; }
.check input {
  appearance: none; -webkit-appearance: none; width: 24px; height: 24px; margin: 0; margin-top: 1px;
  border: 1.5px solid #d29db2; border-radius: 7px; background: #fffdfe; cursor: pointer;
  display: grid; place-items: center; transition: background-color .15s ease, border-color .15s ease;
}
.check input::after { content: "\e182"; font-family: "Phosphor"; color: #fff; font-size: 15px; transform: scale(0); transition: transform .18s var(--ease-out); }
.check input:checked { background: var(--pink); border-color: var(--pink); }
.check input:checked::after { transform: scale(1); }

.form-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; margin-top: 1.6rem; }
.form-status { font-size: .95rem; color: var(--ink-2); }
.form-status.is-error { color: var(--error); font-weight: 500; }
.btn[aria-busy="true"] { pointer-events: none; opacity: .85; }
.btn[aria-busy="true"] .ph { animation: fly 1s var(--ease-out) infinite; }
@keyframes fly { 0% { transform: translate(0, 0); opacity: 1; } 60% { transform: translate(10px, -8px); opacity: 0; } 61% { transform: translate(-6px, 6px); opacity: 0; } 100% { transform: translate(0, 0); opacity: 1; } }
@media (max-width: 480px) { .form-footer .btn { width: 100%; } }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; }
.faq { margin-top: 2.25rem; display: grid; gap: .75rem; }
.faq details { background: var(--surface); border-radius: var(--r-img); border: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.15rem 1.4rem; font-weight: 600; font-size: 1.08rem; border-radius: var(--r-img);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ph {
  flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--tint); color: var(--pink); transition: transform .25s var(--ease-out), background-color .2s ease;
}
.faq details[open] summary .ph { transform: rotate(45deg); background: var(--pink); color: #fff; }
@media (hover: hover) and (pointer: fine) { .faq summary:hover .ph { background: var(--tint-strong); } .faq details[open] summary:hover .ph { background: var(--pink-hover); } }
.faq-body { padding: 0 1.4rem 1.3rem; color: var(--ink-2); max-width: 68ch; }
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content { height: 0; overflow: clip; transition: height .3s var(--ease-out), content-visibility .3s allow-discrete; }
  .faq details[open]::details-content { height: auto; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #f6e3ea; padding: 3.5rem 0 1.5rem; }
.site-footer .wordmark { color: #fff; font-size: 2.3rem; }
.site-footer .wordmark:hover { color: #f9c6da; }
.site-footer p { color: #d9bfca; margin-top: .4rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; align-items: flex-end; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }
.footer-links a { color: #f6e3ea; text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; padding: .3rem 0; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-base { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgb(255 255 255 / .12); font-size: .9rem; }

/* =====================================================================
   MOTION
   Leitidee: "Druck-Reveal". Bilder erscheinen von oben nach unten wie
   frisch aus dem Drucker. Das ist der eine autorisierte Moment (Hero),
   der sich leise in Bento und Upload-Vorschau wiederholt.
   Alles andere ist Feedback: Druck auf Buttons, Statuswechsel, Fehler.
   ===================================================================== */
:root {
  --ease-print: cubic-bezier(.65, 0, .35, 1);    /* gleichmäßiger Druckvorschub */
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  /* Apple-Feder (Dämpfung 0.72, Response 0.5s) als CSS linear(), leichter Überschwinger */
  --spring-bounce: linear(0, 0.022, 0.069, 0.134, 0.211, 0.284, 0.369, 0.454, 0.535, 0.611, 0.681, 0.745, 0.801, 0.845, 0.887, 0.923, 0.953, 0.977, 0.995, 1.01, 1.021, 1.028, 1.033, 1.035, 1.036, 1.036, 1.035, 1.032, 1.03, 1.027, 1.024, 1.021, 1.018, 1.015, 1.013, 1.01, 1.008, 1.006, 1.005, 1.003, 1);
  /* Kritisch gedämpft (Dämpfung 1.0, Response 0.4s), kein Überschwinger */
  --spring-calm: linear(0.001, 0.064, 0.175, 0.309, 0.439, 0.553, 0.644, 0.724, 0.789, 0.836, 0.876, 0.907, 0.93, 0.947, 0.96, 0.971, 0.978, 0.983, 0.988, 0.991, 0.993, 0.995, 0.996, 0.997, 1);
}

/* Browser-Oberflächen im Markenton */
::selection { background: #f6c3d7; color: var(--ink); }
html { accent-color: var(--pink); caret-color: var(--pink); scrollbar-color: #e7b3c8 var(--bg); }

/* Header: Kante erst, wenn Inhalt darunter scrollt */
.top-sentinel { position: absolute; top: 0; left: 0; height: 8px; width: 1px; pointer-events: none; }
.site-header { transition: box-shadow .3s ease, border-color .3s ease, background-color .3s ease; border-bottom-color: transparent; }
.site-header.is-scrolled { border-bottom-color: rgb(239 211 222 / .9); box-shadow: 0 10px 30px -18px rgb(122 30 66 / .35); }

/* Fehler und Status erscheinen weich statt zu springen */
.error:not([hidden]) { animation: msg-in .22s var(--ease-out); }
.form-status:not(:empty) { animation: msg-in .22s var(--ease-out); }
@keyframes msg-in { from { opacity: 0; transform: translateY(-4px); } }

/* Senden-Button: Label wechselt mit Blur statt hart zu tauschen (Emil) */
.btn-label { display: inline-block; transition: filter .2s ease, opacity .2s ease, transform .2s var(--ease-out); }
.btn-label.is-swapping { filter: blur(3px); opacity: 0; transform: translateY(3px); }

/* Dropzone reagiert beim Darüberziehen */
.dropzone { transition: border-color .2s ease, background-color .2s ease, transform .35s var(--spring-calm); }
.dropzone.is-over { transform: scale(1.015); }

/* Upload-Vorschau: das Foto "fällt" auf den Tisch (eigene Bewegung, kein Druck-Reveal) */
.preview { animation: none; }
.preview.is-new { animation: photo-focus .4s var(--ease-out) both; }
@keyframes photo-focus { from { opacity: 0; filter: blur(6px); } }

/* FAQ-Antwort gleitet mit, statt nur aufzuklappen */
.faq details[open] .faq-body { animation: faq-in .3s var(--ease-out); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }

@keyframes print-in { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }

/* ---- Basis für alle (auch bei reduzierter Bewegung): nur Deckkraft, Blur, Masken ---- */
.js .hero-title .w {
  display: inline-block; opacity: 0; filter: blur(8px);
  animation: word-in .7s var(--ease-out) forwards;
  animation-delay: calc(var(--i, 0) * 70ms + 80ms);
}
.js .hero .lead, .js .hero-actions { opacity: 0; animation: fade .7s var(--ease-out) forwards; }
.js .hero .lead { animation-delay: .5s; }
.js .hero-actions { animation-delay: .62s; }
.js .wash-hero::before, .js .wash-hero::after { animation: fade 1.6s var(--ease-out) both; }
.js .wash-hero::after { animation-delay: .25s; }
.js .print-hero img { animation: print-in 1.25s var(--ease-print) .35s both; }
.js .hero-mary-wrap { animation: fade .5s var(--ease-out) 1.45s backwards; }

/* Ideen: Bilder öffnen sich rund wie ein Tortenaufleger, Farbkacheln laufen wie Aquarell aus */
.js [data-reveal="topper"] .tile img { clip-path: circle(0% at 50% 45%); }
.js [data-reveal="topper"].is-visible .tile img { animation: topper-open 1s var(--ease-in-out) both; }
.js [data-reveal="topper"].is-visible .tile-b img { animation-delay: .15s; }
.js [data-reveal="topper"].is-visible .tile-d img { animation-delay: .3s; }
.js [data-reveal="topper"] :is(.tile-tint, .tile-gold) { isolation: isolate; background: #fffafc; }
.js [data-reveal="topper"] :is(.tile-tint, .tile-gold)::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  clip-path: circle(0% at 30px 30px);
}
.js [data-reveal="topper"] .tile-tint::before { background: linear-gradient(160deg, #f8c6d9 0%, #fbe1ea 70%); }
.js [data-reveal="topper"] .tile-gold::before { background: linear-gradient(160deg, #f5e2b8 0%, var(--gold-tint) 75%); }
.js [data-reveal="topper"].is-visible :is(.tile-tint, .tile-gold)::before { animation: watercolor 1.3s var(--ease-out) .2s both; }
.js [data-reveal="topper"].is-visible .tile-gold::before { animation-delay: .45s; }
.js [data-reveal="topper"] .tile-icon { opacity: 0; }
.js [data-reveal="topper"].is-visible .tile-icon { animation: show .5s var(--ease-out) .25s forwards; }
.js [data-reveal="topper"].is-visible .tile-gold .tile-icon { animation-delay: .5s; }
@keyframes topper-open { from { clip-path: circle(0% at 50% 45%); } to { clip-path: circle(80% at 50% 45%); } }
@keyframes watercolor { from { clip-path: circle(0% at 30px 30px); } to { clip-path: circle(160% at 30px 30px); } }

/* Material: zwei Karten treten zum Vergleich an, Häkchen werden abgehakt */
.js [data-reveal="compare"] .material { opacity: 0; }
.js [data-reveal="compare"].is-visible .material { animation: show .6s var(--ease-out) forwards; }
.js [data-reveal="compare"].is-visible .material-wafer { animation-delay: .1s; }
.js [data-reveal="compare"] .checks .ph { opacity: 0; }
.js [data-reveal="compare"].is-visible .checks .ph { animation: show .3s var(--ease-out) forwards; animation-delay: calc(var(--i) * 110ms + 550ms); }

/* Formate: rollen nacheinander herein */
.js [data-reveal="chips"] span { opacity: 0; }
.js [data-reveal="chips"].is-visible span { animation: show .45s var(--ease-out) forwards; animation-delay: calc(var(--i) * 70ms); }

/* Über Mary: Bild wird wie ein Sticker aufgeklebt, die Unterschrift schreibt sich selbst */
.js [data-reveal="sticker"] .about-portrait { opacity: 0; }
.js [data-reveal="sticker"].is-visible .about-portrait { animation: show .6s var(--ease-out) forwards; }
.js [data-reveal="sticker"] .about-copy > :not(.signature) { opacity: 0; }
.js [data-reveal="sticker"].is-visible .about-copy > :not(.signature) { animation: show .6s var(--ease-out) .25s forwards; }
.js [data-reveal="sticker"] .signature { clip-path: inset(-20% 100% -30% -5%); }
.js [data-reveal="sticker"].is-visible .signature { animation: write 1.4s var(--ease-in-out) .9s forwards; }
@keyframes write { to { clip-path: inset(-20% -5% -30% -5%); } }

/* Anfrage: ruhig. Das Formular kommt einmal scharf in den Fokus */
.js [data-reveal="form"] { opacity: 0; filter: blur(6px); }
.js [data-reveal="form"].is-visible { animation: focus-in .7s var(--ease-out) forwards; }
@keyframes focus-in { to { opacity: 1; filter: blur(0); transform: none; } }

/* Fragen: Kaskade */
.js [data-reveal="faq"] details { opacity: 0; }
.js [data-reveal="faq"].is-visible details { animation: show .45s var(--ease-out) forwards; animation-delay: calc(var(--i) * 60ms); }

.js [data-reveal="steps"]::before { opacity: 0; transition: opacity .8s ease .1s; }
.js [data-reveal="steps"].is-visible::before { opacity: .55; }
.js [data-reveal="steps"] .step-icon,
.js [data-reveal="steps"] .step h3,
.js [data-reveal="steps"] .step p { opacity: 0; }
.js [data-reveal="steps"].is-visible .step-icon,
.js [data-reveal="steps"].is-visible .step h3,
.js [data-reveal="steps"].is-visible .step p { animation: show .5s var(--ease-out) forwards; animation-delay: calc(var(--i) * 260ms + 200ms); }

/* ---- Zusätzlich Bewegung, wenn das System sie erlaubt ---- */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-title .w { transform: translateY(.35em); }
  .js .hero .lead, .js .hero-actions { animation-name: fade-up; }
  .js .wash-hero::before, .js .wash-hero::after { animation-name: bloom; }
  .js .print-hero .print-head { animation: head-run 1.25s var(--ease-print) .35s both; }
  /* backwards statt both: danach übernimmt die Maus-Feder das transform */
  .js .hero-mary-wrap { animation: mary-in .6s var(--spring-bounce) 1.45s backwards; }

  .js [data-reveal="steps"]::before { opacity: .55; transform: scaleX(0); transform-origin: left center; transition: transform 1.1s var(--ease-in-out) .1s; }
  .js [data-reveal="steps"].is-visible::before { transform: scaleX(1); }
  .js [data-reveal="steps"] .step-icon { transform: scale(.8); }
  .js [data-reveal="steps"] .step h3, .js [data-reveal="steps"] .step p { transform: translateY(8px); }
  .js [data-reveal="steps"].is-visible .step-icon { animation: pop .55s var(--spring-bounce) forwards; animation-delay: calc(var(--i) * 260ms + 150ms); }
  .js [data-reveal="steps"].is-visible .step h3,
  .js [data-reveal="steps"].is-visible .step p { animation-name: pop; animation-delay: calc(var(--i) * 260ms + 260ms); }
  @media (max-width: 760px) {
    .js [data-reveal="steps"]::before { transform: scaleY(0); transform-origin: center top; }
    .js [data-reveal="steps"].is-visible::before { transform: scaleY(1); }
  }

  /* Ideen: Bild zoomt beim Öffnen leicht zurück */
  .js [data-reveal="topper"].is-visible .tile img { animation-name: topper-open-zoom; }
  .js [data-reveal="topper"].is-visible .tile-icon { animation: icon-spin .7s var(--spring-bounce) .3s forwards; }
  .js [data-reveal="topper"].is-visible .tile-gold .tile-icon { animation-delay: .55s; }

  /* Material: von links und rechts in die Mitte */
  .js [data-reveal="compare"] .material-sugar { transform: translateX(-48px) rotate(-1.5deg); }
  .js [data-reveal="compare"] .material-wafer { transform: translateX(48px) rotate(1.5deg); }
  .js [data-reveal="compare"].is-visible .material { animation: pop .8s var(--ease-out) forwards; }
  .js [data-reveal="compare"].is-visible .material-wafer { animation-delay: .1s; }
  .js [data-reveal="compare"] .checks .ph { transform: scale(.3) rotate(-30deg); }
  .js [data-reveal="compare"].is-visible .checks .ph { animation: tick .45s var(--spring-bounce) forwards; animation-delay: calc(var(--i) * 110ms + 550ms); }

  .js [data-reveal="chips"] span { transform: translateX(-14px); }
  .js [data-reveal="chips"].is-visible span { animation-name: pop; }

  .js [data-reveal="sticker"] .about-portrait { transform: scale(1.14) rotate(-10deg); filter: drop-shadow(0 40px 50px rgb(122 30 66 / .3)); }
  .js [data-reveal="sticker"].is-visible .about-portrait { animation: stick .75s var(--spring-bounce) forwards; }
  .js [data-reveal="sticker"] .about-copy > :not(.signature) { transform: translateY(10px); }
  .js [data-reveal="sticker"].is-visible .about-copy > :not(.signature) { animation-name: pop; }

  .js [data-reveal="form"] { transform: translateY(28px); }

  .js [data-reveal="faq"] details { transform: translateY(14px); }
  .js [data-reveal="faq"].is-visible details { animation-name: pop; }

  /* Upload: Foto fällt leicht schräg auf den Tisch und federt in Position */
  .preview.is-new { animation: photo-drop .55s var(--spring-bounce) both; }
}
@keyframes topper-open-zoom {
  from { clip-path: circle(0% at 50% 45%); transform: scale(1.15); }
  to { clip-path: circle(80% at 50% 45%); transform: scale(1); }
}
@keyframes icon-spin { from { opacity: 0; transform: scale(.5) rotate(-120deg); } to { opacity: 1; transform: none; } }
@keyframes tick { to { opacity: 1; transform: translateY(2px); } }
@keyframes stick { to { opacity: 1; transform: none; filter: drop-shadow(0 18px 30px rgb(122 30 66 / .22)); } }
@keyframes photo-drop {
  from { opacity: 0; transform: scale(1.2) rotate(var(--tilt, 3deg)); filter: blur(4px); }
  60% { opacity: 1; filter: blur(0); }
  to { opacity: 1; transform: none; filter: none; }
}

@keyframes word-in { to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes bloom { from { opacity: 0; transform: scale(.7); } }
@keyframes show { to { opacity: 1; } }
@keyframes head-run {
  0% { opacity: 0; transform: translateY(0); }
  6% { opacity: 1; }
  94% { opacity: 1; }
  100% { opacity: 0; transform: translateY(var(--print-h, 560px)); }
}
@keyframes mary-in { from { opacity: 0; transform: translate(-14px, 18px) scale(.86) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes pop { to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* Reduzierte Bewegung: keine Wege, Federn oder Kippen, aber weiche Überblendungen bleiben (Apple §14) */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .print-head { display: none; }
  .dropzone.is-over { transform: none; }
  .preview.is-new { animation: fade .25s ease both; }
  .btn:active, .chip:active span { transform: none; }
  .error:not([hidden]), .form-status:not(:empty), .faq details[open] .faq-body { animation: fade .2s ease; }
}
