/* Schriften liegen auf dem eigenen Server – es gehen keine Daten an Google.
   Das ist in Deutschland wichtig: das Einbinden von Google Fonts direkt vom
   Google-Server wurde mehrfach abgemahnt.

   Die eigentlichen @font-face-Deklarationen (Cormorant Garamond, Archivo)
   stehen in theme-kompass.css, das nach dieser Datei geladen wird und auch
   --display/--sans neu setzt. Hier nur ein Systemfont-Fallback, falls das
   Theme aus irgendeinem Grund nicht laden sollte — bewusst ohne eigene
   Web-Font-Datei, damit nie mehr als zwei Schriften im Spiel sind. */

/* ==========================================================================
   Seatsandstays — Designsystem
   Warme, ruhige Farbwelt statt des üblichen Corporate-Blau der Meilenblogs.
   Handgeschrieben, kein Build-Schritt: Datei ändern, hochladen, fertig.
   ========================================================================== */

:root {
  --cream:      #fbf8f4;
  --cream-deep: #f4ede4;
  --paper:      #fffdfb;
  --ink:        #241f1c;
  --ink-soft:   #4a423b;
  --muted:      #7c6f63;
  --line:       #e7ddd1;
  --line-soft:  #f0e8de;

  --terra:      #b0705b;
  --terra-deep: #8f5745;
  --terra-wash: #f7ece7;
  --plum:       #5a3d4e;
  --plum-wash:  #f3ecf0;
  --sage:       #6b7f6e;
  --sage-wash:  #eef2ee;
  --gold:       #c9a227;
  --gold-wash:  #faf3dd;
  --gold-ink:   #8a6f16;

  --display: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;

  --radius: 1.25rem;
  --wrap: 76rem;
  --shadow: 0 2px 28px rgba(36, 31, 28, .08);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--terra); color: #fff; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: 4px; }

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

h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.15; margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 1.25rem; }
.wrap-narrow { max-width: 46rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.eyebrow {
  font-size: .6875rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted); margin: 0;
}

.muted { color: var(--muted); }
.small { font-size: .8125rem; }
.tiny  { font-size: .6875rem; line-height: 1.55; }
.center { text-align: center; }
.mt-0 { margin-top: 0 } .mt-1 { margin-top: .5rem } .mt-2 { margin-top: 1rem }
.mt-3 { margin-top: 1.5rem } .mt-4 { margin-top: 2rem } .mt-6 { margin-top: 3rem }
.mt-8 { margin-top: 4rem } .mb-2 { margin-bottom: 1rem } .mb-3 { margin-bottom: 1.5rem }

.meta-dot::before { content: "·"; margin: 0 .5rem; color: var(--line); }

/* ------------------------------------------------------------------ Knöpfe */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border-radius: 999px; padding: .6875rem 1.375rem; border: 1px solid transparent;
  font-size: .875rem; font-weight: 550; text-decoration: none; cursor: pointer;
  white-space: nowrap; transition: background-color .18s, color .18s, border-color .18s, transform .18s;
}
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn.is-disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--terra-deep); }
.btn-accent { background: var(--terra); color: #fff; }
.btn-accent:hover { background: var(--terra-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); background: var(--paper); }
.btn-sm { padding: .4375rem .875rem; font-size: .8125rem; }
.btn-block { width: 100%; }
.btn-danger { color: var(--terra-deep); }

/* --------------------------------------------------------------- Formulare */

.field {
  width: 100%; border-radius: .75rem; border: 1px solid var(--line);
  background: var(--paper); padding: .625rem .875rem; font-size: .9375rem;
  transition: border-color .15s, box-shadow .15s;
}
.field::placeholder { color: color-mix(in srgb, var(--muted) 70%, transparent); }
.field:focus { outline: none; border-color: var(--terra); box-shadow: 0 0 0 3px rgba(176,112,91,.16); }
.field:disabled { background: var(--cream-deep); color: var(--muted); }
textarea.field { line-height: 1.6; resize: vertical; }
select.field { appearance: none; background-image:
  url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C6F63' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .625rem center; background-size: 1rem; padding-right: 2.25rem; }
.field-auto { width: auto; }

.label {
  display: block; font-size: .75rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); margin-bottom: .375rem;
}
.hint { font-size: .6875rem; line-height: 1.55; color: var(--muted); margin: .375rem 0 0; }
.check { display: flex; align-items: flex-start; gap: .625rem; cursor: pointer; font-size: .8125rem; line-height: 1.55; color: var(--muted); }
.check input { margin-top: .2rem; width: 1rem; height: 1rem; accent-color: var(--terra); flex: none; }
.error { color: var(--terra-deep); font-size: .8125rem; }

.grid { display: grid; gap: 1rem; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.row-end { margin-left: auto; }

/* ------------------------------------------------------------------ Karten */

.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.card-pad { padding: 1.25rem; }
@media (min-width: 768px) { .card-pad { padding: 1.5rem; } }
.card-head { padding: .875rem 1rem; border-bottom: 1px solid var(--line-soft); }
.card-head h2 { font-size: 1.25rem; }

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

.site-head {
  position: sticky; top: 0; z-index: 50; background: var(--cream);
  border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s;
}
.site-head.scrolled { border-bottom-color: var(--line); background: rgba(251,248,244,.93); backdrop-filter: blur(12px); }
.head-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 4.5rem; }
@media (min-width: 768px) { .head-inner { height: 5rem; } }

.logo { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; }
.logo-word { font-family: var(--display); font-size: 1.6rem; letter-spacing: .02em; color: var(--ink); }
.logo-word span { color: var(--terra); }
.logo-sub { font-size: .5625rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-top: .4rem; }

.nav { display: none; align-items: center; gap: 1.5rem; }
@media (min-width: 1024px) { .nav { display: flex; } }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: .25rem; padding: 1.5rem 0;
  font-size: .9375rem; color: var(--muted); text-decoration: none; transition: color .18s;
}
.nav-link:hover, .nav-item:hover .nav-link { color: var(--ink); }
.nav-link.active { color: var(--ink); }
.nav-link.active::after { content: ""; position: absolute; bottom: 1rem; left: 0; height: 1px; width: 100%; background: var(--terra); }
.nav-caret { width: 11px; height: 11px; opacity: .5; transition: transform .2s; }
.nav-item:hover .nav-caret { transform: rotate(180deg); }
.nav-drop {
  position: absolute; left: 50%; top: 100%; transform: translateX(-50%);
  min-width: 14rem; padding-top: .25rem; visibility: hidden; opacity: 0; transition: .18s; z-index: 20;
}
.nav-item:hover .nav-drop, .nav-item:focus-within .nav-drop { visibility: visible; opacity: 1; }
.nav-drop ul { list-style: none; margin: 0; padding: .375rem; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.nav-drop a { display: block; padding: .5rem .875rem; border-radius: .75rem; font-size: .875rem;
  color: var(--ink-soft); text-decoration: none; }
.nav-drop a:hover { background: var(--cream-deep); color: var(--ink); }

.head-tools { display: flex; align-items: center; gap: .5rem; }
.icon-btn {
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 999px;
  border: 0; background: transparent; color: var(--muted); cursor: pointer; text-decoration: none;
}
.icon-btn:hover { background: var(--cream-deep); color: var(--ink); }
.lang { display: flex; gap: .125rem; border: 1px solid var(--line); border-radius: 999px; padding: .125rem; }
.lang a { padding: .25rem .625rem; border-radius: 999px; font-size: .6875rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.lang a.on { background: var(--ink); color: var(--paper); }
@media (max-width: 640px) { .head-tools .lang, .head-tools .btn-primary { display: none; } }
@media (min-width: 1024px) { .burger { display: none; } }

.mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--cream); max-height: 80vh; overflow-y: auto; }
.mobile-nav.open { display: block; }
@media (min-width: 1024px) { .mobile-nav { display: none !important; } }
.mobile-nav .m-item { border-bottom: 1px solid var(--line-soft); padding: .25rem 0; }
.mobile-nav .m-item:last-child { border-bottom: 0; }
.mobile-nav .m-top { display: block; padding: .875rem 0; font-family: var(--display); font-size: 1.125rem; color: var(--ink); text-decoration: none; }
.mobile-nav .m-kids { display: flex; flex-wrap: wrap; gap: .375rem; padding-bottom: .875rem; }
.mobile-nav .m-kids a { border: 1px solid var(--line); border-radius: 999px; padding: .25rem .75rem;
  font-size: .8125rem; color: var(--muted); text-decoration: none; }

/* ------------------------------------------------------------------ Inhalte */

.hero { position: relative; border-radius: 1.75rem; overflow: hidden; display: block; text-decoration: none; }
.hero-media { position: relative; aspect-ratio: 4 / 5; background: linear-gradient(135deg, var(--ink), var(--plum) 55%, var(--terra-deep)); }
@media (min-width: 640px) { .hero-media { aspect-ratio: 16 / 10; } }
@media (min-width: 1024px) { .hero-media { aspect-ratio: 21 / 9; } }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scrim { position: absolute; inset: 0; background: linear-gradient(to top,
  rgba(20,16,14,.78) 0%, rgba(20,16,14,.45) 38%, rgba(20,16,14,.05) 72%, rgba(20,16,14,0) 100%); }
.hero-body { position: absolute; inset-inline: 0; bottom: 0; padding: 1.5rem; max-width: 46rem; }
@media (min-width: 768px) { .hero-body { padding: 2.5rem; } }
.hero-title { color: #fff; font-size: 2rem; margin-top: 1rem; line-height: 1.12; }
@media (min-width: 640px) { .hero-title { font-size: 2.5rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 3.25rem; } }
.hero-text { color: rgba(255,255,255,.85); margin-top: .875rem; font-size: .9375rem; }
@media (max-width: 640px) { .hero-text { display: none; } }
.hero-cta { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.5rem;
  background: #fff; color: var(--ink); border-radius: 999px; padding: .625rem 1.25rem;
  font-size: .875rem; font-weight: 500; }

.chip {
  display: inline-flex; align-items: center; border-radius: 999px; padding: .25rem .75rem;
  font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: #fff; text-decoration: none;
}
.chip-light { background: rgba(255,255,255,.92); color: var(--ink); backdrop-filter: blur(4px); }
.pill { border: 1px solid var(--line); border-radius: 999px; padding: .5rem 1rem;
  font-size: .875rem; color: var(--muted); text-decoration: none; display: inline-block; }
.pill:hover { border-color: var(--ink); color: var(--ink); }
.pill.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ------------------------------------------------------------ Beitragskarte */

.cards { display: grid; gap: 1.5rem 1.5rem; grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 1024px) { .cards { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px)  { .cards { grid-template-columns: 1fr; } }

.pcard { display: flex; flex-direction: column; }
.pcard-media { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--cream-deep); aspect-ratio: 4/3; }
.pcard-media.small { aspect-ratio: 3/2; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.22,1,.36,1); }
.pcard-media:hover img { transform: scale(1.045); }
.pcard-media .chip { position: absolute; left: .875rem; top: .875rem; }
.pcard-ph { position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--display); font-size: 2rem; color: var(--line); }
.pcard h3 { font-size: 1.375rem; margin-top: 1rem; line-height: 1.3; }
.pcard h3 a { text-decoration: none; }
.pcard h3 a:hover { color: var(--terra-deep); }
.pcard p { margin: .625rem 0 0; font-size: .9375rem; color: var(--muted); }
.pcard .meta { margin-top: .75rem; font-size: .75rem; color: var(--muted); }
.clamp3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.clamp2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ------------------------------------------------------------- Artikeltext */

.prose { font-size: 1.0625rem; line-height: 1.8; color: var(--ink-soft); }
@media (min-width: 768px) { .prose { font-size: 1.125rem; } }
.prose p { margin: 0 0 1.5rem; text-align: justify; text-align-last: left; hyphens: auto; -webkit-hyphens: auto; }
.prose a { color: var(--terra-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--ink); }
.prose strong { color: var(--ink); font-weight: 650; }
.prose h2 { font-size: 1.75rem; margin: 3rem 0 1rem; color: var(--ink); scroll-margin-top: 7rem; }
.prose h3 { font-size: 1.375rem; margin: 2.25rem 0 .75rem; color: var(--ink); scroll-margin-top: 7rem; }
@media (min-width: 768px) { .prose h2 { font-size: 2rem; } .prose h3 { font-size: 1.5rem; } }
.prose ul, .prose ol { margin: 0 0 1.5rem; padding-left: 1.5rem; }
.prose li { margin-bottom: .5rem; }
.prose li::marker { color: var(--terra); }
.prose .lead { font-family: var(--display); font-size: 1.3125rem; line-height: 1.65; color: var(--ink); text-align: left; hyphens: none; -webkit-hyphens: none; }
@media (min-width: 768px) { .prose .lead { font-size: 1.4375rem; } }
.prose img.inline-img { display: block; width: 100%; height: auto; margin: 1.75rem 0; border-radius: var(--radius); }

.fig { margin: 2.25rem 0; }
.fig img { border-radius: var(--radius); }
.fig figcaption { margin-top: .625rem; text-align: center; font-size: .8125rem; font-style: italic; color: var(--muted); }
.fig.is-wide { margin-inline: -2rem; }
@media (max-width: 900px) { .fig.is-wide { margin-inline: 0; } }
.gallery { display: grid; gap: .625rem; }
.gallery.cols-2 { grid-template-columns: repeat(2, 1fr); }
.gallery.cols-3 { grid-template-columns: repeat(3, 1fr); }
.gallery img { aspect-ratio: 4/3; object-fit: cover; }
.gallery figcaption { grid-column: 1 / -1; }

.pull { margin: 2.5rem 0; border-left: 2px solid var(--terra); padding-left: 1.5rem; }
.pull blockquote { margin: 0; font-family: var(--display); font-size: 1.25rem; line-height: 1.55; color: var(--ink); }
@media (min-width: 768px) { .pull blockquote { font-size: 1.5rem; } }
.pull figcaption { margin-top: .75rem; font-size: .875rem; color: var(--muted); }

.callout { margin: 2rem 0; border-radius: var(--radius); border: 1px solid; padding: 1.25rem; }
.callout > div { font-size: .9375rem; color: var(--ink-soft); }
.callout-label { margin: 0 0 .625rem; font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.callout.tipp    { background: var(--sage-wash);  border-color: rgba(107,127,110,.25); }
.callout.tipp .callout-label { color: var(--sage); }
.callout.achtung { background: var(--terra-wash); border-color: rgba(176,112,91,.25); }
.callout.achtung .callout-label { color: var(--terra-deep); }
.callout.info    { background: var(--plum-wash);  border-color: rgba(90,61,78,.2); }
.callout.info .callout-label { color: var(--plum); }
.callout.sparen  { background: var(--gold-wash);  border-color: rgba(201,162,39,.3); }
.callout.sparen .callout-label { color: var(--gold-ink); }

.steps { margin: 2.5rem 0; }
.steps ol { list-style: none; margin: 0; padding: 0; }
.steps li { display: flex; gap: 1.125rem; padding-bottom: 1.5rem; }
.step-no { flex: none; display: grid; place-items: center; width: 2.25rem; height: 2.25rem;
  border-radius: 999px; background: var(--ink); color: var(--paper); font-family: var(--display); }
.step-body { min-width: 0; flex: 1; }
.step-title { font-family: var(--display); font-size: 1.125rem; margin: 0; color: var(--ink); }
.step-body > div { font-size: .9375rem; color: var(--ink-soft); margin-top: .375rem; }
.step-img { margin-top: .875rem; max-width: 32rem; border-radius: var(--radius); border: 1px solid var(--line); }

.rating { margin: 2.5rem 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.rating-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.25rem; background: var(--cream-deep); border-bottom: 1px solid var(--line-soft); }
.rating-title { font-family: var(--display); font-size: 1.25rem; margin: .25rem 0 0; color: var(--ink); }
.rating-sub { font-size: .875rem; color: var(--muted); margin: 0; }
.rating-score { font-size: .875rem; color: var(--muted); }
.rating-score span { font-family: var(--display); font-size: 2.25rem; color: var(--terra); }
.rating-row { display: flex; align-items: center; gap: 1rem; padding: .75rem 1.25rem; border-bottom: 1px solid var(--line-soft); font-size: .9375rem; }
.rating-row > span:first-child { flex: 1; color: var(--ink-soft); }
.stars { display: flex; gap: .125rem; }
.stars svg { width: 15px; height: 15px; }
.rating-verdict { padding: 1rem 1.25rem; }
.rating-verdict > div { font-size: .9375rem; color: var(--ink-soft); margin-top: .375rem; }

.proscons { display: grid; gap: .875rem; grid-template-columns: 1fr 1fr; margin: 2.25rem 0; }
@media (max-width: 640px) { .proscons { grid-template-columns: 1fr; } }
.proscons > div { border-radius: var(--radius); padding: 1.25rem; border: 1px solid; }
.proscons .pro { background: var(--sage-wash); border-color: rgba(107,127,110,.25); }
.proscons .con { background: var(--terra-wash); border-color: rgba(176,112,91,.25); }
.pc-label { margin: 0 0 .75rem; font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.proscons .pro .pc-label { color: var(--sage); }
.proscons .con .pc-label { color: var(--terra-deep); }
.proscons ul { margin: 0; padding-left: 1.125rem; font-size: .9375rem; color: var(--ink-soft); }

.cta { margin: 2.5rem 0; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; background: linear-gradient(135deg, var(--cream-deep), var(--paper)); }
@media (min-width: 768px) { .cta { padding: 2rem; } }
.cta-title { font-family: var(--display); font-size: 1.5rem; margin: .5rem 0 0; color: var(--ink); line-height: 1.3; }
.cta-text { font-size: .9375rem; color: var(--ink-soft); margin-top: .625rem; }
.cta .btn { margin-top: 1.25rem; }
.disclosure { margin: .875rem 0 0; font-size: .75rem; line-height: 1.55; color: var(--muted); }

.faq { margin: 2.5rem 0; }
.faq h2 { font-size: 1.75rem; margin-bottom: 1.25rem; }
.faq-list { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.faq details { padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; font-family: var(--display); font-size: 1.125rem; color: var(--ink); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--muted); font-family: var(--sans); }
.faq details[open] summary::after { content: "−"; }
.faq details > div { margin-top: .625rem; font-size: .9375rem; color: var(--ink-soft); }

.divider { display: flex; justify-content: center; gap: .5rem; margin: 3rem 0; }
.divider span { width: 4px; height: 4px; border-radius: 999px; background: var(--line); }

.video { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer; display: grid;
  place-content: center; gap: .75rem; text-align: center; color: #fff;
  background: linear-gradient(135deg, var(--ink), #3a322c); }
.video-icon { width: 4rem; height: 4rem; margin: 0 auto; border-radius: 999px; background: rgba(255,255,255,.95);
  display: grid; place-items: center; }
.video-icon::after { content: ""; border-left: 16px solid var(--ink); border-top: 10px solid transparent;
  border-bottom: 10px solid transparent; margin-left: 4px; }
.video-play small { display: block; max-width: 22rem; margin: 0 auto; padding: 0 1.5rem;
  font-size: .6875rem; line-height: 1.5; color: rgba(255,255,255,.6); }

.toc { margin-bottom: 2.5rem; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; background: var(--paper); }
.toc ol { list-style: none; margin: .75rem 0 0; padding: 0; }
.toc li { display: flex; gap: .75rem; font-size: .9375rem; margin-bottom: .5rem; }
.toc li span { font-family: var(--display); color: var(--muted); }
.toc a { color: var(--ink-soft); text-decoration: none; }
.toc a:hover { color: var(--terra-deep); }

/* ------------------------------------------------------- Serien-Navigation */

.series-nav { margin-bottom: 2.5rem; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem; background: var(--cream); }
.series-prevnext { display: flex; justify-content: space-between; gap: 1rem; margin-top: .5rem;
  font-family: var(--display); font-size: 1.0625rem; }
.series-prevnext a { color: var(--ink); text-decoration: none; }
.series-prevnext a.next { text-align: right; }
.series-prevnext a:hover { color: var(--terra-deep); }
.series-list { list-style: none; margin: 1rem 0 0; padding: .875rem 0 0; border-top: 1px solid var(--line-soft); }
.series-list li { display: flex; gap: .75rem; font-size: .875rem; margin-bottom: .375rem; }
.series-list li span:first-child { font-family: var(--display); color: var(--muted); }
.series-list a { color: var(--ink-soft); text-decoration: none; }
.series-list a:hover { color: var(--terra-deep); }
.series-list li.on span { color: var(--ink); font-weight: 600; }

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

.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); }
.tbl { width: 100%; border-collapse: collapse; font-size: .875rem; }
.tbl th { text-align: left; font-size: .6875rem; font-weight: 600; letter-spacing: .09em;
  text-transform: uppercase; color: var(--muted); padding: .625rem .875rem;
  border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: .8125rem .875rem; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover { background: rgba(244,237,228,.45); }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ Deals */

.deal-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 1100px) { .deal-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 700px)  { .deal-grid { grid-template-columns: 1fr; } }

.dcard { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--paper); transition: border-color .2s, box-shadow .2s; }
.dcard:hover { border-color: rgba(36,31,28,.3); box-shadow: var(--shadow); }
.dcard-media { position: relative; aspect-ratio: 16/9; display: block; text-decoration: none; overflow: hidden; }
.dcard-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dcard-media.has-photo::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(18,39,28,.82), rgba(18,39,28,.15) 55%, transparent 75%); }
.dcard-media .chips { position: absolute; left: .875rem; top: .875rem; display: flex; flex-wrap: wrap; gap: .375rem; z-index: 1; }
.dcard-route { position: absolute; inset-inline: 0; bottom: 0; padding: 1.25rem; z-index: 1; }
.dcard-route b { display: block; font-family: var(--display); font-weight: 500; font-size: 1.375rem; color: #fff; line-height: 1.2; }
.dcard-route span { display: block; margin-top: .375rem; font-size: .75rem; color: rgba(255,255,255,.7); }
.dcard-body { display: flex; flex-direction: column; flex: 1; padding: 1.25rem; }
.dcard-body h3 { font-size: 1.125rem; line-height: 1.35; }
.dcard-body h3 a { text-decoration: none; }
.dcard-body h3 a:hover { color: var(--terra-deep); }
.dcard-facts { margin: .875rem 0 0; padding-top: .875rem; border-top: 1px solid var(--line-soft); font-size: .75rem; }
.dcard-facts div { display: flex; justify-content: space-between; gap: .5rem; margin-bottom: .375rem; }
.dcard-facts dt { color: var(--muted); } .dcard-facts dd { margin: 0; color: var(--ink-soft); text-align: right; }
.dcard-foot { margin-top: 1rem; display: flex; align-items: flex-end; justify-content: space-between; gap: .75rem; }
.dcard-price { font-family: var(--display); font-size: 1.25rem; color: var(--terra-deep); }

.deal-hero { position: relative; aspect-ratio: 21/9; border-radius: var(--radius); overflow: hidden;
  margin-top: 1.25rem; background: var(--cream); }
.deal-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.badge-Fehlerpreis    { background: linear-gradient(135deg,#3A1E18,#8F3B2A 55%,#B0705B); }
.badge-BusinessClass  { background: linear-gradient(135deg,#241F1C,#4A3B2E 55%,#8A6F16); }
.badge-FirstClass     { background: linear-gradient(135deg,#2B2118,#6B5220 55%,#C9A227); }
.badge-Hotel          { background: linear-gradient(135deg,#1E2A3D,#3A5478 55%,#4A6FA5); }
.badge-Statusaktion   { background: linear-gradient(135deg,#26332A,#4A6350 55%,#6B7F6E); }
.badge-PunkteAktion   { background: linear-gradient(135deg,#3D2230,#5A3D4E 55%,#A8577B); }
.badge-Flugdeal       { background: linear-gradient(135deg,#241F1C,#5A3D4E 55%,#8F5745); }

.filters { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.filters-head { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem;
  padding: .875rem 1.25rem; border-bottom: 1px solid var(--line-soft); }
.filters-body { display: grid; gap: 1rem; padding: 1.25rem; grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 900px) { .filters-body { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 600px) { .filters-body { grid-template-columns: 1fr; } }
.filters-body[hidden] { display: none; }
.active-filters { display: flex; flex-wrap: wrap; gap: .375rem; padding: .625rem 1.25rem; border-bottom: 1px solid var(--line-soft); }
.fchip { display: inline-flex; align-items: center; gap: .375rem; background: var(--cream-deep);
  border: 0; border-radius: 999px; padding: .25rem .75rem; font-size: .75rem; color: var(--ink);
  text-decoration: none; cursor: pointer; }
.fchip:hover { background: var(--line); }

.facts { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.facts h2 { padding: .75rem 1.25rem; margin: 0; font-size: 1.125rem; background: var(--cream-deep); border-bottom: 1px solid var(--line-soft); }
.facts .frow { display: flex; justify-content: space-between; gap: 1rem; padding: .625rem 1.25rem;
  border-bottom: 1px solid var(--line-soft); font-size: .9375rem; }
.facts .frow:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); } .facts dd { margin: 0; font-weight: 500; text-align: right; }

.box-sage { background: var(--sage-wash); border: 1px solid rgba(107,127,110,.25); border-radius: var(--radius); padding: 1.5rem; }
.box-plum { background: var(--plum-wash); border: 1px solid rgba(90,61,78,.2);  border-radius: var(--radius); padding: 1.5rem; }
.box-gold { background: var(--gold-wash); border: 1px solid rgba(201,162,39,.4); border-radius: var(--radius); padding: 1rem 1.25rem; }

/* Echter Cookie-Consent-Banner (siehe _cookie_banner.php): Ablehnen/
   Einstellungen/Akzeptieren plus Panel mit Kategorien. Ersetzt den frueheren
   rein informativen .cookie-hint, seit Google AdSense echte Werbe-Cookies
   setzt und eine Auswahl braucht statt nur eines Hinweises. */
.cookie-consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: 1rem; display: flex; justify-content: center; }
.cookie-consent[hidden] { display: none; }
.cookie-consent-box { max-width: 40rem; width: 100%; background: var(--ink);
  color: var(--paper); border-radius: var(--radius); box-shadow: 0 -2px 12px rgba(36,31,28,.18); overflow: hidden; }
.cookie-consent-main { padding: 1.25rem 1.5rem; display: flex; flex-direction: column; gap: .875rem; }
.cookie-consent-text { margin: 0; font-size: .8125rem; line-height: 1.55; color: rgba(255,253,251,.85); }
.cookie-consent-text a { color: var(--paper); text-decoration: underline; }
.cookie-consent-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.cookie-consent-actions .btn-ghost,
.cookie-consent-panel-actions .btn-ghost {
  background: transparent; color: var(--paper); border: 1px solid rgba(255,253,251,.35);
}
.cookie-consent-actions .btn-ghost:hover,
.cookie-consent-panel-actions .btn-ghost:hover { background: rgba(255,253,251,.1); border-color: rgba(255,253,251,.6); }

.cookie-consent-panel { border-top: 1px solid rgba(255,253,251,.15); padding: 1rem 1.5rem 1.25rem; }
.cookie-consent-panel[hidden] { display: none; }
.cookie-consent-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  padding: .75rem 0; border-bottom: 1px solid rgba(255,253,251,.1); }
.cookie-consent-row:last-of-type { border-bottom: 0; }
.cookie-consent-row strong { font-size: .8125rem; color: var(--paper); }
.cookie-consent-row p { margin: .25rem 0 0; font-size: .75rem; line-height: 1.5; color: rgba(255,253,251,.65); }
.cookie-consent-panel-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .25rem; }

.cc-switch { position: relative; display: inline-block; width: 2.5rem; height: 1.5rem; flex: none; }
.cc-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.cc-switch span { position: absolute; inset: 0; background: rgba(255,253,251,.25); border-radius: 999px; transition: background .15s; }
.cc-switch span::before { content: ""; position: absolute; top: 2px; left: 2px; width: 1.25rem; height: 1.25rem;
  background: var(--paper); border-radius: 999px; transition: transform .15s; }
.cc-switch input:checked + span { background: var(--terra); }
.cc-switch input:checked + span::before { transform: translateX(1rem); }
.cc-switch input:disabled + span { opacity: .6; cursor: default; }

.cookie-settings-link { background: none; border: 0; padding: 0; font: inherit; color: inherit;
  text-decoration: underline; cursor: pointer; }

/* Kommentare unter Beiträgen */
.comment-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.25rem; }
.comment { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.comment-meta { margin: 0 0 .375rem; display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.comment-meta strong { font-family: var(--display); font-size: 1.0625rem; color: var(--ink); }
.comment-body { margin: 0; font-size: .9375rem; line-height: 1.7; color: var(--ink-soft); white-space: pre-wrap; }

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

.split { display: grid; gap: 2rem; grid-template-columns: minmax(0,1fr) 20rem; }
.split > article { max-width: 46rem; }
@media (max-width: 1024px) { .split > article { max-width: none; } }
@media (max-width: 1024px) { .split { grid-template-columns: 1fr; } }
.sticky { position: sticky; top: 7rem; align-self: start; }
@media (max-width: 1024px) { .sticky { position: static; } }

/* -------------------------------------------------------------- Fußbereich */

.site-foot { margin-top: 6rem; border-top: 1px solid var(--line); background: var(--paper); }
.foot-news { border-bottom: 1px solid var(--line); background: var(--cream-deep); padding: 3.5rem 0; }
.foot-news-inner { display: grid; gap: 2rem; max-width: 56rem; margin-inline: auto; align-items: center; }
@media (min-width: 768px) { .foot-news-inner { grid-template-columns: 1.15fr 1fr; gap: 3rem; } }
.foot-cols { display: grid; gap: 2.5rem; padding: 3.5rem 0; grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 900px) { .foot-cols { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .foot-cols { grid-template-columns: 1fr; } }
.foot-cols ul { list-style: none; margin: 1rem 0 0; padding: 0; }
.foot-cols li { margin-bottom: .625rem; }
.foot-cols a { font-size: .875rem; color: var(--muted); text-decoration: none; }
.foot-cols a:hover { color: var(--ink); }
.foot-legal { border-top: 1px solid var(--line-soft); padding: 1.75rem 0 3rem; }
.socials { display: flex; gap: .5rem; margin-top: 1.25rem; }
.socials a { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted); }
.socials a:hover { border-color: var(--ink); color: var(--ink); }
.socials svg { width: 16px; height: 16px; }

/* --------------------------------------------------------------- Rechtstexte */

.legal h2 { font-size: 1.5rem; margin: 2.75rem 0 .75rem; color: var(--ink); }
@media (min-width: 768px) { .legal h2 { font-size: 1.75rem; } }
.legal h3 { font-size: 1.125rem; margin: 1.75rem 0 .5rem; color: var(--ink); }
.legal p, .legal li { font-size: .9375rem; line-height: 1.7; color: var(--ink-soft); }
.legal p { margin: 0 0 1rem; }
.legal ul { margin: 0 0 1rem; padding-left: 1.25rem; }
.legal li { margin-bottom: .375rem; }
.legal li::marker { color: var(--terra); }
.legal a { color: var(--terra-deep); }
.legal code { background: var(--cream-deep); padding: .0625rem .3125rem; border-radius: .25rem; font-size: .875em; }
.todo { background: var(--gold-wash); border: 1px solid rgba(201,162,39,.4); border-radius: .75rem;
  padding: .875rem 1rem; margin: 1rem 0; font-size: .875rem; line-height: 1.6; color: var(--ink-soft); }

/* ----------------------------------------------------------------- Hinweise */

.flash { border-radius: .75rem; padding: .75rem 1rem; margin-bottom: 1.25rem; font-size: .875rem; }
.flash.info    { background: var(--plum-wash);  color: var(--plum); }
.flash.success { background: var(--sage-wash);  color: var(--sage); }
.flash.error   { background: var(--terra-wash); color: var(--terra-deep); }

.empty { padding: 3rem 1.5rem; text-align: center; }
.empty h2 { font-size: 1.5rem; }
.empty p { max-width: 30rem; margin: .75rem auto 0; font-size: .9375rem; color: var(--muted); }

@media print {
  .site-head, .site-foot, .no-print { display: none !important; }
  body { background: #fff; }
}

/* ==========================================================================
   Redaktionsbereich
   ========================================================================== */

.admin-head { position: sticky; top: 0; z-index: 50; background: rgba(255,253,251,.96);
  border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.admin-head .wrap { max-width: 88rem; }
.admin-bar { display: flex; align-items: center; justify-content: space-between; gap: .75rem 1rem; min-height: 4rem; flex-wrap: wrap; padding-block: .5rem; }
.admin-logo { font-family: var(--display); font-size: 1.25rem; color: var(--ink); text-decoration: none; }
.admin-logo span { color: var(--terra); }
.admin-nav { display: flex; gap: .25rem; overflow-x: auto; padding-bottom: .625rem; margin-inline: -1.25rem; padding-inline: 1.25rem; }
.admin-nav a { flex: none; border-radius: 999px; padding: .375rem .875rem; font-size: .875rem;
  color: var(--muted); text-decoration: none; border: 1px solid var(--line); white-space: nowrap; }
.admin-nav a:hover { color: var(--ink); border-color: var(--ink); }
.admin-nav a.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.admin-main { max-width: 88rem; margin-inline: auto; padding: 1.5rem 1.25rem 4rem; }
.admin-title { font-size: 1.875rem; margin: 0; }
.admin-sub { margin: .25rem 0 0; font-size: .875rem; color: var(--muted); max-width: 46rem; line-height: 1.6; }
.admin-header { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.5rem; }

.kpi { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.kpi .v { font-family: var(--display); font-size: 1.875rem; line-height: 1; margin: .5rem 0 0; }
.kpi .d { margin-top: .5rem; font-size: .75rem; }
.kpi .up { color: var(--sage); } .kpi .down { color: var(--terra-deep); }

.bar { height: 4px; border-radius: 999px; background: var(--cream-deep); overflow: hidden; margin-top: .375rem; }
.bar > i { display: block; height: 100%; border-radius: 999px; background: var(--terra); }
.bar.plum > i { background: var(--plum); }

.status { display: inline-block; border-radius: 999px; padding: .25rem .625rem; font-size: .6875rem; font-weight: 500; }
.st-draft     { background: var(--cream-deep); color: var(--muted); }
.st-review    { background: var(--gold-wash);  color: var(--gold-ink); }
.st-scheduled { background: var(--plum-wash);  color: var(--plum); }
.st-published, .st-open, .st-ok { background: var(--sage-wash); color: var(--sage); }
.st-closed, .st-failed { background: var(--terra-wash); color: var(--terra-deep); }
.st-soon, .st-queued { background: var(--gold-wash); color: var(--gold-ink); }

.dot { display: inline-block; width: 10px; height: 10px; border-radius: 999px; flex: none; }
.dot.green { background: var(--sage); } .dot.amber { background: var(--gold); }
.dot.grey { background: var(--line); }  .dot.red { background: var(--terra); }

/* Modale Fenster */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(36,31,28,.55);
  display: grid; place-items: start center; overflow-y: auto; padding: 1rem; }
.modal[hidden] { display: none; }
.modal-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  width: 100%; max-width: 42rem; margin: 2rem 0; padding: 1.5rem; }
.modal-box.wide { max-width: 64rem; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }

/* Baukasten */
.editor-grid { display: grid; gap: 1.25rem; grid-template-columns: minmax(0,1fr) 21rem; }
@media (max-width: 1100px) { .editor-grid { grid-template-columns: 1fr; } }
.editor-bar { position: sticky; top: 4rem; z-index: 40; background: rgba(251,248,244,.96);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
  margin: -1.5rem -1.25rem 1.25rem; padding: .75rem 1.25rem; }
.tabs { display: flex; gap: .25rem; border: 1px solid var(--line); border-radius: 999px;
  padding: .25rem; background: var(--paper); margin-bottom: 1rem; }
.tabs button { flex: 1; border: 0; background: transparent; border-radius: 999px; padding: .5rem 1rem;
  font-size: .875rem; color: var(--muted); cursor: pointer; }
.tabs button.on { background: var(--ink); color: var(--paper); }

.blk { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); overflow: hidden; margin-bottom: .625rem; }
.blk-head { display: flex; align-items: center; gap: .5rem; padding: .5rem .75rem;
  background: var(--cream); border-bottom: 1px solid var(--line-soft); }
.blk-name { flex: 1; text-align: left; border: 0; background: none; cursor: pointer; font-size: .875rem;
  font-weight: 500; color: var(--ink); display: flex; align-items: center; gap: .5rem; }
.blk-name em { font-style: normal; font-weight: 400; font-size: .75rem; color: var(--muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.blk-tools { display: flex; gap: .125rem; flex: none; }
.blk-tools button { width: 1.75rem; height: 1.75rem; display: grid; place-items: center; border: 0;
  background: none; border-radius: .5rem; color: var(--muted); cursor: pointer; font-size: .875rem; }
.blk-tools button:hover { background: var(--cream-deep); color: var(--ink); }
.blk-tools button:disabled { opacity: .25; cursor: default; }
.blk-body { padding: .875rem; }
.blk-hint { font-size: .6875rem; line-height: 1.5; color: var(--muted); margin: 0 0 .75rem; }
.blk-add { display: flex; justify-content: center; padding: .375rem 0; }
.blk-add button { border: 1px solid var(--line); background: var(--paper); border-radius: 999px;
  padding: .25rem .75rem; font-size: .75rem; color: var(--muted); cursor: pointer; }
.blk-add button:hover { border-color: var(--ink); color: var(--ink); }
.blk-empty { border: 2px dashed var(--line); border-radius: var(--radius); background: var(--paper);
  padding: 2.5rem 1.5rem; text-align: center; }

.picker-groups { display: grid; gap: 1.25rem; max-height: 62vh; overflow-y: auto; margin-top: 1rem; }
.picker-list { display: grid; gap: .5rem; grid-template-columns: 1fr 1fr; margin-top: .5rem; }
@media (max-width: 640px) { .picker-list { grid-template-columns: 1fr; } }
.picker-item { display: flex; gap: .75rem; text-align: left; border: 1px solid var(--line);
  border-radius: .75rem; padding: .75rem; background: var(--paper); cursor: pointer; }
.picker-item:hover { border-color: var(--ink); background: var(--cream); }
.picker-item b { display: block; font-size: .875rem; font-weight: 500; color: var(--ink); }
.picker-item small { display: block; margin-top: .25rem; font-size: .6875rem; line-height: 1.5; color: var(--muted); }

.check-list { margin: 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: .625rem; padding: .625rem 1rem; border-bottom: 1px solid var(--line-soft); }
.check-list li:last-child { border-bottom: 0; }
.check-mark { flex: none; width: 1rem; height: 1rem; border-radius: 999px; display: grid; place-items: center;
  margin-top: .15rem; color: #fff; font-size: .5rem; font-weight: 700; }
.check-mark.ok { background: var(--sage); } .check-mark.must { background: var(--terra); }
.check-mark.opt { background: var(--line); }
.check-list p { margin: 0; font-size: .8125rem; line-height: 1.35; color: var(--ink); }
.check-list li.done p { color: var(--muted); text-decoration: line-through; }
.check-list small { display: block; margin-top: .25rem; font-size: .6875rem; line-height: 1.5; color: var(--muted); }

.serp { border: 1px solid var(--line); border-radius: .75rem; background: var(--cream); padding: 1rem; margin-top: 1.25rem; }
.serp .u { font-size: .8125rem; color: #4d5156; }
.serp .t { font-size: 1.125rem; color: #1a0dab; margin: .125rem 0; line-height: 1.3; }
.serp .d { font-size: .8125rem; color: #4d5156; line-height: 1.5; }

.media-grid { display: grid; gap: .75rem; grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1000px) { .media-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .media-grid { grid-template-columns: repeat(2, 1fr); } }
.media-grid button { position: relative; aspect-ratio: 1; border: 1px solid var(--line);
  border-radius: .75rem; overflow: hidden; padding: 0; background: var(--cream-deep); cursor: pointer; }
.media-grid img { width: 100%; height: 100%; object-fit: cover; }
.media-grid .warn { position: absolute; left: .5rem; top: .5rem; background: var(--terra); color: #fff;
  border-radius: 999px; padding: .125rem .5rem; font-size: .625rem; }

.drop { border: 2px dashed var(--line); border-radius: .75rem; background: var(--cream);
  padding: 1.5rem; text-align: center; }
.drop.over { border-color: var(--terra); background: var(--terra-wash); }

.plan-item { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding: 1rem; }
.plan-date { text-align: center; flex: none; }
.plan-date b { display: block; font-family: var(--display); font-size: 1.5rem; line-height: 1; }
.plan-date span { font-size: .625rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.plan-sep { width: 1px; height: 2.5rem; background: var(--line); flex: none; }
.section-head { display: flex; align-items: center; gap: .75rem; margin: 0 0 .625rem; font-size: 1.25rem; }
.section-head i { flex: 1; height: 1px; background: var(--line); }
.section-head span { font-size: .75rem; font-weight: 400; color: var(--muted); }

/* -------------------------------------------------------------------------- */
/* Baukasten: Werkzeugleiste, Sortiergriff, Formatierung                      */
/* -------------------------------------------------------------------------- */

.editor-actions { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
  padding: .5rem .625rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper); }

kbd { font-family: inherit; font-size: .6875rem; background: var(--cream-deep);
  border: 1px solid var(--line); border-radius: .25rem; padding: .0625rem .3125rem; }

/* Nur der Griff startet das Ziehen – sonst ließe sich in den Feldern
   kein Text mehr markieren. */
.blk-grip { flex: none; width: 1.5rem; height: 1.75rem; display: grid; place-items: center;
  border: 0; background: none; color: var(--muted); cursor: grab; font-size: .875rem;
  border-radius: .375rem; }
.blk-grip:hover { background: var(--cream-deep); color: var(--ink); }
.blk-grip:active { cursor: grabbing; }

.blk.dragging { opacity: .45; }
.blk.drag-over { border-color: var(--terra); box-shadow: 0 -3px 0 -1px var(--terra); }

.rich { border: 1px solid var(--line); border-radius: .5rem; overflow: hidden; background: var(--paper); }
.rich .fmt-bar { display: flex; gap: .125rem; padding: .25rem;
  background: var(--cream); border-bottom: 1px solid var(--line-soft); }
.rich textarea.field { border: 0; border-radius: 0; background: transparent; }
.rich textarea.field:focus { outline: none; box-shadow: none; }
.rich:focus-within { border-color: var(--ink); }

.fmt-btn { width: 1.75rem; height: 1.75rem; display: grid; place-items: center;
  border: 0; background: none; border-radius: .3125rem; cursor: pointer;
  font-size: .75rem; font-weight: 600; color: var(--muted); }
.fmt-btn:hover { background: var(--paper); color: var(--ink); }

.rich-images { display: flex; flex-wrap: wrap; gap: .5rem; padding: .5rem .625rem;
  background: var(--cream); border-top: 1px solid var(--line-soft); }
.rich-images[hidden] { display: none; }
.rich-img { position: relative; width: 4rem; height: 4rem; border-radius: .375rem; overflow: hidden;
  border: 1px solid var(--line); flex: none; }
.rich-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rich-img-x { position: absolute; top: .125rem; right: .125rem; width: 1.125rem; height: 1.125rem;
  border: 0; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; font-size: .625rem;
  line-height: 1; cursor: pointer; display: grid; place-items: center; }
.rich-img-x:hover { background: rgba(0,0,0,.8); }

/* -------------------------------------------------------------------------- */
/* Leinwand: Absatz, Überschrift, Zitat und Liste als durchgehender,          */
/* direkt bearbeitbarer Fließtext — wie bei WordPress, statt einzelner        */
/* Formularkästen. Bild, Tabelle, FAQ & Co. bleiben eigene Kästen (.blk).     */
/* -------------------------------------------------------------------------- */

.canvas-block { position: relative; margin: 0 0 .25rem; }
.canvas-block:hover .canvas-gutter,
.canvas-block:focus-within .canvas-gutter { opacity: 1; pointer-events: auto; }

.canvas-gutter { position: absolute; left: -2.25rem; top: .125rem; z-index: 2;
  display: flex; flex-direction: column; gap: .125rem;
  opacity: 0; pointer-events: none; transition: opacity .12s; }
@media (max-width: 64rem) { .canvas-gutter { left: -2rem; } }

.canvas-grip, .canvas-del, .canvas-pill {
  border: 0; background: var(--paper); box-shadow: 0 1px 3px rgba(36,31,28,.12);
  color: var(--muted); cursor: pointer; }
.canvas-grip, .canvas-del { width: 1.75rem; height: 1.75rem; border-radius: .5rem;
  display: grid; place-items: center; font-size: .8125rem; }
.canvas-grip { cursor: grab; } .canvas-grip:active { cursor: grabbing; }
.canvas-grip:hover, .canvas-del:hover { color: var(--ink); }
.canvas-pill { border-radius: 999px; padding: .1875rem .5625rem; font-size: .625rem;
  font-weight: 600; letter-spacing: .04em; white-space: nowrap; }
.canvas-pill:hover { color: var(--ink); }
.canvas-pill.on { background: var(--ink); color: var(--paper); }
.canvas-pill-lead { text-transform: uppercase; }

.canvas-editable { outline: none; border-radius: .375rem;
  transition: box-shadow .12s; }
.canvas-editable:hover { box-shadow: 0 0 0 1px var(--line-soft); }
.canvas-editable:focus { box-shadow: 0 0 0 1px var(--terra); }

.canvas-p { font-size: 1.0625rem; line-height: 1.8; color: var(--ink-soft);
  margin: 0 0 1.5rem; padding: .125rem .25rem; }
.canvas-p.lead { font-family: var(--display); font-size: 1.3125rem; line-height: 1.65; color: var(--ink); }
.canvas-p img.inline-editor-img,
.inline-editor-img { display: block; max-width: 100%; height: auto; margin: 1rem 0;
  border-radius: var(--radius); cursor: default; }

.canvas-heading { font-family: var(--display); font-weight: 500; color: var(--ink);
  padding: .125rem .25rem; margin: 0 0 .875rem; }
h2.canvas-heading { font-size: 1.75rem; margin-top: 1.5rem; }
h3.canvas-heading { font-size: 1.375rem; margin-top: 1.125rem; }

.canvas-quote-wrap { margin: 0 0 1.5rem; border-left: 2px solid var(--terra); padding-left: 1.25rem; }
.canvas-quote { font-family: var(--display); font-size: 1.1875rem; line-height: 1.5; color: var(--ink);
  padding: .125rem .25rem; margin: 0; }
.canvas-quote-source { border: 0; background: none; padding: .375rem .25rem 0; margin-top: .25rem;
  font-size: .8125rem; color: var(--muted); width: 100%; }
.canvas-quote-source:focus { outline: none; color: var(--ink); }

.canvas-list { font-size: 1.0625rem; line-height: 1.8; color: var(--ink-soft);
  margin: 0 0 1.5rem; padding: .125rem .25rem .125rem 1.5rem; }
.canvas-list li { margin-bottom: .375rem; }
.canvas-list li::marker { color: var(--terra); }

.canvas-toolbar { position: fixed; z-index: 60; display: flex; gap: .125rem; padding: .25rem;
  background: var(--ink); border-radius: .5rem; box-shadow: var(--shadow); }
.canvas-toolbar .fmt-btn { color: rgba(255,255,255,.75); }
.canvas-toolbar .fmt-btn:hover { background: rgba(255,255,255,.12); color: #fff; }

@media (max-width: 40rem) {
  .picker-list { grid-template-columns: 1fr; }
  .editor-actions { justify-content: flex-start; }
  .editor-actions .tiny { display: none; }
  .canvas-gutter { left: auto; right: 100%; margin-right: .25rem; }
}
