/* =========================================================
   MB-Boxenstopp – Designsystem 2026
   Baut auf css/style.css auf (Grundlayout der bisherigen Seite:
   feste Sidebar links, Inhalt rechts).
   Farben aus dem Logo: Blau #25529f, Schwarz #070a09.
   Smart-Optimizer, Oktober 2026
   ========================================================= */

:root {
    /* Farben – nur Markenblau + kühle Neutraltöne */
    --blue: #25529f;
    --blue-600: #204890;
    --blue-700: #1b3d7a;
    --navy: #1b1d22;
    --navy-2: #24272d;
    --blue-50: #f0f1f3;
    --blue-100: #e2e4e8;
    --ink: #18191c;
    --text: #4b4e55;
    --muted: #80838a;
    --line: #e7e8eb;
    --soft: #f5f5f6;
    --white: #ffffff;
    --star: #f2b01e;

    /* Raster & Abstände (8er-System) */
    --wrap: 920px;
    --gap: 24px;
    --sec-y: 112px;
    --r-lg: 14px;
    --r-md: 10px;
    --r-sm: 6px;

    --shadow-sm: 0 1px 2px rgba(20, 22, 26, 0.06), 0 2px 8px rgba(20, 22, 26, 0.05);
    --shadow-md: 0 18px 40px -18px rgba(20, 22, 26, 0.35);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);

    /* Zielflagge aus dem Logo */
    --checker: conic-gradient(var(--blue) 25%, transparent 0 50%, var(--blue) 0 75%, transparent 0) 0 0 / 12px 12px;
}

/* ---------- Basis ---------- */
html { scroll-behavior: smooth; }
body, input, select, textarea { color: var(--text); font-size: 16px; line-height: 1.7; }
body { background: var(--white); }
p { font-size: 1.0625rem; line-height: 1.75; margin: 0 0 1.25em; max-width: 64ch; text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
a:hover, a:focus { color: var(--blue-700); }
::selection { background: var(--blue-100); color: var(--ink); }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--blue); color: #fff; padding: 0.7em 1.1em; border-radius: var(--r-sm); }
.skip-link:focus { left: 1rem; top: 1rem; color: #fff; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
    outline: 3px solid var(--blue) !important; outline-offset: 3px;
}

.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ico--fill { fill: currentColor; stroke: none; }

/* ---------- Sidebar (bisheriges Layout, mehr Luft) ---------- */
#header { padding: 5.5em 3.75em 4em; display: flex; flex-direction: column; align-items: flex-end; }
.vegas-overlay { background: rgba(20, 22, 26, 0.78) !important; }
#header .brand { display: block; width: 210px; margin: 0 0 2.4em; }
#header .brand img { width: 100%; height: auto; display: block; }
#header .side-label { color: #aeb9cf; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 0.35em; }
#header .side-name { color: #fff; font-size: 1.05rem; font-weight: 600; margin: 0 0 2em; }
#header .side-block { margin: 0 0 1.8em; text-align: right; }
#header .side-block p, #header .side-block a { color: #e3e8f2; font-size: 0.98rem; line-height: 1.85; margin: 0; max-width: none; }
#header .side-block a { display: inline-flex; align-items: center; gap: 0.55em; }
#header .side-block a:hover { color: #fff; }
#header .side-block .ico { opacity: 0.75; }
#header .side-hours dt { color: #fff; font-weight: 600; }
#header .side-hours { display: grid; grid-template-columns: auto auto; gap: 0.15em 1.2em; justify-content: end; margin: 0; font-size: 0.95rem; color: #e3e8f2; }
#header .side-hours dd { margin: 0; text-align: right; }

#footer { padding: 0 3.75em 2.6em 0; }
#footer .icons { margin: 0 0 1.1em; display: flex; justify-content: flex-end; gap: 14px; }
#footer .icons li { padding: 0; }
#footer .icons a { width: 40px; height: 40px; margin: 0; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
#footer .icons a:before { border-color: rgba(255,255,255,0.35); }
#footer .icons a:hover:before { background: var(--blue); border-color: var(--blue); }
#footer .icons .ico { position: relative; width: 17px; height: 17px; }
#footer .copyright { font-size: 0.78rem; line-height: 1.8; color: #c3cbdb; }
#footer .copyright a { color: #fff; }

/* ---------- Inhalt ---------- */
#main { padding: 0 4.5em 0 4.5em; }
@media (min-width: 1600px) { #main { padding-right: 4.5em; } }
#main > section { border-top: 0; margin: 0; padding: var(--sec-y) 0; }
#main > section + section { border-top: 1px solid var(--line); }
.wrap { max-width: var(--wrap); margin: 0 auto; }

.eyebrow {
    display: flex; align-items: center; gap: 12px; margin: 0 0 18px;
    font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue);
}
.eyebrow::before { content: ""; width: 24px; height: 12px; background: var(--checker); border-radius: 1px; }
.h2 { font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.35rem); line-height: 1.18; font-weight: 800; color: var(--ink); letter-spacing: -0.012em; margin: 0 0 22px; text-transform: none; }
.h2 span { color: var(--blue); }
.sec-head { margin-bottom: 44px; }
.sec-head p { color: var(--text); margin: 0; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
    border-radius: var(--r-sm); border: 2px solid transparent; font-family: "Raleway", Helvetica, sans-serif;
    font-size: 0.95rem; font-weight: 700; letter-spacing: 0.01em; line-height: 1; white-space: nowrap; cursor: pointer;
    transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn .ico { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
button.btn { display: inline-flex; height: auto; min-width: 0; line-height: 1; font-size: 0.95rem; }
.btn--primary, button.btn--primary { background: var(--blue); color: #fff !important; box-shadow: 0 12px 26px -12px rgba(37, 82, 159, 0.75); }
.btn--primary:hover { background: var(--blue-700); color: #fff !important; }
.btn--secondary { background: var(--white); color: var(--ink) !important; border-color: var(--line); }
.btn--secondary:hover { border-color: var(--blue); color: var(--blue) !important; }
.btn--light { background: #fff; color: var(--navy) !important; }
.btn--light:hover { background: var(--blue-50); color: var(--navy) !important; }
.btn--ghost-light { border-color: rgba(255,255,255,0.35); color: #fff !important; }
.btn--ghost-light:hover { border-color: #fff; color: #fff !important; }
.btn .wheel { transition: transform 0.6s var(--ease); }
.btn:hover .wheel { transform: rotate(180deg); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); }
.link-arrow .ico { transition: transform 0.25s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ---------- Hero ---------- */
#start { padding-top: 96px !important; }
.new-badge {
    position: relative; overflow: hidden; display: flex; width: fit-content; align-items: center; gap: 10px; margin-bottom: 28px;
    padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--blue-50); color: var(--navy) !important;
    font-size: 0.88rem; font-weight: 600;
}
.new-badge b { background: var(--blue); color: #fff; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; }
.new-badge .ico { transition: transform 0.25s var(--ease); }
.new-badge:hover .ico { transform: translateX(3px); }
.new-badge::after { content: ""; position: absolute; inset: 0; transform: translateX(-120%); background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,0.75) 50%, transparent 70%); animation: shimmer 4.5s 1.5s infinite; }
@keyframes shimmer { 0% { transform: translateX(-120%); } 30%, 100% { transform: translateX(120%); } }

.hero-h1 { font-size: clamp(2.25rem, 1.4rem + 2.6vw, 3.6rem); line-height: 1.06; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 26px; }
.hero-h1 .line { display: block; overflow: hidden; padding-bottom: 0.16em; margin-bottom: -0.16em; }
.hero-h1 .line > span { display: inline-block; }
.hero-h1 .accent { color: var(--blue); }
.hero-lead { font-size: 1.2rem; line-height: 1.7; color: var(--text); max-width: 40em; margin-bottom: 36px; }
.hero-lead strong { color: var(--ink); }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin: 0 0 40px; padding: 0; list-style: none; }
.stat { padding: 22px 0 0; border-top: 2px solid var(--ink); }
.stat b { display: block; font-size: 2.3rem; line-height: 1; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; margin-bottom: 10px; }
.stat b small { font-size: 0.62em; font-weight: 800; margin-left: 2px; }
.stat b .star { color: var(--star); font-size: 0.7em; vertical-align: 0.12em; margin-left: 4px; }
.stat > span { font-size: 0.92rem; line-height: 1.5; color: var(--muted); display: block; }
.stat b span { display: inline; font-size: inherit; color: inherit; }

.hero-media { position: relative; margin-top: 64px; display: grid; grid-template-columns: 1.6fr 1fr; gap: var(--gap); }
.hero-media figure { margin: 0; border-radius: var(--r-lg); overflow: hidden; position: relative; background: var(--soft); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4 / 3; transition: transform 1.2s var(--ease); }
.hero-media figure:hover img { transform: scale(1.04); }
.hero-media .tall img { aspect-ratio: auto; }

/* Reifenspur aus dem Logo als Gestaltungselement */
.tread { height: 14px; background: url("../img/reifenspur.svg") repeat-x 0 0 / auto 14px; opacity: 0.9; }
.tread--light { filter: brightness(0) invert(1); opacity: 0.25; }
.tread-divider { display: flex; align-items: center; gap: 18px; margin: 72px 0 0; }
.tread-divider .tread { flex: 1; opacity: 0.14; animation: roll 40s linear infinite; }
@keyframes roll { to { background-position: -560px 0; } }

/* ---------- Konfigurator ---------- */
.config {
    position: relative; overflow: hidden; border-radius: 20px; background: var(--navy); color: #d6deee;
    display: grid; grid-template-columns: 1fr; gap: 36px; padding: 56px;
}
.config::before { content: ""; position: absolute; right: -40px; top: -40px; width: 220px; height: 220px; background: conic-gradient(rgba(255,255,255,0.07) 25%, transparent 0 50%, rgba(255,255,255,0.07) 0 75%, transparent 0) 0 0 / 22px 22px; transform: rotate(12deg); }
.config .eyebrow { color: #9fb6e6; }
.config .eyebrow::before { background: conic-gradient(#9fb6e6 25%, transparent 0 50%, #9fb6e6 0 75%, transparent 0) 0 0 / 12px 12px; }
.config .h2 { color: #fff; }
.config .h2 span { color: #9fb6e6; }
.config p { color: #c9d3e6; }
.checklist { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.checklist li { position: relative; padding-left: 34px; font-size: 1rem; line-height: 1.55; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 62% no-repeat; }
.config .checklist li { color: #e6ecf7; }

.config-form { position: relative; z-index: 1; background: #fff; border-radius: var(--r-lg); padding: 32px; color: var(--text); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6); align-self: start; }
.config-form h3 { font-size: 1.15rem; font-weight: 800; color: var(--ink); margin: 0 0 6px; text-transform: none; letter-spacing: 0; }
.config-form > p { font-size: 0.95rem; margin: 0 0 22px; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 14px; align-items: end; margin-bottom: 6px; }
.field-row .btn { height: 54px; }
.field label { display: block; font-size: 0.8rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.field label small { font-weight: 500; color: var(--muted); }
.field input {
    width: 100%; height: 54px; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 0 14px;
    font-family: "Open Sans", sans-serif; font-size: 1.15rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); background: var(--soft);
    transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.field input:focus { border-color: var(--blue); background: #fff; outline: none; }
.field input[aria-invalid="true"] { border-color: #b4233a; }
.form-status { min-height: 1.5em; font-size: 0.9rem; line-height: 1.5; margin: 8px 0 4px; color: var(--muted); }
.form-status.is-ok { color: var(--blue); font-weight: 600; }
.form-status.is-error { color: #b4233a; }
.form-status a { font-weight: 700; }
.config-form .btn { width: 100%; }
.config .h2 { max-width: 16em; }
.kfz-hint { display: grid; grid-template-columns: 112px 1fr auto; gap: 16px; align-items: center; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.kfz-hint > img { width: 112px; height: auto; display: block; }
.kfz-hint p { font-size: 0.85rem; line-height: 1.55; margin: 0; color: var(--muted); }
.config-links { display: flex; flex-direction: column; gap: 8px; font-size: 0.92rem; }

/* ---------- Zwei-Stunden-USP ---------- */
.usp2 { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: center; }
.clock { position: relative; width: 260px; height: 260px; }
.clock svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.clock .track { fill: none; stroke: var(--blue-50); stroke-width: 14; }
.clock .prog { fill: none; stroke: var(--blue); stroke-width: 14; stroke-linecap: round; stroke-dasharray: 628; stroke-dashoffset: 628; transition: stroke-dashoffset 2.2s var(--ease); }
.clock.is-in .prog { stroke-dashoffset: 105; }
.clock .ticks { fill: none; stroke: var(--line); stroke-width: 2; stroke-dasharray: 2 24.2; }
.clock .label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.clock .label b { font-size: 3.6rem; line-height: 1; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.clock .label b small { font-size: 0.4em; margin-left: 4px; }
.clock .label span { font-size: 0.85rem; color: var(--muted); margin-top: 8px; line-height: 1.4; }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: 48px; }
.compare > div { border-radius: var(--r-lg); padding: 28px; }
.compare .before { background: var(--soft); }
.compare .after { background: var(--blue); color: #e8eefb; }
.compare h3 { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; margin: 0 0 18px; color: var(--muted); }
.compare .after h3 { color: #b9cbef; }
.compare ol { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; counter-reset: c; }
.compare li { counter-increment: c; display: flex; gap: 12px; align-items: baseline; font-size: 1rem; line-height: 1.5; }
.compare li::before { content: counter(c); flex: none; width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 800; background: #fff; color: var(--ink); transform: translateY(-1px); }
.compare .before li { color: var(--text); }
.compare .after li::before { background: rgba(255,255,255,0.18); color: #fff; }
.compare .result { display: flex; align-items: baseline; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.compare .after .result { border-top-color: rgba(255,255,255,0.22); }
.compare .result b { font-size: 1.6rem; font-weight: 800; color: var(--ink); line-height: 1; }
.compare .after .result b { color: #fff; }
.compare .result span { font-size: 0.92rem; color: var(--muted); }
.compare .after .result span { color: #c6d4f1; }
.compare .before li s { text-decoration-color: rgba(74,80,92,0.4); }

/* ---------- Showroom ---------- */
.showroom { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: start; }
.video-frame { position: relative; border-radius: 18px; overflow: hidden; background: var(--navy); aspect-ratio: 9 / 16; box-shadow: var(--shadow-md); }
.video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-badge { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 8px; background: rgba(20, 22, 26, 0.72); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 7px 11px; border-radius: 999px; backdrop-filter: blur(6px); }
.video-badge i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse 1.8s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.video-play { position: absolute; left: 14px; right: 14px; bottom: 14px; min-height: 48px; border: 0; border-radius: 999px; background: #fff; color: var(--ink); font-family: "Raleway", sans-serif; font-weight: 700; font-size: 0.9rem; display: inline-flex; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 10px 24px rgba(0,0,0,0.25); transition: background-color 0.25s var(--ease), color 0.25s var(--ease); }
.video-play .ico { color: var(--blue); }
.video-play:hover { background: var(--blue); color: #fff; }
.video-play:hover .ico { color: #fff; }
.video-frame.is-full .video-play, .video-frame.is-full .video-badge { display: none; }
.facts { list-style: none; padding: 0; margin: 32px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.facts li { background: var(--soft); border-radius: var(--r-md); padding: 18px 20px; font-size: 0.95rem; line-height: 1.5; }
.facts b { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 2px; }

/* Ansprechpartner */
.person { margin-top: 72px; display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: end; background: var(--soft); border-radius: 20px; overflow: hidden; padding: 0 40px 0 0; }
.person figure { margin: 0; align-self: stretch; position: relative; background: var(--blue); min-height: 300px; overflow: hidden; }
.person figure::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 56px; background: conic-gradient(rgba(255,255,255,0.14) 25%, transparent 0 50%, rgba(255,255,255,0.14) 0 75%, transparent 0) 0 0 / 14px 14px; }
.person figure img { position: absolute; left: 50%; bottom: 0; width: 112%; max-width: none; height: auto; transform: translateX(-50%); display: block; }
.person .txt { padding: 40px 0; }
.person blockquote { margin: 0 0 18px; padding: 0; border: 0; font-size: 1.35rem; line-height: 1.45; font-weight: 600; color: var(--ink); font-family: "Raleway", sans-serif; }
.person blockquote::before { content: "„"; color: var(--blue); }
.person blockquote::after { content: "“"; color: var(--blue); }
.person cite { display: block; font-style: normal; font-size: 0.95rem; color: var(--muted); margin-bottom: 22px; }
.person cite b { color: var(--ink); }

/* ---------- Leistungen (Bento) ---------- */
.bento { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto; gap: var(--gap); }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease), border-color 0.35s var(--ease); }
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: transparent; }
.card h3 { font-size: 1.25rem; font-weight: 800; color: var(--ink); margin: 0 0 10px; text-transform: none; letter-spacing: -0.005em; }
.card p { font-size: 1rem; margin: 0; }
.card .ico-badge { width: 46px; height: 46px; border-radius: 12px; background: var(--blue-50); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.card .ico-badge .ico { width: 24px; height: 24px; }
.card--feature { grid-row: span 2; padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card--feature img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform 1s var(--ease); }
.card--feature:hover img { transform: scale(1.04); }
.card--feature .card-body { padding: 30px; }

.products { margin-top: 56px; }
.products-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 20px; }
.products-head h3 { font-size: 1.1rem; font-weight: 800; color: var(--ink); margin: 0; text-transform: none; letter-spacing: 0; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.product { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; text-align: center; color: var(--ink) !important; transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease); }
.product:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.product img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; padding: 10px; background: #fff; display: block; transition: transform 0.9s var(--ease); }
.product:hover img { transform: rotate(-14deg) scale(1.03); }
.product span { display: block; padding: 14px 12px 18px; border-top: 1px solid var(--line); font-weight: 700; font-size: 0.98rem; }
.product small { display: block; font-weight: 500; color: var(--muted); font-size: 0.82rem; margin-top: 2px; }

/* ---------- Split-Blöcke ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--rev > :first-child { order: 2; }
.split figure { margin: 0; border-radius: var(--r-lg); overflow: hidden; }
.split figure img { width: 100%; display: block; aspect-ratio: 4 / 5; object-fit: cover; }
.chips { list-style: none; padding: 0; margin: 26px 0 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { font-size: 0.9rem; font-weight: 600; color: var(--navy); background: var(--blue-50); padding: 8px 14px; border-radius: 999px; }
.mini-products { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.mini-products .product img { aspect-ratio: 1 / 1; }
.brandline { font-size: 0.92rem; color: var(--muted); }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 120px; gap: 14px; }
.gallery a { position: relative; display: block; overflow: hidden; border-radius: var(--r-md); background: var(--soft); }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.9s var(--ease), filter 0.5s var(--ease); }
.gallery a:hover img { transform: scale(1.06); }
.gallery a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,22,26,0.35), transparent 50%); opacity: 0; transition: opacity 0.4s var(--ease); }
.gallery a:hover::after { opacity: 1; }
.g1 { grid-column: span 4; grid-row: span 3; }
.g2 { grid-column: span 2; grid-row: span 3; }
.g3 { grid-column: span 2; grid-row: span 2; }
.g4 { grid-column: span 2; grid-row: span 2; }
.g5 { grid-column: span 2; grid-row: span 2; }
.gallery-note { margin-top: 18px; font-size: 0.92rem; color: var(--muted); }

/* ---------- Bewertungen ---------- */
.score-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.score { display: flex; align-items: center; gap: 18px; }
.score b { font-size: 3.4rem; line-height: 1; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.score .stars { color: var(--star); font-size: 1.25rem; letter-spacing: 0.12em; display: block; }
.score span { font-size: 0.95rem; color: var(--muted); }
.marquee { position: relative; overflow: hidden; margin: 0 -4.5em; padding: 6px 0 10px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: var(--gap); width: max-content; animation: marquee 70s linear infinite; padding-left: 4.5em; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.review { flex: none; width: 360px; margin: 0; background: var(--soft); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; }
.review .stars { color: var(--star); letter-spacing: 0.12em; font-size: 0.95rem; margin-bottom: 14px; display: block; }
.review blockquote { margin: 0 0 20px; padding: 0; border: 0; font-size: 1rem; line-height: 1.65; color: var(--ink); }
.review figcaption { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; color: var(--muted); }
.review figcaption i { width: 38px; height: 38px; border-radius: 50%; background: var(--blue); color: #fff; font-style: normal; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.review figcaption b { display: block; color: var(--ink); font-size: 0.95rem; }
.review--highlight { background: var(--navy); }
.review--highlight blockquote, .review--highlight figcaption b { color: #fff; }
.review--highlight figcaption { color: #b9c6e0; }

/* ---------- Marken ---------- */
.brand-group { margin-top: 36px; }
.brand-group h3 { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.brand-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.brand-grid li { list-style: none; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); aspect-ratio: 18 / 7; padding: 10px; transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.brand-grid { padding: 0; margin: 0; }
.brand-grid img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: 0.72; transition: filter 0.3s var(--ease), opacity 0.3s var(--ease); }
.brand-grid li:hover { border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.brand-grid li:hover img { filter: none; opacity: 1; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 24px 56px 24px 0; font-size: 1.1rem; font-weight: 700; color: var(--ink); line-height: 1.45; transition: color 0.2s var(--ease); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2325529f' stroke-width='2.4' stroke-linecap='round' d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform 0.35s var(--ease), background-color 0.25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--blue); }
.faq .faq-a { padding: 0 56px 22px 0; }
.faq .faq-a p { margin: 0; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.contact-card { background: var(--soft); border-radius: var(--r-lg); padding: 28px; }
.contact-card h3 { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.contact-card p, .contact-card a { font-size: 1.05rem; line-height: 1.8; margin: 0; color: var(--ink); }
.contact-card a { display: inline-flex; align-items: center; gap: 10px; }
.contact-card a:hover { color: var(--blue); }
.contact-card .ico { color: var(--blue); }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; margin: 0; font-size: 1.05rem; color: var(--ink); }
.hours dt { font-weight: 700; }
.hours dd { margin: 0; }
.contact .btn-row { grid-column: 1 / -1; margin-top: 8px; }
.legal-links { margin-top: 40px; font-size: 0.92rem; }
.legal-links a { color: var(--muted); text-decoration: underline !important; text-underline-offset: 3px; }

/* ---------- Schwebende Aktionen (Desktop) ---------- */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 150; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fab-config { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 22px 0 8px; border-radius: 999px; background: var(--blue); color: #fff !important; font-weight: 700; font-size: 0.95rem; box-shadow: 0 16px 32px -14px rgba(20, 22, 26, 0.75); transition: transform 0.3s var(--ease), background-color 0.3s var(--ease); }
.fab-config:hover { transform: translateY(-2px); background: var(--blue-700); color: #fff !important; }
.fab-config .flag { width: 38px; height: 38px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; color: var(--blue); }
.fab-config .flag .ico { width: 20px; height: 20px; }
.fab-config:hover .wheel { transform: rotate(180deg); }
.fab-config .wheel { transition: transform 0.6s var(--ease); }
.fab-wa { width: 54px; height: 54px; border-radius: 50%; background: #fff; color: var(--navy) !important; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 12px 28px -12px rgba(20, 22, 26, 0.55); border: 1px solid var(--line); transition: transform 0.3s var(--ease), color 0.3s var(--ease); }
.fab-wa .ico { width: 26px; height: 26px; }
.fab-wa:hover { transform: translateY(-2px); color: var(--blue) !important; }
.fab { opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.fab.is-visible { opacity: 1; transform: none; pointer-events: auto; }

.progress { position: fixed; top: 0; left: 35%; right: 0; height: 3px; z-index: 300; background: transparent; }
.progress span { display: block; height: 100%; width: 100%; background: var(--blue); transform-origin: 0 50%; transform: scaleX(0); }

.mobile-bar { display: none; }

/* ---------- Animationen ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
[data-reveal].is-in { opacity: 1; transform: none; }
.hero-h1 .line > span { transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 110ms + 150ms); }
.is-ready .hero-h1 .line > span { transform: none; }
.no-js [data-reveal], .no-io [data-reveal] { opacity: 1; transform: none; }
.no-js .hero-h1 .line > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
    [data-reveal] { opacity: 1; transform: none; }
    .hero-h1 .line > span { transform: none; }
    .marquee { overflow-x: auto; }
}

/* ---------- Responsive ---------- */
@media only screen and (max-width: 1440px) {
    :root { --sec-y: 96px; }
    #main { padding: 0 3.5em; }
    .marquee { margin: 0 -3.5em; }
    .marquee-track { padding-left: 3.5em; }
    .config { padding: 44px; gap: 36px; }
}
@media only screen and (max-width: 1280px) {
    #header { padding: 4em 2.75em 3em; }
    #footer { padding: 0 2.75em 2em 0; }
    .config { grid-template-columns: 1fr; }
    .showroom { grid-template-columns: 250px 1fr; gap: 40px; }
    .usp2 { grid-template-columns: 200px 1fr; gap: 40px; }
    .clock { width: 200px; height: 200px; }
    .clock .label b { font-size: 2.8rem; }
    .person { grid-template-columns: 200px 1fr; }
}
@media only screen and (min-width: 1025px) and (max-height: 860px) {
    #header { padding-top: 3em; }
    #header .brand { width: 170px; margin-bottom: 1.6em; }
    #header .side-name { margin-bottom: 1.2em; }
    #header .side-block { margin-bottom: 1.1em; }
    #header .side-block p, #header .side-block a, #header .side-hours { font-size: 0.9rem; line-height: 1.7; }
    #footer { padding-bottom: 1.6em; }
}
@media only screen and (min-width: 1025px) and (max-height: 720px) {
    #footer .copyright { display: none; }
    #header .side-hours-wrap { display: none; }
}
@media only screen and (max-width: 1024px) {
    #header { align-items: center; padding: 3.5em 2em 3em; }
    #header .brand { width: 180px; margin-bottom: 1.6em; }
    #header .side-block { text-align: center; }
    #header .side-hours { justify-content: center; }
    #header .side-hours dd { text-align: left; }
    #main { padding: 0 2.5em 5.5em; }
    .marquee { margin: 0 -2.5em; }
    .marquee-track { padding-left: 2.5em; }
    #footer { padding: 2.5em 1.5em 7em; text-align: center; }
    #footer .icons { justify-content: center; }
    .progress { left: 0; }
    .fab { display: none; }
    .scroll-top, .arrows-part { display: none !important; }
    .mobile-bar {
        display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
        background: rgba(255,255,255,0.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
        padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    }
    .mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 54px; border-radius: var(--r-md); font-weight: 700; font-size: 12px; color: var(--ink) !important; background: var(--soft); }
    .mobile-bar a .ico { width: 22px; height: 22px; }
    .mobile-bar a.is-primary { background: var(--blue); color: #fff !important; flex-direction: row; gap: 8px; font-size: 14px; }
}
@media only screen and (max-width: 860px) {
    :root { --sec-y: 72px; --gap: 16px; }
    .stats { grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
    .stat b { font-size: 1.7rem; }
    .hero-media { grid-template-columns: 1fr; margin-top: 44px; }
    .hero-media .tall { display: none; }
    .config { padding: 28px 20px; border-radius: 16px; }
    .config-form { padding: 22px; }
    .checklist { grid-template-columns: 1fr; }
    .field-row { grid-template-columns: 1fr 1fr; }
    .field-row .btn { grid-column: 1 / -1; }
    .kfz-hint { grid-template-columns: 96px 1fr; }
    .config-links { grid-column: 1 / -1; }
    .usp2 { grid-template-columns: 1fr; justify-items: start; gap: 28px; }
    .compare { grid-template-columns: 1fr; }
    .showroom { grid-template-columns: 1fr; }
    .video-frame { max-width: 320px; }
    .person { grid-template-columns: 1fr; padding: 0; }
    .person figure { min-height: 300px; }
    .person figure img { width: auto; height: 100%; }
    .person .txt { padding: 28px 24px 32px; }
    .bento { grid-template-columns: 1fr; }
    .card--feature { grid-row: auto; }
    .split, .split--rev { grid-template-columns: 1fr; gap: 32px; }
    .split--rev > :first-child { order: 0; }
    .split figure img { aspect-ratio: 4 / 3; }
    .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
    .g1 { grid-column: span 2; grid-row: span 2; }
    .g2, .g3, .g4, .g5 { grid-column: span 1; grid-row: span 2; }
    .brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .contact { grid-template-columns: 1fr; }
    .review { width: 300px; }
}
@media only screen and (max-width: 560px) {
    #main { padding: 0 1.25em 5.5em; }
    .marquee { margin: 0 -1.25em; }
    .marquee-track { padding-left: 1.25em; }
    #header { padding: 3em 1.25em 2.5em; }
    #header .side-hours-wrap { display: none; }
    #start { padding-top: 56px !important; }
    .hero-lead { font-size: 1.08rem; }
    .stats { grid-template-columns: 1fr; gap: 0; }
    .stat { display: flex; align-items: baseline; gap: 14px; padding: 16px 0; border-top-width: 1px; border-color: var(--line); }
    .stat:first-child { border-top: 2px solid var(--ink); }
    .stat b { font-size: 1.6rem; margin: 0; min-width: 3.4em; }
    .btn-row .btn { width: 100%; }
    .field-row { grid-template-columns: 1fr 1fr; gap: 10px; }
    .kfz-hint { grid-template-columns: 88px 1fr; }
    .kfz-hint > img { width: 88px; }
    .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .product span { font-size: 0.9rem; }
    .facts { grid-template-columns: 1fr; }
    .faq summary { font-size: 1rem; padding-right: 48px; }
    .faq .faq-a { padding-right: 0; }
    .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .clock { width: 170px; height: 170px; }
    .clock .label b { font-size: 2.4rem; }
    .compare > div { padding: 22px; }
}

/* ---------- Rechtstexte ---------- */
.legal-page #main > section { padding-top: 96px; }
.legal-page .legal-h { font-size: 1.15rem; font-weight: 800; text-transform: none; letter-spacing: 0; color: var(--ink); margin: 2.2em 0 0.6em; }
.legal-page #main p, .legal-list li { font-size: 1rem; }
.legal-list { margin: 0 0 1.6em 1.2em; list-style: disc; }
.legal-list li { margin-bottom: 0.6em; line-height: 1.7; color: var(--text); max-width: 64ch; }

/* Mobile: Overlay der Sidebar sicher über dem Hintergrundbild, Footer in Markenfarbe */
@media only screen and (max-width: 1024px) {
    #header { position: relative; overflow: hidden; }
    #header .vegas-overlay { position: absolute !important; inset: 0; height: 100% !important; }
    #header > :not(.vegas-slide):not(.vegas-overlay):not(.vegas-timer):not(.vegas-wrapper) { position: relative; z-index: 2; }
    #header .vegas-slide { z-index: 0; }
    #header .vegas-overlay { z-index: 1; }
    #header { padding-top: 2.5em; padding-bottom: 2.25em; }
    #header .side-name { margin-bottom: 1.2em; }
    #header .side-block { margin-bottom: 1.1em; }
    #footer { background: var(--navy); }
}

/* Fokus-/Aktivzustände des alten Themes (rote Rahmen) neutralisieren */
button.btn:focus, button.btn:active { border-color: transparent; box-shadow: none; }
button.btn--primary:focus, button.btn--primary:active { color: #fff; }


/* =========================================================
   Farbsystem 2026 (08.10.2026, Runde 3)
   Weiß als Grundfläche, Hellgrau für Karten, Anthrazit für Text,
   Sidebar und Footer. Markenblau #25529f ist die Aktionsfarbe:
   Buttons, Konfigurator-Fläche, NEU-Kennzeichnung, Uhr-Ring,
   Fortschrittsbalken. Ein heller Blauton (--tint) verbindet die
   Akzente ton-in-ton. Überschriften und Eyebrows bleiben neutral.
   WhatsApp erscheint im Original-Grün, aber nur als Zeichen.
   ========================================================= */
:root {
    --tint: #eef2f9; --tint-line: #d9e1ef;
    --dark: #1e2025; --dark-hover: #33363d;
    --wa: #25d366;
    --checker: conic-gradient(#b5b7bc 25%, transparent 0 50%, #b5b7bc 0 75%, transparent 0) 0 0 / 12px 12px;
}
.vegas-overlay { background: rgba(28, 30, 35, 0.74) !important; }
#header .side-label { color: #a7a9ae; }
#header .side-block p, #header .side-block a, #header .side-hours { color: #e6e7e9; }
#footer .copyright { color: #b9bbc0; }
@media only screen and (max-width: 1024px) { #footer { background: var(--dark); } }

/* Typografie neutral */
.eyebrow { color: var(--muted); }
.h2 span, .hero-h1 .accent { color: inherit; }

/* Links */
a, .link-arrow { color: var(--ink); }
.link-arrow { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 5px; text-decoration-thickness: 2px; }
.link-arrow:hover { color: var(--ink); text-decoration-color: var(--blue); }
.gallery-note a, .card p a, .faq-a a { color: var(--ink); text-decoration: underline !important; text-underline-offset: 3px; text-decoration-color: var(--blue) !important; }
.faq summary:hover, .contact-card a:hover { color: var(--blue); }
.faq summary::after { background-color: var(--soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2318191c' stroke-width='2.4' stroke-linecap='round' d='M12 6v12M6 12h12'/%3E%3C/svg%3E"); }

/* Buttons: eine Aktionsfarbe für alle Haupt-Buttons */
.btn--primary, button.btn--primary, .btn--accent, button.btn--accent { background: var(--blue); color: #fff !important; box-shadow: 0 12px 24px -14px rgba(37, 82, 159, 0.7); }
.btn--primary:hover, button.btn--primary:hover, .btn--accent:hover, button.btn--accent:hover { background: var(--blue-700); color: #fff !important; }
button.btn--accent:focus, button.btn--accent:active { color: #fff; border-color: transparent; }
.btn--secondary { background: #fff; }
.btn--secondary:hover { border-color: var(--ink); color: var(--ink) !important; }

/* NEU-Kennzeichnung */
.new-badge { background: var(--tint); color: var(--ink) !important; border: 1px solid var(--tint-line); }

/* Konfigurator: Markenblau mit Zielflagge aus dem Logo */
.config { background: linear-gradient(140deg, #2b5bab 0%, #25529f 45%, #1d4688 100%); color: #dfe7f5; }
.config::before {
    right: 0; top: 0; width: 420px; height: 300px; transform: none; opacity: 1;
    background: conic-gradient(rgba(255,255,255,0.2) 25%, transparent 0 50%, rgba(255,255,255,0.2) 0 75%, transparent 0) 0 0 / 28px 28px;
    -webkit-mask-image: radial-gradient(ellipse 100% 100% at 100% 0%, #000 0%, rgba(0,0,0,0.5) 45%, transparent 75%);
    mask-image: radial-gradient(ellipse 100% 100% at 100% 0%, #000 0%, rgba(0,0,0,0.5) 45%, transparent 75%);
}
.config .eyebrow { color: #c9d6ef; }
.config .eyebrow::before { background: conic-gradient(#c9d6ef 25%, transparent 0 50%, #c9d6ef 0 75%, transparent 0) 0 0 / 12px 12px; }
.config .h2 { color: #fff; }
.config p { color: #dbe4f4; }
.config .checklist li { color: #fff; }
.config .checklist li::before { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2325529f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 62% no-repeat; }
.config-form { box-shadow: 0 30px 60px -28px rgba(10, 25, 60, 0.65); }
.config .h2 span { color: inherit; }
.config .config-form > p { color: var(--muted); }
.config .kfz-hint p { color: var(--text); }
.checklist li::before { background-color: var(--blue); }

/* Zwei-Stunden-Vergleich: "Bei MB-Boxenstopp" ton-in-ton */
.compare .after { background: var(--tint); color: var(--text); border: 1px solid var(--tint-line); }
.compare .after h3 { color: var(--blue); }
.compare .after li::before { background: var(--blue); color: #fff; }
.compare .after .result { border-top-color: var(--tint-line); }
.compare .after .result b { color: var(--blue); }
.compare .after .result span { color: var(--muted); }

/* Ansprechpartner, Bewertungen, Karten */
.person blockquote::before, .person blockquote::after { color: var(--blue); }
.review figcaption i { background: var(--tint); color: var(--blue); }
.review--highlight { background: var(--tint); border: 1px solid var(--tint-line); }
.review--highlight blockquote, .review--highlight figcaption b { color: var(--ink); }
.review--highlight figcaption { color: var(--muted); }
.review--highlight figcaption i { background: var(--blue); color: #fff; }
.card .ico-badge { background: var(--tint); color: var(--blue); }
.chips li { background: var(--soft); color: var(--ink); border: 1px solid var(--line); }
.contact-card .ico { color: var(--muted); }
.video-badge { background: rgba(20, 22, 26, 0.7); }
.video-play .ico { color: var(--blue); }
.video-play:hover { background: var(--blue); }
.form-status.is-ok { color: var(--blue); }
.progress span { background: var(--blue); }

/* WhatsApp: Original-Zeichen in Grün */
.ico--wa { color: var(--wa); }
.btn--primary .ico--wa, .btn--accent .ico--wa { color: #fff; }
.btn .ico--wa { width: 22px; height: 22px; }
.contact-card .ico--wa { color: var(--wa); }

/* Schwebende Aktionen */
.fab { gap: 14px; }
.fab-config { height: 62px; padding: 0 26px 0 10px; font-size: 1rem; }
.fab-config .flag { width: 44px; height: 44px; }
.fab-config .flag .ico { width: 24px; height: 24px; }
.fab-wa { width: 62px; height: 62px; background: var(--wa); color: #fff !important; border: 0; box-shadow: 0 14px 30px -12px rgba(18, 120, 60, 0.55); }
.fab-wa .ico { width: 34px; height: 34px; color: #fff; }
.fab-wa:hover { color: #fff !important; transform: translateY(-2px) scale(1.04); }
.mobile-bar a .ico { width: 24px; height: 24px; }
.mobile-bar a .ico--wa { color: var(--wa); }

/* =========================================================
   Sidebar neu aufgeteilt + Social Media präsenter (08.10.2026)
   ========================================================= */
#footer { padding: 0 3.75em 2.6em 0; }
#footer .copyright { max-width: none; margin: 0; text-align: right; }
#footer .icons.social { display: flex; justify-content: flex-end; gap: 12px; margin: 0 0 1.4em; padding: 0; }
#footer .icons.social li { padding: 0; }
#footer .icons.social a {
    width: 52px; height: 52px; margin: 0; border-radius: 14px; background: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 20px -10px rgba(0,0,0,0.6); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
#footer .icons.social a::before { display: none; content: none; }
#footer .icons.social a:hover { transform: translateY(-3px); box-shadow: 0 14px 26px -12px rgba(0,0,0,0.7); }
#footer .icons.social img { width: 28px; height: 28px; display: block; }
#header .side-block:last-child { margin-bottom: 0; }

/* Ansprechpartner-Block ohne Porträt: Tresen-Foto */
.person figure { background: var(--dark); }
.person figure::before { display: none; }
.person figure img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; transform: none; left: 0; object-fit: cover; object-position: 30% 20%; }

@media only screen and (min-width: 1025px) and (max-height: 860px) {
    #footer .icons.social a { width: 44px; height: 44px; border-radius: 12px; }
    #footer .icons.social img { width: 24px; height: 24px; }
    #footer .icons.social { margin-bottom: 1em; }
}
@media only screen and (max-width: 1024px) {
    #footer { padding: 2.5em 1.5em 7em; }
    #footer .icons.social { justify-content: center; }
    #footer .copyright { text-align: center; }
}
@media only screen and (max-width: 860px) {
    .person figure { min-height: 240px; }
}

/* Platzhalter im Konfigurator ruhiger, damit "z. B. 1313" auch mobil ganz sichtbar ist */
.field input::placeholder { text-transform: none; letter-spacing: 0.02em; font-weight: 500; color: #9a9da3; }
/* TikTok-Originalzeichen ist hochformatig: optisch an die anderen Zeichen angleichen */
#footer .icons.social img[src*="tiktok"] { width: 26px; height: 28px; }

/* =========================================================
   Felgen-Popup (08.10.2026)
   Felge gleitet ein, danach zieht ein Lichtreflex über die
   Felgenfront (Maske = freigestellte Front aus img/felgen-dreh).
   Funktioniert unabhängig vom Fotowinkel.
   ========================================================= */
.product:hover img { transform: scale(1.04); }
.product { cursor: zoom-in; }
.rim-modal { width: min(920px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 22px; background: #fff; color: var(--text); box-shadow: 0 40px 90px -30px rgba(10, 20, 40, 0.55); overflow: auto; }
.rim-modal::backdrop { background: rgba(20, 22, 26, 0.62); backdrop-filter: blur(4px); }
.rim-modal[open] { animation: rimIn 0.45s var(--ease); }
@keyframes rimIn { from { opacity: 0; transform: translateY(18px) scale(0.97); } to { opacity: 1; transform: none; } }
.rim-body { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; }
.rim-stage { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; padding: 0; border: 0; background: #fff; cursor: pointer; overflow: hidden; }
.rim-stage img, .rim-shine { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.rim-shine {
    pointer-events: none; opacity: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.08) 44%, rgba(255,255,255,0.62) 50%, rgba(255,255,255,0.08) 56%, transparent 60%) 0 0 / 300% 100% no-repeat;
    background-position: 120% 0;
    -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
    mix-blend-mode: screen;
}
.rim-stage.is-playing .rim-base { animation: rimSettle 0.9s cubic-bezier(.2,.8,.2,1) both; }
.rim-stage.is-playing .rim-shine { animation: rimShine 1.3s 0.45s cubic-bezier(.4,0,.2,1) both; }
@keyframes rimSettle { from { opacity: 0; transform: translateX(-6%) scale(0.94); } to { opacity: 1; transform: none; } }
@keyframes rimShine { 0% { opacity: 1; background-position: 120% 0; } 85% { opacity: 1; } 100% { opacity: 0; background-position: -20% 0; } }
.rim-info { padding: 40px 40px 40px 8px; }
.rim-info h3 { font-size: 2rem; line-height: 1.1; font-weight: 800; color: var(--ink); margin: 0 0 10px; text-transform: none; letter-spacing: -0.01em; }
.rim-info #rim-desc { margin: 0 0 18px; color: var(--muted); }
.rim-note { font-size: 0.95rem; line-height: 1.6; margin: 0 0 26px; }
.rim-actions { display: flex; flex-direction: column; gap: 12px; }
.rim-actions .btn { width: 100%; justify-content: center; }
.rim-close { position: absolute; right: 14px; top: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.rim-close svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; }
.rim-close:hover { background: var(--soft); }
@media only screen and (max-width: 760px) {
    .rim-body { grid-template-columns: 1fr; }
    .rim-info { padding: 4px 22px 26px; }
    .rim-info h3 { font-size: 1.6rem; }
    .rim-stage { max-width: 420px; margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) { .rim-stage.is-playing .rim-base, .rim-stage.is-playing .rim-shine { animation: none; } }

/* Personenblock: Bild von Marek mit Chromfelge etwas breiter zeigen */
@media only screen and (min-width: 861px) { .person { grid-template-columns: 300px 1fr; } .person figure { min-height: 360px; } }
@media only screen and (max-width: 860px) { .person figure { min-height: 0; aspect-ratio: 4 / 5; } }

/* E-Mail als dritte Kontaktmöglichkeit (09.10.2026) */
.alt-contact { margin: 16px 0 0; font-size: 0.92rem; color: var(--muted); }
.alt-contact a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); white-space: nowrap; }
.alt-contact a:hover { text-decoration-color: var(--blue); }
.rim-mail { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 6px 0 0; font-size: 0.92rem; font-weight: 600; color: var(--ink) !important; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.rim-mail .ico { width: 18px; height: 18px; color: var(--muted); }
@media only screen and (max-width: 1024px) {
    .mobile-bar { grid-template-columns: 1fr 1fr 1fr 1.5fr; gap: 6px; padding-left: 8px; padding-right: 8px; }
    .mobile-bar a { font-size: 11.5px; }
    .mobile-bar a.is-primary { font-size: 13px; gap: 6px; }
}
@media only screen and (min-width: 861px) {
    .person .btn-row { gap: 10px; }
    .person .btn-row .btn { flex: 1 1 auto; padding-left: 18px; padding-right: 18px; gap: 8px; }
}

/* Sofort verfügbar: Online-Anzeigen (09.10.2026) */
#angebote .sec-head p { max-width: 62ch; margin-top: 14px; }
.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--gap); }
.offer-card { display: flex; flex-direction: column; gap: 8px; padding: 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); color: var(--text) !important; transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease), border-color 0.35s var(--ease); }
.offer-card[hidden] { display: none; }
a.offer-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: transparent; }
.offer-card--soft { background: var(--tint); border-color: var(--tint-line); }
.offer-kicker { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.offer-card strong { font-family: "Raleway", sans-serif; font-size: 1.3rem; font-weight: 800; color: var(--ink); line-height: 1.25; }
.offer-text { font-size: 0.98rem; line-height: 1.6; flex: 1; }
.offer-card .link-arrow { margin-top: 10px; align-self: flex-start; }
a.offer-card:hover .link-arrow { text-decoration-color: var(--blue); }
a.offer-card:hover .link-arrow .ico { transform: translateX(4px); }

/* Kanal-Logos in den Angebotskarten: Kleinanzeigen-Logo laut Markenrichtlinie (min. 140 px breit, Schutzzone 10 %) */
.offer-logo { display: block; width: 180px; margin: 0 0 18px; }
.offer-logo img { display: block; width: 100%; height: auto; }
.offer-kicker--plain { display: flex; align-items: center; height: 47px; margin: 0 0 18px; font-family: "Raleway", sans-serif; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.01em; text-transform: none; color: var(--ink); }
.offer-card .offer-kicker:not(.offer-kicker--plain) { margin-top: 0; }
.offer-card--soft .offer-kicker { display: flex; align-items: center; min-height: 47px; margin: 0 0 18px; }

/* ---------- Große Monitore & Ultrawide (49" 32:9, 5120x1440 / 3840x1080) ----------
   Ab 1800px wird die Inhaltsspalte breiter. Ab 2561px wird das Layout auf einen
   2560px-Rahmen begrenzt und mittig gesetzt: Sidebar und Inhalt bleiben in der
   Blickmitte des Curved-Monitors statt über 120 cm auseinanderzulaufen. */
@media only screen and (min-width: 1800px) {
    :root { --wrap: 1120px; }
}
@media only screen and (min-width: 2561px) {
    :root { --frame: 2560px; --gutter: calc((100vw - var(--frame)) / 2); --side: calc(var(--frame) * 0.35); }
    html { background: #121317; }
    body { background: #121317; }
    #header, #footer { left: var(--gutter); width: var(--side); }
    #header { overflow: hidden; }
    #header .vegas-overlay, #header .vegas-slide { position: absolute !important; inset: 0; height: 100% !important; }
    #main { margin-left: calc(var(--gutter) + var(--side)); width: calc(var(--frame) - var(--side)); box-shadow: 40px 0 80px -40px rgba(0, 0, 0, 0.6); }
    .progress { left: calc(var(--gutter) + var(--side)); right: var(--gutter); }
    .fab { right: calc(var(--gutter) + 28px); bottom: 28px; }
}

/* iPhone (viewport-fit=cover): Querformat – Inhalte nicht unter Dynamic Island / Rundungen */
@media only screen and (max-width: 1024px) {
    #main { padding-left: max(1.25em, env(safe-area-inset-left)); padding-right: max(1.25em, env(safe-area-inset-right)); }
    .mobile-bar { padding-left: max(8px, env(safe-area-inset-left)); padding-right: max(8px, env(safe-area-inset-right)); }
}
@media only screen and (min-width: 561px) and (max-width: 1024px) {
    #main { padding-left: max(2.5em, env(safe-area-inset-left)); padding-right: max(2.5em, env(safe-area-inset-right)); }
}
/* iPhone quer: Leiste flacher, damit mehr Inhalt sichtbar bleibt */
@media only screen and (max-width: 1024px) and (max-height: 500px) and (orientation: landscape) {
    .mobile-bar { padding-top: 6px; padding-bottom: calc(6px + env(safe-area-inset-bottom)); }
    .mobile-bar a { min-height: 40px; flex-direction: row; gap: 8px; font-size: 13px; }
    .mobile-bar a .ico { width: 20px; height: 20px; }
}

/* Termin-Leiste unter dem Vergleich "3 Termine vs. 1 Termin" */
.book-bar { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; padding: 24px 28px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; }
.book-bar__text { flex: 1 1 280px; }
.book-bar__text p { margin: 0; font-size: 1rem; line-height: 1.6; }
.book-bar .book-bar__title { font-weight: 800; color: var(--ink); font-size: 1.05rem; margin-bottom: 4px; }
.book-bar .btn-row { margin: 0; flex: 0 1 auto; gap: 10px; }
@media only screen and (max-width: 560px) {
    .book-bar { padding: 20px; }
    .book-bar .btn-row { width: 100%; }
    .book-bar .btn-row .btn { flex: 1 1 auto; justify-content: center; }
    .book-bar .btn-row .btn--primary { flex-basis: 100%; }
    .book-bar .btn-row .btn--secondary { flex: 1 1 0; width: auto; min-width: 0; }
}
/* eBay-Karte: Markenrichtlinie erlaubt Namen/Logo nicht als Link -> nur der Textlink ist klickbar */
.offer-card--ebay:has(.link-arrow:hover) { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: transparent; }
.offer-card .link-arrow { white-space: nowrap; }

/* KI-Hinweis am Foto (Art. 50 KI-VO, vorsorglich) */
.person figcaption.ai-note { position: absolute; left: 10px; bottom: 10px; z-index: 2; margin: 0; padding: 3px 9px; border-radius: 999px; background: rgba(20, 22, 26, 0.62); color: #fff; font-size: 11px; line-height: 1.4; letter-spacing: 0.01em; pointer-events: none; }
