/* =========================================================
   Landhof Schadehorn – Gäste-Website
   CI 1.0: viel Weißraum · klare Achsen · Gold nur als Akzent · keine Effekte
   ========================================================= */

:root {
  --landhof-gruen: #505743;
  --tiefgruen:     #454D38;
  --gold:          #C79F6C;
  --gold-text:     #8A6534;
  --warmweiss:     #FDFCFB;
  --warmgrau:      #A2A59B;
  --flaeche:       #F6F5F1;
  --linie:         #E4E2DC;
  --text:          #3B4230;
  --text-leise:    #6E7266;
  --rot:           #9A3B2A;
  --rot-hell:      #F7E7E3;

  --schrift-titel: "EB Garamond", "Iowan Old Style", Garamond, Georgia, serif;
  --schrift:       "Lato", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --breite: 1160px;
  --radius: 6px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--warmweiss); color: var(--text); font: 400 17px/1.55 var(--schrift); }
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: var(--landhof-gruen); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--tiefgruen); }
h1, h2, h3 { font-family: var(--schrift-titel); font-weight: 400; color: var(--tiefgruen); line-height: 1.15; margin: 0 0 .4em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
p { margin: 0 0 1em; }
.leise { color: var(--text-leise); }
.klein { font-size: .85rem; }
.optional { font-weight: 400; color: var(--text-leise); }
.unsichtbar { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sprung { position: absolute; left: -9999px; }
.sprung:focus { left: 16px; top: 8px; z-index: 10; background: #fff; padding: 8px 12px; }
:focus-visible { outline: 2px solid var(--landhof-gruen); outline-offset: 2px; }

.rahmen { max-width: var(--breite); margin: 0 auto; padding: 0 16px; }
.schmal { max-width: 680px; margin: 0 auto; padding: 0 16px; }

/* ---------- Kopf ---------- */
.s-kopf { background: var(--landhof-gruen); color: #fff; position: sticky; top: 0; z-index: 5; }
.s-kopf-innen { max-width: var(--breite); margin: 0 auto; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.wortmarke { display: flex; flex-direction: column; text-decoration: none; color: #fff; line-height: 1; }
.wortmarke:hover { color: #fff; }
.wortmarke-haupt { font-family: var(--schrift-titel); font-size: 1.5rem; letter-spacing: .16em; text-transform: uppercase; }
.wortmarke-unter { font-weight: 300; font-size: .62rem; letter-spacing: .44em; text-transform: uppercase; color: var(--gold); margin-top: 6px; }
.s-nav { display: flex; gap: 6px 26px; flex-wrap: wrap; }
.s-nav a { color: rgba(255,255,255,.85); text-decoration: none; font-size: .95rem; padding: 6px 0; border-bottom: 1px solid transparent; }
.s-nav a:hover, .s-nav a[aria-current] { color: #fff; border-bottom-color: var(--gold); }
.menue-knopf { display: none; background: none; border: 1px solid rgba(255,255,255,.4); color: #fff; font: inherit; font-size: .9rem; padding: 6px 12px; border-radius: var(--radius); cursor: pointer; }

/* ---------- Held / Titelbereich ---------- */
.held { text-align: center; padding: 64px 16px 48px; background: var(--warmweiss); }
.held-logo img { width: min(420px, 82vw); margin: 0 auto; }
.held-unterzeile { margin: 22px 0 0; font-weight: 300; font-size: .8rem; letter-spacing: .34em; text-transform: uppercase; color: var(--gold-text); }
.held-mit-bild { padding: 0; background: var(--landhof-gruen); }
.held-mit-bild .held-bild img { width: 100%; height: min(62vh, 640px); object-fit: cover; }
.held-mit-bild .held-inhalt { padding: 40px 16px 44px; }
.held-mit-bild .held-logo img { width: min(340px, 74vw); }
.held-mit-bild .held-unterzeile { color: var(--gold); }
.held-standort .held-inhalt { padding: 56px 16px 40px; }
.held-ueber { margin: 0 0 10px; font-size: .75rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-text); }
.held-mit-bild .held-ueber { color: var(--gold); }
.held-titel { margin: 0; font-size: clamp(2.4rem, 6vw, 3.6rem); letter-spacing: .04em; }
.held-mit-bild .held-titel { color: #fff; }

/* ---------- Suche ---------- */
.suche { max-width: var(--breite); margin: 0 auto; padding: 0 16px; }
.suche-form {
  display: grid; grid-template-columns: 1fr 1fr 110px auto; gap: 12px; align-items: end;
  background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 18px;
  margin-top: -1px;
}
.held-mit-bild + .suche .suche-form, .held + .suche .suche-form { margin-top: 0; }
.suche-feld label { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-leise); margin-bottom: 6px; }

/* ---------- Formularfelder ---------- */
input[type=text], input[type=email], input[type=tel], input[type=date], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: #fff;
  border: 1px solid #CFCDC5; border-radius: var(--radius); padding: 10px 12px; min-height: 46px;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--landhof-gruen); outline-offset: 0; border-color: var(--landhof-gruen); }
label { display: block; font-weight: 700; font-size: .875rem; margin-bottom: 6px; }

.knopf {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px;
  font: 700 .95rem var(--schrift); letter-spacing: .03em; text-decoration: none; cursor: pointer;
  background: var(--landhof-gruen); color: #fff; border: 0; border-radius: var(--radius); padding: 0 22px;
}
.knopf:hover { background: var(--tiefgruen); color: #fff; }
.knopf-breit { width: 100%; }

/* ---------- Abschnitte ---------- */
.einleitung { padding: 64px 0 24px; text-align: center; font-size: 1.15rem; color: var(--text); }
.einleitung p { font-family: var(--schrift-titel); font-size: 1.45rem; line-height: 1.45; color: var(--tiefgruen); }
.abschnitt { padding: 48px 0; }
.abschnitt-flaeche { background: var(--flaeche); }
.abschnitt-titel { font-size: clamp(1.6rem, 3vw, 2rem); margin-bottom: 24px; }
.abschnitt-titel::after { content: ""; display: block; width: 36px; height: 1px; background: var(--gold); margin-top: 12px; }
.seiten-kopf { padding: 48px 0 20px; }
.brotkrumen { padding-top: 20px; padding-bottom: 8px; font-size: .9rem; }
.brotkrumen a { text-decoration: none; }
.hinweisbox { background: var(--flaeche); border-left: 2px solid var(--gold); padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; }

/* ---------- Arten (Startseite) ---------- */
.arten { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.art { display: flex; flex-direction: column; gap: 8px; padding: 26px 24px; border: 1px solid var(--linie); border-radius: var(--radius); background: #fff; text-decoration: none; color: var(--text); }
.art:hover { border-color: var(--warmgrau); color: var(--text); }
.art-titel { font-family: var(--schrift-titel); font-size: 1.55rem; color: var(--tiefgruen); }
.art-text { color: var(--text-leise); font-size: .95rem; flex: 1; }
.art-link { font-weight: 700; font-size: .85rem; color: var(--landhof-gruen); }

/* ---------- Angebots-Karten ---------- */
.angebote { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.angebot { display: flex; flex-direction: column; text-decoration: none; color: var(--text); background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; }
.angebot:hover { border-color: var(--warmgrau); color: var(--text); }
.karte-bild img, .karte-bild-leer { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.karte-bild-leer { display: flex; align-items: center; justify-content: center; background: var(--flaeche); color: var(--warmgrau); font-family: var(--schrift-titel); font-size: 1.3rem; padding: 16px; text-align: center; }
.angebot-text { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }
.angebot-ort { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin: 0; }
.angebot-titel { font-family: var(--schrift-titel); font-size: 1.5rem; line-height: 1.2; color: var(--tiefgruen); }
.angebot-kurz { color: var(--text-leise); font-size: .95rem; }
.angebot-fuss { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--linie); font-size: .88rem; color: var(--text-leise); }
.preis { font-weight: 700; color: var(--tiefgruen); font-size: 1rem; }
.preis small { font-weight: 400; color: var(--text-leise); font-size: .8rem; }

/* ---------- Häuser ---------- */
.haeuser { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.haus { display: block; text-decoration: none; color: var(--text); background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; }
.haus:hover { border-color: var(--warmgrau); color: var(--text); }
.haus-bild img, .haus-bild.karte-bild-leer { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.haus-text { display: flex; flex-direction: column; gap: 4px; padding: 18px 22px 22px; }
.haus-titel { font-family: var(--schrift-titel); font-size: 1.7rem; color: var(--tiefgruen); }

/* ---------- Galerie ---------- */
.galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.galerie-bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

/* ---------- Detailseite ---------- */
.detail-bilder { max-width: var(--breite); margin: 8px auto 0; padding: 0 16px; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: min(56vh, 520px); }
.detail-bilder picture { overflow: hidden; border-radius: var(--radius); }
.detail-bilder img { width: 100%; height: 100%; object-fit: cover; }
.detail-haupt { grid-row: 1 / 3; }
.detail-bilder.nur-eins { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; padding-top: 36px; padding-bottom: 72px; align-items: start; }
.detail-kurz { font-family: var(--schrift-titel); font-size: 1.35rem; color: var(--tiefgruen); line-height: 1.4; }
.eckdaten { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--text-leise); font-size: .95rem; }
.eckdaten li::before { content: "·"; color: var(--gold); margin-right: 8px; }
.eckdaten li:first-child::before { content: none; margin: 0; }
.ausstattung { columns: 2 220px; padding-left: 18px; margin: 0 0 32px; }
.ausstattung li { margin-bottom: 6px; break-inside: avoid; }
.ausstattung li::marker { color: var(--gold); }
.detail-text .abschnitt-titel { margin-top: 36px; }

.anfrage { position: sticky; top: 96px; }
.anfrage-karte { display: grid; gap: 14px; background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 24px; }
.anfrage-preis { margin: 0 0 4px; font-family: var(--schrift-titel); font-size: 2rem; color: var(--tiefgruen); line-height: 1; }
.anfrage-preis span, .anfrage-preis small { font-family: var(--schrift); font-size: .9rem; color: var(--text-leise); }
.anfrage-preis-klein { font-size: 1.4rem; }
.feld-paar { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.preis-rechnung { margin: -4px 0 0; font-size: .9rem; color: var(--tiefgruen); font-weight: 700; min-height: 1.2em; }
.anfrage-danke h2 { margin-bottom: 4px; }
.meldung { border-radius: var(--radius); padding: 10px 14px; font-size: .92rem; }
.meldung-fehler { background: var(--rot-hell); color: var(--rot); }

/* ---------- Rechtstexte ---------- */
.rechtstext h2 { font-size: 1.4rem; margin-top: 32px; }
.zwei-spalten { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }

/* ---------- Fuß ---------- */
.s-fuss { background: var(--landhof-gruen); color: rgba(255,255,255,.85); margin-top: 32px; }
.s-fuss a { color: #fff; }
.s-fuss-innen { max-width: var(--breite); margin: 0 auto; padding: 48px 16px 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.fuss-marke { font-family: var(--schrift-titel); font-size: 1.6rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 0; line-height: 1; }
.fuss-marke span { display: block; font-family: var(--schrift); font-weight: 300; font-size: .62rem; letter-spacing: .44em; color: var(--gold); margin-top: 8px; }
.fuss-zeile { margin-top: 16px; font-size: .9rem; }
.fuss-titel { font-family: var(--schrift); font-weight: 700; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.s-fuss-unten { max-width: var(--breite); margin: 0 auto; padding: 16px; border-top: 1px solid rgba(199,159,108,.5); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: .8rem; }

/* ---------- Mobil ---------- */
@media (max-width: 900px) {
  .detail { grid-template-columns: 1fr; gap: 32px; }
  .anfrage { position: static; }
  .detail-bilder { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; height: auto; }
  .detail-haupt { grid-column: 1 / 3; grid-row: auto; aspect-ratio: 4 / 3; }
  .detail-neben:nth-of-type(n+4) { display: none; }
  .detail-neben { aspect-ratio: 4 / 3; }
  .suche-form { grid-template-columns: 1fr 1fr; }
  .suche-form .knopf { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .menue-knopf { display: inline-block; }
  .s-nav { display: none; width: 100%; flex-direction: column; gap: 0; padding-top: 8px; }
  .s-nav.offen { display: flex; }
  .s-nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
  .held { padding: 44px 16px 36px; }
  .einleitung { padding-top: 44px; }
  .einleitung p { font-size: 1.25rem; }
  .abschnitt { padding: 36px 0; }
  .suche-form { grid-template-columns: 1fr 1fr; padding: 14px; }
  .suche-feld-klein { grid-column: 1 / -1; }
  .feld-paar { grid-template-columns: 1fr 1fr; gap: 10px; }
  .anfrage-karte { padding: 18px; }
}
