/* Gigglhirnhof – Website-Stylesheet
   Farben aus der Umgebung des Hofes: Fichtenwald, Schnee, Zirbenholz, Enzian. */

@font-face { font-family: "Alegreya"; font-weight: 500; font-style: normal; font-display: swap;
  src: url("../fonts/alegreya-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Alegreya"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("../fonts/alegreya-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Alegreya"; font-weight: 400; font-style: italic; font-display: swap;
  src: url("../fonts/alegreya-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Alegreya Sans"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../fonts/alegreya-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Alegreya Sans"; font-weight: 400; font-style: italic; font-display: swap;
  src: url("../fonts/alegreya-sans-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Alegreya Sans"; font-weight: 500; font-style: normal; font-display: swap;
  src: url("../fonts/alegreya-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Alegreya Sans"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("../fonts/alegreya-sans-latin-700-normal.woff2") format("woff2"); }

:root {
  --fichte: #1d3a2e;      /* Text, Kopf, Fußbereich */
  --fichte-2: #2b5141;
  --schnee: #f4f6f2;      /* Seitenhintergrund */
  --weiss: #ffffff;
  --zirbe: #9a6c41;       /* warmes Holz, Akzente */
  --zirbe-hell: #e9dccb;
  --enzian: #2a4a9c;      /* Links und Anfrage-Knopf */
  --enzian-dunkel: #1f3878;
  --fels: #59605a;        /* gedämpfter Text */
  --linie: #d5dbd2;

  --serif: "Alegreya", Georgia, "Times New Roman", serif;
  --sans: "Alegreya Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 72rem;
  --gap: clamp(1.25rem, 3vw, 2rem);
  --section: clamp(3.5rem, 8vw, 6.5rem);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--schnee);
  color: var(--fichte);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--enzian); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--enzian-dunkel); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--enzian); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 2 * var(--gap), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--weiss); padding: .75rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }
.small { font-size: .9rem; color: var(--fels); }

/* ---------- Knöpfe ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 2.75rem; padding: .55rem 1.2rem;
  border-radius: var(--radius); border: 1px solid transparent;
  font: 500 1.05rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
}
.btn-cta { background: var(--enzian); color: var(--weiss); }
.btn-cta:hover { background: var(--enzian-dunkel); color: var(--weiss); text-decoration: none; }
.btn-light { background: var(--weiss); color: var(--fichte); border-color: var(--linie); }
.btn-light:hover { border-color: var(--fichte); color: var(--fichte); }
.btn-lg { min-height: 3.25rem; padding-inline: 1.6rem; font-size: 1.15rem; }
.btn-block { width: 100%; }
.link-arrow { font-weight: 500; }

/* ---------- Kopfzeile & Menü ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--weiss); border-bottom: 1px solid var(--linie); }
.bar { display: flex; align-items: center; gap: 1.5rem; padding: .6rem var(--gap); max-width: 90rem; margin: 0 auto; }
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--fichte); line-height: 1.05; margin-right: auto; }
.brand:hover { color: var(--fichte); }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.6rem; letter-spacing: -.01em; }
.brand-sub { font-size: .85rem; color: var(--fels); }

.menu, .sub, .langs { list-style: none; margin: 0; padding: 0; }
.site-nav { display: flex; align-items: center; gap: 1.25rem; }
.menu { display: flex; gap: .25rem; }
.menu > li { position: relative; }
.menu > li > a {
  display: block; padding: .6rem .7rem; color: var(--fichte); text-decoration: none; font-weight: 500;
  border-radius: var(--radius);
}
.menu > li > a:hover, .menu > li.is-active > a { color: var(--enzian); }
.menu > li.is-active > a { text-decoration: underline; text-decoration-color: var(--zirbe); text-underline-offset: .45em; text-decoration-thickness: 2px; }
.sub {
  position: absolute; left: 0; top: 100%; min-width: 15rem; padding: .5rem;
  background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius);
  box-shadow: 0 12px 30px -12px rgba(29, 58, 46, .25);
  opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s;
}
.has-sub:hover > .sub, .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: .45rem .7rem; color: var(--fichte); text-decoration: none; border-radius: 4px; }
.sub a:hover, .sub a[aria-current] { background: var(--schnee); color: var(--enzian); }
.nav-extra { display: flex; align-items: center; gap: 1rem; }
.langs { display: flex; gap: .15rem; }
.langs a { display: block; padding: .35rem .45rem; font-size: .95rem; color: var(--fels); text-decoration: none; border-radius: 4px; }
.langs a[aria-current] { color: var(--fichte); font-weight: 700; }
.nav-toggle { display: none; }

/* Startseite: Kopf liegt transparent über dem Bild */
.site-header.is-overlay { position: fixed; inset: 0 0 auto 0; background: transparent; border-color: transparent; transition: background .2s, border-color .2s; }
.site-header.is-overlay:not(.is-scrolled) .brand,
.site-header.is-overlay:not(.is-scrolled) .brand-sub,
.site-header.is-overlay:not(.is-scrolled) .menu > li > a,
.site-header.is-overlay:not(.is-scrolled) .langs a { color: var(--weiss); }
.site-header.is-overlay:not(.is-scrolled) .brand { text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.site-header.is-overlay:not(.is-scrolled) .menu > li > a { text-shadow: 0 1px 10px rgba(0,0,0,.4); }
.site-header.is-overlay.is-scrolled { background: var(--weiss); border-color: var(--linie); }

@media (max-width: 999px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: .55rem; min-height: 2.75rem; padding: .4rem .8rem;
    background: var(--weiss); color: var(--fichte); border: 1px solid var(--linie); border-radius: var(--radius);
    font: 500 1rem var(--sans); cursor: pointer;
  }
  .nav-toggle-lines, .nav-toggle-lines::before, .nav-toggle-lines::after {
    display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .2s;
  }
  .nav-toggle-lines::before, .nav-toggle-lines::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-lines::before { top: -6px; }
  .nav-toggle-lines::after { top: 6px; }
  .nav-open .nav-toggle-lines { background: transparent; }
  .nav-open .nav-toggle-lines::before { transform: translateY(6px) rotate(45deg); }
  .nav-open .nav-toggle-lines::after { transform: translateY(-6px) rotate(-45deg); }

  .site-nav {
    position: fixed; inset: var(--header-h, 4rem) 0 0 0; z-index: 40;
    flex-direction: column; align-items: stretch; gap: 1.5rem;
    padding: 1.25rem var(--gap) 3rem; background: var(--weiss); overflow-y: auto;
    visibility: hidden; opacity: 0; transition: opacity .2s, visibility .2s;
  }
  .nav-open .site-nav { visibility: visible; opacity: 1; }
  .menu { flex-direction: column; gap: 0; }
  .menu > li { border-bottom: 1px solid var(--linie); }
  .menu > li > a { padding: .85rem 0; font-family: var(--serif); font-size: 1.4rem; color: var(--fichte) !important; text-shadow: none !important; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 .75rem; min-width: 0; }
  .sub a { padding: .4rem 0 .4rem 1rem; }
  .nav-extra { justify-content: space-between; order: -1; padding-bottom: 1rem; border-bottom: 1px solid var(--linie); }
  .langs a { font-size: 1.05rem; padding: .45rem .7rem; }
  .langs a { color: var(--fels) !important; }
  .langs a[aria-current] { color: var(--fichte) !important; }
  .nav-open .site-header.is-overlay, .site-header.is-overlay.nav-active { background: var(--weiss); }
  .nav-open .site-header.is-overlay .brand, .nav-open .site-header.is-overlay .brand-sub { color: var(--fichte); text-shadow: none; }
  .nav-open { overflow: hidden; }
}

/* ---------- Startseite ---------- */
.hero { position: relative; min-height: min(92vh, 52rem); display: flex; align-items: flex-end; color: var(--weiss); background: var(--fichte); overflow: hidden; }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(17, 36, 28, .78) 0%, rgba(17, 36, 28, .25) 45%, rgba(17, 36, 28, .35) 100%);
}
.hero-text { position: relative; padding-block: 8rem clamp(2.5rem, 6vw, 4.5rem); }
.hero-kicker { font-size: clamp(1.05rem, 2vw, 1.3rem); margin: 0 0 .25rem; opacity: .95; }
.hero-title {
  font-size: clamp(4.2rem, 15vw, 11rem); font-weight: 500; line-height: .9; letter-spacing: -.035em;
  margin: 0 0 .15em; margin-left: -.04em;
}
.hero-year { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2.4vw, 1.6rem); margin: 0 0 1.75rem; color: var(--zirbe-hell); }
@media (prefers-reduced-motion: no-preference) {
  .hero-title { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-kicker, .hero-year, .hero-text .btn { animation: rise .9s .15s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}

.intro { display: grid; gap: 1rem 4rem; padding-block: var(--section); }
@media (min-width: 900px) { .intro { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.intro-title { font-size: clamp(2rem, 4vw, 2.8rem); }

.section-title { margin-bottom: 1.5rem; }
.section-title a { color: inherit; text-decoration: none; }
.section-title a:hover { color: var(--enzian); }

.apartments-home { padding-bottom: var(--section); }
.apt-rows { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: var(--section); }
.apartments-home .apt-rows { padding-bottom: 0; }
.apt-row { display: grid; gap: 1.25rem 3rem; align-items: center; }
@media (min-width: 900px) {
  .apt-row { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .apt-row:nth-child(even) .apt-row-img { order: 2; }
}
.apt-row-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--zirbe-hell); }
.apt-row-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.apt-row-img:hover img { transform: scale(1.025); }
.apt-row-text h2, .apt-row-text h3 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: .2em; }
.apt-row-text h2 a, .apt-row-text h3 a { color: var(--fichte); text-decoration: none; }
.apt-row-text h2 a:hover, .apt-row-text h3 a:hover { color: var(--enzian); }
.apt-guests { font-family: var(--serif); font-style: italic; color: var(--zirbe); font-size: 1.15rem; margin-bottom: .75rem; }
.apt-guests.big { font-size: 1.4rem; }

.seasons { display: grid; }
@media (min-width: 800px) { .seasons { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.season { position: relative; display: flex; align-items: flex-end; min-height: clamp(20rem, 42vw, 32rem); color: var(--weiss); text-decoration: none; overflow: hidden; background: var(--fichte-2); }
.season img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.season::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(17,36,28,.8), rgba(17,36,28,0) 60%); }
.season:hover img { transform: scale(1.03); }
.season:hover { color: var(--weiss); }
.season-text { position: relative; z-index: 1; padding: clamp(1.5rem, 4vw, 3rem); max-width: 34rem; }
.season-title { display: block; font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.1; margin-bottom: .3rem; }
.season-desc { display: block; opacity: .92; }

.farm-life { padding-block: var(--section); }
.teaser-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; }
@media (min-width: 700px) { .teaser-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.teaser-list a { display: block; text-decoration: none; color: var(--fichte); }
.teaser-img { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius); background: var(--zirbe-hell); margin-bottom: .9rem; }
.teaser-img img { width: 100%; height: 100%; object-fit: cover; }
.teaser-title { display: block; font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; margin-bottom: .25rem; }
.teaser-list a:hover .teaser-title { color: var(--enzian); text-decoration: underline; text-decoration-thickness: 1px; }
.teaser-text { display: block; color: var(--fels); }

.contact-band { background: var(--fichte); color: var(--weiss); padding-block: clamp(2.5rem, 6vw, 4rem); }
.contact-band-inner { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; justify-content: space-between; }
.contact-band h2 { margin-bottom: .2em; }
.contact-band p { margin: 0; opacity: .9; }
.contact-band-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.contact-band .btn-light { background: transparent; color: var(--weiss); border-color: rgba(255,255,255,.5); }
.contact-band .btn-light:hover { border-color: var(--weiss); }

/* ---------- Unterseiten ---------- */
.lead { font-size: clamp(1.2rem, 2vw, 1.4rem); line-height: 1.5; max-width: 40em; color: var(--fichte); }

.prose { max-width: 40em; margin-bottom: 2.5rem; }
.prose h2 { font-size: 1.8rem; margin-top: 2rem; }
.prose h3 { font-size: 1.4rem; margin-top: 1.75rem; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .3em; }
.prose img { border-radius: var(--radius); margin: 1.5rem 0; }
.prose figure { margin: 1.5rem 0; }
.prose figcaption { font-size: .95rem; color: var(--fels); margin-top: .4rem; }
.prose blockquote { margin: 1.5rem 0; padding-left: 1.25rem; border-left: 3px solid var(--zirbe-hell); font-family: var(--serif); font-style: italic; }
.prose table { border-collapse: collapse; width: 100%; }
.prose th, .prose td { text-align: left; padding: .4rem .6rem; border-bottom: 1px solid var(--linie); }
.h-sm { font-size: 1.5rem; }
.note { background: var(--weiss); border-left: 3px solid var(--zirbe); padding: .75rem 1rem; color: var(--fels); max-width: 40em; }

/* Galerie */
.gallery-wrap { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; gap: .5rem; }
@media (min-width: 800px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; } .gallery li.wide { grid-row: span 2; } }
.gallery li.wide { grid-column: span 2; }
.gallery a { display: block; height: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: var(--zirbe-hell); }
.gallery li { min-width: 0; }
@media (min-width: 800px) { .gallery li.wide a { aspect-ratio: auto; } }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.03); }
.lightbox { border: 0; padding: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; background: rgba(12, 22, 17, .95); color: var(--weiss); }
.lightbox::backdrop { background: rgba(12, 22, 17, .8); }
.lightbox figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3.5rem 4rem; }
.lightbox img { max-height: calc(100vh - 8rem); width: auto; object-fit: contain; border-radius: 4px; }
.lightbox figcaption { margin-top: .75rem; opacity: .85; }
.lb-btn { position: absolute; background: rgba(255,255,255,.12); color: var(--weiss); border: 0; width: 3rem; height: 3rem; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; }
.lb-btn:hover { background: rgba(255,255,255,.25); }
.lb-prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lb-next { right: 1rem; top: 50%; translate: 0 -50%; }
.lb-close { right: 1rem; top: 1rem; }
@media (max-width: 600px) { .lightbox figure { padding: 3.5rem .5rem 5rem; } .lb-prev, .lb-next { top: auto; bottom: 1rem; translate: none; } }

/* Ferienwohnung */
/* Preise */
.table-scroll { overflow-x: auto; margin-bottom: 2.5rem; }
.price-table { border-collapse: collapse; min-width: 32rem; width: 100%; max-width: 50rem; background: var(--weiss); border-radius: var(--radius); overflow: hidden; }
.price-table caption { text-align: left; caption-side: top; padding-bottom: .5rem; color: var(--fels); }
.price-table th, .price-table td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--linie); }
.price-table thead th { background: var(--fichte); color: var(--weiss); font-weight: 500; }
.price-table thead a { color: var(--weiss); }
.price-table td { font-variant-numeric: tabular-nums; font-size: 1.15rem; }
.price-table tbody th { font-weight: 500; }

/* Kontakt & Formulare */
.contact-grid { display: grid; gap: 2.5rem 4rem; padding-bottom: var(--section); }
@media (min-width: 950px) { .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.contact-form { background: var(--weiss); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2.25rem); border: 1px solid var(--linie); }
.form label { display: block; margin-bottom: 1rem; }
.form label > span { display: block; font-weight: 500; margin-bottom: .25rem; font-size: 1rem; }
.form input:not([type=checkbox]), .form select, .form textarea {
  width: 100%; min-height: 2.9rem; padding: .55rem .75rem; font: inherit; font-size: 1.05rem; color: var(--fichte);
  background: var(--weiss); border: 1px solid #b9c2b6; border-radius: var(--radius);
}
.form textarea { resize: vertical; min-height: 7rem; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--enzian); outline-offset: 0; border-color: var(--enzian); }
.form [aria-invalid="true"] { border-color: #b3261e; }
.row-2 { display: grid; gap: 0 1rem; }
@media (min-width: 600px) { .row-2 { grid-template-columns: 1fr 1fr; } }
.form .check { display: flex; gap: .65rem; align-items: flex-start; font-size: 1rem; }
.form .check input { width: 1.2rem; height: 1.2rem; margin-top: .2rem; flex: none; accent-color: var(--enzian); }
.form .check span { font-weight: 400; display: inline; }
.field-error { display: block; color: #b3261e; font-size: .95rem; margin-top: .25rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: .9rem 1.1rem; border-radius: var(--radius); }
.alert-ok { background: #e3efe6; color: #1d4a2e; }
.alert-err { background: #fbe9e7; color: #8c1d18; }
.map { margin-top: 1rem; aspect-ratio: 4 / 3; background: var(--zirbe-hell); border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 1rem; overflow: hidden; }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Fuß ---------- */
.site-footer { background: #142b21; color: #d9e2da; padding-block: 3rem; font-size: 1rem; }
.site-footer a { color: var(--weiss); }
.footer-grid { display: grid; gap: 1.5rem 3rem; }
@media (min-width: 750px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-brand { font-family: var(--serif); font-size: 1.6rem; color: var(--weiss); margin-bottom: .4rem; }
.footer-legal { color: #a9b8ad; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .site-footer, .contact-form, .lightbox { display: none; }
  body { background: #fff; }
}

/* =====================================================================
   Version 1.1 – Unterseiten mit großem Titelbild, Kacheln, Gästebuch
   ===================================================================== */

/* Seitenkopf mit Foto: gleiche Bildsprache wie die Startseite */
.page-hero { position: relative; min-height: clamp(24rem, 68vh, 44rem); display: flex; align-items: flex-end; color: var(--weiss); background: var(--fichte); overflow: hidden; }
.page-hero-media, .page-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero-media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(17,36,28,.82) 0%, rgba(17,36,28,.3) 50%, rgba(17,36,28,.35) 100%); }
.page-hero-text { position: relative; padding-block: 7rem clamp(2rem, 5vw, 3.5rem); }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); line-height: 1; letter-spacing: -.025em; max-width: 16ch; margin-bottom: .3em; }
.page-hero .lead { color: rgba(255,255,255,.92); margin: 0; max-width: 36em; }
.page-hero .crumb a { color: var(--zirbe-hell); }
@media (prefers-reduced-motion: no-preference) {
  .page-hero h1 { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  .page-hero .lead, .page-hero .crumb { animation: rise .8s .12s cubic-bezier(.2, .7, .2, 1) both; }
}

/* Seitenkopf ohne Foto */
.page-head { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 3vw, 2.5rem); }
.page-head h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); line-height: 1.05; letter-spacing: -.02em; max-width: 18ch; }
.crumb { margin: 0 0 .6rem; font-size: 1.05rem; }
.crumb a { color: var(--zirbe); text-decoration: none; font-weight: 500; }
.crumb a:hover { text-decoration: underline; }

/* Navigation innerhalb eines Bereichs */
.section-nav { background: var(--weiss); border-bottom: 1px solid var(--linie); position: sticky; top: var(--header-h, 4rem); z-index: 20; }
.section-nav ul { list-style: none; margin: 0 auto; padding: 0; display: flex; gap: .25rem 1.75rem; overflow-x: auto; scrollbar-width: none; }
.section-nav ul::-webkit-scrollbar { display: none; }
.section-nav a { display: block; padding: .95rem 0 .8rem; white-space: nowrap; color: var(--fels); text-decoration: none; font-weight: 500; border-bottom: 3px solid transparent; }
.section-nav a:hover { color: var(--fichte); }
.section-nav a[aria-current] { color: var(--fichte); border-bottom-color: var(--zirbe); }

.page-body { padding-top: clamp(2.5rem, 6vw, 4.5rem); }
.page-head + .page-body { padding-top: 0; }
.prose { font-size: 1.15rem; line-height: 1.7; }
.prose > p:first-child { margin-top: 0; }

/* Kacheln für Unterseiten: Foto mit Titel darauf, erste Kachel breiter */
.tiles-wrap { padding-block: clamp(2rem, 5vw, 3.5rem) var(--section); }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(.75rem, 1.5vw, 1.25rem); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles-odd > li:first-child { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  .tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .tiles > li.span-6 { grid-column: span 6; }
  .tiles > li.span-3 { grid-column: span 3; }
  .tiles > li.span-2 { grid-column: span 2; }
  .tiles > li.span-3 .tile, .tiles > li.span-6 .tile { min-height: clamp(18rem, 30vw, 24rem); }
}
.tile { position: relative; display: flex; align-items: flex-end; min-height: clamp(15rem, 26vw, 19rem); height: 100%;
  border-radius: 10px; overflow: hidden; color: var(--weiss); text-decoration: none; background: var(--fichte-2); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(17,36,28,.85), rgba(17,36,28,0) 65%); }
.tile:hover { color: var(--weiss); }
.tile:hover img { transform: scale(1.04); }
.tile.is-empty { background: linear-gradient(135deg, var(--fichte-2), var(--fichte)); }
.tile-text { position: relative; z-index: 1; padding: clamp(1.1rem, 2.5vw, 1.75rem); max-width: 34rem; }
.tile-title { display: block; font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.1; margin-bottom: .3rem; }
.tile-desc { display: block; font-size: 1rem; opacity: .9; }
.tiles > li.span-3 .tile-title, .tiles > li.span-6 .tile-title { font-size: clamp(1.8rem, 3vw, 2.5rem); }

/* Anfrage-Band */
.cta-band { background: var(--fichte); color: var(--weiss); padding-block: clamp(3rem, 7vw, 5rem); }
.cta-inner { display: flex; flex-wrap: wrap; gap: 1.75rem 3rem; align-items: center; justify-content: space-between; }
.cta-band h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.015em; margin-bottom: .25em; }
.cta-band p { margin: 0; opacity: .88; max-width: 34em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }
.cta-phone { color: var(--weiss); font-family: var(--serif); font-size: 1.35rem; text-decoration: none; }
.cta-phone:hover { color: var(--zirbe-hell); text-decoration: underline; }
.tpl-contact .cta-band, .tpl-guestbook .cta-band { display: none; }

/* Ferienwohnung */
.facts-bar { background: var(--weiss); border-bottom: 1px solid var(--linie); }
.facts-bar ul { list-style: none; margin: 0 auto; padding: 1rem 0; display: flex; flex-wrap: wrap; gap: .5rem 0; }
.facts-bar li { padding: .1rem 1.25rem; border-left: 1px solid var(--linie); font-size: 1.05rem; }
.facts-bar li:first-child { padding-left: 0; border-left: 0; }
.facts-bar .facts-guests { font-family: var(--serif); font-style: italic; color: var(--zirbe); font-size: 1.2rem; }
.section-nav + .facts-bar { border-top: 0; }
.apt-detail { display: grid; gap: 2.5rem 4.5rem; padding-block: clamp(2.5rem, 6vw, 4rem); }
@media (min-width: 900px) {
  .apt-detail { grid-template-columns: minmax(0, 1fr) 21rem; }
  .apt-aside { position: sticky; top: calc(var(--header-h, 4rem) + 4.5rem); align-self: start; }
}
.apt-aside { background: var(--weiss); border-radius: 10px; padding: 1.75rem; border: 1px solid var(--linie); }
.apt-aside-title { font-family: var(--serif); font-size: 1.6rem; line-height: 1.15; margin-bottom: .2rem; }
.apt-aside .apt-guests { margin-bottom: 1rem; }
.apt-aside .small { margin-bottom: 1.25rem; }
.apt-aside-link { margin: 1rem 0 0; text-align: center; }
.equipment { list-style: none; padding: 0; columns: 2 16rem; column-gap: 2.5rem; margin: 0 0 2rem; }
.equipment li { break-inside: avoid; padding: .45rem 0 .45rem 1.9rem; position: relative; border-bottom: 1px solid var(--linie); }
.equipment li::before { content: ""; position: absolute; left: .15rem; top: .95rem; width: .9rem; height: .45rem;
  border-left: 2px solid var(--zirbe); border-bottom: 2px solid var(--zirbe); transform: rotate(-45deg); }
.facts-inline { list-style: none; padding: 0; margin: 0 0 1.25rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.facts-inline li { background: var(--weiss); border: 1px solid var(--linie); border-radius: 99px; padding: .2rem .8rem; font-size: .95rem; color: var(--fels); }
.gallery-wrap .section-title { margin-bottom: 1.25rem; }
.gallery a { border-radius: 8px; }

/* Gästebuch */
.gb-layout { display: grid; gap: 3rem 4rem; padding-bottom: var(--section); }
@media (min-width: 980px) {
  .gb-layout { grid-template-columns: minmax(0, 1fr) 22rem; }
  .gb-form { position: sticky; top: calc(var(--header-h, 4rem) + 1.5rem); align-self: start; }
}
.gb-intro { padding: 0; width: auto; }
.gb-summary { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; font-size: 1.1rem; color: var(--fels); margin-bottom: 1.5rem; }
.gb-avg { display: inline-flex; align-items: center; gap: .4rem; color: var(--fichte); font-weight: 500; }
.gb-entries { columns: 2 20rem; column-gap: 1.5rem; }
.gb-entry { break-inside: avoid; margin: 0 0 1.5rem; background: var(--weiss); border-radius: 10px; padding: 1.5rem 1.6rem 1.25rem; border: 1px solid var(--linie); }
.gb-entry blockquote { margin: .6rem 0 1.1rem; }
.gb-entry blockquote p { font-family: var(--serif); font-size: 1.2rem; line-height: 1.55; margin: 0; }
.gb-author { display: flex; align-items: center; gap: .75rem; }
.gb-initials { flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--fichte); color: var(--zirbe-hell); font-family: var(--serif); font-size: 1.05rem; font-weight: 700; }
.gb-who { display: flex; flex-direction: column; line-height: 1.25; }
.gb-who strong { font-weight: 500; }
.gb-who span { color: var(--fels); font-size: .95rem; }
.gb-author time { margin-left: auto; color: var(--fels); font-size: .95rem; }
.gb-reply { margin: 1.1rem 0 0; padding: .9rem 1rem; background: var(--schnee); border-radius: 8px; border-left: 3px solid var(--zirbe); font-size: 1rem; }
.gb-reply p { margin: 0; }
.gb-reply .gb-reply-by { font-weight: 500; color: var(--zirbe); margin-bottom: .2rem; }
.gb-more { text-align: center; }
.gb-form { background: var(--weiss); border-radius: 10px; padding: clamp(1.25rem, 3vw, 1.75rem); border: 1px solid var(--linie); }
.stars { color: #b07a2e; letter-spacing: .08em; font-size: 1.05rem; white-space: nowrap; }
.stars .off { color: var(--linie); }
.star-input { border: 0; padding: 0; margin: 0 0 1rem; min-width: 0; }
.star-row { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: .1rem; }
.star-input legend { font-weight: 500; font-size: 1rem; margin-bottom: .2rem; padding: 0; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { display: block !important; margin: 0 !important; font-size: 2rem; line-height: 1; color: var(--linie); cursor: pointer; padding: .1rem; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: #b07a2e; }
.star-input input:focus-visible + label { outline: 3px solid var(--enzian); border-radius: 4px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 700px) {
  .facts-bar ul { gap: .35rem 0; }
  .facts-bar li { border-left: 0; padding: .1rem 1.1rem .1rem 0; }
  .facts-bar .facts-guests { width: 100%; }
}
