/* ==========================================================================
   E&S Autoservice, Siegburg – Stylesheet

   Inhalt
     1. Schrift
     2. Farben und Maße (Variablen)
     3. Grundlagen
     4. Hilfsklassen
     5. Knöpfe und Links
     6. Infoleiste, Kopfzeile und Navigation
     7. Bühne (Einstieg der Startseite)
     8. Schnellinfos und Öffnungszeiten
     9. Abschnitte, Überschriften, Raster
    10. Leistungskacheln und Bildkarten
    11. Vorteile, Bildrahmen, Oldtimer-Band, Bewertungen
    12. Galerie und Großansicht
    13. Seitenkopf der Unterseiten und Brotkrümel
    14. Fließtext, Seitenleiste, Infokästen
    15. Preisliste
    16. Team und Partner
    17. Kontakt, Formular, Karte
    18. Aufruf und Seitenfuß
    19. Deko und Animationen
    20. Weniger Bewegung, Druck

   Schreibweise: Klassennamen sind deutsch und beschreiben den Inhalt
   (.leistungskachel, .preisblock, .terminkarte). Gestaltet wird zuerst für
   das Handy, größere Bildschirme kommen über @media (min-width: …) dazu.
   Farbwelt: Grün und Gelb der bisherigen Website, modern als
   Werkstattgrün und Signalgelb. Die gelbe Straßenkurve stammt aus dem Logo.
   ========================================================================== */


/* 1. Schrift ============================================================== */
/* Archivo (OFL-Lizenz) liegt auf dem eigenen Server (kein Abruf bei Google).
   Eine variable Datei für alle Stärken und Breiten: Überschriften breit
   (font-stretch: 118 %), Fließtext normal. */

@font-face {
    font-family: "Archivo";
    src: url("/fonts/archivo.woff2") format("woff2");
    font-weight: 100 900;
    font-stretch: 62% 125%;
    font-style: normal;
    font-display: swap;
}


/* 2. Farben und Maße ====================================================== */

:root {
    /* Farben */
    --gruen-nacht: #0f3326;     /* Werkstattgrün dunkel: Kopf, Bühne, Fuß */
    --gruen-tief: #15432f;
    --gruen: #1d6644;           /* Werkstattgrün: Knöpfe, Links, Symbole */
    --gruen-hell: #e6efe8;      /* helle grüne Fläche */
    --gelb: #f5d90a;            /* Signalgelb (wie das Logo): wichtigste Knöpfe */
    --gelb-dunkel: #dcc200;
    --gelb-hell: #fbf4c6;
    --papier: #f6f4ec;          /* warmes Hellgrau getönter Abschnitte */
    --weiss: #ffffff;
    --tinte: #17211c;           /* Textfarbe */
    --tinte-hell: #4b5951;
    --linie: #dde2da;
    --gruen-leuchtend: #2fbf71; /* Punkt „Jetzt geöffnet“ */
    --rot: #c0392b;
    --fehler: #b3261e;
    --erfolg: #1f7a4d;

    /* Schrift */
    --schrift: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --breit: 118%;              /* Laufweite der Überschriften */

    /* Maße */
    --seitenbreite: 1200px;
    --rand: clamp(1rem, 4vw, 2rem);
    --abstand: clamp(3.5rem, 8vw, 6rem);
    --radius: 14px;
    --radius-klein: 8px;
    --schatten: 0 1px 2px rgb(15 51 38 / 6%), 0 8px 24px rgb(15 51 38 / 8%);
    --schatten-gross: 0 2px 4px rgb(15 51 38 / 8%), 0 18px 48px rgb(15 51 38 / 16%);
    --kopfhoehe: 4.5rem;
}


/* 3. Grundlagen =========================================================== */

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

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--kopfhoehe) + 1rem);
}

body {
    margin: 0;
    font-family: var(--schrift);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--tinte);
    background: var(--weiss);
    font-feature-settings: "tnum" 0;
}

/* Kein Scrollen hinter dem geöffneten Handy-Menü */
body.menue-offen {
    overflow: hidden;
}

img,
svg {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

h1,
h2,
h3 {
    margin: 0 0 0.6em;
    line-height: 1.12;
    font-weight: 800;
    font-stretch: var(--breit);
    letter-spacing: -0.01em;
    text-wrap: balance;
}

h1 { font-size: clamp(2rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.25rem); }
h3 { font-size: 1.2rem; }

p {
    margin: 0 0 1em;
}

a {
    color: var(--gruen);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

a:hover {
    color: var(--gruen-nacht);
}

:focus-visible {
    outline: 3px solid var(--gelb);
    outline-offset: 3px;
    border-radius: 4px;
}

address {
    font-style: normal;
}

ul {
    padding-left: 1.2rem;
}

main {
    display: block;
}


/* 4. Hilfsklassen ========================================================= */

.breite {
    width: 100%;
    max-width: var(--seitenbreite);
    margin-inline: auto;
    padding-inline: var(--rand);
}

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

.mittig {
    text-align: center;
}

/* Nur für Vorleseprogramme sichtbar */
.nur-vorlesen {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.nur-gross {
    display: none;
}

@media (min-width: 640px) {
    .nur-gross {
        display: inline;
    }
}

.sprunglink {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 200;
    padding: 0.6rem 1rem;
    background: var(--gelb);
    color: var(--gruen-nacht);
    font-weight: 700;
    border-radius: var(--radius-klein);
}

.sprunglink:focus {
    top: 1rem;
}

/* Symbole aus bilder/icons.svg: Linienzeichnungen in Textfarbe */
.symbol {
    width: 1.25em;
    height: 1.25em;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Kleine Großbuchstaben-Zeile über Überschriften */
.dachzeile {
    margin: 0 0 0.6rem;
    font-size: 0.8rem;
    font-weight: 700;
    font-stretch: var(--breit);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gelb);
}

.dachzeile-dunkel {
    color: var(--gruen);
}

.dachzeile::before {
    content: "";
    display: inline-block;
    width: 1.6rem;
    height: 3px;
    margin-right: 0.6rem;
    vertical-align: middle;
    background: currentColor;
    border-radius: 2px;
}

.mittig .dachzeile::before,
.abschnitt-kopf .dachzeile::before {
    display: none;
}


/* 5. Knöpfe und Links ===================================================== */

.knopf {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 3rem;
    padding: 0.7rem 1.4rem;
    font: inherit;
    font-weight: 700;
    font-stretch: 108%;
    line-height: 1.2;
    text-decoration: none;
    color: var(--weiss);
    background: var(--gruen);
    white-space: nowrap;
    border: 2px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.knopf:hover {
    color: var(--weiss);
    background: var(--gruen-nacht);
    transform: translateY(-1px);
}

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

.knopf-gelb:hover {
    color: var(--gruen-nacht);
    background: var(--gelb-dunkel);
}

.knopf-gruen {
    background: var(--gruen);
}

.knopf-umriss {
    color: var(--gruen);
    background: transparent;
    border-color: currentColor;
}

.knopf-umriss:hover {
    color: var(--weiss);
    background: var(--gruen);
    border-color: var(--gruen);
}

.knopf-umriss-hell {
    color: var(--weiss);
    background: rgb(255 255 255 / 6%);
    border-color: rgb(255 255 255 / 55%);
}

.knopf-umriss-hell:hover {
    color: var(--gruen-nacht);
    background: var(--weiss);
    border-color: var(--weiss);
}

.knopf-klein {
    min-height: 2.6rem;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
}

.knopf-breit {
    width: 100%;
}

.knopf[disabled] {
    opacity: 0.7;
    cursor: wait;
}

.knopfreihe {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.knopfreihe-mittig {
    justify-content: center;
}

/* Textlink mit Pfeil */
.pfeillink {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    text-decoration: none;
}

.pfeillink::after {
    content: "→";
    transition: transform 0.2s;
}

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

.pfeillink .symbol {
    width: 1.1em;
    height: 1.1em;
}


/* 6. Infoleiste, Kopfzeile und Navigation ================================= */

/* Infoleiste ganz oben (nur ab Tablet) */
.infoleiste {
    display: none;
    font-size: 0.875rem;
    color: rgb(255 255 255 / 85%);
    background: #0a261c;
}

.infoleiste-innen {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    min-height: 2.4rem;
}

.infoleiste p {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
}

.infoleiste .symbol {
    width: 1rem;
    height: 1rem;
    color: var(--gelb);
}

.infoleiste-bewertung {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-left: auto;
    color: inherit;
    text-decoration: none;
}

.infoleiste-bewertung:hover {
    color: var(--gelb);
}

@media (min-width: 900px) {
    .infoleiste {
        display: block;
    }
}

/* Öffnungsstatus mit farbigem Punkt (Infoleiste, Kontakt, Startseite) */
.oeffnungsstatus {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.status-punkt {
    width: 0.6rem;
    height: 0.6rem;
    flex: none;
    border-radius: 50%;
    background: var(--rot);
}

.ist-offen .status-punkt {
    background: var(--gruen-leuchtend);
    box-shadow: 0 0 0 0 rgb(47 191 113 / 60%);
    animation: puls 2.4s infinite;
}

/* Kopfzeile: bleibt beim Scrollen oben stehen */
.kopf {
    position: sticky;
    top: 0;
    z-index: 100;
    color: var(--weiss);
    background: var(--gruen-nacht);
    box-shadow: 0 1px 0 rgb(255 255 255 / 8%), 0 6px 18px rgb(0 0 0 / 18%);
}

.kopf-innen {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: var(--kopfhoehe);
}

/* Logo + Schriftzug */
.marke {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.marke:hover {
    color: inherit;
}

.marke-zeichen {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 10px;
    box-shadow: 0 0 0 1px rgb(255 255 255 / 15%);
}

.marke-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.marke-name {
    font-size: 1.2rem;
    font-weight: 800;
    font-stretch: 125%;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

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

.marke-unten {
    margin-top: 0.2rem;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgb(255 255 255 / 70%);
    white-space: nowrap;
}

@media (max-width: 400px) {
    .marke-name { font-size: 1.02rem; }
    .marke-unten { font-size: 0.64rem; }
    .marke-zeichen { width: 2.4rem; height: 2.4rem; }
}

/* Aktionen rechts: Telefon, Termin, Menü-Knopf */
.kopf-aktionen {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

.knopf-telefon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 2.75rem;
    height: 2.75rem;
    padding: 0 0.6rem;
    font-weight: 700;
    color: var(--weiss);
    text-decoration: none;
    white-space: nowrap;
    border: 2px solid rgb(255 255 255 / 25%);
    border-radius: 999px;
}

.knopf-telefon:hover {
    color: var(--gruen-nacht);
    background: var(--gelb);
    border-color: var(--gelb);
}

.kopf-nummer {
    display: none;
}

.kopf-termin {
    display: none;
}

@media (min-width: 560px) {
    .kopf-termin {
        display: inline-flex;
    }
}

@media (min-width: 1360px) {
    .kopf-nummer {
        display: inline;
    }

    .knopf-telefon {
        padding: 0 1rem;
    }
}

/* Menü-Knopf (drei Striche, wird beim Öffnen zum Kreuz) */
.menue-knopf {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}

.menue-knopf-striche,
.menue-knopf-striche::before,
.menue-knopf-striche::after {
    display: block;
    width: 1.5rem;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
}

.menue-knopf-striche {
    position: relative;
}

.menue-knopf-striche::before,
.menue-knopf-striche::after {
    content: "";
    position: absolute;
    left: 0;
}

.menue-knopf-striche::before { top: -7px; }
.menue-knopf-striche::after { top: 7px; }

.menue-knopf[aria-expanded="true"] .menue-knopf-striche {
    background: transparent;
}

.menue-knopf[aria-expanded="true"] .menue-knopf-striche::before {
    transform: translateY(7px) rotate(45deg);
}

.menue-knopf[aria-expanded="true"] .menue-knopf-striche::after {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hauptmenü – Handy: Klappfläche unter der Kopfzeile */
.hauptmenue {
    display: none;
}

.js .hauptmenue.offen {
    position: fixed;
    inset: var(--kopfhoehe) 0 0 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 0.5rem var(--rand) 2rem;
    background: var(--gruen-nacht);
    border-top: 1px solid rgb(255 255 255 / 10%);
}

/* Ohne JavaScript: Menü immer sichtbar unter dem Logo */
html:not(.js) .kopf-innen {
    flex-wrap: wrap;
}

html:not(.js) .hauptmenue {
    display: block;
    order: 3;
    width: 100%;
}

html:not(.js) .menue-knopf {
    display: none;
}

.menue-liste {
    margin: 0;
    padding: 0;
    list-style: none;
}

.menue-punkt {
    position: relative;
    border-bottom: 1px solid rgb(255 255 255 / 10%);
}

.menue-punkt > a {
    display: block;
    padding: 0.95rem 3rem 0.95rem 0;
    font-size: 1.15rem;
    font-weight: 700;
    font-stretch: 110%;
    color: var(--weiss);
    text-decoration: none;
}

.menue-punkt > a[aria-current="page"] {
    color: var(--gelb);
}

.untermenue-knopf {
    position: absolute;
    top: 0.35rem;
    right: 0;
    width: 2.75rem;
    height: 2.75rem;
    color: var(--weiss);
    background: rgb(255 255 255 / 8%);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

.untermenue-knopf span {
    display: block;
    width: 0.6rem;
    height: 0.6rem;
    margin: -0.2rem auto 0;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s;
}

.menue-punkt.offen .untermenue-knopf span {
    margin-top: 0.2rem;
    transform: rotate(225deg);
}

.untermenue {
    display: none;
    padding: 0 0 1rem;
}

.menue-punkt.offen .untermenue {
    display: grid;
    gap: 1rem;
}

.untermenue ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.untermenue-titel {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gelb);
}

.untermenue a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 0;
    color: rgb(255 255 255 / 88%);
    text-decoration: none;
}

.untermenue a .symbol {
    color: var(--gelb);
    opacity: 0.9;
}

.untermenue a:hover {
    color: var(--gelb);
}

.menue-kontakt {
    margin-top: 1.5rem;
    color: rgb(255 255 255 / 80%);
}

.menue-kontakt p {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0 0 0.6rem;
}

.menue-kontakt a {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--gelb);
    text-decoration: none;
}

/* Hauptmenü – großer Bildschirm: Zeile mit aufklappendem Leistungs-Menü */
@media (min-width: 1080px) {
    .menue-knopf,
    .menue-kontakt,
    .untermenue-knopf {
        display: none;
    }

    .hauptmenue,
    .js .hauptmenue.offen {
        position: static;
        display: block;
        margin-left: auto;
        padding: 0;
        overflow: visible;
        background: none;
        border: 0;
    }

    .kopf-aktionen {
        margin-left: 1rem;
    }

    .menue-liste {
        display: flex;
        gap: 0.25rem;
    }

    .menue-punkt {
        border: 0;
    }

    .menue-punkt > a {
        position: relative;
        padding: 0.6rem 0.85rem;
        font-size: 0.98rem;
        font-weight: 600;
        font-stretch: 105%;
        white-space: nowrap;
        border-radius: 999px;
    }

    .menue-punkt > a:hover,
    .menue-punkt:focus-within > a {
        color: var(--gelb);
    }

    .menue-punkt > a[aria-current="page"]::after {
        content: "";
        position: absolute;
        left: 0.85rem;
        right: 0.85rem;
        bottom: 0.2rem;
        height: 3px;
        background: var(--gelb);
        border-radius: 2px;
    }

    .hat-untermenue > a::after {
        content: "";
        display: inline-block;
        width: 0.4rem;
        height: 0.4rem;
        margin: 0 0 0.2rem 0.45rem;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
    }

    .hat-untermenue > a[aria-current="page"]::after {
        position: static;
        width: 0.4rem;
        height: 0.4rem;
        background: none;
        border-radius: 0;
    }

    /* Großes Untermenü „Leistungen“ in drei Spalten */
    .untermenue,
    .menue-punkt.offen .untermenue {
        position: absolute;
        top: 100%;
        left: 50%;
        display: grid;
        grid-template-columns: repeat(3, minmax(13rem, 1fr));
        gap: 1.5rem;
        padding: 1.5rem;
        color: var(--tinte);
        background: var(--weiss);
        border-radius: var(--radius);
        box-shadow: var(--schatten-gross);
        opacity: 0;
        visibility: hidden;
        transform: translate(-40%, 0.5rem);
        transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    }

    /* Unsichtbare Brücke, damit das Menü beim Hinüberfahren offen bleibt */
    .untermenue::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: -1rem;
        height: 1rem;
    }

    .hat-untermenue:hover .untermenue,
    .hat-untermenue:focus-within .untermenue {
        opacity: 1;
        visibility: visible;
        transform: translate(-40%, 0.25rem);
    }

    .untermenue-titel {
        color: var(--gruen);
    }

    .untermenue a {
        padding: 0.4rem 0.5rem;
        margin-inline: -0.5rem;
        font-size: 0.95rem;
        color: var(--tinte);
        border-radius: var(--radius-klein);
    }

    .untermenue a .symbol {
        color: var(--gruen);
    }

    .untermenue a:hover {
        color: var(--gruen-nacht);
        background: var(--gruen-hell);
    }
}


/* 7. Bühne (Einstieg der Startseite) ====================================== */

.buehne {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: var(--weiss);
    background: var(--gruen-nacht);
}

.buehne-foto {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 60% 60%;
}

/* Grüner Verlauf über dem Foto, damit die Schrift gut lesbar ist */
.buehne::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgb(15 51 38 / 55%) 0%, rgb(15 51 38 / 88%) 55%, rgb(15 51 38 / 96%) 100%);
}

.buehne-inhalt {
    padding-top: clamp(3rem, 10vw, 7rem);
    padding-bottom: clamp(6rem, 14vw, 9rem);
}

.buehne h1 {
    max-width: 17ch;
    margin-bottom: 1.25rem;
}

/* Gelber Textmarker hinter „maßgerechte Qualität“ */
.markiert {
    color: var(--gelb);
}

.buehne-text {
    max-width: 38rem;
    font-size: clamp(1.05rem, 2.2vw, 1.2rem);
    color: rgb(255 255 255 / 88%);
}

/* Google-Bewertung unter den Knöpfen */
.bewertungsmarke {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.75rem;
    padding: 0.5rem 1rem 0.5rem 0.75rem;
    font-size: 0.92rem;
    color: var(--weiss);
    text-decoration: none;
    background: rgb(255 255 255 / 10%);
    border: 1px solid rgb(255 255 255 / 18%);
    border-radius: 999px;
    backdrop-filter: blur(6px);
}

.bewertungsmarke:hover {
    color: var(--weiss);
    background: rgb(255 255 255 / 16%);
}

.bewertungsmarke-sterne {
    display: inline-flex;
    gap: 0.1rem;
    color: var(--gelb);
}

.bewertungsmarke-sterne .symbol {
    width: 1rem;
    height: 1rem;
}

/* Gelbe Straßenkurve am unteren Rand der Bühne */
.buehne-strasse {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: clamp(50px, 9vw, 110px);
    pointer-events: none;
}

@media (min-width: 900px) {
    .buehne {
        min-height: min(82vh, 760px);
        display: flex;
        align-items: center;
    }

    .buehne::before {
        background:
            linear-gradient(90deg, rgb(15 51 38 / 96%) 0%, rgb(15 51 38 / 86%) 38%, rgb(15 51 38 / 30%) 70%, rgb(15 51 38 / 10%) 100%);
    }

    .buehne-inhalt {
        width: 100%;
    }
}


/* 8. Schnellinfos und Öffnungszeiten ====================================== */

.schnellinfos {
    position: relative;
    z-index: 2;
    margin-top: -3rem;
}

.schnellinfos-raster {
    display: grid;
    gap: 1rem;
}

@media (min-width: 900px) {
    .schnellinfos {
        margin-top: -4.5rem;
    }

    .schnellinfos-raster {
        grid-template-columns: repeat(3, 1fr);
    }
}

.infokarte {
    display: flex;
    gap: 1rem;
    padding: 1.4rem;
    background: var(--weiss);
    border-radius: var(--radius);
    box-shadow: var(--schatten-gross);
    border-top: 4px solid var(--gelb);
}

.infokarte h2 {
    margin-bottom: 0.4rem;
    font-size: 1.15rem;
}

.infokarte p {
    margin-bottom: 0.5rem;
    color: var(--tinte-hell);
}

.infokarte .oeffnungsstatus {
    color: var(--tinte);
}

.infokarte-symbol {
    width: 2.75rem;
    height: 2.75rem;
    padding: 0.6rem;
    color: var(--gruen);
    background: var(--gruen-hell);
    border-radius: 12px;
}

.infokarte-nummer a {
    font-size: 1.35rem;
    font-weight: 800;
    font-stretch: var(--breit);
    text-decoration: none;
}

.infokarte-nummer span {
    font-size: 0.9rem;
}

/* Öffnungszeiten als zweispaltige Liste */
.zeitenliste {
    display: grid;
    gap: 0.2rem;
    margin: 0;
}

.zeitenliste div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.zeitenliste dt {
    font-weight: 600;
    white-space: nowrap;
}

.zeitenliste dd {
    margin: 0;
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.infokarte .zeitenliste {
    font-size: 0.93rem;
}

.zeitenliste-gross {
    font-size: 1.1rem;
}


/* 9. Abschnitte, Überschriften, Raster ==================================== */

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

.abschnitt-eng {
    padding-block: clamp(2rem, 5vw, 3rem);
}

.abschnitt-eng + .abschnitt-eng {
    padding-top: 0;
}

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

.abschnitt-titel {
    margin-bottom: 0.6em;
}

.abschnitt-kopf {
    max-width: 44rem;
    margin: 0 auto clamp(2rem, 5vw, 3rem);
    text-align: center;
}

.abschnitt-kopf p:last-child {
    margin-bottom: 0;
    color: var(--tinte-hell);
}

.abschnitt-kopf-zeile {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    max-width: none;
    text-align: left;
}

.abschnitt-kopf-zeile .abschnitt-titel {
    margin: 0;
}

.abschnitt-kopf-zeile .dachzeile::before {
    display: inline-block;
}

.gruppentitel {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 2rem 0 1rem;
    font-size: 1.05rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gruen);
}

.gruppentitel::after {
    content: "";
    flex: 1;
    height: 2px;
    background: var(--linie);
}

.gruppentitel .anzahl {
    order: 2;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: var(--tinte-hell);
}

.abschnitt-eng .gruppentitel:first-child,
.abschnitt-kopf + .gruppentitel {
    margin-top: 0;
}

.grosse-zahl {
    color: var(--gruen);
}

/* Zwei Spalten: Bild + Text */
.zweispaltig {
    display: grid;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

@media (min-width: 900px) {
    .zweispaltig {
        grid-template-columns: 1fr 1fr;
    }

    .zweispaltig-umgekehrt > :first-child {
        order: 2;
    }
}


/* 10. Leistungskacheln und Bildkarten ===================================== */

.leistungsraster {
    display: grid;
    gap: 0.75rem;
    margin: 0 0 1.5rem;
    padding: 0;
    list-style: none;
}

@media (min-width: 600px) {
    .leistungsraster {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1000px) {
    .leistungsraster {
        grid-template-columns: repeat(3, 1fr);
    }
}

.leistungskachel {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 1rem;
    height: 100%;
    padding: 1.2rem 2.75rem 1.2rem 1.2rem;
    color: var(--tinte);
    text-decoration: none;
    background: var(--weiss);
    border: 1px solid var(--linie);
    border-radius: var(--radius);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.leistungskachel:hover {
    color: var(--tinte);
    border-color: var(--gruen);
    box-shadow: var(--schatten);
    transform: translateY(-2px);
}

.leistungskachel-symbol {
    grid-row: span 2;
    width: 3rem;
    height: 3rem;
    padding: 0.65rem;
    color: var(--gruen);
    background: var(--gruen-hell);
    border-radius: 12px;
    transition: background-color 0.2s, color 0.2s;
}

.leistungskachel:hover .leistungskachel-symbol {
    color: var(--gruen-nacht);
    background: var(--gelb);
}

.leistungskachel-titel {
    font-weight: 800;
    font-stretch: 110%;
    font-size: 1.08rem;
    line-height: 1.25;
}

.leistungskachel-text {
    margin-top: 0.25rem;
    font-size: 0.93rem;
    line-height: 1.45;
    color: var(--tinte-hell);
}

.leistungskachel-pfeil {
    position: absolute;
    top: 1.25rem;
    right: 1rem;
    width: 1.1rem;
    height: 1.1rem;
    color: var(--gruen);
    opacity: 0.4;
    transition: opacity 0.2s, transform 0.2s;
}

.leistungskachel:hover .leistungskachel-pfeil {
    opacity: 1;
    transform: translateX(3px);
}

/* Bildkarten der Leistungsübersicht */
.bildkarten {
    display: grid;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 600px) {
    .bildkarten {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1000px) {
    .bildkarten {
        grid-template-columns: repeat(3, 1fr);
    }
}

.bildkarte {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    color: var(--tinte);
    text-decoration: none;
    background: var(--weiss);
    border: 1px solid var(--linie);
    border-radius: var(--radius);
    transition: box-shadow 0.2s, transform 0.2s;
}

.bildkarte:hover {
    color: var(--tinte);
    box-shadow: var(--schatten-gross);
    transform: translateY(-3px);
}

.bildkarte img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.5s;
}

.bildkarte:hover img {
    transform: scale(1.04);
}

.bildkarte-text {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.1rem 1.25rem 1.3rem;
    font-size: 0.95rem;
    color: var(--tinte-hell);
    background: var(--weiss);
}

.bildkarte-titel {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.12rem;
    font-weight: 800;
    font-stretch: 110%;
    color: var(--tinte);
}

.bildkarte-titel .symbol {
    color: var(--gruen);
}


/* 11. Vorteile, Bildrahmen, Oldtimer-Band, Bewertungen ==================== */

.vorteile {
    display: grid;
    gap: 0.9rem;
    margin: 1.5rem 0;
    padding: 0;
    list-style: none;
}

.vorteile li {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
}

.vorteile .symbol {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0.55rem;
    color: var(--gruen-nacht);
    background: var(--gelb);
    border-radius: 10px;
}

.vorteile span {
    padding-top: 0.4rem;
}

/* Foto mit abgerundeten Ecken und gelbem Versatz */
.bildrahmen {
    position: relative;
    margin: 0;
}

.bildrahmen::before {
    content: "";
    position: absolute;
    inset: 1rem -0.75rem -0.75rem 1rem;
    z-index: 0;
    background: var(--gelb);
    border-radius: var(--radius);
}

.bildrahmen img {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--schatten);
}

.bildrahmen figcaption {
    position: relative;
    z-index: 1;
    margin-top: 1.25rem;
    font-size: 0.9rem;
    color: var(--tinte-hell);
}

.adresse-gross {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.5;
}

/* Oldtimer-Band: dunkelgrün mit drei schräg gestellten Fotos */
.oldtimerband {
    position: relative;
    overflow: hidden;
    padding-block: var(--abstand);
    color: var(--weiss);
    background:
        radial-gradient(circle at 85% 20%, rgb(245 217 10 / 12%), transparent 45%),
        var(--gruen-nacht);
}

.oldtimerband-innen {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.oldtimerband-text p:not(.dachzeile) {
    color: rgb(255 255 255 / 82%);
}

.oldtimerband-bilder {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.oldtimerband-bilder img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border: 4px solid var(--weiss);
    border-radius: var(--radius-klein);
    box-shadow: 0 12px 30px rgb(0 0 0 / 35%);
}

.oldtimerband-bilder img:nth-child(1) { transform: rotate(-4deg) translateY(0.75rem); }
.oldtimerband-bilder img:nth-child(2) { transform: rotate(2deg) translateY(-0.5rem); }
.oldtimerband-bilder img:nth-child(3) { transform: rotate(-1.5deg) translateY(1rem); }

@media (min-width: 900px) {
    .oldtimerband-innen {
        grid-template-columns: 1fr 1.1fr;
    }
}

/* Bewertungen */
.stimmenraster {
    display: grid;
    gap: 1.25rem;
    margin: 0 0 2rem;
    padding: 0;
    list-style: none;
}

@media (min-width: 900px) {
    .stimmenraster {
        grid-template-columns: repeat(3, 1fr);
    }
}

.stimme {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.75rem 1.5rem 1.5rem;
    background: var(--papier);
    border-radius: var(--radius);
}

/* Großes Anführungszeichen als Deko */
.stimme::before {
    content: "“";
    position: absolute;
    top: -0.2rem;
    right: 1.2rem;
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--gelb);
}

.stimme-sterne {
    display: flex;
    gap: 0.15rem;
    margin-bottom: 0.75rem;
    color: #e0a800;
}

.stimme-sterne .symbol {
    width: 1.05rem;
    height: 1.05rem;
}

.stimme blockquote {
    flex: 1;
    margin: 0;
}

.stimme-name {
    margin: 0.5rem 0 0;
    font-weight: 700;
    color: var(--gruen);
}


/* 12. Galerie und Großansicht ============================================= */

.galerie,
.galerie-vorschau {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

@media (min-width: 640px) {
    .galerie {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }

    .galerie-vorschau {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }
}

@media (min-width: 1000px) {
    .galerie {
        grid-template-columns: repeat(4, 1fr);
    }
}

.galerie a,
.galerie-vorschau a {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--radius-klein);
    background: var(--linie);
}

.galerie img,
.galerie-vorschau img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.4s, filter 0.4s;
}

.galerie a:hover img,
.galerie-vorschau a:hover img {
    transform: scale(1.05);
    filter: brightness(1.05);
}

/* Lupe beim Überfahren */
.galerie a::after,
.galerie-vorschau a::after {
    content: "+";
    position: absolute;
    right: 0.5rem;
    bottom: 0.5rem;
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gruen-nacht);
    background: var(--gelb);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.2s, transform 0.2s;
}

.galerie a:hover::after,
.galerie a:focus-visible::after,
.galerie-vorschau a:hover::after {
    opacity: 1;
    transform: scale(1);
}

/* Großansicht (<dialog>, siehe js/main.js) */
.grossansicht {
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    max-height: 100vh;
    margin: 0;
    padding: 3.5rem 0.5rem 3rem;
    color: var(--weiss);
    background: rgb(8 24 18 / 94%);
    border: 0;
}

.grossansicht[open] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.grossansicht::backdrop {
    background: rgb(0 0 0 / 60%);
}

.grossansicht img {
    max-width: min(100%, 1600px);
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--radius-klein);
}

.grossansicht-text {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0.5rem;
    margin: 0;
    font-size: 0.9rem;
    text-align: center;
    color: rgb(255 255 255 / 80%);
}

.grossansicht-schliessen,
.grossansicht-blaettern {
    position: absolute;
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1.8rem;
    line-height: 1;
    color: var(--gruen-nacht);
    background: var(--gelb);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

.grossansicht-schliessen {
    top: 0.5rem;
    right: 0.5rem;
}

.grossansicht-blaettern {
    top: 50%;
    z-index: 1;
    transform: translateY(-50%);
}

.grossansicht-blaettern[hidden] {
    display: none;
}

.grossansicht-zurueck { left: 0.5rem; }
.grossansicht-weiter { right: 0.5rem; }


/* 13. Seitenkopf der Unterseiten und Brotkrümel =========================== */

.seitenkopf {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-block: clamp(2.5rem, 7vw, 4.5rem) clamp(3rem, 7vw, 4.5rem);
    color: var(--weiss);
    background:
        radial-gradient(circle at 90% 0%, rgb(245 217 10 / 14%), transparent 40%),
        var(--gruen-nacht);
}

/* Gelbe Straßenkurve als Deko rechts unten */
.seitenkopf::after {
    content: "";
    position: absolute;
    right: -2rem;
    bottom: -1.5rem;
    z-index: -1;
    width: 22rem;
    height: 7rem;
    border-top: 14px solid rgb(245 217 10 / 22%);
    border-radius: 50% 50% 0 0;
    transform: rotate(-8deg);
}

.seitenkopf h1 {
    margin-bottom: 0.4rem;
}

.seitenkopf-unterzeile {
    max-width: 42rem;
    margin: 0;
    font-size: 1.1rem;
    color: rgb(255 255 255 / 82%);
}

.seitenkopf-unterzeile a {
    color: var(--gelb);
    font-weight: 700;
}

/* Seitenkopf mit Foto (Leistungsseiten) */
.seitenkopf-bild {
    padding-block: clamp(5rem, 16vw, 9rem) clamp(2.5rem, 6vw, 3.5rem);
}

.seitenkopf-foto {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.seitenkopf-bild::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgb(15 51 38 / 35%) 0%, rgb(15 51 38 / 92%) 85%);
}

.seitenkopf-bild::after {
    display: none;
}

.seitenkopf-symbol {
    display: inline-flex;
    margin: 0 0 0.75rem;
    padding: 0.6rem;
    color: var(--gruen-nacht);
    background: var(--gelb);
    border-radius: 12px;
}

.seitenkopf-symbol .symbol {
    width: 1.75rem;
    height: 1.75rem;
}

.brotkrumen {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
    font-size: 0.88rem;
    color: rgb(255 255 255 / 70%);
}

.brotkrumen a {
    color: rgb(255 255 255 / 85%);
}

.brotkrumen a:hover {
    color: var(--gelb);
}

.brotkrumen [aria-current] {
    color: var(--gelb);
}


/* 14. Fließtext, Seitenleiste, Infokästen ================================= */

.artikel-raster {
    display: grid;
    gap: 3rem;
}

@media (min-width: 960px) {
    .artikel-raster {
        grid-template-columns: minmax(0, 1fr) 21rem;
        gap: 4rem;
        align-items: start;
    }
}

.fliesstext {
    max-width: 46rem;
}

.fliesstext h2 {
    margin-top: 0;
    font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.fliesstext h3 {
    margin-top: 2rem;
}

.fliesstext .infokasten h3 {
    margin-top: 0;
}

.einleitung {
    font-size: 1.2rem;
}

.unterschrift {
    font-weight: 700;
    color: var(--gruen);
}

/* Liste mit Haken */
.hakenliste {
    margin: 0 0 1.25rem;
    padding: 0;
    list-style: none;
}

.hakenliste li {
    position: relative;
    margin-bottom: 0.55rem;
    padding-left: 2rem;
}

.hakenliste li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.2rem;
    width: 1.3rem;
    height: 1.3rem;
    background: var(--gruen-hell) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d6644' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 0.8rem no-repeat;
    border-radius: 50%;
}

/* Schlagworte als Plaketten */
.stichworte {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 1.25rem;
    padding: 0;
    list-style: none;
}

.stichworte li {
    padding: 0.3rem 0.85rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--gruen-nacht);
    background: var(--gruen-hell);
    border-radius: 999px;
}

.linkliste {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    padding: 0;
    list-style: none;
}

.linkliste a {
    font-weight: 600;
}

/* Hervorgehobener Kasten im Text */
.infokasten {
    margin: 1.75rem 0;
    padding: 1.25rem 1.4rem;
    background: var(--gelb-hell);
    border-left: 5px solid var(--gelb);
    border-radius: 0 var(--radius-klein) var(--radius-klein) 0;
}

.infokasten h2,
.infokasten h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.infokasten > :last-child {
    margin-bottom: 0;
}

.infokasten-warnung {
    background: #fdf1ef;
    border-left-color: var(--rot);
}

.infokasten-notruf {
    background: var(--gruen-hell);
    border-left-color: var(--gruen);
}

.notruf-nummer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.75rem 0;
    font-size: 1.5rem;
    font-weight: 800;
    font-stretch: var(--breit);
}

.notruf-nummer a {
    text-decoration: none;
}

.notruf-nummer span {
    font-size: 0.95rem;
    font-weight: 500;
    font-stretch: 100%;
}

/* Raster der Ersatzteil-Gruppen */
.teileraster {
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0;
}

@media (min-width: 640px) {
    .teileraster {
        grid-template-columns: repeat(2, 1fr);
    }
}

.teilekarte {
    padding: 1.2rem;
    border: 1px solid var(--linie);
    border-radius: var(--radius);
}

.teilekarte h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.4rem;
    font-size: 1.05rem;
}

.teilekarte h3 .symbol {
    color: var(--gruen);
}

.teilekarte p {
    margin: 0;
    color: var(--tinte-hell);
}

/* Seitenleiste der Leistungsseiten */
.seitenleiste {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 960px) {
    .seitenleiste {
        position: sticky;
        top: calc(var(--kopfhoehe) + 1.5rem);
    }
}

.terminkarte {
    padding: 1.5rem;
    color: var(--weiss);
    background: var(--gruen-nacht);
    border-radius: var(--radius);
    box-shadow: var(--schatten-gross);
}

.terminkarte h2 {
    font-size: 1.3rem;
}

.terminkarte .knopf {
    margin-top: 0.75rem;
}

.terminkarte .oeffnungsstatus {
    font-size: 0.95rem;
}

.terminkarte-zeiten {
    margin: 1rem 0 0;
    font-size: 0.9rem;
    color: rgb(255 255 255 / 75%);
}

.themenliste {
    padding: 1.25rem;
    background: var(--papier);
    border-radius: var(--radius);
}

.themenliste h2 {
    font-size: 1.05rem;
}

.themenliste ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.themenliste a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 0.6rem;
    font-size: 0.95rem;
    color: var(--tinte);
    text-decoration: none;
    border-radius: var(--radius-klein);
}

.themenliste a .symbol {
    color: var(--gruen);
}

.themenliste a:hover {
    background: var(--weiss);
}

.themenliste a[aria-current="page"] {
    font-weight: 700;
    color: var(--gruen-nacht);
    background: var(--gelb);
}

.themenliste a[aria-current="page"] .symbol {
    color: var(--gruen-nacht);
}

/* Rechtstexte: etwas kleiner, Überschriften schlicht */
.rechtstext {
    font-size: 1rem;
    overflow-wrap: anywhere;
}

.rechtstext h2 {
    margin-top: 2.25rem;
    font-size: 1.3rem;
    font-stretch: 105%;
}

.rechtstext h3 {
    margin-top: 1.5rem;
    font-size: 1.05rem;
    font-stretch: 100%;
}

.fehlerseite-symbol {
    width: 5rem;
    height: 5rem;
    margin: 0 auto 1.5rem;
    color: var(--gruen);
}


/* 15. Preisliste ========================================================== */

/* Sprungleiste zu den Bereichen */
.sprungleiste ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 2.5rem;
    padding: 0;
    list-style: none;
}

.sprungleiste a {
    display: inline-block;
    padding: 0.4rem 0.95rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--gruen-nacht);
    text-decoration: none;
    background: var(--gruen-hell);
    border-radius: 999px;
    transition: background-color 0.2s;
}

.sprungleiste a:hover {
    background: var(--gelb);
}

.preisraster {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 900px) {
    .preisraster {
        grid-template-columns: repeat(2, 1fr);
        align-items: start;
    }
}

.preisblock {
    padding: 1.5rem;
    background: var(--weiss);
    border: 1px solid var(--linie);
    border-radius: var(--radius);
    scroll-margin-top: calc(var(--kopfhoehe) + 1rem);
}

.preisblock:target {
    border-color: var(--gelb);
    box-shadow: 0 0 0 3px var(--gelb);
}

.preisblock h2 {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 1.2rem;
}

.preisblock h2 .symbol {
    width: 2.2rem;
    height: 2.2rem;
    padding: 0.45rem;
    color: var(--gruen);
    background: var(--gruen-hell);
    border-radius: 10px;
}

.preisblock h3 {
    margin: 1.25rem 0 0.25rem;
    font-size: 1rem;
    color: var(--gruen);
}

.preisblock > :last-child {
    margin-bottom: 0;
}

.preistabelle {
    width: 100%;
    border-collapse: collapse;
}

.preistabelle th,
.preistabelle td {
    padding: 0.6rem 0;
    vertical-align: top;
    border-bottom: 1px dashed var(--linie);
}

.preistabelle tr:last-child th,
.preistabelle tr:last-child td {
    border-bottom: 0;
}

.preistabelle th {
    padding-right: 1rem;
    font-weight: 500;
    text-align: left;
}

.preistabelle td {
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
    color: var(--gruen-nacht);
    font-variant-numeric: tabular-nums;
}

/* Lange Preisangaben („225,- € + 50 % …“) dürfen auf dem Handy umbrechen */
@media (max-width: 520px) {
    .preistabelle td {
        white-space: normal;
        min-width: 6.5rem;
    }
}

.preishinweis {
    font-size: 0.93rem;
    color: var(--tinte-hell);
}

.preisliste-hinweise {
    margin-top: 2rem;
}

.preisliste-hinweise ul {
    margin: 0 0 1rem;
}


/* 16. Team und Partner ==================================================== */

.teamraster {
    display: grid;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 640px) {
    .teamraster {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .teamraster {
        grid-template-columns: repeat(4, 1fr);
    }
}

.teamkarte {
    padding: 1.75rem 1.5rem;
    text-align: center;
    background: var(--weiss);
    border-radius: var(--radius);
    box-shadow: var(--schatten);
}

.teamkarte-foto {
    width: 6.5rem;
    height: 6.5rem;
    margin: 0 auto 1rem;
    object-fit: cover;
    border: 4px solid var(--gelb);
    border-radius: 50%;
}

.teamkarte h3 {
    margin-bottom: 0.2rem;
}

.teamkarte-aufgabe {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gruen);
}

.teamkarte p:last-child {
    margin: 0;
    font-size: 0.95rem;
    color: var(--tinte-hell);
}

.partnerraster {
    display: grid;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 700px) {
    .partnerraster {
        grid-template-columns: repeat(2, 1fr);
    }
}

.partnerkarte {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    height: 100%;
    padding: 1.5rem;
    color: var(--tinte);
    text-decoration: none;
    border: 1px solid var(--linie);
    border-radius: var(--radius);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.partnerkarte:hover {
    color: var(--tinte);
    border-color: var(--gruen);
    box-shadow: var(--schatten);
}

.partnerkarte-symbol {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    color: var(--gruen);
    background: var(--gruen-hell);
    border-radius: 10px;
}

.partnerkarte-name {
    font-size: 1.25rem;
    font-weight: 800;
    font-stretch: 110%;
}

.partnerkarte-text {
    color: var(--tinte-hell);
}

.partnerkarte-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: auto;
    padding-top: 0.5rem;
    font-weight: 700;
    color: var(--gruen);
}

.partnerkarte-link .symbol {
    width: 1rem;
    height: 1rem;
}


/* 17. Kontakt, Formular, Karte ============================================ */

.kontakt-raster {
    display: grid;
    gap: 2rem;
}

@media (min-width: 960px) {
    .kontakt-raster {
        grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
        gap: 3rem;
        align-items: start;
    }
}

.formular-karte {
    padding: clamp(1.25rem, 4vw, 2.25rem);
    background: var(--weiss);
    border-radius: var(--radius);
    box-shadow: var(--schatten-gross);
    scroll-margin-top: calc(var(--kopfhoehe) + 1rem);
}

.formular-karte > p {
    color: var(--tinte-hell);
}

.feld {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.feld-reihe {
    display: grid;
    gap: 0 1rem;
}

@media (min-width: 560px) {
    .feld-reihe {
        grid-template-columns: 1fr 1fr;
    }
}

.feld label {
    font-weight: 600;
    font-size: 0.95rem;
}

.feld-zusatz {
    font-weight: 400;
    color: var(--tinte-hell);
}

.feld input,
.feld select,
.feld textarea {
    width: 100%;
    min-height: 3rem;
    padding: 0.7rem 0.9rem;
    font: inherit;
    font-size: 1rem;
    color: var(--tinte);
    background: var(--weiss);
    border: 1.5px solid #c9d0c7;
    border-radius: var(--radius-klein);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.feld select {
    appearance: none;
    padding-right: 2.5rem;
    background: var(--weiss) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d6644' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 0.8rem center / 1.1rem no-repeat;
}

.feld textarea {
    resize: vertical;
}

.feld input:focus,
.feld select:focus,
.feld textarea:focus {
    outline: none;
    border-color: var(--gruen);
    box-shadow: 0 0 0 3px rgb(29 102 68 / 18%);
}

.feld ::placeholder {
    color: #8a958e;
}

.feld-haken {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.7rem;
}

.feld-haken input {
    width: 1.3rem;
    min-height: 0;
    height: 1.3rem;
    margin-top: 0.15rem;
    flex: none;
    accent-color: var(--gruen);
}

.feld-haken label {
    font-weight: 400;
    font-size: 0.9rem;
}

/* Fallen-Feld für Spam-Programme: unsichtbar, aber nicht „display: none“ */
.feld-falle {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.formular-hinweis {
    margin: 0.75rem 0 0;
    font-size: 0.85rem;
    text-align: center;
    color: var(--tinte-hell);
}

/* Meldungen über dem Formular */
.meldung {
    margin: 0 0 1.25rem;
    padding: 1rem 1.2rem;
    border-radius: var(--radius-klein);
}

.meldung p:last-child {
    margin: 0;
}

.meldung-fehler {
    color: var(--fehler);
    background: #fdecea;
    border-left: 4px solid var(--fehler);
}

.meldung-erfolg {
    color: var(--erfolg);
    background: #e8f5ee;
    border-left: 4px solid var(--erfolg);
}

.meldung-info {
    color: #5c4a00;
    background: var(--gelb-hell);
    border-left: 4px solid var(--gelb-dunkel);
}

.meldung-info strong {
    display: block;
    margin-bottom: 0.3rem;
}

/* Kontaktdaten rechts neben dem Formular */
.kontaktdaten {
    display: grid;
    gap: 1.5rem;
}

.anrufkarte {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.4rem;
    color: var(--gruen-nacht);
    text-decoration: none;
    background: var(--gelb);
    border-radius: var(--radius);
    transition: transform 0.2s, box-shadow 0.2s;
}

.anrufkarte:hover {
    color: var(--gruen-nacht);
    box-shadow: var(--schatten-gross);
    transform: translateY(-2px);
}

.anrufkarte-symbol {
    width: 3rem;
    height: 3rem;
    padding: 0.7rem;
    color: var(--gelb);
    background: var(--gruen-nacht);
    border-radius: 50%;
}

.anrufkarte-titel {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.anrufkarte-nummer {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    font-stretch: var(--breit);
    line-height: 1.2;
}

.kontaktzeile {
    display: flex;
    gap: 1rem;
}

.kontaktzeile > div {
    flex: 1;
}

.kontaktzeile h2 {
    margin-bottom: 0.35rem;
    font-size: 1.05rem;
}

.kontaktzeile p,
.kontaktzeile address {
    margin-bottom: 0.4rem;
}

.kontaktzeile-symbol {
    width: 2.6rem;
    height: 2.6rem;
    padding: 0.55rem;
    color: var(--gruen);
    background: var(--weiss);
    border-radius: 10px;
    box-shadow: var(--schatten);
}

/* Anfahrt */
.anfahrt-raster {
    display: grid;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 900px) {
    .anfahrt-raster {
        grid-template-columns: 1.5fr 1fr;
    }
}

.anfahrt-panne {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    font-size: 0.95rem;
    border-top: 1px solid var(--linie);
}

.anfahrt-panne .symbol {
    width: 1.6rem;
    height: 1.6rem;
    color: var(--gruen);
}

/* Platzhalter der Karte (wird nach Klick zum <iframe>) */
.einbettung {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    min-height: 22rem;
    padding: 2rem 1.25rem;
    overflow: hidden;
    text-align: center;
    color: var(--weiss);
    background: var(--gruen-nacht);
    border-radius: var(--radius);
}

.einbettung-hintergrund {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: grayscale(0.4);
}

.einbettung-knopf,
.einbettung-hinweis {
    position: relative;
}

.einbettung-hinweis {
    max-width: 30rem;
    margin: 0;
    font-size: 0.85rem;
    color: rgb(255 255 255 / 88%);
}

.einbettung-hinweis a {
    display: block;
    margin-top: 0.4rem;
    color: var(--gelb);
}

.einbettung.geladen {
    padding: 0;
    background: var(--linie);
}

.einbettung iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


/* 18. Aufruf und Seitenfuß ================================================ */

.aufruf {
    position: relative;
    overflow: hidden;
    padding-block: clamp(3.5rem, 8vw, 5rem);
    color: var(--weiss);
    background: var(--gruen);
}

.aufruf-strasse {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    width: 100%;
    height: 140px;
    opacity: 0.5;
    pointer-events: none;
}

.aufruf-innen {
    position: relative;
    display: grid;
    gap: 1.5rem;
    align-items: center;
}

.aufruf h2 {
    margin-bottom: 0.5rem;
}

.aufruf p:not(.dachzeile) {
    max-width: 36rem;
    margin: 0;
    color: rgb(255 255 255 / 88%);
}

.aufruf .knopfreihe {
    margin-top: 0;
}

/* Handy: Platz unter den Knöpfen, damit die Straße nicht durch sie läuft */
@media (max-width: 899px) {
    .aufruf {
        padding-bottom: 7rem;
    }
}

@media (min-width: 900px) {
    .aufruf-innen {
        grid-template-columns: 1fr auto;
        gap: 3rem;
    }
}

.fuss {
    color: rgb(255 255 255 / 80%);
    background: var(--gruen-nacht);
}

.fuss a {
    color: rgb(255 255 255 / 88%);
    text-decoration: none;
}

.fuss a:hover {
    color: var(--gelb);
}

.fuss-innen {
    display: grid;
    gap: 2.5rem;
    padding-block: 3.5rem 2.5rem;
}

@media (min-width: 640px) {
    .fuss-innen {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1080px) {
    .fuss-innen {
        grid-template-columns: 1.1fr 1fr 1.3fr 1fr;
    }
}

.fuss h2 {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    color: var(--weiss);
}

.fuss-unterueberschrift {
    margin: 1.5rem 0 0.6rem;
    font-size: 0.95rem;
    color: var(--gelb);
}

.fuss-logo {
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 1rem;
    border-radius: 12px;
    box-shadow: 0 0 0 1px rgb(255 255 255 / 15%);
}

.fuss-zusatz {
    margin: -0.75rem 0 0.75rem;
    font-size: 0.85rem;
    color: var(--gelb);
}

.fuss-kontaktliste,
.fuss-links {
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.fuss-kontaktliste li,
.fuss-links li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
}

.fuss-links {
    margin-top: 0;
}

.fuss-links-zweispaltig {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1rem;
}

.fuss .symbol {
    width: 1.05rem;
    height: 1.05rem;
    color: var(--gelb);
}

.fuss-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.95rem;
}

.fuss .zeitenliste {
    font-size: 0.95rem;
}

.fuss-unten {
    font-size: 0.88rem;
    border-top: 1px solid rgb(255 255 255 / 10%);
}

.fuss-unten-innen {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
    padding-block: 1.25rem;
    /* Platz für die Leiste des Willkommens-Popups (nur Vorschau) */
    padding-bottom: 3.5rem;
}

.fuss-unten p {
    margin: 0;
}

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


/* 19. Deko und Animationen ================================================ */

/* Straßenkurve: gelbes Band mit gestrichelter Mittellinie */
.strasse-band {
    fill: none;
    stroke: var(--gelb);
    stroke-width: 16;
    stroke-linecap: round;
}

.strasse-mittellinie {
    fill: none;
    stroke: var(--gruen-nacht);
    stroke-width: 2;
    stroke-dasharray: 14 14;
}

.aufruf .strasse-mittellinie {
    stroke: var(--gruen);
}

/* Bühne: Straße zeichnet sich einmal ein, Mittellinie „fährt“ langsam */
.js .buehne-strasse .strasse-band {
    stroke-dasharray: 1600;
    stroke-dashoffset: 1600;
    animation: strasse-zeichnen 1.6s 0.3s ease-out forwards;
}

.js .buehne-strasse .strasse-mittellinie {
    opacity: 0;
    animation: einblenden 0.6s 1.6s forwards, mittellinie-fahren 3s 1.6s linear infinite;
}

@keyframes strasse-zeichnen {
    to { stroke-dashoffset: 0; }
}

@keyframes einblenden {
    to { opacity: 1; }
}

@keyframes mittellinie-fahren {
    to { stroke-dashoffset: -56; }
}

@keyframes puls {
    0% { box-shadow: 0 0 0 0 rgb(47 191 113 / 55%); }
    70% { box-shadow: 0 0 0 8px rgb(47 191 113 / 0%); }
    100% { box-shadow: 0 0 0 0 rgb(47 191 113 / 0%); }
}

/* Bühne: Inhalt gleitet beim Laden herein */
.js .buehne-inhalt > * {
    opacity: 0;
    transform: translateY(14px);
    animation: hereingleiten 0.7s ease-out forwards;
}

.js .buehne-inhalt > :nth-child(2) { animation-delay: 0.08s; }
.js .buehne-inhalt > :nth-child(3) { animation-delay: 0.16s; }
.js .buehne-inhalt > :nth-child(4) { animation-delay: 0.24s; }
.js .buehne-inhalt > :nth-child(5) { animation-delay: 0.32s; }

@keyframes hereingleiten {
    to { opacity: 1; transform: none; }
}

/* Einblenden beim Scrollen (Klasse „sichtbar“ setzt js/main.js) */
.js .einblenden {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.js .einblenden.sichtbar {
    opacity: 1;
    transform: none;
}


/* 20. Weniger Bewegung, Druck ============================================= */

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

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .js .einblenden,
    .js .buehne-inhalt > * {
        opacity: 1;
        transform: none;
    }

    .js .buehne-strasse .strasse-band {
        stroke-dashoffset: 0;
    }

    .js .buehne-strasse .strasse-mittellinie {
        opacity: 1;
    }
}

@media print {
    .infoleiste,
    .kopf-aktionen,
    .hauptmenue,
    .aufruf,
    .buehne-strasse,
    .seitenleiste,
    .formular-karte {
        display: none !important;
    }

    .kopf,
    .seitenkopf,
    .buehne,
    .fuss {
        color: #000;
        background: none;
        box-shadow: none;
    }

    .buehne-foto,
    .seitenkopf-foto,
    .buehne::before,
    .seitenkopf-bild::before {
        display: none;
    }

    .js .einblenden {
        opacity: 1;
        transform: none;
    }
}
