/* =============================================================================
   BarrierSystems Markenschicht (Styleguide Fassung 0.9 aus barriersystems-shop)
   =============================================================================
   Liegt ueber style.css (Bootstrap-Template). style.css nutzt seit der
   Umstellung nur noch die Rollen unten; die Werte sind dieselben wie im
   Shop-Theme (abstracts/_tokens.scss), damit Website und Shop gleich aussehen.
   Dunkles Erscheinungsbild: nach Systemeinstellung, per Umschalter ueber
   html[data-theme] uebersteuerbar (assets/js/theme.js). */

/* --- Schriften (selbst gehostet, aus docs/styleguide/fonts) ---------------- */
@font-face {
  font-family: "Ardela Edge X03";
  src: url("../fonts/brand/ardela-edge-x03-extrabold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Ardela Edge";
  src: url("../fonts/brand/ardela-edge-x03-extrabold.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/brand/open-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/brand/open-sans-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* --- Rollen ---------------------------------------------------------------- */
:root {
  color-scheme: light dark;
  --bsys-brand: #2ab5b9;
  --bsys-brand-deep: #00857b;
  --bsys-brand-petrol: #21657f;
  --bsys-brand-wash: #e5f6f7;

  --bsys-surface-page: #ffffff;
  --bsys-surface-header: #e5dfda;
  --bsys-surface-muted: #f8f8f8;
  --bsys-surface-alt: #f4f2f2;
  --bsys-text-base: #333333;
  --bsys-text-strong: #313030;
  --bsys-text-warm: #473d3a;
  --bsys-text-muted: #656262;
  --bsys-text-inverse: #ffffff;
  --bsys-border-base: #cccccc;
  --bsys-border-soft: #dddddd;
  --bsys-border-subtle: #eeeeee;
  --bsys-border-input: #ced4da;
  --bsys-interactive: #21657f;
  --bsys-interactive-hover: #00857b;
  --bsys-heading: #00857b;
  --bsys-on-header: #21657f;
  --bsys-on-header-strong: #00695f;

  /* Gefuellte Flaechen tragen in beiden Erscheinungsbildern weisse Schrift:
     Tiefgruen 4,5:1, Petrol 6,5:1. Tuerkis ist nie Flaeche unter Text. */
  --bsys-cta-surface: #00857b;
  --bsys-hero-surface: #21657f;
  --bsys-footer-legal-surface: #184b5e;
  --bsys-action-hover-surface: #6ecbe3;
  --bsys-on-action-hover: #0b2027;

  --bsys-glass-edge: rgba(255, 255, 255, 0.6);
  --bsys-glass-highlight: rgba(255, 255, 255, 0.4);
  --bsys-shadow-soft: 0 2px 6px rgba(0, 0, 0, 0.1);
  --bsys-shadow-strong: 0 6px 18px rgba(0, 0, 0, 0.25);

  --bsys-font-display: "Ardela Edge X03", "Ardela Edge", "Open Sans", system-ui, sans-serif;
  --bsys-font-text: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bsys-radius: 12px;
  --bsys-radius-pill: 50px;
  --bsys-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --bsys-header-height: 4.5rem;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bsys-surface-page: #091c24;
    --bsys-surface-header: #10303a;
    --bsys-surface-muted: #0e2731;
    --bsys-surface-alt: #143a47;
    --bsys-text-base: #e7e9ea;
    --bsys-text-strong: #f5f6f6;
    --bsys-text-warm: #e6dcd7;
    --bsys-text-muted: #a8b0b4;
    --bsys-border-base: #4a5b63;
    --bsys-border-soft: #36474f;
    --bsys-border-subtle: #20353d;
    --bsys-border-input: #7b868c;
    --bsys-interactive: #6ecbe3;
    --bsys-interactive-hover: #3fd3c4;
    --bsys-heading: #3fd3c4;
    --bsys-on-header: #6ecbe3;
    --bsys-on-header-strong: #3fd3c4;
    --bsys-glass-edge: rgba(255, 255, 255, 0.12);
    --bsys-glass-highlight: rgba(255, 255, 255, 0.07);
    --bsys-shadow-soft: 0 2px 6px rgba(0, 0, 0, 0.5);
    --bsys-shadow-strong: 0 6px 18px rgba(0, 0, 0, 0.7);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bsys-surface-page: #091c24;
  --bsys-surface-header: #10303a;
  --bsys-surface-muted: #0e2731;
  --bsys-surface-alt: #143a47;
  --bsys-text-base: #e7e9ea;
  --bsys-text-strong: #f5f6f6;
  --bsys-text-warm: #e6dcd7;
  --bsys-text-muted: #a8b0b4;
  --bsys-border-base: #4a5b63;
  --bsys-border-soft: #36474f;
  --bsys-border-subtle: #20353d;
  --bsys-border-input: #7b868c;
  --bsys-interactive: #6ecbe3;
  --bsys-interactive-hover: #3fd3c4;
  --bsys-heading: #3fd3c4;
  --bsys-on-header: #6ecbe3;
  --bsys-on-header-strong: #3fd3c4;
  --bsys-glass-edge: rgba(255, 255, 255, 0.12);
  --bsys-glass-highlight: rgba(255, 255, 255, 0.07);
  --bsys-shadow-soft: 0 2px 6px rgba(0, 0, 0, 0.5);
  --bsys-shadow-strong: 0 6px 18px rgba(0, 0, 0, 0.7);
}
:root[data-theme="light"] {
  color-scheme: light;
}

/* --- Grundtypografie ------------------------------------------------------- */
html {
  scroll-padding-top: 4rem;
}

/* Template-Reihen mit negativem Rand und AOS-Einflug ragten seitlich heraus;
   clip statt hidden, damit die klebende Leiste weiter klebt. */
html,
body {
  overflow-x: clip;
}

body {
  font-family: var(--bsys-font-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--bsys-text-base);
  background-color: var(--bsys-surface-page);
}

h1, h2, .font-ardela-edge, .section-title h2 {
  font-family: var(--bsys-font-display) !important;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(1.75rem, 1.75rem + 1vw, 2.25rem);
  line-height: 1.15;
}

h2 {
  line-height: 1.25;
}

h3, h4, h5, h6 {
  font-family: var(--bsys-font-text);
  font-weight: 700;
  text-transform: none;
}

/* Ardela Edge steht immer in Versalien, auch dort, wo das Template sie fuer
   Fliesstext einsetzt. */
.navbar li, .navbar a {
  font-family: var(--bsys-font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Verweise im Inhalt: unterstrichen, damit sie nicht nur an der Farbe
   erkennbar sind. Navigation, Schaltflaechen und Kacheln ausgenommen. */
#main p a,
#main li a:not(.btn):not(.nav-link),
.impressum a {
  color: var(--bsys-interactive);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
#main p a:hover,
.impressum a:hover {
  color: var(--bsys-interactive-hover);
}

:focus-visible {
  outline: 2px solid var(--bsys-text-base);
  outline-offset: 2px;
}

.section-title h2,
.why-us h2 {
  color: var(--bsys-heading);
}

/* --- Kopfleiste: Liquid-Glass-Pille -------------------------------------------
   Liquid-Glass-Web-Approximation, kein offizielles Apple-Material.
   Wie im Shop (components/_header-pill.scss) und auf code-hive.de: eine
   schwebende Pille in Petrol mit Weichzeichnung, 1-px-Lichtkante oben,
   Glanzpunkt und weichem Schatten. Sie liegt ueber dem Video im Einstieg;
   dort hat das Glas etwas zu brechen. Die bisherige obere Leiste (Logo,
   Telefon, Termin) ist in die Pille gewandert und ausgeblendet.

   Das Glas sitzt auf ::before und nicht auf #header selbst: backdrop-filter
   auf dem Kopf machte ihn zum Bezugsrahmen fuer position: fixed, und das
   mobile Menue (fixed, inset 0) schrumpfte auf die Hoehe der Leiste. */
:root {
  --bsys-pill-height: 4rem;
  --bsys-pill-top: 10px;
  --bsys-pill-x: max(12px, calc((100vw - 1320px) / 2));
  --bsys-pill-clearance: calc(var(--bsys-pill-height) + var(--bsys-pill-top) + 12px);
}

#topbar {
  display: none !important;
}

#header,
#header.fixed-top {
  position: fixed !important;
  top: var(--bsys-pill-top);
  left: var(--bsys-pill-x) !important;
  right: var(--bsys-pill-x) !important;
  z-index: 997;
  height: var(--bsys-pill-height);
  padding: 0;
  background: none;
  border: 0;
  border-radius: 999px;
  color: #fff;
  box-shadow: 0 12px 38px rgba(7, 31, 38, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: box-shadow 300ms var(--bsys-ease);
}
#header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.18), transparent 38%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07), transparent 45%),
    color-mix(in srgb, var(--bsys-brand-petrol) 96%, transparent);
  pointer-events: none;
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  #header::before {
    background:
      radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.18), transparent 38%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.07), transparent 45%),
      color-mix(in srgb, var(--bsys-brand-petrol) 84%, transparent);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    backdrop-filter: blur(24px) saturate(180%);
  }
}
@media (prefers-reduced-transparency: reduce) {
  #header::before {
    background: color-mix(in srgb, var(--bsys-brand-petrol) 96%, transparent);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
/* Beim Blaettern etwas dichter */
#header.fixed-top {
  box-shadow: 0 14px 40px rgba(7, 31, 38, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

#header > .container {
  max-width: none;
  height: 100%;
  padding: 0 0.5rem 0 1.5rem;
  gap: 0.75rem;
}
.scrolled-offset {
  margin-top: 0 !important;
}

/* Inhalt beginnt unter der Pille. Auf der Startseite laeuft das Video unter
   der Pille hindurch (siehe #hero). */
#breadcrumbs {
  padding-top: calc(var(--bsys-pill-clearance) + 0.75rem) !important;
}

/* Logo: das horizontale Logo der bisherigen Website (PNG 414 x 154), auf
   Petrol immer in der hellen Fassung. */
.bs-logo-on-dark {
  display: none !important;
}
#header .logo {
  display: block !important;
  flex: 0 0 auto;
  order: 1;
  width: auto;
  height: auto;
  margin: 0;
  background-image: none;
}
#header .logo img.bs-logo-on-light {
  display: block !important;
  height: 2.5rem;
  width: auto;
  max-height: none;
  margin: 0;
  filter: brightness(0) invert(1);
}

/* Navigation */
#header .navbar {
  order: 2;
  flex: 1 1 auto;
  justify-content: center;
}
.navbar a,
.navbar a:focus,
.navbar .desktop-only,
.navbar .desktop-only li {
  color: #fff;
}
.navbar > ul > li > a:hover,
.navbar > ul > li:hover > a,
.navbar .active,
.navbar .active:focus {
  color: #fff;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 0.3em;
  text-decoration-thickness: 2px;
}
@media (min-width: 1280px) {
  .navbar > ul > li > a,
  .navbar > ul > li > a:focus {
    padding: 0 4px 0 14px;
    font-size: 14px;
  }
  .navbar .desktop-only {
    margin-left: 10px;
    gap: 4px;
  }
  .navbar .desktop-only li a {
    padding: 0 4px;
  }
}

/* Ausklappmenues: helles Glas */
.navbar .dropdown ul {
  background: color-mix(in srgb, var(--bsys-surface-page) 90%, transparent);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--bsys-glass-edge);
  border-radius: var(--bsys-radius);
  box-shadow: inset 0 1px 0 var(--bsys-glass-edge), var(--bsys-shadow-strong);
}
.navbar .dropdown ul a,
.navbar .dropdown ul a:focus {
  color: var(--bsys-interactive);
  text-decoration: none;
}
.navbar .dropdown ul a:hover,
.navbar .dropdown ul li:hover > a {
  color: var(--bsys-interactive-hover);
  text-decoration: underline;
}
.navbar .dropdown ul li.submenu,
.navbar .dropdown ul li.submenu strong {
  color: var(--bsys-text-muted);
}

/* Aktionen rechts: Telefon, Erscheinungsbild, Termin */
.bs-header-actions {
  order: 3;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
}
.bs-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: transform 200ms var(--bsys-ease), background-color 200ms var(--bsys-ease);
}
.bs-icon-btn:hover,
.bs-icon-btn:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
}
.bs-icon-btn:focus-visible,
.bs-header-cta:focus-visible,
#header a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.bs-header-actions .bs-header-cta {
  padding: 10px 20px;
  font-size: 0.9375rem;
  white-space: nowrap;
}

/* Zwischen 1280 und 1439 px wird es eng: der Termin-Knopf zeigt dann die
   Kurzform, damit der Telefonknopf Platz behaelt. */
@media (min-width: 1280px) and (max-width: 1439px) {
  .bs-header-actions .bs-header-cta .bs-cta-long {
    display: none;
  }
  .bs-header-actions .bs-header-cta .bs-cta-short {
    display: inline;
  }
}

/* Sprachwahl fuer schmale Schirme (im Template .mobile-only) */
#header > .container > .mobile-only {
  order: 2;
  margin: 0 0 0 auto !important;
  width: auto !important;
  color: rgba(255, 255, 255, 0.7);
}
#header > .container > .mobile-only a {
  color: #fff;
}

/* Unter 1280 px passt die Navigation nicht mehr neben Logo und Aktionen:
   Menue-Symbol statt Zeile (das Template schaltete erst bei 991 px um). */
.mobile-nav-toggle {
  color: #fff;
  font-size: 1.75rem;
}
@media (max-width: 1279px) {
  .mobile-nav-toggle {
    display: block;
  }
  .navbar > ul {
    display: none;
  }
  .navbar-mobile > ul {
    display: block;
  }
  #header .navbar {
    order: 4;
    flex: 0 0 auto;
  }
  #header > .container > .mobile-only {
    display: block !important;
  }
}
@media (max-width: 575px) {
  .bs-header-actions .bs-header-cta {
    display: none;
  }
  .bs-header-tel {
    display: none !important;
  }
  #header > .container {
    padding: 0 0.75rem 0 1rem;
    gap: 0.5rem;
  }
  #header .logo img.bs-logo-on-light {
    height: 2.125rem;
  }
}

/* Mobiles Menue: Vollbild-Glas ueber der Seite */
.navbar-mobile {
  background: rgba(9, 28, 36, 0.45);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.navbar-mobile .mobile-nav-toggle {
  color: #fff;
  top: calc(var(--bsys-pill-top) + 16px);
  right: calc(var(--bsys-pill-x) + 12px);
  line-height: 1;
}
.navbar-mobile > ul {
  top: var(--bsys-pill-clearance);
  left: var(--bsys-pill-x);
  right: var(--bsys-pill-x);
  background-color: var(--bsys-surface-page);
  border: 1px solid var(--bsys-glass-edge);
  border-radius: var(--bsys-radius);
  box-shadow: inset 0 1px 0 var(--bsys-glass-edge), var(--bsys-shadow-strong);
}
.navbar-mobile .dropdown ul {
  background-color: var(--bsys-surface-muted);
  border-radius: var(--bsys-radius);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.navbar-mobile a,
.navbar-mobile a:focus,
.navbar-mobile .dropdown ul a,
.navbar-mobile .dropdown ul a i,
.navbar-mobile .desktop-only,
.navbar-mobile .desktop-only li {
  color: var(--bsys-interactive);
  text-decoration: none;
}

.navbar-mobile .active,
.navbar-mobile .active:focus,
.navbar-mobile a:hover,
.navbar-mobile li:hover > a {
  color: var(--bsys-interactive-hover);
  text-decoration: underline;
}
/* Im offenen Menue liegen Telefon und Umschalter unter dem Schliessen-Symbol */
#header:has(.navbar-mobile) .bs-header-actions {
  visibility: hidden;
}

/* --- Schaltflaechen ---------------------------------------------------------- */
/* Primaer: Tiefgruen, weisse Schrift, Pille. Hebt sich beim Ueberfahren um
   2 px; bewegt werden nur transform und box-shadow. */
#topbar .cta a,
#cta .cta a,
#hero .btn-get-started,
.navbar .getstarted,
.buttondiv,
#download,
.why-us .content .more-btn,
.btn-primary,
.bs-btn {
  display: inline-block;
  padding: 12px 24px;
  border: 0;
  border-radius: var(--bsys-radius-pill) !important;
  background: var(--bsys-cta-surface) !important;
  color: #fff !important;
  font-family: var(--bsys-font-text) !important;
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.3;
  text-transform: none;
  letter-spacing: 0;
  text-decoration: none !important;
  transition: transform 200ms var(--bsys-ease), box-shadow 200ms var(--bsys-ease),
    background-color 200ms var(--bsys-ease), color 200ms var(--bsys-ease);
}
#topbar .cta a:hover,
#cta .cta a:hover,
#hero .btn-get-started:hover,
.navbar .getstarted:hover,
.buttondiv:hover,
#download:hover,
.why-us .content .more-btn:hover,
.btn-primary:hover,
.bs-btn:hover {
  background: var(--bsys-action-hover-surface) !important;
  color: var(--bsys-on-action-hover) !important;
}

/* Auf Petrol- oder Tiefgruen-Flaechen waere Tiefgruen unsichtbar: dort die
   helle Fassung. */
#cta .cta a,
.why-us .content .more-btn {
  background: #fff !important;
  color: var(--bsys-brand-petrol) !important;
}

@media (hover: hover) and (pointer: fine) {
  #topbar .cta a:hover,
  #cta .cta a:hover,
  #hero .btn-get-started:hover,
  .buttondiv:hover,
  #download:hover,
  .why-us .content .more-btn:hover,
  .btn-primary:hover,
  .bs-btn:hover,
  .bs-theme-toggle:hover {
    transform: translateY(-2px);
    box-shadow: var(--bsys-shadow-strong);
  }
  #topbar .cta a:active,
  #cta .cta a:active,
  #hero .btn-get-started:active,
  .bs-btn:active {
    transform: translateY(0);
    box-shadow: none;
  }
}

/* --- Flaechen, Karten -------------------------------------------------------- */
.section-bg {
  background-color: var(--bsys-surface-muted);
}

.why-us .content,
.why-us .icon-boxes .icon-box,
.services .icon-box,
.values .card,
.values .card-body,
.news .card,
.portfolio .portfolio-wrap,
.testimonials .testimonial-item,
.team .member,
#hero-video,
.card {
  border-radius: var(--bsys-radius) !important;
}
#hero-video {
  overflow: hidden;
  border-width: 0;
  box-shadow: inset 0 1px 0 var(--bsys-glass-edge), var(--bsys-shadow-strong);
}

.card {
  background-color: var(--bsys-surface-page);
  color: var(--bsys-text-base);
  border-color: var(--bsys-border-soft);
}

/* Aufzaehlung: Raute in Tuerkis statt Template-Icon */
#advantages li {
  background: none;
  position: relative;
  padding-left: 1.5em;
}
#advantages li::before {
  content: "";
  position: absolute;
  left: 0.15em;
  top: 0.55em;
  width: 0.55em;
  height: 0.55em;
  background: var(--bsys-brand);
  transform: rotate(45deg);
}

/* Formular */
input, textarea, select, .inputdiv, .form-control {
  background-color: var(--bsys-surface-page);
  color: var(--bsys-text-base);
  border-color: var(--bsys-border-input);
}

/* --- Fussbereich ------------------------------------------------------------- */
#footer {
  background: var(--bsys-footer-legal-surface);
  color: #fff;
}
#footer .footer-top {
  background: var(--bsys-hero-surface);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 40%);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
#footer .footer-top h4 {
  color: #fff;
}
#footer a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
#footer .footer-top .footer-links ul a {
  text-decoration: none;
}
#footer .footer-top .footer-links ul a:hover {
  text-decoration: underline;
}
#footer .copyright,
#footer .credits,
#footer .container.d-md-flex,
#footer .container.d-md-flex * {
  color: #fff;
}
#footer hr {
  border-color: rgba(255, 255, 255, 0.4);
  opacity: 1;
}

.back-to-top {
  border-radius: 50%;
}

/* --- Bewegung ---------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Template-Rest: <font color="#333"> im Fussbereich */
#footer font {
  color: inherit;
}

/* Mobiles Menue: Schaltflaechen als Pille, der Zaehler in der Textschrift */
.mobile-only a.mobile-menu-link {
  border-radius: var(--bsys-radius-pill) !important;
  background: var(--bsys-cta-surface) !important;
  color: #fff !important;
  font-family: var(--bsys-font-text) !important;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  padding: 12px 24px !important;
}
.navbar-mobile .mobile-only li,
.navbar-mobile .mobile-only div,
.navbar-mobile .mobile-only p,
.navbar-mobile .mobile-only span {
  font-family: var(--bsys-font-text);
  text-transform: none;
  letter-spacing: 0;
}
#action-counter-mobile {
  border-width: 2px !important;
  border-radius: var(--bsys-radius);
  color: var(--bsys-text-base);
}

/* Partnerlogos sind fuer hellen Grund gezeichnet; im Dunkeln stehen sie auf
   einer weissen Plakette statt unsichtbar auf Nacht. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .clients img,
  :root:not([data-theme="light"]) #partner img {
    background: #fff;
    border-radius: var(--bsys-radius);
    padding: 12px;
  }
}
:root[data-theme="dark"] .clients img,
:root[data-theme="dark"] #partner img {
  background: #fff;
  border-radius: var(--bsys-radius);
  padding: 12px;
}

/* Hinweis unter dem Flyer-Formular (liegt auf Petrol) */
.bs-form-note {
  margin: 12px 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
  text-align: left;
}
.why-us .content .bs-form-note,
.why-us .content .bs-form-note a,
#main .why-us .content p.bs-form-note a {
  color: #fff;
}

/* Rechtsseiten: Zwischenueberschriften und Zeilenlaenge */
.bs-legal {
  max-width: 72ch;
}
.bs-legal h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: clamp(1.25rem, 1.15rem + 0.4vw, 1.5rem);
  color: var(--bsys-heading);
}
.bs-legal ul {
  padding-left: 1.25em;
}

/* Wie auf der bisherigen Website: Impulslinie im Einstieg und Zaehler in
   Tuerkis (Wunsch des Kunden, 2026-10-31). Weisse Schrift auf Tuerkis liegt
   bei 2,5:1 und damit unter WCAG AA; bewusst so entschieden. */
#hero .impulslinie,
#action-counter-desktop {
  background: var(--bsys-brand) !important;
}

/* Untertitel im Einstieg in der Textschrift wie bisher; nur der Name steht
   in Ardela Edge. Ardela ueber die ganze Zeile war nicht lesbar. */
#hero h2 {
  font-family: var(--bsys-font-text) !important;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.3;
}
#hero h2 .font-ardela-edge {
  text-transform: uppercase;
}

/* Video: lokales Vorschaubild, YouTube laedt erst beim Klick */
.bs-video-consent {
  background: #000;
}
.bs-video-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bs-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4.25rem;
  height: 3rem;
  margin: -1.5rem 0 0 -2.125rem;
  border: 0;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 200ms var(--bsys-ease), transform 200ms var(--bsys-ease);
}
.bs-video-play:hover,
.bs-video-play:focus-visible {
  background: #c00;
  transform: scale(1.06);
}
.bs-video-play:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.bs-video-note {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 4px 10px;
  font-size: 0.75rem;
  line-height: 1.4;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
}
#main .bs-video-note a,
.bs-video-note a {
  color: #fff;
  text-decoration: underline;
}

/* =============================================================================
   Einstieg (Hero), neu aufgebaut 2026-10-31
   =============================================================================
   Das Template setzte Video, Text und YouTube-Kasten mit festen Pixelwerten
   und Prozentangaben vom Fenster aus; je nach Breite und Hoehe lag der Kasten
   ueber der Kopfleiste oder unter dem Einstieg, und das Hintergrundvideo
   deckte die Flaeche nicht. Jetzt: Video fuellt per object-fit immer die
   ganze Flaeche, Text und YouTube-Kasten stehen in einem Raster. */
#hero {
  position: relative;
  display: flex;
  align-items: center;
  height: auto;
  min-height: clamp(30rem, 72vh, 46rem);
  margin-bottom: 0;
  padding: calc(var(--bsys-pill-clearance) + clamp(2rem, 5vw, 4rem)) 0 clamp(5.5rem, 8vw, 7rem);
  overflow: hidden;
  background: #0b2027 url("../img/hero-bg.jpg") center / cover no-repeat;
}

#hero .video {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100%;
  top: 0 !important;
  left: 0 !important;
  margin: 0;
  z-index: 0;
}
#herovideo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}

/* Abdunklung von links, damit die weisse Schrift ueber dem hellen Motiv
   lesbar bleibt; das Motiv rechts bleibt hell. */
#hero::before {
  z-index: 1;
  background: linear-gradient(90deg, rgba(9, 28, 36, 0.62) 0%, rgba(9, 28, 36, 0.35) 45%, rgba(9, 28, 36, 0.05) 75%);
}

#hero .container.bs-hero-grid {
  position: relative;
  inset: auto;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 30rem);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

#hero h1 {
  margin: 0 0 clamp(1.25rem, 3vw, 2.25rem);
  font-size: clamp(2rem, 1.1rem + 3.4vw, 3.5rem);
  line-height: 1.12;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
#hero h1 .mobile-br {
  display: block;
  width: fit-content;
}

/* Impulslinie: haengt an der Zeile „SMART.“ statt an festen Pixelwerten.
   Sie laeuft vom linken Rand bis ein gutes Stueck hinter das Wort. */
#hero .impulslinie {
  display: none;
}
#hero h1 .mobile-br:nth-child(2) {
  position: relative;
  isolation: isolate;
}
#hero h1 .mobile-br:nth-child(2)::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  left: -100vw;
  right: calc(-1 * clamp(2rem, 12vw, 14rem));
  height: 1.22em;
  transform: translateY(-50%);
  border-radius: 0 999px 999px 0;
  background: var(--bsys-brand);
}

#hero h2 {
  margin: 0;
  max-width: 34em;
  font-size: clamp(1.0625rem, 0.85rem + 0.9vw, 1.75rem);
  line-height: 1.35;
  color: #f2f4f4;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.45);
}

/* YouTube-Kasten im Raster */
#hero #hero-video {
  position: relative;
  inset: auto;
  top: auto;
  right: auto;
  width: 100%;
  height: auto;
  margin: 0;
  z-index: 2;
  overflow: hidden;
  border: 0;
  border-radius: var(--bsys-radius);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25), 0 12px 32px rgba(0, 0, 0, 0.35);
}

/* Zaehler ragt in den Einstieg hinein, wie auf der bisherigen Website */
#action-counter-desktop {
  position: relative;
  z-index: 4;
  margin-top: -4.5rem;
  padding: 1.25rem clamp(1.5rem, 4vw, 2.5rem);
  font-size: clamp(1.25rem, 0.9rem + 1vw, 1.875rem);
  line-height: 1.35;
}
#action-counter-desktop > span > br:first-child {
  display: none;
}

/* Tablet und schmaler: eine Spalte, erst die Botschaft, dann das Video */
@media (max-width: 991px) {
  #hero {
    min-height: 0;
    padding: calc(var(--bsys-pill-clearance) + 2rem) 0 6rem;
  }
  #hero .container.bs-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  #hero #hero-video {
    max-width: 36rem;
  }
  #hero::before {
    background: linear-gradient(180deg, rgba(9, 28, 36, 0.55) 0%, rgba(9, 28, 36, 0.3) 55%, rgba(9, 28, 36, 0.45) 100%);
  }
}

/* Unter 769 px ist der Zaehler ins Menue gewandert; der Einstieg endet
   ohne Ueberstand. */
@media (max-width: 768px) {
  #hero {
    padding: calc(var(--bsys-pill-clearance) + 1.5rem) 0 2.5rem;
  }
  #hero-video .bs-video-note {
    font-size: 0.6875rem;
  }
  #why-us {
    margin-top: 2rem !important;
  }
}

/* Zwischenueberschrift unter dem Einstieg: 34 px fest war auf dem Handy zu
   gross (vier Zeilen fuer eine Frage). */
.why-us .produkt-usp-box h3 {
  font-size: clamp(1.5rem, 1.05rem + 1.9vw, 2.125rem);
  line-height: 1.25;
}

/* --- Glas-Kacheln -------------------------------------------------------------
   Liquid-Glass-Web-Approximation, kein offizielles Apple-Material.
   Glas nur an zwei Kachelgruppen (Vorteile unter dem Einstieg, Plattform)
   und am Flyer-Kasten. Dahinter liegt eine sanfte, entsaettigte Farbflaeche
   aus Tuerkis und Tiefgruen, damit das Glas etwas zu brechen hat; ueber
   reinem Weiss waere es ein grauer Kasten. */
#why-us,
#platform {
  position: relative;
  isolation: isolate;
}
#why-us::before,
#platform::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 55% 45% at 12% 18%, color-mix(in srgb, var(--bsys-brand) 18%, transparent), transparent 70%),
    radial-gradient(ellipse 50% 40% at 88% 85%, color-mix(in srgb, var(--bsys-brand-deep) 14%, transparent), transparent 70%),
    radial-gradient(ellipse 40% 35% at 70% 10%, color-mix(in srgb, var(--bsys-brand-petrol) 10%, transparent), transparent 70%);
  pointer-events: none;
}

.why-us .icon-boxes .icon-box,
.services .icon-box {
  position: relative;
  isolation: isolate;
  background: color-mix(in srgb, var(--bsys-surface-page) 96%, transparent);
  border: 1px solid var(--bsys-glass-edge);
  border-radius: var(--bsys-radius) !important;
  box-shadow: inset 0 1px 0 var(--bsys-glass-edge), 0 10px 30px rgba(7, 31, 38, 0.08);
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .why-us .icon-boxes .icon-box,
  .services .icon-box {
    background: color-mix(in srgb, var(--bsys-surface-page) 68%, transparent);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    backdrop-filter: blur(24px) saturate(180%);
  }
}
.why-us .icon-boxes .icon-box::after,
.services .icon-box::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(circle at 18% 0%, var(--bsys-glass-highlight), transparent 38%),
    linear-gradient(90deg, color-mix(in srgb, var(--bsys-glass-highlight) 40%, transparent), transparent 45%);
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .why-us .icon-boxes .icon-box,
  .services .icon-box {
    transition: transform 200ms var(--bsys-ease), box-shadow 200ms var(--bsys-ease);
  }
  .why-us .icon-boxes .icon-box:hover,
  .services .icon-box:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 var(--bsys-glass-edge), 0 16px 36px rgba(7, 31, 38, 0.14);
  }
}

/* Flyer-Kasten: Petrol-Glas, 92 % deckend, weisse Schrift bleibt ueber 6:1 */
.why-us .content {
  position: relative;
  isolation: isolate;
  background: color-mix(in srgb, var(--bsys-brand-petrol) 96%, transparent);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 18px 48px rgba(7, 31, 38, 0.22);
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .why-us .content {
    background:
      radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.16), transparent 38%),
      color-mix(in srgb, var(--bsys-brand-petrol) 92%, transparent);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    backdrop-filter: blur(24px) saturate(180%);
  }
}

@media (prefers-reduced-transparency: reduce) {
  .why-us .icon-boxes .icon-box,
  .services .icon-box {
    background: color-mix(in srgb, var(--bsys-surface-page) 96%, transparent);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .why-us .content {
    background: color-mix(in srgb, var(--bsys-brand-petrol) 96%, transparent);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* =============================================================================
   Inhaltsseiten aus dem Shop (Anwendungsfaelle, Wissen, FAQ)
   ============================================================================= */
.bs-page {
  position: relative;
  isolation: isolate;
  padding: 2.5rem 0 4rem;
}
.bs-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 45% 30% at 85% 8%, color-mix(in srgb, var(--bsys-brand) 14%, transparent), transparent 70%),
    radial-gradient(ellipse 40% 30% at 10% 55%, color-mix(in srgb, var(--bsys-brand-deep) 10%, transparent), transparent 70%);
  pointer-events: none;
}
.bs-page .container > section,
.bs-page .container > .bs-card-grid {
  margin: 0 auto 2.75rem;
  max-width: 76rem;
}
.bs-page .bs-intro,
.bs-page .bs-block,
.bs-page .bs-faq {
  max-width: 48rem !important;
  margin-left: 0 !important;
}
.bs-page h1 {
  color: var(--bsys-heading);
  margin-bottom: 1.25rem;
  text-wrap: balance;
}
.bs-page h2 {
  color: var(--bsys-heading);
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.75rem);
  margin: 0 0 0.875rem;
  text-wrap: balance;
}
.bs-page h3 {
  font-size: 1.25rem;
  margin: 1.75rem 0 0.75rem;
}
.bs-page p,
.bs-page li,
.bs-page dd {
  text-wrap: pretty;
}
.bs-page .bs-intro p:first-of-type {
  font-size: 1.1875rem;
}
.bs-page a:not(.btn) {
  color: var(--bsys-interactive);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* Kachelreihen: Glas ueber der sanften Farbflaeche der Seite */
.bs-card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}
.bs-glass-card {
  position: relative;
  isolation: isolate;
  padding: 1.5rem;
  border-radius: var(--bsys-radius);
  border: 1px solid var(--bsys-glass-edge);
  background: color-mix(in srgb, var(--bsys-surface-page) 96%, transparent);
  box-shadow: inset 0 1px 0 var(--bsys-glass-edge), 0 10px 30px rgba(7, 31, 38, 0.08);
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .bs-glass-card {
    background: color-mix(in srgb, var(--bsys-surface-page) 70%, transparent);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    backdrop-filter: blur(24px) saturate(180%);
  }
}
.bs-glass-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(circle at 18% 0%, var(--bsys-glass-highlight), transparent 38%);
  pointer-events: none;
}
.bs-glass-card h2 {
  font-size: 1.0625rem;
  line-height: 1.3;
  letter-spacing: 0.02em;
}
.bs-glass-card p:last-child {
  margin-bottom: 0;
}
@media (prefers-reduced-transparency: reduce) {
  .bs-glass-card {
    background: color-mix(in srgb, var(--bsys-surface-page) 96%, transparent);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* Tabellen: breit scrollbar statt gequetscht */
.bs-table-scroll {
  overflow-x: auto;
  margin: 1rem 0 1.5rem;
  border-radius: var(--bsys-radius);
  border: 1px solid var(--bsys-border-soft);
}
.bs-page table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  background: var(--bsys-surface-page);
}
.bs-page th,
.bs-page td {
  padding: 0.625rem 0.875rem;
  border-bottom: 1px solid var(--bsys-border-soft);
  text-align: left;
  vertical-align: top;
}
.bs-page thead th {
  background: var(--bsys-surface-muted);
  color: var(--bsys-text-strong);
  font-weight: 700;
}
.bs-page tbody tr:last-child td,
.bs-page tbody tr:last-child th {
  border-bottom: 0;
}

/* Definitionslisten und Fragen */
.bs-page dl {
  margin: 1rem 0 0;
}
.bs-page dt {
  font-weight: 700;
  color: var(--bsys-text-strong);
  margin-top: 1rem;
}
.bs-page dd {
  margin: 0.25rem 0 0;
}
.bs-faq dl {
  border-top: 1px solid var(--bsys-border-soft);
}
.bs-faq dt {
  padding-top: 1rem;
  border-top: 1px solid var(--bsys-border-soft);
}
.bs-faq dt:first-child {
  border-top: 0;
}
.bs-faq dd {
  padding-bottom: 0.25rem;
}

/* Handlungsaufforderung: Petrol-Glas */
.bs-page .bs-cta {
  position: relative;
  isolation: isolate;
  max-width: 48rem;
  margin-left: 0;
  padding: 2rem;
  border-radius: var(--bsys-radius);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.16), transparent 40%),
    color-mix(in srgb, var(--bsys-brand-petrol) 94%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 18px 48px rgba(7, 31, 38, 0.22);
}
.bs-page .bs-cta h2,
.bs-page .bs-cta p {
  color: #fff;
}
.bs-page .bs-cta a:not(.btn) {
  color: #fff;
}
.bs-page .bs-cta .btn-primary {
  background: #fff !important;
  color: var(--bsys-brand-petrol) !important;
}

/* Anwendungsfaelle auf der Startseite: Glas-Kacheln mit Verweis auf die
   Landing Pages (interne Verlinkung fuer SEO) */
.bs-usecases {
  position: relative;
  isolation: isolate;
  padding: 4rem 0;
}
.bs-usecases::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 50% 45% at 15% 30%, color-mix(in srgb, var(--bsys-brand) 16%, transparent), transparent 70%),
    radial-gradient(ellipse 45% 40% at 85% 75%, color-mix(in srgb, var(--bsys-brand-petrol) 12%, transparent), transparent 70%);
  pointer-events: none;
}
.bs-usecases-intro {
  max-width: 44rem;
  margin-bottom: 2rem;
}
.bs-usecases-intro h2 {
  color: var(--bsys-heading);
}
.bs-usecases .bs-glass-card h2 {
  font-size: 1.0625rem;
  line-height: 1.3;
}
.bs-usecases .bs-glass-card h2 a {
  color: var(--bsys-interactive);
  text-decoration: none;
}
.bs-usecases .bs-glass-card h2 a::after {
  content: "";
  position: absolute;
  inset: 0;
}
.bs-usecases .bs-glass-card:hover h2 a,
.bs-usecases .bs-glass-card h2 a:focus-visible {
  text-decoration: underline;
}
@media (hover: hover) and (pointer: fine) {
  .bs-usecases .bs-glass-card {
    transition: transform 200ms var(--bsys-ease), box-shadow 200ms var(--bsys-ease);
  }
  .bs-usecases .bs-glass-card:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 var(--bsys-glass-edge), 0 16px 36px rgba(7, 31, 38, 0.14);
  }
}

/* Zaehler als Pille in derselben Breite wie die Kopfleiste: gleicher
   seitlicher Abstand (--bsys-pill-x), gleiche Rundung. Die Bootstrap-Reihe
   drumherum bekommt keinen negativen Rand mehr. */
.row:has(> .col > #action-counter-desktop) {
  margin-left: 0;
  margin-right: 0;
}
.col:has(> #action-counter-desktop) {
  padding-left: 0;
  padding-right: 0;
}
#action-counter-desktop {
  margin-left: var(--bsys-pill-x);
  margin-right: var(--bsys-pill-x);
  border-radius: 999px;
  padding-left: clamp(1.75rem, 4vw, 3rem);
  padding-right: clamp(1.75rem, 4vw, 3rem);
  box-shadow: 0 12px 38px rgba(7, 31, 38, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Termin-Knopf in der Kopfleiste: immer in der Hervorhebungsfarbe Eisblau
   mit dunkler Schrift (9,4:1), wie der Warenkorb in der Kopfpille des Shops.
   Beim Ueberfahren heller (#8fd8ea, Hover-Wert aus dem Shop-Theme), mit
   Hebung und Schatten. */
.bs-header-actions .bs-header-cta,
.bs-header-actions .bs-header-cta:focus {
  background: #6ecbe3 !important;
  color: #0b2027 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.bs-header-actions .bs-header-cta:hover,
.bs-header-actions .bs-header-cta:focus-visible {
  background: #8fd8ea !important;
  color: #0b2027 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 8px 20px rgba(7, 31, 38, 0.35);
}
@media (hover: hover) and (pointer: fine) {
  .bs-header-actions .bs-header-cta:hover {
    transform: translateY(-2px);
  }
  .bs-header-actions .bs-header-cta:active {
    transform: translateY(0);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
  }
}
.bs-cta-short {
  display: none;
}
/* Telefonnummer im Fussbereich als Link */
#footer a[href^="tel:"] {
  color: #fff;
}

/* Mobiles Menue: Die Desktop-Regeln fuer die Glasleiste (weisse Schrift fuer
   aktive und ueberfahrene Punkte, :hover bleibt auf Touch-Geraeten nach dem
   Tippen haengen) schlugen hier durch; der aktive Punkt war weiss auf weiss.
   Mit der ID gewinnen diese Regeln immer. */
#navbar.navbar-mobile a,
#navbar.navbar-mobile a:focus,
#navbar.navbar-mobile > ul > li > a,
#navbar.navbar-mobile > ul > li > a:focus {
  color: var(--bsys-interactive);
  background: transparent;
  text-decoration: none;
}
#navbar.navbar-mobile .active,
#navbar.navbar-mobile .active:focus,
#navbar.navbar-mobile > ul > li > a.active {
  color: var(--bsys-interactive-hover);
  text-decoration: underline;
  text-underline-offset: 0.3em;
  text-decoration-thickness: 2px;
}
@media (hover: hover) and (pointer: fine) {
  #navbar.navbar-mobile > ul > li > a:hover,
  #navbar.navbar-mobile li:hover > a {
    color: var(--bsys-interactive-hover);
    text-decoration: underline;
  }
}
#navbar.navbar-mobile .mobile-only a.mobile-menu-link {
  color: #fff;
  text-decoration: none;
}
/* Fokussierte Punkte erbten aus dem Template die Desktop-Abstaende und
   rueckten im Menue ein. */
#navbar.navbar-mobile > ul > li > a,
#navbar.navbar-mobile > ul > li > a:focus {
  padding: 10px 20px;
  font-size: 20px;
  line-height: 30px;
}

/* Mobiles Menue, Unterpunkte: Das Template verbot den Zeilenumbruch
   (white-space: nowrap) und rueckte mit den Desktop-Abstaenden ein; lange
   Punkte wie „Zufahrtsmittel im Vergleich“ wurden abgeschnitten. */
#navbar.navbar-mobile .dropdown ul {
  margin: 4px 12px 12px;
  padding: 6px 0;
}
#navbar.navbar-mobile .dropdown ul li {
  min-width: 0;
  padding: 0;
}
#navbar.navbar-mobile .dropdown ul a,
#navbar.navbar-mobile .dropdown ul a:focus {
  display: block;
  padding: 9px 16px;
  font-size: 16px;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
  hyphens: auto;
}
#navbar.navbar-mobile .dropdown ul li.submenu {
  margin: 10px 16px 2px;
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: 0.08em;
}
