/* ---------------------------------------------------------
   Ferienwohnung Holzerode – Stylesheet
   Farben zentral anpassbar über die Variablen unten.
   --------------------------------------------------------- */

:root {
  --farbe-primaer: #2f5d3a;      /* dunkles Waldgrün */
  --farbe-primaer-hell: #3f7a4d;
  --farbe-akzent: #c98a2b;       /* warmes Honiggelb */
  --farbe-hintergrund: #faf8f4;
  --farbe-flaeche: #ffffff;
  --farbe-text: #2b2b28;
  --farbe-text-gedimmt: #6b6a64;
  --farbe-linie: #e4e0d6;
  --radius: 10px;
  --schatten: 0 2px 10px rgba(0, 0, 0, 0.07);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--farbe-text);
  background: var(--farbe-hintergrund);
}

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

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

a { color: var(--farbe-primaer); }
a:hover { color: var(--farbe-primaer-hell); }

h1, h2, h3 { line-height: 1.25; }
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; margin-top: 2.5rem; }

/* ----- Kopfbereich ----- */

.site-header {
  background: var(--farbe-flaeche);
  border-bottom: 1px solid var(--farbe-linie);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.brand {
  text-decoration: none;
  color: var(--farbe-text);
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--farbe-primaer);
}

.brand-sub {
  font-size: 0.85rem;
  color: var(--farbe-text-gedimmt);
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  color: var(--farbe-text);
}

.site-nav a:hover {
  background: var(--farbe-hintergrund);
  color: var(--farbe-primaer);
}

.site-nav a[aria-current="page"] {
  background: var(--farbe-primaer);
  color: #fff;
}

/* ----- Hero (Startseite) ----- */

.hero {
  background: linear-gradient(160deg, var(--farbe-primaer), var(--farbe-primaer-hell));
  color: #fff;
  padding: 3.5rem 0;
}

.hero h1 { margin: 0 0 0.5rem; font-size: 2.4rem; }
.hero p { margin: 0 0 1.5rem; font-size: 1.15rem; max-width: 40rem; }

.hero .buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.button {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

.button-primaer { background: var(--farbe-akzent); color: #fff; }
.button-primaer:hover { background: #b57a20; color: #fff; }

.button-sekundaer {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.button-sekundaer:hover { background: rgba(255, 255, 255, 0.25); color: #fff; }

/* ----- Inhaltsbereiche ----- */

.section { padding: 2.5rem 0; }

.karten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.karte {
  background: var(--farbe-flaeche);
  border: 1px solid var(--farbe-linie);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--schatten);
}

.karte h3 { margin-top: 0; }

.karte .symbol { font-size: 1.8rem; }

/* ----- Listen & Tabellen ----- */

.haken-liste {
  list-style: none;
  padding: 0;
  columns: 2;
  column-gap: 2rem;
}

.haken-liste li {
  padding: 0.3rem 0 0.3rem 1.6rem;
  position: relative;
  break-inside: avoid;
}

.haken-liste li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--farbe-primaer);
  font-weight: 700;
}

@media (max-width: 600px) {
  .haken-liste { columns: 1; }
}

.preis-tabelle {
  width: 100%;
  border-collapse: collapse;
  background: var(--farbe-flaeche);
  border: 1px solid var(--farbe-linie);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--schatten);
}

.preis-tabelle th,
.preis-tabelle td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--farbe-linie);
}

.preis-tabelle tr:last-child td { border-bottom: none; }

.preis-tabelle th {
  background: var(--farbe-primaer);
  color: #fff;
}

.preis-tabelle td:last-child { text-align: right; white-space: nowrap; font-weight: 600; }

/* ----- Galerie ----- */

.galerie {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.galerie figure {
  margin: 0;
  background: var(--farbe-flaeche);
  border: 1px solid var(--farbe-linie);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--schatten);
}

.galerie img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.galerie figcaption {
  padding: 0.6rem 0.9rem;
  font-size: 0.9rem;
  color: var(--farbe-text-gedimmt);
}

/* ----- Hinweisbox (Platzhalter) ----- */

.hinweis {
  background: #fdf3e3;
  border: 1px solid #ecd3a8;
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  color: #7a5b1e;
  margin: 1.5rem 0;
}

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

.kontakt-daten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

/* ----- Fußbereich ----- */

.site-footer {
  margin-top: 3rem;
  background: var(--farbe-flaeche);
  border-top: 1px solid var(--farbe-linie);
  color: var(--farbe-text-gedimmt);
  font-size: 0.95rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.footer-legal { text-align: right; }

@media (max-width: 700px) {
  .footer-legal { text-align: left; }
  .hero h1 { font-size: 1.9rem; }
}
