/* Website – Website
   Drei Designs (im Admin wählbar): modern-dark (Standard), modern-light, classic.
   Die Akzentfarbe kommt optional aus /theme.css (Einstellungen). */

/* ---------- Design-Token ---------- */
:root, [data-site-theme="modern-dark"] {
    --bg: #0a0f1a;
    --bg-2: #0e1524;
    --surface: #121b2d;
    --surface-2: #18233a;
    --text: #e8edf6;
    --muted: #9aa7bf;
    --line: rgba(255, 255, 255, .09);
    --heading: #ffffff;
    --accent: #e3b23c;
    --accent-ink: #141006;
    --header-bg: rgba(10, 15, 26, .72);
    --hero-bg: radial-gradient(1000px 520px at 85% -10%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%), radial-gradient(800px 500px at -10% 110%, rgba(64, 120, 255, .16), transparent 60%), #0a0f1a;
    --hero-text: #ffffff;
    --hero-muted: #b4bfd3;
    --footer-bg: #070b13;
    --input-bg: #0e1626;
    --input-border: rgba(255, 255, 255, .14);
    --shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 10px 30px rgba(0, 0, 0, .35);
    --placeholder: #1a2438;
    --ok: #4ade80;
    --bad: #f87171;
    --warn: #fbbf24;
    --chip: rgba(255, 255, 255, .06);
    color-scheme: dark;
}
[data-site-theme="modern-light"] {
    --bg: #f5f6fa;
    --bg-2: #ffffff;
    --surface: #ffffff;
    --surface-2: #f1f3f8;
    --text: #1a2133;
    --muted: #5b6578;
    --line: #e3e7ef;
    --heading: #0c1324;
    --accent: #2f6bff;
    --accent-ink: #ffffff;
    --header-bg: rgba(255, 255, 255, .78);
    --hero-bg: radial-gradient(900px 500px at 90% -20%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 60%), radial-gradient(700px 400px at -10% 120%, rgba(227, 178, 60, .16), transparent 60%), #f5f6fa;
    --hero-text: #0c1324;
    --hero-muted: #4b5568;
    --footer-bg: #0c1324;
    --input-bg: #ffffff;
    --input-border: #cfd5df;
    --shadow: 0 1px 2px rgba(15, 31, 61, .05), 0 12px 32px rgba(15, 31, 61, .08);
    --placeholder: #e8ecf3;
    --ok: #15803d;
    --bad: #b42318;
    --warn: #a15c00;
    --chip: #eef1f6;
    color-scheme: light;
}
[data-site-theme="classic"] {
    --bg: #f5f6f9;
    --bg-2: #ffffff;
    --surface: #ffffff;
    --surface-2: #f2f4f8;
    --text: #1b2333;
    --muted: #5b6578;
    --line: #e3e7ee;
    --heading: #0f1f3d;
    --accent: #c9a227;
    --accent-ink: #0f1f3d;
    --header-bg: #ffffff;
    --hero-bg: radial-gradient(1200px 400px at 80% 0%, #172d55, #0f1f3d);
    --hero-text: #ffffff;
    --hero-muted: rgba(255, 255, 255, .82);
    --footer-bg: #0f1f3d;
    --input-bg: #ffffff;
    --input-border: #cfd5df;
    --shadow: 0 1px 2px rgba(15, 31, 61, .06), 0 6px 24px rgba(15, 31, 61, .06);
    --placeholder: #eef1f6;
    --ok: #1d7a46;
    --bad: #b42318;
    --warn: #a15c00;
    --chip: #eef1f6;
    color-scheme: light;
}
:root {
    --radius: 18px;
    --radius-sm: 12px;
    --font: "Inter var", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--heading); }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; color: var(--heading); letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 3vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 680px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.mono, .ref { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .02em; }
.text-ok { color: var(--ok); font-weight: 600; }
.text-bad { color: var(--bad); font-weight: 600; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; }
.icon { width: 1.2em; height: 1.2em; vertical-align: -.2em; flex-shrink: 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; color: var(--accent); font-weight: 800; margin-bottom: .8em; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 44px; padding: .7em 1.3em; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); color: var(--heading); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background .2s, box-shadow .2s, color .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); color: var(--heading); border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.btn:active { transform: translateY(0); }
.btn-gold { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn-gold:hover { color: var(--accent-ink); box-shadow: 0 12px 32px color-mix(in srgb, var(--accent) 45%, transparent); }
.btn-outline { background: transparent; }
.btn-outline-light { background: transparent; border-color: color-mix(in srgb, var(--hero-text) 35%, transparent); color: var(--hero-text); }
.btn-outline-light:hover { background: var(--hero-text); color: var(--bg); }
.btn-sm { min-height: 36px; padding: .4em .95em; font-size: .9rem; }
.btn-lg { padding: .9em 1.7em; font-size: 1.04rem; }
.btn-link { background: none; border: 0; color: var(--bad); cursor: pointer; font: inherit; text-decoration: underline; padding: 0; }

/* ---------- Kopfbereich ---------- */
.topbar { background: var(--footer-bg); color: rgba(255, 255, 255, .78); font-size: .82rem; }
.topbar-inner { display: flex; justify-content: space-between; gap: 12px; padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: #fff; text-decoration: none; }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .18); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; transition: min-height .25s var(--ease); }
.site-header.scrolled .header-inner { min-height: 62px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--heading); }
.brand img { transition: transform .4s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.05); }
.brand-text { font-weight: 800; font-size: 1.15rem; line-height: 1.1; display: flex; flex-direction: column; letter-spacing: -.01em; }
.brand-text small { font-weight: 500; font-size: .72rem; color: var(--muted); letter-spacing: 0; }
.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a:not(.btn) { position: relative; padding: 10px 12px; border-radius: 999px; text-decoration: none; color: var(--text); font-weight: 600; font-size: .95rem; white-space: nowrap; }
.main-nav a:not(.btn)::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .25s var(--ease); border-radius: 2px; }
.main-nav a:not(.btn):hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--heading); }
.main-nav .btn { margin-left: 8px; white-space: nowrap; }
.account-link { display: inline-flex !important; align-items: center; gap: 6px; }
.cart-link { position: relative; }
.badge { position: absolute; top: 2px; right: 2px; background: var(--accent); color: var(--accent-ink); font-size: .68rem; font-weight: 800; border-radius: 99px; min-width: 18px; height: 18px; display: grid; place-items: center; padding: 0 4px; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; min-width: 44px; min-height: 44px; }
.nav-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; background: var(--heading); margin: 5px 0; border-radius: 2px; }
/* Menü mit „Über uns“: ab 1180 px Breite als Burger-Menü, damit nichts umbricht */
@media (max-width: 1180px) {
    .nav-toggle { display: block; }
    .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); flex-direction: column; align-items: stretch; padding: 12px 20px 22px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
    .main-nav.open { display: flex; animation: drop .25s var(--ease); }
    .main-nav a:not(.btn)::after { display: none; }
    .main-nav .btn { margin: 10px 0 0; }
}
@media (max-width: 980px) {
    .topbar-inner > span:first-child { display: none; }
    .topbar-inner { justify-content: flex-end; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Meldungen ---------- */
.flash-wrap { padding-top: 16px; }
.flash { padding: 13px 16px; border-radius: var(--radius-sm); margin-bottom: 8px; font-weight: 600; border: 1px solid; }
.flash-success { background: color-mix(in srgb, var(--ok) 12%, var(--surface)); color: var(--ok); border-color: color-mix(in srgb, var(--ok) 35%, transparent); }
.flash-error { background: color-mix(in srgb, var(--bad) 12%, var(--surface)); color: var(--bad); border-color: color-mix(in srgb, var(--bad) 35%, transparent); }
.flash-info { background: var(--surface-2); color: var(--text); border-color: var(--line); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--hero-bg); color: var(--hero-text); padding: 84px 0 96px; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 900px; height: 900px; background: repeating-linear-gradient(115deg, transparent 0 46px, color-mix(in srgb, var(--accent) 14%, transparent) 46px 48px); mask-image: radial-gradient(closest-side, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 75%); z-index: -1; animation: lines 18s linear infinite; }
@keyframes lines { to { transform: translateX(-96px); } }
.hero-inner { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.hero h1 { color: var(--hero-text); }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { color: var(--hero-muted); font-size: 1.18rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 34px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--hero-muted); font-weight: 600; }
.hero-points .icon { color: var(--accent); }
.hero-card { background: color-mix(in srgb, var(--surface) 82%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 24px; padding: 26px; box-shadow: var(--shadow); color: var(--text); }
.hero-card h2 { font-size: 1.3rem; margin-bottom: .2em; }
.hero-card .chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 20px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; background: var(--chip); border: 1px solid var(--line); color: var(--heading); text-decoration: none; font-weight: 600; font-size: .9rem; transition: background .2s, border-color .2s, transform .2s var(--ease); }
.chip:hover { border-color: var(--accent); transform: translateY(-2px); color: var(--heading); }
.chip .icon { color: var(--accent); }
.hero-card .hours-mini { display: flex; justify-content: space-between; gap: 12px; padding-top: 16px; margin-top: 16px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.open-now { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ok); }
.open-now::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: pulse 2s infinite; }
.open-now.closed { color: var(--muted); }
.open-now.closed::before { animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 60%, transparent); } 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; } .hero { padding: 56px 0 64px; } }

/* ---------- Laufband ---------- */
.ticker { background: var(--accent); color: var(--accent-ink); overflow: hidden; white-space: nowrap; border-block: 1px solid color-mix(in srgb, var(--accent-ink) 12%, transparent); }
.ticker-track { display: inline-flex; gap: 0; animation: ticker 38s linear infinite; padding: 14px 0; }
.ticker-track span { display: inline-flex; align-items: center; gap: 14px; padding: 0 22px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .88rem; }
.ticker-track span::after { content: "✦"; opacity: .55; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Abschnitte ---------- */
.section { padding: 76px 0; }
.section-alt { background: var(--bg-2); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 30px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow:hover { gap: 10px; }
.page-head { background: var(--hero-bg); color: var(--hero-text); padding: 56px 0 50px; position: relative; overflow: hidden; }
.page-head h1 { color: var(--hero-text); margin-bottom: .2em; }
.page-head .lead { color: var(--hero-muted); margin: 0; }
.page-head .eyebrow { margin-bottom: .4em; }
.breadcrumb { margin-bottom: 18px; }
.breadcrumb a { text-decoration: none; font-weight: 700; }

/* Einblenden beim Scrollen (nur wenn JS aktiv und Bewegung erlaubt) */
.reveal-pending { opacity: 0; transform: translateY(24px); }
.revealed { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }

/* ---------- Raster & Karten ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1060px) { .grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; margin-bottom: 20px; min-width: 0; }
.grid > .card { margin-bottom: 0; }

.service-card { display: flex; flex-direction: column; position: relative; overflow: hidden; transition: transform .3s var(--ease), border-color .3s; }
.service-card::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.service-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.service-card:hover::after { transform: scaleX(1); }
.service-card p { color: var(--muted); flex: 1; }
.service-card-wide { flex-direction: row; gap: 20px; align-items: flex-start; }
.service-card-wide p { flex: none; }
.service-icon { width: 54px; height: 54px; border-radius: 16px; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); display: grid; place-items: center; margin-bottom: 16px; flex-shrink: 0; transition: transform .3s var(--ease); }
.service-card:hover .service-icon { transform: rotate(-6deg) scale(1.06); }
.service-icon .icon { width: 28px; height: 28px; }
.price-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 6px; }

.product-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), border-color .3s; }
.product-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.product-media { position: relative; aspect-ratio: 16 / 10; background: var(--placeholder); display: block; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.05); }
.product-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; gap: 6px; }
.product-body h3 { font-size: 1.05rem; margin: 0; }
.product-body h3 a { text-decoration: none; color: var(--heading); }
.placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: color-mix(in srgb, var(--muted) 55%, transparent); background: linear-gradient(135deg, var(--placeholder), color-mix(in srgb, var(--placeholder) 70%, var(--accent) 6%)); }
.placeholder .icon { width: 64px; height: 64px; }
.placeholder-lg { aspect-ratio: 4 / 3; border-radius: var(--radius); }
.tag { position: absolute; top: 12px; left: 12px; padding: 5px 11px; border-radius: 99px; font-size: .76rem; font-weight: 800; background: var(--surface); color: var(--heading); }
.tag-warn { background: var(--warn); color: #1b1203; }
.tag-inline { position: static; display: inline-block; }
.specs { list-style: none; padding: 0; margin: 4px 0 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.specs li { background: var(--chip); border-radius: 8px; padding: 3px 9px; font-size: .8rem; color: var(--muted); font-weight: 600; }
.price { color: var(--heading); font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.price-xl { font-size: 2.2rem; margin: 0; }

/* Ablauf & Vorteile */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step { position: relative; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; margin-bottom: 14px; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.usp > div { padding: 8px 4px; }
.usp-icon { width: 56px; height: 56px; border-radius: 16px; margin-bottom: 14px; background: var(--chip); color: var(--accent); display: grid; place-items: center; }
.usp-icon .icon { width: 28px; height: 28px; }
.usp p { color: var(--muted); }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split-media { border-radius: 24px; overflow: hidden; background: linear-gradient(135deg, var(--surface-2), color-mix(in srgb, var(--accent) 18%, var(--surface))); aspect-ratio: 4 / 3; display: grid; place-items: center; color: var(--accent); border: 1px solid var(--line); }
.split-media .icon { width: 120px; height: 120px; opacity: .8; }

.cta-band { background: linear-gradient(110deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #fff)); padding: 52px 0; color: var(--accent-ink); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: .2em; color: var(--accent-ink); }
.cta-band p { margin: 0; }
.cta-band .btn { background: var(--accent-ink); border-color: var(--accent-ink); color: var(--accent); }

/* ---------- Filter, Leerzustand, Seiten ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.filter-bar label { display: flex; flex-direction: column; font-size: .85rem; font-weight: 700; gap: 5px; min-width: 150px; }
.filter-bar .grow { flex: 1; min-width: 220px; }
.empty { text-align: center; padding: 44px 24px; }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-weight: 700; }
.pagination .current { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* ---------- Formulare ---------- */
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=date], input[type=search], input[type=password], input[type=url], input[type=file], select, textarea {
    width: 100%; min-height: 46px; padding: .7em .9em; border: 1px solid var(--input-border); border-radius: 12px; font: inherit; background: var(--input-bg); color: var(--text); transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
input:disabled { opacity: .6; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.form-grid > label, .form-grid .label { display: flex; flex-direction: column; gap: 7px; font-weight: 700; font-size: .92rem; color: var(--heading); }
.form-grid h2 { margin: 8px 0 0; font-size: 1.15rem; }
.form-grid h1 { font-size: 1.6rem; }
.span-2 { grid-column: 1 / -1; }
.checkbox { flex-direction: row !important; align-items: flex-start; gap: 10px !important; font-weight: 500 !important; color: var(--text) !important; }
.checkbox input { margin-top: .3em; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--accent); }
.field-error { color: var(--bad); font-size: .85rem; font-weight: 600; margin: 0; grid-column: 1 / -1; }
.address-fields { margin: 0; }
.address-fields[hidden] { display: none; }
.vehicle-box { border: 1px dashed color-mix(in srgb, var(--accent) 55%, var(--line)); border-radius: var(--radius-sm); padding: 16px; margin: 0; background: color-mix(in srgb, var(--accent) 5%, transparent); }
.vehicle-box legend { font-weight: 800; color: var(--heading); padding: 0 6px; display: flex; align-items: center; gap: 6px; }
.vehicle-box .icon { color: var(--accent); }
.note-box { background: var(--chip); border-radius: var(--radius-sm); padding: 12px 14px; margin: 0; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
@media (max-width: 920px) { .checkout-grid { grid-template-columns: 1fr; } }
.summary { position: sticky; top: 96px; }
.summary-list { list-style: none; padding: 0; margin: 0 0 12px; }
.summary-list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.summary-total { display: flex; justify-content: space-between; font-size: 1.1rem; }
.contact-box p { display: flex; gap: 10px; }
.contact-box .icon { color: var(--accent); margin-top: .2em; }
.steps-list { padding-left: 20px; }
.steps-list li { margin-bottom: 8px; }

/* ---------- Terminbuchung: Kalender + Uhrzeiten ---------- */
.booking-cal { display: flex; flex-direction: column; gap: 7px; }
.booking-cal .label { font-weight: 700; font-size: .92rem; color: var(--heading); }
.cal { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px; background: var(--surface-2); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; color: var(--heading); }
.cal-nav { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--heading); font-size: 1.3rem; cursor: pointer; }
.cal-nav:disabled { opacity: .35; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-weekdays span { text-align: center; font-size: .72rem; font-weight: 800; color: var(--muted); text-transform: uppercase; padding: 4px 0; }
.cal-day { aspect-ratio: 1; min-height: 36px; border-radius: 10px; border: 1px solid transparent; font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; position: relative; color: var(--heading); background: var(--surface); transition: transform .15s var(--ease), border-color .15s; }
.cal-day::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 6px; height: 6px; border-radius: 50%; transform: translateX(-50%); }
.cal-day.free::after { background: var(--ok); }
.cal-day.few::after { background: var(--warn); }
.cal-day.full { color: var(--muted); text-decoration: line-through; cursor: not-allowed; }
.cal-day.full::after { background: var(--bad); }
.cal-day.closed, .cal-day.past { background: transparent; color: color-mix(in srgb, var(--muted) 55%, transparent); cursor: default; }
.cal-day:not(:disabled):hover { transform: translateY(-2px); border-color: var(--accent); }
.cal-day.selected { background: var(--accent); color: var(--accent-ink); }
.cal-day.selected::after { background: var(--accent-ink); }
.cal-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: .78rem; color: var(--muted); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; }
.dot.free { background: var(--ok); } .dot.few { background: var(--warn); } .dot.full { background: var(--bad); } .dot.closed { background: var(--muted); opacity: .4; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.slots button { border: 1px solid var(--input-border); background: var(--surface); color: var(--heading); border-radius: 10px; padding: 9px 12px; font: inherit; font-weight: 700; cursor: pointer; min-width: 74px; min-height: 44px; transition: transform .15s var(--ease), border-color .15s; }
.slots button:hover { border-color: var(--accent); transform: translateY(-2px); }
.slots button.selected { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.slots button.taken { background: transparent; color: var(--muted); text-decoration: line-through; border-style: dashed; cursor: not-allowed; transform: none; opacity: .65; }

/* ---------- Detailseiten ---------- */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 36px; margin-bottom: 24px; }
.detail-grid > * { min-width: 0; }
@media (max-width: 860px) { .detail-grid { grid-template-columns: 1fr; } }
/* Galerie: Bild komplett zeigen (kein Zuschnitt), unscharfer Hintergrund aus demselben Foto */
.gallery { min-width: 0; }
.gallery-stage { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: #0b1220; isolation: isolate; }
.gallery-stage::before { content: ""; position: absolute; inset: -30px; background: var(--gallery-bg, none) center / cover no-repeat; filter: blur(28px) brightness(.55); z-index: -1; transform: scale(1.1); }
.gallery-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery-open img { width: 100%; height: 100%; object-fit: contain; display: block; transition: opacity .25s; }
.gallery-open img.is-loading { opacity: .35; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(15, 23, 42, .6); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .2s, transform .2s; }
.gallery-nav:hover { background: var(--accent); color: var(--accent-ink); }
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }
.gallery-count, .gallery-zoom { position: absolute; bottom: 12px; padding: 4px 10px; border-radius: 99px; background: rgba(15, 23, 42, .65); color: #fff; font-size: .85rem; pointer-events: none; }
.gallery-count { left: 12px; }
.gallery-zoom { right: 12px; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 4px; scrollbar-width: thin; }
.gallery-thumbs button { border: 2px solid transparent; padding: 0; border-radius: 10px; overflow: hidden; cursor: pointer; width: 92px; flex-shrink: 0; background: var(--placeholder); scroll-snap-align: start; opacity: .7; transition: opacity .2s, border-color .2s; }
.gallery-thumbs button:hover { opacity: 1; }
.gallery-thumbs button.active { border-color: var(--accent); opacity: 1; }
.gallery-thumbs img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
/* Vollbild-Ansicht */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(2, 6, 23, .94); display: flex; flex-direction: column; align-items: center; justify-content: center; touch-action: pan-y; animation: lbfade .2s ease-out; }
@keyframes lbfade { from { opacity: 0; } to { opacity: 1; } }
.lightbox-img { max-width: calc(100vw - 140px); max-height: calc(100vh - 140px); object-fit: contain; border-radius: 8px; user-select: none; -webkit-user-drag: none; transition: opacity .2s; }
.lightbox-img.is-loading { opacity: .3; }
.lightbox button { position: absolute; border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover, .lightbox button:focus-visible { background: rgba(255, 255, 255, .25); }
.lightbox-close { top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%; font-size: 2.4rem; }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }
.lightbox-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #cbd5e1; font-size: .95rem; }
.lightbox-open { overflow: hidden; }
@media (max-width: 640px) { .lightbox-img { max-width: 100vw; max-height: calc(100vh - 120px); border-radius: 0; } .lightbox-prev, .lightbox-next { width: 44px; height: 44px; font-size: 1.8rem; top: auto; bottom: 10px; transform: none; } .lightbox-prev { left: 12px; } .lightbox-next { right: 12px; } }
.spec-table { display: grid; grid-template-columns: auto 1fr; gap: 9px 22px; margin: 22px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec-table dt { color: var(--muted); }
.spec-table dd { margin: 0; font-weight: 700; color: var(--heading); }
.detail-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.add-to-cart { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.add-to-cart label { display: flex; flex-direction: column; font-weight: 700; font-size: .9rem; width: 110px; }
.prose p { max-width: 75ch; }

/* ---------- Tabellen ---------- */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 13px 10px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.qty-input { width: 84px !important; }
.cart-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; flex-wrap: wrap; }

.thanks { text-align: center; padding: 52px 24px; }
.thanks-icon { width: 76px; height: 76px; border-radius: 50%; background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); display: grid; place-items: center; margin: 0 auto 20px; }
.thanks-icon .icon { width: 36px; height: 36px; }
.error-code { font-size: 4.5rem; font-weight: 800; color: var(--accent); margin: 0; letter-spacing: -.04em; }

/* ---------- Kundenkonto ---------- */
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
@media (max-width: 860px) { .auth-grid { grid-template-columns: 1fr; } }
.auth-card { margin: 0; }
.auth-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.check-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.check-list .icon { color: var(--ok); }
.account-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.account-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.account-actions form { margin: 0; }
.account-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
@media (max-width: 920px) { .account-grid { grid-template-columns: 1fr; } }
.order-list { display: grid; gap: 8px; }
.order-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); }
.order-item summary { display: grid; grid-template-columns: auto 1fr auto auto; gap: 12px; align-items: center; padding: 14px 16px; cursor: pointer; list-style: none; }
.order-item summary::-webkit-details-marker { display: none; }
.order-item[open] summary { border-bottom: 1px solid var(--line); }
.order-item .summary-list { padding: 4px 16px 10px; margin: 0; }
@media (max-width: 560px) { .order-item summary { grid-template-columns: 1fr auto; } }
.pill { display: inline-block; padding: 4px 11px; border-radius: 99px; font-size: .78rem; font-weight: 800; background: var(--chip); color: var(--muted); white-space: nowrap; }
.pill-neu, .pill-angefragt { background: color-mix(in srgb, var(--warn) 18%, transparent); color: var(--warn); }
.pill-bearbeitung { background: color-mix(in srgb, #4b8bff 18%, transparent); color: #4b8bff; }
.pill-bereit, .pill-bestaetigt, .pill-abgeschlossen, .pill-erledigt { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
.pill-storniert, .pill-abgesagt { background: color-mix(in srgb, var(--bad) 16%, transparent); color: var(--bad); }
.reason-note { margin: 0 16px 14px; padding: 10px 12px; border-radius: 10px; background: var(--chip); font-size: .9rem; }
.appt-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.appt-list li { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.appt-date { width: 56px; height: 56px; border-radius: 14px; background: var(--accent); color: var(--accent-ink); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.appt-date span { font-size: 1.4rem; font-weight: 800; }
.appt-date small { font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.doc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.doc-list a { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: var(--radius-sm); text-decoration: none; color: var(--text); border: 1px solid var(--line); transition: border-color .2s, transform .2s var(--ease); }
.doc-list a:hover { border-color: var(--accent); transform: translateX(3px); color: var(--text); }
.doc-icon { width: 42px; height: 42px; border-radius: 10px; background: color-mix(in srgb, var(--bad) 16%, transparent); color: var(--bad); display: grid; place-items: center; font-size: .72rem; font-weight: 800; flex-shrink: 0; }
.account-aside hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }

/* ---------- Fußbereich ---------- */
.site-footer { background: var(--footer-bg); color: rgba(255, 255, 255, .72); padding: 60px 0 0; font-size: .93rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer h3 { color: #fff; font-size: 1rem; }
.site-footer p { display: flex; gap: 8px; margin-bottom: .55em; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 34px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: 12px; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 0; }
.hours dd { margin: 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 38px; padding-top: 18px; padding-bottom: 20px; font-size: .85rem; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.btn-block { width: 100%; }
.mt-s { margin-top: 10px; }

/* ---------- Wartungsseite ---------- */
.maintenance-page { min-height: 100vh; background: var(--hero-bg); }
.maintenance { min-height: 100vh; display: grid; place-items: center; padding: 32px 20px; position: relative; overflow: hidden; isolation: isolate; }
.maintenance::before { content: ""; position: absolute; inset: -30% -30% auto auto; width: 900px; height: 900px; background: repeating-linear-gradient(115deg, transparent 0 46px, color-mix(in srgb, var(--accent) 14%, transparent) 46px 48px); mask-image: radial-gradient(closest-side, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 75%); z-index: -1; animation: lines 18s linear infinite; }
.maintenance-card { width: 100%; max-width: 640px; text-align: center; background: color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 28px; padding: 44px 32px; box-shadow: var(--shadow); }
.maintenance-logo { margin: 0 auto 18px; animation: float 4s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px) rotate(-3deg); } }
.maintenance-card .lead { margin-inline: auto; }
.maintenance-until { display: inline-flex; gap: 8px; align-items: center; background: var(--chip); border-radius: 999px; padding: 8px 16px; color: var(--heading); }
.maintenance-until .icon { color: var(--accent); }
.maintenance-bar { height: 6px; border-radius: 99px; background: var(--chip); overflow: hidden; margin: 26px auto; max-width: 320px; }
.maintenance-bar span { display: block; height: 100%; width: 40%; border-radius: 99px; background: var(--accent); animation: progress 2.2s var(--ease) infinite; }
@keyframes progress { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }
.maintenance-contact { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 24px; }
.maintenance-hours { max-width: 320px; margin: 0 auto 20px; text-align: left; color: var(--muted); }
.maintenance-hours dt { color: var(--heading); font-weight: 700; }

/* Hinweis für angemeldete Mitarbeiter, wenn die Wartung aktiv ist */
.maintenance-notice { background: var(--warn); color: #1b1203; text-align: center; font-weight: 700; padding: 8px 16px; font-size: .9rem; }
.maintenance-notice a { color: #1b1203; }

/* ---------- Logo (helle/dunkle Variante je nach Design) ---------- */
.logo-on-light { display: none; }
[data-site-theme="modern-light"] .logo-on-dark, [data-site-theme="classic"] .logo-on-dark { display: none; }
[data-site-theme="modern-light"] .logo-on-light, [data-site-theme="classic"] .logo-on-light { display: block; }
.brand img { width: auto; height: 46px; }
.site-header.scrolled .brand img { height: 40px; }
.footer-brand img { width: 160px; height: auto; opacity: .95; }
.maintenance-logo { display: block; width: 200px; margin: 0 auto 22px; }
.maintenance-logo img { width: 100%; height: auto; margin: 0 auto; }

.danger-card { border-color: color-mix(in srgb, var(--bad) 35%, var(--line)); }
.danger-card h2 { color: var(--bad); }
.btn-danger { background: transparent; border-color: color-mix(in srgb, var(--bad) 50%, transparent); color: var(--bad); }
.btn-danger:hover { background: var(--bad); color: #fff; border-color: var(--bad); }

/* ---------- Startseite „Autoglas-Spezialist“ (Einstellungen › Design › Startseite) ---------- */
.ag-hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.02; }
.ag-glass { width: 100%; height: auto; display: block; }
.ag-glass-pane { fill: color-mix(in srgb, var(--surface-2) 80%, #2a4a7a); stroke: color-mix(in srgb, var(--hero-text) 30%, transparent); stroke-width: 3; }
.ag-glass-shine { fill: none; stroke: color-mix(in srgb, var(--hero-text) 18%, transparent); stroke-width: 3; stroke-linecap: round; }
.ag-glass-hit { fill: none; stroke: var(--accent); stroke-width: 2.5; }
.ag-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 16px 0; }
.ag-option { min-height: 52px; padding: 10px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--chip); color: var(--text); font: inherit; font-size: .95rem; font-weight: 600; text-align: left; cursor: pointer; transition: border-color .2s var(--ease), background .2s var(--ease); }
.ag-option:hover { border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); }
.ag-option[aria-pressed="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 16%, var(--surface)); color: var(--heading); }
.ag-result { padding: 16px 18px; border-radius: var(--radius-sm); background: var(--bg); border: 1px solid var(--line); }
.ag-result .eyebrow { margin-bottom: .3em; }
.ag-result-title { margin: 0 0 .25em; font-size: 1.3rem; font-weight: 800; color: var(--heading); }
.ag-result .small { margin: 0; }
.ag-cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.ag-card { display: flex; flex-direction: column; }
.ag-card h3 { font-size: 1.3rem; margin-top: .5em; }
.ag-card .price { margin: auto 0 0; padding-top: 10px; }
.ag-num { color: var(--accent); font-weight: 800; letter-spacing: .04em; }
.ag-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .ag-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .ag-steps { grid-template-columns: 1fr; } }
.ag-request { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 40px; align-items: start; }
@media (max-width: 920px) { .ag-request { grid-template-columns: 1fr; } }
.ag-more { display: flex; flex-wrap: wrap; gap: 10px; }
.ag-more .chip { min-height: 44px; }
label > input, label > textarea, label > select { font-weight: 400; }
.topbar-phones { display: flex; flex-wrap: wrap; gap: 4px 18px; justify-content: flex-end; }
a[href^="tel:"] { white-space: nowrap; }

/* ---------- Kundenkonto: Privat / Firma ---------- */
.account-type { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.account-type legend { font-weight: 700; color: var(--heading); margin-bottom: 8px; padding: 0; }
.account-type .radio { display: inline-flex; flex-direction: row; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--chip); cursor: pointer; font-weight: 600; }
.account-type .radio:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, var(--surface)); color: var(--heading); }
.account-type .radio input { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; }
.company-fields { padding: 16px; border: 1px dashed color-mix(in srgb, var(--accent) 55%, var(--line)); border-radius: var(--radius-sm); background: color-mix(in srgb, var(--accent) 5%, transparent); }
.company-fields[hidden] { display: none; }
.company-fields p { margin: 0; align-self: end; }
.ag-footnote { margin: 16px 0 0; font-size: .82rem; color: var(--muted); max-width: 72ch; }
.hero .ag-footnote { color: var(--hero-muted); }
.ag-card .ag-price-alt { margin: 2px 0 0; }
.ag-option:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* ---------- Über uns ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.about-photo { margin: 0; position: sticky; top: 100px; }
.about-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.about-photo figcaption { display: flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--muted); font-size: .92rem; }
.about-photo figcaption .icon { width: 18px; height: 18px; color: var(--accent); flex: none; }
.about-text p { font-size: 1.06rem; line-height: 1.75; }
.about-text p:first-child { font-size: 1.18rem; color: var(--heading); }
.about-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 48px; }
.about-fact { margin: 0; display: flex; flex-direction: column; gap: 6px; border-top: 3px solid var(--accent); }
.about-fact strong { font-size: 1.35rem; color: var(--heading); }
.about-fact span { color: var(--muted); }
.about-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 28px; } .about-photo { position: static; } }

/* ---------- Lizenz erforderlich ---------- */
.license-card { text-align: left; }
.license-form { display: grid; gap: 12px; margin: 22px 0; }
.license-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; }
.license-form textarea { font-family: ui-monospace, Menlo, monospace; font-size: .85rem; word-break: break-all; }
.license-msg { padding: 12px 16px; border-radius: 12px; margin: 16px 0 0; }
.license-error { background: color-mix(in srgb, var(--bad) 16%, transparent); color: var(--bad); }
.license-ok { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
.license-request summary { cursor: pointer; font-weight: 700; color: var(--accent); margin-bottom: 14px; }

/* ---------- Marke (eigenes Logo oder Monogramm) & Social Media ---------- */
.brand-logo { display: block; width: auto; object-fit: contain; }
.brand-logo-small { height: 46px; max-width: 160px; }
.brand-logo-large { height: auto; max-height: 120px; max-width: 200px; }
.brand-mono { display: inline-grid; place-items: center; flex: none; border-radius: 14px; font-weight: 800; letter-spacing: .02em;
    background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #000)); color: var(--accent-ink); }
.brand-mono-small { width: 46px; height: 46px; font-size: 1.05rem; }
.brand-mono-large { width: 84px; height: 84px; font-size: 1.9rem; border-radius: 22px; }
.social { display: flex; gap: 8px; list-style: none; margin: 14px 0 0; padding: 0; flex-wrap: wrap; }
.social a { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--chip); color: var(--text); transition: background .2s, color .2s, transform .2s; }
.social a:hover { background: var(--accent); color: var(--accent-ink); transform: translateY(-2px); }
.social .icon { width: 18px; height: 18px; }
.social-top { display: inline-flex; margin: 0 0 0 10px; gap: 4px; vertical-align: middle; }
.social-top a { width: 26px; height: 26px; background: transparent; }
.social-top .icon { width: 15px; height: 15px; }
.contact-box .social { margin-top: 18px; }

/* ---------- Speisekarte ---------- */
.menu-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; position: sticky; top: 76px; z-index: 5; padding: 10px 0; background: var(--bg); }
.menu-cat { margin: 34px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--accent); scroll-margin-top: 140px; }
.menu-list { display: grid; gap: 12px; }
.menu-item { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; }
.menu-item.is-out { opacity: .55; }
.menu-thumb img { width: 84px; height: 84px; object-fit: cover; border-radius: 12px; display: block; }
.menu-item:not(:has(.menu-thumb)) { grid-template-columns: 1fr auto; }
.menu-text h3 { margin: 0 0 4px; font-size: 1.08rem; }
.menu-text h3 a { color: var(--heading); text-decoration: none; }
.menu-text p { margin: 0 0 6px; }
.menu-price { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; text-align: right; }
.menu-price form { margin: 0; }
.dish-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; font-size: .82rem; }
.dish-tag { padding: 2px 9px; border-radius: 99px; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--text); }
.dish-allergens { color: var(--muted); }
@media (max-width: 560px) { .menu-item { grid-template-columns: 1fr auto; } .menu-thumb { display: none; } }

/* ---------- Branchen-Designs (Startseiten) ---------- */
.hero-center { text-align: center; }
.hero-center .container { max-width: 920px; }
.hero-center .lead { margin-left: auto; margin-right: auto; }
.hero-center .hero-actions, .hero-center .hero-points { justify-content: center; }
.hero-clean::before { opacity: .45; }
/* Restaurant „Bistro“: warmes Licht, Serif-Überschrift */
.hero-bistro { background: radial-gradient(900px 500px at 80% 0%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 62%), radial-gradient(700px 420px at 0% 100%, rgba(120, 40, 20, .35), transparent 60%), var(--hero-bg); }
.hero-bistro h1, .hero-trattoria h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 700; letter-spacing: -.01em; }
.hero-bistro::before { background: radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent) 1.5px, transparent 2px) 0 0 / 28px 28px; animation: none; }
/* Restaurant „Trattoria“ */
.hero-trattoria { background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 14%, var(--bg)), var(--bg)); color: var(--heading); }
.hero-trattoria h1 { color: var(--heading); }
.hero-trattoria .lead, .hero-trattoria .hero-points { color: var(--muted); }
.hero-trattoria::before { display: none; }
.dish-board { max-width: 860px; margin: 0 auto; display: grid; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 30px; box-shadow: var(--shadow); }
.dish-line { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.dish-line:last-child { border-bottom: 0; }
.dish-line > div { display: flex; flex-direction: column; gap: 2px; max-width: 520px; }
.dish-line strong { color: var(--heading); font-size: 1.05rem; }
.dish-dots { border-bottom: 2px dotted color-mix(in srgb, var(--muted) 50%, transparent); transform: translateY(-6px); }
/* Restaurant „Bestellen & Liefern“ */
.hero-order { background: radial-gradient(1000px 560px at 10% 0%, color-mix(in srgb, var(--accent) 60%, transparent), transparent 65%), radial-gradient(700px 400px at 100% 100%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 60%), var(--hero-bg); }
.order-steps .steps-list li { font-weight: 600; }
.cat-strip { display: flex; gap: 8px; flex-wrap: wrap; margin-top: -26px; position: relative; z-index: 2; }
.cat-strip .chip { background: var(--surface); box-shadow: var(--shadow); }
/* Handwerk */
.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .steps-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps-4 { grid-template-columns: 1fr; } }
.fact-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: -34px; position: relative; z-index: 2; }
.fact-strip > div { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 4px; }
.fact-strip strong { font-size: 1.2rem; color: var(--heading); }
.fact-strip span { color: var(--muted); font-size: .92rem; }
.ref-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 14px; }
.ref-tile { position: relative; border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, var(--surface-2), color-mix(in srgb, var(--accent) 22%, var(--surface))); display: grid; place-items: center; color: var(--accent); text-decoration: none; }
.ref-tile-big { grid-column: span 2; grid-row: span 2; }
.ref-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.ref-tile:hover img { transform: scale(1.05); }
.ref-tile .placeholder { background: none; }
.ref-tile .placeholder .icon { width: 64px; height: 64px; }
.ref-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; background: linear-gradient(transparent, rgba(0, 0, 0, .72)); color: #fff; display: flex; flex-direction: column; }
.ref-caption small { opacity: .85; }
@media (max-width: 860px) { .ref-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; } }
.service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 34px; }
.service-line { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.service-line h3 { margin: 0 0 4px; font-size: 1.08rem; }
.service-line p { margin: 0; }
@media (max-width: 760px) { .service-list { grid-template-columns: 1fr; } }
.hero-regional { background: radial-gradient(900px 620px at 100% 100%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 62%), var(--hero-bg); }
.hero-form { gap: 12px 14px; }
.hero-form h2 { margin: 0; }
.hero-form label { display: flex; flex-direction: column; gap: 5px; font-weight: 700; font-size: .88rem; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.btn-block { width: 100%; justify-content: center; }
.hero-card .btn-block + .btn-block { margin-top: 8px; }

/* ---------- Digitale Rechnung für den Gast ---------- */
.guest-invoice { text-align: center; }
.guest-invoice-data { display: grid; grid-template-columns: auto auto; justify-content: center; gap: 6px 18px; margin: 18px 0 24px; text-align: left; }
.guest-invoice-data dt { color: var(--muted); }
.guest-invoice-data dd { margin: 0; font-weight: 700; color: var(--heading); }
.guest-invoice .social { justify-content: center; margin: 18px 0; }

/* ---------- Tisch-Seite (QR-Aufkleber) ---------- */
.guest-items { list-style: none; padding: 0; margin: 14px 0; text-align: left; }
.guest-items li { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.guest-total { display: flex; justify-content: space-between; font-size: 1.25rem; margin: 10px 0 4px; color: var(--heading); }
.guest-items strong, .guest-total strong { white-space: nowrap; }

/* Hinweis-Knopf über der Startseiten-Überschrift (Call to Action) */
.hero-badge { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 1.1em; padding: 9px 16px 9px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: .95rem; letter-spacing: .01em; text-decoration: none; box-shadow: 0 8px 26px -8px var(--accent); transition: transform .2s, box-shadow .2s; max-width: 100%; }
.hero-badge:hover, .hero-badge:focus-visible { transform: translateY(-2px); box-shadow: 0 12px 30px -8px var(--accent); color: var(--accent-ink); }
.hero-badge-dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; flex: none; animation: badgePulse 1.8s ease-out infinite; }
.hero-badge-arrow { transition: transform .2s; }
.hero-badge:hover .hero-badge-arrow { transform: translateX(3px); }
@keyframes badgePulse { 0% { box-shadow: 0 0 0 0 currentColor; } 70%, 100% { box-shadow: 0 0 0 7px transparent; } }
@media (prefers-reduced-motion: reduce) { .hero-badge-dot { animation: none; } }
