:root {
  --bg: #f3f2ef;
  --surface: #ffffff;
  --surface-alt: #fcfbf9;
  --ink: #17191c;
  --ink-muted: #5e646c;
  --line: #ddd6cf;
  --brand: #1E6B3A;
  --brand-dark: #154D29;
  --brand-soft: #e3f1e8;
  --header: #111214;
  /* Kopfleiste: Markengruen. Fuer die dunkle Variante des Hero-Entwurfs
     stattdessen #121614 setzen. */
  --header-bg: var(--brand);
  --shadow-soft: 0 10px 30px rgba(17, 18, 20, 0.08);
  --shadow-strong: 0 20px 50px rgba(17, 18, 20, 0.18);
  --radius: 16px;
}

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

html {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  background: #ffffff;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Trebuchet MS", "Segoe UI", Tahoma, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background: #ffffff;
  overflow-x: hidden;
}

section[id],
h2[id],
div[id] {
  scroll-margin-top: 100px;
}

a {
  color: var(--brand);
}

a:hover {
  color: var(--brand-dark);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--header-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  left: 0;
  right: 0;
}

.site-header__inner {
  max-width: 1180px;
  margin: 0 auto;
  height: 92px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.site-brand img {
  display: block;
  height: 72px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
}

/* Navigation im Stil des Hero-Entwurfs: schmale Versalien mit Sperrung,
   Markierung ueber eine feine Linie statt einer Pille. */
.site-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 10px 12px;
  border-radius: 0;
  border: 0;
  background: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.35);
  transform-origin: left center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover {
  color: #fff;
  background: none;
}

.site-nav a:hover::after {
  opacity: 0.5;
  transform: scaleX(1);
}

.site-nav a.active {
  color: #fff;
  background: none;
}

.site-nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

/* Im aufgeklappten Mobilmenue wird aus der Unterlinie ein kurzer Akzentstrich. */
.site-nav--open a::after {
  right: auto;
  width: 24px;
}

.site-nav__spacer {
  flex: 1;
}

.site-nav__cta {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  background: #fff !important;
  color: var(--brand) !important;
  border: 0 !important;
  border-radius: 2px !important;
  padding: 13px 20px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  box-shadow: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-nav__cta::after {
  display: none;
}

.site-nav__cta:hover {
  background: var(--brand-soft) !important;
  color: var(--brand-dark) !important;
}

.site-nav__burger {
  display: none;
  background: none;
  border: 0;
  padding: 7px;
  margin-left: auto;
  cursor: pointer;
  flex-shrink: 0;
  z-index: 810;
}

.site-nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  border-radius: 99px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-nav__burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-nav__burger.open span:nth-child(2) {
  opacity: 0;
}

.site-nav__burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-hero-wrap {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.site-hero {
  --hero-parallax: 0px;
  position: relative;
  min-height: 54vh;
  display: flex;
  align-items: center;
  padding: clamp(20px, 4vw, 40px) clamp(24px, 5vw, 72px);
  background: linear-gradient(135deg, #eef7f1 0%, #dcefe2 46%, #cbe7d6 100%);
  isolation: isolate;
  overflow: hidden;
}

.site-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* Breites Hero-Motiv: das Haus steht rechts, links laeuft die Bildkante als
     weicher Verlauf weiter - so bleibt das Foto formatfuellend und das Haus
     trotzdem frei von der Textspalte. Erzeugt aus hero-eingangsseite-retusche.jpg. */
  background-image: url("../images/tinyhouse/hero-eingangsseite-breit.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Heller Schleier, damit die dunkle Schrift auf dem Foto lesbar bleibt */
.site-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg,
      rgba(252, 251, 249, 0.94) 0%,
      rgba(252, 251, 249, 0.88) 36%,
      rgba(252, 251, 249, 0.58) 54%,
      rgba(252, 251, 249, 0.16) 72%,
      rgba(252, 251, 249, 0.04) 100%),
    radial-gradient(circle at 82% 18%, rgba(30, 107, 58, 0.16) 0%, rgba(30, 107, 58, 0) 55%),
    radial-gradient(circle at 92% 78%, rgba(21, 77, 41, 0.14) 0%, rgba(21, 77, 41, 0) 50%);
}

/* Hinweis, dass die Fotos aus der Bauphase stammen */
.site-hero__note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 13px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
  box-shadow: 0 4px 14px rgba(17, 18, 20, 0.1);
}

.site-hero__note a {
  color: var(--brand);
}

.site-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 38%, rgba(17, 18, 20, 0.06) 100%);
}

.site-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 670px;
}

.site-hero__logo {
  display: block;
  width: clamp(132px, 14vw, 210px);
  max-height: 138px;
  height: auto;
  margin: 0 0 8px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.18));
}

.site-hero__headline {
  margin: 0 0 10px;
  display: flex;
  flex-direction: column;
  gap: 0.05em;
  color: #111111 !important;
  font-size: clamp(24px, 4.6vw, 52px);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  border: 0;
  padding: 0;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.35);
}

.site-hero__headline-main {
  font-weight: 300;
  letter-spacing: 0.05em;
  opacity: 0.8;
  color: #111111 !important;
}

.site-hero__headline-accent {
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #1E6B3A;
}

.site-hero__sub {
  color: #2f363f;
  font-size: clamp(15px, 1.7vw, 16px);
  max-width: 620px;
  margin-bottom: 18px;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.35);
}

.site-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.15;
  padding: 12px 18px;
  border: 2px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.site-hero__btn--primary {
  background: #1E6B3A;
  border-color: #1E6B3A;
  color: #ffffff !important;
}

.site-hero__btn--primary:hover {
  background: #154D29;
  border-color: #154D29;
  transform: translateY(-2px);
}

.site-hero__btn--outline {
  border-color: rgba(34, 42, 51, 0.5);
  color: #1f2730 !important;
  background: rgba(255, 255, 255, 0.9);
}

.site-hero__btn--outline:hover {
  border-color: rgba(34, 42, 51, 0.85);
  background: #ffffff;
  transform: translateY(-2px);
}

@media (max-width: 420px) {
  .site-hero__actions {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── WhatsApp Hero-Button ── */
.site-hero__btn--whatsapp {
  background: #25d366;
  border-color: #25d366;
  color: #ffffff !important;
}

.site-hero__btn--whatsapp:hover {
  background: #1ebe5d;
  border-color: #1ebe5d;
  transform: translateY(-2px);
}

.site-usp-bar {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: nowrap;
  overflow: hidden;
  background: var(--brand);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.site-usp-bar::-webkit-scrollbar {
  display: none;
}

.site-usp-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.92);
  padding: 12px clamp(8px, 1.6vw, 18px);
  flex: 1 1 0;
  min-width: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.site-usp-item:last-child {
  border-right: 0;
}

.site-usp-item span {
  font-size: clamp(10px, 1vw, 12px);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 700;
  white-space: nowrap;
}

main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
}

main > section {
  position: relative;
  z-index: 0;
  padding: clamp(24px, 4vw, 38px) 20px;
  background: #f4f2ef;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

main > section::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: -1;
  background: #f4f2ef;
}

main > section + section {
  margin-top: 0;
}

.section-alt,
.section-alt::before {
  background: #ffffff !important;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: 0.01em;
  line-height: 1.2;
  border-bottom: 2px solid var(--line);
  padding-bottom: 8px;
}

h3 {
  margin: 18px 0 8px;
  font-size: 20px;
  line-height: 1.35;
}

p {
  margin: 0 0 14px;
  color: var(--ink-muted);
}

ul {
  margin: 0 0 14px;
  padding-left: 22px;
}

li {
  margin-bottom: 6px;
}

.section-sub {
  margin-top: -4px;
  margin-bottom: 20px;
  color: #6f7680;
}

.content-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 1.75rem 0 1.25rem;
}

.content-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  padding: 9px 13px;
  border-radius: 10px;
  border: 1px solid rgba(30, 107, 58, 0.25);
  background: var(--brand-soft);
  color: #154D29 !important;
  font-weight: 700;
  font-size: 14px;
}

.content-link:hover {
  background: #cfe9d8;
}

.content-link::after {
  content: "\2197";
  font-size: 12px;
  color: currentColor;
  opacity: 0.8;
}

.content-link--static {
  background: #fff;
  border-color: var(--line);
  color: var(--ink-muted) !important;
  cursor: default;
  font-weight: 600;
}

.content-link--static::after {
  content: none;
}

.content-link--static:hover {
  background: #fff;
}

#map-container {
  width: 100%;
  height: 420px;
  position: relative;
}

#map-consent {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #ede9e4;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
}

#map-consent svg {
  width: 58px;
  height: 58px;
  fill: #646c77;
}

#map {
  width: 100%;
  height: 100%;
  display: none;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.media-consent-btn {
  margin-top: 10px;
  padding: 10px 18px;
  border: 0;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.media-consent-btn:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 980px) {
  .leistungen-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .leistungen-grid {
    grid-template-columns: 1fr;
  }
}

.leistung-card {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.leistung-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.leistung-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.leistung-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: var(--brand-soft);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.leistung-card h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin: 0;
}

.leistung-card p {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.65;
  margin: 0;
}

.preis-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1140px;
}

.preis-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 20px;
  box-shadow: 0 8px 24px rgba(17, 18, 20, 0.06);
  text-align: center;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.preis-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(17, 18, 20, 0.11);
}

.preis-card.featured {
  border: 2px solid var(--brand);
}

.preis-card.special {
  border: 2px solid #c9942f;
  background: linear-gradient(180deg, #fffdf7 0%, #fff 100%);
}

.featured-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.featured-tag--special {
  background: #c9942f;
}

.preis-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  background: var(--brand-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preis-card.special .preis-icon {
  background: #fbf1de;
}

/* Rabattstaffel: bewusst zurueckhaltend gehalten - keine Kaesten, keine farbigen
   Schilder, nur vier Spalten mit dem Preis, der wirklich pro Nacht faellig wird.
   Inhalte kommen aus preis-berechnung.php. */
/* ── Preisübersicht: Sparvorteile unter den Preiskarten ─────────────────────────────────────────
   Wochenend-Pauschale, Mengenrabatt und Inklusivleistungen stehen als ruhige Hinweiszeilen unter
   den drei Preiskarten, statt als Aufzählung mit Aufzählungszeichen: Eine Liste liest sich nach
   Kleingedrucktem, diese Zeilen nach einem Angebot. */
.preis-spar {
  max-width: 1140px;
  margin: 26px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.preis-spar__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  background: var(--brand-soft);
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}

.preis-spar__item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--brand);
}

.preis-spar__item strong {
  color: var(--brand-dark);
}

.preis-staffel {
  max-width: 1140px;
  margin: 24px auto 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 24px 18px;
}

.preis-staffel__title {
  margin: 0 0 16px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-muted);
}

.preis-staffel__title strong {
  color: var(--ink);
}

.preis-staffel__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.preis-staffel__step {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 2px 16px;
  border-left: 1px solid var(--line);
}

.preis-staffel__step:first-child {
  padding-left: 0;
  border-left: 0;
}

.preis-staffel__nights {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a9098;
}

.preis-staffel__row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 8px;
}

.preis-staffel__price {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.preis-staffel__badge {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  white-space: nowrap;
}

.preis-staffel__unit {
  font-size: 12px;
  color: var(--ink-muted);
}

.preis-staffel__hint {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-muted);
}

.preis-trust {
  max-width: 1140px;
  margin: 12px auto 0;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-muted);
}

.preis-trust svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--brand);
}

.preis-trust strong {
  color: var(--ink);
}

.preis-dauer {
  font-size: 13px;
  color: #7a8088;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  margin-bottom: 8px;
}

.preis-betrag {
  color: #121417;
  font-size: clamp(36px, 5vw, 48px);
  line-height: 1;
  font-weight: 800;
  margin-bottom: 6px;
}

.preis-euro {
  font-size: 22px;
}

.preis-einheit {
  font-size: 14px;
  color: #757d87;
  margin-bottom: 14px;
}

.preis-features {
  list-style: none;
  text-align: left;
  padding-left: 0;
  margin: 0;
}

.preis-features li {
  position: relative;
  padding-left: 20px;
  color: #4d545d;
  font-size: 14px;
  margin-bottom: 8px;
}

.preis-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand);
  font-weight: 700;
}

.preis-note {
  margin-top: 20px;
  color: #737b84;
  font-size: 14px;
}

details {
  border: 1px solid #e8e1d8;
  border-radius: 12px;
  padding: 0 14px;
  margin-bottom: 10px;
  background: #fff;
}

summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: #22262b;
  padding: 14px 0;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  margin-left: auto;
  font-size: 23px;
  line-height: 1;
  color: var(--brand);
  transition: transform 0.2s ease;
}

details[open] summary::after {
  transform: rotate(45deg);
}

details p {
  color: #525962;
  margin: 0 0 14px;
}

details > p {
  animation: fadeSlideIn 0.18s ease;
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: translateY(0); }
}

.kontakt-box {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff 0%, #fbfaf8 100%);
  padding: clamp(18px, 3.5vw, 28px);
}

.buchen-layout {
  display: flex;
  align-items: stretch;
  gap: 24px;
  margin-bottom: 20px;
}

.buchen-calendar-col {
  flex: 0 0 420px;
  max-width: 420px;
}

.buchen-price-col {
  flex: 1;
  min-width: 240px;
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#auswahl-bestaetigung {
  margin-top: auto;
  margin-bottom: 0;
}

@media (max-width: 860px) {
  .buchen-layout {
    flex-direction: column;
  }

  .buchen-calendar-col {
    flex: 1 1 auto;
    max-width: 100%;
    width: 100%;
  }

  .buchen-price-col {
    width: 100%;
    padding-top: 0;
  }
}

.buchungskalender {
  margin: 0;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px 18px;
  background: #fff;
}

.kalender-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.kalender-month-name {
  flex: 1;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  text-align: center;
}

.kalender-nav-btn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  color: var(--brand-dark);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.kalender-nav-btn:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.kalender-wochentage {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-muted);
  margin-bottom: 4px;
}

.kalender-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}


.kalender-tag {
  aspect-ratio: 1;
  border: 1px solid var(--brand);
  border-radius: 8px;
  background: transparent;
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.kalender-tag:hover:not(:disabled) {
  background: var(--brand-soft);
}

.kalender-tag--leer {
  border: none;
  cursor: default;
  pointer-events: none;
}

.kalender-tag--gesperrt {
  border-color: #e3a9a6;
  background: #fbe9e7;
  color: #b0413e;
  text-decoration: line-through;
  cursor: not-allowed;
  opacity: 0.85;
}

.kalender-tag--heute {
  font-weight: 700;
  box-shadow: inset 0 0 0 1px var(--brand);
}

.kalender-tag--im-bereich {
  background: var(--brand-soft);
  border-radius: 0;
}

.kalender-tag--start,
.kalender-tag--ende {
  background: var(--brand);
  color: #fff;
  font-weight: 700;
}

.kalender-tag--start {
  border-radius: 8px 0 0 8px;
}

.kalender-tag--ende {
  border-radius: 0 8px 8px 0;
}

.kalender-tag--start.kalender-tag--ende {
  border-radius: 8px;
}

.kalender-legende {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 12px;
  font-size: 12px;
  color: var(--ink-muted);
}

.kalender-legende span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.kalender-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.kalender-dot--frei {
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}

.kalender-dot--belegt {
  background: #fbe9e7;
  box-shadow: inset 0 0 0 1px #b0413e;
}

.kalender-dot--gewaehlt {
  background: var(--brand);
}

.kalender-hinweis {
  font-size: 12.5px;
  color: var(--ink-muted);
  margin: 0;
  text-align: center;
}

.form-alert {
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 14px;
}

.form-alert ul {
  margin: 8px 0 0;
}

.form-alert--error {
  border: 1px solid #f1b1b1;
  background: #fff0f0;
  color: #832222;
}

.form-alert--success {
  border: 1px solid #a7d7b1;
  background: #edf8ef;
  color: #205b2d;
}

.form-alert--info {
  border: 1px solid #f0d878;
  background: #fff8e1;
  color: #7a5c00;
  font-weight: 600;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}

.form-grid--sidebar {
  gap: 10px 12px;
}

.form-grid--divided {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

/* Erwachsene, Kinder, Hund und E-Auto stehen nebeneinander in EINER Zeile. Bewusst flex statt
   eines Rasters mit fester Spaltenzahl: Das Feld "davon unter X Jahre" erscheint nur, solange
   ein Personenzuschlag gepflegt ist (siehe buchen.php) – die Zahl der Felder schwankt also
   zwischen vier und fuenf, und flex verteilt die Breite ohne dass jemand die Spaltenzahl
   nachziehen muss.
   align-items: end haelt die Eingabefelder auf einer Linie, auch wenn eine Beschriftung
   zweizeilig umbricht - sonst hinge ein Feld tiefer als seine Nachbarn. */
.guest-row {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 10px 12px;
}

.guest-row > .form-field {
  flex: 1 1 0;
  min-width: 0;
}

@media (max-width: 700px) {
  /* Vier Felder nebeneinander waeren auf dem Handy je gut 60 Pixel breit - dort lieber zwei
     pro Zeile. */
  .guest-row > .form-field {
    flex: 1 1 calc(50% - 6px);
  }
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-field[hidden] {
  display: none;
}

.form-field label {
  font-size: 13px;
  font-weight: 700;
  color: #2b3036;
  margin: 0;
}

.required {
  color: var(--brand);
}

.optional {
  font-weight: 500;
  color: #8d949d;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  box-sizing: border-box;
  border: 1.5px solid #d6dce3;
  border-radius: 9px;
  padding: 10px 12px;
  font: inherit;
  line-height: 1.4;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:not([type="checkbox"]):not([type="radio"]),
.form-field select {
  min-height: 48px;
}

.form-field select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23515861' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 34px;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(30, 107, 58, 0.16);
}

.form-field input[type="date"] {
  max-width: 100%;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.form-field input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
}

@media (min-width: 761px) {
  .form-field input[type="date"]::-webkit-calendar-picker-indicator {
    padding: 7px;
    margin-left: 6px;
  }
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-footer {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 6px;
}

.verfuegbarkeit-status {
  border-radius: 9px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.verfuegbarkeit-status--loading {
  background: #f1f3f5;
  color: #6b7280;
  font-weight: 500;
}

.verfuegbarkeit-status--frei {
  background: #e8f6ec;
  border: 1px solid #bfe6ca;
}

.verfuegbarkeit-headline-box {
  color: #1e7a3a;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 15px;
}

.verfuegbarkeit-table-box {
  padding: 0;
}

.verfuegbarkeit-status--belegt {
  background: #fdecec;
  color: #b63031;
  border: 1px solid #f3c6c6;
}

.verfuegbarkeit-status--placeholder {
  background: transparent;
  color: var(--ink-muted);
  font-weight: 400;
  border: 1px dashed var(--line);
}

.verfuegbarkeit-headline {
  font-size: 15px;
}

.verfuegbarkeit-table {
  width: 100%;
  border-collapse: collapse;
  font-weight: 500;
}

.verfuegbarkeit-table td {
  padding: 6px 0;
  border-top: 1px solid rgba(30, 122, 58, 0.15);
}

.verfuegbarkeit-table tr:first-child td {
  border-top: none;
}

.verfuegbarkeit-row__label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.verfuegbarkeit-row__label svg {
  flex-shrink: 0;
  opacity: 0.75;
}

.verfuegbarkeit-row__value {
  text-align: right;
  white-space: nowrap;
  padding-left: 12px;
}

@media (max-width: 480px) {
  .verfuegbarkeit-row__label {
    font-size: 13px;
  }

  .verfuegbarkeit-row__value {
    font-size: 13px;
  }
}

.verfuegbarkeit-row--total td {
  border-top: none;
  box-shadow: inset 0 1.5px 0 rgba(30, 122, 58, 0.5);
  padding-top: 8px;
  font-weight: 700;
  font-size: 15px;
}

.verfuegbarkeit-row--subtle td {
  color: #6b9b7a;
  font-size: 12px;
  font-weight: 400;
  padding-top: 2px;
  padding-bottom: 8px;
}

.form-datenschutz {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 1;
  font-size: 13px;
  color: #515861;
}

.form-datenschutz input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--brand);
  flex-shrink: 0;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 12px 20px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.form-submit:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.form-submit:active {
  transform: translateY(0) scale(0.98);
}

.form-trust-note {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: -4px 0 0;
  font-size: 13px;
  color: var(--ink-muted);
}

.form-trust-note svg {
  flex-shrink: 0;
  color: var(--brand);
}

.site-footer {
  background: #ffffff;
  border-top: 2px solid var(--brand);
  color: var(--ink-muted);
}

.site-footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 20px 26px;
  display: grid;
  grid-template-columns: 1fr 1.45fr 1fr;
  gap: 22px;
  align-items: center;
}

.site-footer__brand img {
  width: auto;
  height: 88px;
  display: block;
}

.site-footer__contact {
  text-align: left;
}

.site-footer__contact > span {
  display: block;
  font-size: 16px;
  margin-bottom: 10px;
}

.cta-kontakt {
  display: grid;
  grid-auto-flow: column;
  /* Feste, gleich hohe Zeilen: sonst zieht der höhere CTA-Button die zweite Zeile auf und
     E-Mail/Telefon stehen weiter auseinander als WhatsApp/Button - der Block wirkt schief
     (gleiches Muster wie gerüstverleih-zeuthen-website/css/style.css). */
  grid-template-rows: repeat(2, 42px);
  /* Feste 230px-Spalten statt 1fr/max-content: alle vier Chips sind dadurch gleich breit -
     230px reicht für den längsten Inhalt (die E-Mail-Adresse), ohne dass sie umbricht. */
  grid-template-columns: repeat(2, 230px);
  align-items: center;
  column-gap: 24px;
  row-gap: 14px;
}

.kontakt-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
  height: 38px;
  padding: 0 16px;
  box-sizing: border-box;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  min-height: 2.2rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.kontakt-chip svg {
  color: var(--brand);
  flex-shrink: 0;
}

a.kontakt-chip:hover {
  color: var(--brand-dark);
  border-color: var(--brand);
}

.kontakt-chip--primary,
.kontakt-chip--wa {
  color: #fff !important;
  border-radius: 8px;
  border-color: transparent;
  height: 38px;
  padding: 0 18px;
  gap: 8px;
  transition: background 0.2s ease;
}

.kontakt-chip--primary svg,
.kontakt-chip--wa svg {
  color: #fff;
}

.kontakt-chip--primary {
  background: var(--brand);
}

.kontakt-chip--primary:hover {
  background: var(--brand-dark);
  color: #fff !important;
}

/* Gleiches Grün wie der WhatsApp-Button im Hero (.site-hero__btn--whatsapp). */
.kontakt-chip--wa {
  background: #25d366;
}

.kontakt-chip--wa:hover {
  background: #1ebe5d;
  color: #fff !important;
}

.site-footer__links {
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.site-footer__links a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 14px;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.site-footer__links a:hover {
  color: var(--brand);
  border-color: var(--brand);
}

.footer-promo-eyebrow {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 20px 0;
  border-top: 1px solid var(--line);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-muted);
}

.footer-promo-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 20px 20px;
}

.footer-promo-wrap--row {
  display: flex;
  gap: 16px;
}

.footer-promo-wrap--row .footer-promo {
  flex: 1;
}

.footer-promo {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.footer-promo:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.footer-promo img {
  height: 54px;
  width: auto;
  flex-shrink: 0;
}

.footer-promo__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-promo__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.footer-promo__cta {
  flex-shrink: 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--brand-dark);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .footer-promo {
    flex-wrap: wrap;
  }

  .footer-promo-wrap--row {
    flex-direction: column;
  }
}

.site-footer__copy {
  text-align: center;
  font-size: 12px;
  color: var(--ink-muted);
  padding: 12px 20px;
  border-top: 1px solid var(--line);
}

.site-footer__copy a {
  color: var(--ink-muted);
}

.tiny-photo-wrap {
  margin: 2rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.tiny-photo-wrap img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
}

/* Zwei nebeneinanderliegende Vorschaubilder, z. B. im Willkommens-Abschnitt */
.foto-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 1.8rem 0 0.4rem;
}

.foto-duo figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface-alt);
  box-shadow: var(--shadow-soft);
}

.foto-duo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.foto-duo figcaption {
  padding: 9px 12px 11px;
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 1.35;
}

@media (max-width: 560px) {
  .foto-duo {
    grid-template-columns: 1fr;
  }
}

/* ── Hinweis: Fotos stammen aus der Bauphase ── */
.foto-hinweis {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 1.4rem;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.5;
}

.foto-hinweis svg {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--brand);
}

.foto-hinweis p {
  margin: 0;
}

/* ── Galerie ── */
.galerie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
}

.galerie-item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface-alt);
  box-shadow: var(--shadow-soft);
  cursor: zoom-in;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.galerie-item:hover,
.galerie-item:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
}

.galerie-item:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}

.galerie-item img {
  display: block;
  width: 100%;
  /* height:auto ist noetig, damit aspect-ratio greift - sonst gewinnt das
     height-Attribut aus dem HTML und die Kachel wird 700px hoch. */
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.35s ease;
}

/* Querformat-Aufnahme ueber zwei Spalten, damit sie nicht beschnitten wird */
.galerie-item--wide {
  grid-column: span 2;
}

.galerie-item--wide img {
  aspect-ratio: 4 / 3;
}

.galerie-item:hover img {
  transform: scale(1.04);
}

.galerie-item__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 12px 9px;
  background: linear-gradient(180deg, rgba(17, 18, 20, 0) 0%, rgba(17, 18, 20, 0.72) 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  line-height: 1.3;
}

/* ── Lightbox ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(12, 13, 15, 0.92);
}

.lightbox.show {
  display: flex;
}

.lightbox__figure {
  margin: 0;
  max-width: min(94vw, 900px);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.lightbox__img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-strong);
  background: #1b1c1f;
}

.lightbox__caption {
  color: #f2f1ee;
  font-size: 14.5px;
  text-align: center;
  margin: 0;
}

.lightbox__counter {
  display: block;
  margin-top: 4px;
  color: rgba(242, 241, 238, 0.6);
  font-size: 12.5px;
}

.lightbox__btn {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(20, 21, 24, 0.7);
  color: #fff;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.lightbox__btn:hover {
  background: rgba(30, 107, 58, 0.9);
  transform: scale(1.06);
}

.lightbox__btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

.lightbox__btn--close {
  top: 18px;
  right: 18px;
}

.lightbox__btn--prev {
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__btn--next {
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__btn--prev:hover,
.lightbox__btn--next:hover {
  transform: translateY(-50%) scale(1.06);
}

@media (max-width: 640px) {
  .galerie-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
  }

  .lightbox {
    padding: 12px;
  }

  .lightbox__img {
    max-height: 66vh;
  }

  .lightbox__btn {
    width: 40px;
    height: 40px;
  }

  .lightbox__btn--prev {
    left: 8px;
  }

  .lightbox__btn--next {
    right: 8px;
  }
}

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
}

.legal-modal.show {
  display: block;
}

.legal-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 16, 0.62);
}

.legal-modal__dialog {
  position: relative;
  max-width: 760px;
  width: calc(100% - 32px);
  max-height: calc(100vh - 40px);
  margin: 20px auto;
  background: #fff;
  border-radius: 14px;
  overflow: auto;
  padding: 22px 20px 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.legal-modal__dialog h2 {
  margin: 0 0 14px;
  font-size: 24px;
  border: 0;
  padding: 0;
}

.legal-modal__dialog h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.legal-modal__dialog p {
  margin: 0 0 12px;
  color: #2b3138;
  line-height: 1.55;
}

.legal-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #5c636c;
}

@media (max-width: 640px) {
  .legal-modal__dialog {
    width: calc(100% - 18px);
    margin: 9px auto;
    max-height: calc(100vh - 18px);
    padding: 18px 14px 14px;
  }
}

/* ──────────────────────────────────────────────────────
   iPad / Tablet (768px – 1024px)
   ────────────────────────────────────────────────────── */
@media (min-width: 768px) and (max-width: 1024px) {

  .site-header__inner {
    height: 68px;
    padding: 0 16px;
    gap: 10px;
  }

  .site-brand img {
    height: 48px;
  }

  .site-nav {
    gap: 1px;
  }

  .site-nav a {
    font-size: 11px;
    padding: 8px 6px;
    letter-spacing: 0.06em;
  }

  .site-nav a::after {
    left: 6px;
    right: 6px;
  }

  .site-nav__cta {
    font-size: 11px !important;
    padding: 10px 13px !important;
    gap: 5px !important;
    letter-spacing: 0.04em !important;
  }

  .site-nav__cta svg {
    display: none;
  }

  .site-hero {
    min-height: 50vh;
    padding: clamp(22px, 3.5vw, 38px) clamp(22px, 4vw, 48px);
  }

  .site-hero__inner {
    max-width: 60%;
  }

  .site-hero__headline {
    font-size: clamp(28px, 4.8vw, 52px) !important;
  }

  .site-hero__sub {
    font-size: clamp(15px, 1.8vw, 17px);
  }

  .site-usp-item span {
    font-size: 10px;
  }

  .site-usp-item {
    padding: 10px clamp(6px, 1.2vw, 14px);
  }

  .form-grid {
    gap: 12px 16px;
  }

  #map-container {
    height: 380px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 18px 24px;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .site-footer__contact {
    text-align: left;
  }

  .site-footer__links {
    justify-self: start;
  }

  section[id],
  h2[id],
  div[id] {
    scroll-margin-top: 88px;
  }
}

@media (min-width: 900px) and (max-width: 1024px) and (orientation: landscape) {
  .site-nav__burger {
    display: none !important;
  }

  .site-nav {
    display: flex !important;
  }
}

@media (min-width: 768px) and (max-width: 860px) and (orientation: portrait) {
  .site-nav__burger {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #131519;
    border-bottom: 2px solid var(--brand);
    padding: 12px 16px 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    box-shadow: var(--shadow-strong);
  }

  .site-nav--open {
    display: flex;
  }

  .site-nav a {
    font-size: 13px;
    padding: 11px 12px;
    letter-spacing: 0.1em;
  }

  .site-nav__spacer {
    display: none;
  }

  .site-nav__cta {
    margin-top: 10px;
    font-size: 13px !important;
    padding: 12px 16px !important;
  }

  .site-nav__cta svg {
    display: block;
  }
}

@media (max-width: 980px) {
  .site-brand img {
    height: 52px;
  }

  .site-nav a {
    padding: 9px 8px;
    font-size: 12px;
    letter-spacing: 0.05em;
  }

  .site-nav a::after {
    left: 8px;
    right: 8px;
  }

  .preis-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-brand--header img {
    height: 46px;
  }

  .site-nav__burger {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #131519;
    border-bottom: 2px solid var(--brand);
    padding: 12px 16px 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    box-shadow: var(--shadow-strong);
  }

  .site-nav--open {
    display: flex;
  }

  .site-nav a {
    font-size: 13px;
    letter-spacing: 0.1em;
  }

  .site-nav__spacer {
    display: none;
  }

  .site-nav__cta {
    margin-top: 8px;
  }
}

@media (max-width: 760px) {
  .site-hero {
    min-height: 46vh;
    /* Platz, damit unter dem Text ein Streifen Foto sichtbar bleibt */
    padding-bottom: 96px;
  }

  /* Hochformat-Ausschnitt und senkrechter Schleier fuers Handy */
  .site-hero__bg {
    background-image: url("../images/tinyhouse/hero-eingangsseite-mobile-retusche.jpg");
    background-position: center 45%;
  }

  .site-hero__bg::after {
    background:
      linear-gradient(180deg,
        rgba(252, 251, 249, 0.93) 0%,
        rgba(252, 251, 249, 0.88) 46%,
        rgba(252, 251, 249, 0.6) 76%,
        rgba(252, 251, 249, 0.22) 100%);
  }

  .site-hero__note {
    margin-top: 12px;
    font-size: 11px;
    padding: 4px 11px;
  }

  .site-hero__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .site-hero__btn {
    width: 100%;
    padding: 10px 12px;
    font-size: 12px;
  }

  .preis-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .form-submit {
    width: 100%;
  }

  #map-container {
    height: 360px;
  }

  .preis-staffel {
    padding: 18px 16px 16px;
  }

  .preis-staffel__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 0;
  }

  .preis-staffel__step:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .preis-staffel__price {
    font-size: 19px;
  }

  .preis-staffel__nights {
    font-size: 11px;
    letter-spacing: 0.05em;
  }
}

@media (max-width: 640px) {
  main {
    padding: 14px 0 42px;
  }

  .site-hero-wrap {
    max-width: 1180px;
    margin: 0;
    padding: 0;
    border-radius: 0;
  }

  .site-hero {
    min-height: 42vh;
    padding: 20px 16px 18px;
  }

  .site-hero__headline {
    font-size: clamp(22px, 7.6vw, 32px) !important;
    line-height: 1.02;
    letter-spacing: 0;
    margin-bottom: 8px;
    text-shadow:
      0 0 12px rgba(255,255,255,0.95),
      0 0 24px rgba(255,255,255,0.85),
      0 2px 6px rgba(255,255,255,0.90);
  }

  .site-hero__headline-accent {
    display: block;
    line-height: 1.02;
    overflow-wrap: anywhere;
  }

  .site-hero__sub {
    color: #1a1f26;
    font-weight: 600;
    text-shadow:
      0 0 10px rgba(255,255,255,1),
      0 0 20px rgba(255,255,255,0.95),
      0 1px 4px rgba(255,255,255,1);
  }

  .site-hero__logo {
    width: clamp(108px, 32vw, 148px);
    max-height: 98px;
    margin-bottom: 6px;
  }

  .site-usp-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    justify-items: stretch;
  }

  .site-usp-item {
    width: 100%;
    padding: 10px 9px;
    gap: 6px;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .site-usp-item:nth-child(2n) {
    border-right: 0;
  }

  .site-usp-item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .site-usp-item span {
    font-size: 10px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .site-footer__contact {
    text-align: center;
  }

  .cta-kontakt {
    grid-auto-flow: row;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-rows: 42px;
    row-gap: 10px;
    justify-content: center;
    justify-items: stretch;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .kontakt-chip {
    justify-self: stretch;
    width: 100%;
  }

  .site-footer__links {
    justify-self: center;
    align-items: center;
  }
}

/* Section-Titel: dezente Akzentlinie */
.section-title {
  position: relative;
  display: inline-block;
  padding-bottom: 0.45em;
  border-bottom: 0 !important;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2.2rem;
  height: 3px;
  border-radius: 2px;
  background: var(--brand);
  opacity: 0.5;
}

