/*
Theme Name: deinschwarzwald
Theme URI: https://deinschwarzwald.de/
Author: deinschwarzwald.de
Description: Block-Theme für deinschwarzwald.de mit Orts-Guides, Ausflugszielen und Europa-Park-Planer. Eigene Blöcke für Booking.com, Europa-Park und GetYourGuide bauen Affiliate-Links aus den IDs unter Einstellungen → Affiliate-IDs. Alle Inhalte importierst du unter Werkzeuge → deinschwarzwald-Import.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 6.9
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: deinschwarzwald
*/

/* ==========================================================================
   Design-System: weiße Fläche, fast schwarze Typo,
   Bollenhut-Rot nur für Buchungsaktionen, Logo-Punkt und Emblem-Ringe.
   ========================================================================== */

:root {
  --canvas: #ffffff;
  --ink: #0b100c;
  --ash: #646864;
  --hair: #dfe2de;
  --red: #d4202c;
  --red-press: #b3141f;
  --on-dark: #ffffff;
  --on-dark-muted: rgba(255, 255, 255, 0.72);

  --radius-btn: 10px;
  --radius-card: 20px;
  --radius-pill: 35px;

  --font-display: 'Bricolage Grotesque', 'DM Sans', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --step--1: 0.8125rem;
  --step-0: 1.0625rem;
  --step-1: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --step-2: clamp(1.375rem, 1.2rem + 0.7vw, 1.625rem);
  --step-3: clamp(2rem, 1.35rem + 2.6vw, 3.375rem);
  --step-4: clamp(2.75rem, 1.5rem + 5.6vw, 6.75rem);

  --maxw: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 128px);
  --gap: clamp(20px, 2.4vw, 32px);
}

/* ---------- Basis ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 400 var(--step-0) / 1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 350;
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
h4 { font-size: 1.125rem; font-weight: 600; line-height: 1.25; letter-spacing: 0; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--ink); color: #fff; }
[hidden] { display: none !important; }

.visually-hidden, .screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-btn);
}
.skip-link:focus { top: 16px; }

/* ---------- WordPress-Gerüst ---------- */

.wp-site-blocks { position: relative; padding: 0 !important; }
.wp-site-blocks > * + * { margin-block-start: 0 !important; }
.site-main { display: block; }

/* ---------- Layout ---------- */

.container {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto !important;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section); }
.section + .section { padding-top: 0; }

.grid-cards {
  display: grid;
  gap: clamp(28px, 3vw, 40px) var(--gap);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}

/* ---------- Typo-Bausteine ---------- */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.muted { color: var(--ash); }
.display { font-size: var(--step-4); line-height: 0.98; letter-spacing: -0.035em; }

/* Fließtext in Detailseiten, Gruppen und Textseiten.
   Die Selektoren sind bewusst spezifischer als die Layout-Regeln von WordPress. */
.dsw-prose > p, .dsw-prose > ul, .dsw-prose > ol { max-width: 68ch; margin: 0 0 1em; }
.dsw-prose > ul, .dsw-prose > ol { padding-left: 1.2em; }
.dsw-prose > ul > li + li, .dsw-prose > ol > li + li { margin-top: 0.4em; }
.dsw-prose > h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); margin: 2em 0 0.6em; max-width: 40rem; scroll-margin-top: 24px; }
.dsw-prose > h3 { margin: 1.8em 0 0.5em; }
.dsw-prose a { text-decoration-color: var(--ink); }
.dsw-prose > :first-child { margin-top: 0; }
.dsw-prose > :last-child { margin-bottom: 0; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  font: 400 1rem / 1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn:hover { text-decoration: none; }
.btn-book { background: var(--red); color: #fff; }
.btn-book:hover { background: var(--red-press); color: #fff; }
.btn-line { color: var(--ink); border-color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.9); background: transparent; border-radius: 0; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-block { display: flex; width: 100%; }
.on-dark :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: #fff; }

.arrow-link { display: inline-flex; align-items: center; gap: 0.4em; font-weight: 500; text-decoration: none; }
.arrow-link::after { content: '→'; transition: transform 0.25s ease; }
.arrow-link:hover::after { transform: translateX(3px); }
.arrow-link--book { color: var(--red); }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 40px; padding: 8px 16px;
  border: 1px solid var(--ink); border-radius: var(--radius-pill);
  background: transparent; color: var(--ink);
  font: 400 15px / 1 var(--font-body);
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.chip:hover { background: #f1f2f0; }
.chip[aria-pressed='true'] { background: var(--ink); color: #fff; }

.aff-star { margin-left: 1px; }
.aff-note { font-family: var(--font-mono); font-size: 12px; line-height: 1.5; letter-spacing: 0.02em; color: var(--ash); }
.aff-note a { color: inherit; }
.on-dark .aff-note { color: var(--on-dark-muted); }
.dsw-prose > p.aff-note { font-size: 12px; }

/* ---------- Dunkle Flächen ---------- */

.panel-dark {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: var(--on-dark);
  border-radius: var(--radius-card);
  padding: clamp(28px, 5vw, 60px);
}
.topo {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-size: cover; background-position: center; opacity: 0.13;
}

/* ---------- Kopfzeile ---------- */

.site-header { position: relative; z-index: 20; border-bottom: 1px solid var(--ink); background: var(--canvas); }
.site-header.overlay { position: absolute; inset: 0 0 auto; background: transparent; border-bottom-color: rgba(255, 255, 255, 0.22); color: #fff; }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.site-header .brand { text-decoration: none; margin-right: auto; padding: 6px 0; }
.nav-main ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.nav-main a { text-decoration: none; font-size: 1rem; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav-main a:hover, .nav-main a[aria-current='page'] { border-bottom-color: currentColor; }
.header-inner .header-cta { min-height: 42px; padding: 10px 16px; }
.overlay :focus-visible { outline-color: #fff; }
.nav-mobile { display: none; position: relative; }
.nav-mobile summary {
  list-style: none; cursor: pointer; padding: 10px 16px; border: 1px solid currentColor;
  font-size: 15px; line-height: 1;
}
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile-panel {
  position: absolute; right: 0; top: calc(100% + 10px); width: min(86vw, 320px);
  background: var(--canvas); color: var(--ink); border: 1px solid var(--ink); border-radius: var(--radius-card);
  padding: 20px;
}
.nav-mobile-panel ul { list-style: none; margin: 0 0 16px; padding: 0; }
.nav-mobile-panel li a {
  display: block; padding: 12px 0; text-decoration: none; border-bottom: 1px solid var(--hair);
  font-family: var(--font-display); font-size: 1.375rem; font-weight: 500;
}
@media (max-width: 880px) {
  .nav-main, .header-inner .header-cta { display: none; }
  .nav-mobile { display: block; }
}

/* Wortmarke */
.logo {
  display: inline-flex; align-items: baseline; gap: 0.22em;
  font-family: var(--font-display); font-size: 23px; line-height: 1; letter-spacing: -0.03em; white-space: nowrap;
}
.logo-dein { font-weight: 330; }
.logo-sw { font-weight: 640; }
.logo-i { position: relative; }
.logo-i::after {
  content: ''; position: absolute; left: 50%; top: -0.02em;
  width: 0.27em; height: 0.27em; transform: translateX(-50%);
  border-radius: 50%; background: var(--red);
}

/* ---------- Fußzeile ---------- */

.site-footer {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink); color: var(--on-dark);
  padding: clamp(56px, 8vw, 96px) 0 32px;
  margin-top: var(--section);
}
.site-footer .topo { opacity: 0.1; }
.footer-top { display: grid; gap: 18px; max-width: 520px; margin-bottom: 48px; }
.site-footer .brand { text-decoration: none; color: #fff; }
.footer-claim { color: var(--on-dark-muted); font-size: 1rem; margin: 0; }
.footer-cols {
  display: grid; gap: 32px var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.footer-cols .eyebrow { color: var(--on-dark-muted); margin: 0 0 14px; }
.footer-cols ul { list-style: none; display: grid; gap: 8px; margin: 0; padding: 0; }
.footer-cols a { color: #fff; text-decoration: none; font-size: 0.975rem; }
.footer-cols a:hover { text-decoration: underline; }
.footer-note { margin: 48px 0 0; max-width: 760px; }
.footer-legal { margin: 16px 0 0; font-family: var(--font-mono); font-size: 12px; color: var(--on-dark-muted); }

/* ---------- Hero ---------- */

.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--on-dark); }
.hero--full { min-height: clamp(620px, 94vh, 1000px); }
.hero--page { min-height: clamp(480px, 68vh, 760px); }
.hero-art, .hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-art img { object-fit: cover; object-position: center bottom; }
.hero-topo { opacity: 0.06; }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: rgba(11, 16, 12, 0.42); }
.hero-inner {
  position: relative; min-height: inherit; display: flex; flex-direction: column;
  padding-top: clamp(96px, 12vh, 132px); padding-bottom: clamp(32px, 6vh, 64px);
}
.hero-copy { width: 100%; max-width: 920px; }
.hero--center .hero-copy { margin: auto auto; text-align: center; padding-bottom: 12vh; }
.hero--left .hero-copy { margin-top: clamp(28px, 7vh, 80px); }
.hero-eyebrow { color: var(--on-dark-muted); margin: 0 0 18px; }
.hero-title { font-size: clamp(2.75rem, 1.6rem + 4.6vw, 5.5rem); line-height: 0.98; letter-spacing: -0.035em; }
.hero-title.display { font-size: var(--step-4); }
.hero-lead { margin: 22px 0 0; max-width: 640px; font-size: var(--step-1); line-height: 1.5; color: rgba(255, 255, 255, 0.86); text-wrap: balance; }
.hero--center .hero-lead { margin-inline: auto; }
.hero-meta { margin: 18px 0 0; font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.04em; color: var(--on-dark-muted); }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero--center .hero-actions { justify-content: center; }
.hero .crumbs { margin: 0; }

/* Embleme auf der Startseite */
.emblems { position: absolute; inset: 0; pointer-events: none; }
.emblems .em { position: absolute; width: clamp(108px, 9vw, 150px); pointer-events: auto; }
.emblems .em-1 { left: var(--gutter); top: 38%; }
.emblems .em-2 { left: calc(var(--gutter) + 3vw); top: 60%; }
.emblems .em-3 { right: calc(var(--gutter) + 3vw); top: 37%; }
.emblems .em-4 { right: var(--gutter); top: 59%; }
.emblem { display: inline-block; transform: rotate(var(--r)); transition: transform 0.35s ease; border-radius: 50%; }
a.emblem:hover { transform: rotate(calc(var(--r) - 8deg)) scale(1.04); }
.emblem svg { width: 100%; height: auto; }
@media (max-width: 1180px) {
  .emblems { position: static; display: flex; justify-content: center; gap: 14px; margin-top: 8px; padding-bottom: 8px; }
  .emblems .em { position: static; width: 84px; }
}

/* ---------- Brotkrumen ---------- */

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0; padding: 0; }
.crumbs li { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--ash); }
.crumbs li + li::before { content: '/'; margin-right: 10px; opacity: 0.6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs.light li { color: var(--on-dark-muted); }
.crumbs.light a { color: #fff; }

/* ---------- Abschnittskopf ---------- */

.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 16px 40px; margin: 0 0 clamp(28px, 4vw, 48px);
}
.section-head-copy { max-width: 760px; }
.section-head-copy .eyebrow { margin: 0 0 14px; }
.section-head-text { margin: 16px 0 0; font-size: var(--step-1); line-height: 1.5; color: var(--ash); }

/* ---------- Kacheln und Filter ---------- */

.tile-link { display: block; text-decoration: none; color: inherit; }
.tile-media { aspect-ratio: 4 / 3; border-radius: var(--radius-card); overflow: hidden; background: var(--ink); }
.tile-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 82%; transition: transform 0.35s ease; }
.tile-link:hover .tile-media img { transform: scale(1.035); }
.tile-body { padding-top: 16px; }
.tile-body .eyebrow { margin: 0; }
.tile-title { margin: 8px 0 8px; font-size: 1.5rem; line-height: 1.1; }
.tile-link:hover .tile-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.tile-text { font-size: 1rem; line-height: 1.5; margin: 0; }
.tile-tags { margin: 10px 0 0; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--ash); }

.filter { margin-bottom: clamp(28px, 4vw, 44px); }
.filter .eyebrow { margin: 0 0 14px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-reset {
  background: none; border: 0; padding: 8px 6px; cursor: pointer;
  font: 400 15px/1 var(--font-body); color: var(--ink); text-decoration: underline; text-underline-offset: 0.2em;
}
.filter-status { margin: 14px 0 0; min-height: 1.2em; font-family: var(--font-mono); font-size: 13px; color: var(--ash); }
.tiles-empty { margin: 24px 0 0; padding: 24px; border: 1px solid var(--ink); border-radius: var(--radius-btn); }

/* ---------- Detail-Layout: Spalten-Block mit Klasse „detail“ ---------- */

.wp-block-columns.detail {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(40px, 6vw, 96px) !important;
  align-items: start;
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin: 0 auto !important;
  padding: clamp(36px, 5vw, 72px) var(--gutter) 0;
}
.wp-block-columns.detail > .wp-block-column { min-width: 0; margin: 0; }
.detail-aside > * { position: sticky; top: 24px; }
.detail-aside > * + * { position: static; }
.dsw-prose > p.disclosure, .detail-main > p.disclosure { margin-bottom: 28px; }
.detail-main > .detail-intro > p:first-child { font-size: var(--step-1); line-height: 1.55; }
.detail-main > .detail-section, .detail-main > .band { margin-top: clamp(64px, 8vw, 112px); }
.aside-tags { margin: 16px 0 0; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--ash); }
.mobile-cta { display: none; margin-top: 28px; }
@media (max-width: 1020px) {
  .wp-block-columns.detail { grid-template-columns: minmax(0, 1fr); }
  .detail-aside > * { position: static; }
  .mobile-cta { display: block; }
}
.nearby { margin-top: clamp(80px, 10vw, 140px); }

/* Tipps-Liste (Stil „Tipps“ für den Listen-Block) */
ul.is-style-tips, .dsw-prose > ul.is-style-tips { list-style: none; padding: 0; margin: 0; max-width: none; border-bottom: 1px solid var(--hair); }
ul.is-style-tips > li { padding: 16px 0 16px 32px; border-top: 1px solid var(--hair); position: relative; max-width: 70ch; margin: 0; }
ul.is-style-tips > li + li { margin-top: 0; }
ul.is-style-tips > li::before { content: '→'; position: absolute; left: 0; top: 16px; font-family: var(--font-mono); }

/* Nummerierte Listen: Highlights, Schritte, Tipps, „Gut zu wissen“ */
.numbered { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--ink); }
.numbered > li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 22px 0; border-top: 1px solid var(--ink); margin: 0; }
.numbered .num { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.04em; color: var(--ash); padding-top: 6px; }
.numbered h3 { margin: 0 0 6px; }
.numbered p { max-width: 62ch; margin: 0 0 10px; }
.numbered p:last-child { margin-bottom: 0; }
.dsw-prose > .numbered { margin: 24px 0 36px; }
.know { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.know > li { padding: 24px 0 8px; border-top: 1px solid var(--ink); }
.know .num { display: block; font-family: var(--font-mono); font-size: 13px; color: var(--ash); margin-bottom: 18px; }
.know h3 { margin: 0 0 10px; }
.know p { font-size: 1rem; line-height: 1.6; max-width: 46ch; margin: 0; }

/* Band für Touren und Tickets */
.band { padding: 32px 0; border-block: 1px solid var(--ink); }
.band .eyebrow { margin: 0; }
.band-title { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.25rem); margin: 12px 0; }
.band-text { max-width: 60ch; }

/* ---------- Unterkunftskarten ---------- */

.stay-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.stay {
  display: flex; flex-direction: column; gap: 10px;
  padding: clamp(22px, 2.6vw, 30px);
  border: 1px solid var(--ink); border-radius: var(--radius-card);
  color: inherit; text-decoration: none;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.stay:hover { border-color: var(--red); background: #fffafa; }
.stay .eyebrow { margin: 0; }
.stay-title { font-size: 1.375rem; }
.stay-text { margin: 0; font-size: 1rem; line-height: 1.55; }
.stay-cta { margin-top: auto; padding-top: 6px; }

/* ---------- Buchungsbox (Seitenleiste) ---------- */

.book-panel { padding: clamp(24px, 3vw, 34px); }
.book-eyebrow { color: var(--on-dark-muted); margin: 0; }
.book-title { margin: 10px 0 12px; font-family: var(--font-display); font-weight: 600; font-size: 1.625rem; line-height: 1.12; letter-spacing: -0.015em; }
.book-text { color: var(--on-dark-muted); font-size: 1rem; line-height: 1.55; }
.book-facts { margin: 18px 0 22px; display: grid; gap: 12px; }
.book-facts div { padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.book-facts dt { color: var(--on-dark-muted); margin-bottom: 4px; }
.book-facts dd { margin: 0; font-size: 0.975rem; line-height: 1.45; }
.book-panel .btn-block { margin-top: 8px; }
.book-panel .book-secondary { margin-top: 10px; }
.book-panel .book-note { margin: 16px 0 0; }

.cluster { margin-top: 28px; }
.cluster .eyebrow { margin: 0 0 10px; }
.cluster ul { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--hair); }
.cluster a { display: block; padding: 11px 0; border-top: 1px solid var(--hair); text-decoration: none; font-size: 0.975rem; }
.cluster a:hover { text-decoration: underline; }
.cluster a[aria-current='page'] { font-weight: 600; }
.cluster a[aria-current='page']::before { content: '→ '; }

/* ---------- Faktenliste ---------- */

.facts { display: grid; gap: 0; margin: 0; }
.facts.columns { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); column-gap: var(--gap); }
.fact { padding: 14px 0; border-top: 1px solid var(--ink); }
.fact dt { margin-bottom: 6px; }
.fact dd { margin: 0; font-size: 1rem; line-height: 1.5; }
.facts-note { margin: 14px 0 0; }

/* ---------- Häufige Fragen (Details-Blöcke in einer Gruppe „faq“) ---------- */

.faq { border-bottom: 1px solid var(--ink); }
.faq > .wp-block-details { border-top: 1px solid var(--ink); margin: 0; }
.faq .wp-block-details > summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 20px 0;
  font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.01em;
}
.faq .wp-block-details > summary::-webkit-details-marker { display: none; }
.faq .wp-block-details > summary::after {
  content: '+'; flex: none; font-family: var(--font-mono); font-weight: 400; font-size: 22px; line-height: 1;
  transition: transform 0.25s ease;
}
.faq .wp-block-details[open] > summary::after { transform: rotate(45deg); }
.faq .wp-block-details > :not(summary) { max-width: 68ch; margin: 0 0 22px; }
.dsw-prose > .faq { margin-top: 8px; }

/* ---------- Angebotsbox im Text ---------- */

.offer { margin: 28px 0 36px; padding: clamp(22px, 3vw, 32px); border: 1px solid var(--ink); border-radius: var(--radius-card); max-width: 68ch; }
.offer .eyebrow { margin: 0; }
.offer-title { margin: 8px 0 8px; font-family: var(--font-display); font-weight: 600; font-size: 1.375rem; line-height: 1.2; letter-spacing: -0.01em; }
.offer-text { font-size: 1rem; line-height: 1.55; margin: 0; }
.offer-actions { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.offer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 0; }
.offer-links li { margin: 0; font-size: 0.975rem; }

/* ---------- Für und Wider ---------- */

.procon { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 8px var(--gap); margin: 24px 0 36px; }
.procon .eyebrow { margin: 0 0 10px; }
.procon ul { list-style: none; padding: 0; margin: 0; border-bottom: 1px solid var(--hair); }
.procon li { display: grid; grid-template-columns: 24px 1fr; padding: 12px 0; border-top: 1px solid var(--hair); margin: 0; font-size: 1rem; line-height: 1.5; }
.pc-mark { font-family: var(--font-mono); }

/* ---------- Tabellen ---------- */

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.dsw-prose > .table-wrap, .dsw-prose > .wp-block-dsw-table { margin: 24px 0 12px; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; min-width: 560px; }
.table th, .table td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--hair); }
.table thead th { font-family: var(--font-mono); font-weight: 400; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ash); border-bottom: 1px solid var(--ink); }
.table td:first-child { font-weight: 600; }
.table-note { margin: 12px 0 32px; }

/* ---------- Einzelne Affiliate-Links und Verweise ---------- */

.dsw-link { margin: 0 0 1em; }
.ort-link { padding: 18px 20px; border: 1px solid var(--ink); border-radius: var(--radius-btn); }
.dsw-prose > p.ort-link { margin-top: 20px; }

/* ---------- Europa-Park-Feld auf der Startseite ---------- */

.feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 4vw, 60px); align-items: center; }
.feature-eyebrow { color: var(--on-dark-muted); margin: 0 0 16px; }
.feature h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.25rem); }
.feature-text { margin: 18px 0 0; color: var(--on-dark-muted); font-size: var(--step-1); line-height: 1.5; max-width: 52ch; }
.feature-list { list-style: none; margin: 28px 0; padding: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.feature-list a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: baseline;
  padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, 0.2); text-decoration: none; color: #fff;
}
.feature-list a::after { content: '→'; grid-column: 2; grid-row: 1; }
.feature-list-title { font-weight: 500; }
.feature-list-teaser { grid-column: 1 / -1; color: var(--on-dark-muted); font-size: 0.95rem; }
.feature-list a:hover .feature-list-title { text-decoration: underline; }
.feature-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.feature-actions + .aff-note { margin: 0; }
.feature-art { align-self: stretch; border-radius: 14px; overflow: hidden; min-height: 280px; }
.feature-art img { width: 100%; height: 100%; object-fit: cover; object-position: 60% bottom; }
@media (max-width: 900px) {
  .feature { grid-template-columns: minmax(0, 1fr); }
  .feature-art { order: -1; min-height: 0; width: 100%; aspect-ratio: 16 / 9; }
}

/* ---------- Textseiten (Vorlage „Textseite“) ---------- */

.text-page { padding-top: clamp(32px, 5vw, 64px); }
.text-eyebrow { margin: 40px 0 0; }
.text-title { margin: 16px 0 clamp(32px, 4vw, 48px); font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem); }
.text-body > h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.placeholder { background: #fff3c4; padding: 0 4px; border-radius: 3px; }
.dsw-prose > p.note, p.note { padding: 16px 18px; border: 1px solid var(--ink); border-radius: var(--radius-btn); margin-bottom: 32px; }

/* ---------- Beiträge und Archive (falls genutzt) ---------- */

.archive-list { list-style: none; margin: 0; padding: 0; }
.archive-list > li { padding: 24px 0; border-top: 1px solid var(--ink); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
