/*
Theme Name: VDSt Braunschweig
Description: Eigenes, schlankes Theme für den VDSt Braunschweig. Aufbau nach dem Muster "Vollbild-Hintergrund + scrollende Inhaltsbereiche". Kein Page-Builder und keine Plugins nötig.
Version: 1.4.0
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: vdst

INHALT DIESER DATEI (mit Strg+F nach der Nummer suchen):
  01 VARIABLEN (Farben, Breiten, Schriften)  <-- hier zuerst anpassen
  02 BASIS (Reset, Typografie, Links, Buttons)
  03 LAYOUT-CONTAINER
  04 HEADER
  05 MENÜ (ausfahrendes Panel)
  06 FESTER HINTERGRUND
  07 STARTSEITE: BANNER
  08 STARTSEITE: SPOTLIGHTS (Bild + Text im Wechsel)
  09 STARTSEITE: CALL-TO-ACTION
  10 UNTERSEITEN: KOPFBEREICH + INHALTSFLÄCHE
  11 TABS (Über uns / Geschichte)
  12 LIGHTBOX + DIASHOW
  13 SEMESTERPROGRAMM
  14 AKTIV WERDEN, KONTAKT, NACHRICHTENFORMULAR
  15 FOOTER
  16 WORDPRESS-KLEINIGKEITEN (Admin-Leiste, Editor-Inhalte)
  17 RESPONSIVE (Tablet / Handy)

Eigene Änderungen am besten in assets/css/custom.css schreiben:
diese Datei wird danach geladen und überschreibt alles hier.
*/

/* ==========================================================
   01  VARIABLEN
   Hier werden Farben, Breiten und Schriften zentral festgelegt.
   ========================================================== */
:root {
  /* --- Farben: Variante A "Schwarz-Weiß-Rot" (aktiv) --- */
  --c-primary: #a3202c;       /* Hauptfarbe: Buttons, Links, Akzente */
  --c-primary-dark: #7f1822;  /* Hover-Zustand der Hauptfarbe */
  --c-ink: #1c1c1e;           /* Dunkel: Header, Footer, Text */
  --c-ink-soft: #2c2c30;      /* Dunkel, etwas heller (z. B. Menü-Panel) */
  --c-paper: #ffffff;         /* Helle Flächen */
  --c-soft: #f3f2f0;          /* Zweite helle Fläche (wechselt mit Weiß) */
  --c-muted: #5f5f66;         /* Grauer Nebentext */
  --c-line: #e2e0dc;          /* Linien und Rahmen */

  /* --- Farben: Variante B "Bordeaux + Gold" (zum Ausprobieren: Block darüber
         auskommentieren und diesen aktivieren) ---
  --c-primary: #7a1f2b;
  --c-primary-dark: #5c1620;
  --c-ink: #2b2a28;
  --c-ink-soft: #3a3936;
  --c-soft: #f7f3ed;
  --c-gold: #c9a227;
  */

  /* --- Breiten: Header und alle Inhalts-Container nutzen DIESELBE Breite --- */
  --site-width: 1280px;                    /* maximale Breite des Inhalts */
  --page-width: 1200px;                    /* Breite des Inhalts auf ALLEN Unterseiten (außer Startseite). Größer = breiter */
  --gutter: clamp(1.25rem, 4vw, 2.5rem);   /* Seitenabstand links/rechts */
  --header-h: 4rem;                        /* Höhe der fixierten Kopfzeile */
  --edge-width: none;                      /* Breite von Header und Footer-Inhalt: none = ganz bis zum Rand (Name ganz links, Menü ganz rechts). Alternative: var(--site-width) */
  --edge-gutter: clamp(1rem, 3vw, 2.5rem); /* Abstand zum Bildschirmrand bei Header und Footer */

  /* --- Schriften (Systemschriften: keine Verbindung zu Google, DSGVO-freundlich) --- */
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;

  /* --- Footer (Fußbereich): dunkles, gedecktes Weinrot passend zur Hauptfarbe.
         Es hebt sich bewusst vom helleren Rot des Aufruf-Bereichs darüber ab. ---
     Alternative "helles Rosé": --c-footer-bg: #f1dcdc;  --c-footer-text: #3b1a1f;  --c-footer-link: #3b1a1f;  --c-footer-line: rgba(59, 26, 31, 0.2); */
  --c-footer-bg: #5c1d26;
  --c-footer-text: rgba(255, 255, 255, 0.82);
  --c-footer-link: #ffffff;
  --c-footer-line: rgba(255, 255, 255, 0.2);

  --radius: 4px;
}

/* ==========================================================
   02  BASIS
   ========================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--c-ink);
  background: var(--c-ink);
}
[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--c-primary); text-underline-offset: 0.15em; }
a:hover { color: var(--c-primary-dark); }
:focus-visible { outline: 3px solid var(--c-primary); outline-offset: 3px; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 0.6em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }

.screen-reader-text, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0;
}
.skip-link:focus { position: fixed; top: 0.5rem; left: 0.5rem; z-index: 999; padding: 0.6rem 1rem; background: #fff; color: var(--c-ink); }

/* Buttons: .btn (hell auf dunklem Grund), .btn--primary (Hauptfarbe), .btn--dark (dunkel auf hellem Grund) */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.8rem 1.6rem; border: 2px solid currentColor; border-radius: var(--radius);
  font: inherit; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer;
  color: #fff; background: transparent; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { background: #fff; color: var(--c-ink); }
.btn--primary { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.btn--primary:hover { background: var(--c-primary-dark); border-color: var(--c-primary-dark); color: #fff; }
.btn--dark { color: var(--c-ink); }
.btn--dark:hover { background: var(--c-ink); color: #fff; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ==========================================================
   03  LAYOUT-CONTAINER
   Alle Bereiche (Header, Inhalte, Footer) nutzen .container
   und damit exakt dieselbe Breite (--site-width).
   ========================================================== */
.container { width: 100%; max-width: var(--site-width); margin-inline: auto; padding-inline: var(--gutter); }
.container--text { max-width: var(--page-width); }
.band { position: relative; background: var(--c-paper); }
.band--soft { background: var(--c-soft); }
.band--dark { background: var(--c-ink); color: #fff; }
.band__pad { padding-block: clamp(3rem, 8vw, 6rem); }

/* ==========================================================
   04  HEADER
   Startseite: oben transparent, nach dem Scrollen dunkel (Klasse .is-solid per JS).
   Unterseiten: immer dunkel.
   ========================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: rgba(28, 28, 30, 0.96); color: #fff; transition: background 0.3s;
}
.has-transparent-header .site-header:not(.is-solid) { background: transparent; }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--edge-width); height: 100%; margin-inline: auto; padding-inline: var(--edge-gutter);
}
.site-title { font-family: var(--font-head); font-size: clamp(1.05rem, 1.8vw, 1.3rem); font-weight: 700; line-height: 1.1; color: #fff; text-decoration: none; }
.site-title { display: inline-flex; align-items: center; gap: 0.6rem; }
.site-title__logo { flex: none; width: 2.25rem; height: 2.25rem; object-fit: contain; }
.site-title__logo--badge { padding: 0.2rem; background: #fff; border-radius: 50%; }
.site-title:hover { color: #fff; opacity: 0.85; }
.menu-toggle {
  display: inline-flex; align-items: center; gap: 0.7rem; padding: 0.5rem 0;
  font: inherit; font-weight: 600; color: #fff; background: none; border: 0; cursor: pointer;
}
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
  display: block; width: 1.5rem; height: 2px; background: currentColor; content: "";
}
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before { position: absolute; top: -7px; }
.menu-toggle__bars::after { position: absolute; top: 7px; }

/* ==========================================================
   05  MENÜ (ausfahrendes Panel von rechts)
   Die Einträge stehen in inc/config.php  ->  'menu'
   ========================================================== */
.menu-backdrop {
  position: fixed; inset: 0; z-index: 190; background: rgba(0, 0, 0, 0.55);
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0s 0.3s;
}
.menu-panel {
  position: fixed; top: 0; right: 0; z-index: 200; width: min(22rem, 88vw); height: 100%;
  padding: 1.25rem 2rem 2rem; overflow-y: auto; background: var(--c-ink-soft); color: #fff;
  transform: translateX(100%); visibility: hidden; transition: transform 0.35s, visibility 0s 0.35s;
}
.menu-open { overflow: hidden; }
.menu-open .menu-backdrop { opacity: 1; visibility: visible; transition-delay: 0s; }
.menu-open .menu-panel { transform: none; visibility: visible; transition-delay: 0s; }
.menu-close { display: block; margin: 0 0 1.5rem auto; padding: 0.4rem; font-size: 2rem; line-height: 1; color: #fff; background: none; border: 0; cursor: pointer; }
.menu-list { margin: 0; padding: 0; list-style: none; }
.menu-list li { border-top: 1px solid rgba(255, 255, 255, 0.15); }
.menu-list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.menu-list a { display: block; padding: 0.95rem 0; font-family: var(--font-head); font-size: 1.2rem; color: #fff; text-decoration: none; }
.menu-list a:hover, .menu-list .is-current > a { color: #fff; opacity: 1; padding-left: 0.5rem; box-shadow: inset 3px 0 0 var(--c-primary); }
.menu-list .is-highlight > a { font-weight: 700; color: #fff; }
.menu-list .is-highlight > a::after { content: " ›"; color: var(--c-primary); }

/* ==========================================================
   06  FESTER HINTERGRUND (das Haus)
   Das Bild bleibt stehen, während die Inhalte darüber scrollen.
   Bild-Datei: inc/config.php  ->  'images' => 'hero'
   ========================================================== */
.fixed-bg {
  position: fixed; inset: 0; z-index: -1;
  background-color: var(--c-ink); background-position: center; background-size: cover; background-repeat: no-repeat;
}

/* ==========================================================
   07  STARTSEITE: BANNER (voller Bildschirm, Haus als Hintergrund)
   ========================================================== */
.banner {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 100vh; min-height: 100svh; padding: calc(var(--header-h) + 2rem) var(--gutter) 3rem;
  color: #fff; background: linear-gradient(rgba(10, 10, 12, 0.45), rgba(10, 10, 12, 0.6));
}
.banner__pre { margin: 0 0 0.5rem; font-family: var(--font-head); font-size: clamp(1.1rem, 2.5vw, 1.6rem); font-style: italic; }
.banner__title { margin-bottom: 0.4em; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45); }
.banner__text { margin-bottom: 2rem; font-size: clamp(1.1rem, 2.4vw, 1.5rem); }

/* ==========================================================
   08  STARTSEITE: SPOTLIGHTS (Bild + Text, wechselnde Seite)
   Umkehren der Seite: Klasse spotlight--reverse
   ========================================================== */
.spotlight { display: grid; grid-template-columns: 1fr 1fr; min-height: 28rem; }
.spotlight__media { position: relative; display: block; overflow: hidden; min-height: 18rem; }
.spotlight__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.spotlight__media:hover img { transform: scale(1.03); }
.spotlight__body { align-self: center; max-width: 38rem; padding: clamp(2rem, 6vw, 5rem); }
.spotlight--reverse .spotlight__media { order: 2; }
.spotlight--reverse .spotlight__body { justify-self: end; }

/* ==========================================================
   09  STARTSEITE: CALL-TO-ACTION
   ========================================================== */
.cta { text-align: center; color: #fff; background: var(--c-primary); }
.cta .container { max-width: 46rem; }
.cta .btn:hover { color: var(--c-primary); }

/* ==========================================================
   10  UNTERSEITEN: KOPFBEREICH + INHALTSFLÄCHE
   ========================================================== */
.page-hero {
  padding: calc(var(--header-h) + clamp(3rem, 9vw, 6rem)) var(--gutter) clamp(2.5rem, 6vw, 4rem);
  text-align: center; color: #fff; background: linear-gradient(rgba(10, 10, 12, 0.72), rgba(10, 10, 12, 0.82));
}
.page-hero h1 { margin-bottom: 0.3em; font-size: clamp(2rem, 5vw, 3.2rem); }
.page-hero p { margin: 0; font-size: 1.2rem; opacity: 0.9; }
.page-body { background: var(--c-paper); }
.page-body .container { max-width: var(--page-width); padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.page-body .container > p { max-width: 64rem; }   /* Einleitungstexte nicht unnötig lang ziehen */
.entry > :last-child { margin-bottom: 0; }
.quote { max-width: 40rem; margin: 0 auto clamp(2rem, 5vw, 3rem); text-align: center; }
.quote blockquote { margin: 0; font-family: var(--font-head); font-size: clamp(1.3rem, 3vw, 1.8rem); font-style: italic; line-height: 1.4; }
.quote cite { display: block; margin-top: 0.8rem; font-size: 0.95rem; font-style: normal; color: var(--c-muted); }

/* ==========================================================
   11  TABS (Über uns / Geschichte)
   Ohne JavaScript sind alle Abschnitte untereinander sichtbar.
   ========================================================== */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.6rem; margin: 0 0 clamp(2rem, 5vw, 3rem); padding: 1rem 0; border-block: 1px solid var(--c-line); }
.tabs a { padding: 0.35rem 0; font-weight: 600; color: var(--c-muted); text-decoration: none; border-bottom: 3px solid transparent; }
.tabs a:hover { color: var(--c-ink); }
.tabs a[aria-current="true"] { color: var(--c-ink); border-bottom-color: var(--c-primary); }
.tab-panel { margin-bottom: clamp(2rem, 5vw, 3rem); }
.js .tab-panel { display: none; margin-bottom: 0; }
.js .tab-panel.is-active { display: block; }
.tab-panel::after { display: block; clear: both; content: ""; }
.tab-panel h2 { margin-bottom: 0.8em; }
.panel-figure { float: left; width: min(24rem, 42%); margin: 0.3rem 2rem 1rem 0; }
.panel-figure img { width: 100%; border-radius: var(--radius); }
.panel-figure a { display: block; }
.tab-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; clear: both; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--c-line); }

/* ==========================================================
   12  LIGHTBOX + DIASHOW
   Lightbox = Großansicht beim Klick auf ein Bild.
   Diashow (Startseite): Bilder stehen in inc/config.php -> 'slides'
   ========================================================== */
.lightbox { position: fixed; inset: 0; z-index: 500; display: none; align-items: center; justify-content: center; flex-direction: column; padding: 3.5rem 1rem 1.5rem; background: rgba(8, 8, 10, 0.94); }
.lightbox.is-open { display: flex; }
.lightbox__img { max-width: min(100%, 1200px); max-height: calc(100vh - 9rem); object-fit: contain; }
.lightbox__caption { max-width: 46rem; margin: 1rem 0 0; text-align: center; color: #fff; }
.lightbox__btn { position: absolute; padding: 0.6rem 0.9rem; font-size: 2rem; line-height: 1; color: #fff; background: none; border: 0; cursor: pointer; }
.lightbox__btn:hover { color: var(--c-primary); }
.lightbox__close { top: 0.5rem; right: 0.75rem; }
.lightbox__prev { left: 0.5rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 0.5rem; top: 50%; transform: translateY(-50%); }
.lightbox[data-single] .lightbox__prev, .lightbox[data-single] .lightbox__next { display: none; }

/* Diashow: Bilder liegen übereinander, das aktive blendet ein */
.slideshow { position: relative; background: var(--c-ink); }
.slide { position: absolute; inset: 0; display: block; opacity: 0; pointer-events: none; transition: opacity 0.9s ease; }
.slide.is-active { z-index: 1; opacity: 1; pointer-events: auto; }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slideshow__nav {
  position: absolute; top: 50%; z-index: 2; width: 2.75rem; height: 2.75rem; transform: translateY(-50%);
  font-size: 1.8rem; line-height: 1; color: #fff; background: rgba(0, 0, 0, 0.45); border: 0; border-radius: 50%; cursor: pointer;
}
.slideshow__nav:hover { background: var(--c-primary); }
.slideshow__prev { left: 0.75rem; }
.slideshow__next { right: 0.75rem; }
.slideshow__dots { position: absolute; bottom: 0.9rem; left: 0; right: 0; z-index: 2; display: flex; justify-content: center; gap: 0.5rem; }
.slideshow__dot { width: 0.75rem; height: 0.75rem; padding: 0; background: rgba(255, 255, 255, 0.55); border: 0; border-radius: 50%; cursor: pointer; }
.slideshow__dot.is-active { background: #fff; transform: scale(1.25); }

/* ==========================================================
   13  SEMESTERPROGRAMM
   Monate und Termine stehen in inc/config.php  ->  'semester'
   ========================================================== */
.events { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--c-line); }
.event { display: grid; grid-template-columns: 11rem 1fr; gap: 0.5rem 2rem; padding: 1.4rem 0; border-bottom: 1px solid var(--c-line); }
.event__date { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; color: var(--c-primary); }
.event__title { margin: 0 0 0.25em; font-size: 1.25rem; }
.event__meta { margin: 0 0 0.4em; font-size: 0.95rem; color: var(--c-muted); }
.event__text { margin: 0; }
.program-download { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--c-line); }
.empty-note { padding: 1.5rem 0; color: var(--c-muted); border-top: 1px solid var(--c-line); }
.admin-hint { margin-top: 2rem; padding: 0.8rem 1rem; font-size: 0.9rem; background: #fff6d6; border-left: 4px solid #d4a017; }

/* ==========================================================
   14  AKTIV WERDEN, KONTAKT, NACHRICHTENFORMULAR
   ========================================================== */
.split > aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }   /* Kontaktbox bleibt beim Scrollen sichtbar */
.split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.infobox { padding: 1.75rem; background: var(--c-soft); border-left: 4px solid var(--c-primary); border-radius: var(--radius); }
.infobox h3 { margin-bottom: 0.3em; font-size: 1.15rem; }
.infobox p { margin-bottom: 1.2em; }
.infobox p:last-child { margin-bottom: 0; }
.download-list { margin: 0; padding: 0; list-style: none; }
.download-list li { padding: 0.5rem 0; border-bottom: 1px solid var(--c-line); }
/* Kontaktseite: links Daten-Feld, rechts Karte. Verhältnis hier ändern (links : rechts) */
.split--contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); align-items: stretch; }
.map { position: relative; height: 100%; min-height: 26rem; overflow: hidden; border-radius: var(--radius); background: var(--c-soft); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; padding: 1.5rem; text-align: center; }
.map__consent p { max-width: 34rem; margin: 0; font-size: 0.95rem; color: var(--c-muted); }
.infobox .icon { margin-right: 0.25rem; vertical-align: -0.2em; color: var(--c-primary); }

/* Nachrichtenformular */
.form-wrap { margin-top: 2.5rem; }
.form-box h3 { font-size: 1.25rem; }
.msg-form { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.25rem; }   /* Name und E-Mail nebeneinander */
.msg-form .form-field--full, .msg-form .form-check, .msg-form button, .msg-form .form-status { grid-column: 1 / -1; }
.msg-form button { justify-self: start; }
.msg-form .form-field { margin: 0 0 1rem; }
.msg-form label { display: block; margin-bottom: 0.25rem; font-weight: 600; }
.msg-form input[type="text"], .msg-form input[type="email"], .msg-form textarea {
  display: block; width: 100%; padding: 0.7rem 0.85rem; font: inherit; color: var(--c-ink);
  background: #fff; border: 1px solid #b9b6b0; border-radius: var(--radius);
}
.msg-form textarea { min-height: 9rem; resize: vertical; }
.msg-form input:focus, .msg-form textarea:focus { border-color: var(--c-primary); outline: 2px solid var(--c-primary); outline-offset: 1px; }
.form-count { display: block; margin-top: 0.3rem; font-size: 0.875rem; color: var(--c-muted); }
.form-count.is-over { color: var(--c-primary-dark); font-weight: 700; }
.msg-form .form-check { font-size: 0.9rem; }
.msg-form .form-check label { display: flex; gap: 0.6rem; align-items: flex-start; margin: 0; font-weight: 400; }
.msg-form .form-check input { flex: none; margin-top: 0.3rem; }
.msg-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1rem; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-ok { color: #1d6b32; }
.form-status.is-error { color: var(--c-primary-dark); }
.msg-form button[disabled] { opacity: 0.6; cursor: wait; }

/* Zimmervermietung (Tab auf "Aktiv werden"): breite Diashow, Eckdaten, Knopf */
.slideshow--wide { aspect-ratio: 16 / 9; max-height: 34rem; min-height: 0; width: 100%; margin: 1.75rem 0; border-radius: var(--radius); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 1rem; margin: 0 0 1.75rem; }
.facts > div { padding: 1rem 1.1rem; background: var(--c-soft); border-left: 4px solid var(--c-primary); border-radius: var(--radius); }
.facts dt { margin: 0 0 0.15rem; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--c-muted); }
.facts dd { margin: 0; font-weight: 600; }
.rooms p { max-width: 64rem; }
.rooms__cta { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--c-line); }

/* ==========================================================
   15  FOOTER
   ========================================================== */
.site-footer { padding-block: 2.25rem 2rem; color: var(--c-footer-text); background: var(--c-footer-bg); font-size: 0.95rem; }
.edge { max-width: var(--edge-width); margin-inline: auto; padding-inline: var(--edge-gutter); }
.site-footer a { color: var(--c-footer-link); }
.site-footer a:hover { color: var(--c-footer-link); opacity: 0.8; }
.site-footer p { margin: 0; }
.site-footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 2rem; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin: 0; padding: 0; list-style: none; }
/* Ganz unten: links E-Mail + Telefon (untereinander), rechts die Adresse */
.site-footer__contact { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 1.5rem 3rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--c-footer-line); }
.site-footer__left p + p { margin-top: 0.4rem; }
.site-footer__left .icon { margin-right: 0.5rem; vertical-align: -0.2em; }
.site-footer__right { font-style: normal; line-height: 1.6; text-align: right; }

/* ==========================================================
   16  WORDPRESS-KLEINIGKEITEN
   ========================================================== */
.admin-bar .site-header { top: 32px; }
.admin-bar .menu-panel, .admin-bar .menu-backdrop { top: 32px; }
.entry img { border-radius: var(--radius); }
.entry .alignleft { float: left; margin: 0.3rem 1.5rem 1rem 0; }
.entry .alignright { float: right; margin: 0.3rem 0 1rem 1.5rem; }
.entry .aligncenter { margin-inline: auto; }
.entry table { width: 100%; border-collapse: collapse; }
.entry td, .entry th { padding: 0.5rem; border-bottom: 1px solid var(--c-line); text-align: left; }

/* ==========================================================
   17  RESPONSIVE
   ========================================================== */
@media (max-width: 900px) {
  .spotlight { grid-template-columns: 1fr; min-height: 0; }
  .spotlight__media, .spotlight--reverse .spotlight__media { order: 0; aspect-ratio: 16 / 10; min-height: 0; }
  .spotlight__body, .spotlight--reverse .spotlight__body { justify-self: start; max-width: none; }
  .split, .split--contact { grid-template-columns: 1fr; }
  .split > aside { position: static; }
  .map { min-height: 20rem; }
}
@media (max-width: 782px) {
  .admin-bar .site-header, .admin-bar .menu-panel, .admin-bar .menu-backdrop { top: 46px; }
}
@media (max-width: 600px) {
  .panel-figure { float: none; width: 100%; margin: 0 0 1.25rem; }
  .event { grid-template-columns: 1fr; }
  .msg-form { grid-template-columns: 1fr; }
  .tabs { justify-content: flex-start; }
  .site-footer__right { text-align: left; }
  .site-title__logo { width: 2rem; height: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
