:root {
    /* Farben aus dem Logo: Gold, Schwarz, Weiß. Salbeigrün als ruhige Zweitfarbe. */
    --schwarz: #141414;
    --text: #1d1d1b;
    --text-weich: #5c5c58;
    --weiss: #ffffff;
    --creme: #faf8f3;
    --gold: #d2a520;          /* nur für Linien, Flächen und auf Schwarz */
    --gold-text: #8a6914;     /* Gold für Text auf Weiß, Kontrast 5:1 */
    --salbei: #4f6b5a;
    --salbei-hell: #e7eee9;
    --linie: #e6e1d6;
    --fehler: #a4212b;

    --rand: clamp(1rem, 5vw, 3.5rem);
    --breite: 72rem;
    --abstand: clamp(3.5rem, 9vw, 7rem);
    --radius: .35rem;

    --schrift: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --schrift-titel: "Didot", "Bodoni 72", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }

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

body {
    margin: 0;
    background: var(--weiss);
    color: var(--text);
    font: 1.0625rem/1.65 var(--schrift);
}

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

a { color: var(--text); text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--gold-text); }

a:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, button:focus-visible {
    outline: 2px solid var(--gold-text);
    outline-offset: 3px;
}

h1, h2, h3 { margin: 0; font-family: var(--schrift-titel); font-weight: 400; line-height: 1.12; }
h1 { font-size: clamp(2.3rem, 5.5vw, 3.9rem); line-height: 1.05; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4.5vw, 2.9rem); }
h3 { font-size: 1.4rem; }
p { margin: 0; }

/* Kleine Überzeile in Gold mit Linie davor. */
.dachzeile {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1.1rem;
    color: var(--gold-text);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.dachzeile::before { content: ""; width: 2.25rem; height: 1px; background: var(--gold); }

.foto { overflow: hidden; border-radius: var(--radius); background: var(--creme); }

.skip-link {
    position: absolute;
    top: -4rem;
    left: 1rem;
    z-index: 4;
    padding: .6rem 1rem;
    background: var(--schwarz);
    color: var(--weiss);
    font-weight: 700;
}

.skip-link:focus { top: 0; }
main:focus { outline: none; }

/* Kopf */
.kopf-rahmen { border-bottom: 1px solid var(--linie); }

.kopf {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: var(--breite);
    margin: 0 auto;
    padding: .9rem var(--rand);
}

.marke { display: flex; align-items: center; gap: .85rem; margin-right: auto; text-decoration: none; }
.marke img { width: auto; height: 3rem; }
.marke span { display: block; font: 1.15rem/1.15 var(--schrift-titel); color: var(--schwarz); }
.marke small { display: block; margin-top: .15rem; color: var(--gold-text); font: 600 .7rem/1.2 var(--schrift); letter-spacing: .14em; text-transform: uppercase; }

.hauptnav { display: flex; gap: 1.6rem; }
.hauptnav a { font-size: .95rem; text-decoration: none; }
.hauptnav a:hover { color: var(--gold-text); }
.kopf-telefon { padding: .55rem 1.1rem; border: 1px solid var(--schwarz); border-radius: 2rem; font-size: .95rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.kopf-telefon:hover { border-color: var(--gold); color: var(--schwarz); background: var(--gold); }

.menue { display: none; }

.menue summary {
    padding: .4rem .9rem;
    border: 1px solid var(--schwarz);
    border-radius: 2rem;
    font-weight: 600;
    list-style: none;
    cursor: pointer;
}

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

.menue nav {
    position: absolute;
    top: 100%;
    right: var(--rand);
    left: var(--rand);
    z-index: 3;
    padding: .5rem 1.25rem;
    border: 1px solid var(--linie);
    border-top: 2px solid var(--gold);
    background: var(--weiss);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
}

.menue nav a { display: block; padding: .65rem 0; font-weight: 600; text-decoration: none; }
.menue nav a + a { border-top: 1px solid var(--linie); }

/* Auftakt */
.auftakt {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: end;
    max-width: var(--breite);
    margin: 0 auto;
    padding: clamp(2.5rem, 7vw, 5.5rem) var(--rand) clamp(2rem, 5vw, 3.5rem);
}

.einleitung { max-width: 34rem; margin: 1.5rem 0 2rem; font-size: 1.2rem; color: var(--text-weich); }
.aktion { display: flex; flex-wrap: wrap; gap: .75rem; }

.auftakt-info { padding-left: 1.5rem; border-left: 1px solid var(--gold); color: var(--text-weich); }
.auftakt-info p + p { margin-top: 1rem; }
.auftakt-info strong { display: block; color: var(--schwarz); font-weight: 600; }

.panorama { max-width: 90rem; margin: 0 auto; padding: 0 var(--rand); }
.panorama img { border-bottom: 1px solid var(--linie); }

.knopf {
    display: inline-block;
    padding: .85rem 1.6rem;
    border: 1px solid var(--schwarz);
    border-radius: 2rem;
    background: var(--schwarz);
    color: var(--weiss);
    font-weight: 600;
    text-decoration: none;
}

.knopf:hover { border-color: var(--gold); background: var(--gold); color: var(--schwarz); }
.knopf-leise { background: transparent; color: var(--schwarz); }

/* Abschnitte */
.band { background: var(--creme); }
.band-gruen { background: var(--salbei-hell); }

.abschnitt { max-width: var(--breite); margin: 0 auto; padding: var(--abstand) var(--rand); }
.abschnitt-kopf { max-width: 40rem; margin-bottom: 3rem; }
.abschnitt-kopf p { margin-top: 1rem; color: var(--text-weich); }

.leistungen {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 clamp(1.5rem, 4vw, 3rem);
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: leistung;
}

.leistungen li { padding: 1.75rem 0 2.25rem; border-top: 1px solid var(--linie); counter-increment: leistung; }
.leistungen li::before { content: counter(leistung, decimal-leading-zero); display: block; margin-bottom: .75rem; color: var(--gold-text); font: .85rem/1 var(--schrift-titel); letter-spacing: .1em; }
.leistungen p { margin-top: .5rem; color: var(--text-weich); }

.schwerpunkt {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 5vw, 4.5rem);
    align-items: center;
}

.schwerpunkt + .schwerpunkt { margin-top: clamp(3rem, 7vw, 5rem); }
.schwerpunkt:nth-of-type(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
.schwerpunkt:nth-of-type(even) .foto { order: 2; }
.schwerpunkt h3 { font-size: clamp(1.6rem, 3.5vw, 2.1rem); }
.schwerpunkt p { max-width: 32rem; margin-top: .9rem; color: var(--text-weich); }

.team {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(2rem, 4vw, 3rem) clamp(1.25rem, 3vw, 2.25rem);
    margin: 0;
    padding: 0;
    list-style: none;
}

.team .foto { background: var(--weiss); }
.team h3 { margin-top: 1.1rem; font-size: 1.3rem; }
.team p { margin-top: .2rem; color: var(--gold-text); font-size: .9rem; font-weight: 600; letter-spacing: .03em; }

/* Sprechzeiten */
.zeiten { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(2rem, 6vw, 5rem); }
.zeiten h2 { margin-bottom: 1rem; }
.zeiten h3 { margin: 2rem 0 .5rem; }
.zeiten p { color: var(--text-weich); }

/* Die Woche als Zeitleiste von 8 bis 19 Uhr. */
.woche { display: grid; gap: .9rem; margin: 0; padding: 0; list-style: none; }
.tag-name { display: block; margin-bottom: .3rem; font-weight: 600; }
.tag-name em { margin-left: .4rem; padding: .05rem .6rem; border-radius: 1rem; background: var(--gold); color: var(--schwarz); font-size: .8rem; font-style: normal; font-weight: 600; }

.leiste {
    display: grid;
    grid-template-columns: repeat(11, 1fr);
    gap: 2px;
    border-radius: var(--radius);
    background: var(--weiss);
}

.block {
    grid-row: 1;
    padding: .55rem .7rem;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--salbei);
    color: var(--weiss);
    font-size: .92rem;
    white-space: nowrap;
}

.ist-heute .block { background: var(--gold); color: var(--schwarz); }

.von-8 { grid-column-start: 1; }
.von-9 { grid-column-start: 2; }
.von-10 { grid-column-start: 3; }
.von-14 { grid-column-start: 7; }
.bis-12 { grid-column-end: 5; }
.bis-13 { grid-column-end: 6; }
.bis-14 { grid-column-end: 7; }
.bis-15 { grid-column-end: 8; }
.bis-17 { grid-column-end: 10; }
.bis-18 { grid-column-end: 11; }
.bis-19 { grid-column-end: 12; }

/* Kontakt */
.anschluss { background: var(--schwarz); color: var(--weiss); }
.anschluss .dachzeile { color: var(--gold); }

.anschluss-innen {
    display: grid;
    grid-template-columns: 1fr 1.45fr;
    gap: clamp(2rem, 6vw, 5rem);
    max-width: var(--breite);
    margin: 0 auto;
    padding: var(--abstand) var(--rand);
}

.anschluss a { color: inherit; }
.anschluss a:hover { color: var(--gold); }
.anschluss .formular a { color: var(--text); }
.anschluss-text p { margin: 1rem 0; color: #d6d4cf; }
.nummer { display: inline-block; margin: .25rem 0; color: var(--gold) !important; font: clamp(1.9rem, 4vw, 2.6rem)/1.1 var(--schrift-titel); text-decoration: none; white-space: nowrap; }
.nummer:hover { text-decoration: underline; }

.formular { padding: clamp(1.25rem, 3vw, 2.25rem); border-top: 3px solid var(--gold); border-radius: var(--radius); background: var(--weiss); color: var(--text); }

.feld { flex: 1; min-width: 0; margin-bottom: 1.25rem; }
.zeile { display: flex; gap: 1rem; }
.zeile .feld { margin-bottom: .25rem; }

label { display: block; margin-bottom: .3rem; font-weight: 600; }

input, textarea {
    display: block;
    width: 100%;
    padding: .7rem .85rem;
    border: 1px solid #b9b5ab;
    border-radius: var(--radius);
    background: var(--weiss);
    color: inherit;
    font: inherit;
}

input:focus, textarea:focus { border-color: var(--gold-text); }
textarea { resize: vertical; }
[aria-invalid="true"] { border: 2px solid var(--fehler); }

button {
    padding: .85rem 1.7rem;
    border: 1px solid var(--schwarz);
    border-radius: 2rem;
    background: var(--schwarz);
    color: var(--weiss);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

button:hover { border-color: var(--gold); background: var(--gold); color: var(--schwarz); }

.tipp { margin: 0 0 1.25rem; color: var(--text-weich); font-size: .9rem; }
button + .tipp { margin: 1rem 0 0; }
.fehler { margin: .3rem 0 0; color: var(--fehler); font-size: .92rem; }
.hinweis { margin: 0 0 1.5rem; padding: .8rem 1rem; border-left: 3px solid var(--fehler); background: var(--creme); }
.nicht-ausfuellen { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Fuß */
.fuss-rahmen { border-top: 1px solid var(--linie); }

.fuss {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: .5rem 1.5rem;
    max-width: var(--breite);
    margin: 0 auto;
    padding: 1.5rem var(--rand);
    color: var(--text-weich);
    font-size: .92rem;
}

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

/* Textseiten */
.text { max-width: 44rem; margin: 0 auto; padding: clamp(2rem, 6vw, 4rem) var(--rand) 4rem; }
.text h1 { margin-bottom: 1.5rem; font-size: clamp(2.3rem, 6vw, 3.4rem); overflow-wrap: anywhere; hyphens: auto; }
.text h2 { margin: 2.25rem 0 .5rem; font-size: 1.6rem; }
.text p { margin: 0 0 1rem; }
.stand { margin-top: 2.5rem; color: var(--text-weich); }

.anrufleiste { display: none; }

@media (max-width: 960px) {
    .hauptnav, .kopf-telefon { display: none; }
    .menue { display: block; }
    .leistungen { grid-template-columns: repeat(2, 1fr); }
    .team { grid-template-columns: repeat(2, 1fr); }
    .zeiten, .anschluss-innen { grid-template-columns: 1fr; }
    .auftakt { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    body { padding-bottom: 3.5rem; }
    .marke img { height: 2.5rem; }
    .marke span { font-size: .92rem; white-space: nowrap; }
    .marke { gap: .6rem; }
    .panorama img { height: 13rem; object-fit: cover; object-position: 50% 0; }
    .panorama { padding: 0; }
    .panorama .foto { border-radius: 0; }
    .leistungen { grid-template-columns: 1fr; }
    .schwerpunkt, .schwerpunkt:nth-of-type(even) { grid-template-columns: 1fr; }
    .schwerpunkt:nth-of-type(even) .foto { order: 0; }
    .team { gap: 1.75rem 1rem; }
    .team h3 { font-size: 1.1rem; }
    .team p { font-size: .82rem; }
    .zeile { display: block; }
    .zeile .feld { margin-bottom: 1.25rem; }
    .block { padding: .55rem .35rem; font-size: .78rem; }

    .anrufleiste {
        position: fixed;
        inset: auto 0 0;
        z-index: 2;
        display: block;
        padding: .9rem 1rem;
        border-top: 2px solid var(--gold);
        background: var(--schwarz);
        color: var(--weiss);
        font-weight: 600;
        text-align: center;
        text-decoration: none;
    }
}
