/* --------------------------------------------------------------------------
   site.css -- Gestaltung nach dem Design-Handoff (Variante 1b).

   Farben, Schriften und Abstaende stammen aus design_handoff_.../README.md.
   Die Schriften liegen lokal unter fonts/ (kein Aufruf von Google-Servern).
   -------------------------------------------------------------------------- */

/* --- Schriften ---------------------------------------------------------- */

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/cormorant-garamond-latin.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: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/cormorant-garamond-latin-ext.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: 'Cormorant Garamond';
    font-style: italic;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/cormorant-garamond-italic-latin.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: 'Cormorant Garamond';
    font-style: italic;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/cormorant-garamond-italic-latin-ext.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: 'EB Garamond';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('../fonts/eb-garamond-latin.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: 'EB Garamond';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('../fonts/eb-garamond-latin-ext.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: 'EB Garamond';
    font-style: italic;
    font-weight: 400 800;
    font-display: swap;
    src: url('../fonts/eb-garamond-italic-latin.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: 'EB Garamond';
    font-style: italic;
    font-weight: 400 800;
    font-display: swap;
    src: url('../fonts/eb-garamond-italic-latin-ext.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;
}

/* --- Farben und Grundwerte ---------------------------------------------- */

:root {
    --bg-seite: #e9e4d7;
    --bg-inhalt: #f6f1e5;
    --karte: #fffdf6;
    --rahmen-karte: #d8caa4;
    --zierlinie: #b9a87e;
    --feine-linie: #c9b98f;
    --text: #2e2417;
    --text-fliess: #55492f;
    --text-sekundaer: #6b5d40;
    --text-gedaempft: #8a7a56;
    --text-menue: #5c4f3a;
    --akzent: #7a2733;
    --akzent-hover: #5c1d26;
    --akzent-hell: #e8c9a0;
    --text-auf-bild: #f8f3e6;
    --schatten: #e7dec9;

    --antiqua: 'Cormorant Garamond', 'Cormorant', Garamond, 'Times New Roman', serif;
    --fliess: 'EB Garamond', Garamond, Georgia, 'Times New Roman', serif;

    --rand: 64px;
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    background: var(--bg-seite);
    color: var(--text-fliess);
    font-family: var(--fliess);
    font-size: 16.5px;
    line-height: 1.7;
}

img {
    max-width: 100%;
}

a {
    color: var(--akzent);
}

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

:focus-visible {
    outline: 2px solid var(--akzent);
    outline-offset: 2px;
}

.site {
    max-width: 920px;
    margin: 0 auto;
    background: var(--bg-inhalt);
}

/* --- Kopf --------------------------------------------------------------- */

.kopf {
    text-align: center;
    padding: 34px 40px 24px;
    border-bottom: 3px double var(--zierlinie);
}

.kopf-wappen {
    display: inline-block;
    line-height: 0;
    margin-bottom: 12px;
}

.kopf-wappen img {
    height: 78px;
    width: auto;
}

.kopf-name {
    font-family: var(--antiqua);
    font-weight: 600;
    font-size: 34px;
    line-height: 1.2;
    color: var(--text);
    margin: 0;
    letter-spacing: .02em;
}

.kopf-name a {
    color: inherit;
    text-decoration: none;
}

.kopf-inhaber {
    font-family: var(--antiqua);
    font-size: 15px;
    color: var(--akzent);
    letter-spacing: .3em;
    text-transform: uppercase;
    margin: 6px 0 0;
}

.menue {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 30px;
    margin-top: 20px;
    font-family: var(--antiqua);
    font-size: 16px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.menue a {
    color: var(--text-menue);
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
    transition: color .2s ease;
}

.menue a:hover,
.menue a.aktiv {
    color: var(--akzent);
}

.menue a.aktiv {
    border-bottom-color: var(--akzent);
}

/* --- Banner ------------------------------------------------------------- */

.banner {
    position: relative;
    height: 340px;
    overflow: hidden;
}

.banner-bild {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: sepia(.18) brightness(.95);
}

.banner-verlauf {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(246, 241, 229, .55) 0%, rgba(122, 39, 51, .12) 40%, rgba(46, 36, 23, .82) 100%);
}

.banner-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    padding: 0 110px 38px;
}

.banner-eyebrow {
    font-family: var(--antiqua);
    font-style: italic;
    font-size: 17px;
    color: var(--akzent-hell);
    margin: 0 0 8px;
}

.banner-titel {
    font-family: var(--antiqua);
    font-weight: 500;
    font-size: 40px;
    line-height: 1.18;
    color: var(--text-auf-bild);
    margin: 0;
    text-wrap: balance;
}

/* --- Ueberschriften und Fliesstext -------------------------------------- */

.abschnitt-titel {
    font-family: var(--antiqua);
    font-weight: 500;
    font-size: 40px;
    line-height: 1.2;
    color: var(--text);
    margin: 0 0 18px;
    text-wrap: balance;
}

.fliesstext p {
    margin: 0 0 14px;
}

.fliesstext p:last-child {
    margin-bottom: 0;
}

.fliesstext h2,
.fliesstext h3,
.fliesstext h4 {
    font-family: var(--antiqua);
    font-weight: 600;
    color: var(--text);
    line-height: 1.25;
    margin: 28px 0 10px;
}

.fliesstext h2 {
    font-size: 26px;
}

.fliesstext h3 {
    font-size: 22px;
}

.fliesstext h4 {
    font-size: 19px;
}

.fliesstext ul {
    margin: 0 0 14px;
    padding-left: 22px;
}

.fliesstext li {
    margin-bottom: 4px;
}

.fliesstext strong {
    font-weight: 600;
    color: var(--text);
}

.fliesstext-breit {
    max-width: 680px;
}

/* Zierzeile: Linie -- Text -- Linie */
.zierzeile {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 26px;
    font-family: var(--antiqua);
    font-weight: 400;
    font-size: 20px;
    line-height: 1.3;
    color: var(--akzent);
    letter-spacing: .2em;
    text-transform: uppercase;
    text-align: center;
}

.zierzeile::before,
.zierzeile::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--feine-linie);
}

.zierzeile-links {
    font-size: 17px;
    margin-bottom: 14px;
}

.zierzeile-links::before {
    display: none;
}

/* --- Abschnitte --------------------------------------------------------- */

.seite-kopf {
    padding: 48px var(--rand) 8px;
}

.abschnitt {
    padding: 0 var(--rand) 50px;
}

.abschnitt-letzter {
    padding-bottom: 54px;
}

.abschnitt-mittig {
    text-align: center;
}

.seite-kopf + .abschnitt,
.seite-kopf + .kontakt,
.seite-kopf + .leistung {
    padding-top: 30px;
}

/* --- Knopf -------------------------------------------------------------- */

.knopf {
    display: inline-block;
    font-family: var(--antiqua);
    font-size: 16px;
    line-height: 1.3;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--bg-inhalt);
    background: var(--akzent);
    border: 0;
    border-radius: 0;
    padding: 12px 30px;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s ease;
}

.knopf:hover {
    background: var(--akzent-hover);
    color: var(--bg-inhalt);
}

.knopf[disabled] {
    opacity: .6;
    cursor: default;
}

/* --- Einleitung (Startseite) -------------------------------------------- */

.einleitung {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 44px;
    padding: 52px var(--rand);
    align-items: center;
}

.einleitung .fliesstext {
    margin-bottom: 26px;
}

.einleitung-bild img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    border: 1px solid var(--zierlinie);
    box-shadow: 12px 12px 0 var(--schatten);
}

/* --- Karten (Leistungen auf der Startseite) ----------------------------- */

.karten {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.karte {
    display: block;
    background: var(--karte);
    border: 1px solid var(--rahmen-karte);
    padding: 26px 24px;
    text-decoration: none;
    color: inherit;
    transition: border-color .2s ease;
}

.karte:hover {
    border-color: var(--zierlinie);
    color: inherit;
}

.karte-titel {
    font-family: var(--antiqua);
    font-size: 23px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--text);
    margin: 0 0 8px;
}

.karte-text {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-sekundaer);
    margin: 0;
}

/* --- Kacheln (Impressionen) --------------------------------------------- */

.kacheln {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.kachel {
    display: block;
    border: 1px solid var(--rahmen-karte);
    background: var(--karte);
    text-decoration: none;
    color: inherit;
}

.kachel img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
    transition: filter .2s ease;
}

a.kachel:hover img {
    filter: brightness(1.03);
}

.kachel-titel {
    display: block;
    font-family: var(--antiqua);
    font-size: 19px;
    color: var(--text);
    padding: 12px 16px;
    text-align: center;
    letter-spacing: .06em;
}

/* --- Seite "Leistungen" ------------------------------------------------- */

.leistung {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 44px;
    align-items: center;
    padding: 0 var(--rand) 50px;
}

.leistung.bild-links .leistung-text {
    order: 2;
}

.leistung.ohne-bild {
    grid-template-columns: 1fr;
}

.leistung.ohne-bild .leistung-text {
    max-width: 680px;
}

.leistung-titel {
    font-family: var(--antiqua);
    font-weight: 600;
    font-size: 28px;
    line-height: 1.25;
    color: var(--text);
    margin: 0 0 12px;
}

.leistung-bild img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    border: 1px solid var(--zierlinie);
    box-shadow: 12px 12px 0 var(--schatten);
}

.leistung.bild-links .leistung-bild img {
    box-shadow: -12px 12px 0 var(--schatten);
}

/* --- Seite "Ueber uns" -------------------------------------------------- */

.ueber {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 44px;
    align-items: start;
    padding: 48px var(--rand) 54px;
}

.ueber.bild-links .ueber-text {
    order: 2;
}

.ueber.ohne-bild {
    grid-template-columns: 1fr;
}

.ueber.ohne-bild .ueber-text {
    max-width: 680px;
}

.ueber-bild {
    margin: 12px 0 0;
}

.ueber-bild img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    display: block;
    border: 1px solid var(--zierlinie);
    box-shadow: 12px 12px 0 var(--schatten);
}

.ueber.bild-links .ueber-bild img {
    box-shadow: -12px 12px 0 var(--schatten);
}

.ueber-bild figcaption {
    font-family: var(--antiqua);
    font-size: 16px;
    letter-spacing: .06em;
    color: var(--text-gedaempft);
    text-align: center;
    margin-top: 22px;
}

/* --- Kontakt ------------------------------------------------------------ */

.kontakt {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 44px;
    align-items: start;
    padding: 0 var(--rand) 54px;
}

.anschrift {
    font-style: normal;
    margin: 0 0 28px;
    color: var(--text-fliess);
}

.kontakt-liste {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 14px;
    margin: 0 0 18px;
}

.kontakt-liste dt {
    color: var(--text-gedaempft);
    font-size: 15px;
}

.kontakt-liste dd {
    margin: 0;
}

.kontakt-liste a {
    text-decoration: none;
}

.kontakt-liste a:hover {
    text-decoration: underline;
}

.kontakt-zeiten {
    font-size: 15.5px;
    color: var(--text-sekundaer);
    margin: 0;
}

/* --- Formulare ---------------------------------------------------------- */

.formular {
    background: var(--karte);
    border: 1px solid var(--rahmen-karte);
    padding: 26px 24px 24px;
}

.feldpaar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 18px;
}

.feld {
    margin-bottom: 18px;
}

.feld label {
    display: block;
    font-family: var(--antiqua);
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 5px;
}

.pflicht {
    color: var(--akzent);
    font-weight: 400;
}

.optional {
    font-weight: 400;
    color: var(--text-gedaempft);
    font-size: 15px;
}

.feld input[type="text"],
.feld input[type="email"],
.feld input[type="tel"],
.feld textarea {
    width: 100%;
    font-family: var(--fliess);
    font-size: 16px;
    line-height: 1.5;
    color: var(--text);
    background: #fff;
    border: 1px solid var(--rahmen-karte);
    border-radius: 0;
    padding: 9px 11px;
}

.feld textarea {
    resize: vertical;
    min-height: 120px;
}

.feld input:focus,
.feld textarea:focus {
    outline: 2px solid var(--akzent);
    outline-offset: 1px;
    border-color: var(--akzent);
}

.feld-fehlt input,
.feld-fehlt textarea,
.feld-fehlt.feld-haken label {
    outline: 2px solid var(--akzent);
    outline-offset: 1px;
}

.feld-haken label {
    font-family: var(--fliess);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.55;
    color: var(--text-sekundaer);
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 4px;
}

.feld-haken input {
    margin: 5px 0 0;
    accent-color: var(--akzent);
}

.hp-feld {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.formular-aktion {
    margin-top: 6px;
}

.formular-fehler {
    color: var(--akzent);
    font-size: 15.5px;
    margin: 0 0 14px;
}

.formular-erfolg {
    background: var(--karte);
    border: 1px solid var(--rahmen-karte);
    padding: 22px 24px;
    font-family: var(--antiqua);
    font-size: 21px;
    color: var(--text);
    margin: 0;
    text-align: center;
}

/* --- Gaestebuch --------------------------------------------------------- */

.eintraege {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 18px;
}

.eintrag {
    background: var(--karte);
    border: 1px solid var(--rahmen-karte);
    padding: 22px 24px;
}

.eintrag-kopf {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 16px;
    margin-bottom: 8px;
}

.eintrag-name {
    font-family: var(--antiqua);
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
}

.eintrag-datum {
    font-size: 13px;
    color: var(--text-gedaempft);
}

.eintrag-text {
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--text-fliess);
}

.eintrag-text p {
    margin: 0 0 10px;
}

.eintrag-text p:last-child {
    margin-bottom: 0;
}

.leer {
    color: var(--text-gedaempft);
    text-align: center;
    font-style: italic;
}

.blaettern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
    font-family: var(--antiqua);
    font-size: 17px;
    letter-spacing: .06em;
}

.blaettern a {
    text-decoration: none;
}

.blaettern a:hover {
    text-decoration: underline;
}

.blaettern-stand {
    color: var(--text-gedaempft);
    margin: 0 auto;
}

/* --- Rechtstexte -------------------------------------------------------- */

.rechtstext {
    font-size: 16px;
}

/* --- Fusszeile ---------------------------------------------------------- */

.fuss {
    text-align: center;
    padding: 20px 40px;
    border-top: 3px double var(--zierlinie);
    font-size: 13.5px;
    color: var(--text-gedaempft);
}

.fuss a {
    color: var(--text-gedaempft);
}

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

/* --- Meldungsseite (Antwort ohne JavaScript) ----------------------------- */

.meldung {
    padding: 60px var(--rand) 80px;
    text-align: center;
}

.meldung p {
    font-family: var(--antiqua);
    font-size: 24px;
    color: var(--text);
    margin: 0 0 24px;
}

/* --- Kleinere Bildschirme ----------------------------------------------- */

@media (max-width: 900px) {
    :root {
        --rand: 32px;
    }

    .banner-text {
        padding: 0 40px 32px;
    }

    .einleitung,
    .leistung,
    .ueber,
    .kontakt {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .leistung.bild-links .leistung-text,
    .ueber.bild-links .ueber-text {
        order: 0;
    }

    .einleitung-bild img,
    .leistung-bild img,
    .ueber-bild img {
        height: 280px;
    }

    .leistung.bild-links .leistung-bild img,
    .ueber.bild-links .ueber-bild img {
        box-shadow: 12px 12px 0 var(--schatten);
    }

    .karten,
    .kacheln {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .kopf {
        padding: 26px 20px 20px;
    }

    .kopf-wappen img {
        height: 60px;
    }

    .kopf-name {
        font-size: 28px;
    }

    .menue {
        gap: 8px 20px;
        font-size: 15px;
    }

    .banner {
        height: 260px;
    }

    .banner-text {
        padding: 0 20px 24px;
    }

    .banner-titel {
        font-size: 28px;
    }

    .abschnitt-titel {
        font-size: 30px;
    }

    .einleitung {
        padding-top: 40px;
    }

    .karten,
    .kacheln,
    .feldpaar {
        grid-template-columns: 1fr;
    }

    .einleitung-bild img,
    .leistung-bild img,
    .ueber-bild img {
        box-shadow: 6px 6px 0 var(--schatten);
    }

    .zierzeile {
        font-size: 17px;
        letter-spacing: .14em;
    }

    .formular {
        padding: 20px 16px;
    }

    .blaettern {
        flex-wrap: wrap;
        justify-content: center;
    }

    .fuss {
        padding: 18px 20px;
    }
}
