/* =========================================================
   Mecom – Nachrichtentechnik Satuelle
   Eigene Ebene über Bootstrap 5.3
   1. Tokens & Bootstrap-Overrides
   2. Basis & Typografie
   3. Layout
   4. Buttons & Formulare
   5. Header / Navigation
   6. Hero & Fakten
   7. Leistungsraster
   8. Hersteller
   9. Ablauf
  10. Unternehmen
  11. Band
  12. Kontakt & Karte
  13. Footer
  14. Rechtsseiten
  15. Reveal & Responsive
   ========================================================= */

/* ---------- 1. Tokens & Bootstrap-Overrides ---------- */
:root {
  --ink:        #0f1215;
  --ink-2:      #2b3237;
  --muted:      #626d76;
  --muted-2:    #8b959d;
  --line:       #e2e5e8;
  --line-2:     #cfd4d9;
  --soft:       #f6f7f8;

  /* Markenfarbe – direkt aus mecom-logo.png ausgelesen (99,8 % der Pixel).
     Die drei weiteren Töne sind daraus abgeleitet: gleicher Farbton (195°),
     gleiche Sättigung, nur die Helligkeit variiert. */
  --accent:      #015f7f;   /* Piktogramme, Links, Buttons */
  --accent-dark: #014860;   /* Hover-Zustand */
  --accent-soft: #ebf2f5;   /* zarte Fläche */
  --accent-deep: #013142;   /* dunkles Band */

  /* Rot ist ausschließlich für Fehler und Pflichtfelder reserviert,
     damit Warnungen nicht wie Markenelemente aussehen. */
  --danger:     #b42318;

  --nav-h: 72px;
  --section-y: clamp(4rem, 8vw, 7rem);
  --ease: cubic-bezier(.22, .61, .36, 1);

  /* Bootstrap */
  --bs-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --bs-body-color: var(--ink);
  --bs-body-bg: #ffffff;
  --bs-secondary-color: var(--muted);
  --bs-border-color: var(--line);
  --bs-border-radius: .125rem;
  --bs-border-radius-sm: .125rem;
  --bs-border-radius-lg: .125rem;
  --bs-link-color: var(--accent);
  --bs-link-hover-color: var(--ink);
  --bs-emphasis-color: var(--ink);
}

/* ---------- 2. Basis & Typografie ---------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 8px);
}

body {
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: -.003em;
  -webkit-font-smoothing: antialiased;
  color: var(--ink);
}
body:focus { outline: none; }

h1, h2, h3, h4, h5 {
  font-weight: 600;
  letter-spacing: -.022em;
  line-height: 1.2;
  color: var(--ink);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.15rem, 1.35rem + 3.1vw, 3.6rem);
  letter-spacing: -.032em;
  line-height: 1.08;
  margin-bottom: 1.4rem;
}
h2 { font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2.15rem); margin-bottom: 1rem; }
h3 { font-size: 1.08rem; margin-bottom: .6rem; }
h4 { font-size: .95rem; }

p { margin-bottom: 1.05rem; }
p:last-child { margin-bottom: 0; }

a { text-underline-offset: .2em; text-decoration-thickness: 1px; }

.lead {
  font-size: clamp(1.05rem, 1rem + .32vw, 1.22rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 0;
}

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

.req { color: var(--danger); font-weight: 500; }

/* Piktogramme aus dem Sprite */
.ico {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
  color: currentColor;
  vertical-align: -.2em;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 2000;
  background: var(--ink);
  color: #fff;
  padding: .65rem 1.1rem;
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
  transition: top .18s var(--ease);
}
.skip-link:focus { top: 1rem; color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- 3. Layout ---------- */
.container { max-width: 1240px; }

.section { padding-block: var(--section-y); }
.bg-soft { background: var(--soft); }
.border-top { border-top: 1px solid var(--line) !important; }

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2:last-child { margin-bottom: 0; }
.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 0;
  max-width: 62ch;
}
/* gestapelt: Abstand zwischen Überschrift und Fließtext */
@media (max-width: 991.98px) {
  .section-head .section-sub { margin-top: .85rem; }
}

/* ---------- 4. Buttons & Formulare ---------- */
.btn {
  --bs-btn-font-weight: 500;
  --bs-btn-padding-x: 1.4rem;
  --bs-btn-padding-y: .6rem;
  --bs-btn-font-size: .95rem;
  letter-spacing: -.005em;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.btn-lg {
  --bs-btn-padding-x: 1.75rem;
  --bs-btn-padding-y: .8rem;
  --bs-btn-font-size: 1rem;
}

/* Hauptaktion in der Markenfarbe */
.btn-brand {
  --bs-btn-bg: var(--accent);
  --bs-btn-border-color: var(--accent);
  --bs-btn-color: #fff;
  --bs-btn-hover-bg: var(--accent-dark);
  --bs-btn-hover-border-color: var(--accent-dark);
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--accent-dark);
  --bs-btn-active-border-color: var(--accent-dark);
  --bs-btn-active-color: #fff;
  --bs-btn-disabled-bg: var(--muted-2);
  --bs-btn-disabled-border-color: var(--muted-2);
  --bs-btn-disabled-color: #fff;
}

.btn-outline-brand {
  --bs-btn-color: var(--ink);
  --bs-btn-bg: transparent;
  --bs-btn-border-color: var(--line-2);
  --bs-btn-hover-bg: var(--accent);
  --bs-btn-hover-border-color: var(--accent);
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--accent-dark);
  --bs-btn-active-border-color: var(--accent-dark);
  --bs-btn-active-color: #fff;
}

/* Heller Button auf dunklem Band */
.btn-light {
  --bs-btn-bg: #fff;
  --bs-btn-border-color: #fff;
  --bs-btn-color: var(--accent);
  --bs-btn-hover-bg: var(--accent-soft);
  --bs-btn-hover-border-color: var(--accent-soft);
  --bs-btn-hover-color: var(--accent-dark);
}

.form-label {
  font-size: .85rem;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: .35rem;
}

.form-control,
.form-select {
  border-color: var(--line-2);
  padding: .68rem .85rem;
  font-size: .96rem;
  background-color: #fff;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.form-control:focus,
.form-select:focus {
  border-color: var(--accent);
  box-shadow: none;
}
.form-control::placeholder { color: var(--muted-2); }

.form-control.is-invalid,
.form-select.is-invalid {
  border-color: var(--danger);
  background-image: none;
  padding-right: .85rem;
}
.form-control.is-invalid:focus,
.form-select.is-invalid:focus { box-shadow: none; }

.invalid-feedback { font-size: .82rem; color: var(--danger); }

.form-check-input { border-color: var(--line-2); margin-top: .28em; }
.form-check-input:checked { background-color: var(--accent); border-color: var(--accent); }
.form-check-input:focus { border-color: var(--accent); box-shadow: none; }
.form-check-input.is-invalid { border-color: var(--danger); }
.form-check-input.is-invalid ~ .form-check-label { color: var(--ink); }
.form-check-label { font-size: .9rem; color: var(--muted); }

.form-note { font-size: .85rem; color: var(--muted-2); }

.alert {
  border-radius: 0;
  border-width: 0 0 0 2px;
  font-size: .93rem;
  padding: .9rem 1.1rem;
  margin-bottom: 0;
}
.alert-ok { background: var(--soft); border-left-color: var(--accent); color: var(--ink); }
.alert-fail { background: var(--soft); border-left-color: var(--danger); color: var(--ink); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- 5. Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.navbar { padding: 0; }
.navbar > .container { min-height: var(--nav-h); }

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: 0;
  margin: 0;
  color: var(--ink);
}
.navbar-brand:hover { color: var(--ink); }
/* Firmenlogo. Höhe steuert die Größe, Breite folgt dem Seitenverhältnis. */
.brand-logo {
  height: 42px;
  width: auto;
  display: block;
}
.footer-brand .brand-logo { height: 54px; }

/* Überschrift im ausgefahrenen Mobilmenü */
.brand-name {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -.02em;
}

.navbar-toggler {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0 9px;
  border: 0;
  border-radius: 0;
}
.navbar-toggler:focus { box-shadow: none; }
.toggler-bar { display: block; height: 1.5px; background: var(--ink); }

.navbar-nav .nav-link {
  --bs-nav-link-color: var(--muted);
  --bs-nav-link-hover-color: var(--ink);
  font-size: .93rem;
  font-weight: 500;
  padding: .5rem .85rem;
  position: relative;
}
.navbar-nav .nav-link.active { color: var(--accent); }

@media (min-width: 992px) {
  .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: .85rem;
    right: .85rem;
    bottom: .18rem;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .22s var(--ease);
  }
  .navbar-nav .nav-link.active::after,
  .navbar-nav .nav-link:hover::after { transform: scaleX(1); }
  .nav-cta .btn { width: auto !important; }
}

.offcanvas { border-left: 1px solid var(--line); }
.offcanvas-header { border-bottom: 1px solid var(--line); padding: 1.1rem 1.25rem; }
.offcanvas-body { padding: 1.25rem; }
.offcanvas .nav-link { padding: .7rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }

/* ---------- 6. Hero & Fakten ---------- */
.hero { padding-block: clamp(3rem, 6vw, 5rem) 0; }
.hero .lead { max-width: 46ch; }

.hero-figure {
  margin: 0;
  border: 1px solid var(--line);
  background: #fff;
}
.hero-figure img { width: 100%; height: auto; display: block; }

.facts {
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--line);
}
.fact {
  padding: 1.6rem 1.5rem 1.6rem 0;
  border-bottom: 1px solid var(--line);
}
.fact-ico {
  width: 1.4rem;
  height: 1.4rem;
  display: block;
  margin-bottom: .7rem;
  color: var(--accent);
}
.fact-value {
  display: block;
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.fact-label {
  display: block;
  margin-top: .2rem;
  font-size: .85rem;
  color: var(--muted);
}
.fact-link {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--line-2);
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.fact-link:hover { color: var(--accent); border-bottom-color: var(--accent); }
@media (min-width: 992px) {
  .facts { border-bottom: 1px solid var(--line); }
  .fact { border-bottom: 0; border-left: 1px solid var(--line); padding-left: 1.5rem; }
  .fact:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- 7. Leistungsraster ---------- */
.service-grid { border-top: 1px solid var(--line); }

.service {
  padding: 2.1rem 1.75rem 2.1rem 0;
  border-bottom: 1px solid var(--line);
  transition: background-color .2s var(--ease);
}
.service-ico {
  width: 2rem;
  height: 2rem;
  display: block;
  margin-bottom: 1.1rem;
  color: var(--accent);
  transition: color .2s var(--ease);
}
.service:hover .service-ico { color: var(--accent-dark); }
.service h3 { margin-bottom: .35rem; }
.service p { font-size: .9rem; color: var(--muted); margin-bottom: 0; }

/* Hervorgehobener Streifen unter dem Raster */
.special {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--accent-soft);
}
.special-ico { width: 2rem; height: 2rem; color: var(--accent); }
.special-text { flex: 1 1 22rem; }
.special h3 { margin-bottom: .25rem; }
.special p { font-size: .9rem; color: var(--muted); margin-bottom: 0; max-width: 62ch; }
.special .btn { flex: none; }
.special .btn:not(:hover) { background: #fff; border-color: #fff; }

/* Trennlinien: jede Zelle bekommt links eine Linie, die erste jeder
   Zeile verliert sie wieder – pro Breakpoint neu gesetzt. */
@media (min-width: 576px) {
  .service { border-left: 1px solid var(--line); padding-left: 1.75rem; padding-right: 1.75rem; }
  .service:nth-child(2n + 1) { border-left: 0; padding-left: 0; }
  .service:nth-child(2n) { padding-right: 0; }
}
@media (min-width: 992px) {
  .service { padding-left: 2rem; padding-right: 2rem; }
  .service:nth-child(2n + 1) { border-left: 1px solid var(--line); padding-left: 2rem; }
  .service:nth-child(2n) { padding-right: 2rem; }
  .service:nth-child(3n + 1) { border-left: 0; padding-left: 0; }
  .service:nth-child(3n) { padding-right: 0; }
}

/* ---------- 8. Hersteller / Marken-Karussell ---------- */
.brand-carousel { position: relative; }

/* Zelle: eine Marke */
.brand-cell {
  display: grid;
  place-items: center;
  min-height: 7rem;
  padding: 1.5rem 1.25rem;
}
.brand-cell img {
  /* Optisch gleich große Logos trotz unterschiedlicher Seitenverhältnisse */
  width: auto;
  height: auto;
  max-width: 168px;
  max-height: 44px;
  filter: grayscale(1);
  opacity: .8;
  transition: opacity .2s var(--ease), filter .2s var(--ease);
}
.brand-cell:hover img { filter: none; opacity: 1; }

/* Kompakte Logos dürfen höher sein, sonst wirken sie zu klein. */
.brand-cell img[src*="avm"] { max-height: 60px; }

/* Karussell-Variante (wird per JS aufgebaut) */
#brandCarousel[hidden] { display: none; }
#brandCarousel .carousel-inner {
  border-block: 1px solid var(--line);
}
.brand-slide { display: flex; }
.brand-slide .brand-cell {
  flex: 1 1 0;
  min-width: 0;
  border-left: 1px solid var(--line);
}
.brand-slide .brand-cell:first-child { border-left: 0; }

/* Bootstrap setzt auf Pfeile und Indikatoren display:flex – das würde das
   hidden-Attribut übersteuern, mit dem das Skript sie bei nur einer Folie
   ausblendet. */
#brandCarousel [hidden] { display: none !important; }

#brandCarousel .carousel-control-prev,
#brandCarousel .carousel-control-next {
  top: 0;
  bottom: 2.75rem;
  width: 3rem;
  opacity: 1;
  align-items: center;
}
#brandCarousel .carousel-control-prev { left: -3.25rem; }
#brandCarousel .carousel-control-next { right: -3.25rem; }
.carousel-arrow {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  background: #fff;
  border: 1px solid var(--line-2);
  color: var(--ink);
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}
.carousel-control-prev:hover .carousel-arrow,
.carousel-control-next:hover .carousel-arrow { border-color: var(--ink); }
.carousel-arrow svg { width: 1.15rem; height: 1.15rem; }

#brandCarousel .carousel-indicators {
  position: static;
  margin: 1.25rem 0 0;
  justify-content: center;
}
#brandCarousel .carousel-indicators [data-bs-target] {
  width: 20px;
  height: 2px;
  margin: 0 3px;
  border: 0;
  background: var(--line-2);
  opacity: 1;
  transition: background-color .2s var(--ease);
}
#brandCarousel .carousel-indicators .active { background: var(--accent); }

/* Fallback ohne JavaScript: einfaches Logoraster */
.brand-source {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}
.brand-source[hidden] { display: none; }
.brand-source li {
  flex: 0 0 50%;
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.brand-source li:nth-child(2n + 1) { border-left: 0; }
@media (min-width: 768px) {
  .brand-source li { flex-basis: 25%; }
  .brand-source li:nth-child(2n + 1) { border-left: 1px solid var(--line); }
  .brand-source li:nth-child(4n + 1) { border-left: 0; }
}
@media (min-width: 992px) {
  .brand-source li { flex-basis: 16.6667%; }
  .brand-source li:nth-child(4n + 1) { border-left: 1px solid var(--line); }
  .brand-source li:nth-child(6n + 1) { border-left: 0; }
}

/* Pfeile außerhalb nur dort, wo Platz ist */
@media (max-width: 1359.98px) {
  #brandCarousel .carousel-control-prev { left: 0; }
  #brandCarousel .carousel-control-next { right: 0; }
  .carousel-arrow { box-shadow: 0 0 0 6px rgba(246, 247, 248, .9); }
}

.vendor-note {
  margin-top: 2rem;
  font-size: .85rem;
  color: var(--muted-2);
  max-width: 64ch;
}

/* ---------- 9. Ablauf ---------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}
.step {
  position: relative;
  padding: 1.9rem 1.5rem 1.9rem 0;
  border-bottom: 1px solid var(--line);
}
.step-num {
  display: block;
  margin-bottom: .9rem;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--muted-2);
  font-variant-numeric: tabular-nums;
}
.step-ico {
  width: 1.75rem;
  height: 1.75rem;
  display: block;
  margin-bottom: .9rem;
  color: var(--accent);
}
.step h3 { font-size: 1rem; margin-bottom: .25rem; }
.step p { font-size: .88rem; color: var(--muted); margin-bottom: 0; }

@media (min-width: 576px) {
  .step { border-left: 1px solid var(--line); padding-left: 1.5rem; }
  .step:nth-child(2n + 1) { border-left: 0; padding-left: 0; }
}
@media (min-width: 992px) {
  .step { padding-inline: 1.5rem; }
  .step:nth-child(2n + 1) { border-left: 1px solid var(--line); padding-left: 1.5rem; }
  .step:first-child { border-left: 0; padding-left: 0; }
  .step:last-child { padding-right: 0; }
}

/* ---------- 10. Unternehmen ---------- */
#unternehmen > .container > .row:first-child p { color: var(--muted); }

.principles { list-style: none; padding: 0; margin: 0; }
.principle-ico {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
  margin-bottom: .55rem;
  color: var(--accent);
}
.principles strong { display: block; font-size: .95rem; font-weight: 600; color: var(--ink); }
.principles span { display: block; font-size: .87rem; color: var(--muted); }

/* Branchen als Piktogrammraster */
.sectors {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid var(--line);
}
.sector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  text-align: center;
  min-height: 8rem;
  padding: 1.5rem .75rem;
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.sector-ico { width: 1.75rem; height: 1.75rem; color: var(--accent); }
.sector span { font-size: .82rem; font-weight: 500; color: var(--muted); line-height: 1.35; }

.sector:nth-child(2n + 1) { border-left: 0; }
@media (min-width: 576px) {
  .sector:nth-child(2n + 1) { border-left: 1px solid var(--line); }
  .sector:nth-child(3n + 1) { border-left: 0; }
}
@media (min-width: 992px) {
  .sector:nth-child(3n + 1) { border-left: 1px solid var(--line); }
  .sector:nth-child(5n + 1) { border-left: 0; }
}

/* ---------- 11. Band ---------- */
.band {
  background: var(--accent-deep);
  color: #fff;
  padding-block: clamp(2.75rem, 5vw, 4rem);
}
.band h2 { color: #fff; margin-bottom: .3rem; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); }
.band p { color: rgba(255, 255, 255, .62); margin-bottom: 0; font-size: .95rem; }
.band-ico { width: 2rem; height: 2rem; color: #fff; opacity: .8; flex: none; }
.band .btn .ico { width: 1.1rem; height: 1.1rem; }


/* ---------- 12. Kontakt & Karte ---------- */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li {
  display: flex;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}
.contact-list li:first-child { padding-top: 0; }
.contact-list li:last-child { border-bottom: 0; }
.contact-ico { width: 1.35rem; height: 1.35rem; margin-top: .15rem; color: var(--accent); }
.contact-list strong {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: .2rem;
}
.contact-list span,
.contact-list a { font-size: .95rem; color: var(--ink-2); line-height: 1.55; }
.contact-list a { text-decoration: none; border-bottom: 1px solid var(--line-2); }
.contact-list a:hover { color: var(--accent); border-bottom-color: var(--accent); }

.map-wrap {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  border: 1px solid var(--line);
  background: #fff;
}
.map-consent {
  display: grid;
  place-items: center;
  min-height: 400px;
  padding: clamp(1.75rem, 4vw, 3rem);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 40px 40px;
}
.map-consent-inner {
  max-width: 42ch;
  text-align: center;
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--line);
}
.map-ico { width: 1.75rem; height: 1.75rem; color: var(--accent); margin: 0 auto .75rem; display: block; }
.map-consent p { font-size: .9rem; color: var(--muted); margin-bottom: 0; }
.map-frame iframe { display: block; width: 100%; height: 440px; border: 0; }

/* ---------- 13. Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  font-size: .92rem;
}
.footer-brand { margin-bottom: 1.1rem; }
.footer-claim { color: var(--muted); max-width: 34ch; font-size: .9rem; }

.site-footer h4 {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 1rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; color: var(--muted); line-height: 1.55; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: .86rem;
}
.footer-bottom p { margin: 0; }
.footer-legal { list-style: none; display: flex; gap: 1.5rem; padding: 0; margin: 0; }
.footer-legal a { color: var(--muted-2); text-decoration: none; }
.footer-legal a:hover { color: var(--ink); }

/* ---------- 13b. Fehlerseite ---------- */
.error-page { padding-block: clamp(3.5rem, 9vw, 7rem); }
.error-code {
  font-size: clamp(4.5rem, 3rem + 9vw, 9rem);
  font-weight: 600;
  line-height: .9;
  letter-spacing: -.05em;
  color: var(--accent-soft);
  margin: 0 0 .5rem;
  user-select: none;
}
.error-page h1 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); }
.error-page .lead { max-width: 44ch; }

.error-links {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.error-links h2 {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: .9rem;
}
.error-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.75rem;
}
.error-links a { font-size: .95rem; color: var(--ink-2); text-decoration: none; }
.error-links a:hover { color: var(--accent); }

.error-direct {
  margin-top: 2rem;
  font-size: .92rem;
  color: var(--muted);
  max-width: 56ch;
}

/* ---------- 14. Rechtsseiten ---------- */
.page-head {
  padding-block: clamp(3rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
}
.page-head h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.9rem); margin-bottom: .5rem; }
.page-head p { color: var(--muted); margin: 0; }

.breadcrumb-simple {
  display: flex;
  gap: .5rem;
  margin-bottom: 1.25rem;
  font-size: .84rem;
  color: var(--muted-2);
}
.breadcrumb-simple a { color: var(--muted-2); text-decoration: none; }
.breadcrumb-simple a:hover { color: var(--ink); }

.legal { padding-block: clamp(2.5rem, 5vw, 4rem); }

.legal-toc { border-left: 1px solid var(--line); padding-left: 1.5rem; }
.legal-toc h2 {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: .9rem;
}
.legal-toc ul { list-style: none; padding: 0; margin: 0; }
.legal-toc li { margin-bottom: .45rem; }
.legal-toc a { font-size: .88rem; color: var(--muted); text-decoration: none; }
.legal-toc a:hover { color: var(--ink); }
@media (min-width: 992px) {
  .legal-toc { position: sticky; top: calc(var(--nav-h) + 32px); }
}

.legal-content { max-width: 74ch; }
.legal-content > section { margin-bottom: 3rem; scroll-margin-top: calc(var(--nav-h) + 24px); }
.legal-content h2 {
  font-size: 1.25rem;
  padding-bottom: .7rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.legal-content h3 { font-size: 1rem; margin: 1.6rem 0 .5rem; }
.legal-content p,
.legal-content li { color: var(--muted); font-size: .96rem; }
.legal-content ul.bullets { list-style: none; padding: 0; margin: .9rem 0 1.2rem; }
.legal-content ul.bullets li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: .4rem;
}
.legal-content ul.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .8em;
  width: 6px;
  height: 1px;
  background: var(--line-2);
}
.legal-content address {
  font-style: normal;
  padding: 1.1rem 1.3rem;
  margin: 1rem 0 1.3rem;
  background: var(--soft);
  line-height: 1.7;
  font-size: .96rem;
  color: var(--ink-2);
}
.legal-note {
  padding: 1.1rem 1.3rem;
  margin: 1.4rem 0;
  border-left: 2px solid var(--accent);
  background: var(--soft);
  font-size: .9rem;
  color: var(--muted);
}
.legal-note strong { color: var(--ink); }
.legal-meta { font-size: .85rem; color: var(--muted-2); }

/* ---------- 15. Reveal & Responsive ---------- */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

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

@media (max-width: 991.98px) {
  :root { --nav-h: 68px; }
  .brand-logo { height: 36px; }
  .offcanvas { width: min(320px, 84vw); }
}

@media (max-width: 575.98px) {
  .brand-logo { height: 30px; }
  .map-consent { min-height: 320px; }
  .map-frame iframe { height: 340px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media print {
  .site-header, .band, .map-wrap, #contactForm { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  body { color: #000; }
}
