/* Holzzeit – helle Variante. Farben und Schriften stehen oben als Variablen. */

@font-face {
  font-family: "Marcellus";
  src: url("../fonts/marcellus-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("../fonts/nunito-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --grund: #F6EEDF;
  --flaeche: #EBDDC4;
  --schrift: #2A1A0E;
  --leise: #5C4630;
  --akzent: #8A4E0C;
  --rahmen: #8A6A45;
  --gruen: #2F6B2A;
  --titel: "Marcellus", Georgia, serif;
  --text: "Nunito Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--grund);
  color: var(--schrift);
  font: 17px/1.6 var(--text);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--schrift); }
a:hover { color: var(--akzent); }
a:focus-visible, .knopf:focus-visible { outline: 3px solid var(--akzent); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--titel); font-weight: 400; line-height: 1.15; margin: 0; }
h1 { font-size: clamp(36px, 6vw, 60px); }
h2 { font-size: clamp(28px, 4vw, 38px); }
h3 { font-size: 23px; }
p { margin: 0; }

.rand { max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.leise { color: var(--leise); }
.schmal { max-width: 560px; }

.sprung { position: absolute; left: -999px; }
.sprung:focus { left: 12px; top: 12px; background: var(--grund); padding: 8px 12px; z-index: 10; }

/* Kopf und Fuß */
.kopf, .fuss {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  padding-top: 20px; padding-bottom: 20px;
}
.fuss { padding-top: 56px; padding-bottom: 56px; }
.fuss > div { display: flex; flex-direction: column; gap: 6px; }
.marke { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.marke img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.marke span, .marke-text { font-family: var(--titel); font-size: 22px; letter-spacing: 0.04em; }
.menue { display: flex; flex-wrap: wrap; gap: 0 28px; }
.menue a { padding: 10px 0; text-decoration: none; }
.fuss .menue a { text-decoration: underline; }

/* Knöpfe */
.knopf {
  display: inline-block; padding: 14px 28px; border-radius: 4px;
  background: var(--akzent); color: var(--grund); font-weight: 700; text-decoration: none;
  border: 1px solid var(--akzent);
}
.knopf:hover { background: var(--schrift); border-color: var(--schrift); color: var(--grund); }
.knopf-rand { background: transparent; color: var(--schrift); border-color: var(--rahmen); font-weight: 400; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 16px; }

/* Startseite */
.held { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 56px; padding-top: 48px; padding-bottom: 88px; }
.held-text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 24px; }
.held-text .leise { max-width: 520px; }
.held-logo {
  flex: 0 1 440px; width: 100%; max-width: 440px; margin: 0 auto;
  aspect-ratio: 1; object-fit: cover; border-radius: 50%;
  box-shadow: 0 0 90px rgba(138, 78, 12, 0.35);
}
.ueberzeile { font-size: 14px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--akzent); }

.band { background: var(--flaeche); padding: 72px 0; }
.kopfzeile { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.kopfzeile > div { display: flex; flex-direction: column; gap: 12px; flex: 1 1 420px; }
.band .raster { margin-top: 36px; }
.band > .rand > .leise { margin-top: 24px; }

.schritte { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; padding-top: 80px; padding-bottom: 80px; }
.schritte > div { display: flex; flex-direction: column; gap: 8px; }
.ziffer { font-family: var(--titel); font-size: 34px; color: var(--akzent); }

/* Übersicht */
.raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 36px 28px; }
.karte { display: flex; flex-direction: column; gap: 4px; text-decoration: none; }
.karte img, .karte .ohne-foto { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; margin-bottom: 10px; }
.karte-name { font-family: var(--titel); font-size: 23px; line-height: 1.2; }
.ohne-foto { display: flex; align-items: center; justify-content: center; border: 1px dashed var(--rahmen); color: var(--leise); min-height: 200px; border-radius: 6px; }

.status { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--akzent); }
.status-verfuegbar { color: var(--gruen); }
.status-verkauft { color: var(--leise); }

/* Unterseiten */
.seite { padding-top: 32px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 20px; }
.seite .raster { margin-top: 20px; }
.text > * { max-width: 680px; }
.text h2 { font-size: 28px; margin-top: 16px; }
.text ul { margin: 0; padding-left: 20px; }
.platzhalter { border: 1px dashed var(--rahmen); border-radius: 6px; padding: 16px; color: var(--leise); }

/* Einzelnes Stück */
.stueck { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px 56px; padding-top: 32px; padding-bottom: 88px; }
.galerie { flex: 1 1 440px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; min-width: 0; }
.galerie a:first-child { grid-column: 1 / -1; }
.galerie img { width: 100%; border-radius: 6px; }
.galerie a:not(:first-child) img { aspect-ratio: 1; object-fit: cover; }
.galerie .ohne-foto { grid-column: 1 / -1; aspect-ratio: 1; }
.angaben { flex: 1 1 400px; display: flex; flex-direction: column; gap: 20px; }
.angaben h1 { font-size: clamp(32px, 5vw, 44px); }
.angaben p + p { margin-top: 12px; }
.preis { font-size: 26px; color: var(--akzent); }
.daten { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; }
.daten dt { color: var(--leise); }
.daten dd { margin: 0; }
.kasten { background: var(--flaeche); border-radius: 8px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.kasten h2 { font-size: 26px; }

/* Anfrageformular */
.formular { display: flex; flex-direction: column; gap: 16px; }
.feld { display: flex; flex-direction: column; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.feld > label, .feld legend { font-size: 15px; font-weight: 600; padding: 0; }
.feld legend { margin-bottom: 4px; }
.feld input[type="text"], .feld input[type="email"], .feld textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  background: var(--grund); color: var(--schrift);
  border: 1px solid var(--rahmen); border-radius: 4px; font: inherit; font-size: 16px;
}
.feld input:focus-visible, .feld textarea:focus-visible { outline: 3px solid var(--akzent); outline-offset: 2px; }
.auswahl { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.auswahl input { width: 20px; height: 20px; accent-color: var(--akzent); flex: none; }
.formular .knopf { font: inherit; font-weight: 700; cursor: pointer; min-height: 52px; }
.fehler { color: #8C1D18; font-weight: 600; }
.klein { font-size: 14px; }
.falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
