/* ===================================================================
   palais f. — Joomla 6 Template
   Eigenständiges, DSGVO-konformes Stylesheet (keine externen Quellen).
   Schrift: Hanken Grotesk, lokal selbst gehostet (Variable Font 300–700).

   Gliederung
   1  Schrift
   2  Design-Tokens
   3  Basis
   4  Layout
   5  Typografie
   6  Bausteine (Buttons, Bild, Kopfleiste, Fuß, Kopfbereich, Karten …)
   7  Seitenabschnitte (Start, Location, Tagungen, Catering, Preise,
      Kontakt, Anfrage, Zukunftsbahnhof, Rechtstexte, Magazin-Beitrag)
   8  Joomla-Ausgaben (Meldungen, Seitenblättern, Fehlerseite)
   9  Effekte (Hervorhebung, Geisterwort, Hover, Laufband, Lightbox)
   10 Responsive
   11 Bewegung reduzieren, Druck

   Klassenreferenz für die Seiten-Partials: Template/palaisf/CSS-KLASSEN.md
   Regeln mit „body.site“ gelten auf jeder Seite (index.php, error.php und
   offline.php setzen die Klasse). Sie stehen jeweils direkt beim Baustein.
   =================================================================== */

/* ===================================================================
   1  Schrift (selbst gehostet, kein Google Fonts)
   Pfad relativ zu media/templates/site/palaisf/css/
   =================================================================== */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/hanken-grotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/hanken-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===================================================================
   2  Design-Tokens
   =================================================================== */
:root {
  color-scheme: light;
  --paper: #FFFFFF;
  --paper-2: #F4F4F2;
  --ink: #211D18;
  --ink-soft: #3A352D;
  --muted: #7C7468;
  --copy: #4A453F;            /* Fließtext auf hellem Grund */
  --line: rgba(33, 29, 24, 0.12);
  --accent: #FFFF00;
  --accent-deep: #E6E600;
  --bf-bg: #000000;           /* dunkle Abschnitte */
  --bf-ink: #F7F3EC;
  --bf-muted: #C7BAA4;
  --bf-line: rgba(247, 243, 236, 0.16);
  --header-bg: #F2F2F0;
  --maxw: 1280px;
  --pad-x: 40px;
  --font: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
/* Grautexte dunkler als der Grundwert, damit der Kontrast reicht */
body.site { --muted: #57524B; }

/* ===================================================================
   3  Basis
   =================================================================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--ink); }
[hidden]:not([hidden="until-found" i]) { display: none !important; }

/* Nur für Screenreader (Joomla gibt die Klasse selbst aus) */
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
/* Honeypot-Feld in Formularen: für Menschen unsichtbar, für Bots ausfüllbar */
.pf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Sprunglink „Zum Inhalt springen“: erstes Element der Seite, sichtbar erst mit Tastaturfokus */
.pf-skip { position: absolute; left: 12px; top: 12px; z-index: 400; padding: 15px 22px; background: var(--ink); color: var(--paper); font-weight: 600; font-size: 16px; line-height: 1; text-decoration: none; transform: translateY(-200%); }
.pf-skip:focus { transform: none; outline: 2px solid var(--ink); outline-offset: 0; box-shadow: 0 0 0 5px var(--accent); }
/* Ziel des Sprunglinks: bekommt den Fokus, zeigt aber keinen Rahmen um die ganze Seite */
main:focus { outline: none; }

/* ===================================================================
   4  Layout
   =================================================================== */
.pf-container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-x); }
.pf-section { padding: 104px 0; }
.pf-section--tight { padding: 78px 0 96px; }
.pf-section--alt { background: var(--paper-2); }
.pf-section--dark { background: var(--bf-bg); color: var(--bf-ink); }
.pf-section--rule { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pf-section--flush-bottom { padding-bottom: 40px; }

.pf-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.pf-grid-2--top { align-items: start; }
.pf-grid-2--wide { gap: 64px; }
.pf-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pf-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }

/* Abschnittskopf: Kennzeile + Überschrift links, kurzer Text (oder Pfeile, Bewertung) rechts */
.vx-head2 { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px 48px; align-items: end; margin-bottom: 40px; }
.vx-head2 .pf-h2 { margin: 0; }

/* Text neben Bild */
.pf-textmedia__text > .pf-h2 { margin-bottom: 24px; }
.pf-textmedia__text > .pf-text { margin: 0 0 32px; }
.pf-textmedia__text > .pf-text:last-child { margin-bottom: 0; }
/* Ohne Bild: volle Breite, Lesbarkeitsgrenze nur für den Fließtext */
.pf-textmedia__text--solo { max-width: none; }
.pf-textmedia__text--solo > .pf-text { max-width: 760px; }

.vx-actions { margin-top: 30px; }

/* ===================================================================
   5  Typografie
   =================================================================== */
.pf-eyebrow {
  font-weight: 600; font-size: 13px; line-height: 1;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink); margin: 0 0 26px;
}
.pf-section--dark .pf-eyebrow { color: var(--accent); }
.vx-dot { display: flex; align-items: center; gap: 10px; }
.vx-dot--center { justify-content: center; }
.pf-h1 { font-weight: 500; font-size: clamp(46px, 7vw, 108px); line-height: 0.94; letter-spacing: -0.035em; margin: 0; text-wrap: balance; }
.pf-h1--md { font-size: clamp(40px, 5vw, 76px); }
.pf-h2 { font-weight: 500; font-size: clamp(32px, 4vw, 56px); line-height: 1.04; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
.pf-h2--xl { font-size: clamp(40px, 5.6vw, 84px); line-height: 0.98; letter-spacing: -0.03em; }
.pf-h2--tight { margin-bottom: 18px; }
.pf-h3 { font-weight: 600; font-size: 21px; line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 12px; }
.pf-text { font-weight: 400; font-size: 18px; line-height: 1.65; color: var(--muted); }
.pf-text--ink { color: var(--ink-soft); }
.pf-text--flush { margin: 0; }
.pf-text--sm { font-size: 16px; line-height: 1.6; }
.pf-section--dark .pf-text { color: var(--bf-muted); }
/* Fließtext einheitlich dunkel, egal welche Variante */
body.site .pf-text, body.site .vx-row__p, body.site .vx-pz__s, body.site .vx-fcard__b p, body.site .vx-faq details p, body.site .vx-room__b p, body.site .pf-vstep__text { color: var(--copy); }
body.site .pf-section--dark .pf-text { color: rgba(247, 243, 236, .82); }
.vx-note { color: var(--muted); margin-top: 22px; }
.vx-hashtag { color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.pf-accent-bar { display: block; width: 26px; height: 3px; background: var(--accent); margin-bottom: 22px; }
body.site .pf-accent-bar { background: var(--ink) !important; }
.pf-link { display: inline-block; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--ink); border-bottom: 2px solid var(--accent); padding-bottom: 2px; transition: border-color .2s; }
.pf-link:hover { border-color: var(--ink); }
/* Abstand nach oben, z. B. Kennzeile unter einem Bild (muss nach .pf-eyebrow stehen) */
.vx-mt { margin-top: 18px; }

/* Suchbegriff-Zeile in der H1: steht technisch in der Überschrift, sieht aus wie die Kennzeile */
.seo-eye { display: flex; }
.pf-h1 .seo-eye { font-size: 13px; line-height: 1; letter-spacing: .18em; font-weight: 600; text-transform: uppercase; }

/* ===================================================================
   6  Bausteine
   =================================================================== */

/* ---------- Buttons ---------- */
.pf-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 16px; line-height: 1;
  padding: 17px 30px; border-radius: 0; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background .22s ease, transform .22s ease, box-shadow .22s ease, border-color .22s ease, color .22s ease;
}
.pf-btn .pf-arrow { line-height: 0; }
.pf-btn--primary { background: var(--accent); color: var(--ink); box-shadow: 0 8px 24px -10px rgba(245,179,1,.65); }
.pf-btn--primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(245,179,1,.75); }
.pf-btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.pf-btn--outline:hover { background: var(--bf-bg); color: var(--paper); }
.pf-btn--outline-soft { background: transparent; color: var(--ink); border-color: var(--line); }
.pf-btn--outline-soft:hover { border-color: var(--ink); background: rgba(0,0,0,.04); }
.pf-section--dark .pf-btn--outline { color: var(--bf-ink); border-color: var(--bf-line); }
.pf-section--dark .pf-btn--outline:hover { background: var(--bf-ink); color: var(--ink); }
.pf-section--dark .pf-btn--outline-soft { color: var(--bf-ink); border-color: var(--bf-line); }
.pf-section--dark .pf-btn--outline-soft:hover { border-color: var(--bf-ink); background: rgba(247, 243, 236, .06); }
/* Gesperrt, solange ein Formular sendet */
.pf-btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
/* Tastaturfokus für Knöpfe und Formularfelder: dunkle Kontur, außen ein gelber Ring.
   Auf hellem Grund trägt die Kontur (16,7:1 auf Weiß), auf dunklem der Ring (19,6:1 auf Schwarz). */
.pf-btn:focus-visible, .pf-input:focus-visible, .pf-radio input:focus-visible, .pf-header__cta:focus-visible, .seo-chips a:focus-visible { outline: 2px solid var(--ink); outline-offset: 0; box-shadow: 0 0 0 5px var(--accent); }

/* ---------- Bild-Slot mit festem Seitenverhältnis ---------- */
.pf-media { position: relative; width: 100%; overflow: hidden; background: var(--paper-2); }
.pf-media img,
.pf-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-ar-hero { aspect-ratio: 16 / 7; }
.pf-ar-portrait { aspect-ratio: 4 / 5; }
.pf-ar-card { aspect-ratio: 3 / 2; }
.pf-ar-square { aspect-ratio: 1 / 1; }
.pf-ar-wide { aspect-ratio: 16 / 11; }
/* Bildausschnitt nach oben schieben (Köpfe bleiben im Bild) */
.pf-obj-top { object-position: center 12%; }
/* Bildnachweis / Hinweis im Bild, z. B. „Visualisierung“ */
.vx-credit { position: absolute; right: 10px; bottom: 10px; z-index: 1; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; padding: 3px 8px; }

/* ---------- Formularfelder ---------- */
.pf-input { flex: 1; min-width: 220px; font-size: 16px; line-height: 1; color: var(--ink); background: #fff; border: 1.5px solid var(--line); padding: 16px 24px; transition: border-color .2s ease; }
.pf-input:focus { border-color: var(--ink); }
textarea.pf-input { min-height: 120px; resize: vertical; line-height: 1.5; }
select.pf-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23211D18' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px; }
.pf-form { background: var(--paper-2); padding: 44px; border: 1px solid var(--line); }
.pf-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.pf-field { display: flex; flex-direction: column; gap: 9px; }
.pf-field--full { grid-column: 1 / -1; }
.pf-field__label { font-weight: 600; font-size: 14px; color: var(--ink); }
.pf-field__label .opt { font-weight: 400; color: var(--muted); }
.pf-radios { display: flex; flex-wrap: wrap; gap: 10px 22px; padding-top: 4px; }
.pf-radio { display: inline-flex; align-items: center; gap: 9px; font-size: 16px; color: var(--ink-soft); cursor: pointer; }
.pf-radio input { accent-color: var(--ink); width: 16px; height: 16px; }
.pf-form__foot { display: flex; align-items: center; gap: 26px; margin-top: 30px; flex-wrap: wrap; }
.pf-form__note { font-size: 14px; line-height: 1.5; color: var(--muted); max-width: 300px; }

/* ---------- Kopfleiste / Navigation ----------
   Header-Maße als Variablen: beim Ankommen groß, nach dem Scrollen kompakt.
   .is-scrolled und .is-open setzt das JS (media/js/template.js). */
.pf-header { --header-h: 116px; --logo-h: 76px; position: sticky; top: 0; z-index: 60; background: var(--header-bg); border-bottom: 1px solid var(--line); transition: box-shadow .28s ease; }
.pf-header.is-scrolled { --header-h: 72px; --logo-h: 44px; box-shadow: 0 6px 18px -14px rgba(26,26,26,.5); }
.pf-header__inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-x); height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 40px; transition: height .28s ease; }
.pf-logo { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.pf-logo img { height: var(--logo-h); width: auto; aspect-ratio: 4646.8 / 2411.9; transition: height .28s ease; }
.pf-header__right { display: flex; align-items: center; gap: 36px; }
.pf-nav { display: flex; align-items: center; gap: 30px; }
/* mod_menu gibt ul.mod-menu > li.nav-item aus – flach als Flex-Reihe darstellen */
.pf-nav ul { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.pf-nav li { position: relative; }
.pf-nav a { font-weight: 500; font-size: 15.5px; line-height: 1; color: var(--ink-soft); text-decoration: none; letter-spacing: 0.005em; transition: color .2s ease; position: relative; padding-bottom: 4px; }
.pf-nav a:hover { color: var(--ink); }
/* Gelber Strich: beim Überfahren von links aufziehen, beim aktiven Punkt dauerhaft */
.pf-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left center; transition: transform .22s ease; }
.pf-nav a:hover::after,
.pf-nav a:focus-visible::after { transform: scaleX(1); }
.pf-nav .current > a,
.pf-nav .active > a,
.pf-nav a.active { color: var(--ink); font-weight: 600; }
.pf-nav .current > a::after,
.pf-nav .active > a::after,
.pf-nav a.active::after { transform: scaleX(1); }
.pf-nav .nav-item a { white-space: nowrap; }
.pf-nav .nav-item.active a { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 6px; }
/* Telefon in der Kopfleiste – ruhig gesetzt, kein zweiter Button neben dem CTA */
.pf-header__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15.5px; line-height: 1; color: var(--ink-soft); text-decoration: none; white-space: nowrap; transition: color .2s ease; }
.pf-header__phone:hover { color: var(--ink); }
/* Hörer-Symbol: nur dort sichtbar, wo die Nummer ausgeblendet ist */
.pf-header__phone-ico { display: none; flex-shrink: 0; }
/* Telefonzeile und „Anfragen“ als Menüpunkte nur im offenen Mobilmenü */
.pf-nav-phone { display: none; }
.pf-nav-cta { display: none; }

.pf-header__cta { display: inline-flex; align-items: center; gap: 9px; background: var(--accent); color: var(--ink); font-weight: 600; font-size: 15px; line-height: 1; padding: 13px 24px; text-decoration: none; box-shadow: 0 6px 20px -8px rgba(245,179,1,.6); transition: background .22s ease, transform .22s ease, box-shadow .22s ease; }
.pf-header__cta:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 12px 26px -8px rgba(245,179,1,.7); }
.pf-burger { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; width: 48px; height: 48px; align-items: center; justify-content: center; flex-direction: column; }
.pf-burger span { display: block; width: 30px; height: 3px; border-radius: 2px; background: var(--ink); margin: 3px 0; transition: transform .25s ease, opacity .2s ease; }
/* Burger -> X, wenn Menü offen */
.pf-header.is-open .pf-burger span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.pf-header.is-open .pf-burger span:nth-child(2) { opacity: 0; }
.pf-header.is-open .pf-burger span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------- Fuß ---------- */
.pf-footer { background: var(--bf-bg); color: var(--paper); padding: 80px 0 40px; }
.pf-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(247,243,236,.14); }
.pf-footer__logo { height: 62px; width: auto; aspect-ratio: 4646.8 / 2411.9; filter: invert(1); margin-bottom: 22px; }
.pf-footer__claim { font-size: 16px; line-height: 1.6; color: rgba(247,243,236,.6); margin: 0; max-width: 300px; }
.pf-footer__head { font-weight: 600; font-size: 12.5px; line-height: 1; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(247,243,236,.5); margin-bottom: 20px; }
.pf-footer__col { display: flex; flex-direction: column; gap: 12px; }
.pf-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.pf-footer__col a, .pf-footer__col span { font-size: 16px; line-height: 1.5; color: rgba(247,243,236,.82); text-decoration: none; transition: color .2s; }
.pf-footer__col a:hover { color: var(--accent); }
.pf-footer__col .pf-footer__cta { font-weight: 600; color: var(--accent); margin-top: 6px; display: inline-flex; gap: 8px; align-items: center; }
.pf-footer__bar { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; gap: 20px; flex-wrap: wrap; }
.pf-footer__copy { font-size: 14px; color: rgba(247,243,236,.5); }
.pf-footer__legal { display: flex; gap: 24px; }
.pf-footer__legal a { font-size: 14px; color: rgba(247,243,236,.55); text-decoration: none; }
.pf-footer__legal a:hover { color: var(--paper); }

/* Newsletter im Fuß (form.pf-news, Versand per JS) */
.pf-news { display: flex; flex-direction: column; gap: 10px; max-width: 320px; }
.pf-news .pf-input { flex: none; min-width: 0; width: 100%; box-sizing: border-box; padding: 13px 16px; border-color: transparent; }
.pf-news .pf-btn { justify-content: center; margin-top: 4px; }
.pf-news__text, .pf-news__ok { margin: 0 0 4px; font-size: 16px; line-height: 1.5; color: rgba(247,243,236,.82); }
.pf-news__note { margin: 2px 0 0; font-size: 13px; line-height: 1.5; color: rgba(247,243,236,.5); }
.pf-news__note a { color: inherit; text-decoration: underline; }
.pf-news__error { margin: 0; font-size: 14px; line-height: 1.5; color: #FFB4A9; }

/* ---------- Feste Handy-Leiste „Anrufen / Anfragen“ (sichtbar bis 760 px, siehe Responsive) ---------- */
.seo-mbar { display: none; }
.pf-header.is-open ~ .seo-mbar,
body.pf-menu-open .seo-mbar { display: none !important; }

/* ---------- Kopfbereich einer Seite ---------- */
.pf-hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: start; }
.pf-hero-grid__aside { padding-top: 6px; }
.pf-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.pf-hero-lead { font-weight: 400; font-size: 20px; line-height: 1.55; color: var(--ink-soft); margin: 0; }
.pf-section--dark .pf-hero-lead { color: var(--bf-muted); }
.pf-hero__media { margin-top: 52px; }
.pf-section--dark .pf-hero__media { background: rgba(247, 243, 236, .05); }
/* Hinweiszeile unter den Knöpfen */
.pf-note { display: inline-flex; align-items: flex-start; gap: 11px; margin-top: 22px; font-size: 14px; line-height: 1.4; color: var(--muted); text-decoration: none; max-width: 100%; }
.pf-section--dark .pf-note { color: var(--bf-muted); }
/* Dunkler Kopfbereich (Zukunftsbahnhof) */
.pf-hero-dark { position: relative; overflow: hidden; }
.pf-hero-dark .pf-container { position: relative; z-index: 1; }

/* Kennzahlen-Reihe im Kopfbereich */
.pf-stats { display: flex; flex-wrap: wrap; gap: 28px; }
.pf-stat { border-left: 1px solid var(--line); padding-left: 16px; }
.pf-section--dark .pf-stat { border-color: var(--bf-line); }
.pf-stat__num { font-weight: 500; font-size: 22px; line-height: 1; margin-bottom: 6px; }
.pf-stat__label { font-size: 13.5px; line-height: 1; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }
.pf-section--dark .pf-stat__label { color: var(--bf-muted); }
.pf-hero .pf-stats--hero { margin-top: 44px; }
.pf-stats--hero { border-top: 1px solid var(--line); padding-top: 30px; gap: 0; }
.pf-stats--hero .pf-stat { border-left: 1px solid var(--line); padding: 0 34px; }
.pf-section--dark .pf-stats--hero { border-color: var(--bf-line); }
.pf-section--dark .pf-stats--hero .pf-stat { border-color: var(--bf-line); }
.pf-stats--hero .pf-stat:first-child { border-left: 0; padding-left: 0; }
.pf-stats--hero .pf-stat__num { font-size: clamp(26px, 3vw, 34px); margin-bottom: 8px; }

/* ---------- Abschlussband (dunkel) und Querverweis-Band (hell) ---------- */
.pf-cta-band { display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.pf-cta-band__text { max-width: 620px; }
.vx-cta-alt { opacity: .85; margin-top: 12px; }
.vx-cta-alt a { color: var(--accent); }
.pf-band { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.pf-band__text { max-width: 660px; }

/* ---------- Karten ---------- */
/* Merkmal: Balken + Titel + Text, wahlweise als weiße Karte */
.pf-feature { border-top: 1px solid var(--line); padding-top: 24px; }
.pf-feature h3 { font-weight: 600; font-size: 21px; line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 12px; }
.pf-feature p { font-size: 16px; line-height: 1.6; color: var(--muted); margin: 0; }
.pf-feature--card { padding: 24px; background: #fff; border: 1px solid var(--line); }

/* Bild-Teaser als Link (Magazin-Übersicht) */
.vx-anlass { display: block; color: inherit; text-decoration: none; }
.vx-anlass .pf-h3 { margin-top: 18px; }
.vx-anlass img { transition: transform .5s ease; }
.vx-anlass:hover img { transform: scale(1.03); }
.vx-anlass:hover .pf-h3 { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 4px; text-underline-offset: 4px; }

/* Prinzip-Karte: Bild, Titel, Unterzeile, Haken-Liste, Link */
.vx-pz { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.vx-pz__b { padding: 26px 26px 24px; display: flex; flex-direction: column; flex: 1; }
.vx-pz__h { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 26px; font-weight: 600; }
.vx-pz__s { font-size: 15px; color: var(--muted); margin: 0 0 18px; line-height: 1.5; }
.vx-pz ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; flex: 1; align-content: start; }
.vx-pz li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.45; }
.vx-pz li::before { content: "✓"; position: absolute; left: 0; top: 0; font-weight: 700; color: var(--ink); background: var(--accent); width: 18px; height: 18px; border-radius: 50%; font-size: 11px; display: grid; place-items: center; }
.vx-pz__a { font-size: 14px; font-weight: 600; color: var(--ink); border-top: 1px solid var(--line); padding-top: 14px; text-decoration: none; }
.vx-pz__a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 4px; }

/* Raumkarte */
.vx-room { display: flex; flex-direction: column; border: 1px solid var(--line); background: #fff; }
.vx-room .pf-media { aspect-ratio: 4 / 3; }
.vx-room__b { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.vx-room__b .pf-h3 { margin: 0 0 6px; }
.vx-room__b p { margin: 0 0 14px; font-size: 15px; color: var(--muted); }
.vx-room__p { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; border-top: 1px solid var(--line); display: block; padding-top: 12px; margin-top: auto; }
/* Kleine Kennzeichen in der Raumkarte (Personen, Fläche, Rundgang) */
.seo-roomfacts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 14px !important; color: var(--ink) !important; margin: -6px 0 14px !important; }
.seo-roomfacts a { color: var(--ink); font-weight: 600; }
.seo-chip { display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: .02em; padding: 4px 8px; background: var(--paper-2); border: 1px solid var(--line); color: var(--ink); }

/* Format-Karte (Bild quadratisch + Titel + Text) */
.vx-fcard { background: #fff; border: 1px solid var(--line); }
.vx-fcard__b { padding: 20px 22px 22px; }
.vx-fcard__b .pf-h3 { margin: 0 0 8px; }
.vx-fcard__b p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }

/* Angebots-Karte (Catering) */
.vx-offer { background: #fff; border: 1px solid var(--line); }
.vx-offer .pf-media { aspect-ratio: 4 / 5; }
.vx-offer__b { padding: 18px 20px 22px; }
.pf-bestseller__price { font-size: 14px; color: var(--muted); margin: 18px 0 6px; }
.seo-catin { font-size: 14px !important; margin: 10px 0 0 !important; color: var(--ink-soft) !important; }

/* ---------- Stimmen ---------- */
.vx-quote-card { position: relative; background: #fff; border: 1px solid var(--line); padding: 64px 28px 24px; display: flex; flex-direction: column; transition: transform .35s ease, box-shadow .35s ease, border-color .35s; }
.vx-quote-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(33,29,24,.12); border-color: var(--ink); }
.vx-qmark { position: absolute; top: -28px; left: 22px; font-size: 84px; line-height: 1; font-weight: 700; color: var(--accent); text-shadow: 0 1px 0 rgba(0,0,0,.08); }
body.site .vx-qmark { color: var(--ink); opacity: .18; text-shadow: none; }
.vx-quote-card__q { margin: 12px 0 22px; font-size: 16px; line-height: 1.6; flex: 1; }
.vx-quote-card__who { display: flex; gap: 14px; align-items: center; border-top: 1px solid var(--line); padding-top: 16px; }
.vx-quote-card__who img { width: 56px; height: 56px; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s; mix-blend-mode: multiply; }
.vx-quote-card:hover .vx-quote-card__who img { filter: none; opacity: 1; }
.vx-quote-card__n { margin: 0; font-weight: 600; font-size: 15px; }
.vx-quote-card__r { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
/* Google-Bewertung rechts im Abschnittskopf */
.seo-gtop { display: flex; align-items: center; gap: 12px; justify-content: flex-end; font-size: 15px; color: var(--ink); }
.seo-gtop a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.seo-gtop a:hover { text-decoration-color: var(--ink); }
.seo-stars { color: #f5a700; letter-spacing: 2px; }
.seo-gtop .seo-stars { font-size: 20px; }
/* Einzelnes großes Zitat */
.vx-quote { margin: 0 auto; max-width: 900px; font: 500 clamp(24px, 3vw, 36px)/1.3 var(--font); text-align: center; }
.vx-quote cite { display: block; margin-top: 18px; font-size: 15px; font-style: normal; color: var(--muted); letter-spacing: .06em; }

/* ---------- FAQ (details/summary) ---------- */
.vx-faq details { border-top: 1px solid var(--line); }
.vx-faq details:last-child { border-bottom: 1px solid var(--line); }
.vx-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 20px 0; font-weight: 600; font-size: 18px; }
.vx-faq summary::-webkit-details-marker { display: none; }
/* Plus im gelben Kreis, geöffnet gedreht und invertiert */
.vx-faq summary::after { content: ""; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(var(--ink), var(--ink)) center/14px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center/2px 14px no-repeat, var(--accent); transition: transform .35s ease, background .35s ease; }
.vx-faq summary:hover::after { transform: scale(1.12); }
.vx-faq details[open] summary::after { transform: rotate(45deg); background: linear-gradient(var(--accent), var(--accent)) center/14px 2px no-repeat, linear-gradient(var(--accent), var(--accent)) center/2px 14px no-repeat, var(--ink); }
.vx-faq details p { margin: 0 0 20px; color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 680px; }
.vx-faq details p a { color: var(--ink); }
/* Einleitung oben, Fragen in zwei Spalten */
.vx-faqwrap > div:first-child { max-width: 760px; margin-bottom: 32px; }
.vx-faqwrap > div:first-child .pf-btn { margin-top: 4px; }
.vx-faqwrap .vx-faq { columns: 2; column-gap: 56px; border-top: 1px solid var(--line); }
.vx-faqwrap .vx-faq details { break-inside: avoid; border-top: 0; border-bottom: 1px solid var(--line); }

/* ---------- Listen ---------- */
/* Merkmal-Liste: gelbe Quadrate, zwei Spalten, spaltenweise gefüllt */
.pf-speclist { column-count: 2; column-gap: 56px; }
.pf-speclist__item { display: flex; align-items: center; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); font-size: 17px; color: var(--ink-soft); break-inside: avoid; }
.pf-speclist__item::before { content: ""; width: 11px; height: 11px; background: var(--accent); flex-shrink: 0; }
/* Fakten: kleines Label über dem Wert */
.vx-facts { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.vx-facts li { font-size: 16px; line-height: 1.5; }
.vx-facts b { display: block; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.vx-facts a { color: inherit; }
/* Nummerierte Schritte, untereinander */
.pf-vsteps { border-top: 1px solid var(--line); }
.pf-vstep { display: flex; gap: 20px; align-items: flex-start; padding: 22px 0; }
.pf-vstep__num { font-weight: 500; font-size: 22px; line-height: 1; color: var(--ink); min-width: 34px; }
.pf-vstep__title { font-weight: 600; font-size: 17px; margin: 0 0 6px; color: var(--ink); }
.pf-vstep__text { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--muted); }
/* Begriffe als Rahmen-Kästchen */
.vx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.vx-chips span { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--ink); padding: 7px 12px; transition: background .2s; }
.vx-chips span:hover { background: var(--accent); }
.vx-formatcloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.vx-formatcloud span { font-size: 14px; font-weight: 600; padding: 9px 14px; border: 1px solid var(--line); background: #fff; transition: border-color .2s, background .2s; }
.vx-formatcloud span:hover { border-color: var(--ink); background: var(--accent); }
body.site .vx-formatcloud span:hover, body.site .vx-chips span:hover { background: var(--paper-2); }
.vx-formatcloud__label { width: 100%; font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; }
/* Format-Begriffe als Links im gleichen Stil */
.vx-formatcloud a { font-size: 14px; font-weight: 600; padding: 9px 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; transition: border-color .2s; }
.vx-formatcloud a:hover { border-color: var(--ink); }

/* ---------- Tabelle (Räume im Überblick; auf dem Handy als Karten, siehe Responsive) ---------- */
.seo-table-wrap { overflow-x: auto; border-top: 1px solid var(--ink); -webkit-overflow-scrolling: touch; }
.seo-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 820px; }
.seo-table th { text-align: left; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 14px 12px; border-bottom: 1px solid var(--line); }
.seo-table td { padding: 16px 12px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.45; }
.seo-table td:first-child { font-weight: 600; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.seo-table tbody tr:nth-child(odd) td { background: var(--paper-2); }
.seo-table a { color: var(--ink); font-weight: 600; }

/* ---------- Bild-Slider „Einblicke“ (Pfeile, Tastatur und Wischen über das JS bzw. Scroll-Snap) ---------- */
.vx-slnav { display: flex; gap: 8px; justify-content: flex-end; }
.vx-slbtn { width: 46px; height: 46px; border: 1px solid var(--ink); background: #fff; font-size: 18px; cursor: pointer; transition: background .2s; }
.vx-slbtn:hover { background: var(--accent); }
.vx-slider { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 32%); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.vx-slider::-webkit-scrollbar { display: none; }
.vx-slide { aspect-ratio: 4 / 5; scroll-snap-align: start; }
.vx-slide img { width: 100%; height: 100%; object-fit: cover; }

/* ===================================================================
   7  Seitenabschnitte
   =================================================================== */

/* ---------- Start: „Wofür eignet sich palais f.?“ ---------- */
.vx-rows { border-top: 1px solid var(--ink); }
.vx-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 240px; gap: 16px 32px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); transition: padding .3s ease, background .3s ease; }
.vx-row:hover { padding-left: 16px; background: linear-gradient(90deg, rgba(255,255,0,.18), transparent 60%); }
body.site .vx-row:hover { background: linear-gradient(90deg, var(--paper-2), transparent 70%); }
.vx-row__h { margin: 0; font-size: clamp(24px, 2.6vw, 34px); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
.vx-row__p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
.vx-row__tag { font-size: 14px; font-weight: 600; text-align: right; white-space: nowrap; color: var(--ink); text-decoration: none; }
.vx-row__tag:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 4px; }

/* ---------- Start: Logo-Raster „Unsere Fans“ ---------- */
.vx-logogrid { margin-top: 56px; }
.vx-logogrid__label { font-weight: 600; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.vx-logogrid__grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
.vx-logogrid__grid span { display: grid; place-items: center; aspect-ratio: 3 / 2; border: 1px solid var(--line); background: #fff; transition: transform .25s, border-color .25s; }
.vx-logogrid__grid span:hover { transform: translateY(-3px); border-color: var(--ink); }
.vx-logogrid__grid img { width: 82%; height: 82%; object-fit: contain; filter: grayscale(1); opacity: .85; transition: filter .25s, opacity .25s; mix-blend-mode: multiply; }
.vx-logogrid__grid span:hover img { filter: none; opacity: 1; }

/* ---------- Start: zentrierte Aussage auf dunklem Grund ---------- */
.vx-statement .pf-h2 { max-width: 980px; margin: 0 auto 22px; text-align: center; }
.vx-statement__lead { max-width: 760px; margin: 0 auto; text-align: center; }

/* ---------- Start: Janine-Block mit Schritten, Schnellauswahl, LinkedIn ---------- */
.vx-steps3 { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 12px; counter-reset: s; }
.vx-steps3 li { counter-increment: s; position: relative; padding-left: 40px; font-size: 16px; line-height: 1.45; }
.vx-steps3 li::before { content: "0" counter(s); position: absolute; left: 0; top: 0; font-weight: 600; }
.seo-quick { margin: 0 0 26px; padding: 18px 20px; background: var(--paper-2); border: 1px solid var(--line); }
.seo-quick__q { font-weight: 600; font-size: 18px; margin: 0 0 12px; }
.seo-quick__s { font-size: 14px; color: var(--muted); margin: 12px 0 0; }
.seo-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.seo-chips a { display: flex; align-items: center; min-height: 44px; font: 600 14px/1.2 var(--font); padding: 10px 14px; border: 1.5px solid var(--ink); color: var(--ink); text-decoration: none; background: #fff; transition: background .2s; }
.seo-chips a:hover { background: var(--accent); }
.vx-personal__quick .seo-quick { margin: 0; padding: 28px; }
.vx-personal .pf-textmedia__text .vx-contact-line { margin: 28px 0 0; padding-top: 0; }
.vx-contact-line { margin-top: 18px; }
body.site .vx-personal .vx-contact-line { margin-top: 6px; }
body.site .vx-personal .vx-contact-line a { color: var(--ink); font-weight: 600; white-space: nowrap; }
.vx-li { display: flex; align-items: center; gap: 18px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 15px; line-height: 1.45; }
.vx-li__qr { width: 88px; height: 88px; flex: 0 0 auto; color: var(--ink); background: #fff; padding: 6px; box-sizing: content-box; }
.vx-li:hover span { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.vx-li__icon { width: 40px; height: 40px; flex: 0 0 auto; color: var(--ink); display: none; }

/* ---------- Start: Catering-Zeile mit Links ---------- */
.seo-catline a { color: var(--ink); }

/* ---------- Location: 360°-Rundgänge als Bildlinks ---------- */
.seo-tours { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 32px; }
.seo-tour { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; color: #fff; text-decoration: none; }
.seo-tour img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.seo-tour:hover img { transform: scale(1.04); }
.seo-tour span { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 18px; font: 600 18px var(--font); background: linear-gradient(transparent, rgba(20,18,16,.85)); }
/* Kacheln zu einzelnen Räumen */
.seo-roomlinks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.seo-roomlinks a { display: block; padding: 20px; border: 1px solid var(--ink); background: #fff; text-decoration: none; color: var(--ink); transition: background .2s, transform .2s; }
.seo-roomlinks a:hover { background: var(--accent); transform: translateY(-3px); }
.seo-roomlinks b { display: block; font-size: 19px; font-weight: 600; margin-bottom: 4px; }
.seo-roomlinks span { font-size: 14px; color: var(--muted); }
body.site .seo-chips a:hover, body.site .seo-roomlinks a:hover { background: var(--paper-2); }

/* ---------- Tagungen: Ablauf „Euer Tag“ ----------
   Große Wörter links, Foto rechts. Der aktive Schritt (.is-active, setzt das JS
   bei Hover, Fokus und Klick) zeigt seinen Text und sein Foto. */
.vx-flow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; margin-top: 8px; }
.vx-flow__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.vx-flow__item { position: relative; padding: 20px 0 20px; border-bottom: 1px solid var(--line); cursor: pointer; outline: none; }
.vx-flow__w { margin: 0; font-size: clamp(28px, 3.2vw, 44px); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; color: var(--muted); opacity: .45; transition: color .4s, opacity .4s, transform .4s; display: inline-block; }
.vx-flow__item:hover .vx-flow__w, .vx-flow__item:focus-visible .vx-flow__w { opacity: .8; transform: translateX(6px); }
.vx-flow__item.is-active .vx-flow__w { color: var(--ink); opacity: 1; background: linear-gradient(transparent 70%, var(--accent) 70%); transform: none; }
.vx-flow__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s ease; }
.vx-flow__more > p { overflow: hidden; margin: 0; }
.vx-flow__item.is-active .vx-flow__more { grid-template-rows: 1fr; }
.vx-flow__p { font-size: 16px; line-height: 1.55; color: var(--muted); max-width: 44ch; padding-top: 10px; }
/* Der Fortschrittsbalken gehört zum automatischen Durchlauf, den es nicht gibt */
.vx-flow__bar { display: none; }
.vx-flow__media { position: relative; aspect-ratio: 5 / 4; overflow: hidden; background: var(--paper-2); }
.vx-flow__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .8s ease, transform 1.4s ease; }
.vx-flow__media img.is-active { opacity: 1; transform: none; }
.vx-flow__mimg { display: none; }

/* ---------- Catering: Bildstrecke (Laufband) ---------- */
.pf-marquee-band { padding: 48px 0; overflow: hidden; }
.pf-marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.pf-marquee__track { display: flex; width: max-content; animation: pf-marquee 40s linear infinite; }
.pf-marquee:hover .pf-marquee__track { animation-play-state: paused; }
.pf-marquee__group { display: flex; align-items: center; gap: 56px; padding-right: 56px; }
.pf-marquee__item { width: 340px; flex-shrink: 0; }
@keyframes pf-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* Das Laufband steht still. Diese Zeile entfernen, dann läuft es wieder. */
body.site .pf-marquee__track { animation: none !important; }

/* ---------- Preise ---------- */
.pf-pricetable { border-top: 1px solid var(--line); }
.pf-pricerow { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 26px 28px; border-bottom: 1px solid var(--line); transition: background .25s, padding .25s; }
.pf-pricerow:nth-child(odd) { background: var(--paper-2); }
.pf-pricerow:hover { background: rgba(255,255,0,.15); padding-left: 12px; padding-right: 12px; }
.pf-pricerow__name { font-weight: 600; font-size: 18px; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink); }
.pf-pricerow__price { text-align: right; white-space: nowrap; }
.pf-pricerow__price b { font-weight: 600; font-size: 18px; display: block; }
.pf-ask { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.seo-pricecta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 26px; }
.seo-pricecta span { color: var(--muted); }
.seo-pricecta span a { color: var(--ink); font-weight: 600; }
.seo-trainer { margin: 32px 0 0; max-width: 760px; }

/* ---------- Kontakt: Wege und Angaben als Zeilen mit Trennstrichen ---------- */
.seo-ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); padding-top: 30px; }
.seo-ways--facts { margin-top: 36px; }
.seo-ways > * { display: block; padding: 0 32px; border-left: 1px solid var(--line); color: var(--ink); text-decoration: none; min-width: 0; }
.seo-ways > *:first-child { padding-left: 0; border-left: 0; }
.seo-ways span { display: block; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.seo-ways b { display: inline; font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; letter-spacing: -.01em; line-height: 1.2; overflow-wrap: anywhere; }
.seo-ways a:hover b { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 4px; text-underline-offset: 6px; }
.seo-ways small { display: block; margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
/* Newsletter-Zeile auf der Kontaktseite (Formular mit data-pf-news, Versand per JS) */
.vx-kontakt-news { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; align-items: center; margin-top: 36px; border-top: 1px solid var(--line); padding-top: 30px; }
.vx-kontakt-news span { display: block; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.vx-kontakt-news b { font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; letter-spacing: -.01em; line-height: 1.2; }
.vx-kontakt-news small { display: block; margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.vx-kontakt-news small a { color: inherit; }
.vx-kontakt-news form { display: flex; flex-wrap: wrap; gap: 10px; }
.vx-kontakt-news .pf-input { padding: 14px 18px; }
.vx-kontakt-news__ok, .vx-kontakt-news .pf-news__ok { margin: 0; font-size: 16px; color: var(--ink); }
.vx-kontakt-news .pf-news__error { flex: 1 1 100%; color: #B3261E; }
.vx-kontakt-li { margin: 48px 0 0; font-size: 15px; color: var(--ink); }
.vx-kontakt-li a { color: var(--ink); font-weight: 600; }

/* ---------- Anfrage: Janine-Kasten neben dem Formular ---------- */
.vx-janinebox { display: flex; flex-direction: column; gap: 0; margin-top: 36px; background: var(--paper-2); }
.vx-janinebox img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; }
.vx-janinebox p { margin: 0; padding: 20px 22px; line-height: 1.6; }
.vx-janinebox a { color: inherit; }
/* Foto „Janine am Telefon“ ist ein Querformat */
body.site .vx-janinebox img[src*="anf-janine-telefon"] { aspect-ratio: 4 / 3; object-position: center; }

/* ---------- Zukunftsbahnhof: Faktenzeile unter den Kennzahlen ---------- */
.seo-zfacts { margin: 26px 0 0; font-size: 15px; color: var(--bf-muted); }

/* ---------- Rechtstexte (Impressum, Datenschutz) ---------- */
.vx-legal { max-width: 860px; }
/* Zwischenüberschriften wie im Entwurf, egal ob als h2 oder h3 ausgegeben */
.vx-legal__h3, .vx-legal h2, .vx-legal h3 { font-size: 1.17em; font-weight: 700; margin: 1em 0; }
/* Rechtstext aus dem Editor: Lesetypografie wie im Magazin-Beitrag, Zwischenüberschriften in der Größe des Entwurfs */
.vx-legal__body { overflow-wrap: break-word; }
.vx-legal__body > :first-child { margin-top: 1em; }
.vx-legal__body > :last-child { margin-bottom: 0; }
.vx-legal__body h2, .vx-legal__body h3, .vx-legal__body h4, .vx-legal__body h5 { font-size: 1.04em; font-weight: 700; line-height: 1.3; margin: 1.6em 0 .6em; color: var(--ink); }
.vx-legal__body p { margin: 0 0 20px; }
.vx-legal__body strong { font-weight: 600; color: var(--ink); }
.vx-legal__body a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.vx-legal__body a:hover { text-decoration-color: var(--ink); }
.vx-legal__body ul, .vx-legal__body ol { margin: 0 0 22px; padding-left: 0; list-style: none; }
.vx-legal__body li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.vx-legal__body ul > li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; background: var(--ink); }
.vx-legal__body ol { counter-reset: pf-ol; }
.vx-legal__body ol > li { counter-increment: pf-ol; padding-left: 40px; }
.vx-legal__body ol > li::before { content: counter(pf-ol, decimal-leading-zero); position: absolute; left: 0; top: 0; font-weight: 600; color: var(--ink); }

/* ---------- Magazin-Beitrag (Einzelansicht): ruhige Lesespalte ---------- */
.pf-article { max-width: 740px; margin: 0 auto; }
.pf-article__back { display: inline-flex; gap: 8px; font-weight: 600; font-size: 14px; color: var(--muted); text-decoration: none; margin-bottom: 34px; }
.pf-article__back:hover { color: var(--ink); }
.pf-article__title { font-weight: 500; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.03; letter-spacing: -0.025em; margin: 0 0 22px; text-wrap: balance; }
.pf-article__meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0 0 30px; font-size: 13px; font-weight: 600; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pf-article__teaser { font-size: 21px; line-height: 1.45; color: var(--ink-soft); margin: 0 0 36px; }
.pf-article__image { margin: 0 0 44px; background: var(--paper-2); }
.pf-article__image img { width: 100%; height: auto; }
.pf-article__image figcaption,
.pf-article__body figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--muted); background: var(--paper); }
.pf-article__body { font-size: 18px; line-height: 1.7; color: var(--copy); overflow-wrap: break-word; }
.pf-article__body > :first-child { margin-top: 0; }
.pf-article__body > :last-child { margin-bottom: 0; }
.pf-article__body h2 { font-weight: 500; font-size: clamp(25px, 2.6vw, 30px); line-height: 1.15; letter-spacing: -0.02em; margin: 48px 0 16px; color: var(--ink); text-wrap: balance; }
.pf-article__body h3 { font-weight: 600; font-size: 21px; line-height: 1.25; letter-spacing: -0.01em; margin: 34px 0 12px; color: var(--ink); }
.pf-article__body p { margin: 0 0 20px; }
.pf-article__body a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.pf-article__body a:hover { text-decoration-color: var(--ink); }
.pf-article__body ul, .pf-article__body ol { margin: 0 0 22px; padding-left: 0; list-style: none; }
.pf-article__body li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.pf-article__body ul > li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; background: var(--ink); }
.pf-article__body ol { counter-reset: pf-ol; }
.pf-article__body ol > li { counter-increment: pf-ol; padding-left: 40px; }
.pf-article__body ol > li::before { content: counter(pf-ol, decimal-leading-zero); position: absolute; left: 0; top: 0; font-weight: 600; color: var(--ink); }
.pf-article__body blockquote { margin: 36px 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--ink); font-size: 23px; line-height: 1.4; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.pf-article__body blockquote p { margin: 0 0 12px; }
.pf-article__body blockquote p:last-child { margin-bottom: 0; }
.pf-article__body blockquote cite { display: block; margin-top: 12px; font-size: 15px; font-weight: 400; font-style: normal; letter-spacing: .04em; color: var(--muted); }
.pf-article__body img { height: auto; margin: 32px 0; }
.pf-article__body figure { margin: 32px 0; }
.pf-article__body figure img { margin: 0; }
.pf-article__body hr { border: 0; border-top: 1px solid var(--line); margin: 44px 0; }
.pf-article__body table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 16px; }
.pf-article__body th, .pf-article__body td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
/* Hinweis-Kasten am Ende des Beitrags */
.pf-article__cta { margin-top: 48px; padding: 24px 28px; background: var(--paper-2); border: 1px solid var(--line); }
.pf-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 40px 0 0; }
.pf-tag { font-size: 12.5px; font-weight: 600; letter-spacing: .02em; color: var(--ink); background: var(--paper-2); border: 1px solid var(--line); padding: 4px 8px; }

/* ===================================================================
   8  Joomla-Ausgaben
   =================================================================== */

/* ---------- Systemmeldungen (<jdoc:include type="message" />) ---------- */
#system-message-container:empty { display: none; }
#system-message-container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-x); }
joomla-alert { display: block; position: relative; margin: 24px 0; padding: 16px 52px 16px 20px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--ink); font-size: 16px; line-height: 1.5; color: var(--ink); }
joomla-alert[type="danger"], joomla-alert[type="error"] { border-left-color: #B3261E; }
joomla-alert[type="warning"] { border-left-color: #E0A100; }
joomla-alert[type="success"] { border-left-color: #1F8A4C; }
joomla-alert .alert-heading { font-weight: 600; text-transform: capitalize; }
joomla-alert .alert-message { margin: 2px 0 0; }
joomla-alert .joomla-alert--close { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border: 0; background: none; font-size: 24px; line-height: 1; color: var(--ink); cursor: pointer; }

/* ---------- Seitenblättern (Magazin) ----------
   Joomla liefert Bootstrap-Markup (ul.pagination > li.page-item > .page-link) und
   Pfeile als leere <span class="icon-angle-*">. Die Icon-Schrift von Joomla laden wir
   nicht, deshalb setzen wir die Pfeile selbst per content. */
.pf-pagination { margin-top: 64px; padding-top: 34px; border-top: 1px solid var(--line); }
.pf-pagination .pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.pf-pagination .page-item { margin: 0; }
.pf-pagination .page-link {
  display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 12px;
  font-weight: 500; font-size: 16px; line-height: 1; color: var(--ink-soft);
  text-decoration: none; border: 1px solid transparent; background: none;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.pf-pagination .page-link:hover { color: var(--ink); border-color: var(--line); background: rgba(0,0,0,.03); }
.pf-pagination .page-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* Aktuelle Seite: gelber Balken wie in der Navigation */
.pf-pagination .active .page-link { color: var(--ink); font-weight: 600; border-color: transparent; box-shadow: inset 0 -2px 0 var(--accent); }
.pf-pagination .active .page-link:hover { background: none; border-color: transparent; }
/* Erste/letzte Seite: Pfeile ohne Ziel bleiben stehen, aber zurückgenommen */
.pf-pagination .disabled .page-link { color: var(--muted); opacity: .4; cursor: default; }
/* Pfeile: « ‹ › » statt der fehlenden Icon-Schrift */
.pf-pagination [class^="icon-angle"] { display: block; line-height: 1; font-size: 19px; }
.pf-pagination .icon-angle-double-left::before { content: "\00AB"; }
.pf-pagination .icon-angle-left::before { content: "\2039"; }
.pf-pagination .icon-angle-right::before { content: "\203A"; }
.pf-pagination .icon-angle-double-right::before { content: "\00BB"; }
.pf-pagination__counter { margin: 18px 0 0; text-align: center; font-size: 13.5px; letter-spacing: 0.04em; color: var(--muted); }

/* ---------- Fehler- und Wartungsseite (error.php, offline.php) ---------- */
.pf-syspage { min-height: 60vh; display: flex; align-items: center; }
.pf-syspage .pf-container { width: 100%; max-width: 760px; text-align: center; }
.pf-syspage .pf-eyebrow { justify-content: center; }
.pf-syspage .pf-h2 { margin-bottom: 20px; }
.pf-syspage .pf-text { margin: 0 0 34px; }
.pf-syspage form { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 420px; margin: 0 auto; }
.pf-syspage .vx-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 0; }

/* ===================================================================
   9  Effekte
   =================================================================== */

/* Gelbe Hervorhebung eines Worts (im Feld mit *Sternchen* markiert) */
.vx-hl { background: linear-gradient(transparent 66%, var(--accent) 66%, var(--accent) 90%, transparent 90%); padding: 0 .04em; }
.pf-section--dark .vx-hl { background: none; color: var(--accent); }

/* Geisterwort: sehr großes, kaum sichtbares Wort hinter dem Kopfbereich */
.vx-ghosthost { position: relative; overflow: hidden; }
.vx-ghost { position: absolute; right: -1vw; bottom: -1.5vw; font: 700 clamp(90px, 17vw, 260px)/.85 var(--font); letter-spacing: -.04em; color: var(--ink); opacity: .035; pointer-events: none; white-space: nowrap; user-select: none; }
.vx-ghost--dark { color: #fff; opacity: .07; }
.vx-ghosthost > .pf-container { position: relative; }

/* Karte beim Überfahren: Schatten, Bild zoomt leicht */
.vx-pic { overflow: hidden; position: relative; }
.vx-pic img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.vx-lift { transition: transform .35s ease, box-shadow .35s ease; }
.vx-lift:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(33,29,24,.12); }
.vx-lift:hover .vx-pic img, .vx-pic:hover img { transform: scale(1.04); }
/* Kein Anheben, der Schatten bleibt */
body.site .vx-lift:hover { transform: none; }

/* Lightbox: Knopf ⤢ im Bild, Overlay baut das JS */
.vx-zoombtn { position: absolute; right: 10px; bottom: 10px; width: 38px; height: 38px; border: 0; background: rgba(255,255,255,.92); font-size: 18px; cursor: zoom-in; opacity: .85; transition: opacity .2s, background .2s; }
.vx-zoombtn:hover { opacity: 1; background: var(--accent); }
.vx-lb { position: fixed; inset: 0; z-index: 300; background: rgba(20,18,16,.9); display: grid; place-items: center; padding: 24px; cursor: zoom-out; }
.vx-lb img { max-width: min(1200px, 100%); max-height: 88vh; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.vx-lb__btn { position: absolute; width: 46px; height: 46px; border: 0; background: rgba(255,255,255,.92); color: var(--ink); font: 400 20px/1 var(--font); cursor: pointer; transition: background .2s; }
.vx-lb__btn:hover { background: var(--accent); }
.vx-lb__btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.vx-lb__close { top: 16px; right: 16px; }
.vx-lb__prev { left: 16px; top: 50%; margin-top: -23px; }
.vx-lb__next { right: 16px; top: 50%; margin-top: -23px; }

/* ===================================================================
   10  Responsive
   =================================================================== */

/* Zwischen 1201 und 1500 px wird die Kopfleiste eng: Nummer weg, Menü dichter */
@media (max-width: 1500px) and (min-width: 1201px) {
  .pf-header__phone-num { display: none; }
  .pf-header__phone-ico { display: block; width: 20px; height: 20px; }
  .pf-nav .mod-menu { gap: 18px; }
}

/* Bis 1200 px passt das ausgeschriebene Menü nicht mehr neben Logo, Hörer und Knopf
   (es braucht rund 1190 px): Burger statt Menü, kleinere Stufen */
@media (max-width: 1200px) {
  .pf-nav, .pf-header__cta { display: none; }
  .pf-burger { display: flex; }
  .pf-header { --header-h: 84px; --logo-h: 52px; }
  .pf-header.is-scrolled { --header-h: 62px; --logo-h: 38px; }
  /* Telefon nur als Tippfläche – die Nummer passt nicht in die Leiste */
  .pf-header__right { gap: 4px; }
  .pf-header__phone { width: 48px; height: 48px; justify-content: center; gap: 0; color: var(--ink); }
  .pf-header__phone-ico { display: block; width: 21px; height: 21px; }
  .pf-header__phone-num { display: none; }
  /* Im geöffneten Menü steht die Nummer als eigene Zeile */
  .pf-header.is-open .pf-header__phone { display: none; }
  /* Geöffnetes Mobil-Menü: Vollbild-Overlay ohne Trennlinien */
  .pf-header.is-open { background: var(--paper); border-bottom-color: transparent; }
  .pf-header.is-open .pf-logo, .pf-header.is-open .pf-burger { position: relative; z-index: 60; }
  .pf-header.is-open .pf-nav { display: flex; position: fixed; inset: 0; z-index: 55; flex-direction: column; justify-content: center; align-items: stretch; gap: 6px; background: var(--paper); padding: 96px var(--pad-x) 48px; overflow-y: auto; }
  body.site .pf-header.is-open .pf-nav { justify-content: flex-start; }
  .pf-header.is-open .pf-nav ul { flex-direction: column; align-items: stretch; gap: 6px; width: 100%; }
  .pf-header.is-open .pf-nav li { width: 100%; }
  .pf-header.is-open .pf-nav a,
  .pf-header.is-open .pf-nav-cta { display: block; width: 100%; padding: 14px 2px; border: 0; font-size: 30px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; color: var(--ink); text-decoration: none; }
  .pf-header.is-open .pf-nav a:active,
  .pf-header.is-open .pf-nav-cta:active { color: var(--accent-deep); }
  /* Im Vollbildmenü kein Unterstrich – die Punkte stehen dort untereinander */
  .pf-header.is-open .pf-nav a::after,
  .pf-header.is-open .pf-nav .current > a::after,
  .pf-header.is-open .pf-nav .active > a::after,
  .pf-header.is-open .pf-nav a.active::after { display: none; }
  .pf-header.is-open .pf-nav .active > a,
  .pf-header.is-open .pf-nav a.active { color: var(--accent-deep); }
  /* Telefonnummer als abgesetzte Zeile unter den Menüpunkten */
  .pf-header.is-open .pf-nav a.pf-nav-phone { margin-top: 16px; padding: 22px 2px 14px; border-top: 1px solid var(--line); font-size: 22px; color: var(--ink-soft); }
}

@media (max-width: 1024px) {
  .pf-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .pf-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .pf-footer__grid { grid-template-columns: 1fr 1fr; }
  .seo-roomlinks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Ablauf „Euer Tag“: einspaltig, alle Schritte offen, Foto je Schritt */
@media (max-width: 900px) {
  .vx-flow { grid-template-columns: 1fr; gap: 0; }
  .vx-flow__media { display: none; }
  .vx-flow__mimg { display: block; aspect-ratio: 16 / 10; overflow: hidden; margin-top: 14px; }
  .vx-flow__mimg img { width: 100%; height: 100%; object-fit: cover; }
  .vx-flow__more { grid-template-rows: 1fr; }
  .vx-flow__w { opacity: 1; color: var(--ink); font-size: 28px; }
}

@media (max-width: 860px) {
  :root { --pad-x: 22px; }
  .pf-section { padding: 72px 0; }
  .pf-grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .pf-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .vx-head2 { grid-template-columns: 1fr; }
  .vx-row { grid-template-columns: 1fr; }
  .vx-row__tag { text-align: left; }
  .vx-logogrid__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .vx-faqwrap .vx-faq { columns: 1; }
  .seo-gtop { justify-content: flex-start; }
  .vx-li__qr { display: none; }
  .vx-li__icon { display: block; }
  .pf-speclist { column-count: 1; }
  .pf-pricerow { flex-direction: column; gap: 10px; padding: 22px 18px; }
  .pf-pricerow__price { text-align: left; }
  .pf-form { padding: 28px 22px; }
  .pf-form__grid { grid-template-columns: 1fr; }
  /* Kennzahlen-Reihe bei Umbruch: gleichmäßiger Abstand */
  .pf-stats--hero { flex-wrap: wrap; gap: 26px 0; }
  .pf-stats--hero .pf-stat { padding: 0 22px; }
  .pf-stats--hero .pf-stat:first-child { padding-left: 0; }
}

@media (max-width: 760px) {
  /* Handy-Leiste unten, der Seitenfuß bekommt Platz dafür */
  body.site .seo-mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; box-shadow: 0 -6px 20px rgba(33,29,24,.18); }
  .seo-mbar a { flex: 1; text-align: center; padding: 17px 10px; font: 600 16px var(--font); text-decoration: none; color: var(--ink); background: #fff; }
  .seo-mbar a + a { background: var(--accent); }
  body.site { padding-bottom: 62px; }

  /* Start, erster Bildschirm: kurze Einleitung, Bild direkt unter der Überschrift.
     Greift über den Seitenrahmen .vs-page[data-page="start"] oder die Klasse .pf-hero--start. */
  body.site .seo-mhide { display: none; }
  body.site :is(.vs-page[data-page="start"] > section:first-child, .pf-hero--start) { padding-top: 36px; padding-bottom: 40px; }
  body.site :is(.vs-page[data-page="start"] > section:first-child, .pf-hero--start) .pf-container { display: flex; flex-direction: column; }
  body.site :is(.vs-page[data-page="start"] > section:first-child, .pf-hero--start) .pf-hero-grid { display: contents; }
  body.site :is(.vs-page[data-page="start"] > section:first-child, .pf-hero--start) .pf-hero-grid > div:first-child { order: 1; }
  body.site :is(.vs-page[data-page="start"] > section:first-child, .pf-hero--start) .pf-hero__media { order: 2; margin: 22px 0 22px; aspect-ratio: 4 / 3; }
  body.site :is(.vs-page[data-page="start"] > section:first-child, .pf-hero--start) .pf-hero-grid__aside { order: 3; padding-top: 0; }
  body.site :is(.vs-page[data-page="start"] > section:first-child, .pf-hero--start) .pf-hero-actions { margin-top: 20px; }
  body.site :is(.vs-page[data-page="start"] > section:first-child, .pf-hero--start) .pf-note { display: none; }

  .seo-tours { grid-template-columns: 1fr; }

  /* Kontaktwege untereinander */
  .seo-ways { grid-template-columns: 1fr; border-top: 0; padding-top: 0; }
  .seo-ways--facts { margin-top: 0; }
  .seo-ways > * { padding: 20px 0; border-left: 0; border-top: 1px solid var(--line); }
  .vx-kontakt-news { grid-template-columns: 1fr; gap: 18px; }
  .vx-kontakt-news .pf-input, .vx-kontakt-news .pf-btn { flex: 1 1 100%; min-width: 0; }

  /* Raumtabelle als Karten: je Zeile eine Karte, die Spaltenüberschrift kommt aus data-l */
  .seo-table-wrap { overflow: visible; border-top: 0; }
  .seo-table { min-width: 0; }
  .seo-table, .seo-table tbody, .seo-table tr, .seo-table td { display: block; width: 100%; box-sizing: border-box; }
  .seo-table thead { display: none; }
  .seo-table tr { border: 1px solid var(--line); background: #fff; margin: 0 0 12px; }
  .seo-table tbody tr:nth-child(odd) td { background: transparent; }
  .seo-table td { display: flex; justify-content: space-between; gap: 14px; padding: 9px 14px; border-bottom: 1px solid var(--line); text-align: right; }
  .seo-table td:last-child { border-bottom: 0; }
  /* Leere Zelle (z. B. Raum ohne Rundgang) entfällt in der Karte; die letzte gefüllte Zelle schließt ohne Linie ab */
  .seo-table td.seo-table__leer { display: none; }
  .seo-table td:not(:has(~ td:not(.seo-table__leer))) { border-bottom: 0; }
  .seo-table td::before { content: attr(data-l); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: left; flex: 0 0 auto; }
  .seo-table td:first-child { background: var(--paper-2) !important; font-size: 16px; justify-content: flex-start; }
  .seo-table td:first-child::before { display: none; }
}

@media (max-width: 680px) {
  .pf-grid-3, .pf-grid-4 { grid-template-columns: 1fr; }
  .pf-footer__grid { grid-template-columns: 1fr; gap: 36px; }
  /* Sehr große Überschriften auf kleinen Bildschirmen zähmen */
  .pf-h1 { font-size: clamp(38px, 11vw, 60px); }
  .pf-article__body { font-size: 17px; }
  .pf-article__body blockquote { font-size: 20px; padding-left: 18px; }
}

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

/* ===================================================================
   11  Bewegung reduzieren, Druck
   =================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  .seo-mbar, .vx-lb, .pf-burger { display: none !important; }
  .pf-header { position: static; }
}
