@import url('fonts.css');
@import url('tokens.css');

/* ---------------------------------------------------------------
   Vista Grafenmatt — Component Styles
   Alles unter .vg-page gescoped und alle Klassen/IDs mit "vg-"
   präfixiert, damit die Datei gefahrlos WordPress-weit (z. B. per
   functions.php oder Snippet-Plugin) eingebunden werden kann, ohne
   das Theme oder andere Plugins/Elementor-Widgets zu stören.
   ------------------------------------------------------------- */

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

.vg-page {
  background: var(--vg-bg);
  color: var(--vg-text);
  font-family: var(--vg-font-display);
  -webkit-font-smoothing: antialiased;
}
.vg-page img { max-width: 100%; display: block; }
/* :where() hält die Spezifität niedrig, damit Klassen wie .vg-btn-primary,
   .vg-nav-cta oder die Lightbox-Knöpfe ihre eigene Farbe durchsetzen können. */
:where(.vg-page) a { color: inherit; text-decoration: none; }
:where(.vg-page) button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
/* Reset mit niedriger Spezifität, damit Klassen wie .vg-lead oder
   .vg-spec-note ihre Abstände behalten. */
:where(.vg-page) :is(h1, h2, h3, p) { margin: 0; }
.vg-page ul { margin: 0; padding: 0; list-style: none; }

/* Anchors inside .vg-page scroll smoothly; scoped to html only when
   a Vista-Grafenmatt anchor is the target, so the rest of the WP
   site keeps its own scroll behavior. */
/* Der Seitenhintergrund gehört auf das Wurzelelement, nicht nur auf
   .vg-page: Ist eine Seite kürzer als das Fenster (z. B. das Impressum
   auf einem hohen Bildschirm), zeigte der Browser darunter sonst weiß.
   :has() begrenzt beide Regeln auf Seiten mit unserem Markup. */
html:has(.vg-page) { scroll-behavior: smooth; background: var(--vg-bg); }

@media (prefers-reduced-motion: reduce) {
  html:has(.vg-page) { scroll-behavior: auto; }
  .vg-page * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------- Skip-Link ----------
   Liegt vor der Kopfzeile und wird erst beim Tabben sichtbar. Ohne ihn
   müssten Tastatur- und Screenreader-Nutzer die Navigation auf jeder
   Seite neu durchlaufen (WCAG 2.4.1). */
.vg-page .vg-skip {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  transform: translateY(-120%);
  padding: 14px 22px;
  background: var(--vg-brass);
  color: var(--vg-on-brass);
  font-weight: 600;
  font-size: 15px;
}
.vg-page .vg-skip:focus { transform: translateY(0); }
@media (prefers-reduced-motion: no-preference) {
  .vg-page .vg-skip { transition: transform 150ms var(--vg-ease-out); }
}

/* ---------- Focus ---------- */
.vg-page a:focus-visible,
.vg-page button:focus-visible,
.vg-page input:focus-visible,
.vg-page textarea:focus-visible {
  outline: 2px solid var(--vg-accent);
  outline-offset: 2px;
}
.vg-section-brass a:focus-visible,
.vg-section-brass button:focus-visible,
.vg-section-brass input:focus-visible,
.vg-section-brass textarea:focus-visible {
  outline-color: var(--vg-night);
}

/* ---------- Hover ---------- */
.vg-nav-link:hover,
.vg-footer-link:hover { text-decoration: underline; }
.vg-btn-primary:hover { background: var(--vg-brass-hover); }
.vg-btn-secondary:hover { border-color: var(--vg-text-muted); text-decoration: underline; }
.vg-gallery-item:hover .vg-placeholder { filter: brightness(1.08); }
.vg-placeholder { transition: filter var(--vg-duration-hover) ease; }

/* ---------- Layout helpers ---------- */
/* Trennlinie explizit per Modifier statt über :first-of-type — in
   Elementor steht jede Sektion in einem eigenen Widget, dort greifen
   Geschwister-Selektoren nicht mehr. */
.vg-section--divided { border-top: 1px solid var(--vg-line); }
.vg-section-base { background: var(--vg-bg); }
.vg-section-deep { background: var(--vg-bg-alt); }
.vg-section-brass { background: var(--vg-brass); color: var(--vg-on-brass); }
.vg-section-inner {
  max-width: var(--vg-content-max-width);
  margin-inline: auto;
  padding: var(--vg-section-padding-y) var(--vg-section-padding-x);
}

/* Sprungmarken-Offset für die Sticky-Nav. In WordPress ggf. anpassen,
   wenn ein Elementor-/Theme-Header mit anderer Höhe verwendet wird:
   .vg-page { --vg-anchor-offset: 120px; } */
.vg-page [id] { scroll-margin-top: var(--vg-anchor-offset, 90px); }

.vg-section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--vg-space-9);
  margin-bottom: var(--vg-space-14);
  flex-wrap: wrap;
}
.vg-section-head h2 {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.vg-section-head .vg-meta {
  font-family: var(--vg-font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--vg-label);
  white-space: nowrap;
}

/* ---------- Header / Nav ---------- */
.vg-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px var(--vg-section-padding-x);
  background: var(--vg-bg);
  border-bottom: 1px solid var(--vg-line);
}
.vg-wordmark {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--vg-text);
}
.vg-nav {
  display: flex;
  gap: 34px;
  align-items: center;
}
.vg-nav-link {
  font-size: 14px;
  color: var(--vg-text-muted);
  letter-spacing: 0.02em;
}
.vg-nav-cta {
  background: var(--vg-brass);
  color: var(--vg-on-brass);
  font-weight: 600;
  font-size: 14px;
  padding: 11px 20px;
}
.vg-nav-cta:hover { background: var(--vg-brass-hover); text-decoration: none; }

.vg-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin: -8px;
}
.vg-nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--vg-text);
}

.vg-nav-overlay {
  display: none;
}

/* ---------- Sticky-CTA (nur unter 1024px) ----------
   Auf dem Desktop sitzt der Buchungs-Button dauerhaft in der Kopfzeile;
   darunter ist die Nav eingeklappt, dort übernimmt diese Leiste. */
.vg-sticky-cta { display: none; }

@media (max-width: 1023px) {
  .vg-sticky-cta {
    display: flex;
    align-items: center;
    gap: var(--vg-space-5);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px));
    background: var(--vg-bg-alt);
    border-top: 1px solid var(--vg-line);
    transform: translateY(100%);
    visibility: hidden;
    transition: transform 250ms var(--vg-ease-out), visibility 250ms;
  }
  .vg-sticky-cta.is-visible {
    transform: translateY(0);
    visibility: visible;
  }
  .vg-sticky-cta .vg-btn-primary {
    flex: 1;
    text-align: center;
    padding: 14px 18px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* ---------- Buttons ---------- */
.vg-btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.vg-btn-primary,
.vg-btn-secondary {
  font-size: 15px;
  padding: 15px 28px;
  transition: background var(--vg-duration-hover) ease;
}
.vg-btn-primary {
  background: var(--vg-brass);
  color: var(--vg-on-brass);
  font-weight: 600;
}
.vg-btn-secondary {
  border: 1px solid var(--vg-line-strong);
  color: var(--vg-text);
}

/* ---------- Hero ---------- */
/* ---------- Titelbild ----------
   Am Desktop füllt das Foto die ganze Breite, der Text liegt links auf
   einem dunklen Verlauf. Auf dem Handy steht das Foto frei oben und der
   Text darunter — dort würde ein Vollbild das Foto fast ganz verdecken.
   Das Bild wechselt mit der Jahreszeit, siehe Skript im Markup. */
.vg-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(84vh, 800px);
  overflow: hidden;
  background: var(--vg-night);
}
.vg-hero-media,
.vg-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.vg-hero-media img { object-fit: cover; object-position: 50% 58%; }
.vg-hero-media img:not([src]) { display: none; }
.vg-hero-media.is-winter img { object-position: 50% 50%; }
.vg-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    /* Stopps in Pixeln, nicht Prozent: Der Text steht in einer festen
       Spalte links. So bleibt er bei jeder Breite ab 1024 px lesbar
       (gemessen >= 4,5:1 an der hellsten Stelle), und auf breiten
       Bildschirmen bleibt mehr vom Foto frei. */
    linear-gradient(90deg, rgba(31, 28, 24, 0.86) 0, rgba(31, 28, 24, 0.76) 540px, rgba(31, 28, 24, 0.4) 780px, rgba(31, 28, 24, 0) 1020px),
    linear-gradient(to top, rgba(31, 28, 24, 0.6) 0%, rgba(31, 28, 24, 0) 45%);
  pointer-events: none;
}
.vg-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 var(--vg-section-padding-x) 64px clamp(20px, 6vw, 96px);
  color: var(--vg-on-night);
}
/* Die kleine Zeile steht im Markup innerhalb der H1 (Suchbegriffe) und
   setzt deshalb alle Schriftwerte selbst, statt sie von der H1 zu erben. */
.vg-hero-eyebrow {
  display: block;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ecd8ad;                 /* helles Messing, auf dem Verlauf 12:1 */
  margin-bottom: 16px;
}
.vg-page .vg-hero h1 {
  font-size: clamp(40px, 5.2vw, 76px);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 700;
  color: var(--vg-on-night);
  margin-bottom: 20px;
}
.vg-hero-title {
  display: block;
  max-width: 11ch;
  text-wrap: balance;
}
.vg-hero-lead {
  font-size: 19px;
  line-height: 1.6;
  color: rgba(247, 244, 238, 0.92);
  max-width: 40ch;
  margin-bottom: 30px;
}
.vg-hero-trust {
  font-size: 14px;
  color: rgba(247, 244, 238, 0.82);
  margin: 18px 0 0;
}
/* Umrandeter Knopf für dunklen Grund */
.vg-btn-ghost {
  display: inline-block;
  padding: 15px 28px;
  font-size: 15px;
  color: var(--vg-on-night);
  border: 1px solid rgba(247, 244, 238, 0.65);
  transition: background var(--vg-duration-hover) ease;
}
.vg-btn-ghost:hover { background: rgba(247, 244, 238, 0.12); text-decoration: none; }
.vg-hero .vg-btn-primary:focus-visible,
.vg-hero .vg-btn-ghost:focus-visible { outline-color: var(--vg-on-night); }

/* ---------- Media ---------- */
.vg-media-fill {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Placeholder media (bis echte Bilder eingesetzt sind) ---------- */
.vg-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  background-image: repeating-linear-gradient(135deg, var(--vg-surface) 0 10px, var(--vg-bg-alt) 10px 20px);
  display: flex;
  align-items: flex-end;
  padding: 22px;
}
.vg-placeholder-label {
  font-family: var(--vg-font-mono);
  font-size: 11px;
  color: var(--vg-label);
  letter-spacing: 0.08em;
}

/* ---------- Facts bar ---------- */
.vg-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--vg-line);
  border-bottom: 1px solid var(--vg-line);
  background: var(--vg-bg-alt);
}
.vg-fact {
  padding: 26px 30px;
  border-right: 1px solid var(--vg-line);
}
.vg-fact:last-child { border-right: 0; }
.vg-fact-label {
  font-family: var(--vg-font-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--vg-label);
  margin-bottom: var(--vg-space-2);
}
.vg-fact-value {
  font-size: 22px;
  font-weight: 600;
}

.vg-lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--vg-text-muted);
  max-width: 62ch;
  text-wrap: pretty;
  margin-bottom: var(--vg-space-14);
}

/* ---------- Räume (Bild/Text im Wechsel) ---------- */
.vg-room {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  border-top: 1px solid var(--vg-line);
}
.vg-room--reverse .vg-room-media { order: 2; }
.vg-room-media { min-height: 380px; }
.vg-room-media--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--vg-line);
}
.vg-room-text {
  padding: var(--vg-space-17) var(--vg-section-padding-x);
  align-self: center;
  max-width: 56ch;
}
.vg-room-tag {
  font-family: var(--vg-font-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--vg-accent);
  margin-bottom: var(--vg-space-6);
}
.vg-room-text h3 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: var(--vg-space-4);
}
/* :not(): In WordPress ist die kleine Zeile darüber ebenfalls ein Absatz. */
.vg-room-text p:not(.vg-room-tag) {
  font-size: 16px;
  line-height: 1.65;
  color: var(--vg-text-muted);
  text-wrap: pretty;
}

/* ---------- Ausstattung ---------- */
.vg-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--vg-space-13) var(--vg-space-12);
}
.vg-spec { border-top: 2px solid var(--vg-brass); padding-top: var(--vg-space-7); }
.vg-spec-label {
  font-family: var(--vg-font-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--vg-accent);
  margin-bottom: var(--vg-space-5);
  text-wrap: balance;   /* kein einzelnes Wort allein in der zweiten Zeile */
}
.vg-spec-list { display: flex; flex-direction: column; gap: 7px; }
.vg-spec-list li {
  font-size: 15px;
  line-height: 1.5;
  color: var(--vg-text-muted);
}
.vg-spec-note {
  margin-top: var(--vg-space-6);
  font-size: 13px;
  line-height: 1.6;
  color: var(--vg-text-dim);
}
.vg-spec-note a { text-decoration: underline; }

/* ---------- Lage: Entfernungen & Anfahrt ---------- */
.vg-lage-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--vg-space-17);
  margin-top: var(--vg-space-15);
}
.vg-dist-table { width: 100%; border-collapse: collapse; }
.vg-dist-table td {
  padding: var(--vg-space-4) 0;
  border-bottom: 1px solid var(--vg-line);
  font-size: 15px;
  color: var(--vg-text);
}
.vg-dist-table td:last-child {
  text-align: right;
  color: var(--vg-text-muted);
  white-space: nowrap;
}

/* Anfahrt: Lagekarte (Inline-SVG) + Routen-Buttons */
.vg-directions {
  margin-top: var(--vg-space-15);
  background: var(--vg-bg);
  border: 1px solid var(--vg-line);
}
.vg-directions-map {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--vg-line);
}
.vg-directions-map svg { display: block; width: 100%; height: auto; }
.vg-directions-credit {
  position: absolute;
  right: 8px;
  bottom: 6px;
  padding: 2px 6px;
  font-family: var(--vg-font-mono);
  font-size: 10px;
  white-space: nowrap;
  color: var(--vg-text-muted);
  background: rgba(247, 244, 238, 0.85);
}
.vg-directions-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--vg-space-7) var(--vg-space-13);
  align-items: center;
  justify-content: space-between;
  padding: var(--vg-space-9) var(--vg-space-10);
}
.vg-directions-address {
  margin: 6px 0 0;
  font-size: 17px;
  color: var(--vg-text);
}

/* ---------- Über uns ---------- */
.vg-about {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--vg-space-17);
  align-items: start;
}
.vg-about .vg-about-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--vg-text-muted);
  margin-top: var(--vg-space-6);
  max-width: 58ch;
}
.vg-about .vg-lead { margin-bottom: 0; }
.vg-about .vg-about-sign { color: var(--vg-text); margin-top: var(--vg-space-9); }
.vg-about-media img { aspect-ratio: 4 / 3; }

/* ---------- FAQ ---------- */
.vg-faq { border-top: 1px solid var(--vg-line); }
.vg-faq-item { border-bottom: 1px solid var(--vg-line); }
.vg-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: var(--vg-space-7) 40px var(--vg-space-7) 0;
  font-size: 17px;
  font-weight: 500;
  color: var(--vg-text);
  position: relative;
}
.vg-faq-item summary::-webkit-details-marker { display: none; }
.vg-faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--vg-accent);
  font-weight: 400;
}
.vg-faq-item[open] summary::after { content: '–'; }
.vg-faq-item summary:hover { color: var(--vg-accent); }
.vg-faq-answer {
  padding: 0 40px var(--vg-space-7) 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--vg-text-muted);
  max-width: 76ch;
}
.vg-faq-answer a { text-decoration: underline; }

/* ---------- Preise: Zusätze ---------- */
.vg-include-head { margin-top: var(--vg-space-15); margin-bottom: var(--vg-space-2); }
/* ---------- Verfügbarkeitskalender + Buchungswidget ---------- */
.vg-booking {
  margin-top: var(--vg-space-13);
}
/* Kalender und Buchungswidget stehen als Paar direkt untereinander. */
.vg-booking + .vg-booking { margin-top: var(--vg-space-4); }

/* Auf dunklen Abschnitten hebt sich der Block mit der helleren Fläche ab. */
.vg-section-deep .vg-booking { background: var(--vg-bg); }

/* Smoobu-Buchungsformular (iFrame): Smoobu setzt per Inline-Style
   max-width: 1000px. Dehnt man den Rahmen darüber hinaus, wächst nur
   das Rechteck — der Innenraum des iFrames bleibt bei 1000 px und
   liegt dann linksbündig darin, das Formular sieht verrutscht aus
   (gemessen: 15 px Luft links, 99 px rechts). Deshalb bleibt es bei
   Smoobus Breite, und der Rahmen wird als Ganzes zentriert.
   display:block verhindert außerdem die Lücke unter dem iFrame. */
.vg-page .vg-booking--widget iframe {
  display: block;
  width: 100%;
  max-width: 1000px;
  margin-inline: auto;
  border: 0;
}

/* ---------- Belegungskalender ----------
   Wird von main.js gezeichnet (initAvailability). Belegte Nächte sind
   gefüllt, An- und Abreisetage nur zur Hälfte: oben links steht für den
   Vormittag, unten rechts für den Nachmittag. Tabellen-Styles sind
   vollständig gesetzt, damit Theme-Regeln für table/td nicht greifen. */
.vg-page .vg-cal {
  --vg-cal-fill: var(--vg-line-strong);
  display: block;
  min-height: 0;
  padding: var(--vg-space-12);
  border: 1px solid var(--vg-line);
  background: var(--vg-bg);
}
.vg-page .vg-cal-status {
  font-family: var(--vg-font-mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--vg-text-muted);
}
.vg-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--vg-space-6);
  margin-bottom: var(--vg-space-9);
}
.vg-page .vg-cal-head .vg-spec-label { margin: 0; }
.vg-cal-nav { display: flex; gap: var(--vg-space-1); }
.vg-page .vg-cal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--vg-line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--vg-text);
  font: 400 17px/1 var(--vg-font-display);
  cursor: pointer;
  transition: border-color var(--vg-duration-hover) var(--vg-ease-out), color var(--vg-duration-hover) var(--vg-ease-out);
}
.vg-page .vg-cal-btn:hover:not(:disabled) { border-color: var(--vg-accent); color: var(--vg-accent); }
.vg-page .vg-cal-btn:focus-visible { outline: 2px solid var(--vg-accent); outline-offset: 2px; }
.vg-page .vg-cal-btn:disabled { opacity: 0.3; cursor: default; }

.vg-cal-months {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--vg-space-13);
}
.vg-page .vg-cal-month {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: separate;
  border-spacing: 3px;
  table-layout: fixed;
  background: none;
}
.vg-page .vg-cal-month caption {
  caption-side: top;
  padding: 0 3px var(--vg-space-4);
  text-align: left;
  font-family: var(--vg-font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vg-text);
}
.vg-page .vg-cal-month th,
.vg-page .vg-cal-month td {
  padding: 0;
  border: 0;
  background: none;
  text-align: center;
  vertical-align: middle;
}
.vg-page .vg-cal-month th {
  padding-bottom: 6px;
  font-family: var(--vg-font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vg-label);
}
.vg-page .vg-cal-month td {
  position: relative;
  height: 38px;
  font-size: 14px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--vg-text);
}
/* Papierfarbe statt gedaempft: auf der Fuellung waeren es sonst nur 3,5:1.
   Belegt bleibt an Fuellung und Durchstreichung erkennbar. */
.vg-page .vg-cal-month td.is-booked { background: var(--vg-cal-fill); color: var(--vg-text); font-weight: 400; }
.vg-page .vg-cal-month td.is-booked .vg-cal-num { text-decoration: line-through; }
.vg-page .vg-cal-month td.is-checkout { background: linear-gradient(to bottom right, var(--vg-cal-fill) 50%, transparent 50%); }
.vg-page .vg-cal-month td.is-checkin { background: linear-gradient(to bottom right, transparent 50%, var(--vg-cal-fill) 50%); }
.vg-page .vg-cal-month td.is-past,
.vg-page .vg-cal-month td.is-unknown { color: var(--vg-label); font-weight: 400; }
.vg-page .vg-cal-month td.is-today { outline: 1px solid var(--vg-accent); outline-offset: -1px; }

.vg-cal-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--vg-space-4) var(--vg-space-9);
  margin-top: var(--vg-space-9);
  padding-top: var(--vg-space-7);
  border-top: 1px solid var(--vg-line);
}
.vg-page .vg-cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--vg-space-3) var(--vg-space-9);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--vg-text-muted);
}
.vg-page .vg-cal-legend li { display: flex; align-items: center; gap: var(--vg-space-3); margin: 0; }
.vg-cal-swatch {
  flex: none;
  width: 16px;
  height: 16px;
  border: 1px solid var(--vg-line-strong);
}
.vg-cal-swatch.is-booked { background: var(--vg-cal-fill); }
.vg-cal-swatch.is-change { background: linear-gradient(to bottom right, var(--vg-cal-fill) 50%, transparent 50%); }
.vg-page .vg-cal-updated {
  font-family: var(--vg-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--vg-label);
}

/* Nur für Screenreader: Zustand jedes Kalendertags und Monatswechsel. */
.vg-page .vg-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1023px) {
  .vg-cal-months { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--vg-space-10); }
}
@media (max-width: 639px) {
  .vg-page .vg-cal { padding: var(--vg-space-7) var(--vg-space-5); }
  .vg-cal-months { grid-template-columns: 1fr; }
  .vg-page .vg-cal-month td { height: 42px; font-size: 15px; }
}

/* ---------- Rechtsseiten ---------- */
.vg-legal { max-width: 78ch; }
.vg-legal h1 { font-size: 36px; font-weight: 600; letter-spacing: -0.025em; margin-bottom: var(--vg-space-9); }
.vg-legal h2 {
  font-size: 19px;
  font-weight: 600;
  margin-top: var(--vg-space-13);
  margin-bottom: var(--vg-space-4);
  padding-top: var(--vg-space-7);
  border-top: 2px solid var(--vg-brass);
}
.vg-legal p, .vg-legal li {
  font-size: 16px;
  line-height: 1.75;
  color: var(--vg-text-muted);
}
.vg-legal p { margin-bottom: var(--vg-space-4); }
.vg-legal ul { display: flex; flex-direction: column; gap: 8px; margin-bottom: var(--vg-space-4); }
.vg-legal li { padding-left: 18px; position: relative; }
.vg-legal li::before { content: '·'; position: absolute; left: 4px; color: var(--vg-accent); }
.vg-legal a { text-decoration: underline; }
/* ---------- Wohnung cards ---------- */
.vg-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--vg-space-9);
}
.vg-card {
  border-top: 2px solid var(--vg-brass);
  padding-top: var(--vg-space-7);
}
.vg-card-title {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: var(--vg-space-3);
}
.vg-card-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--vg-text-muted);
}

/* ---------- Ausflugsziele (Unterseite) ---------- */
.vg-trip-intro h1 {
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: var(--vg-space-9);
}
.vg-trip-intro .vg-lead { margin-bottom: var(--vg-space-12); }
.vg-trip-konus {
  max-width: 62ch;
  padding-left: var(--vg-space-7);
  border-left: 2px solid var(--vg-brass);
}
.vg-trip-konus p { font-size: 15px; line-height: 1.65; color: var(--vg-text-muted); }
.vg-trip-konus p + p { margin-top: var(--vg-space-3); }
.vg-trip-konus strong { color: var(--vg-text); font-weight: 600; }
/* Kategorie-Leiste: klebt unter der Kopfzeile. --vg-header-h setzt
   main.js aus der echten Header-Höhe; bei eigenem Theme-Header ggf. von
   Hand setzen: .vg-page { --vg-header-h: 80px; } */
.vg-trip-bar {
  position: sticky;
  top: var(--vg-header-h, 90px);
  z-index: 15;
  background: var(--vg-bg-alt);
  border-top: 1px solid var(--vg-line);
  border-bottom: 1px solid var(--vg-line);
}
.vg-trip-bar + .vg-section--divided { border-top: 0; }
.vg-trip-bar-inner {
  position: relative;
  display: flex;
  gap: var(--vg-space-1);
  max-width: var(--vg-content-max-width);
  margin-inline: auto;
  padding: 12px var(--vg-section-padding-x);
  overflow-x: auto;
  scrollbar-width: none;
}
.vg-trip-bar-inner::-webkit-scrollbar { display: none; }
.vg-trip-bar a {
  flex: none;
  padding: 9px 14px;
  border: 1px solid var(--vg-line-strong);
  font-family: var(--vg-font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--vg-text-muted);
  transition: border-color var(--vg-duration-hover) ease, color var(--vg-duration-hover) ease, background var(--vg-duration-hover) ease;
}
.vg-trip-bar a:hover { border-color: var(--vg-text-muted); color: var(--vg-text); }
.vg-trip-bar a.is-active {
  color: var(--vg-on-brass);
  background: var(--vg-brass);
  border-color: var(--vg-brass);
}

/* „Nach oben"-Button */
.vg-page .vg-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  font-size: 20px;
  line-height: 1;
  color: var(--vg-text);
  background: var(--vg-surface);
  border: 1px solid var(--vg-line-strong);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 200ms ease, transform 200ms var(--vg-ease-out), visibility 200ms, border-color var(--vg-duration-hover) ease;
}
.vg-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.vg-to-top:hover { border-color: var(--vg-accent); text-decoration: none; }
/* Startseite: unter 1024px übernimmt die Sticky-CTA den unteren Rand. */
@media (max-width: 1023px) {
  .vg-page .vg-to-top--desktop { display: none; }
}
.vg-trip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--vg-space-1);
}
.vg-trip {
  display: flex;
  flex-direction: column;
  padding: 28px 28px 26px;
  background: var(--vg-bg);
}
.vg-section-base .vg-trip { background: var(--vg-bg-alt); }
.vg-trip-meta {
  margin-bottom: var(--vg-space-4);
  font-family: var(--vg-font-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  line-height: 1.5;
  color: var(--vg-accent);
}
.vg-trip-title {
  margin-bottom: var(--vg-space-3);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.vg-trip-text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--vg-text-muted);
}
.vg-trip-text a { text-decoration: underline; text-underline-offset: 3px; }
.vg-trip-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--vg-space-6);
  margin-top: auto;
  padding-top: var(--vg-space-6);
}
.vg-trip-links a {
  font-size: 14px;
  color: var(--vg-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.vg-trip-links a:hover { color: var(--vg-accent); }
.vg-trip-cta h2 { margin-bottom: var(--vg-space-9); }

/* Hinweis-Block in der Lage-Sektion: schließt direkt an die
   Jahreszeiten-Karten an und führt zur Unterseite. */
.vg-trip-teaser {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--vg-space-7) var(--vg-space-13);
  margin-top: var(--vg-space-1);
  padding: 30px 34px;
  background: var(--vg-bg);
  border-left: 2px solid var(--vg-brass);
}
.vg-trip-teaser .vg-spec-label { display: block; }
.vg-trip-teaser-title {
  display: block;
  margin-bottom: 6px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--vg-text);
}
.vg-trip-teaser-sub {
  display: block;
  max-width: 60ch;
  font-size: 15px;
  line-height: 1.6;
  color: var(--vg-text-muted);
}
.vg-trip-teaser:hover .vg-trip-teaser-cta { border-color: var(--vg-text-muted); text-decoration: underline; }

/* ---------- Gallery ---------- */
.vg-gallery {
  background: var(--vg-bg-alt);
  padding: var(--vg-space-1);
}
.vg-gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--vg-space-1);
}
.vg-gallery-grid--row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: var(--vg-space-1);
}
/* Muss die display:grid-Regel oben schlagen, damit das Skript die Reihe
   per hidden-Attribut einklappen kann. */
.vg-gallery-grid[hidden] { display: none; }

.vg-gallery-more {
  display: flex;
  justify-content: center;
  padding: var(--vg-space-9) var(--vg-space-1) var(--vg-space-4);
}
.vg-gallery-more button[hidden] { display: none; }
.vg-gallery-col {
  display: grid;
  gap: var(--vg-space-1);
}
.vg-gallery-item {
  min-height: 166px;
  display: block;
  /* Das Raster bestimmt die Kachelhöhe, nicht das Seitenverhältnis des
     Fotos — sonst sprengt ein Hochformat die Reihe. */
  position: relative;
  overflow: hidden;
}
.vg-gallery-item.is-large { min-height: 340px; }
.vg-gallery-item .vg-placeholder { min-height: inherit; }
.vg-gallery-item .vg-media-fill {
  position: absolute;
  inset: 0;
}

/* ---------- Jahreszeiten ---------- */
.vg-season-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--vg-space-1);
}
.vg-season-card {
  background: var(--vg-bg);
  padding: 34px 34px 30px;
}
.vg-season-title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: var(--vg-space-3);
}
.vg-season-text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--vg-text-muted);
}
/* ---------- Im Preis enthalten ---------- */
.vg-include-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--vg-space-12);
}
.vg-include-item {
  border-top: 1px solid var(--vg-line);
  padding: var(--vg-space-5) 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--vg-text);
}

/* ---------- Preise ---------- */
.vg-price-footnote {
  margin-top: var(--vg-space-9);
  font-size: 14px;
  line-height: 1.7;
  color: var(--vg-text-dim);
}
/* Eckdaten zur Buchung als kurze Liste statt Fließtext mit Mittelpunkten —
   am Handy waren das elf Zeilen am Stück. */
.vg-page .vg-price-facts {   /* .vg-page: sonst setzt „.vg-page ul“ den Abstand auf 0 */
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px var(--vg-space-12);
  margin-top: var(--vg-space-6);
  font-size: 14px;
  line-height: 1.6;
  color: var(--vg-text-muted);
}
.vg-price-facts li { position: relative; padding-left: 16px; }
.vg-price-facts a { text-decoration: underline; }
.vg-price-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 7px;
  height: 1px;
  background: var(--vg-accent);
}

/* ---------- Abschluss: Buchen & Kontakt ---------- */
.vg-closing {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--vg-space-17);
  align-items: center;
}
.vg-closing h2 {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
  max-width: 20ch;
  margin-bottom: var(--vg-space-6);
}
.vg-closing p {
  font-size: 17px;
  line-height: 1.65;
  max-width: 40ch;
  color: var(--vg-on-brass-muted);
  text-wrap: pretty;
}
.vg-page .vg-btn-dark {
  display: block;
  padding: 17px 18px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  color: var(--vg-on-night);
  background: var(--vg-night);
  transition: background var(--vg-duration-hover) ease;
}
.vg-page .vg-btn-dark:hover { background: var(--vg-night-raised); text-decoration: none; }
.vg-closing-contact {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: var(--vg-space-7);
  font-family: var(--vg-font-display);
  font-size: 15px;
  line-height: 1.7;
}
.vg-closing-contact span { color: var(--vg-on-brass-muted); }
.vg-closing-contact a { text-decoration: underline; }
/* ---------- Footer ---------- */
.vg-footer {
  padding: var(--vg-space-14) var(--vg-section-padding-x);
  background: var(--vg-bg-alt);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.vg-footer-wordmark {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
}
.vg-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  font-size: 14px;
  color: var(--vg-text-dim);
}

/* ---------- Reveal animation ---------- */
.vg-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--vg-duration-reveal) var(--vg-ease-out), transform var(--vg-duration-reveal) var(--vg-ease-out);
}
.vg-reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .vg-reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Lightbox ---------- */
.vg-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(31, 28, 24, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: var(--vg-space-16);
}
.vg-lightbox.is-open { display: flex; }
.vg-lightbox-frame {
  position: relative;
  width: min(1000px, 100%);
  aspect-ratio: 16 / 10;
}
.vg-lightbox-frame .vg-placeholder { min-height: 100%; position: relative; }
.vg-lightbox-frame .vg-placeholder-label { position: relative; z-index: 1; color: var(--vg-on-night); }
/* Mit echtem Bild: Streifenmuster aus, Bild vollständig sichtbar (contain). */
.vg-lightbox.has-image .vg-placeholder {
  background-image: none;
  background: var(--vg-night);
}
#vg-lightbox-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.vg-lightbox-close,
.vg-lightbox-prev,
.vg-lightbox-next {
  position: absolute;
  background: var(--vg-night);
  color: var(--vg-on-night);
  border: 1px solid rgba(247, 244, 238, 0.35);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
/* Fokusrahmen hell: Bronze wäre auf dem dunklen Grund zu schwach */
.vg-lightbox :focus-visible { outline-color: var(--vg-on-night); }
.vg-lightbox-close { top: -56px; right: 0; }
.vg-lightbox-prev { left: -56px; top: 50%; transform: translateY(-50%); }
.vg-lightbox-next { right: -56px; top: 50%; transform: translateY(-50%); }
@media (max-width: 1023px) {
  .vg-lightbox-close { top: -52px; right: 0; }
  .vg-lightbox-prev { left: 4px; }
  .vg-lightbox-next { right: 4px; }
}

/* =====================================================
   Responsive: 640–1023px
   ===================================================== */
@media (max-width: 1023px) {
  .vg-page .vg-section-inner { padding-left: 28px; padding-right: 28px; }
  .vg-page .vg-header { padding: 22px 28px; }
  .vg-page {
    --vg-section-padding-y: 56px;
    --vg-section-padding-x: 28px;
  }

  .vg-nav { display: none; }
  /* Rechtsseiten haben nur zwei Links und kein Burger-Menü — ihre Nav
     bleibt deshalb auf allen Breiten sichtbar. */
  .vg-nav--simple { display: flex; gap: 18px; }
  .vg-nav-toggle { display: flex; }
  .vg-nav-overlay.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    top: 73px;
    background: var(--vg-bg);
    /* Über dem Sticky-CTA (30), damit das offene Menü ihn verdeckt. */
    z-index: 40;
    padding: 34px 28px;
    gap: 26px;
  }
  .vg-nav-overlay .vg-nav-link { font-size: 18px; }
  .vg-nav-overlay .vg-nav-cta { align-self: flex-start; }

  /* Tablet und Handy: Foto frei oben, Text darunter auf hellem Grund.
     Das Vollbild braucht Breite — schmaler läuft der Text so weit ins
     Foto, dass der Verlauf ihn nicht mehr sicher lesbar hält. */
  .vg-hero { display: block; min-height: 0; background: var(--vg-bg); }
  .vg-hero::after { display: none; }
  .vg-hero-media { position: relative; height: 52vh; min-height: 280px; max-height: 620px; }
  .vg-hero-media img { object-position: 60% 62%; }
  .vg-hero-media.is-winter img { object-position: 52% 55%; }
  .vg-hero-inner { padding: 44px 28px 48px; color: var(--vg-text); }
  .vg-hero-eyebrow { color: var(--vg-accent); }
  .vg-page .vg-hero h1 { color: var(--vg-text); }
  .vg-hero-title { max-width: 16ch; }
  .vg-hero-lead { color: var(--vg-text-muted); max-width: 52ch; }
  .vg-hero-trust { color: var(--vg-text-dim); }
  .vg-hero .vg-btn-ghost { color: var(--vg-text); border-color: var(--vg-line-strong); }
  .vg-hero .vg-btn-ghost:hover { background: var(--vg-bg-alt); }
  .vg-hero .vg-btn-primary:focus-visible,
  .vg-hero .vg-btn-ghost:focus-visible { outline-color: var(--vg-accent); }

  .vg-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vg-fact:nth-child(2n) { border-right: 0; }
  .vg-fact:nth-child(-n+2) { border-bottom: 1px solid var(--vg-line); }

  .vg-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--vg-space-10) var(--vg-space-9); }
  .vg-trip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .vg-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .vg-gallery-grid > .vg-gallery-item.is-large { grid-column: 1 / -1; }

  .vg-season-grid { grid-template-columns: 1fr; }


  .vg-include-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .vg-closing { grid-template-columns: 1fr; gap: var(--vg-space-12); }

  .vg-spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .vg-room { grid-template-columns: 1fr; }
  .vg-room--reverse .vg-room-media { order: 0; }
  .vg-room-media { min-height: 300px; }
  .vg-room-text { padding: var(--vg-space-13) 28px; max-width: none; }

  .vg-lage-cols { grid-template-columns: 1fr; gap: var(--vg-space-13); }

  .vg-about { grid-template-columns: 1fr; }
  /* Foto in voller Textbreite, dafür flacher — sonst wäre es am Tablet
     über 600 px hoch. Die Markierung von Wohnung 209 liegt mittig und
     bleibt beim Beschnitt sichtbar. */
  .vg-about-media img { aspect-ratio: 16 / 10; }
}

/* =====================================================
   Responsive: <640px
   ===================================================== */
@media (max-width: 639px) {
  .vg-page {
    --vg-section-padding-y: 48px;
    --vg-section-padding-x: 20px;
  }
  .vg-page .vg-section-inner { padding-left: 20px; padding-right: 20px; }
  .vg-page .vg-header { padding: 18px 20px; }

  /* Rechtsseiten-Header: Wortmarke und zwei Links müssen nebeneinander
     in eine Zeile passen. */
  .vg-header:has(.vg-nav--simple) .vg-wordmark { font-size: 14px; white-space: nowrap; }
  .vg-nav--simple { gap: 12px; }
  .vg-nav--simple .vg-nav-link { white-space: nowrap; }
  .vg-nav--simple .vg-nav-cta { padding: 11px 14px; min-height: 0; }

  .vg-hero-inner { padding: 32px 20px 36px; }
  .vg-hero-eyebrow { font-size: 12px; }
  .vg-page .vg-hero h1 { font-size: clamp(38px, 11vw, 52px); }
  .vg-hero-title { max-width: none; }
  .vg-hero-lead { font-size: 17px; }
  .vg-btn-primary, .vg-btn-secondary, .vg-nav-cta { padding: 14px 22px; min-height: 44px; }

  /* Eckdaten bleiben zwei mal zwei wie am Tablet — untereinander füllten
     die vier Werte fast einen ganzen Bildschirm. */
  .vg-fact { padding: 18px 20px; }
  .vg-fact-value { font-size: 18px; line-height: 1.3; }

  .vg-card-grid { grid-template-columns: 1fr; }
  .vg-trip-grid { grid-template-columns: 1fr; }
  .vg-trip { padding: 22px 20px; }
  .vg-trip-teaser { padding: 24px 20px; }
  .vg-trip-bar-inner { padding: 10px 20px; }
  .vg-trip-bar a { padding: 8px 12px; font-size: 11px; }
  .vg-to-top { right: 14px; bottom: 14px; }
  .vg-trip-teaser-title { font-size: 19px; }
  .vg-trip-intro h1 { font-size: clamp(34px, 10vw, 48px); }

  .vg-include-grid { grid-template-columns: 1fr; }
  .vg-page .vg-price-facts { grid-template-columns: 1fr; }

  /* Galerie als kleines Raster: Die Fotos stehen direkt darüber schon groß
     unter „Die Räume“. In voller Breite gestapelt wären es mehrere
     Bildschirmhöhen Wiederholung; groß ansehen lässt sich jedes Bild
     per Tipp in der Lightbox. */
  .vg-gallery-grid--row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vg-gallery-item { min-height: 120px; }
  .vg-gallery-item.is-large { min-height: 200px; }

  .vg-spec-grid { grid-template-columns: 1fr; }
  .vg-room-text h3 { font-size: 22px; }
  .vg-room-media { min-height: 240px; }
  .vg-dist-table td { font-size: 14px; }

  /* Lagekarte: auf dem Handy nicht verkleinern, sondern auf den Bereich
     Feldberg–Bärental zuschneiden und die Beschriftung vergrößern. */
  .vg-directions-map svg { width: 170%; margin-left: -24%; }
  .vg-directions-map .vg-map-place { font-size: 24px; }
  .vg-directions-map .vg-map-lake { font-size: 20px; }
  .vg-directions-map .vg-map-home { font-size: 19px; }
  .vg-directions-map .vg-map-home-sub,
  .vg-directions-map .vg-map-edge,
  .vg-directions-map .vg-map-legend { display: none; }
  .vg-directions-bar { padding: var(--vg-space-7); }
  .vg-directions-address { font-size: 16px; }

  .vg-faq-item summary { font-size: 16px; }

  .vg-section-head h2, .vg-page h2 { font-size: 28px; }
  .vg-section-head .vg-meta { white-space: normal; }
  /* Lange Einzelwörter („Datenschutzerklärung") passen sonst nicht in
     die Zeile — kleiner setzen und bei Bedarf trennen. */
  .vg-legal h1 { font-size: clamp(26px, 8vw, 36px); hyphens: auto; overflow-wrap: break-word; }
  .vg-closing h2 { font-size: 30px; }


  .vg-footer { padding: 34px 20px; }
}

/* Sehr schmale Geräte (z. B. iPhone SE 1. Gen., 320 px): Kopfzeile der
   Rechtsseiten enger setzen, damit Wortmarke und beide Links passen. */
@media (max-width: 379px) {
  .vg-page .vg-header:has(.vg-nav--simple) { padding-left: 16px; padding-right: 16px; }
  .vg-header:has(.vg-nav--simple) .vg-wordmark { font-size: 13px; }
  .vg-nav--simple { gap: 10px; }
  .vg-nav--simple .vg-nav-cta { padding: 10px 12px; }
}
