/* =========================================================================
   Ruck Zuck Autoservice – Design-System
   Farben und Formen stammen vom Werkstattschild: tiefes Signalblau,
   autoPRO-Gelb als einziger Akzent, viel Weiß.
   ========================================================================= */

/* ------------------------------------------------------------- Schriften */
@font-face {
    font-family: 'Archivo';
    font-style: normal;
    font-weight: 100 900;
    font-stretch: 62% 125%;
    font-display: swap;
    src: url("../fonts/archivo-latin.de2f1fe81758.woff2") format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
        U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
        U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Archivo';
    font-style: normal;
    font-weight: 100 900;
    font-stretch: 62% 125%;
    font-display: swap;
    src: url("../fonts/archivo-latin-ext.589f7bc0fac4.woff2") format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
        U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
        U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
        U+A720-A7FF;
}
@font-face {
    font-family: 'DM Mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/dm-mono-400-latin.e1ed461ac183.woff2") format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
        U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
        U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'DM Mono';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/dm-mono-500-latin.c4598219c4b8.woff2") format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
        U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
        U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ---------------------------------------------------------------- Tokens */
:root {
    --weiss: #ffffff;
    --papier: #f4f6fa;
    --blau: #10357e;
    --blau-hell: #2a63d8;
    --blau-nebel: #e8eefb;
    --gelb: #ffc400;
    --tinte: #14171c;
    --grau: #656c7a;
    --linie: #e1e6f0;
    --gruen: #1a7f4b;
    --rot: #b3261e;

    --schrift: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --schrift-daten: 'DM Mono', ui-monospace, 'SF Mono', Menlo, monospace;

    --t-hero: clamp(2.25rem, 1.4rem + 2.8vw, 3.6rem);
    --t-h1: clamp(2rem, 1.3rem + 2.8vw, 3.25rem);
    --t-h2: clamp(1.65rem, 1.25rem + 1.7vw, 2.4rem);
    --t-h3: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
    --t-gross: 1.1875rem;
    --t-body: 1.0625rem;
    --t-klein: 0.9375rem;
    --t-mini: 0.8125rem;

    --schale: 1200px;
    --rand: clamp(1.25rem, 4vw, 2.5rem);
    --luft: clamp(3.5rem, 7vw, 6.5rem);

    --radius: 4px;
    --radius-gross: 10px;
    --schatten: 0 1px 2px rgba(16, 53, 126, 0.06), 0 8px 24px rgba(16, 53, 126, 0.07);
    --schatten-hoch: 0 2px 4px rgba(16, 53, 126, 0.08), 0 16px 40px rgba(16, 53, 126, 0.12);
}


/* --------------------------------------------------------------- Grundlage */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--weiss);
    color: var(--tinte);
    font-family: var(--schrift);
    font-size: var(--t-body);
    font-weight: 400;
    line-height: 1.65;
    font-variant-numeric: tabular-nums;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--blau-hell);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--blau);
}

:where(h1, h2, h3, h4) {
    font-weight: 800;
    font-stretch: 118%;
    line-height: 1.1;
    letter-spacing: -0.015em;
    margin: 0 0 0.5em;
    text-wrap: balance;
}

h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); }

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

:focus-visible {
    outline: 3px solid var(--blau-hell);
    outline-offset: 2px;
    border-radius: 2px;
}

.nur-screenreader {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.sprungmarke {
    position: absolute;
    left: var(--rand);
    top: -100px;
    z-index: 200;
    background: var(--blau);
    color: var(--weiss);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius);
    transition: top 0.15s;
}

.sprungmarke:focus {
    top: 0.75rem;
    color: var(--weiss);
}


/* ----------------------------------------------------------------- Raster */
.schale {
    width: 100%;
    max-width: var(--schale);
    margin-inline: auto;
    padding-inline: var(--rand);
}

.schale-schmal {
    max-width: 820px;
}

.abschnitt {
    padding-block: var(--luft);
}

.abschnitt-papier {
    background: var(--papier);
}

.abschnitt-blau {
    background: var(--blau);
    color: var(--weiss);
}

.abschnitt-blau :where(h1, h2, h3) {
    color: var(--weiss);
}


/* -------------------------------------------------------------- Typografie */
/* Eyebrow: kurze Einordnung über der Überschrift, in Datenschrift gesetzt */
.marke {
    display: block;
    font-family: var(--schrift-daten);
    font-size: var(--t-mini);
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blau-hell);
    margin-bottom: 0.9rem;
}

.abschnitt-blau .marke {
    color: var(--gelb);
}

.vorspann {
    font-size: var(--t-gross);
    color: var(--grau);
    max-width: 62ch;
}

.abschnitt-blau .vorspann {
    color: rgba(255, 255, 255, 0.82);
}

.kopfzeile {
    max-width: 62ch;
    margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.daten {
    font-family: var(--schrift-daten);
    font-variant-numeric: tabular-nums;
}


/* ----------------------------------------------------------------- Knöpfe */
.knopf {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 1.6rem;
    border: 2px solid transparent;
    border-radius: var(--radius);
    background: var(--blau);
    color: var(--weiss);
    font-family: inherit;
    font-size: var(--t-klein);
    font-weight: 700;
    font-stretch: 108%;
    letter-spacing: 0.02em;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s, transform 0.15s, border-color 0.15s, color 0.15s;
}

.knopf:hover {
    background: #0c2a66;
    color: var(--weiss);
    transform: translateY(-1px);
}

.knopf svg {
    width: 1.1em;
    height: 1.1em;
    flex: none;
}

.knopf-rand {
    background: transparent;
    border-color: var(--linie);
    color: var(--tinte);
}

.knopf-rand:hover {
    background: transparent;
    border-color: var(--blau);
    color: var(--blau);
}

.knopf-gelb {
    background: var(--gelb);
    color: var(--tinte);
}

.knopf-gelb:hover {
    background: #ecb400;
    color: var(--tinte);
}

.knopf-whatsapp {
    background: #25d366;
    color: #08351a;
}

.knopf-whatsapp:hover {
    background: #1fbb59;
    color: #08351a;
}

.knopf-weiss {
    background: var(--weiss);
    color: var(--blau);
}

.knopf-weiss:hover {
    background: var(--weiss);
    color: var(--blau);
}

.knopf-reihe {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Textlink mit Pfeil, für „weiterlesen“-Ziele */
.weiter {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 700;
    font-size: var(--t-klein);
    font-stretch: 108%;
    text-decoration: none;
    color: var(--blau-hell);
}

.weiter::after {
    content: '→';
    transition: transform 0.15s;
}

.weiter:hover::after {
    transform: translateX(4px);
}


/* ----------------------------------------------------------------- Karten */
.karten {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
}

.karte {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 1.75rem;
    background: var(--weiss);
    border: 1px solid var(--linie);
    border-radius: var(--radius-gross);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

a.karte:hover {
    border-color: var(--blau-nebel);
    box-shadow: var(--schatten);
    transform: translateY(-2px);
    color: inherit;
}

.karte h3 {
    margin: 0;
}

.karte p {
    color: var(--grau);
    font-size: var(--t-klein);
    margin: 0;
}

.karte-symbol {
    width: 2.75rem;
    height: 2.75rem;
    display: grid;
    place-items: center;
    border-radius: var(--radius);
    background: var(--blau-nebel);
    color: var(--blau);
    margin-bottom: 0.4rem;
}

.karte-symbol svg {
    width: 1.5rem;
    height: 1.5rem;
}

.karte .weiter {
    margin-top: auto;
    padding-top: 0.5rem;
}


/* ------------------------------------------------------------------ Schild
   Nachbau des Schilds an der Werkstattwand: weiße Tafel, blaue Trennlinie
   unter dem Titel, Leistungen als Aufzählung mit blauen Punkten. */
.schild {
    background: var(--weiss);
    border: 1px solid var(--linie);
    border-radius: var(--radius-gross);
    box-shadow: var(--schatten);
    padding: clamp(1.5rem, 3vw, 2.25rem);
}

.schild-kopf {
    font-size: var(--t-h3);
    font-weight: 800;
    font-stretch: 118%;
    color: var(--blau);
    padding-bottom: 0.85rem;
    border-bottom: 3px solid var(--blau);
    margin-bottom: 1.1rem;
}

.schild-liste {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.7rem;
}

.schild-liste li {
    display: flex;
    align-items: baseline;
    gap: 0.7rem;
    font-weight: 600;
}

.schild-liste li::before {
    content: '';
    flex: none;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--blau-hell);
    transform: translateY(-1px);
}

.schild-liste a {
    color: inherit;
    text-decoration: none;
}

.schild-liste a:hover {
    color: var(--blau-hell);
    text-decoration: underline;
}

.schild-fuss {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--linie);
    font-family: var(--schrift-daten);
    font-size: var(--t-klein);
    color: var(--blau);
}


/* -------------------------------------------------------------- Kopfleiste */
.kopf {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--linie);
}

.kopf-innen {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 76px;
}

.kopf-logo {
    flex: none;
    display: block;
    line-height: 0;
}

.kopf-logo img {
    height: 38px;
    width: auto;
}

.kopf-nav {
    order: 2;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: auto;
}

.kopf-nav a {
    padding: 0.55rem 0.8rem;
    border-radius: var(--radius);
    color: var(--tinte);
    font-size: var(--t-klein);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.kopf-nav a:hover {
    background: var(--papier);
    color: var(--blau);
}

.kopf-nav a[aria-current='page'] {
    color: var(--blau);
    box-shadow: inset 0 -3px 0 var(--gelb);
}

/* Höhere Spezifität als `.kopf-nav a`, sonst gewinnt dort die dunkle Textfarbe
   und die Nummer wäre auf dem blauen Knopf nicht lesbar. */
.kopf-tel {
    order: 3;
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.1rem;
    border-radius: var(--radius);
    background: var(--blau);
    color: var(--weiss);
    font-family: var(--schrift-daten);
    font-size: var(--t-klein);
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

.kopf-tel:hover {
    background: #0c2a66;
    color: var(--weiss);
}

.kopf-tel svg {
    width: 1rem;
    height: 1rem;
    flex: none;
}

.kopf-schalter {
    order: 4;
    display: none;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--linie);
    border-radius: var(--radius);
    background: var(--weiss);
    color: var(--tinte);
    cursor: pointer;
}

.kopf-schalter svg {
    width: 22px;
    height: 22px;
}

@media (max-width: 960px) {
    .kopf-schalter { display: inline-flex; }

    .kopf-nav {
        display: none;
        position: absolute;
        inset-inline: 0;
        top: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.5rem var(--rand) 1.25rem;
        background: var(--weiss);
        border-bottom: 1px solid var(--linie);
        box-shadow: var(--schatten);
    }

    .kopf-nav[data-offen='true'] { display: flex; }

    .kopf-nav a {
        padding: 0.9rem 0.25rem;
        border-bottom: 1px solid var(--linie);
        border-radius: 0;
        font-size: var(--t-body);
    }

    /* In der Kopfleiste bleibt nur das Symbol – die volle Nummer passt neben
       Logo und Menüschalter nicht mehr. Der Knopf trägt ein aria-label. */
    .kopf-tel {
        margin-left: 0;
        padding: 0.7rem;
    }

    .kopf-tel span { display: none; }

    .kopf-nav { margin-left: 0; }

    .kopf-logo img { height: 30px; }
}


/* ----------------------------------------------------------------- Fußzeile */
.fuss {
    background: var(--blau);
    color: rgba(255, 255, 255, 0.78);
    padding-block: clamp(3rem, 6vw, 4.5rem) 0;
    font-size: var(--t-klein);
}

.fuss-raster {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.fuss h2 {
    font-size: var(--t-mini);
    font-family: var(--schrift-daten);
    font-weight: 500;
    font-stretch: 100%;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gelb);
    margin-bottom: 1.1rem;
}

.fuss-logo {
    height: 34px;
    width: auto;
    margin-bottom: 1.1rem;
    background: var(--weiss);
    border-radius: var(--radius);
    padding: 0.4rem 0.6rem;
}

.fuss-liste {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.fuss a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
}

.fuss a:hover {
    color: var(--weiss);
    text-decoration: underline;
}

.fuss-zeiten {
    display: grid;
    grid-template-columns: auto auto;
    gap: 0.35rem 1rem;
    font-family: var(--schrift-daten);
}

.fuss-zeiten dt { color: rgba(255, 255, 255, 0.62); }
.fuss-zeiten dd { margin: 0; color: var(--weiss); }

.fuss-unten {
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
    padding-block: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
    font-size: var(--t-mini);
}

.fuss-unten nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}


/* ---------------------------------------------------------------- Meldungen */
.meldung {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    border-left: 4px solid;
    font-size: var(--t-klein);
    margin-bottom: 1.25rem;
}

.meldung-erfolg {
    background: #eaf6f0;
    border-color: var(--gruen);
    color: #135c37;
}

.meldung-fehler {
    background: #fdeceb;
    border-color: var(--rot);
    color: #8c1e18;
}


/* --------------------------------------------------------------- Bewegung */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* =========================================================================
   Startseite
   ========================================================================= */

.hero {
    background: var(--weiss);
}

.hero-innen {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: center;
    padding-block: clamp(2.75rem, 6vw, 5rem);
}

.hero-text h1 {
    font-size: var(--t-hero);
    font-stretch: 122%;
    letter-spacing: -0.025em;
    margin-bottom: 0.55em;
}

.hero-text .vorspann {
    margin-bottom: 2rem;
}

.hero-punkte {
    list-style: none;
    margin: 2.25rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.75rem;
    font-size: var(--t-klein);
    font-weight: 600;
    color: var(--grau);
}

.hero-punkte li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-punkte svg {
    width: 1.05rem;
    height: 1.05rem;
    flex: none;
    color: var(--blau-hell);
}

/* Bildband unter dem Hero: das Gebäude in voller Breite, flach beschnitten. */
.hero-band {
    height: clamp(180px, 26vw, 340px);
    overflow: hidden;
}

.hero-band img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 62%;
}

@media (max-width: 900px) {
    .hero-innen {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}


/* ------------------------------------------------------------- Live-Status
   Beantwortet die häufigste Frage an eine Werkstattseite: „habt ihr jetzt
   offen?“ Der farbige Punkt trägt die Aussage nicht allein – daneben steht
   sie immer als Text, damit sie auch ohne Farbwahrnehmung ankommt. */
.status {
    background: var(--weiss);
    border: 1px solid var(--linie);
    border-radius: var(--radius-gross);
    box-shadow: var(--schatten-hoch);
    padding: clamp(1.5rem, 3vw, 2rem);
}

.status-zeile {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.25rem;
}

.status-punkt {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    flex: none;
}

.status-offen .status-punkt {
    background: var(--gruen);
    box-shadow: 0 0 0 4px rgba(26, 127, 75, 0.16);
}

.status-zu .status-punkt {
    background: var(--grau);
    box-shadow: 0 0 0 4px rgba(101, 108, 122, 0.14);
}

.status-text {
    font-size: var(--t-h3);
    font-weight: 800;
    font-stretch: 118%;
    letter-spacing: -0.015em;
}

.status-offen .status-text { color: #135c37; }

.status-detail {
    margin: 0 0 1.35rem 1.35rem;
    color: var(--grau);
    font-size: var(--t-klein);
}

.status-anlass {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0.1rem 0.5rem;
    border-radius: 100px;
    background: #fff4d1;
    color: #8a6a00;
    font-size: var(--t-mini);
    font-weight: 700;
}

.status-zeiten {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 0.4rem 1.25rem;
    margin: 0 0 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--linie);
    font-size: var(--t-klein);
}

.status-zeiten dt { color: var(--grau); white-space: nowrap; }
.status-zeiten dd { margin: 0; white-space: nowrap; }

.status-knopf {
    width: 100%;
}

.status-fuss {
    margin: 0.9rem 0 0;
    font-size: var(--t-mini);
    color: var(--grau);
    text-align: center;
}


/* ---------------------------------------------------------- HU-Rechner */
.rechner {
    background: var(--weiss);
    border: 1px solid var(--linie);
    border-radius: var(--radius-gross);
    box-shadow: var(--schatten-hoch);
    padding: clamp(1.5rem, 3vw, 2rem);
    text-align: center;
}

.rechner-kopf {
    font-size: var(--t-h3);
    margin-bottom: 0.4rem;
}

.rechner-hilfe {
    font-size: var(--t-mini);
    color: var(--grau);
    max-width: 34ch;
    margin-inline: auto;
    margin-bottom: 1.5rem;
}

.scheibe {
    position: relative;
    width: min(270px, 74vw);
    aspect-ratio: 1;
    margin: 0 auto 1.25rem;
    border: 2px solid var(--blau-nebel);
    border-radius: 50%;
}

.scheibe-monate {
    position: absolute;
    inset: 0;
}

.scheibe-monat {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 2.2rem;
    height: 2.2rem;
    padding: 0;
    display: grid;
    place-items: center;
    border: 1px solid transparent;
    border-radius: 50%;
    background: transparent;
    color: var(--grau);
    font-family: var(--schrift-daten);
    font-size: var(--t-klein);
    cursor: pointer;
    transition: background 0.12s, color 0.12s, border-color 0.12s;
}

.scheibe-monat:hover {
    border-color: var(--blau-nebel);
    color: var(--blau);
}

.scheibe-monat[aria-pressed='true'] {
    background: var(--gelb);
    color: var(--tinte);
    font-weight: 500;
}

/* Zeiger vom Mittelpunkt zum gewählten Monat – zeigt bei 0° nach oben (12 Uhr). */
.scheibe-zeiger {
    position: absolute;
    left: 50%;
    bottom: 50%;
    width: 2px;
    height: 33%;
    background: var(--blau);
    transform-origin: bottom center;
    transition: transform 0.35s cubic-bezier(0.34, 1.3, 0.64, 1);
}

.scheibe-mitte {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    pointer-events: none;
}

.scheibe-jahr {
    pointer-events: auto;
    appearance: none;
    padding: 0.5rem 1.5rem 0.5rem 0.9rem;
    border: 1px solid var(--linie);
    border-radius: var(--radius);
    background: var(--weiss)
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4.5 6 8.5 10 4.5' fill='none' stroke='%2310357e' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E")
        no-repeat right 0.5rem center / 12px;
    color: var(--tinte);
    font-family: var(--schrift-daten);
    font-size: var(--t-body);
    cursor: pointer;
}

.rechner-ergebnis {
    min-height: 3.2em;
    margin-bottom: 1.25rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius);
    background: var(--papier);
    font-size: var(--t-klein);
    color: var(--tinte);
}

.rechner-ergebnis[data-zustand='bald'] {
    background: #fff6dd;
}

.rechner-ergebnis[data-zustand='faellig'] {
    background: #fdeceb;
    color: #8c1e18;
}

.rechner-knopf {
    width: 100%;
}


/* ------------------------------------------------------------ Zweispalter */
.zweispalter {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

/* Steht neben der Textspalte ein hohes Formular, wirkt zentriert ausgerichtet
   unruhig – beide Spalten beginnen dann oben. */
.zweispalter-oben {
    align-items: start;
}

@media (max-width: 860px) {
    .zweispalter { grid-template-columns: 1fr; }
}


/* ----------------------------------------------------------------- Fakten */
.fakten {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 2.5rem;
}

.fakt-zahl {
    font-size: clamp(2.5rem, 1.5rem + 3vw, 3.75rem);
    font-weight: 500;
    line-height: 1;
    color: var(--gelb);
    margin-bottom: 0.5rem;
}

.fakt h3 {
    margin-bottom: 0.6rem;
}

.fakt p {
    color: rgba(255, 255, 255, 0.82);
    font-size: var(--t-klein);
}

.abschnitt-blau .weiter {
    color: var(--gelb);
    margin-top: 0.9rem;
}


/* ------------------------------------------------------------- Bilderband */
.bilderband {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: 0.75rem;
}

.bilderband-bild {
    margin: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--papier);
}

.bilderband-bild img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* -------------------------------------------------------- Kontaktangaben */
.kontaktdaten {
    display: grid;
    gap: 0.65rem;
    font-style: normal;
    font-size: var(--t-klein);
}

.kontaktdaten > * {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.kontaktdaten svg {
    width: 1.05rem;
    height: 1.05rem;
    flex: none;
    color: var(--blau-hell);
}

.zeiten {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: start;
    gap: 0.4rem 1.25rem;
    margin: 0;
    font-size: var(--t-klein);
}

/* Weder Wochentag noch Uhrzeit dürfen umbrechen – „Montag –“ auf einer und
   „Freitag“ auf der nächsten Zeile liest sich wie ein Fehler. */
.zeiten dt { color: var(--grau); white-space: nowrap; }
.zeiten dd { margin: 0; white-space: nowrap; }

.karte-marke {
    font-size: var(--t-mini);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blau-hell);
}


/* =========================================================================
   Leistungsseiten
   ========================================================================= */

.brotkrumen {
    border-bottom: 1px solid var(--linie);
    padding-block: 0.9rem;
    font-size: var(--t-mini);
    color: var(--grau);
}

.brotkrumen .schale {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.brotkrumen a {
    color: var(--grau);
    text-decoration: none;
}

.brotkrumen a:hover {
    color: var(--blau);
    text-decoration: underline;
}

.brotkrumen [aria-current] {
    color: var(--tinte);
    font-weight: 600;
}

.bild-rahmen {
    margin: 0;
    border-radius: var(--radius-gross);
    overflow: hidden;
    background: var(--papier);
    aspect-ratio: 4 / 3;
}

.bild-rahmen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fliesstext {
    font-size: var(--t-gross);
    line-height: 1.7;
}

.karte-titel {
    font-size: var(--t-h3);
    margin: 0;
}


/* -------------------------------------------------------- Häufige Fragen */
.fragen {
    display: grid;
    gap: 0.75rem;
}

.frage {
    border: 1px solid var(--linie);
    border-radius: var(--radius-gross);
    background: var(--weiss);
}

.frage summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.5rem;
    font-weight: 700;
    font-stretch: 108%;
    cursor: pointer;
    list-style: none;
}

.frage summary::-webkit-details-marker {
    display: none;
}

.frage summary::after {
    content: '+';
    flex: none;
    font-family: var(--schrift-daten);
    font-size: 1.4rem;
    line-height: 1;
    color: var(--blau-hell);
}

.frage[open] summary::after {
    content: '–';
}

.frage p {
    padding: 0 1.5rem 1.35rem;
    margin: 0;
    color: var(--grau);
    font-size: var(--t-klein);
}


/* =========================================================================
   Team, Galerie, Formulare, Rechtstexte
   ========================================================================= */

.team {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
    gap: 1.5rem;
}

.person {
    margin: 0;
    background: var(--weiss);
    border: 1px solid var(--linie);
    border-radius: var(--radius-gross);
    overflow: hidden;
}

.person img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 25%;
}

.person figcaption {
    padding: 1.25rem 1.35rem 1.5rem;
}

.person-rolle {
    display: block;
    font-size: var(--t-mini);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blau-hell);
    margin-bottom: 0.35rem;
}

.person h3 {
    margin-bottom: 0.5rem;
}

.person p {
    margin: 0;
    font-size: var(--t-klein);
    color: var(--grau);
}


/* ----------------------------------------------------------------- Galerie */
.galerie {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
    gap: 0.85rem;
}

.galerie-bild {
    padding: 0;
    border: 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--papier);
    aspect-ratio: 4 / 3;
    cursor: zoom-in;
}

.galerie-bild img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.galerie-bild:hover img {
    transform: scale(1.04);
}

.leuchtkasten {
    max-width: min(1100px, 94vw);
    max-height: 94vh;
    padding: 0;
    border: 0;
    border-radius: var(--radius-gross);
    background: var(--tinte);
    color: var(--weiss);
    overflow: hidden;
}

.leuchtkasten::backdrop {
    background: rgba(10, 14, 24, 0.85);
}

.leuchtkasten img {
    width: 100%;
    max-height: 82vh;
    object-fit: contain;
}

.leuchtkasten-text {
    margin: 0;
    padding: 0.9rem 1.25rem;
    font-size: var(--t-klein);
    color: rgba(255, 255, 255, 0.75);
}

.leuchtkasten-zu {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    width: 2.4rem;
    height: 2.4rem;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: var(--weiss);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.leuchtkasten-zu:hover {
    background: rgba(0, 0, 0, 0.8);
}


/* --------------------------------------------------------------- Formulare */
.formular {
    background: var(--weiss);
    border: 1px solid var(--linie);
    border-radius: var(--radius-gross);
    box-shadow: var(--schatten);
    padding: clamp(1.5rem, 3.5vw, 2.25rem);
}



/* In der schmalen Formularkarte ist die normale h2-Groesse zu wuchtig und
   bricht mitten im Wort um. */




.formular-hinweis {
    font-size: var(--t-mini);
    color: var(--grau);
    margin: 0;
}





.feld {
    margin-bottom: 1.1rem;
}

.feld label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: var(--t-klein);
    font-weight: 600;
}

.feld input,
.feld select,
.feld textarea {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--linie);
    border-radius: var(--radius);
    background: var(--weiss);
    color: var(--tinte);
    font-family: inherit;
    font-size: var(--t-body);
    line-height: 1.5;
}

.feld input:focus,
.feld select:focus,
.feld textarea:focus {
    border-color: var(--blau-hell);
}

.feld textarea {
    resize: vertical;
    min-height: 6rem;
}

.feld-hilfe {
    margin: 0.35rem 0 0;
    font-size: var(--t-mini);
    color: var(--grau);
}

.feld-meldung {
    margin: 0.35rem 0 0;
    font-size: var(--t-mini);
    color: var(--rot);
}

.feld-fehler input,
.feld-fehler select,
.feld-fehler textarea {
    border-color: var(--rot);
}



@media (max-width: 520px) {
    .formular-fuss .knopf { width: 100%; }
}


/* ------------------------------------------------------------ Kontaktseite */
.kontaktbloecke {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 1.75rem 2.5rem;
    margin-top: 2.5rem;
}

.kontaktblock h2 {
    font-size: var(--t-mini);
    font-family: var(--schrift-daten);
    font-weight: 500;
    font-stretch: 100%;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blau-hell);
    margin-bottom: 0.85rem;
}

.karten-platzhalter {
    border: 1px solid var(--linie);
    border-radius: var(--radius-gross);
    background: var(--weiss);
    overflow: hidden;
    min-height: 420px;
    display: grid;
    place-items: center;
}

.karten-hinweis {
    max-width: 46ch;
    padding: 2.5rem 1.5rem;
    text-align: center;
}

.karten-hinweis p {
    color: var(--grau);
    font-size: var(--t-klein);
}

.karten-rahmen {
    width: 100%;
    height: 420px;
    border: 0;
    display: block;
}


/* -------------------------------------------------------------- Ablaufliste */









/* -------------------------------------------------------------- Rechtstexte */
.rechtstext h2 {
    font-size: var(--t-h3);
    margin-top: 2.5rem;
}

.rechtstext h2:first-of-type {
    margin-top: 2rem;
}

.rechtstext ul {
    padding-left: 1.25rem;
    color: var(--grau);
}

.rechtstext li {
    margin-bottom: 0.4rem;
}

.rechtstext p {
    color: var(--grau);
}

.rechtstext .vorspann {
    color: var(--tinte);
}


/* ---------------------------------------------------------- Karten mit Bild */
.karte-bild {
    display: block;
    margin: -1.75rem -1.75rem 0.9rem;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--papier);
}

.karte-bild img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Grafiken (z. B. die Prüfplakette) vollständig zeigen statt formatfüllend
   beschneiden – sonst fehlt der halbe Inhalt. */
.bild-rahmen-grafik {
    background: var(--papier);
    display: grid;
    place-items: center;
    padding: clamp(1.5rem, 4vw, 3rem);
}

.bild-rahmen-grafik img {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
}


/* =========================================================================
   Agentino-Rückruf-Widget

   Das Widget setzt seine Position per Inline-Style, deshalb hier !important.
   Es liegt im Shadow DOM – von außen erreichbar ist nur der Host und die
   als `part` freigegebene Karte.
   ========================================================================= */

#agentino-widget {
    /* Etwas weiter vom Rand als der Standard, passend zum übrigen Raster */
    right: clamp(1rem, 3vw, 1.75rem) !important;
    bottom: clamp(1rem, 3vw, 1.75rem) !important;
}

/* Die Karte an die Formulare der Seite angleichen */
#agentino-widget::part(card) {
    border: 1px solid var(--linie);
    border-radius: var(--radius-gross);
    box-shadow: var(--schatten-hoch);
}

/* Auf schmalen Bildschirmen sitzt unten die Anrufleiste – das Widget muss
   darüber, sonst verdeckt eines das andere. */
@media (max-width: 700px) {
    #agentino-widget {
        right: 0.9rem !important;
        bottom: calc(0.9rem + env(safe-area-inset-bottom)) !important;
    }
}

/* Im Redaktions-Portal hat ein Rückruf-Knopf nichts zu suchen */
.portal #agentino-widget,
.portal-anmeldung #agentino-widget {
    display: none !important;
}


/* Etwas engere Feldabstände, damit ein Formular mit sechs Feldern nicht
   endlos scrollt. */
.formular .feld {
    margin-bottom: 0.95rem;
}

.feld input::placeholder,
.feld textarea::placeholder {
    color: #a2a9b8;
}




/* Hinweis unter dem Karten-Platzhalter */
.karten-alternative {
    margin: 1rem 0 0;
    font-size: var(--t-mini);
    color: var(--grau);
}


/* Hervorgehobener Hinweis innerhalb einer Schild-Tafel */
.schild-notiz {
    margin: 1.1rem 0 0;
    padding: 0.85rem 1rem;
    border-radius: var(--radius);
    background: #fff8e1;
    font-size: var(--t-klein);
    color: var(--tinte);
}


/* -------------------------------------------------------- Bewertungszeile */









/* Folge-Hinweis unter dem Ergebnis des HU-Rechners */
.rechner-folge {
    margin: -0.75rem 0 1.25rem;
    font-size: var(--t-mini);
    color: var(--grau);
    min-height: 2.4em;
}


/* Tipp-Variante des Schild-Hinweises – grün wie der WhatsApp-Bezug */
.schild-notiz-tipp {
    background: #e8f8ee;
}

/* Stichtag der Bewertungsangabe */



/* =========================================================================
   Bewertungen
   Goldsterne auf tiefem Blau – dieselbe Kombination wie auf dem autoPRO-Schild
   an der Hauswand. Die Sternreihe zeigt den echten Füllgrad, nicht fünf volle.
   ========================================================================= */

.bewertung-punkte {
    list-style: none;
    margin: 2rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
    font-size: var(--t-klein);
    color: rgba(255, 255, 255, 0.86);
}

.bewertung-punkte li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.bewertung-punkte svg {
    width: 1.05rem;
    height: 1.05rem;
    flex: none;
    color: var(--gelb);
}

.bewertungskarte {
    background: var(--weiss);
    border-radius: var(--radius-gross);
    box-shadow: 0 18px 50px rgba(4, 16, 46, 0.35);
    padding: clamp(1.75rem, 4vw, 2.5rem);
    text-align: center;
}

.bewertungskarte-zahl {
    font-size: clamp(3.5rem, 2rem + 5vw, 5rem);
    font-weight: 500;
    line-height: 1;
    color: var(--blau);
    margin: 0 0 0.75rem;
}

/* Zwei Sternreihen übereinander: grau als Grund, Gold auf Füllbreite beschnitten */
.sterne {
    position: relative;
    display: inline-block;
    margin-bottom: 1.1rem;
}

.sterne-grund,
.sterne-voll {
    display: flex;
    gap: 0.2rem;
}

.sterne-grund {
    color: #dfe4ee;
}

.sterne-voll {
    position: absolute;
    inset: 0;
    overflow: hidden;
    color: #ffb400;
    white-space: nowrap;
}

.sterne svg {
    width: 2rem;
    height: 2rem;
    flex: none;
}

.bewertungskarte-anzahl {
    margin: 0;
    font-size: var(--t-body);
    color: var(--grau);
}

.bewertungskarte-anzahl strong {
    color: var(--tinte);
}

.bewertungskarte-stand {
    margin: 0.3rem 0 0;
    font-size: var(--t-mini);
    color: var(--grau);
}

.bewertungskarte-knopf {
    width: 100%;
    margin-top: 1.5rem;
}

.bewertungskarte-fuss {
    margin: 1rem 0 0;
    font-size: var(--t-mini);
    color: var(--grau);
}


/* =========================================================================
   Fehlerseite
   ========================================================================= */

.fehler-kopf {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

@media (max-width: 700px) {
    .fehler-kopf { grid-template-columns: 1fr; }
}

/* Prüfplakette als Fehlercode – dasselbe Motiv wie auf der HU-Seite */
.fehler-plakette {
    width: clamp(7rem, 14vw, 10rem);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--gelb);
    border: 6px solid var(--tinte);
    flex: none;
}

.fehler-plakette-zahl {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 500;
    color: var(--tinte);
}

.fehler-wege {
    padding-top: clamp(2rem, 4vw, 3rem);
    border-top: 1px solid var(--linie);
}


/* Auf dem Handy zwei Spalten: einspaltig würde die Galerie auf der Startseite
   allein über 2000 Pixel Scrollstrecke einnehmen. */
@media (max-width: 560px) {
    .bilderband,
    .galerie {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }
}
