/* Heuhotel Kleinvach
   Hell und fotografisch: viel Weiß, große Fotos, eine Schrift (Bricolage Grotesque).
   Überschriften schmal und kräftig, Fließtext ruhig. Werra-Grün ist der einzige Akzent,
   die Wärme (Ziegel, Holz) kommt aus den Fotos. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin-standard-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}

:root {
  --weiss: #ffffff;
  --tinte: #1c2622;      /* Text, Fuß */
  --stein: #5b6762;      /* Nebentext */
  --werra: #23584f;      /* Akzent: Knöpfe, Links, Kanu-Band */
  --werra-tief: #1a453e;
  --nebel: #edf3f0;      /* Flächen im Wechsel */
  --linie: #d9e2de;
  --heu: #f1d37c;        /* nur auf Grün: Ziffern, Fokus */

  --schrift: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;

  --breite: 1240px;
  --rand: clamp(16px, 4vw, 40px);
  --aussen: max(var(--rand), calc((100% - var(--breite)) / 2));
  --kopf-h: 68px;
  --abstand: clamp(4.5rem, 9vw, 8.5rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--weiss);
  color: var(--tinte);
  font-family: var(--schrift);
  font-optical-sizing: auto;
  font-size: clamp(1.0625rem, 0.25vw + 1rem, 1.1875rem);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

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

a { color: var(--werra); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--werra); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { margin: 0; font-weight: 700; text-wrap: balance; }
h1, h2 { font-stretch: 78%; letter-spacing: -0.02em; line-height: 0.98; }
h2 { font-size: clamp(2.6rem, 4.6vw + 1rem, 5rem); }
h3 { font-size: 1.1875rem; line-height: 1.3; font-weight: 650; }
p { margin: 0 0 1em; max-width: 60ch; }
address { font-style: normal; }

.innen { width: 100%; max-width: calc(var(--breite) + 2 * var(--rand)); margin-inline: auto; padding-inline: var(--rand); }

.sprung {
  position: absolute; left: -9999px; top: 0; z-index: 50;
  background: var(--tinte); color: var(--weiss); padding: 0.6em 1em;
}
.sprung:focus { left: 1rem; top: 1rem; }

/* Knöpfe */
.knoepfe { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.knopf {
  display: inline-flex; align-items: center; gap: 0.55em;
  min-height: 48px; padding: 0.7em 1.25em;
  border-radius: 6px; border: 1.5px solid var(--werra);
  background: var(--werra); color: var(--weiss);
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.knopf:hover { background: var(--werra-tief); border-color: var(--werra-tief); }
.knopf svg { width: 1.1em; height: 1.1em; flex: none; }
.knopf--rahmen { background: transparent; color: var(--werra); }
.knopf--rahmen:hover { background: var(--nebel); border-color: var(--werra); }

/* Kopf */
.kopf {
  position: sticky; top: 0; z-index: 30;
  background: rgb(255 255 255 / 0.94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linie);
}
.kopf__innen { display: flex; align-items: center; gap: 2rem; height: var(--kopf-h); }
.kopf__name {
  font-size: 1.375rem; font-weight: 750; font-stretch: 78%; letter-spacing: -0.01em;
  color: var(--tinte); text-decoration: none; white-space: nowrap;
}
.kopf nav { margin-left: auto; }
.kopf nav ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.kopf nav a { color: var(--tinte); text-decoration: none; font-size: 0.975rem; font-weight: 500; white-space: nowrap; }
.kopf nav a:hover, .kopf nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--werra); }
.kopf__tel { min-height: 42px; padding: 0.5em 1em; }

/* Start: randloses Foto, unten links eine weiße Tafel, die in das Bild greift */
.start {
  position: relative;
  height: clamp(540px, calc(100svh - var(--kopf-h)), 920px);
  overflow: hidden;
  background: var(--nebel);
}
.start__bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.start__tafel {
  --pad: clamp(1.75rem, 3.2vw, 3.25rem);
  position: absolute; bottom: 0;
  left: max(0px, calc(var(--aussen) - var(--pad)));
  width: min(44rem, 100%);
  padding: var(--pad) var(--pad) 0;
  background: var(--weiss);
}
.start h1 { font-size: clamp(2.6rem, 3.6vw + 1rem, 4.5rem); }
.start__text { margin: 1.25rem 0 0; font-size: 1.1875rem; color: var(--stein); max-width: 38ch; }
.start .knoepfe { margin-top: 1.6rem; }

@media (prefers-reduced-motion: no-preference) {
  .start__bild { animation: heranfahren 1.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .start__tafel { animation: aufsteigen 0.9s 0.15s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
}
@keyframes heranfahren { from { transform: scale(1.07); } }
@keyframes aufsteigen { from { transform: translateY(2.5rem); } }

/* Fakten unter dem Startbild */
.fakten {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem 2rem; list-style: none; margin: 0; padding: 2.25rem 0 0;
}
.fakten li { border-top: 2px solid var(--tinte); padding-top: 0.9rem; font-size: 0.975rem; color: var(--stein); line-height: 1.45; }
.fakten strong { display: block; color: var(--tinte); font-weight: 650; font-size: 1.0625rem; }

/* Abschnitte */
.abschnitt { padding-block: var(--abstand); }
.abschnitt--nebel { background: var(--nebel); }
.abschnitt__kopf {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem); align-items: start;
}
.abschnitt__kopf h2 { margin-bottom: 1.5rem; }
.leitsatz { font-size: clamp(1.3rem, 0.8vw + 1rem, 1.6rem); line-height: 1.35; font-weight: 500; color: var(--tinte); max-width: 30ch; }
.hinweis { color: var(--stein); font-size: 0.95rem; margin-top: 1.25rem; }

.ausstattung h3 { margin-bottom: 0.9rem; }
.ausstattung ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 2rem; }
.ausstattung li { break-inside: avoid; padding: 0.55rem 0 0.55rem 1.7rem; border-bottom: 1px solid var(--linie); position: relative; line-height: 1.4; }
.ausstattung li::before {
  content: ""; position: absolute; left: 0; top: 0.75rem; width: 1.05rem; height: 1.05rem;
  background: var(--werra);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Fotostreifen: läuft über den rechten Rand hinaus und wird gewischt */
.streifen { margin-top: clamp(3rem, 6vw, 5rem); }
.streifen__steuerung { display: flex; justify-content: flex-end; gap: 0.5rem; margin-bottom: 1rem; }
.streifen__steuerung[hidden] { display: none; }
.streifen__knopf {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--tinte); background: transparent; color: var(--tinte);
  display: grid; place-items: center; cursor: pointer;
}
.streifen__knopf:hover { background: var(--tinte); color: var(--weiss); }
.streifen__knopf:disabled { opacity: 0.3; cursor: default; background: transparent; color: var(--tinte); }
.streifen__knopf svg { width: 20px; height: 20px; }
.streifen__bahn {
  display: flex; gap: clamp(10px, 1.2vw, 18px);
  list-style: none; margin: 0;
  padding: 0 var(--aussen) 1.25rem;
  scroll-padding-inline: var(--aussen);
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: thin; scrollbar-color: var(--linie) transparent;
}
.streifen__bahn > li { flex: none; scroll-snap-align: start; }
.streifen figure { margin: 0; }
.streifen img { height: clamp(240px, 34vw, 470px); width: auto; max-width: none; border-radius: 4px; }
.streifen figcaption { margin-top: 0.6rem; font-size: 0.925rem; color: var(--stein); }

/* Kanuverleih: das grüne Band */
.fluss { background: var(--werra); color: var(--weiss); }
.fluss a { color: var(--weiss); }
.fluss :focus-visible { outline-color: var(--heu); }
.fluss .leitsatz { color: var(--weiss); }
.fluss p { color: rgb(255 255 255 / 0.86); }
.fluss__kopf { max-width: 52rem; }
.fluss__kopf h2 { margin-bottom: 1.5rem; }

.schritte {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem clamp(1.5rem, 4vw, 3.5rem);
  list-style: none; margin: clamp(3rem, 6vw, 4.5rem) 0 0; padding: 0;
  counter-reset: schritt;
}
.schritte li { counter-increment: schritt; border-top: 1px solid rgb(255 255 255 / 0.35); padding-top: 1.25rem; }
.schritte li::before {
  content: counter(schritt); display: block;
  font-size: clamp(4rem, 6vw, 6rem); font-weight: 800; font-stretch: 75%; line-height: 0.9;
  color: var(--heu); margin-bottom: 1rem;
}
.schritte h3 { font-size: 1.3125rem; margin-bottom: 0.4rem; }
.schritte p { margin: 0; }

.fluss__unten {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 5rem); margin-top: clamp(3.5rem, 7vw, 5.5rem); align-items: start;
}
.fluss__unten figure { margin: 0; }
.fluss__unten img { width: 100%; border-radius: 4px; }
.fluss__unten figcaption { margin-top: 0.6rem; font-size: 0.925rem; color: rgb(255 255 255 / 0.75); }
.fluss .ausstattung li { border-bottom-color: rgb(255 255 255 / 0.25); }
.fluss .ausstattung li::before { background: var(--heu); }
.fluss .ausstattung ul { columns: 1; }
.kanu-kontakt { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 2px solid var(--heu); }
.kanu-kontakt h3 { margin-bottom: 0.4rem; }

/* Daten-Listen (Telefon, E-Mail ...) */
.daten { display: grid; grid-template-columns: max-content 1fr; gap: 0.35rem 1.25rem; margin: 1rem 0 0; }
.daten dt { color: var(--stein); }
.fluss .daten dt { color: rgb(255 255 255 / 0.7); }
.daten dd { margin: 0; overflow-wrap: anywhere; }

/* Lage und Anfahrt */
.lage { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.lage h2 { margin-bottom: 1.5rem; }
.lage h3 { margin: 2rem 0 0.4rem; }
.lage figure { margin: 0; }
.lage img { width: 100%; border-radius: 4px; }
.lage figcaption { margin-top: 0.6rem; font-size: 0.925rem; color: var(--stein); }

/* Kontakt: die Telefonnummer ist das Wichtigste */
.kontakt { padding-block: var(--abstand); background: var(--nebel); }
.kontakt__raster { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 6rem); align-items: end; }
.kontakt h2 { margin-bottom: 1.5rem; }
.kontakt__tel {
  display: inline-block; margin-top: 0.5rem;
  font-size: clamp(2.6rem, 5vw + 1rem, 5.5rem); font-weight: 750; font-stretch: 78%;
  letter-spacing: -0.02em; line-height: 1; color: var(--werra); text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.kontakt__tel:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.kontakt__mail { display: inline-block; margin-top: 0.75rem; font-size: clamp(1.15rem, 1vw + 0.9rem, 1.5rem); font-weight: 600; overflow-wrap: anywhere; }

/* Fuß */
.fuss { background: var(--tinte); color: rgb(255 255 255 / 0.8); font-size: 0.95rem; padding-block: 2.5rem; }
.fuss__innen { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; align-items: center; }
.fuss p { margin: 0; }
.fuss strong { color: var(--weiss); font-weight: 650; }
.fuss ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; list-style: none; margin: 0; padding: 0; }
.fuss a { color: var(--weiss); }
.fuss :focus-visible { outline-color: var(--heu); }

/* Impressum, Datenschutz */
.rechtstext { max-width: calc(46rem + 2 * var(--rand)); margin-inline: auto; padding: clamp(3rem, 7vw, 6rem) var(--rand) var(--abstand); }
.rechtstext h1 { font-size: clamp(2.6rem, 4vw + 1rem, 4.2rem); margin-bottom: 2.5rem; font-stretch: 78%; letter-spacing: -0.02em; line-height: 1; }
.rechtstext h2 { font-size: 1.375rem; font-stretch: 100%; letter-spacing: 0; line-height: 1.25; margin: 2.5rem 0 0.75rem; }
.rechtstext p, .rechtstext li { max-width: none; }
.platzhalter { background: #fbe9a8; color: var(--tinte); padding: 0 0.25em; }

/* Tablet */
@media (max-width: 1080px) {
  .kopf nav ul { gap: 1.1rem; }
  .fakten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Schmal: Navigation als wischbare Zeile unter dem Namen, Tafel unter dem Foto */
@media (max-width: 900px) {
  :root { --kopf-h: 104px; }
  .kopf__innen { flex-wrap: wrap; height: auto; gap: 0; padding-top: 10px; }
  .kopf__name { font-size: 1.25rem; }
  .kopf__tel { margin-left: auto; }
  .kopf nav { order: 3; width: calc(100% + 2 * var(--rand)); margin: 6px calc(-1 * var(--rand)) 0; overflow-x: auto; scrollbar-width: none; }
  .kopf nav::-webkit-scrollbar { display: none; }
  .kopf nav ul { padding: 8px var(--rand) 12px; gap: 1.4rem; }

  .start { height: auto; overflow: visible; background: none; }
  .start__bild { position: static; height: min(58svh, 480px); }
  .start__tafel { position: relative; left: 0; margin: -4.5rem clamp(3rem, 14vw, 6rem) 0 0; width: auto; padding: 1.5rem var(--rand) 0; }

  .abschnitt__kopf, .fluss__unten, .lage, .kontakt__raster { grid-template-columns: minmax(0, 1fr); }
  .schritte { grid-template-columns: minmax(0, 1fr); }
  .schritte li { display: grid; grid-template-columns: 4.5rem 1fr; column-gap: 1rem; }
  .schritte li::before { grid-row: span 2; font-size: 4rem; margin: 0; }
}

@media (max-width: 560px) {
  .kopf__tel span { display: none; }
  .kopf__tel { padding: 0.5em 0.75em; }
  .ausstattung ul { columns: 1; }
  .fakten { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .streifen__steuerung { display: none; }
  .streifen img { height: 54vw; }
}

@media print {
  .kopf nav, .kopf__tel, .knoepfe, .streifen__steuerung, .sprung { display: none; }
  .kopf { position: static; }
  .start { height: auto; }
  .start__bild { position: static; height: 9cm; }
  .start__tafel { position: static; padding: 1rem 0 0; }
  .fluss, .kontakt, .abschnitt--nebel { background: none; color: #000; }
  .fluss p, .fluss a { color: #000; }
  .streifen__bahn { flex-wrap: wrap; overflow: visible; }
  .streifen img { height: 4cm; }
}
