/* =====================================================================
   CleoNET v1.0 - Frontend design system
   Brand (derived from olsens-schrauberhalle.de): red #bf0000, orange
   #ff8c00 highlight, graphite ink, generous whitespace, industrial feel.
   System font stack (zero webfont requests -> fast LCP on shared hosts).
   ===================================================================== */

:root {
  --clr-red: #bf0000;
  --clr-red-dark: #9a0000;
  --clr-orange: #ff8c00;
  --clr-orange-dark: #e07c00;
  --clr-ink: #1c1e21;
  --clr-ink-soft: #3a3d42;
  --clr-muted: #6b7076;
  --clr-line: #e3e5e8;
  --clr-paper: #ffffff;
  --clr-bg: #f6f6f6;
  --clr-ok: #1e7d43;
  --clr-err: #bf0000;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 2px 14px rgba(28, 30, 33, .08);
  --shadow-lg: 0 10px 32px rgba(28, 30, 33, .14);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--clr-ink);
  background: var(--clr-paper);
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; }
a { color: var(--clr-red); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--clr-red-dark); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 860px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--clr-ink); color: #fff; padding: 10px 18px; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; color: #fff; }
.ico { width: 1em; height: 1em; fill: currentColor; vertical-align: -.12em; }

/* ------------------------------ topbar ------------------------------ */
.topbar {
  background: var(--clr-ink);
  color: #cfd2d6;
  font-size: .82rem;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar-contact { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; color: #cfd2d6; text-decoration: none; }
a.topbar-item:hover { color: #fff; }
.topbar-mail { display: none; }
.lang-switch { display: flex; gap: 6px; }
.lang-switch a {
  color: #cfd2d6; text-decoration: none; font-weight: 700; font-size: .78rem;
  padding: 3px 9px; border-radius: 20px; border: 1px solid #4a4d52;
}
.lang-switch a.is-active { background: var(--clr-orange); border-color: var(--clr-orange); color: #1c1e21; }
.lang-switch a:hover { color: #fff; border-color: #fff; }

/* ------------------------------ header ------------------------------ */
.site-header {
  background: var(--clr-paper);
  border-bottom: 1px solid var(--clr-line);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 0 rgba(28,30,33,.04);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 74px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 44px; width: auto; display: block; }
.mainnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.mainnav a {
  display: block; padding: 10px 14px; color: var(--clr-ink); text-decoration: none;
  font-weight: 600; font-size: .95rem; border-radius: var(--radius-sm);
}
.mainnav a:hover { background: var(--clr-bg); color: var(--clr-red); }
.mainnav .has-children { position: relative; }
.mainnav .submenu {
  position: absolute; top: 100%; left: 0; min-width: 230px;
  background: #fff; border: 1px solid var(--clr-line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 6px; display: none; z-index: 90;
}
.mainnav .has-children:hover .submenu,
.mainnav .has-children:focus-within .submenu { display: block; }
.mainnav .submenu a { padding: 9px 12px; font-weight: 500; }
.nav-toggle { display: none; }

/* ---------------------------- breadcrumb ---------------------------- */
.breadcrumb { background: var(--clr-bg); border-bottom: 1px solid var(--clr-line); }
.breadcrumb ol { list-style: none; margin: 0; padding: 10px 20px; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: .82rem; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--clr-muted); }
.breadcrumb a { color: var(--clr-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--clr-red); }
.breadcrumb [aria-current] { color: var(--clr-ink); font-weight: 600; }

/* ------------------------------- hero ------------------------------- */
.hero { position: relative; min-height: 520px; display: flex; align-items: center; overflow: hidden; background: var(--clr-ink); }
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .38;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(28,30,33,.92) 0%, rgba(28,30,33,.55) 55%, rgba(191,0,0,.25) 100%);
}
/* v1.2.0: hero content (text + buttons) is centered */
.hero-inner {
  position: relative; z-index: 2; padding-top: 70px; padding-bottom: 70px;
  max-width: var(--container); margin-inline: auto;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}
.hero-kicker {
  display: inline-block; margin: 0 0 18px; padding: 6px 14px;
  background: var(--clr-orange); color: var(--clr-ink);
  font-weight: 700; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase;
  border-radius: 3px;
}
.hero-title {
  color: #fff; font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 800;
  max-width: 18ch; margin-bottom: .4em;
}
.hero-text { color: #e6e8ea; font-size: 1.13rem; max-width: 52ch; margin-bottom: 30px; margin-inline: auto; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ------------------------------ buttons ----------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: .95rem; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 14px 28px; font-size: 1.02rem; }
.btn-sm { padding: 6px 12px; font-size: .82rem; font-weight: 600; }
.btn-block { width: 100%; }
.btn-primary { background: var(--clr-red); color: #fff; }
.btn-primary:hover { background: var(--clr-red-dark); color: #fff; }
.btn-accent { background: var(--clr-orange); color: var(--clr-ink); }
.btn-accent:hover { background: var(--clr-orange-dark); color: var(--clr-ink); }
.btn-light { background: #fff; color: var(--clr-red); }
.btn-light:hover { background: #f1f1f1; color: var(--clr-red-dark); }
.btn-ghost { background: transparent; color: var(--clr-ink); border-color: var(--clr-line); }
.btn-ghost:hover { border-color: var(--clr-ink); background: var(--clr-bg); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }

/* ------------------------------- usps ------------------------------- */
.usps { background: var(--clr-bg); border-bottom: 1px solid var(--clr-line); }
.usp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 44px 20px; }
.usp-card {
  background: #fff; border: 1px solid var(--clr-line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow);
}
.usp-card h2 { font-size: 1.12rem; margin-bottom: 6px; }
.usp-card p { color: var(--clr-muted); font-size: .93rem; margin: 0; }
.usp-icon { width: 34px; height: 34px; fill: var(--clr-red); margin-bottom: 12px; }

/* --------------------------- page content --------------------------- */
.section { padding: 56px 0; }
.page-header { margin-bottom: 28px; padding-bottom: 18px; border-bottom: 3px solid var(--clr-orange); }
.page-title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; }
.lead { font-size: 1.12rem; color: var(--clr-muted); }
.rich-text h2 { font-size: 1.4rem; margin-top: 1.6em; padding-left: 12px; border-left: 4px solid var(--clr-red); }
.rich-text h3 { font-size: 1.15rem; margin-top: 1.3em; }
.rich-text ul, .rich-text ol { padding-left: 22px; margin: 0 0 1.2em; }
.rich-text li { margin-bottom: .35em; }
.rich-text img { border-radius: var(--radius); }
.motto-box {
  background: linear-gradient(90deg, var(--clr-red) 0%, #d63b0f 100%);
  color: #fff; border-radius: var(--radius); padding: 22px 26px; margin: 30px 0;
  font-size: 1.08rem;
}
.motto-box p { margin: 0; }
.facilities { columns: 2; column-gap: 40px; }
.facilities li { break-inside: avoid; padding-left: 4px; }
.price-table { width: 100%; border-collapse: collapse; margin: 0 0 1.6em; font-size: .95rem; }
.price-table th, .price-table td { border: 1px solid var(--clr-line); padding: 9px 12px; text-align: left; }
.price-table thead th { background: var(--clr-ink); color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .03em; }
.price-table tbody tr:nth-child(even) { background: var(--clr-bg); }
.team-card {
  border: 1px solid var(--clr-line); border-radius: var(--radius); padding: 22px 24px;
  background: var(--clr-bg); max-width: 460px;
}
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 30px; margin-bottom: 40px; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--clr-line); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-item { margin: 0; }
.gallery-ph {
  aspect-ratio: 4 / 3; background: var(--clr-ink); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
}
.gallery-ph svg { width: 42px; height: 42px; fill: var(--clr-orange); }
.gallery-item figcaption { font-size: .84rem; color: var(--clr-muted); padding-top: 8px; text-align: center; }
.error-code { font-size: 5rem; font-weight: 800; color: var(--clr-orange); margin: 0; line-height: 1; }

/* ------------------------------- CTA -------------------------------- */
.cta-band { background: linear-gradient(100deg, var(--clr-ink) 0%, #2c2f34 100%); color: #fff; }
.cta-inner { padding: 52px 20px; text-align: center; }
.cta-title { color: #fff; font-size: clamp(1.4rem, 3vw, 2rem); }
.cta-text { color: #c9ccd0; margin-bottom: 24px; }

/* ------------------------------ forms ------------------------------- */
.cl-form-wrap { margin: 24px 0; }
.cl-form { max-width: 640px; }
.cl-form-description { color: var(--clr-muted); }
.cl-field { margin-bottom: 20px; }
.cl-label { display: block; font-weight: 600; font-size: .93rem; margin-bottom: 6px; }
.cl-req { color: var(--clr-red); }
.cl-input, .cl-form select, .cl-form textarea {
  width: 100%; padding: 11px 14px; font: inherit; color: var(--clr-ink);
  background: #fff; border: 1.5px solid var(--clr-line); border-radius: var(--radius-sm);
  transition: border-color .12s ease, box-shadow .12s ease;
}
.cl-input:focus, .cl-form select:focus, .cl-form textarea:focus {
  outline: none; border-color: var(--clr-orange); box-shadow: 0 0 0 3px rgba(255,140,0,.18);
}
.cl-form textarea { resize: vertical; }
.cl-choice { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8px; }
.cl-choice input { margin-top: 5px; }
.cl-choice label { font-weight: 400; }
.cl-consent { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; }
.cl-consent input { margin-top: 4px; width: 18px; height: 18px; flex-shrink: 0; }
.cl-consent label { font-weight: 400; }
.cl-help { font-size: .83rem; color: var(--clr-muted); margin: 6px 0 0; }
.cl-field-error { font-size: .85rem; color: var(--clr-err); font-weight: 600; margin: 6px 0 0; }
.cl-field.has-error .cl-input, .cl-field.has-error textarea, .cl-field.has-error select { border-color: var(--clr-err); }
.cl-form-actions { margin-top: 24px; }
.cl-alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 18px; font-weight: 600; }
.cl-alert-success { background: #e7f5ec; color: var(--clr-ok); border: 1px solid #bfe3cd; }
.cl-alert-error { background: #fbeaea; color: var(--clr-err); border: 1px solid #efc3c3; }
.cl-progress { margin-bottom: 22px; }
.cl-progress-bar { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; }
.cl-progress-bar li {
  flex: 1; text-align: center; font-size: .78rem; font-weight: 700; color: var(--clr-muted);
  padding: 6px 4px; background: var(--clr-bg); border-radius: 4px;
}
.cl-progress-bar li.is-active { background: var(--clr-orange); color: var(--clr-ink); }
.cl-step-nav { display: flex; justify-content: space-between; margin-top: 20px; }
.cl-honeypot { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; width: 0; }
.cl-hidden { display: none; }

/* ------------------------------ footer ------------------------------ */
.site-footer { background: var(--clr-ink); color: #b9bcbf; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 36px; padding: 52px 20px 36px; }
.footer-logo { height: 34px; width: auto; margin-bottom: 16px; }
.footer-slogan { color: var(--clr-orange); font-weight: 700; }
.footer-title { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 8px; }
.footer-nav a { color: #b9bcbf; text-decoration: none; }
.footer-nav a:hover { color: #fff; }
.footer-address { font-style: normal; }
.footer-address a { color: #b9bcbf; }
.footer-address a:hover { color: #fff; }
.footer-hours { font-size: .84rem; margin-top: 12px; }
.footer-legal { border-top: 1px solid #33363b; padding: 16px 0; font-size: .82rem; }
.footer-legal-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* --------------------------- responsive ----------------------------- */
@media (max-width: 960px) {
  .usp-grid { grid-template-columns: 1fr; padding: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .facilities { columns: 1; }
}
@media (max-width: 780px) {
  .topbar-mail { display: none; }
  .topbar-contact { gap: 4px 14px; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; gap: 5px; background: none;
    border: 0; padding: 10px; cursor: pointer;
  }
  .nav-toggle-bar { width: 24px; height: 3px; background: var(--clr-ink); border-radius: 2px; }
  .mainnav {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--clr-line); box-shadow: var(--shadow-lg);
    display: none; padding: 10px 20px 18px;
  }
  .mainnav.is-open { display: block; }
  .mainnav ul { flex-direction: column; gap: 0; }
  .mainnav .submenu {
    position: static; box-shadow: none; border: 0; display: block; padding: 0 0 0 16px;
  }
  .site-header { position: relative; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .topbar-item:not(.topbar-mail) { font-size: .76rem; }
  .topbar-contact .topbar-item:first-child { display: none; }
}

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

/* ------------------------- hero slider (v1.0.6) ------------------------- */
.hero-slider { min-height: 560px; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s ease; display: flex; align-items: center; }
/* v1.3.3 fix: the active slide is the only in-flow child of the flex .hero —
   without width:100% it shrink-wraps to its content width, so overlay,
   background AND the centered text all end up in a left-hand column. */
.hero-slide.is-active { opacity: 1; visibility: visible; position: relative; z-index: 1; width: 100%; flex: 1 1 100%; }
.hero-shade { position: absolute; inset: 0; background: #101114; }
.hero-yt { position: absolute; inset: 0; overflow: hidden; }
.hero-yt iframe { position: absolute; top: 50%; left: 50%; width: 177.78vh; min-width: 100%; min-height: 56.25vw; height: 100%; transform: translate(-50%, -50%); border: 0; pointer-events: none; }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4);
  background: rgba(20,22,25,.35); color: #fff; font-size: 1.1rem; line-height: 1; cursor: pointer;
}
.hero-arrow:hover { background: rgba(191,0,0,.75); border-color: transparent; }
.hero-arrow-prev { left: 14px; }
.hero-arrow-next { right: 14px; }
.hero-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 9px; }
.hero-dot { width: 11px; height: 11px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); background: transparent; cursor: pointer; padding: 0; }
.hero-dot.is-active { background: var(--clr-orange); border-color: var(--clr-orange); }
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
}

/* =====================================================================
   CleoNET v1.1.0 - Gallery / media (front)
   ===================================================================== */

/* gallery overview: album cards */
.album-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.album-card { display: flex; flex-direction: column; background: var(--clr-paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform .18s ease, box-shadow .18s ease; }
.album-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.album-card-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--clr-bg); }
.album-card-media picture, .album-card-media img.album-card-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.album-card-body { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 16px 18px; }
.album-card-title { font-size: 1.05rem; }
.album-card-count { color: var(--clr-muted); font-size: .9rem; white-space: nowrap; }

/* album page: masonry via CSS columns */
.gallery-album .album-description { max-width: 760px; margin-bottom: 26px; }
.gallery-grid { columns: 3 260px; column-gap: 18px; }
.gallery-item { break-inside: avoid; margin: 0 0 18px; }
.gallery-frame { display: block; border-radius: var(--radius-sm); overflow: hidden; background: var(--clr-bg); box-shadow: var(--shadow); }
.gallery-link { display: block; text-decoration: none; }
.gallery-img { width: 100%; height: auto; display: block; transition: transform .25s ease; }
.gallery-link:hover .gallery-img { transform: scale(1.02); }
.gallery-item figcaption { padding: 8px 2px 0; color: var(--clr-muted); font-size: .88rem; }

/* embedded [gallery] shortcode */
.album-embed { margin: 26px 0; }
.album-embed-title { margin-bottom: 16px; }
.album-embed-more { margin-top: 6px; }

/* before / after slider (clip-path, --ba-pos set by main.js) */
.ba-slider { position: relative; display: block; overflow: hidden; border-radius: var(--radius-sm); background: var(--clr-bg); touch-action: none; }
.ba-img { display: block; width: 100%; height: auto; user-select: none; -webkit-user-drag: none; }
.ba-img-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--ba-pos)) 0 0); object-fit: cover; height: 100%; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--ba-pos); width: 2px; background: #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,.25), 0 0 10px rgba(0,0,0,.35); pointer-events: none;
}
.ba-handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 2px solid var(--clr-orange);
}
.ba-slider input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba-label {
  position: absolute; top: 10px; z-index: 2; padding: 3px 10px; border-radius: 999px;
  background: rgba(16,17,20,.6); color: #fff; font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; pointer-events: none;
}
.ba-label-before { left: 10px; }
.ba-label-after { right: 10px; }

/* lightbox (native <dialog>) */
dialog.lightbox {
  border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; outline: none;
}
dialog.lightbox::backdrop { background: rgba(10, 11, 13, .88); }
.lightbox-figure { margin: 0; display: flex; flex-direction: column; align-items: center; }
.lightbox-figure img { max-width: 92vw; max-height: 84vh; width: auto; height: auto; border-radius: 6px; box-shadow: 0 18px 60px rgba(0,0,0,.5); }
.lightbox-figure figcaption { color: #e8e9eb; padding: 12px 4px 0; font-size: .95rem; text-align: center; max-width: 80vw; }
.lightbox-nav, .lightbox-close {
  position: fixed; z-index: 2; background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%; width: 46px; height: 46px; font-size: 1.4rem; line-height: 1; cursor: pointer; display: grid; place-items: center;
}
.lightbox-nav:hover, .lightbox-close:hover { background: rgba(191,0,0,.8); border-color: transparent; }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lightbox-prev { left: 6px; } .lightbox-next { right: 6px; } }

/* ==================== v1.2.0: consent / map / branding ==================== */

/* --- DSGVO cookie consent banner (self-hosted, no external CMP) --- */
.consent-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
  background: rgba(17, 20, 26, .97); color: #e8eaed;
  box-shadow: 0 -8px 30px rgba(0,0,0,.35);
}
.consent-banner[hidden] { display: none; }
.consent-box { max-width: 760px; margin: 0 auto; padding: 22px 20px 18px; }
.consent-title { margin: 0 0 8px; font-size: 1.05rem; color: #fff; }
.consent-text { margin: 0 0 14px; font-size: .9rem; line-height: 1.55; color: #cfd3d9; }
.consent-cats { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 12px; }
.consent-cat { display: inline-flex; align-items: center; gap: 7px; font-size: .88rem; }
.consent-cat input { width: 16px; height: 16px; accent-color: var(--clr-red, #bf0000); }
.consent-cat.is-locked { opacity: .65; }
.consent-more { margin: 0 0 14px; font-size: .82rem; }
.consent-more a { color: #9fb4c8; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.consent-actions .btn { font-size: .88rem; padding: 9px 16px; }
.consent-actions .btn-ghost { color: #cfd3d9; border-color: #4a5058; }
.footer-consent-link {
  background: none; border: none; color: #9fb4c8; cursor: pointer;
  font: inherit; font-size: .82rem; padding: 0; text-decoration: underline;
}

/* --- OpenStreetMap (Leaflet, consent-gated) --- */
.osm-map { position: relative; border-radius: var(--radius-sm); overflow: hidden; background: #e8ecef; }
.osm-map-gate {
  position: absolute; inset: 0; z-index: 500;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; text-align: center; padding: 20px;
  background:
    repeating-linear-gradient(45deg, #dfe4e8 0 14px, #e8ecef 14px 28px);
}
.osm-map-gate-text { margin: 0; max-width: 46ch; font-size: .9rem; color: #3c434b; }
.osm-map.is-ready .osm-map-gate { display: none; }
.osm-map-route { position: absolute; right: 10px; top: 10px; z-index: 600;
  background: #fff; color: #1b1e22 !important; font-size: .8rem; font-weight: 700;
  padding: 6px 10px; border-radius: 6px; text-decoration: none; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.osm-map-route[hidden] { display: none; }
.leaflet-container { width: 100%; height: 100%; }

/* --- branding: footer logo chip (uploaded logo on light background) --- */
.footer-logo-chip {
  display: inline-block; background: #fff; padding: 8px 12px;
  border-radius: 8px; line-height: 0; margin-bottom: 14px;
}
.footer-logo-chip img { height: 38px; width: auto; }
.site-header .brand img { height: 44px; width: auto; }

/* --- admin: menu item reorder + misc --- */
.menu-move-td { white-space: nowrap; }
.menu-move { padding: 2px 8px !important; line-height: 1.2; font-size: .7rem !important; }
.hidden-form { display: none; }
.branding-preview img { display: block; margin-bottom: 6px; }

/* --- front: [cookie-table] on the privacy page --- */
.cookie-table-wrap { margin: 26px 0; }
.cookie-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.cookie-table th, .cookie-table td { border: 1px solid #e2e6ea; padding: 8px 10px; text-align: left; vertical-align: top; }
.cookie-table th { background: #f4f6f8; }
.cookie-table code { background: #f4f6f8; padding: 2px 6px; border-radius: 4px; }

/* --- YouTube two-click placeholder (DSGVO) --- */
.yt-gate {
  position: relative; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  width: 100%; aspect-ratio: 16 / 9; text-align: center; padding: 20px;
  background: #16181b repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 14px, transparent 14px 28px);
  border-radius: var(--radius-sm); margin: 14px 0;
}
.yt-gate-text { margin: 0; max-width: 46ch; color: #cfd3d9; font-size: .9rem; }

/* --- FAQ module (v1.3.1): accessible <details> accordion, no JS --- */
.faq-block { margin: 1.4rem 0; }
.faq-item {
  background: #fff; border: 1px solid #ddd; border-left: 4px solid var(--brand, #bf0000);
  border-radius: var(--radius-sm); margin: 0 0 .65rem; overflow: hidden;
}
.faq-item summary {
  cursor: pointer; list-style: none; position: relative;
  padding: .85rem 2.6rem .85rem 1rem; font-weight: 700; color: var(--ink, #222);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover, .faq-item[open] summary { background: #f7f7f7; }
.faq-item summary:focus-visible { outline: 2px solid var(--brand, #bf0000); outline-offset: -2px; }
.faq-icon { position: absolute; right: 1rem; top: 50%; width: 14px; height: 14px; transform: translateY(-50%); }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; background: var(--brand, #bf0000); border-radius: 2px;
}
.faq-icon::before { left: 0; top: 6px; width: 14px; height: 2px; }
.faq-icon::after { left: 6px; top: 0; width: 2px; height: 14px; }
.faq-item[open] .faq-icon::after { display: none; } /* "+" becomes "-" */
.faq-a { padding: 0 1rem 1rem; color: var(--ink-soft, #333); }
.faq-a p { margin: 0 0 .6rem; }
.faq-a p:last-child { margin-bottom: 0; }
