/* ======================================================
   VOS Motors — Public Stylesheet
   ====================================================== */

:root {
  --ink: #0b0b0c;
  --ink-soft: #151516;
  --paper: #f4f2ef;
  --paper-soft: #eeeae4;
  --paper-card: #ffffff;
  --muted: #6b6b6b;
  --line: rgba(0, 0, 0, 0.1);
  --accent: #c8a24a;
  --shadow-sm: 0 2px 8px rgba(20, 20, 20, 0.04);
  --shadow-md: 0 14px 40px rgba(20, 20, 20, 0.06), 0 2px 8px rgba(20, 20, 20, 0.04);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --radius-pill: 999px;
  --font-sans: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: Georgia, Cambria, 'Times New Roman', serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* Rich-Text Tabellen (aus Admin gepflegt) */
.rte table, .prose table { border-collapse: collapse; width: 100%; margin: 1em 0; }
.rte table th, .rte table td,
.prose table th, .prose table td {
  border: 1px solid var(--line);
  padding: .5em .75em;
  vertical-align: top;
}
.rte table th, .prose table th { background: var(--paper-soft); font-weight: 600; }

/* Typography */
.font-display,
h1, h2, h3, h4,
.display-1, .display-2, .display-3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.display-1 { font-size: clamp(2.25rem, 4.5vw, 3.75rem); }
.display-2 { font-size: clamp(1.75rem, 3.5vw, 3rem); }
.display-3 { font-size: clamp(1.35rem, 2vw, 1.75rem); }
.eyebrow { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.muted { color: var(--muted); }
.strong { font-weight: 700; }
.small { font-size: 0.85rem; }
.center { text-align: center; }
.light { color: #fff; }
.ghost { color: rgba(0, 0, 0, 0.18); }
.uppercase { text-transform: uppercase; }
.body-lg { font-size: 1.125rem; line-height: 1.65; }
.lead { font-size: 1.2rem; margin: 0 0 0.5em; }

/* Layout */
.container {
  width: min(1200px, 100% - 3rem);
  margin-inline: auto;
  position: relative;
}
.narrow { width: min(820px, 100% - 3rem); margin-inline: auto; }
.section { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; overflow: hidden; }
.section-paper { background: var(--paper); }
.section-paper-soft { background: var(--paper-soft); }
.section-dark { background-color: #0a0a0a; background-size: cover; background-position: center; color: #fff; }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-2-aligned { grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
@media (max-width: 820px) { .grid-2-aligned { grid-template-columns: 1fr; } }

.page-head { margin-bottom: 2.5rem; }

/* ===== Swirl background ===== */
.swirl-bg { position: relative; }
.swirl-overlay { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.swirl-overlay svg {
  position: absolute; right: -10%; top: 5%;
  width: 90%; opacity: 0.45;
}

/* ===== Header / Nav ===== */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 50;
  padding: 1.25rem 0;
  color: #fff;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}
.site-header.solid {
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.82) 0%, rgba(10, 10, 10, 0) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: fixed;
  color: #fff;
}
body.scrolled .site-header { position: fixed; background: linear-gradient(to bottom, rgba(10, 10, 10, 0.82) 0%, rgba(10, 10, 10, 0) 100%); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
/* Dark scheme on light pages (we don't know where user is, so keep always dark bg after scroll) */

.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: 0.5rem; color: #fff; }
.brand-v { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 1.5rem; letter-spacing: 0.04em; }
.brand-os { font-size: 1rem; vertical-align: super; }

.nav-main { display: flex; gap: 2rem; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; }
.nav-link { color: rgba(255, 255, 255, 0.8); position: relative; padding-bottom: 4px; transition: color 0.15s; }
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform 0.2s; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.nav-right { display: flex; align-items: center; gap: 1rem; }
.lang-switch { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); }
.lang-switch:hover { color: #fff; }
.profile-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  transition: background 0.15s;
}
.profile-btn:hover { background: rgba(255, 255, 255, 0.1); }
.nav-toggle { display: none; background: transparent; border: 0; width: 32px; height: 32px; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; height: 2px; background: #fff; }

@media (max-width: 900px) {
  .nav-main { position: fixed; inset: 64px 0 auto 0; background: rgba(10, 10, 10, 0.98); padding: 2rem; flex-direction: column; gap: 1.5rem; transform: translateY(-130%); transition: transform 0.25s; z-index: 60; }
  body.nav-open .nav-main { transform: translateY(0); }
  .nav-toggle { display: inline-flex; }
  .lang-switch { display: none; }
}

/* ===== Hero ===== */
.hero {
  min-height: 92vh;
  background-color: #1a1a1a;
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex; align-items: center;
  padding-top: 6rem; padding-bottom: 4rem;
}
.hero-inner { text-align: center; max-width: 960px; margin-inline: auto; }
.hero-title { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 4rem); font-weight: 700; line-height: 1.1; margin: 0 0 1.5rem; }
.hero-title p { margin: 0; display: inline; }
.hero-sub { font-size: 1rem; line-height: 1.65; color: rgba(255, 255, 255, 0.85); margin: 0 0 2.5rem; max-width: 640px; margin-inline: auto; }
.hero-rotator { display: inline-block; min-height: 1.1em; }
.rotator-word { display: inline-block; opacity: 1; transition: opacity .35s ease; }
.rotator-word.is-out { opacity: 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn-dark-pill { background: var(--ink); color: #fff; }
.btn-dark-pill:hover { background: #000; transform: translateY(-1px); }
.btn-light-pill { background: #e8e6e1; color: var(--ink); }
.btn-light-pill:hover { background: #fff; }
.btn-outline-dark { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: #fff; }
.btn-on-dark { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.25); }
.btn-on-dark:hover { background: rgba(255, 255, 255, 0.18); border-color: rgba(255, 255, 255, 0.5); }
.btn-text { display: inline-block; padding: 0.5rem 0; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.btn-text:hover { color: var(--ink); }

/* ===== Cards ===== */
.card-soft {
  background: var(--paper-card);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 3rem);
  box-shadow: var(--shadow-md);
}
.card-dark {
  background: rgba(10, 10, 10, 0.4);
  backdrop-filter: blur(10px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3.5rem);
  box-shadow: var(--shadow-lg);
}

/* ===== Brand strip / Endlos-Laufband ===== */
.brand-strip {
  overflow: hidden;
  margin: 3rem 0 4rem;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.brand-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  align-items: center;
  animation: brand-marquee var(--marquee-duration, 40s) linear infinite;
  will-change: transform;
}
.brand-strip:hover .brand-track { animation-play-state: paused; }
.brand-badge {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 1rem;
  color: #1a1a1a;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.08);
  white-space: nowrap;
}
@keyframes brand-marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .brand-track { animation: none; }
}

/* ===== Quote card ===== */
.quote-card { max-width: 740px; margin: 0 auto; text-align: center; }
.quote-card p { margin: 0 0 1.5rem; }

/* ===== Steps (Vision/Mission) ===== */
.steps { margin: 3rem 0 5rem; }
.step-card { text-align: center; padding: 2.5rem 2rem; }
.step-card h3 { margin: 0 0 1rem; }
.step-card p { margin: 0; }

/* ===== Timeline ===== */
.timeline { text-align: center; }
.timeline h3 { margin: 0 0 2rem; }
.timeline-list { list-style: none; padding: 0; margin: 0 auto 3rem; max-width: 520px; text-align: left; }
.timeline-list li {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 1.05rem;
}
.timeline-list li:last-child { border-bottom: 0; }
.check {
  flex: 0 0 auto;
  width: 24px; height: 24px; border-radius: 5px;
  background: var(--ink); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
}

/* ===== Gallery / Endlos-Karussell ===== */
.gallery-marquee {
  overflow: hidden;
  width: 100%;
  margin-bottom: 3rem;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.gallery-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: gallery-marquee var(--marquee-duration, 25s) linear infinite;
  will-change: transform;
}
.gallery-marquee:hover .gallery-track { animation-play-state: paused; }
.gallery-thumb {
  flex: 0 0 auto;
  width: clamp(180px, 22vw, 260px);
  aspect-ratio: 4/3;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
@keyframes gallery-marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-track { animation: none; }
}
@media (max-width: 700px) {
  .gallery-thumb { width: clamp(150px, 40vw, 220px); }
}

/* ===== CTA row ===== */
.cta-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }

/* ===== Forms ===== */
.form { display: grid; gap: 1.2rem; max-width: 720px; margin: 0 auto; }
.field { display: block; }
.field > span { display: block; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.35rem; }
.field input,
.field select,
.field textarea,
.filter-bar input,
.filter-bar select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus,
.field select:focus,
.field textarea:focus,
.filter-bar input:focus,
.filter-bar select:focus {
  outline: 0;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
@media (max-width: 640px) { .row-2, .row-3 { grid-template-columns: 1fr; } }

.form-foot { margin-top: 0.5rem; display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.form-status { font-size: 0.9rem; margin: 0.5rem 0 0; min-height: 1.2em; }
.form-status.ok { color: #0a7a4b; }
.form-status.err { color: #b52121; }
.hp { position: absolute; left: -10000px; top: -10000px; }

/* ===== Filter bar (Listings) ===== */
.filter-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  align-items: end;
  margin-bottom: 2rem;
  padding: 1.5rem;
}
.filter-bar label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.filter-bar label.wide { grid-column: span 2; }
.filter-actions { display: flex; gap: 0.75rem; align-items: center; grid-column: span 2; }

/* ===== Vehicle cards ===== */
.vehicle-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  display: block;
}
.vehicle-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.vehicle-thumb { aspect-ratio: 16/10; background: #ddd; overflow: hidden; }
.vehicle-thumb img { width: 100%; height: 100%; object-fit: cover; }
.vehicle-body { padding: 1.25rem 1.5rem 1.5rem; }
.vehicle-brand { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.vehicle-title { font-family: var(--font-display); font-size: 1.3rem; margin: 0.3rem 0 0.75rem; }
.vehicle-meta { display: flex; flex-wrap: wrap; gap: 0.75rem; font-size: 0.85rem; color: var(--muted); margin-bottom: 0.75rem; }
.vehicle-price { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; }
.vehicle-price.big { font-size: 1.8rem; margin: 1rem 0 1.5rem; }

.slot-placeholder {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #e8e6e1, #f4f2ef);
  color: #888;
  font-family: var(--font-display); font-style: italic;
  letter-spacing: 0.2em; font-size: 1.2rem;
  width: 100%; height: 100%;
  min-height: 160px;
}
.slot-placeholder.big { min-height: 420px; border-radius: var(--radius); }

/* ===== Vehicle detail ===== */
.vehicle-detail { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; margin: 2rem 0 3rem; }
@media (max-width: 900px) { .vehicle-detail { grid-template-columns: 1fr; } }
.vehicle-main-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; }
.vehicle-main-img img { width: 100%; height: 100%; object-fit: cover; }
.vehicle-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; margin-top: 0.5rem; }
.vehicle-thumbs img { border-radius: 8px; aspect-ratio: 1; object-fit: cover; cursor: pointer; }

.spec-list { margin: 1.5rem 0; display: grid; grid-template-columns: auto 1fr; row-gap: 0.5rem; column-gap: 1rem; font-size: 0.95rem; }
.spec-list dt { color: var(--muted); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; }
.spec-list dd { margin: 0; }

.vehicle-desc { max-width: 900px; margin: 2rem auto 0; }

/* ===== FAQ ===== */
.faq-list { display: grid; gap: 1rem; }
.faq-item { padding: 1.25rem 1.75rem; }
.faq-item summary {
  cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::after { content: "+"; font-size: 1.5rem; color: var(--muted); }
.faq-item[open] summary::after { content: "–"; }
.faq-answer { margin-top: 1rem; color: #333; }

/* ===== Contact page ===== */
.contact-layout { gap: 2rem; }
.contact-info h2 { margin: 0 0 0.5rem; }
.contact-info p { margin: 0.25rem 0; color: var(--muted); }
.contact-lines { list-style: none; padding: 0; margin: 0.5rem 0; display: grid; gap: 0.5rem; }
.contact-lines a { color: var(--ink); }
.contact-lines a:hover { text-decoration: underline; }

/* ===== Footer ===== */
.site-footer { padding: 5rem 0 2rem; background: var(--paper); position: relative; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-card { padding: 2.5rem; }
.footer-links { list-style: none; padding: 0; margin: 0.5rem 0 0; display: grid; gap: 0.6rem; }
.footer-links a { color: var(--ink); }
.footer-links a:hover { color: var(--muted); }
.footer-about { padding: 1rem 0; }
.footer-brand { display: block; margin-bottom: 0.25rem; }
.brand-sub { font-size: 0.7rem; letter-spacing: 0.3em; color: var(--muted); margin-bottom: 1.5rem; }
.footer-legal { margin-top: 2rem; }
.footer-legal p { margin: 0.25rem 0; }

.lang-bar {
  border-top: 1px solid var(--line);
  margin-top: 3rem;
  padding: 1rem 0;
  text-align: center;
  display: flex; justify-content: center; gap: 2rem;
  font-size: 0.9rem;
}
.lang-bar a { color: var(--muted); }
.lang-bar a.active { color: var(--ink); font-weight: 600; }

/* ===== Prose (Rich Text) ===== */
.prose-site { font-size: 1rem; line-height: 1.75; color: #222; }
.prose-site h1, .prose-site h2, .prose-site h3 { font-family: var(--font-display); margin: 1.6em 0 0.4em; color: var(--ink); }
.prose-site h2 { font-size: 1.6rem; }
.prose-site h3 { font-size: 1.25rem; }
.prose-site p { margin: 0 0 1em; }
.prose-site a { color: var(--ink); text-decoration: underline; }
.prose-site ul, .prose-site ol { padding-left: 1.25em; margin: 0 0 1em; }
.prose-site blockquote { border-left: 3px solid var(--ink); padding-left: 1.25em; color: var(--muted); font-style: italic; }

/* ===== Block-Editor-Output (TinyMCE-Blöcke auf der Live-Site) =====
   Pro sichtbarem Block = 1 Editor. Wir stylen die generische HTML-Ausgabe
   (h1/h2/h3/p/ul/a …) so, dass sie ohne Klassen das passende Design erhält. */

.block-body { line-height: 1.55; }
.block-body > :first-child { margin-top: 0; }
.block-body > :last-child  { margin-bottom: 0; }
.block-body h1, .block-body h2, .block-body h3, .block-body h4 {
  font-family: var(--font-display); font-weight: 700; line-height: 1.15;
  margin: 1.2em 0 .4em;
}
.block-body h1 { font-size: clamp(2rem, 5vw, 4rem); }
.block-body h2 { font-size: clamp(1.75rem, 3.5vw, 3rem); }
.block-body h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); }
.block-body p  { margin: 0 0 1em; font-size: 1.025rem; }
.block-body ul, .block-body ol { padding-left: 1.25em; margin: 0 0 1em; }
.block-body a {
  display: inline-block; padding: 14px 28px; margin: .5em .25em 0;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600;
  border-radius: var(--radius-pill); border: 1px solid var(--ink); color: var(--ink);
  text-decoration: none; transition: all 0.2s ease;
}
.block-body a:hover { background: var(--ink); color: #fff; }

/* Hero-Block: heller Text auf dunklem Hintergrund */
.block-body--hero { text-align: center; color: #fff; }
.block-body--hero h1, .block-body--hero h2 { color: #fff; margin-top: 0; }
.block-body--hero p { color: rgba(255,255,255,.85); max-width: 640px; margin-inline: auto; }
.block-body--hero a { background: #e8e6e1; color: var(--ink); border-color: #e8e6e1; }
.block-body--hero a:hover { background: #fff; }

/* Dark-Block-Varianten (Rare, Final): Text weiß */
.block-body.light,
.block-body.light h1, .block-body.light h2, .block-body.light h3, .block-body.light h4 { color: #fff; }
.block-body.light p  { color: rgba(255,255,255,.85); }
.block-body.light a  {
  background: rgba(255,255,255,.08); color: #fff;
  border-color: rgba(255,255,255,.25);
}
.block-body.light a:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.5); }

/* Step-Cards: Text zentriert, Padding kommt von .card-soft */
.block-body--step { text-align: center; }
.block-body--step h2, .block-body--step h3 { margin-top: 0; }

/* Timeline-Block: Checkliste mit ✓ */
.block-body--timeline { text-align: center; }
.block-body--timeline h1, .block-body--timeline h2, .block-body--timeline h3 { margin-top: 0; }
.block-body--timeline ul {
  list-style: none; padding: 0; margin: 0 auto 2rem; max-width: 520px; text-align: left;
}
.block-body--timeline li {
  padding: .9rem 0 .9rem 2rem; border-bottom: 1px solid rgba(0,0,0,.1);
  position: relative;
}
.block-body--timeline li::before {
  content: "✓"; position: absolute; left: 0; top: .9rem;
  width: 1.5rem; height: 1.5rem; background: var(--ink); color: #fff;
  border-radius: 4px; display: grid; place-items: center; font-size: .78rem;
}
.block-body--timeline li:last-child { border-bottom: 0; }

/* Images innerhalb Blöcken: fluid + leichte Rundung */
.block-body img { max-width: 100%; height: auto; border-radius: 8px; margin: .5em 0; }
.block-body::after { content: ''; display: table; clear: both; }
/* Bilder in zentrierten/rechtsbündigen Absätzen (TinyMCE setzt text-align auf <p>,
   aber da img display:block ist, wirkt nur margin:auto für Zentrierung) */
.block-body p[style*="text-align:center"] img { margin: .5em auto; }
.block-body p[style*="text-align:right"]  img { margin-left: auto; }

/* Quote-Block: zwei Absätze, durch v-badge getrennt */
.block-body--quote-pre, .block-body--quote-post { text-align: center; }
.block-body--quote-pre  p:last-child,
.block-body--quote-post p:first-child { margin-bottom: 0; }

/* Footer-Block-Styles: kompakter, muted, Links ohne Button-Styling */
.block-body--footer-box h3,
.block-body--footer-brand strong { font-family: var(--font-display); font-weight: 700; }
.block-body--footer-box ul { list-style: none; padding: 0; }
.block-body--footer-box ul li { padding: .25rem 0; }
.block-body--footer-box a,
.block-body--footer-brand a {
  display: inline; padding: 0; margin: 0; font-size: inherit; letter-spacing: normal;
  text-transform: none; font-weight: normal; border: 0; border-radius: 0;
  color: var(--muted); text-decoration: none;
}
.block-body--footer-box a:hover,
.block-body--footer-brand a:hover { background: transparent; color: var(--ink); text-decoration: underline; }
.block-body--footer-brand p { color: var(--muted); margin: 0 0 .3em; }

