@font-face { font-family: "Familjen Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/familjen-grotesk-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("fonts/source-serif-4-latin-wght-normal.woff2") format("woff2"); }
/* Ferienhaus Falknis
   Layout: linksbündige Hausmappe. Schmale Label-Zeilen wie die Unterzeile im Logo,
   gelbe Wegweiser nur dort, wo es um Wege geht. */
:root {
  --tanne: #103A2D;
  --tanne-tief: #0A2A20;
  --salbei: #91A88F;
  --salbei-hell: #E3E9DF;
  --label: #5C7067;
  --papier: #F7F4EE;
  --blatt: #FFFDF8;
  --weiss: #FFFFFF;
  --rand: #D9D3C6;
  --tinte: #1A2A23;
  --wegweiser: #F6C500;
  --wegweiser-tinte: #14140F;

  --f-display: "Familjen Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-text: "Source Serif 4", "Iowan Old Style", Georgia, serif;

  --breite: 74rem;
  --rand-seite: clamp(1rem, 4vw, 2.5rem);
  --abstand: clamp(4rem, 9vw, 7.5rem);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: var(--f-text);
  font-size: 1.125rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--tanne); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--salbei); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--f-display); color: var(--tanne); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); line-height: 1.02; letter-spacing: -0.025em; font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.08; letter-spacing: -0.02em; font-weight: 650; }
h3 { font-size: 1.45rem; line-height: 1.2; letter-spacing: -0.01em; font-weight: 650; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--breite); margin-inline: auto; padding-inline: var(--rand-seite); }
.label {
  font-family: var(--f-display); font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--label);
}
.lead { font-size: clamp(1.15rem, 1.6vw, 1.3rem); line-height: 1.55; max-width: 34em; }
.prosa { display: grid; gap: 1.1rem; max-width: 36em; }
.skip { position: absolute; left: -999px; top: 0; background: var(--tanne); color: var(--papier); padding: 0.75rem 1rem; z-index: 50; }
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* Knöpfe */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--f-display); font-size: 1rem; font-weight: 600; letter-spacing: 0.01em;
  padding: 0.85rem 1.4rem; border: 1.5px solid var(--tanne); border-radius: 2px;
  background: var(--tanne); color: var(--papier); text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
/* Mouse-Over: von Dunkelgrün auf Salbei, damit der Wechsel klar sichtbar ist. */
.btn:hover { background: var(--salbei); border-color: var(--salbei); color: var(--tanne-tief); }
.btn--hell { background: transparent; color: var(--tanne); }
.btn--hell:hover { background: var(--tanne); border-color: var(--tanne); color: var(--papier); }
.btn--papier { background: var(--papier); color: var(--tanne); border-color: var(--papier); }
.btn--papier:hover { background: var(--salbei); border-color: var(--salbei); color: var(--tanne-tief); }
.btn--klein { padding: 0.55rem 1rem; font-size: 0.95rem; }

/* Kopf */
.kopf {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--papier) 94%, transparent);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--rand);
}
.kopf__innen { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.5rem; }
.kopf__logo { display: block; line-height: 0; }
.kopf__logo svg { width: 9.5rem; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); white-space: nowrap; }
.nav a:not(.btn) {
  font-family: var(--f-display); font-size: 1rem; font-weight: 500; text-decoration: none; color: var(--tanne);
  padding-block: 0.4rem; border-bottom: 2px solid transparent;
}
.nav a:not(.btn):hover { border-bottom-color: var(--tanne); }
.menu-knopf { display: none; }

/* Sprachumschalter: steht im Kopf jeder Seite und führt auf dieselbe Seite in der anderen Sprache. */
.kopf__logo { margin-right: auto; }
.sprachen { display: flex; align-items: center; gap: 0.1rem; font: 600 0.88rem var(--f-display); letter-spacing: 0.05em; }
.sprachen a, .sprachen span { padding: 0.3rem 0.45rem; border-radius: 2px; text-decoration: none; color: var(--tanne); }
.sprachen a:hover { background: var(--salbei); color: var(--tanne-tief); }
.sprachen [aria-current] { background: var(--tanne); color: var(--papier); }

/* Hero */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 6vw, 5rem); }
.hero__raster { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero__text { display: grid; gap: 1.6rem; min-width: 0; }
.hero__fakten { display: flex; flex-wrap: wrap; gap: 0.6rem 0; font-family: var(--f-display); font-weight: 500; color: var(--tanne); font-size: 1.02rem; }
.hero__fakten li { padding-right: 1.1rem; margin-right: 1.1rem; border-right: 1px solid var(--rand); }
.hero__fakten li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero__knoepfe { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero__bild { margin: 0; position: relative; justify-self: end; width: 100%; max-width: 30rem; }
.hero__foto { background: var(--salbei-hell); border-radius: 3px; overflow: hidden; }
.hero__foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 62%; }
.hero__bild figcaption { margin-top: 0.7rem; }

/* Buchung */
.buchung { background: var(--tanne); color: var(--papier); padding-block: clamp(2.2rem, 4vw, 3.2rem); }
.buchung h2 { color: var(--papier); font-size: clamp(1.5rem, 2.4vw, 2rem); }
.buchung .label { color: var(--salbei); }
.buchung__raster { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.7fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: end; }
.buchung__titel { display: grid; gap: 0.6rem; }
.buchung__start { display: grid; gap: 1rem; justify-items: start; min-width: 0; }
.buchung__hinweis { font-size: 0.98rem; color: color-mix(in srgb, var(--papier) 82%, var(--tanne)); max-width: 46em; }
.buchung__hinweis a { color: var(--papier); }
.waehrung { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.9rem; font-family: var(--f-display); font-size: 0.98rem; color: color-mix(in srgb, var(--papier) 82%, var(--tanne)); }
.waehrung__knoepfe { display: inline-flex; border: 1.5px solid var(--salbei); border-radius: 2px; overflow: hidden; }
.waehrung button { font: 600 0.9rem var(--f-display); letter-spacing: 0.05em; padding: 0.4rem 0.85rem; background: transparent; color: var(--papier); border: 0; cursor: pointer; }
.waehrung button:hover { background: color-mix(in srgb, var(--salbei) 35%, transparent); }
.waehrung button[aria-pressed="true"] { background: var(--salbei); color: var(--tanne-tief); cursor: default; }
.waehrung button:focus-visible { outline: 2px solid var(--papier); outline-offset: -4px; }
.waehrung__hinweis { flex-basis: 100%; font-family: var(--f-text); font-size: 0.95rem; }
.buchung .wrap { display: grid; gap: 1.4rem; }
.buchung .wrap > * { min-width: 0; }
.modul { background: var(--weiss); border-radius: 3px; overflow: hidden; }
/* Starthöhe passend zum Holidu-Layout «Detailreich»; die genaue Höhe meldet Holidu nach einigen Sekunden. */
.modul iframe { display: block; width: 100%; min-height: 500px; height: 940px; border: 0; }
.modul__hinweis { margin: 0; padding: 1.5rem; color: var(--tinte); }

/* Abschnitte */
.abschnitt { padding-block: var(--abstand); }
.abschnitt--hell { background: var(--blatt); border-block: 1px solid var(--rand); }
.abschnitt__kopf { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); max-width: 46rem; }
.zweispalter { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }

/* Rundgang */
.rundgang { display: grid; gap: clamp(3rem, 7vw, 6rem); margin-top: var(--abstand); }
.raum { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4.5rem); align-items: center; }
.raum:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.raum:nth-child(even) .raum__bild { order: 2; }
.raum__bild { margin: 0; }
.raum__bild img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.raum__text { display: grid; gap: 0.9rem; min-width: 0; }

/* Galerie */
.galerie-rahmen { container-type: inline-size; }
.galerie {
  --g: 0.9rem; display: grid; gap: var(--g); grid-auto-flow: dense;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 14rem;
  grid-auto-rows: calc((100cqi - 2 * var(--g)) / 3 * 0.66);
}
.galerie button {
  display: block; width: 100%; height: 100%; padding: 0; margin: 0; border: 0; background: var(--salbei-hell);
  cursor: zoom-in; overflow: hidden;
}
.galerie button.hoch { grid-row: span 2; }
.galerie button.breit { grid-column: span 2; }
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.galerie button:hover img { transform: scale(1.025); }
.lichtkasten {
  border: 0; padding: 0; margin: 0; background: rgba(8, 26, 20, 0.96); color: var(--papier);
  width: 100vw; height: 100dvh; max-width: none; max-height: none;
}
.lichtkasten::backdrop { background: rgba(8, 26, 20, 0.96); }
.lichtkasten[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.lichtkasten__leiste { display: flex; justify-content: space-between; align-items: center; padding: 0.8rem 1rem; font-family: var(--f-display); }
.lichtkasten__buehne { display: grid; place-items: center; min-height: 0; padding-inline: 0.5rem; }
.lichtkasten__buehne img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lichtkasten__fuss { display: flex; justify-content: center; align-items: center; gap: 1rem; padding: 0.9rem 1rem 1.2rem; font-size: 1rem; text-align: center; }
.lichtkasten button {
  font: 600 1rem var(--f-display); color: var(--papier); background: transparent;
  border: 1.5px solid color-mix(in srgb, var(--papier) 45%, transparent); border-radius: 2px; padding: 0.5rem 0.9rem; cursor: pointer;
}
.lichtkasten button:hover { background: var(--papier); color: var(--tanne); }
.lichtkasten__text { flex: 1 1 auto; min-width: 0; max-width: 40rem; }

/* Ausstattung */
.ausstattung { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem clamp(1.5rem, 3vw, 3rem); }
.ausstattung section { display: grid; gap: 0.9rem; align-content: start; border-top: 2px solid var(--tanne); padding-top: 1rem; }
.ausstattung h3 { font-size: 1.15rem; }
.ausstattung li { padding-block: 0.45rem; border-bottom: 1px solid var(--rand); font-size: 1.05rem; line-height: 1.45; }

/* Ehrliche Hinweise */
.vorher { margin-top: var(--abstand); display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 6vw, 6rem); align-items: start; }
.vorher__liste { display: grid; gap: 0; }
.vorher__liste li { padding-block: 1rem; border-bottom: 1px solid var(--rand); }
.vorher__liste li:first-child { border-top: 1px solid var(--rand); }
.vorher__liste strong { font-family: var(--f-display); font-weight: 650; color: var(--tanne); }

/* Lage und Wegweiser */
.lage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.lage__text { display: grid; gap: 2.2rem; min-width: 0; }
.wegweiser { display: grid; gap: 0.55rem; max-width: 30rem; }
.wegweiser__titel { margin-bottom: 0.3rem; }
.schild {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  font-family: var(--f-display); font-weight: 650; font-size: 1.08rem; line-height: 1.25;
  background: var(--wegweiser); color: var(--wegweiser-tinte);
  padding: 0.7rem 2.4rem 0.7rem 1rem;
  clip-path: polygon(0 0, calc(100% - 1.4rem) 0, 100% 50%, calc(100% - 1.4rem) 100%, 0 100%);
}
.schild span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 500; }
.ziele { display: grid; gap: 0; max-width: 34rem; }
.ziele li { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; padding-block: 0.7rem; border-bottom: 1px solid var(--rand); }
.ziele li:first-child { border-top: 1px solid var(--rand); }
.ziele span:first-child { font-family: var(--f-display); font-weight: 600; color: var(--tanne); }
.ziele span:last-child { font-size: 0.98rem; color: var(--label); text-align: right; }
.lage__bilder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
.lage__bilder figure { margin: 0; display: grid; gap: 0.5rem; align-content: start; }
.lage__bilder figure:first-child { grid-column: 1 / -1; }
.lage__bilder img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.lage__bilder figure:first-child img { aspect-ratio: 4 / 3; }
figcaption { font-family: var(--f-display); font-size: 0.9rem; color: var(--label); }

/* Preise */
.preis__zahl { font-family: var(--f-display); font-weight: 700; color: var(--tanne); font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: 1; letter-spacing: -0.02em; }
.preis__zahl small { display: block; margin-top: 0.6rem; font-size: 1.05rem; font-weight: 500; letter-spacing: 0; color: var(--label); }
.preis__links { display: grid; gap: 1.5rem; min-width: 0; }
.rechnung { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.rechnung caption { text-align: left; padding-bottom: 0.9rem; }
.rechnung th, .rechnung td { padding: 0.7rem 0; border-bottom: 1px solid var(--rand); text-align: left; font-weight: 400; vertical-align: baseline; }
.rechnung td:last-child, .rechnung th:last-child { text-align: right; white-space: nowrap; padding-left: 1rem; }
.rechnung .klein { display: block; font-size: 0.92rem; color: var(--label); }
.rechnung tfoot th, .rechnung tfoot td { font-family: var(--f-display); font-weight: 700; color: var(--tanne); font-size: 1.2rem; border-bottom: 0; border-top: 2px solid var(--tanne); }
.rechnung-rahmen { background: var(--papier); border: 1px solid var(--rand); padding: clamp(1.2rem, 3vw, 2rem); }
.fussnote { font-size: 0.95rem; color: var(--label); margin-top: 1rem; }
.inklusive { display: grid; gap: 0.2rem; }
.inklusive li { padding-left: 1.4rem; position: relative; }
.inklusive li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 0.7rem; height: 2px; background: var(--salbei); }

/* Gastgeber */
.kontakt { display: grid; gap: 1rem; padding: clamp(1.2rem, 3vw, 2rem); border: 1px solid var(--rand); background: var(--blatt); min-width: 0; }
.kontakt__zeile { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem; }
.kontakt__adresse { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--tanne); overflow-wrap: anywhere; user-select: all; }
.kopiert { font-family: var(--f-display); font-size: 0.95rem; color: var(--label); }

/* Schluss und Fuss */
.schluss { background: var(--salbei-hell); padding-block: clamp(3rem, 7vw, 5rem); }
.schluss__innen { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem 3rem; }
.schluss__innen h2 { max-width: 16em; }
.fuss { background: var(--tanne); color: color-mix(in srgb, var(--papier) 85%, var(--tanne)); padding-block: clamp(2.5rem, 6vw, 4rem); font-size: 1rem; }
.fuss a { color: var(--papier); }
.fuss__raster { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem 4rem; align-items: flex-end; }
.fuss__logo svg { width: min(17rem, 100%); height: auto; }
.fuss__spalte { display: grid; gap: 0.35rem; }
.fuss__links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; font-family: var(--f-display); }
.fuss__unten { margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid color-mix(in srgb, var(--papier) 22%, var(--tanne)); font-size: 0.92rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; }

/* Rechtsseiten */
.recht { padding-block: clamp(2.5rem, 6vw, 5rem) var(--abstand); }
.recht__inhalt { max-width: 42rem; display: grid; gap: 1.1rem; }
.recht__inhalt h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); margin-bottom: 0.8rem; }
.recht__inhalt h2 { font-size: 1.4rem; margin-top: 1.6rem; letter-spacing: -0.01em; }
.recht__inhalt address { font-style: normal; }
.nf__sprache { display: grid; gap: 0.9rem; justify-items: start; }
.nf__sprache--klein { border-top: 1px solid var(--rand); padding-top: 1.2rem; }
.nf__sprache--klein h2 { font-size: 1.3rem; margin-top: 0; }
.recht__hinweis { font-family: var(--f-display); font-size: 0.98rem; color: var(--label); border-left: 3px solid var(--salbei); padding-left: 0.9rem; }
.offen { background: var(--wegweiser); color: var(--wegweiser-tinte); padding: 0 0.3em; font-family: var(--f-display); font-weight: 600; }

@media (max-width: 60rem) {
  .hero__raster, .buchung__raster, .zweispalter, .raum, .vorher, .lage { grid-template-columns: minmax(0, 1fr); }
  .raum:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
  .raum:nth-child(even) .raum__bild { order: 0; }
  .ausstattung { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__bild { justify-self: start; max-width: 26rem; }
  .buchung__raster { align-items: start; }
}
/* Ab hier klappt die Navigation ins Menü. Die Breite richtet sich nach der längsten Sprachfassung (Französisch). */
@media (max-width: 62rem) {
  .menu-knopf {
    display: inline-flex; align-items: center; gap: 0.5rem; font: 600 1rem var(--f-display); color: var(--tanne);
    background: transparent; border: 1.5px solid var(--tanne); border-radius: 2px; padding: 0.5rem 0.9rem; cursor: pointer;
  }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--papier); border-bottom: 1px solid var(--rand); padding: 0.5rem var(--rand-seite) 1.2rem;
  }
  .sprachen { order: 1; }
  .menu-knopf { order: 2; }
  .nav.offen-menu { display: flex; }
  .nav a:not(.btn) { padding-block: 0.8rem; border-bottom: 1px solid var(--rand); }
  .nav .btn { margin-top: 1rem; }
}
@media (max-width: 52rem) {
  .hero__fakten li { border-right: 0; margin-right: 0; padding-right: 1.4rem; }
}
@media (max-width: 27rem) {
  .kopf__innen { gap: 0.6rem; }
  .kopf__logo svg { width: 7.4rem; }
  .sprachen { font-size: 0.82rem; }
  .sprachen a, .sprachen span { padding: 0.3rem 0.35rem; }
  .menu-knopf { padding: 0.45rem 0.7rem; }
}
@media (max-width: 44rem) {
  .modul iframe { height: 810px; }
  .galerie { --g: 0.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 9rem; grid-auto-rows: calc((100cqi - var(--g)) / 2 * 0.66); }
}
@media (max-width: 30rem) {
  body { font-size: 1.06rem; }
  .ausstattung { grid-template-columns: minmax(0, 1fr); }
  .ziele li { flex-direction: column; gap: 0.1rem; }
  .ziele span:last-child { text-align: left; }
  .lichtkasten__fuss { flex-wrap: wrap; }
  .lichtkasten__text { order: -1; flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
