/* Speisebote – Landingpage. Mobil zuerst, System-Fonts, keine externen Ressourcen. */

:root {
    --bg: #fbf8f4;
    --bg-alt: #f3ede5;
    --surface: #ffffff;
    --surface-2: #f7f2ec;
    --text: #1b1714;
    --muted: #6b625a;
    --line: #e6ddd2;
    --accent: #ec4f26;
    --accent-2: #ff8f3f;
    --accent-ink: #c43d1a;
    --on-accent: #ffffff;
    --ok: #1f9d55;
    --shadow: 0 1px 2px rgba(40, 25, 10, .06), 0 8px 24px rgba(40, 25, 10, .08);
    --shadow-lg: 0 24px 60px rgba(40, 25, 10, .18);
    --radius: 18px;
    --radius-sm: 12px;
    --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg: #111010;
        --bg-alt: #181615;
        --surface: #1d1b1a;
        --surface-2: #252220;
        --text: #f4efe9;
        --muted: #a69c92;
        --line: #302c29;
        --accent: #f4582c;
        --accent-ink: #ff8a5c;
        --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .3);
        --shadow-lg: 0 24px 60px rgba(0, 0, 0, .55);
        color-scheme: dark;
    }
}

:root[data-theme="dark"] {
    --bg: #111010;
    --bg-alt: #181615;
    --surface: #1d1b1a;
    --surface-2: #252220;
    --text: #f4efe9;
    --muted: #a69c92;
    --line: #302c29;
    --accent: #f4582c;
    --accent-ink: #ff8a5c;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .3);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, .55);
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 16px/1.6 var(--font);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
html, body { overflow-x: clip; }
img, svg { display: block; }
svg { width: 1em; height: 1em; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; }
[id] { scroll-margin-top: 76px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.wrap--narrow { max-width: 820px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--on-accent); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; border-radius: 6px; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: 12px 20px; border-radius: 999px; border: 1.5px solid transparent;
    font: 600 15px/1.2 var(--font); text-decoration: none; cursor: pointer;
    transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
    white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: var(--on-accent); box-shadow: 0 6px 18px rgba(236, 79, 38, .3); }
.btn--primary:hover { box-shadow: 0 8px 24px rgba(236, 79, 38, .42); }
.btn--ghost { border-color: var(--line); background: var(--surface); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); }
.btn--light { background: #fff; color: #1b1714; }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--lg { padding: 15px 24px; font-size: 16px; }
.btn--block { width: 100%; }

.icon-btn {
    display: inline-grid; place-items: center; width: 42px; height: 42px;
    border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer;
}
.icon-btn svg { width: 20px; height: 20px; }
.only-dark { display: none !important; }
:root[data-theme="dark"] .only-dark { display: block !important; }
:root[data-theme="dark"] .only-light { display: none !important; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .only-dark { display: block !important; }
    :root:not([data-theme="light"]) .only-light { display: none !important; }
}

/* Header */
.top {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, var(--bg) 86%, transparent);
    backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.top__inner { display: flex; align-items: center; gap: 12px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand--sm { font-size: 16px; }
.brand--sm img { width: 28px; height: 28px; border-radius: 7px; }
.top__tools { margin-left: auto; display: flex; gap: 8px; }

.nav {
    position: fixed; inset: 64px 0 auto 0; display: none; flex-direction: column; gap: 4px;
    padding: 12px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
}
.nav.is-open { display: flex; }
.nav a { padding: 12px 8px; text-decoration: none; font-weight: 600; border-radius: 10px; }
.nav a:not(.btn):hover { background: var(--surface-2); }
.nav__cta { margin-top: 8px; }

@media (min-width: 900px) {
    .nav { position: static; display: flex; flex-direction: row; align-items: center; padding: 0; background: none; border: 0; box-shadow: none; margin-left: auto; gap: 2px; }
    .nav a { padding: 8px 12px; font-size: 15px; color: var(--muted); }
    .nav a:not(.btn):hover { color: var(--text); background: none; }
    .nav .nav__cta { margin: 0 0 0 10px; color: var(--on-accent); }
    .top__tools { margin-left: 4px; }
    .nav-toggle { display: none; }
}

/* Typo-Bausteine */
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 20%, transparent); }
.accent { background: linear-gradient(120deg, var(--accent-2), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; color: var(--muted); max-width: 34em; }
.lead strong { color: var(--text); }

/* Hero */
.hero { padding: 36px 0 56px; position: relative; overflow: hidden; }
.hero::before {
    content: ""; position: absolute; inset: -30% -20% auto auto; width: 620px; height: 620px; border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--accent-2) 22%, transparent), transparent 65%);
    pointer-events: none;
}
.hero__grid { display: grid; gap: 44px; position: relative; }
.hero h1 { font-size: clamp(36px, 9.5vw, 64px); font-weight: 850; margin: 14px 0 16px; }
.hero__ctas { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }
.hero__facts { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 22px; color: var(--muted); font-size: 13px; line-height: 1.3; }
.hero__facts li { display: grid; }
.hero__facts strong { color: var(--text); font-size: 18px; }

@media (min-width: 560px) { .hero__ctas { flex-direction: row; flex-wrap: wrap; } }
@media (min-width: 960px) {
    .hero { padding: 72px 0 96px; }
    .hero__grid { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 56px; }
}

/* Hero-Visual: Telefon */
.hero__visual { position: relative; display: grid; place-items: center; padding: 10px 0 20px; }
.phone {
    width: min(300px, 82vw); aspect-ratio: 9 / 18.5; border-radius: 42px; padding: 10px;
    background: #141211; box-shadow: var(--shadow-lg), inset 0 0 0 2px #2c2826; position: relative;
    transform: rotate(-2deg);
}
.phone__notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 82px; height: 22px; border-radius: 12px; background: #141211; z-index: 2; }
.phone__screen {
    height: 100%; border-radius: 33px; overflow: hidden; background: #fff; color: #1b1714;
    padding: 50px 14px 14px; display: flex; flex-direction: column; gap: 10px; font-size: 12px; position: relative;
}
.shop-head { display: flex; gap: 10px; align-items: center; }
.shop-logo { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #c62828; color: #fff; font-weight: 800; }
.shop-name { font-weight: 800; font-size: 15px; }
.shop-meta { color: #7a716a; font-size: 11px; display: flex; align-items: center; gap: 5px; }
.open-dot { width: 7px; height: 7px; border-radius: 50%; background: #1f9d55; }
.shop-tabs { display: flex; gap: 6px; overflow: hidden; }
.shop-tabs span { padding: 5px 10px; border-radius: 999px; background: #f3eee8; font-weight: 600; white-space: nowrap; }
.shop-tabs .on { background: #1b1714; color: #fff; }
.item { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px; border: 1px solid #eee6dd; border-radius: 14px; }
.item__name { font-weight: 700; font-size: 13px; }
.item__desc { color: #8a8079; font-size: 11px; }
.item__price { font-weight: 700; margin-top: 2px; }
.item__add { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #c62828; color: #fff; font-weight: 700; font-size: 18px; }
.cart-bar { margin-top: auto; display: flex; justify-content: space-between; padding: 12px 14px; border-radius: 14px; background: #c62828; color: #fff; font-weight: 700; }

.toast {
    position: absolute; top: 18%; left: 50%; transform: translateX(-108%);
    display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 16px;
    background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
    min-width: 220px; animation: ring-in 4s ease-in-out infinite;
}
.toast__icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #fff; flex: none; }
.toast__icon svg { width: 20px; height: 20px; animation: bell 4s ease-in-out infinite; transform-origin: 50% 10%; }
.toast__title { font-weight: 700; font-size: 14px; }
.toast__text { color: var(--muted); font-size: 12px; }
.badge-zero {
    position: absolute; bottom: 8%; left: 50%; transform: translateX(40%);
    width: 104px; height: 104px; border-radius: 50%; display: grid; place-content: center; text-align: center;
    background: #121212; color: #fff; box-shadow: var(--shadow-lg); border: 3px solid var(--accent);
}
.badge-zero strong { font-size: 30px; line-height: 1; background: linear-gradient(135deg, var(--accent-2), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.badge-zero span { font-size: 12px; font-weight: 600; }

@media (max-width: 559px) {
    .toast { left: 0; transform: none; top: auto; bottom: 30%; min-width: 0; }
    .badge-zero { left: auto; right: 0; transform: none; width: 88px; height: 88px; }
    .badge-zero strong { font-size: 24px; }
}
@keyframes bell { 0%, 70%, 100% { transform: rotate(0); } 74% { transform: rotate(14deg); } 78% { transform: rotate(-12deg); } 82% { transform: rotate(8deg); } 86% { transform: rotate(-4deg); } }
@keyframes ring-in { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }

/* Problem-Streifen */
.strip { background: #121212; color: #f4efe9; padding: 26px 0; }
.strip p { font-size: 18px; line-height: 1.5; max-width: 52em; }
.strip strong { color: #ff8f3f; }
@media (min-width: 900px) { .strip p { font-size: 21px; text-align: center; margin: 0 auto; } }

/* Sections */
.section { padding: 64px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { margin-bottom: 32px; max-width: 40em; }
.section__head h2 { font-size: clamp(28px, 6.5vw, 42px); font-weight: 800; margin-top: 8px; }
.sub { color: var(--muted); font-size: 17px; margin-top: 12px; }
@media (min-width: 900px) { .section { padding: 96px 0; } .section__head { margin-bottom: 44px; } }

/* Rechner */
.calc { display: grid; gap: 16px; }
.calc__inputs, .calc__result { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.calc__inputs { display: grid; gap: 22px; }
.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: 15px; display: block; padding: 0; }
.field__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.field output { white-space: nowrap; flex: none; font-weight: 800; font-size: 18px; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.money { display: flex; align-items: center; margin: 8px 0 12px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); }
.money:focus-within { border-color: var(--accent); }
.money input { flex: 1; min-width: 0; border: 0; background: none; color: var(--text); font: 800 28px/1 var(--font); padding: 12px 14px; font-variant-numeric: tabular-nums; }
.money input:focus { outline: none; }
.money span { padding: 0 16px; font-size: 22px; font-weight: 700; color: var(--muted); }
.scale { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; margin-top: 4px; gap: 8px; }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: none; margin: 6px 0 0; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--accent) var(--p, 50%), var(--line) var(--p, 50%)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: var(--line); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--accent); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); box-shadow: 0 2px 6px rgba(0,0,0,.25); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); }

.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; padding: 4px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.seg label { margin: 0; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 10px 4px; border-radius: 10px; font-weight: 700; font-size: 14px; cursor: pointer; color: var(--muted); }
.seg input:checked + span { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.seg input:focus-visible + span { outline: 3px solid var(--accent-2); }

.calc__result { display: grid; gap: 14px; align-content: start; }
.res { display: grid; gap: 2px; padding: 14px 16px; border-radius: 14px; background: var(--surface-2); }
.res span { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.res strong { font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.res small { color: var(--muted); font-size: 13px; }
.res--muted strong { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: color-mix(in srgb, var(--accent) 70%, transparent); }
.res--big { background: #121212; color: #fff; padding: 20px; }
.res--big span, .res--big small { color: #b9b0a7; }
.res--big strong { font-size: clamp(40px, 12vw, 56px); background: linear-gradient(120deg, #ffb36b, #ff6a3a); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.res-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.res-row strong { font-size: 21px; }

.assume { margin-top: 16px; border: 1px dashed var(--line); border-radius: var(--radius-sm); padding: 4px 16px; background: var(--surface); }
.assume summary { cursor: pointer; font-weight: 700; padding: 12px 0; }
.assume ul { margin: 0 0 14px; padding-left: 20px; color: var(--muted); font-size: 15px; display: grid; gap: 6px; }
.assume strong { color: var(--text); }

@media (min-width: 900px) {
    .calc { grid-template-columns: 1.15fr 1fr; gap: 20px; }
    .calc__inputs, .calc__result { padding: 28px; }
}

/* Funktionen */
.features { display: grid; gap: 12px; }
.feat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.feat h3 { font-size: 18px; margin: 14px 0 6px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.feat p { color: var(--muted); font-size: 15px; }
.feat__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 12%, var(--surface)); color: var(--accent-ink); flex: none; }
.feat__icon svg { width: 22px; height: 22px; }
.feat--hl { background: #121212; color: #fff; border-color: #121212; }
.feat--hl p { color: #c4bab0; }
.feat--hl .feat__icon { background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #fff; }
.tag { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
@media (min-width: 600px) { .features { grid-template-columns: 1fr 1fr; } .feat--hl { grid-column: span 2; } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(4, 1fr); gap: 16px; } }

/* Ablauf */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.steps li { position: relative; padding: 22px 20px 22px 76px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.steps__n { position: absolute; left: 20px; top: 20px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 18px; color: #fff; background: linear-gradient(135deg, var(--accent-2), var(--accent)); }
.steps h3 { font-size: 19px; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 15px; }
@media (min-width: 900px) {
    .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .steps li { padding: 76px 24px 26px; }
    .steps__n { left: 24px; top: 24px; }
}

/* Preise */
.plans { display: grid; gap: 16px; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px 22px; }
.plan h3 { font-size: 22px; }
.plan__tag { color: var(--muted); font-size: 15px; margin-top: 4px; }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin-top: 18px; }
.plan__price strong { font-size: 46px; font-weight: 850; letter-spacing: -.03em; line-height: 1; }
.plan__price span { color: var(--muted); font-weight: 600; }
.plan__setup { font-size: 14px; color: var(--muted); margin-top: 6px; }
.plan .btn { margin-top: auto; }
.plan--featured { border: 2px solid var(--accent); box-shadow: 0 20px 50px color-mix(in srgb, var(--accent) 22%, transparent); }
.plan__badge { position: absolute; top: -13px; left: 22px; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: #fff; background: linear-gradient(135deg, var(--accent-2), var(--accent)); }
.checks { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 9px; font-size: 15px; }
.checks li, .always li { display: flex; gap: 10px; align-items: flex-start; }
.checks svg, .always svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--ok); }
.always { margin-top: 20px; padding: 18px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.always ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; font-size: 15px; }
.fine { margin-top: 14px; font-size: 13px; color: var(--muted); }
@media (min-width: 900px) {
    .plans { grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
    .plan--featured { transform: translateY(-10px); }
    .always { display: flex; gap: 24px; align-items: center; }
    .always > p { flex: none; white-space: nowrap; }
    .always ul { margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
}

/* Demo-Banner */
.demo { padding: 0; background: var(--bg-alt); }
.demo__inner {
    display: grid; gap: 18px; padding: 32px 22px; border-radius: 24px; color: #fff;
    background: radial-gradient(120% 140% at 100% 0%, #ff8f3f 0%, #ec4f26 45%, #b8261a 100%);
    box-shadow: var(--shadow-lg);
}
.demo h2 { font-size: clamp(26px, 6vw, 36px); font-weight: 800; }
.demo p { margin-top: 8px; color: rgba(255,255,255,.9); }
@media (min-width: 800px) { .demo__inner { grid-template-columns: 1fr auto; align-items: center; padding: 44px 48px; } }
.demo + .section { padding-top: 64px; }
@media (min-width: 900px) { .demo + .section { padding-top: 96px; } }
.demo .wrap { max-width: 1128px; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 700; font-size: 16px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; border-right: 2.5px solid var(--muted); border-bottom: 2.5px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 20px 18px; color: var(--muted); }

/* Kontakt */
.contact .section__head { margin-left: auto; margin-right: auto; text-align: center; }
.contact__cards { display: grid; gap: 12px; }
.contact__card { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: border-color .15s, transform .15s; min-width: 0; }
.contact__card:hover { border-color: var(--accent); transform: translateY(-2px); }
.contact__card > span:last-child { display: grid; min-width: 0; }
.contact__card strong { font-size: 19px; overflow-wrap: anywhere; }
.contact__card small { color: var(--muted); font-size: 13px; }
@media (min-width: 700px) { .contact__cards { grid-template-columns: 1fr 1fr; } }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 28px 0 36px; font-size: 14px; color: var(--muted); }
.foot__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.foot .brand { color: var(--text); }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: var(--text); }
@media (min-width: 700px) { .foot p { margin-left: auto; } }

/* Rechtliches: Overlay per :target */
.legal { display: none; position: fixed; inset: 0; z-index: 200; overflow-y: auto; background: var(--bg); padding: 24px 0 64px; }
.legal:target { display: block; }
.legal__inner { position: relative; }
.legal h2 { font-size: clamp(28px, 6vw, 40px); font-weight: 800; margin: 8px 48px 24px 0; }
.legal h3 { font-size: 17px; margin: 24px 0 6px; }
.legal p { color: var(--muted); margin-bottom: 8px; overflow-wrap: anywhere; }
.legal a { color: var(--accent-ink); }
.legal__close {
    position: absolute; right: 16px; top: 0; width: 44px; height: 44px; border-radius: 12px;
    display: grid; place-items: center; font-size: 26px; line-height: 1; text-decoration: none;
    border: 1px solid var(--line); background: var(--surface); color: var(--text) !important;
}
