/* WILibiza - Farben und Schriften nach der archivierten Originalseite. */

:root {
  --sand: #b8aa83;
  --sand-hell: #ecdaab;
  --sand-dunkel: #a2936a;
  /* Kräftigerer Sandton für den Kontaktblock und dunkleres Gold für Überschriften. */
  --sand-flaeche: #cbb884;
  --sand-tief: #8a7a4e;
  /* Dunkles Warmbraun: auf der Sandfläche 7:1 und damit sicher lesbar. */
  --sand-schrift: #332c1a;
  /* Dezent halten: Das Treibholz-Foto soll durchkommen, der Sandton nur tönen. */
  --sand-schleier: rgba(184, 170, 131, 0.35);
  --schwarz: #000000;
  --text: #333333;
  --text-leise: #555555;
  --weiss: #ffffff;

  --kopf-hoehe: 84px;
  --breite: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Open Sans', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--weiss);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Kanit', 'Abel', system-ui, sans-serif;
  font-weight: 400;
  letter-spacing: .02em;
  margin: 0 0 .5em;
  color: var(--schwarz);
}

a { color: var(--sand-dunkel); }
a:hover { color: var(--schwarz); }

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

.breite {
  width: 100%;
  max-width: var(--breite);
  margin: 0 auto;
  padding: 0 24px;
}

.schmal { max-width: 900px; }

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

.kopf {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--weiss);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.kopf-innen {
  min-height: var(--kopf-hoehe);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.marke { display: flex; align-items: center; text-decoration: none; }
.marke img { max-height: 56px; width: auto; }

.marke-text {
  font-family: 'Kanit', sans-serif;
  font-size: 28px;
  letter-spacing: .12em;
  color: var(--sand-dunkel);
  text-transform: uppercase;
}
.marke-text strong { color: var(--schwarz); font-weight: 600; }

.menue { display: flex; gap: 32px; }

.menue a {
  font-family: 'Kanit', sans-serif;
  font-size: 16px;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--schwarz);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.menue a:hover,
.menue a.aktiv { color: var(--sand-dunkel); border-bottom-color: var(--sand); }

.menue-schalter,
.menue-knopf { display: none; }

/* ------------------------------------------------------------ Bilder oben */

.kopfbilder { padding: 48px 0 8px; }

.kopfbilder-raster {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, 1fr);
}
.kopfbilder-raster.spalten-1 { grid-template-columns: 1fr; max-width: 820px; }
.kopfbilder-raster.spalten-3 { grid-template-columns: repeat(3, 1fr); }

.kopfbilder figure { margin: 0; }

.kopfbilder img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

figcaption {
  font-family: 'Abel', sans-serif;
  font-size: 15px;
  letter-spacing: .06em;
  color: var(--text-leise);
  padding-top: 10px;
}

/* ------------------------------------------------------------------ Hero */

.hero {
  position: relative;
  background-color: var(--sand);
  background-size: cover;
  background-position: center;
  margin: 48px 0;
  padding: clamp(70px, 12vw, 150px) 0;
  overflow: hidden;
}

.hero-schleier {
  position: absolute;
  inset: 0;
  background: var(--sand-schleier);
}

.hero-innen { position: relative; text-align: center; }

.hero-claim {
  font-family: 'Abel', sans-serif;
  font-size: clamp(16px, 2vw, 21px);
  letter-spacing: .1em;
  color: var(--weiss);
  margin: 0 0 36px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
}

.hero-zeile {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 16px;
}

.hero-wort {
  font-family: 'Kanit', sans-serif;
  font-size: clamp(24px, 4vw, 46px);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--weiss);
  margin: 0;
  /* Kräftig genug, damit die Schrift auch über hellen Stellen des Holzes steht. */
  text-shadow: 0 2px 10px rgba(0, 0, 0, .55), 0 1px 2px rgba(0, 0, 0, .4);
}
.hero-wort.fett { font-weight: 700; }

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

.galerie { padding: 8px 0 48px; }

.galerie-raster {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.galerie figure { margin: 0; }

.galerie img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .35s ease;
}
.galerie figure:hover img { transform: scale(1.03); }

/* --------------------------------------------------------- Angebot/Text */

.angebot { padding: 40px 0 60px; text-align: center; }

.angebot h1 {
  font-size: clamp(28px, 3.6vw, 40px);
  color: var(--sand-tief);
}

.angebot p {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--text);
  margin: 0 auto;
  max-width: 780px;
}

.textseite { padding: 60px 0 80px; }
.textseite h1 { font-size: clamp(28px, 3.6vw, 40px); color: var(--sand-tief); }

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

.kontakt {
  background: var(--sand-flaeche);
  padding: 60px 0 70px;
  text-align: center;
}

.kontakt h2 { font-size: clamp(24px, 3vw, 34px); }

.kontakt-untertitel {
  font-family: 'Kanit', sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sand-schrift);
  margin: 0 0 36px;
}

.kontakt-raster {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 720px;
  margin: 0 auto;
}

.kontakt-block h3 {
  font-size: 20px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--schwarz);
}

.kontakt-block p { margin: 0 0 6px; }

.kontakt-block a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--sand-tief);
}
.kontakt-block a:hover { color: var(--schwarz); }

/* ------------------------------------------------------------------ Fuss */

.fuss {
  background: var(--schwarz);
  color: rgba(255, 255, 255, .75);
  padding: 26px 0;
  font-size: 15px;
}

.fuss-innen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.fuss p { margin: 0; }

.fuss-menue { display: flex; gap: 24px; }

.fuss-menue a {
  color: var(--sand-hell);
  text-decoration: none;
}
.fuss-menue a:hover { color: var(--weiss); }

/* ------------------------------------------------------------------ Klein */

@media (max-width: 760px) {
  .menue-knopf {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    cursor: pointer;
  }
  .menue-knopf span {
    display: block;
    height: 2px;
    background: var(--schwarz);
    border-radius: 2px;
  }

  .menue {
    display: none;
    position: absolute;
    top: var(--kopf-hoehe);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--weiss);
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    padding: 8px 24px 16px;
  }
  .menue a { padding: 12px 0; border-bottom: 1px solid rgba(0, 0, 0, .06); }
  .menue-schalter:checked ~ .menue { display: flex; }

  .hero-zeile { grid-template-columns: 1fr; gap: 4px; }
  .kopfbilder-raster,
  .kopfbilder-raster.spalten-3 { grid-template-columns: 1fr; }
  .kontakt-raster { grid-template-columns: 1fr; }
  .fuss-innen { flex-direction: column; text-align: center; }
}
