/* memorvox.de: Farben und Schrift aus dem Markenpitch (Mobile-Etage, November 2026).
   Überschriften und Wortmarke in Rubik 500, Fließtext in Inter. Beide OFL, selbst gehostet. */

@font-face { font-family: Rubik; font-style: normal; font-weight: 500; font-display: swap;
  src: url(fonts/rubik-latin-500-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Rubik; font-style: normal; font-weight: 500; font-display: swap;
  src: url(fonts/rubik-latin-ext-500-normal.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

@font-face { font-family: Inter; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/inter-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Inter; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/inter-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Inter; font-style: normal; font-weight: 500; font-display: swap;
  src: url(fonts/inter-latin-500-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Inter; font-style: normal; font-weight: 500; font-display: swap;
  src: url(fonts/inter-latin-ext-500-normal.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Inter; font-style: normal; font-weight: 600; font-display: swap;
  src: url(fonts/inter-latin-600-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Inter; font-style: normal; font-weight: 600; font-display: swap;
  src: url(fonts/inter-latin-ext-600-normal.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --cream: #fbf7f0;      /* Fläche */
  --paper: #fffdf8;      /* Karten */
  --sand: #f5ead8;       /* Ohren, ruhige Flächen */
  --navy: #13233d;       /* Text, dunkle Flächen */
  --navy-2: #1c3050;
  --fox: #cf6325;        /* Fuchs, nur Fläche und Grafik (3,6:1 auf Creme) */
  --rust: #be4c18;       /* Knöpfe mit weißer Schrift (5,0:1) */
  --rust-ink: #a8441a;   /* orange Text auf Creme (5,6:1) */
  --salmon: #d28356;     /* Akzent auf Navy (5,3:1) */
  --muted: #5b6475;      /* Nebentext (5,6:1 auf Creme) */
  --line: #e7dcc8;
  --on-navy-muted: #b9c2d0;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-head: Rubik, Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --radius: 18px;
  --shadow: 0 1px 2px rgb(19 35 61 / 0.06), 0 12px 32px -12px rgb(19 35 61 / 0.18);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--navy);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
/* Rubik liegt nur in 500 vor: höhere Gewichte würde der Browser künstlich fetten. */
h1, h2, h3 { font-family: var(--font-head); font-weight: 500; margin: 0; text-wrap: balance; }
p { margin: 0; }
p, li, dd { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--navy); color: var(--cream);
  padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .wrap { padding: 0 40px; } }

/* Kopf */
.top { position: sticky; top: 0; z-index: 20; background: rgb(251 247 240 / 0.88);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.is-scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-head);
  font-weight: 500; font-size: 21px; letter-spacing: -0.01em; }
.brand img { width: 40px; height: auto; }
.nav { display: none; gap: 26px; margin-left: auto; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--navy); }
.top .btn { margin-left: auto; }
@media (min-width: 900px) { .nav { display: flex; } .top .btn { margin-left: 8px; } }

/* Knöpfe */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
  padding: 0 22px; border-radius: 999px; font: 600 16px/1 var(--font-body); text-decoration: none;
  border: 1.5px solid var(--navy); color: var(--navy); background: transparent;
  transition: background-color .15s, color .15s, transform .15s; }
.btn:hover { background: var(--navy); color: var(--cream); }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--rust); border-color: var(--rust); color: #fff; }
.btn-primary:hover { background: var(--rust-ink); border-color: var(--rust-ink); color: #fff; }
.btn-quiet { border-color: transparent; text-decoration: underline; text-underline-offset: 4px; padding: 0 8px; }
.btn-quiet:hover { background: transparent; color: var(--rust-ink); }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 15px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* Bausteine */
.label { display: inline-block; font-size: 14px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--rust-ink); }
.h2 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.1; letter-spacing: -0.025em; margin-top: 12px; }
.section { padding: 72px 0; }
@media (min-width: 1024px) { .section { padding: 112px 0; } }

/* Hero */
.hero { padding: 40px 0 64px; }
.hero .wrap { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) {
  .hero { padding: 72px 0 112px; }
  .hero .wrap { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 56px; }
}
.claim { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--rust-ink); font-size: 16px; }
.claim::before { content: ""; width: 28px; height: 2px; background: var(--fox); border-radius: 2px; }
.hero h1 { margin-top: 18px; font-size: clamp(36px, 5.6vw, 62px); line-height: 1.04; letter-spacing: -0.03em; }
.hero .lead { margin-top: 22px; font-size: 19px; line-height: 1.55; color: #2c3a52; max-width: 36em; }
.hero .actions { margin-top: 32px; }
.hero .note { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* Ablauf im Telefon (Animation in main.js, Endbild ohne JS und bei reduzierter Bewegung) */
.stage { position: relative; display: grid; justify-items: center; padding: 8px 0; }
.stage::before { content: ""; position: absolute; inset: 6% 2% 10%; border-radius: 48%;
  background: radial-gradient(closest-side, rgb(207 99 37 / 0.16), transparent); }
.phone { position: relative; width: min(300px, 82vw); aspect-ratio: 9 / 18.5; border-radius: 44px;
  background: var(--navy); padding: 11px; box-shadow: 0 30px 60px -24px rgb(19 35 61 / 0.45); }
.screen { height: 100%; border-radius: 34px; background: var(--paper); overflow: hidden;
  display: flex; flex-direction: column; padding: 18px 14px 14px; gap: 10px; }
.rec { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--muted); }
.rec b { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); }
.rec b::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #d8402b; }
.js .stage.is-live .rec b::before { animation: mv-pulse 1.4s ease-in-out infinite; }
.bubble { font-size: 12.5px; line-height: 1.42; padding: 8px 11px; border-radius: 14px; max-width: 88%; }
.bubble small { display: block; font-size: 10.5px; font-weight: 600; color: var(--muted); margin-bottom: 2px; }
.bubble.me { background: var(--sand); align-self: flex-end; border-bottom-right-radius: 4px; }
.bubble.them { background: #edf0f5; align-self: flex-start; border-bottom-left-radius: 4px; }
.consent { align-self: center; font-size: 11px; font-weight: 600; color: #2f6b45; background: #e6f2e9;
  padding: 4px 10px; border-radius: 999px; }
.result { position: absolute; right: -6px; bottom: 9%; width: min(250px, 66vw); background: var(--paper);
  border-radius: 16px; box-shadow: var(--shadow); border: 1px solid var(--line); padding: 14px 16px; font-size: 13px; }
.result h3 { font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--rust-ink); }
.result dl { margin: 8px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; }
.result dt { color: var(--muted); }
.result dd { margin: 0; font-weight: 500; }
.result .task { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); display: flex; gap: 8px; align-items: baseline; }
.result .task::before { content: ""; flex: none; width: 12px; height: 12px; border: 1.5px solid var(--rust); border-radius: 4px; transform: translateY(1px); }
@media (min-width: 1024px) { .result { right: -36px; } }
@media (max-width: 480px) {
  .phone { width: min(256px, 70vw); border-radius: 38px; }
  .screen { border-radius: 29px; }
  .result { right: 0; bottom: 4%; }
}

.js .stage [data-step] { opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; }
.js .stage [data-step].is-on { opacity: 1; transform: none; }
.js .stage .result[data-step] { transform: translate(12px, 12px) scale(0.97); }
.js .stage .result[data-step].is-on { transform: none; }
@keyframes mv-pulse { 50% { opacity: 0.3; } }

/* Problem */
.problem .wrap { display: grid; gap: 28px; }
@media (min-width: 1024px) { .problem .wrap { grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; } }
.problem p { font-size: 19px; color: #2c3a52; }
.problem p + p { margin-top: 18px; }

/* Produkte */
.products { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cards { display: grid; gap: 24px; margin-top: 40px; }
@media (min-width: 960px) { .cards { grid-template-columns: 1.15fr 0.85fr; align-items: start; } }
.card { border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); background: var(--cream); scroll-margin-top: 84px; }
@media (min-width: 768px) { .card { padding: 36px; } }
.card.mobile { background: #fff; box-shadow: var(--shadow); border-color: transparent; }
.card.meet { background: var(--sand); border-color: transparent; }
.card-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.card h3 { font-size: 28px; letter-spacing: -0.02em; }
.formerly { font-size: 14px; color: var(--muted); }
.status { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 600; padding: 4px 11px; border-radius: 999px; }
.mobile .status { background: #e6f2e9; color: #2f6b45; }
.meet .status { background: var(--navy); color: var(--sand); }
.card .tagline { margin-top: 10px; font-family: var(--font-head); font-weight: 500; font-size: 23px; line-height: 1.25; color: var(--rust-ink); text-wrap: balance; }
.card .line { margin-top: 16px; font-size: 19px; font-weight: 500; }
.card .intro { margin-top: 18px; color: var(--muted); font-size: 16px; }
.card ul { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.card li { position: relative; padding-left: 22px; }
.card li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 9px; height: 9px; border-radius: 50%; background: var(--fox); }
.card .outro { margin-top: 18px; color: #2c3a52; }
.card .note { margin-top: 16px; font-size: 15px; color: var(--muted); }
.card .actions { margin-top: 28px; }

/* Ablauf */
.steps { list-style: none; margin: 44px 0 0; padding: 0; display: grid; gap: 28px; counter-reset: step; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; } }
.steps li { counter-increment: step; border-top: 2px solid var(--navy); padding-top: 18px; }
.steps li::before { content: counter(step, decimal-leading-zero); font-weight: 600; color: var(--rust-ink); font-size: 15px; }
.steps h3 { margin-top: 8px; font-size: 22px; letter-spacing: -0.01em; }
.steps p { margin-top: 8px; color: #2c3a52; font-size: 16px; }

/* Datenschutz */
.privacy { background: var(--navy); color: var(--sand); }
.privacy .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .privacy .wrap { grid-template-columns: 1.3fr 0.7fr; gap: 72px; } }
.privacy .label { color: var(--salmon); }
.privacy p { margin-top: 18px; color: #dfe4ec; }
.privacy .h2 + p { margin-top: 24px; }
.privacy a { color: var(--sand); text-underline-offset: 4px; }
.privacy .more { display: inline-block; margin-top: 26px; font-weight: 600; }
.privacy figure { margin: 0; justify-self: center; width: min(360px, 70vw); }

/* Grenzen */
.limits { padding-bottom: 0; }
.limits .box { border: 1.5px dashed #d6c6ab; border-radius: var(--radius); padding: 28px; display: grid; gap: 18px; }
@media (min-width: 900px) { .limits .box { grid-template-columns: 0.8fr 1.2fr; padding: 36px; gap: 40px; } }
.limits h2 { font-size: 26px; letter-spacing: -0.02em; }
.limits ul { margin: 0; padding-left: 20px; display: grid; gap: 10px; color: #2c3a52; }

/* Fakten und Fragen */
.qa .wrap { display: grid; gap: 56px; }
@media (min-width: 1024px) { .qa .wrap { grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: start; } }
.facts { margin: 24px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 8.5em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; color: #2c3a52; }
.faq { margin-top: 24px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 17px; font-weight: 600; font-family: var(--font-body); }
.faq summary::after { content: "+"; flex: none; font-size: 22px; line-height: 1; color: var(--rust-ink); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: #2c3a52; max-width: 40em; }

/* Abschluss */
.closing .box { background: var(--sand); border-radius: 28px; padding: 40px 24px; text-align: center; }
@media (min-width: 768px) { .closing .box { padding: 64px 48px; } }
.closing .box img { width: 96px; margin: 0 auto 18px; }
.closing h2 { max-width: 18em; margin: 0 auto; }
.closing p { max-width: 34em; margin: 18px auto 0; color: #2c3a52; }
.closing .actions { justify-content: center; margin-top: 28px; }
.closing .contact { margin-top: 18px; font-size: 15px; color: var(--muted); }
.closing .contact a { color: var(--navy); }

/* Fuß */
.foot { margin-top: 72px; background: var(--navy); color: var(--on-navy-muted); font-size: 15px; padding: 40px 0; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.foot a { color: var(--sand); text-underline-offset: 4px; }
.foot .brand { color: var(--sand); font-size: 18px; }
.foot .brand img { width: 32px; }

/* Rechtstexte */
.legal { padding: 48px 0 24px; min-height: calc(100vh - 360px); }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(32px, 5vw, 44px); line-height: 1.12; letter-spacing: -0.025em; }
.legal h2 { font-size: 21px; margin-top: 36px; }
.legal p, .legal li { margin-top: 12px; color: #2c3a52; }
.legal a { color: var(--rust-ink); text-underline-offset: 3px; }

/* 404: „4 Fuchs 4". Ziffern steigen auf, Fuchs springt rein, Wellen pulsen (hört hin),
   Augen suchen links und rechts, Kopf legt sich schief, Blinzeln. Zyklus 7 s. */
.nf { text-align: center; padding-top: 32px; }
.nf h1, .nf p { animation: nf-rise .6s cubic-bezier(.2,.8,.2,1) .7s both; }
.nf p { animation-delay: .8s; }
.nf-art { display: flex; align-items: center; justify-content: center; gap: clamp(2px, 1.5vw, 14px); margin: 0 auto 28px; }
.nf-digit { font: 500 clamp(104px, 24vw, 210px)/.9 var(--font-head); letter-spacing: -.04em; color: var(--navy);
  animation: nf-rise .6s cubic-bezier(.2,.8,.2,1) both; }
.nf-digit:last-child { animation-delay: .12s; }
.nf-fox { width: clamp(150px, 34vw, 300px); height: auto; overflow: visible; }
/* Nur animierte Teile: fill-box verschöbe sonst die gespiegelten Hälften (transform-Attribut). */
.nf-pop, .nf-tilt, .nf-look, .nf-blink, .nf-wave { transform-box: fill-box; }
.nf-pop { transform-origin: 50% 60%; animation: nf-pop .7s cubic-bezier(.34,1.56,.64,1) .25s both; }
.nf-tilt { transform-origin: 50% 100%; animation: nf-tilt 7s ease-in-out 1.4s infinite; }
.nf-look { animation: nf-look 7s ease-in-out 1.4s infinite; }
.nf-blink { transform-origin: 50% 50%; animation: nf-blink 7s 1.4s infinite; }
.nf-wave { opacity: .2; animation: nf-ping 3.2s ease-out .9s infinite; }
.nf-wl { transform-origin: 100% 50%; }
.nf-wr { transform-origin: 0% 50%; }
.nf-w2 { animation-delay: 1.08s; }
@keyframes nf-rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes nf-pop { from { opacity: 0; transform: translateY(40px) scale(.6); } }
@keyframes nf-ping { 0% { opacity: .2; transform: scale(.88); } 18% { opacity: 1; transform: scale(1.05); } 60%, 100% { opacity: .2; transform: scale(1); } }
@keyframes nf-look { 0%, 6% { transform: none; } 12%, 24% { transform: translateX(-26px); } 32%, 46% { transform: translateX(26px); } 54%, 100% { transform: none; } }
@keyframes nf-tilt { 0%, 54% { transform: none; } 62%, 82% { transform: rotate(-7deg); } 90%, 100% { transform: none; } }
@keyframes nf-blink { 0%, 50%, 54%, 100% { transform: none; } 52% { transform: scaleY(.1); } }

/* Dezentes Einblenden beim Scrollen, nur mit JS und ohne reduzierte Bewegung */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .stage [data-step] { opacity: 1 !important; transform: none !important; transition: none; }
  .js .stage.is-live .rec b::before { animation: none; }
  .nf *, .nf-fox * { animation: none !important; }
  .nf-wave { opacity: 1; }
}
