:root {
  --blue: #2596be;
  --blue-dark: #1b6f8e;
  --blue-light: #67bed9;
  --sage: #538b8f;
  --sage-light: #87b2b5;
  --bg: #ffffff;
  --bg-soft: #f3f8fa;
  --card: #ffffff;
  --text: #13262e;
  --muted: #5a6d74;
  --line: #dde8ec;
  --bubble-in: #eef1f2;
  --bubble-draft: #e6f4f9;
  --shadow: 0 12px 40px rgba(19, 38, 46, .10);
  --radius: 18px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1a1f; --bg-soft: #13232a; --card: #172a32; --text: #e8f1f4; --muted: #9db1b8;
    --line: #26414b; --bubble-in: #20343c; --bubble-draft: #173a48; --blue-dark: #67bed9;
    --shadow: 0 12px 40px rgba(0, 0, 0, .35);
  }
}
:root[data-theme="dark"] {
  --bg: #0e1a1f; --bg-soft: #13232a; --card: #172a32; --text: #e8f1f4; --muted: #9db1b8;
  --line: #26414b; --bubble-in: #20343c; --bubble-draft: #173a48; --blue-dark: #67bed9;
  --shadow: 0 12px 40px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { color: var(--blue-dark); }
img, svg { max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* Kopf */
header.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--text); text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
nav.links { display: flex; align-items: center; gap: 20px; font-size: 15px; }
nav.links a { color: var(--muted); text-decoration: none; }
nav.links a:hover { color: var(--text); }
nav.links .lang { border: 1px solid var(--line); border-radius: 99px; padding: 2px 10px; font-weight: 600; }
@media (max-width: 640px) { nav.links .hide-sm { display: none; } nav.links { gap: 14px; } }

/* Knöpfe */
.btn { display: inline-block; padding: 13px 24px; border-radius: 99px; font-weight: 700; text-decoration: none; font-size: 16px; }
.btn-primary { background: var(--blue-dark); color: #fff; }
:root[data-theme="dark"] .btn-primary { color: #0e1a1f; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-primary { color: #0e1a1f; } }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { color: var(--text); border: 1px solid var(--line); }

/* Hero */
.hero { padding: 72px 0 56px; background: radial-gradient(900px 400px at 85% 0%, color-mix(in srgb, var(--blue-light) 22%, transparent), transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 700; color: var(--sage); background: color-mix(in srgb, var(--sage-light) 22%, transparent); padding: 4px 12px; border-radius: 99px; margin-bottom: 18px; }
h1 { font-size: clamp(34px, 5.2vw, 54px); line-height: 1.1; margin: 0 0 20px; letter-spacing: -.02em; }
h2 { font-size: clamp(26px, 3.6vw, 36px); line-height: 1.2; margin: 0 0 14px; letter-spacing: -.01em; }
h3 { font-size: 19px; margin: 0 0 6px; }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.note { font-size: 14px; color: var(--muted); margin-top: 14px; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-top: 44px; } }

/* Telefon */
.phone { width: 300px; max-width: 100%; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: 38px; padding: 14px; box-shadow: var(--shadow); position: relative; }
.phone .bar { display: flex; align-items: center; gap: 10px; padding: 8px 6px 12px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.phone .bar .av { width: 34px; height: 34px; border-radius: 50%; background: var(--sage-light); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.phone .bar small { display: block; color: var(--muted); font-size: 12px; line-height: 1.2; }
.phone .bar b { font-size: 14px; line-height: 1.2; }
.bubble { font-size: 13.5px; line-height: 1.45; padding: 9px 12px; border-radius: 16px; margin-bottom: 8px; max-width: 88%; }
.bubble.in { background: var(--bubble-in); border-bottom-left-radius: 5px; }
.bubble.draft { background: var(--bubble-draft); border: 1.5px dashed var(--blue-light); margin-left: auto; border-bottom-right-radius: 5px; }
.bubble .tag { display: block; font-size: 11px; font-weight: 700; color: var(--blue-dark); margin-bottom: 3px; }
.bubble .foot { display: block; font-size: 10.5px; color: var(--muted); margin-top: 5px; }
.case { font-size: 12px; color: var(--muted); text-align: center; margin: 4px 0 10px; }
.actions { display: flex; justify-content: flex-end; gap: 6px; margin-top: 4px; }
.pill { font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); }
.pill.send { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.phone .milo { position: absolute; width: 96px; left: -54px; bottom: 24px; }
@media (max-width: 420px) { .phone .milo { display: none; } }

/* Abschnitte */
section { padding: 72px 0; }
section.soft { background: var(--bg-soft); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p { color: var(--muted); margin: 0; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--blue-light) 22%, transparent); color: var(--blue-dark); margin-bottom: 14px; }
.icon svg { width: 22px; height: 22px; }

.steps { counter-reset: s; display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.steps .card::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--blue-dark); color: #fff; font-weight: 800; font-size: 15px; margin-bottom: 12px; }

.example { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .example { grid-template-columns: 1fr; } }
.example .card b { color: var(--text); }

/* Preis */
.price { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 760px; }
@media (max-width: 640px) { .price { grid-template-columns: 1fr; } }
.price .card { text-align: center; padding: 32px 24px; }
.price .num { font-size: 46px; font-weight: 800; letter-spacing: -.02em; color: var(--text); line-height: 1.1; }
.price .card.hl { border: 2px solid var(--blue-light); }

/* Liste */
ul.check { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
ul.check li { padding-left: 30px; position: relative; }
ul.check li::before { content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/11px no-repeat; }

/* FAQ */
details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 10px; }
details summary { cursor: pointer; font-weight: 700; list-style: none; position: relative; padding-right: 28px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; position: absolute; right: 0; top: -2px; font-size: 22px; color: var(--muted); }
details[open] summary::after { content: "–"; }
details p, details ul { color: var(--muted); margin: 10px 0 0; }

/* Rechtstexte */
.legal { padding: 48px 0 72px; }
.legal h1 { font-size: clamp(30px, 4vw, 40px); }
.legal h2 { font-size: 22px; margin-top: 34px; }
.legal p, .legal li { color: var(--muted); }
.legal strong { color: var(--text); }
.todo { background: #fff3cd; color: #6b4e00; padding: 1px 6px; border-radius: 4px; font-weight: 600; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 28px 0 44px; }
@media (max-width: 640px) { .contact { grid-template-columns: 1fr; } }

/* Fuß */
footer { border-top: 1px solid var(--line); padding: 32px 0 44px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--muted); margin-right: 18px; }

@media (prefers-reduced-motion: reduce) { .milo * { animation: none !important; } }
