:root { color-scheme: light; font-family: system-ui, sans-serif; color: #263429; background: #f8f5ef; --accent: #254a39; --line: #dedcd2; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; line-height: 1.6; }
.rahmen { width: min(100% - 2.5rem, 72rem); margin-inline: auto; }
.kopf { background: #173529; color: white; }
.kopf .rahmen, .fuss .rahmen { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .7rem 1.5rem; padding-block: 1.15rem; }
nav, .aktionen { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem .95rem; }
a { text-underline-offset: .24em; color: var(--accent); }
.kopf a { color: white; text-decoration: none; }
.kopf nav a { padding: .35rem .5rem; border-radius: .35rem; }
.kopf nav a:hover, .kopf nav a[aria-current] { background: #315747; }
.marke { font-size: 1.22rem; font-weight: 750; }
main { flex: 1; padding-block: 2rem 3rem; }
h1, h2 { font-family: Georgia, serif; line-height: 1.08; }
h1 { font-size: clamp(2.45rem, 7vw, 4.7rem); margin: .3em 0 .5em; letter-spacing: -.055em; }
h2 { font-size: 1.55rem; margin: .35em 0 .6em; }
.hero { display: grid; align-items: center; min-height: clamp(24rem, 55vw, 34rem); padding: clamp(1.4rem, 6vw, 5rem); color: #fffdf7; border-radius: 1.2rem; background: radial-gradient(ellipse at 100% 100%, #45634c, #183b2e 73%); }
.hero h1 { font-size: clamp(2.7rem, 9vw, 7rem); margin: 0; }
.hero p { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
.hero .aktionen > a { color: white; }
.hero .aktionen > .schaltflaeche { background: #e5c38b; color: #252f26; }
.karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 1rem; }
article, form { background: #fffdfa; border: 1px solid var(--line); border-radius: .75rem; padding: clamp(1rem, 3vw, 1.6rem); margin-block: 1rem; overflow-wrap: anywhere; }
.karten article { margin: 0; }
.meta { color: #546456; margin-top: 0; font-size: .94rem; font-weight: 650; }
form { max-width: 42rem; }
label { display: block; margin-bottom: .9rem; font-weight: 650; }
input, select, button { font: inherit; }
input:not([type=checkbox]):not([type=hidden]), select { display: block; width: 100%; margin-top: .3rem; padding: .6rem .7rem; border: 1px solid #85968a; border-radius: .4rem; color: inherit; background: white; }
button, .schaltflaeche { display: inline-block; border: 0; border-radius: .45rem; background: var(--accent); color: white; padding: .6rem .9rem; font-weight: 650; text-decoration: none; cursor: pointer; }
button:hover, .schaltflaeche:hover { filter: brightness(1.13); }
:focus-visible { outline: 3px solid #b56e2c; outline-offset: 3px; }
.fehler { background: #fbe7e4; border: 1px solid #b36253; color: #662b21; border-radius: .5rem; padding: .8rem; }
.fuss { border-top: 1px solid var(--line); background: #eeeae0; }
.fuss nav a { padding-block: .35rem; }
.rechtstext { max-width: 52rem; }

.ortsauswahl { display: flex; align-items: end; flex-wrap: wrap; gap: .65rem; }
.ortsauswahl label { flex: 1 1 14rem; margin: 0; }

/* Mobile zuerst: kurze Wege, große Klickflächen und einspaltige Inhalte. */
.rahmen { width: calc(100% - 2rem); max-width: 72rem; }
.kopf .rahmen { display: grid; gap: .6rem; }
.kopf nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .3rem; }
.kopf nav a { display: flex; align-items: center; min-height: 44px; padding: .45rem .6rem; }
.karten { grid-template-columns: minmax(0, 1fr); }
button, .schaltflaeche { min-height: 44px; }
.ortsauswahl { display: grid; }
input:not([type=checkbox]):not([type=hidden]), select { min-height: 44px; font-size: 1rem; }
.hero .aktionen { align-items: flex-start; flex-direction: column; }
.fuss nav a { min-height: 44px; display: inline-flex; align-items: center; }
@media (min-width: 650px) {
    .karten { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
    .ortsauswahl { display: flex; }
    .hero .aktionen { flex-direction: row; align-items: center; }
    .kopf nav { display: flex; }
}
@media (min-width: 850px) {
    .kopf .rahmen { display: flex; }
}

[hidden] { display: none !important; }
.kopf .rahmen { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.kopf .marke { overflow-wrap: anywhere; }
.menueknopf { display: inline-flex; align-items: center; gap: .55rem; border: 1px solid #a7bcb0; }
.kopf nav { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr); }
.kopf nav a { border-radius: .45rem; padding-inline: .75rem; }
@media (max-width: 649px) {
    main { padding-block: 1.25rem 2rem; }
    form button, .aktionen .schaltflaeche { width: 100%; }
    .hero { min-height: 19rem; }
    article, form { padding: 1rem; }
    .fuss .rahmen { display: grid; }
}
@media (min-width: 850px) {
    .kopf nav { display: flex; }
}

.bildergalerie {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: .85rem;
    margin-block: 1rem 1.5rem;
}
.bildergalerie img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: .75rem;
}
@media (min-width: 560px) {
    .bildergalerie { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 850px) {
    .bildergalerie { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Einheitliche Inhaltsbreite fuer alle Seiten und den Checkout. */
.rahmen { max-width: 88rem; width: min(calc(100% - 2rem), 88rem); }
.seitenflaeche {
    background: #fffdfa;
    padding: clamp(1rem, 3.8vw, 3.25rem);
    border: 1px solid var(--line);
    border-radius: clamp(.9rem, 2vw, 1.5rem);
    box-shadow: 0 12px 34px #273c2710;
    min-width: 0;
}
.seitenflaeche-start { border: 0; padding: 0; background: none; }
.seitenflaeche > h1 { margin-top: 0; }
.seitenflaeche > .rechtstext, .seitenflaeche > form { max-width: none; }
.seitenflaeche > article, .seitenflaeche > form { background: #f8f6f0; }
.seitenflaeche .karten { gap: clamp(.85rem, 2vw, 1.4rem); }
.standortkarte { display: flex; flex-direction: column; align-items: flex-start; }
.standortkarte .bildergalerie { width: 100%; display: block; margin: 0 0 .8rem; }
.standortkarte .bildergalerie img, .bildergalerie img { aspect-ratio: 16 / 9; }
.standortkarte .schaltflaeche { margin-top: auto; }
@media (min-width: 850px) {
    .rahmen { width: min(calc(100% - 4rem), 88rem); }
}
