/* MyLo Produktwebsite. Farben und Formen aus der App (Tailwind slate/sky, Inter), keine externen Ressourcen. */

@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-muted: #f1f5f9;
  --card: #ffffff;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --heading: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --primary: #0369a1;
  --primary-hover: #075985;
  --primary-text: #ffffff;
  --accent: #0ea5e9;
  --accent-text: #0369a1;
  --accent-soft: #e0f2fe;
  --accent-softer: #f0f9ff;
  --ring: #0284c7;
  --brand-a: #0ea5e9;
  --grad-a: #0369a1;
  --grad-b: #1d4ed8;
  --grad-c: #4338ca;
  --tick-bg: #0369a1;
  --brand-b: #2563eb;
  --brand-c: #4f46e5;
  --shadow-sm: 0 1px 2px rgb(15 23 42 / 0.06);
  --shadow-md: 0 4px 16px -4px rgb(15 23 42 / 0.10), 0 2px 6px -2px rgb(15 23 42 / 0.06);
  --shadow-xl: 0 30px 60px -20px rgb(15 23 42 / 0.28), 0 18px 36px -18px rgb(15 23 42 / 0.20);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --gutter: 24px;
  --warn-bg: #fffbeb;
  --warn-border: #fcd34d;
  --warn-text: #92400e;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f172a;
    --bg-soft: #0b1222;
    --bg-muted: #1e293b;
    --card: #1e293b;
    --border: #334155;
    --border-strong: #475569;
    --heading: #f8fafc;
    --text: #cbd5e1;
    --muted: #94a3b8;
    --primary: #0369a1;
    --primary-hover: #075985;
    --grad-a: #7dd3fc;
    --grad-b: #93c5fd;
    --grad-c: #a5b4fc;
    --accent: #38bdf8;
    --accent-text: #7dd3fc;
    --accent-soft: rgb(14 165 233 / 0.14);
    --accent-softer: rgb(14 165 233 / 0.08);
    --ring: #38bdf8;
    --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.4);
    --shadow-md: 0 6px 18px -6px rgb(0 0 0 / 0.5);
    --shadow-xl: 0 30px 70px -20px rgb(0 0 0 / 0.7), 0 0 0 1px rgb(148 163 184 / 0.08);
    --warn-bg: rgb(245 158 11 / 0.12);
    --warn-border: rgb(245 158 11 / 0.45);
    --warn-text: #fcd34d;
    color-scheme: dark;
  }
}

*, *::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; } * { transition: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { color: var(--heading); margin: 0; line-height: 1.12; letter-spacing: -0.022em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 1.3rem + 4vw, 4.1rem); letter-spacing: -0.035em; line-height: 1.04; }
h2 { font-size: clamp(1.8rem, 1.25rem + 2.1vw, 2.75rem); letter-spacing: -0.03em; }
h3 { font-size: 1.3rem; letter-spacing: -0.015em; line-height: 1.25; }
p { margin: 0; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); font-size: 0.94rem; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--card); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Vorschau-Hinweis und Platzhalter */
.preview-banner { background: #fbbf24; color: #451a03; font-size: 0.85rem; font-weight: 600; text-align: center; padding: 6px 16px; }
.ph { background: var(--warn-bg); color: var(--warn-text); border: 1px dashed var(--warn-border); border-radius: 6px; padding: 0 6px; font-size: 0.92em; font-weight: 500; }
.draft-note { background: var(--warn-bg); border: 1px solid var(--warn-border); color: var(--warn-text); border-radius: var(--radius); padding: 12px 16px; font-size: 0.92rem; font-weight: 500; margin-bottom: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; font: inherit; font-weight: 600; font-size: 0.95rem; line-height: 1; text-decoration: none; border-radius: 10px; padding: 0.8em 1.15em; border: 1px solid transparent; transition: background-color .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s; white-space: nowrap; min-height: 44px; }
.btn .icon { width: 1.05em; height: 1.05em; }
.btn-sm { font-size: 0.9rem; padding: 0.6em 1em; min-height: 40px; }
.btn-lg { font-size: 1.02rem; padding: 0.95em 1.4em; min-height: 52px; border-radius: 12px; }
.btn-primary { background: var(--primary); color: var(--primary-text); box-shadow: 0 1px 2px rgb(3 105 161 / 0.3), inset 0 1px 0 rgb(255 255 255 / 0.12); }
.btn-primary:hover { background: var(--primary-hover); text-decoration: none; }
.btn-primary:hover .icon { transform: translateX(2px); }
.btn-primary .icon { transition: transform .15s; }
.btn-ghost { background: var(--card); color: var(--heading); border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--muted); text-decoration: none; }
.btn-white { background: #ffffff; color: #0c4a6e; }
.btn-white:hover { background: #f0f9ff; text-decoration: none; }
.btn-outline-white { color: #ffffff; border-color: rgb(255 255 255 / 0.55); }
.btn-outline-white:hover { background: rgb(255 255 255 / 0.1); border-color: #ffffff; text-decoration: none; }
.link-quiet { color: var(--heading); text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 10px 6px; }
.link-quiet:hover { color: var(--accent-text); }
.link-arrow { display: inline-flex; align-items: center; gap: 0.4em; font-weight: 600; text-decoration: none; }
.link-arrow .icon { width: 1em; height: 1em; transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(3px); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center-row { justify-content: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / 0.82); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid rgb(226 232 240 / 0.8); }
@media (prefers-color-scheme: dark) { .site-header { background: rgb(15 23 42 / 0.8); border-bottom-color: rgb(51 65 85 / 0.7); } }
.header-row { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--heading); }
.brand img { width: 34px; height: 34px; }
.brand-word { font-size: 1.42rem; font-weight: 750; letter-spacing: -0.035em; }
.main-nav { display: flex; gap: 4px; margin-left: 12px; }
.main-nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 0.95rem; padding: 8px 12px; border-radius: 8px; }
.main-nav a:hover, .main-nav a[aria-current] { color: var(--heading); background: var(--bg-muted); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.mobile-nav { display: none; margin-left: 8px; }
.mobile-cta { display: none; }
.mobile-nav summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; color: var(--heading); border: 1px solid var(--border); }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary .icon { width: 22px; height: 22px; }
.mobile-panel { position: absolute; left: 12px; right: 12px; top: 72px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); padding: 10px; display: grid; gap: 2px;
  max-height: calc(100vh - 84px); max-height: calc(100dvh - 84px); overflow-y: auto; overscroll-behavior: contain; }
.mobile-panel a { padding: 12px 14px; border-radius: 10px; text-decoration: none; color: var(--heading); font-weight: 500; }
.mobile-panel a:not(.btn):hover { background: var(--bg-muted); }
.mobile-panel .btn { margin-top: 6px; color: var(--primary-text); }
@media (max-width: 920px) {
  .main-nav, .header-actions { display: none; }
  .mobile-nav { display: block; }
  .mobile-cta { display: inline-flex; margin-left: auto; }
}

/* Hero */
.hero { position: relative; padding: 76px 0 56px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 480px at 85% -10%, rgb(14 165 233 / 0.20), transparent 65%),
    radial-gradient(700px 420px at 10% 0%, rgb(79 70 229 / 0.10), transparent 60%),
    linear-gradient(to bottom, var(--bg-soft), var(--bg) 80%);
}
.hero-bg::after { content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgb(148 163 184 / 0.13) 1px, transparent 1px), linear-gradient(90deg, rgb(148 163 184 / 0.13) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 80%);
}
.hero-inner { display: grid; gap: 56px; }
.hero-copy { max-width: 820px; margin: 0 auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 600; color: var(--accent-text); background: var(--accent-softer); border: 1px solid var(--accent-soft); padding: 6px 12px 6px 10px; border-radius: 999px; margin-bottom: 22px; }
.eyebrow .icon { width: 1.1em; height: 1.1em; }
h1 .eyebrow { font-size: 0.85rem; font-weight: 600; letter-spacing: normal; line-height: 1.4; vertical-align: top; }
.h1-main { display: block; }
.br-wide { display: none; }
/* Breite Bildschirme: zweiter Satz der Überschrift in einer eigenen Zeile, Einleitung bleibt schmal */
@media (min-width: 1000px) {
  .br-wide { display: inline; }
  .hero-copy { max-width: 1080px; }
  .hero h1 { font-size: clamp(2.3rem, 5.4vw, 3.7rem); }
  .hero .lead, .hero-note { max-width: 820px; margin-left: auto; margin-right: auto; }
}
.grad { background: linear-gradient(100deg, var(--grad-a), var(--grad-b) 55%, var(--grad-c)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.08rem, 1rem + 0.35vw, 1.24rem); line-height: 1.6; color: var(--text); margin-top: 22px; }
.lead-sm { font-size: 1.1rem; line-height: 1.65; margin-top: 16px; }
.hero .cta-row { justify-content: center; margin-top: 32px; }
.hero-note { margin-top: 16px; color: var(--muted); font-size: 0.92rem; }
.hero-shot { margin: 0; position: relative; }
.hero-shot::before { content: ''; position: absolute; inset: 8% 6% -6%; z-index: -1; background: linear-gradient(120deg, var(--brand-a), var(--brand-c)); filter: blur(70px); opacity: 0.22; border-radius: 50%; }
.hero-shot figcaption, .feature-shot figcaption { text-align: center; font-size: 0.8rem; color: var(--muted); margin-top: 14px; }

/* Fenster-Rahmen fuer Produktbilder */
.window { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: var(--bg-muted); border-bottom: 1px solid var(--border); }
.window-bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--border-strong); }
.window-bar em { font-style: normal; font-size: 0.78rem; color: var(--muted); background: var(--card); border: 1px solid var(--border); border-radius: 7px; padding: 2px 14px; margin: 0 auto; transform: translateX(-24px); }
.shot img { width: 100%; }

/* Vertrauensleiste */
.trust { border-block: 1px solid var(--border); background: var(--bg); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; gap: 12px; align-items: flex-start; padding: 26px 18px; }
.trust-item + .trust-item { border-left: 1px solid var(--border); }
.trust-item > .icon { width: 28px; height: 28px; color: var(--accent); margin-top: 2px; }
.trust-item strong { display: block; color: var(--heading); font-size: 0.97rem; line-height: 1.35; }
.trust-item span { display: block; color: var(--muted); font-size: 0.88rem; line-height: 1.45; margin-top: 3px; }
@media (max-width: 960px) {
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--border); }
}
@media (max-width: 560px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--border); }
  .trust-item { padding: 18px 4px; }
}

/* Abschnitte */
.section { padding: 104px 0; position: relative; }
.section-tight { padding: 56px 0 88px; }
.section-soft { background: var(--bg-soft); border-block: 1px solid var(--border); }
.section-head { max-width: 760px; margin: 0 auto 56px; }
.section-head.center { text-align: center; }
.section-head p:not(.kicker) { margin-top: 16px; font-size: 1.12rem; color: var(--text); }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 14px; }
.kicker .icon { width: 1.3em; height: 1.3em; }
@media (max-width: 720px) { .section { padding: 72px 0; } .section-head { margin-bottom: 40px; } }

/* Karten */
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.role { padding: 30px; transition: box-shadow .2s, transform .2s, border-color .2s; }
.role:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--border-strong); }
.role-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); margin-bottom: 20px; }
.role-icon .icon { width: 26px; height: 26px; }
.role p { margin-top: 10px; }
.role .ticks { margin-top: 18px; }
@media (max-width: 960px) { .role-grid { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; } }

.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.ticks li > .icon { width: 18px; height: 18px; margin-top: 3px; color: #ffffff; background: var(--tick-bg); border-radius: 50%; padding: 3px; }

/* Funktionen */
.feature { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; }
.feature-shot .window { max-width: 680px; margin-left: auto; }
.feature.reverse .feature-shot .window { margin-left: 0; margin-right: auto; }
.feature + .feature { margin-top: 112px; }
.feature.reverse { grid-template-columns: 7fr 5fr; }
.feature.reverse .feature-copy { order: 2; }
.feature-label { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--accent-text); margin-bottom: 14px; font-size: 0.95rem; }
.feature-label .icon { width: 24px; height: 24px; }
.feature h3 { font-size: clamp(1.55rem, 1.2rem + 1.2vw, 2.1rem); letter-spacing: -0.028em; }
.feature-copy > p:not(.feature-label) { margin-top: 16px; font-size: 1.06rem; }
.feature-shot { margin: 0; }
@media (max-width: 960px) {
  .feature, .feature.reverse { grid-template-columns: 1fr; gap: 32px; }
  .feature.reverse .feature-copy { order: 0; }
  .feature + .feature { margin-top: 80px; }
}

/* Mobil */
.mobile-band { background: var(--bg); }
.mobile-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; }
.phone { margin: 0 auto; width: min(320px, 100%); border-radius: 44px; padding: 12px; background: #0f172a; box-shadow: var(--shadow-xl), inset 0 0 0 2px #334155; }
.phone picture, .phone img { border-radius: 33px; overflow: hidden; }
.mobile-grid > .phone { order: -1; }
@media (max-width: 860px) { .mobile-grid { grid-template-columns: 1fr; gap: 48px; } .mobile-grid > .phone { order: 0; } }

/* Meilo */
.meilo { background: #0b1222; color: #cbd5e1; overflow: hidden; }
.meilo h2, .meilo h3, .meilo strong { color: #f8fafc; }
.meilo-glow { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 400px at 18% 40%, rgb(14 165 233 / 0.22), transparent 70%), radial-gradient(500px 360px at 90% 90%, rgb(79 70 229 / 0.18), transparent 70%); }
.meilo-grid { position: relative; display: grid; grid-template-columns: 4fr 7fr; gap: 72px; align-items: center; }
.meilo-photo { margin: 0; position: relative; text-align: center; }
.meilo-photo::before { content: ''; position: absolute; left: 50%; bottom: 6%; width: 86%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: linear-gradient(140deg, #0ea5e9, #2563eb 55%, #4f46e5); opacity: 0.9; }
.meilo-photo img { position: relative; width: min(330px, 80%); margin: 0 auto; filter: drop-shadow(0 30px 40px rgb(0 0 0 / 0.45)); }
.meilo-photo figcaption { position: relative; display: inline-block; margin-top: -18px; background: #f8fafc; color: #0f172a; font-weight: 700; font-size: 0.9rem; padding: 8px 16px; border-radius: 999px; box-shadow: 0 10px 24px rgb(0 0 0 / 0.35); }
.kicker-light { color: #7dd3fc; }
.meilo .lead-sm { color: #cbd5e1; }
.quotes { list-style: none; padding: 0; margin: 18px 0 34px; display: grid; grid-template-columns: 1fr; gap: 6px; }
.quotes li { color: #bae6fd; font-style: italic; font-size: 1rem; }
.meilo h3 { font-size: 1.1rem; margin-bottom: 14px; }
.rules { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.rules li { display: flex; gap: 14px; align-items: flex-start; line-height: 1.55; }
.rules li > .icon { width: 36px; height: 36px; padding: 8px; border-radius: 10px; color: #7dd3fc; background: rgb(14 165 233 / 0.12); border: 1px solid rgb(56 189 248 / 0.22); }
.meilo-note { margin-top: 26px; font-size: 0.9rem; color: #94a3b8; }
@media (max-width: 900px) { .meilo-grid { grid-template-columns: 1fr; gap: 40px; } .meilo-photo img { width: min(260px, 70%); } }

/* Sicherheit */
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sec { padding: 26px; }
.sec > .icon { width: 30px; height: 30px; color: var(--accent); margin-bottom: 14px; }
.sec h3 { font-size: 1.08rem; }
.sec p { margin-top: 8px; font-size: 0.97rem; }
.more { margin-top: 36px; }
@media (max-width: 960px) { .sec-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .sec-grid { grid-template-columns: 1fr; } }

/* Schritte */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { padding: 30px; position: relative; }
.step-num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-weight: 700; color: #ffffff; background: linear-gradient(140deg, #0369a1, #1d4ed8); margin-bottom: 18px; box-shadow: 0 6px 14px -4px rgb(37 99 235 / 0.5); }
.step p { margin-top: 10px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; } }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .15s, box-shadow .15s; }
.faq details[open] { border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; color: var(--heading); display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 18px; height: 18px; color: var(--muted); transition: transform .2s; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { padding: 0 22px 20px; }

/* CTA-Band */
.cta-band { background: linear-gradient(115deg, #0369a1, #1d4ed8 55%, #4338ca); color: #e0f2fe; padding: 72px 0; position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; inset: 0; background: radial-gradient(500px 300px at 85% 0%, rgb(255 255 255 / 0.16), transparent 70%); pointer-events: none; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band h2 { color: #ffffff; }
.cta-band :focus-visible { outline-color: #ffffff; }
.meilo :focus-visible { outline-color: #7dd3fc; }
.cta-band p { margin-top: 10px; font-size: 1.1rem; max-width: 560px; }

/* Unterseiten */
.page-hero { padding: 88px 0 24px; background: linear-gradient(to bottom, var(--bg-soft), var(--bg)); }
.page-hero-sm { padding: 64px 0 8px; }
.page-hero h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.3rem); }
.page-legal .page-hero h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.7rem); }
.not-found { padding: 140px 0 160px; }
.prose h2 { font-size: 1.5rem; margin: 52px 0 14px; display: flex; align-items: center; gap: 12px; letter-spacing: -0.02em; }
.prose h2 .icon { width: 30px; height: 30px; color: var(--accent); }
.prose > p + p, .prose > ul + p, .prose > .table-wrap + p { margin-top: 14px; }
.prose ul:not(.ticks) { padding-left: 1.2em; display: grid; gap: 6px; margin: 12px 0 0; }
.page-legal .prose h2 { font-size: 1.2rem; margin-top: 36px; }
.table-wrap { overflow-x: auto; margin-top: 20px; border: 1px solid var(--border); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
caption { text-align: left; padding: 14px 16px; font-weight: 600; color: var(--heading); background: var(--bg-soft); border-bottom: 1px solid var(--border); }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 600; }
tr:last-child td { border-bottom: 0; }
.legal-list { display: grid; grid-template-columns: 240px 1fr; gap: 0; margin: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.legal-list dt, .legal-list dd { padding: 14px 18px; border-bottom: 1px solid var(--border); margin: 0; }
.legal-list dt { font-weight: 600; color: var(--heading); background: var(--bg-soft); }
.legal-list dt:last-of-type, .legal-list dd:last-of-type { border-bottom: 0; }
@media (max-width: 640px) { .legal-list { grid-template-columns: 1fr; } .legal-list dt { border-bottom: 0; padding-bottom: 4px; } .legal-list dd { padding-top: 0; } }

/* Footer */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--border); padding: 64px 0 28px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { margin-top: 14px; color: var(--muted); max-width: 340px; }
.site-footer nav { display: grid; gap: 8px; align-content: start; }
.site-footer .footer-heading { font-weight: 700; margin: 0; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--heading); margin-bottom: 6px; }
.site-footer nav a { color: var(--text); text-decoration: none; }
.site-footer nav a:hover { color: var(--accent-text); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.86rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 420px) { .footer-grid { grid-template-columns: 1fr; } }

@media (max-width: 560px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .hero { padding: 48px 0 40px; }
  .hero .cta-row .btn { width: 100%; }
  .cta-band .cta-row, .cta-band .cta-row .btn { width: 100%; }
  .window-bar em { display: none; }
}

/* Hinweisbox in Rechtstexten (z. B. Widerspruchsrecht) */
.notice { border: 1px solid var(--accent-soft); background: var(--accent-softer); border-radius: var(--radius); padding: 2px 18px 16px; margin-top: 28px; }
.notice h2 { margin-top: 14px; }

/* Tabelle auf dem Smartphone als Karten */
@media (max-width: 640px) {
  .table-wrap { overflow: visible; border: 0; }
  .table-wrap caption { display: block; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 10px; overflow-wrap: anywhere; }
  .table-wrap thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .table-wrap table, .table-wrap tbody, .table-wrap tr, .table-wrap td { display: block; width: 100%; }
  .table-wrap tr { border: 1px solid var(--border); border-radius: var(--radius); padding: 6px 0; margin-bottom: 10px; background: var(--card); }
  .table-wrap td { border: 0; padding: 6px 16px; }
  .table-wrap td::before { content: attr(data-label); content: attr(data-label) / ""; display: block; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
}

/* Meilo: Hinweis auf den KI-Anbieter, Verweise zur Vorführung im Fließtext */
.meilo-provider { margin-top: 22px; font-size: 0.95rem; color: #cbd5e1; }
.meilo-provider a, .meilo .inline-cta a { color: #7dd3fc; }
.inline-cta { margin-top: 28px; font-weight: 600; }
.inline-cta a { display: inline; text-decoration: none; }
.inline-cta a:hover { text-decoration: underline; }
.inline-cta .icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.12em; margin-left: 0.3em; }
.section-soft .inline-cta { margin: 64px 0 0; }
.inline-cta + .feature { margin-top: 64px; }

/* Sehr schmale Bildschirme und 400 % Zoom (WCAG 1.4.10): nichts darf breiter als die Spalte werden */
@media (max-width: 359px) {
  h1 { font-size: 1.9rem; hyphens: auto; overflow-wrap: break-word; }
  .hero h1 { hyphens: manual; }
  .page-hero h1, .page-legal .page-hero h1 { font-size: 1.6rem; }
  h2 { hyphens: auto; overflow-wrap: break-word; }
  .hero-copy { min-width: 0; }
  .header-row { gap: 8px; }
  .brand-word { font-size: 1.25rem; }
  .mobile-nav { margin-left: 0; }
  .mobile-cta { padding-left: 10px; padding-right: 10px; font-size: 0.85rem; }
}

/* Laptop mit geringer Höhe (z. B. 1366 x 768): Produktbild soll im ersten Bildschirm anfangen */
@media (max-height: 920px) and (min-width: 921px) {
  .hero { padding-top: 40px; }
  .hero h1 { font-size: min(clamp(2.3rem, 1.3rem + 4vw, 4.1rem), 3.3rem); }
  h1 .eyebrow { margin-bottom: 14px; }
  .hero .lead { margin-top: 16px; }
  .hero .cta-row { margin-top: 22px; }
  .hero-note { margin-top: 12px; }
  .hero-inner { gap: 36px; }
}

/* Druck, vor allem die Seite Sicherheit für Datenschutzbeauftragte */
.print-only { display: none; }
@media print {
  @page { margin: 16mm 14mm; }
  :root { color-scheme: light; --bg: #ffffff; --bg-soft: #ffffff; --bg-muted: #ffffff; --card: #ffffff; --heading: #111827; --text: #111827;
    --muted: #4b5563; --accent-text: #075985; --border: #d1d5db; --grad-a: #075985; --grad-b: #075985; --grad-c: #075985; }
  .meilo, .meilo h2, .meilo h3, .meilo strong, .meilo .lead-sm, .meilo .kicker, .meilo .kicker-light, .quotes li, .meilo-provider, .meilo-provider a, .meilo-note { color: #111827; }
  .rules li > .icon { color: #075985; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .step-num { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  body { background: #ffffff; color: #111827; font-size: 10.5pt; }
  .preview-banner, .skip, .main-nav, .header-actions, .mobile-nav, .mobile-cta, .cta-band, .footer-grid, .inline-cta, .hero-bg, .meilo-glow { display: none !important; }
  .site-header { position: static; background: none; border: 0; backdrop-filter: none; }
  .header-row { height: auto; padding: 0 0 8px; }
  .section, .page-hero, .page-hero-sm { padding: 16px 0; background: none; }
  .ticks li > .icon { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .card, .table-wrap tr, .notice, details { break-inside: avoid; }
  /* Tabelle offen drucken: kein Rahmen um das Ganze, der bei einem Seitenumbruch leer stehen bliebe */
  .table-wrap { border: 0; border-radius: 0; overflow: visible; }
  .table-wrap caption { border-top: 1px solid var(--border); }
  .table-wrap tr:last-child td { border-bottom: 1px solid var(--border); }
  a { color: inherit; text-decoration: none; }
  h2 { break-after: avoid; }
  .print-only { display: block; margin-top: 18px; font-size: 9pt; color: #4b5563; border-top: 1px solid #d1d5db; padding-top: 8px; }
}
.hero-note a { white-space: nowrap; }

/* Hohe Kontraste (Windows): Verlaufstext als normale Schrift */
@media (forced-colors: active) {
  .grad { background: none; color: CanvasText; -webkit-text-fill-color: CanvasText; }
}

/* Meilo: im HTML erst Aussage und Regeln, dann das Foto. Auf breiten Schirmen steht das Foto links. */
.meilo-photo { order: -1; }
@media (max-width: 900px) {
  .meilo-photo { order: 0; }
  .meilo-photo img { width: min(180px, 50%); }
}

/* Ein Vorgang durch die Agentur */
.flow { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: flow; }
.flow li { position: relative; padding: 20px 20px 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); }
.flow li::before { counter-increment: flow; content: counter(flow); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; font-weight: 700; font-size: 0.95rem; color: #ffffff; background: #0369a1; margin-bottom: 12px; }
.flow h4 { font-size: 1.02rem; margin: 0 0 6px; color: var(--heading); line-height: 1.25; letter-spacing: -0.015em; font-weight: 700; }
.flow p { font-size: 0.95rem; color: var(--text); margin: 0; }
.flow .who { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 4px; }
.flow-head { text-align: center; margin-top: 64px; }
.flow-head h3 { font-size: 1.25rem; }
@media (max-width: 960px) { .flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } }
@media print { .flow li::before { print-color-adjust: exact; -webkit-print-color-adjust: exact; } }
.cta-hint { margin-top: 12px; font-size: 0.9rem; color: #dbeafe; }
.cta-band p a { color: #ffffff; text-decoration: underline; text-underline-offset: 3px; }
main:focus { outline: none; }
.table-wrap:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; }

/* Runde 2 (14.11.2026) */
/* Hauptüberschrift unter 1000 px: zweiter Satz beginnt immer in einer neuen Zeile */
@media (max-width: 999px) { .h1-main .grad { display: block; } }
@media (max-width: 560px) { .hero h1 .h1-main { font-size: clamp(1.6rem, 8.2vw, 2.3rem); } }
/* Textlink mit Pfeil: bricht als Fließtext um, der Pfeil bleibt am letzten Wort (.nowrap) */
/* Fußzeile auf dem Smartphone: größere Tippflächen */
@media (max-width: 640px) { .site-footer nav { gap: 0; } .site-footer nav a { display: block; padding: 9px 0; } }
/* Unterseiten auf dem Smartphone: weniger Leerraum unter der Einleitung */
@media (max-width: 640px) { .page-hero { padding: 48px 0 0; } .page-hero + .section-tight { padding-top: 16px; } }
.nowrap { white-space: nowrap; }
