/* Startseite menti.deggendorf.de (front-page.php). Schriften: assets/fonts/fonts.css */
/* Layout: oben eine dunkle Bühne wie im Saal – links Einladung und Zugang, rechts das Handy; Emojis steigen über die Bühne auf.
   Darunter auf hellem Grund der Ablauf in drei Schritten und das Wichtigste zu Datenschutz und Technik. Tokens aus dem Menti-Mockup. */
:root {
  --bg: #eef0f5; --surface: #ffffff; --ink: #141a2e; --muted: #5d6685; --line: #d5d9e4;
  --accent: #2d48d6; --accent-soft: #e3e8ff; --on-accent: #ffffff; --warm: #e0892a;
  --stage: #04050a; --stage-2: #0d1120; --stage-ink: #eceef6; --stage-muted: #9aa2bf; --stage-line: rgba(255, 255, 255, 0.12); --stage-accent: #5d77ff;
  --f-display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --r: 22px; --r-sm: 14px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0d16; --surface: #141828; --ink: #eceef6; --muted: #9aa2bf; --line: #262b3e;
    --accent: #6f86ff; --accent-soft: #1d2550; --on-accent: #070a18; --warm: #f0a04b;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b0d16; --surface: #141828; --ink: #eceef6; --muted: #9aa2bf; --line: #262b3e;
  --accent: #6f86ff; --accent-soft: #1d2550; --on-accent: #070a18; --warm: #f0a04b;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 400 1rem/1.6 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--stage-accent); outline-offset: 3px; border-radius: 6px; }
.shell { max-width: 1200px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 40px); }
.mono { font-family: var(--f-mono); }

/* Bühne */
.stage { position: relative; background: radial-gradient(70rem 40rem at 80% -10%, rgba(93, 119, 255, 0.28), transparent 60%), radial-gradient(40rem 30rem at -10% 110%, rgba(224, 137, 42, 0.16), transparent 60%), var(--stage); color: var(--stage-ink); overflow: hidden; isolation: isolate; }
.floats { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.float { position: absolute; bottom: -60px; font-size: 34px; line-height: 1; will-change: transform, opacity; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35)); }

.top { position: relative; z-index: 2; display: flex; align-items: center; gap: 14px; padding-block: 18px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.crest { width: 22px; height: 27px; flex: none; color: currentColor; --crest-paper: var(--bg); }
/* Echtes Wappen braucht Platz für die Details (Rauten, Mauer, Tor) */
.top .crest { width: 32px; height: 39px; --crest-paper: var(--stage); }
footer .crest { width: 26px; height: 32px; }
@media (max-width: 560px) { .top .crest { width: 28px; height: 34px; } }
.wordmark { font: 700 1.05rem/1 var(--f-display); letter-spacing: -0.01em; }
.brand .sep { width: 1px; height: 22px; background: var(--stage-line); }
.product { font: 700 1.05rem/1 var(--f-display); color: var(--stage-accent); }
.toplink { font-size: 0.88rem; color: var(--stage-muted); text-decoration: none; }
.toplink:hover { color: var(--stage-ink); }

.hero { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(28px, 5vw, 56px) clamp(48px, 7vw, 96px); }
@media (max-width: 900px) { .hero { grid-template-columns: minmax(0, 1fr); } }
.eyebrow { font: 500 0.78rem/1.4 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--stage-accent); }
h1 { font: 800 clamp(2.6rem, 6.2vw, 5rem)/0.98 var(--f-display); letter-spacing: -0.04em; margin: 16px 0 22px; text-wrap: balance; }
h1 em { font-style: normal; background: linear-gradient(100deg, #8ea0ff, #5d77ff 45%, #f0a04b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--stage-muted); max-width: 32em; margin: 0 0 30px; }

.join { border: 1px solid var(--stage-line); background: rgba(255, 255, 255, 0.04); backdrop-filter: blur(10px); border-radius: var(--r); padding: 20px; max-width: 30rem; }
.state { display: flex; align-items: center; gap: 10px; font: 500 0.78rem/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--stage-muted); margin-bottom: 12px; }
.state i { width: 8px; height: 8px; border-radius: 50%; background: var(--stage-muted); box-shadow: 0 0 0 4px rgba(154, 162, 191, 0.18); }
.join h2 { font: 700 1.25rem/1.25 var(--f-display); margin: 0 0 6px; letter-spacing: -0.01em; }
.join p { margin: 0 0 16px; color: var(--stage-muted); font-size: 0.95rem; }
.joinform { display: flex; gap: 8px; flex-wrap: wrap; }
.joinform label { flex: 1 1 180px; min-width: 0; display: grid; gap: 6px; font-size: 0.8rem; color: var(--stage-muted); }
.joinform input { font: 500 1.05rem/1 var(--f-mono); letter-spacing: 0.06em; text-transform: lowercase; color: var(--stage-ink); background: rgba(0, 0, 0, 0.35); border: 1px solid var(--stage-line); border-radius: 12px; padding: 13px 14px; width: 100%; }
.joinform input::placeholder { color: rgba(154, 162, 191, 0.6); }
.joinform button { align-self: end; font: 600 1rem/1 var(--f-body); color: #fff; background: var(--stage-accent); border: 0; border-radius: 12px; padding: 14px 18px; cursor: pointer; transition: transform .15s ease, filter .15s ease; }
.joinform button:hover { filter: brightness(1.1); transform: translateY(-1px); }
.joinmsg { margin: 12px 0 0; font-size: 0.9rem; color: var(--stage-ink); min-height: 1.4em; }
.joinmsg code { font-family: var(--f-mono); background: rgba(255, 255, 255, 0.08); padding: 2px 6px; border-radius: 6px; }

/* Handy */
.phone-wrap { display: grid; place-items: center; }
.phone { width: min(320px, 100%); aspect-ratio: 9 / 18; border-radius: 44px; padding: 12px; background: linear-gradient(160deg, #23283d, #0b0e19); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 50px 120px -40px rgba(93, 119, 255, 0.55); position: relative; }
.screen { height: 100%; border-radius: 34px; background: #f6f7fb; color: #141a2e; overflow: hidden; display: flex; flex-direction: column; }
.notch { height: 26px; display: flex; justify-content: center; align-items: center; }
.notch span { width: 84px; height: 22px; border-radius: 0 0 14px 14px; background: #0b0e19; margin-top: -4px; }
.app-head { display: flex; align-items: center; gap: 8px; padding: 6px 16px 10px; font: 600 0.72rem/1 var(--f-body); color: #465071; }
.app-head .live { color: #d7263d; display: inline-flex; align-items: center; gap: 5px; font-family: var(--f-mono); letter-spacing: 0.06em; }
.app-head .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #d7263d; animation: blink 1.6s infinite; }
.app-head .ex { margin-left: auto; font: 500 0.6rem/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: #8a91aa; border: 1px solid #d5d9e4; border-radius: 999px; padding: 3px 7px; }
@keyframes blink { 50% { opacity: .3; } }
.slide { margin: 0 12px; border-radius: 14px; background: linear-gradient(150deg, #1d2b6b, #2d48d6); color: #fff; padding: 14px; flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: space-between; }
.slide small { font: 500 0.6rem/1 var(--f-mono); letter-spacing: 0.08em; opacity: 0.75; text-transform: uppercase; }
.slide b { font: 800 1.25rem/1.1 var(--f-display); letter-spacing: -0.02em; }
.slide .bar { display: flex; gap: 4px; }
.slide .bar span { height: 3px; flex: 1; border-radius: 2px; background: rgba(255, 255, 255, 0.3); }
.slide .bar span.on { background: #fff; }
.reacts { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; padding: 12px 12px 8px; }
.reacts button { font-size: 1.35rem; line-height: 1; padding: 9px 0; border-radius: 12px; border: 1px solid #e2e5ee; background: #fff; cursor: pointer; transition: transform .12s ease; }
.reacts button:active { transform: scale(0.9); }
.ask { margin: 0 12px 14px; display: flex; gap: 6px; }
.ask div { flex: 1; font-size: 0.72rem; color: #8a91aa; border: 1px solid #e2e5ee; background: #fff; border-radius: 12px; padding: 10px 11px; }
.ask span { display: grid; place-items: center; width: 38px; border-radius: 12px; background: #2d48d6; color: #fff; font-weight: 700; }

/* Heller Teil */
.block { padding-block: clamp(48px, 7vw, 88px); }
.block + .block { border-top: 1px solid var(--line); }
h2.big { font: 800 clamp(1.8rem, 3.6vw, 2.8rem)/1.05 var(--f-display); letter-spacing: -0.035em; margin: 10px 0 14px; text-wrap: balance; }
.label { font: 500 0.78rem/1.4 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.sub { color: var(--muted); max-width: 38em; margin: 0 0 32px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; gap: 10px; align-content: start; }
.steps .n { font: 800 2.4rem/1 var(--f-display); letter-spacing: -0.04em; color: var(--accent); }
.steps h3 { font: 700 1.15rem/1.25 var(--f-display); margin: 0; }
.steps p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
@media (max-width: 760px) { .facts { grid-template-columns: minmax(0, 1fr); } }
.fact { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding-block: 18px; border-top: 1px solid var(--line); }
.fact .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.fact .ic svg { width: 20px; height: 20px; }
.fact h3 { font: 700 1.02rem/1.3 var(--f-display); margin: 0 0 4px; }
.fact p { margin: 0; color: var(--muted); font-size: 0.95rem; }

footer { border-top: 1px solid var(--line); padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px)); color: var(--muted); font-size: 0.88rem; }
.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.foot .brand { margin-right: auto; color: var(--ink); }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot a { text-decoration: none; }
.foot nav a:hover { color: var(--ink); }

.rise { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.rise.d2 { animation-delay: .08s; } .rise.d3 { animation-delay: .16s; }
@keyframes rise { from { opacity: .001; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .rise, .app-head .live::before { animation: none; }
}

/* Impressum und Datenschutz (templates/legal-page.php) */
.stage--slim { padding-bottom: 4px; }
.legal { max-width: 78ch; padding-block: clamp(36px, 6vw, 72px) 64px; }
.legal .eyebrow { color: var(--muted); }
.legal h1 { font-family: var(--f-display); font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.1; margin: 14px 0 28px; letter-spacing: -0.02em; }
.legal-body-text { color: var(--ink); font-size: 1.02rem; line-height: 1.7; }
.legal-body-text h2 { font-family: var(--f-display); font-size: 1.2rem; line-height: 1.3; margin: 34px 0 10px; }
.legal-body-text h3 { font-size: 1.05rem; margin: 24px 0 8px; }
.legal-body-text p, .legal-body-text ul, .legal-body-text ol { margin: 0 0 14px; }
.legal-body-text a, .legal-back a { color: var(--accent); text-underline-offset: 3px; }
.legal-back { margin-top: 40px; }
