/* ===================================================================
   Beyer & Otto — Erscheinungsbild der Website
   ===================================================================
   Leitidee: präzise, ruhig, technisch — wie ein gut gemachtes
   Datenblatt. Das eine auffällige Element ist die „Raupe“, eine dicke
   Linie mit runden Enden wie eine Dichtstoffraupe aus der Kartusche.
   Sie steht an genau drei Stellen: im Aufmacher der Startseite (als
   gezogene Linie), als kurzer Strich unter Abschnittsüberschriften
   (hr.strich) und als Markierung des aktiven Menüpunkts. Sonst gibt es
   keine Dekoration.

   Zwei Farben kommen aus den Einstellungen und werden von inc/head.php
   als --bo-dunkel (Tiefblau) und --bo-akzent (Kobalt) gesetzt; alles
   Weitere leitet sich hier davon ab.

   Bootstrap 5 liefert nur das Raster und ein paar Hilfsklassen, damit im
   Editor geschriebene Inhalte (row/col) funktionieren. Menü, Aufklappen,
   Galerie und Filter erledigt assets/js/beyer-otto.js selbst.
   =================================================================== */

:root {
    /* Vorbelegung — head.php überschreibt beide mit den Einstellungen. */
    --bo-dunkel: #0F1B3D;     /* Tiefblau: Überschriften, Fußzeile, dunkle Flächen */
    --bo-akzent: #1D4298;     /* Kobalt: Knöpfe, Links, Raupe, aktive Zustände */

    --bo-hellblau: #5370BC;   /* nur Flächen und Linien, nie Text auf Weiß */
    --bo-nebel: #F3F6FA;      /* Hintergrund von Produktbildern und hellen Abschnitten */
    --bo-linie: #D9E0EA;      /* Rahmen, Trennlinien */
    --bo-text: #232832;       /* Graphit: Fließtext */
    --bo-grau: #566070;       /* Nebentext */
    --bo-weiss: #FFFFFF;

    --bo-akzent-dunkel: color-mix(in srgb, var(--bo-akzent) 82%, #000);
    --bo-akzent-blass: color-mix(in srgb, var(--bo-akzent) 9%, #fff);

    /* Auf dunklem Grund */
    --bo-auf-dunkel: #FFFFFF;
    --bo-auf-dunkel-leise: #C3CFE6;

    --bo-schrift-kopf: "Saira Semi Condensed", "Arial Narrow", Arial, sans-serif;
    --bo-schrift-text: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", Verdana, "Segoe UI", sans-serif;

    --bo-radius: 6px;
    --bo-radius-gross: 10px;

    --bo-kopf-hoehe: 76px;
    --bo-breite: 1240px;

    color-scheme: light;
}

/* ------------------------------------------------------------------
   Schriften (selbst gehostet, siehe LIZENZEN.md)
   ------------------------------------------------------------------ */
@font-face {
    font-family: "Saira Semi Condensed"; font-style: normal; font-weight: 600; font-display: swap;
    src: url("fonts/saira-semi-condensed-latin-ext-600-normal.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Saira Semi Condensed"; font-style: normal; font-weight: 600; font-display: swap;
    src: url("fonts/saira-semi-condensed-latin-600-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Saira Semi Condensed"; font-style: normal; font-weight: 700; font-display: swap;
    src: url("fonts/saira-semi-condensed-latin-ext-700-normal.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Saira Semi Condensed"; font-style: normal; font-weight: 700; font-display: swap;
    src: url("fonts/saira-semi-condensed-latin-700-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 400; font-display: swap;
    src: url("fonts/atkinson-hyperlegible-next-latin-ext-400-normal.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 400; font-display: swap;
    src: url("fonts/atkinson-hyperlegible-next-latin-400-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 700; font-display: swap;
    src: url("fonts/atkinson-hyperlegible-next-latin-ext-700-normal.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 700; font-display: swap;
    src: url("fonts/atkinson-hyperlegible-next-latin-700-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Atkinson Hyperlegible Next"; font-style: italic; font-weight: 400; font-display: swap;
    src: url("fonts/atkinson-hyperlegible-next-latin-ext-400-italic.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Atkinson Hyperlegible Next"; font-style: italic; font-weight: 400; font-display: swap;
    src: url("fonts/atkinson-hyperlegible-next-latin-400-italic.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ------------------------------------------------------------------
   Grundlagen
   ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bo-kopf-hoehe) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    font: 400 1.0938rem/1.62 var(--bo-schrift-text);   /* 17,5 px */
    color: var(--bo-text);
    background: var(--bo-weiss);
    overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; }
svg { flex: none; }

h1, h2, h3, h4 {
    font-family: var(--bo-schrift-kopf);
    font-weight: 700;
    color: var(--bo-dunkel);
    line-height: 1.15;
    margin: 0 0 .5em;
    letter-spacing: .005em;
}
/* Modulare Skala, Faktor 1,25 */
h1 { font-size: clamp(2.1rem, 4.4vw, 3.05rem); }
h2 { font-size: clamp(1.6rem, 2.6vw, 1.95rem); }
h3 { font-size: 1.5625rem; }
h4 { font-size: 1.25rem; }

p { margin: 0 0 1.1em; }

a { color: var(--bo-akzent); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--bo-akzent-dunkel); text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--bo-akzent); outline-offset: 2px; border-radius: 2px; }
.fuss :focus-visible, .aufruf :focus-visible, .lupe :focus-visible { outline-color: #fff; }

.nur-vorlesen {
    position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.sprungmarke {
    position: absolute; left: 12px; top: -80px; z-index: 3000;
    background: var(--bo-dunkel); color: #fff; padding: 12px 18px; border-radius: var(--bo-radius);
    font-weight: 700; text-decoration: none;
}
.sprungmarke:focus { top: 12px; }

.huelle { max-width: var(--bo-breite); margin-inline: auto; padding-inline: 24px; }
main.breit .huelle { max-width: none; }

.abschnitt { padding: clamp(40px, 6vw, 80px) 0; }
.abschnitt.hell { background: var(--bo-nebel); }

/* Kopf eines Abschnitts: Überschrift, Raupe, kurzer Text */
.abschnitt-kopf { margin-bottom: clamp(24px, 3vw, 36px); max-width: 46rem; }
.abschnitt-kopf h1, .abschnitt-kopf h2 { margin-bottom: 0; }
.abschnitt-kopf p { color: var(--bo-grau); font-size: 1.1875rem; margin: 0; }

/* Die Raupe als Strich: ca. 56 × 6 px, runde Enden */
hr.strich {
    width: 56px; height: 6px; border: 0; border-radius: 3px; opacity: 1;
    background: var(--bo-akzent); margin: 16px 0 18px;
}

/* Brotkrume */
.krume { font-size: .9rem; color: var(--bo-grau); margin-bottom: 20px; }
.krume a { color: var(--bo-grau); }
.krume a:hover { color: var(--bo-akzent); }
.krume span { margin: 0 .5em; color: var(--bo-hellblau); }

/* ------------------------------------------------------------------
   Knöpfe
   ------------------------------------------------------------------ */
.knopf {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 10px 24px;
    background: var(--bo-akzent); color: #fff;
    border: 2px solid var(--bo-akzent); border-radius: var(--bo-radius);
    font: 600 1.1rem/1.2 var(--bo-schrift-kopf); letter-spacing: .01em;
    text-decoration: none; cursor: pointer;
    transition: background-color .15s, border-color .15s, color .15s;
}
.knopf:hover { background: var(--bo-akzent-dunkel); border-color: var(--bo-akzent-dunkel); color: #fff; text-decoration: none; }
.knopf svg { width: 20px; height: 20px; }
/* Zweiter Knopf auf hellem Grund */
.knopf.leise { background: transparent; color: var(--bo-akzent); }
.knopf.leise:hover { background: var(--bo-akzent-blass); color: var(--bo-akzent-dunkel); border-color: var(--bo-akzent-dunkel); }
/* Auf dunklem Grund */
.knopf.hell { background: #fff; border-color: #fff; color: var(--bo-dunkel); }
.knopf.hell:hover { background: var(--bo-nebel); border-color: var(--bo-nebel); color: var(--bo-dunkel); }
.knopf.hell-leise { background: transparent; border-color: #fff; color: #fff; }
.knopf.hell-leise:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* ------------------------------------------------------------------
   Seitenkopf
   ------------------------------------------------------------------ */
.kopf {
    position: sticky; top: 0; z-index: 1000;
    background: #fff; border-bottom: 1px solid var(--bo-linie);
}
.kopf-innen {
    position: relative;
    max-width: var(--bo-breite); margin-inline: auto; padding-inline: 24px;
    min-height: var(--bo-kopf-hoehe);
    display: flex; align-items: center; gap: 20px;
}
.marke { display: flex; align-items: center; flex: none; }
.marke img { display: block; height: 52px; width: auto; }
.marke-text { font: 700 1.4rem/1 var(--bo-schrift-kopf); color: var(--bo-dunkel); }

.hauptmenu { display: flex; align-items: center; flex: 1; min-width: 0; }
.hauptmenu > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; margin-inline: auto 0; }
.hauptmenu > ul > li { position: relative; display: flex; }

.hauptmenu > ul > li > a,
.hauptmenu > ul > li > button {
    position: relative;
    display: inline-flex; align-items: center; gap: 7px;
    min-height: var(--bo-kopf-hoehe); padding: 0 11px;
    background: none; border: 0; cursor: pointer;
    font: 600 1.1rem/1 var(--bo-schrift-kopf); letter-spacing: .01em;
    color: var(--bo-dunkel); text-decoration: none; white-space: nowrap;
}
.hauptmenu > ul > li > a:hover,
.hauptmenu > ul > li > button:hover { color: var(--bo-akzent); }
.hauptmenu .pfeil { width: 11px; height: 7px; transition: transform .15s; }
.hauptmenu button[aria-expanded="true"] .pfeil { transform: rotate(180deg); }

/* Der aktive Menüpunkt trägt eine Raupe */
.hauptmenu > ul > li.aktiv > a::after,
.hauptmenu > ul > li.aktiv > button::after {
    content: ""; position: absolute; left: 11px; right: 11px; bottom: 15px;
    height: 5px; border-radius: 3px; background: var(--bo-akzent);
}

/* Untermenü: ein einfaches Aufklappmenü … */
.untermenu {
    display: none; list-style: none; margin: 0; padding: 8px;
    position: absolute; top: 100%; left: 0; min-width: 270px;
    background: #fff; border: 1px solid var(--bo-linie); border-radius: 0 0 var(--bo-radius-gross) var(--bo-radius-gross);
    box-shadow: 0 10px 24px rgba(15, 27, 61, .10);
}
.untermenu.offen { display: block; }
.untermenu a {
    display: block; padding: 10px 14px; border-radius: var(--bo-radius);
    color: var(--bo-text); text-decoration: none; font-size: 1rem;
}
.untermenu a:hover { background: var(--bo-nebel); color: var(--bo-akzent); }

/* … und für die Produkte ein breites mit Bildkacheln: eine Gruppe mit
   Überschrift, daneben die übrigen Bereiche, alle Kacheln gleich groß. */
.hat-untermenu.mega { position: static; }
.untermenu.mega {
    left: 0; right: 0; min-width: 0; padding: 26px 28px 20px;
    border-radius: 0 0 var(--bo-radius-gross) var(--bo-radius-gross);
}
.untermenu.mega.offen { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px 36px; }
.untermenu.mega > li { min-width: 0; }
.mega-gruppe { padding-right: 36px; border-right: 1px solid var(--bo-linie); }
/* Die Überschrift einer Gruppe hat eine feste Höhe, und Bereiche ohne eigene
   Überschrift rücken genau so weit nach unten – so stehen alle Kacheln auf
   einer Linie statt die einzelnen höher als die der Gruppe. */
.untermenu.mega { --mega-kopf: 2.4rem; }
.untermenu.mega a.mega-kopf {
    display: block; height: var(--mega-kopf); padding: 0; background: none; overflow: hidden;
    white-space: nowrap; text-overflow: ellipsis;
    font: 700 1.2rem/1.15 var(--bo-schrift-kopf); color: var(--bo-dunkel);
}
.untermenu.mega:has(.mega-gruppe) > .mega-einzeln { padding-top: var(--mega-kopf); }
.untermenu.mega a.mega-kopf:hover { color: var(--bo-akzent); background: none; }
.mega-raster { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 20px 16px; }
.untermenu.mega a.mega-kachel {
    display: flex; flex-direction: column; gap: 3px; width: 136px; padding: 0;
    color: var(--bo-dunkel); background: none; border-radius: 0;
}
.mega-bild {
    display: flex; align-items: center; justify-content: center; width: 136px; height: 102px; margin-bottom: 5px;
    background: var(--bo-nebel); border-radius: var(--bo-radius); overflow: hidden; padding: 8px;
    border: 1px solid transparent;
}
.mega-bild img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; display: block; }
.mega-bild img.platzhalter { width: 38%; height: auto; }
.mega-name { font: 700 1rem/1.2 var(--bo-schrift-kopf); overflow-wrap: anywhere; hyphens: auto; }
.mega-anzahl { color: var(--bo-grau); font-weight: 400; font-size: .9rem; }
.untermenu.mega a.mega-kachel:hover .mega-name,
.untermenu.mega a.mega-kachel:focus-visible .mega-name { color: var(--bo-akzent); text-decoration: underline; }
.untermenu.mega a.mega-kachel:hover .mega-bild { border-color: var(--bo-akzent); }
.untermenu.mega a:focus-visible { outline: 3px solid var(--bo-akzent); outline-offset: 3px; border-radius: var(--bo-radius); }
.untermenu.mega > li.alle { flex: 0 0 100%; border-top: 1px solid var(--bo-linie); padding-top: 14px; }
.untermenu.mega > li.alle a { display: inline-block; padding: 4px 0; font-weight: 700; color: var(--bo-akzent); background: none; }
.untermenu.mega > li.alle a:hover { background: none; text-decoration: underline; }
.untermenu-2 { list-style: none; margin: 0; padding: 0; }
.untermenu-2 a { padding: 6px 0; color: var(--bo-grau); background: none; font-size: .975rem; }
.untermenu-2 a:hover { background: none; color: var(--bo-akzent); text-decoration: underline; }

.kopf-werkzeuge { display: flex; align-items: center; gap: 12px; flex: none; }

/* Suche */
.kopf-suche { display: flex; align-items: center; }
.suche-auf, .suche-los {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; padding: 0; background: none; border: 0; border-radius: 50%;
    color: var(--bo-dunkel); cursor: pointer;
}
.suche-auf:hover, .suche-los:hover { background: var(--bo-nebel); color: var(--bo-akzent); }
.suche-auf svg, .suche-los svg { width: 22px; height: 22px; }
.kopf-suche input {
    height: 44px; width: 150px; padding: 0 14px;
    border: 1px solid var(--bo-linie); border-radius: var(--bo-radius);
    font: inherit; font-size: 1rem; color: var(--bo-text); background: #fff;
}
.kopf-suche input::placeholder { color: var(--bo-grau); opacity: 1; }
.kopf-suche input:focus { border-color: var(--bo-akzent); }
/* Breit: Feld sichtbar, die Lupe sendet. Schmal: Lupe klappt das Feld unter dem Kopf auf. */
.suche-auf { display: none; }
.kopf-suche .suche-los { margin-left: -46px; }
.kopf-suche input { padding-right: 46px; }

/* Hotline */
.kopf-tel {
    display: inline-flex; align-items: center; gap: 9px;
    min-height: 44px; padding: 0 16px;
    background: var(--bo-akzent); color: #fff; border-radius: var(--bo-radius);
    font: 600 1.05rem/1 var(--bo-schrift-kopf); letter-spacing: .01em; white-space: nowrap; text-decoration: none;
}
.kopf-tel:hover { background: var(--bo-akzent-dunkel); color: #fff; text-decoration: none; }
.kopf-tel svg { width: 19px; height: 19px; }

.menu-schalter {
    display: none; width: 46px; height: 46px; padding: 0;
    background: none; border: 0; border-radius: 50%; cursor: pointer; color: var(--bo-dunkel);
    position: relative;
}
.menu-schalter:hover { background: var(--bo-nebel); }
.menu-schalter .balken, .menu-schalter .balken::before, .menu-schalter .balken::after {
    position: absolute; left: 12px; right: 12px; height: 3px; border-radius: 2px; background: currentColor;
    transition: transform .2s, opacity .2s;
}
.menu-schalter .balken { top: 21.5px; }
.menu-schalter .balken::before, .menu-schalter .balken::after { content: ""; left: 0; right: 0; }
.menu-schalter .balken::before { top: -8px; }
.menu-schalter .balken::after { top: 8px; }
.menu-schalter[aria-expanded="true"] .balken { background: transparent; }
.menu-schalter[aria-expanded="true"] .balken::before { transform: translateY(8px) rotate(45deg); }
.menu-schalter[aria-expanded="true"] .balken::after { transform: translateY(-8px) rotate(-45deg); }

/* Mittlere Breiten: Hotline nur als Symbol */
@media (max-width: 1279.98px) {
    .kopf-tel { padding: 0; width: 44px; justify-content: center; }
    .kopf-tel span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .kopf-tel svg { width: 21px; height: 21px; }
    .suche-auf { display: inline-flex; }
    .kopf-suche .suche-los { margin-left: 0; display: none; }
    .kopf-suche input { padding-right: 14px; }
    .kopf-suche .suche-feld {
        display: none; position: absolute; top: 100%; right: 24px; z-index: 5;
        width: min(420px, calc(100vw - 48px)); padding: 12px; gap: 8px;
        background: #fff; border: 1px solid var(--bo-linie); border-top: 0;
        border-radius: 0 0 var(--bo-radius-gross) var(--bo-radius-gross);
        box-shadow: 0 10px 24px rgba(15, 27, 61, .10);
    }
    .kopf-suche.offen .suche-feld { display: flex; }
    .kopf-suche .suche-feld input { flex: 1; width: auto; min-width: 0; }
    .kopf-suche .suche-feld .suche-los { display: inline-flex; background: var(--bo-akzent); color: #fff; border-radius: var(--bo-radius); }
    .kopf-suche .suche-feld .suche-los:hover { background: var(--bo-akzent-dunkel); color: #fff; }
}
@media (min-width: 1280px) {
    .kopf-suche .suche-feld { display: flex; align-items: center; }
}

/* Schmal: das Menü ist eine Fläche unter dem Kopf */
@media (max-width: 1079.98px) {
    :root { --bo-kopf-hoehe: 66px; }
    .marke img { height: 44px; }
    .kopf-innen { gap: 8px; padding-inline: 16px; }
    .kopf-werkzeuge { margin-left: auto; gap: 4px; }
    .menu-schalter { display: block; }

    .hauptmenu {
        display: none; position: fixed; inset: var(--bo-kopf-hoehe) 0 0 0; z-index: 999;
        background: #fff; overflow-y: auto; overscroll-behavior: contain;
        padding: 8px 16px 40px; flex-direction: column; align-items: stretch;
    }
    .hauptmenu.offen { display: flex; }
    .hauptmenu > ul { flex-direction: column; margin: 0; }
    .hauptmenu > ul > li { flex-direction: column; border-bottom: 1px solid var(--bo-linie); position: static; }
    .hauptmenu > ul > li > a,
    .hauptmenu > ul > li > button {
        min-height: 58px; padding: 0 4px 0 18px; justify-content: space-between; width: 100%;
        font-size: 1.3rem; text-align: left;
    }
    .hauptmenu > ul > li.aktiv > a::after,
    .hauptmenu > ul > li.aktiv > button::after {
        left: 0; right: auto; top: 16px; bottom: 16px; width: 6px; height: auto;
    }
    .hauptmenu .pfeil { width: 14px; height: 9px; margin-right: 8px; }

    .untermenu, .untermenu.mega {
        position: static; min-width: 0; padding: 0 0 14px 18px; border: 0; box-shadow: none; background: none;
    }
    .untermenu.mega.offen { display: block; }
    .untermenu a { padding: 11px 4px; }
    .untermenu.mega > li { margin-bottom: 4px; }
    .mega-gruppe { padding-right: 0; border-right: 0; }
    .untermenu.mega a.mega-kopf { height: auto; padding: 10px 0; font-size: 1.15rem; white-space: normal; }
    .untermenu.mega:has(.mega-gruppe) > .mega-einzeln { padding-top: 0; }
    .mega-raster { display: block; padding-left: 14px; }
    /* Auf dem Telefon bleibt es eine Liste: Vorschaubild klein, überall gleich */
    .untermenu.mega a.mega-kachel { flex-direction: row; flex-wrap: nowrap; align-items: center; width: auto; gap: 0 12px; padding: 6px 0; }
    .mega-bild { width: 56px; height: 42px; margin: 0; padding: 4px; }
    .mega-name { flex: 1; min-width: 0; font-size: 1.05rem; }
    .mega-kachel .mega-anzahl { display: none; }
    .untermenu.mega > li.alle { border: 0; padding: 0; }
    .untermenu-2 { padding-left: 56px; margin-bottom: 8px; }

    .kopf-suche .suche-feld { left: 0; right: 0; width: auto; border-radius: 0; }
}

/* ------------------------------------------------------------------
   Startseite: Aufmacher
   ------------------------------------------------------------------ */
.aufmacher { padding: clamp(32px, 5vw, 64px) 0 clamp(36px, 5vw, 72px); }
.aufmacher-innen {
    display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 64px); align-items: center;
}
.aufmacher-text { position: relative; z-index: 2; }
.aufmacher h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); line-height: 1.06; margin: 0; letter-spacing: 0; }
.aufmacher .vorspann { font-size: 1.25rem; color: var(--bo-grau); max-width: 34rem; margin: 6px 0 28px; }
.aufmacher-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }

/* Die gezogene Raupe: läuft von der Seite des Geräts unter die Überschrift. */
.raupe-aufmacher {
    display: block; overflow: visible;
    width: calc(100% + 150px); max-width: none; height: 64px; margin: 16px 0 10px;
}
.raupe-aufmacher path {
    fill: none; stroke: var(--bo-akzent); stroke-width: 10; stroke-linecap: round; stroke-linejoin: round;
    stroke-dasharray: 1; stroke-dashoffset: 0;
    animation: raupe-ziehen 1.1s cubic-bezier(.5, 0, .25, 1) .15s both;
}
@keyframes raupe-ziehen { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .raupe-aufmacher path { animation: none; } }

.aufmacher-bild {
    position: relative; z-index: 1;
    background: var(--bo-nebel); border-radius: var(--bo-radius-gross);
    aspect-ratio: 5 / 4; display: flex; align-items: center; justify-content: center;
    padding: clamp(18px, 3vw, 40px);
}
.aufmacher-bild img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; display: block; }
.aufmacher-bild .modell {
    position: absolute; left: 20px; bottom: 16px;
    font: 700 1.25rem/1 var(--bo-schrift-kopf); color: var(--bo-dunkel); text-decoration: none;
}
.aufmacher-bild .modell:hover { color: var(--bo-akzent); text-decoration: underline; }
.aufmacher-bild.leer { color: var(--bo-hellblau); }
.aufmacher-bild.leer svg { width: 120px; }

@media (max-width: 899.98px) {
    .aufmacher-innen { grid-template-columns: 1fr; }
    .raupe-aufmacher { width: 100%; }
    .aufmacher-bild { aspect-ratio: 4 / 3; }
}

/* ------------------------------------------------------------------
   Leistungsblöcke der Startseite (Inhalt aus dem Editor)
   ------------------------------------------------------------------ */
.leistungen > h2 { margin-bottom: 0; }
.leistungen > h2::after {
    content: ""; display: block; width: 56px; height: 6px; border-radius: 3px;
    background: var(--bo-akzent); margin: 16px 0 28px;
}
.leistungen .row { --bs-gutter-x: 40px; --bs-gutter-y: 32px; }
.leistungen .row > [class*="col-"] > p {
    margin: 0; padding-top: 16px; border-top: 2px solid var(--bo-linie);
    color: var(--bo-grau);
}
.leistungen .row > [class*="col-"] > p > strong:first-child,
.leistungen .row > [class*="col-"] > p > b:first-child {
    display: block; margin-bottom: 6px;
    font: 700 1.25rem/1.2 var(--bo-schrift-kopf); color: var(--bo-dunkel);
}

/* ------------------------------------------------------------------
   Produktbereiche: große Bildkacheln
   ------------------------------------------------------------------ */
.kacheln { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr)); }
.kachel {
    display: flex; flex-direction: column; text-decoration: none; color: inherit;
    background: #fff; border: 1px solid var(--bo-linie); border-radius: var(--bo-radius-gross); overflow: hidden;
    transition: border-color .15s;
}
.kachel:hover { border-color: var(--bo-akzent); color: inherit; text-decoration: none; }
.kachel-bild {
    aspect-ratio: 4 / 3; background: var(--bo-nebel); padding: 22px;
    display: flex; align-items: center; justify-content: center;
}
.kachel-bild img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; display: block; }
.kachel-text { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.kachel-text h3 { margin: 0; font-size: 1.5625rem; }
.kachel:hover h3 { color: var(--bo-akzent); }
.kachel-text p { margin: 0; color: var(--bo-grau); font-size: .98rem; }
.kategorie-kacheln { margin-bottom: 36px; }
.kachel-fuss { color: var(--bo-grau); font-size: .95rem; margin-top: auto; padding-top: 6px; }

/* Platzhalter: ruhig, mit dem Emblem statt einer grauen Fläche */
.kachel-bild.leer, .artikel-bild.leer, .galerie-gross.leer { color: var(--bo-hellblau); }
.platzhalter { width: 38%; max-width: 120px; height: auto; opacity: .55; }

/* ------------------------------------------------------------------
   Produktraster
   ------------------------------------------------------------------ */
.artikel-gitter { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(236px, 100%), 1fr)); }
.artikel {
    display: flex; flex-direction: column; min-width: 0;
    background: #fff; border: 1px solid var(--bo-linie); border-radius: var(--bo-radius-gross); overflow: hidden;
    color: inherit; text-decoration: none; transition: border-color .15s;
}
.artikel:hover { border-color: var(--bo-akzent); color: inherit; text-decoration: none; }
.artikel[hidden] { display: none; }
.artikel-bild {
    aspect-ratio: 1; background: var(--bo-nebel); padding: 16px;
    display: flex; align-items: center; justify-content: center;
}
.artikel-bild img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; display: block; }
.artikel-text { padding: 14px 18px 18px; display: flex; flex-direction: column; flex: 1; min-width: 0; }
.artikel-kat { font-size: .875rem; color: var(--bo-grau); margin: 0 0 2px; }
.artikel-text h3 {
    margin: 0 0 4px; font-size: 1.5625rem; line-height: 1.1; overflow-wrap: anywhere;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
}
.artikel:hover h3 { color: var(--bo-akzent); }
.artikel .kurz {
    margin: 0; color: var(--bo-text); font-size: .95rem; line-height: 1.45;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.artikel .nr { margin: 10px 0 0; padding-top: 0; font-size: .85rem; color: var(--bo-grau); margin-top: auto; }
.artikel .kurz + .nr, .artikel h3 + .nr { padding-top: 10px; }

/* ------------------------------------------------------------------
   Kategorie
   ------------------------------------------------------------------ */
.kategorie-kopf { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 32px; }
.kategorie-anzahl { color: var(--bo-grau); margin: 0 0 4px; font-size: 1rem; }

.reiter { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 24px; }
.reiter a {
    display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 6px 16px;
    border: 1px solid var(--bo-linie); border-radius: 999px; background: #fff;
    color: var(--bo-dunkel); font-weight: 700; text-decoration: none; font-size: .975rem;
}
.reiter a:hover { border-color: var(--bo-akzent); color: var(--bo-akzent); text-decoration: none; }
.reiter .anzahl, .filter .anzahl { color: var(--bo-grau); font-weight: 400; }

.filter {
    background: var(--bo-nebel); border-radius: var(--bo-radius-gross);
    padding: 20px 22px 8px; margin-bottom: 24px; display: grid; gap: 14px;
}
.filter[hidden] { display: none; }
.filter-gruppe { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 8px; }
.filter-titel { flex: 0 0 100%; font: 700 1.05rem/1.2 var(--bo-schrift-kopf); color: var(--bo-dunkel); }
@media (min-width: 900px) { .filter-titel { flex: 0 0 210px; padding-right: 8px; } }
.filter button[data-wert], .filter button[data-kategorie] {
    display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 15px;
    border: 1px solid var(--bo-linie); border-radius: 999px; background: #fff;
    font: inherit; font-size: .95rem; color: var(--bo-text); cursor: pointer;
    transition: border-color .15s, background-color .15s;
}
.filter button[data-wert]:hover, .filter button[data-kategorie]:hover { border-color: var(--bo-akzent); }
.filter button[aria-pressed="true"] { background: var(--bo-akzent); border-color: var(--bo-akzent); color: #fff; }
.filter button[aria-pressed="true"] .anzahl { color: #fff; }
.filter-fuss {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px;
    border-top: 1px solid var(--bo-linie); padding: 12px 0 14px; margin-top: 2px;
}
.filter-zaehler { margin: 0; font-weight: 700; color: var(--bo-dunkel); }
.filter-reset {
    background: none; border: 0; padding: 8px 2px; font: inherit; font-weight: 700; color: var(--bo-akzent);
    cursor: pointer; text-decoration: underline; text-underline-offset: .18em;
}
.filter-reset[disabled] { color: var(--bo-grau); cursor: default; text-decoration: none; font-weight: 400; }
.filter-leer { margin: 8px 0 0; }
.filter-leer[hidden] { display: none; }

/* ------------------------------------------------------------------
   Produkt
   ------------------------------------------------------------------ */
.produkt-kopf { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 899.98px) { .produkt-kopf { grid-template-columns: minmax(0, 1fr); } }

.galerie-gross {
    position: relative; aspect-ratio: 1; background: var(--bo-nebel); border-radius: var(--bo-radius-gross);
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.galerie-gross > button {
    position: absolute; inset: 0; width: 100%; height: 100%; padding: clamp(14px, 3vw, 36px);
    background: none; border: 0; cursor: zoom-in; display: flex; align-items: center; justify-content: center;
}
.galerie-gross > button:focus-visible { outline-offset: -4px; }
.galerie-gross img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; display: block; }
.galerie-streifen { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.galerie-streifen button {
    width: 76px; height: 76px; padding: 6px; background: var(--bo-nebel); cursor: pointer;
    border: 2px solid transparent; border-radius: var(--bo-radius);
}
.galerie-streifen button:hover { border-color: var(--bo-hellblau); }
.galerie-streifen button.aktiv { border-color: var(--bo-akzent); }
.galerie-streifen img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; display: block; }

.produkt-info .kat { margin: 0 0 6px; font-size: 1rem; }
.produkt-info .kat a { color: var(--bo-grau); }
.produkt-info .kat a:hover { color: var(--bo-akzent); }
.produkt-info h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1; margin-bottom: 8px; overflow-wrap: anywhere; }
.artikelnummer { color: var(--bo-grau); font-size: .95rem; margin: 0 0 18px; }
.kurztext { font-size: 1.1875rem; max-width: 36rem; }
.kurztext p:last-child { margin-bottom: 0; }

.werte { display: grid; gap: 0; margin: 22px 0 26px; border-top: 1px solid var(--bo-linie); }
.werte div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--bo-linie); }
.werte dt { color: var(--bo-grau); font-weight: 400; }
.werte dd { margin: 0; font-weight: 700; color: var(--bo-dunkel); }

.produkt-aktion { display: flex; flex-wrap: wrap; gap: 12px; }
.hotline-zeiten { margin: 10px 0 0; font-size: .9rem; color: var(--bo-grau); }

.produkt-text { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); margin-top: clamp(44px, 6vw, 80px); align-items: start; }
@media (max-width: 899.98px) { .produkt-text { grid-template-columns: minmax(0, 1fr); } }
.produkt-text h2 { font-size: 1.5625rem; margin-bottom: 14px; }
.produkt-text .spalte > * + h2 { margin-top: 40px; }

table.merkmale { width: 100%; border-collapse: collapse; font-size: .975rem; }
table.merkmale th, table.merkmale td { padding: 10px 0; border-bottom: 1px solid var(--bo-linie); text-align: left; vertical-align: top; }
table.merkmale th { font-weight: 400; color: var(--bo-grau); padding-right: 16px; width: 48%; }
table.merkmale td { font-weight: 700; color: var(--bo-dunkel); }

.dokumente { list-style: none; margin: 0; padding: 0; }
.dokumente a {
    display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--bo-linie);
    text-decoration: none; font-weight: 700;
}
.dokumente a:hover { text-decoration: underline; }
.dokumente svg { width: 22px; height: 22px; color: var(--bo-akzent); }
.dokumente .name { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.dokumente .groesse { color: var(--bo-grau); font-weight: 400; font-size: .9rem; }

.anfrage-panel { background: var(--bo-nebel); }
.anfrage-panel .formular { max-width: 54rem; }

/* ------------------------------------------------------------------
   Inhalte aus dem Editor
   ------------------------------------------------------------------ */
.inhalt { max-width: 100%; }
.inhalt > p, .inhalt > ul, .inhalt > ol, .inhalt > h2, .inhalt > h3, .inhalt > h4, .inhalt > blockquote { max-width: 46rem; }
.inhalt h2 { margin-top: 1.8em; font-size: 1.95rem; }
.inhalt h3 { margin-top: 1.6em; font-size: 1.5625rem; }
.inhalt h4 { margin-top: 1.4em; font-size: 1.25rem; }
.inhalt > :first-child { margin-top: 0; }
.inhalt > :last-child { margin-bottom: 0; }
.inhalt ul, .inhalt ol { margin: 0 0 1.1em; padding-left: 1.3em; }
.inhalt li { margin-bottom: .4em; padding-left: .2em; }
.inhalt li::marker { color: var(--bo-hellblau); }
.inhalt img { border-radius: var(--bo-radius); margin: .4em 0; display: block; }
.inhalt .row img { width: 100%; }
.inhalt figure { margin: 1.6em 0; }
.inhalt figcaption { font-size: .9rem; color: var(--bo-grau); margin-top: 8px; }
.inhalt blockquote {
    margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--bo-hellblau);
    color: var(--bo-grau); font-size: 1.15rem;
}
.inhalt table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .975rem; }
.inhalt th, .inhalt td { padding: 10px 14px 10px 0; border-bottom: 1px solid var(--bo-linie); text-align: left; vertical-align: top; }
.inhalt th { font-weight: 700; color: var(--bo-dunkel); }
.inhalt .tabelle-rollt { overflow-x: auto; }
.inhalt hr { border: 0; border-top: 1px solid var(--bo-linie); margin: 2em 0; }
.inhalt .row { row-gap: 1rem; }

/* Gegliederte Produkttexte (Features, Benefits, Spezifikation …) */
.inhalt .gruppe-titel {
    margin: 2em 0 .6em; padding-top: 1em; border-top: 1px solid var(--bo-linie);
    font: 700 1.25rem/1.2 var(--bo-schrift-kopf); color: var(--bo-dunkel);
}
.inhalt > .gruppe-titel:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.inhalt table.spezifikation { margin: 0 0 1em; max-width: 46rem; }
.inhalt table.spezifikation th { font-weight: 400; color: var(--bo-grau); width: 42%; padding-right: 16px; }
.inhalt table.spezifikation td { font-weight: 700; color: var(--bo-dunkel); }

/* Bilder einer Seite, die im Text nicht ausdrücklich stehen */
.seiten-bilder { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); margin-top: 44px; }
.seiten-bilder figure { margin: 0; }
.seiten-bilder button { display: block; width: 100%; padding: 0; background: none; border: 0; cursor: zoom-in; border-radius: var(--bo-radius-gross); }
.seiten-bilder img {
    width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
    border-radius: var(--bo-radius-gross); background: var(--bo-nebel);
}

/* Seiten ohne Inhalt: ein ruhiger Leerzustand statt einer nackten Überschrift */
.leer-seite {
    background: var(--bo-nebel); border-radius: var(--bo-radius-gross);
    padding: clamp(28px, 4vw, 44px); max-width: 46rem;
}
.leer-seite p { color: var(--bo-grau); font-size: 1.15rem; }
.leer-seite .aufmacher-knoepfe { margin-top: 20px; }

/* Produkte & Services: Liste mit kurzen Texten */
.leistungsliste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 0 56px; }
.leistungsliste li { border-top: 1px solid var(--bo-linie); }
.leistungsliste a { display: block; padding: 18px 0 20px; text-decoration: none; color: var(--bo-text); }
.leistungsliste strong { display: block; font: 700 1.3rem/1.2 var(--bo-schrift-kopf); color: var(--bo-dunkel); margin-bottom: 4px; }
.leistungsliste a:hover strong { color: var(--bo-akzent); text-decoration: underline; }
.leistungsliste span { color: var(--bo-grau); font-size: .98rem; }

/* ------------------------------------------------------------------
   Formulare
   ------------------------------------------------------------------ */
.formular { display: grid; gap: 18px; }
.formular .paar { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .formular .paar { grid-template-columns: 1fr; } }
.formular label { display: block; font-weight: 700; font-size: .975rem; margin-bottom: 6px; color: var(--bo-dunkel); }
.formular input, .formular textarea, .formular select {
    width: 100%; padding: 12px 14px; min-height: 48px;
    border: 1px solid #8793A6; border-radius: var(--bo-radius);
    font: inherit; color: var(--bo-text); background: #fff;
}
.formular input:focus, .formular textarea:focus, .formular select:focus { border-color: var(--bo-akzent); outline: 3px solid var(--bo-akzent); outline-offset: 0; }
.formular textarea { min-height: 160px; resize: vertical; }
.formular .hinweis, .hinweis { font-size: .9rem; color: var(--bo-grau); margin: 6px 0 0; }
.honigtopf { position: absolute; left: -9999px; }

.suche-formular { display: flex; gap: 10px; max-width: 40rem; margin-bottom: 8px; }
.suche-formular input {
    flex: 1; min-width: 0; min-height: 48px; padding: 0 16px;
    border: 1px solid #8793A6; border-radius: var(--bo-radius); font: inherit; color: var(--bo-text); background: #fff;
}
.suche-formular input:focus { border-color: var(--bo-akzent); outline: 3px solid var(--bo-akzent); outline-offset: 0; }

.meldung { padding: 15px 18px; border-radius: var(--bo-radius); border-left: 5px solid; margin-bottom: 24px; }
.meldung.gut { background: #EAF6EE; border-color: #1F7A3E; color: #14502A; }
.meldung.fehler { background: #FCECEA; border-color: #B8321F; color: #7A1F12; }
.meldung a { color: inherit; text-decoration: underline; }

.daten { margin: 0 0 28px; }
.daten > div { padding: 10px 0; border-bottom: 1px solid var(--bo-linie); display: grid; grid-template-columns: 8.5rem 1fr; gap: 12px; }
.daten dt { font-weight: 400; color: var(--bo-grau); }
.daten dd { margin: 0; font-weight: 700; color: var(--bo-dunkel); }
.zweispaltig { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 899.98px) { .zweispaltig { grid-template-columns: 1fr; } }
.zweispaltig aside h2 { font-size: 1.25rem; }

/* ------------------------------------------------------------------
   Anfrage-/Hotline-Band
   ------------------------------------------------------------------ */
.aufruf {
    background: var(--bo-dunkel); color: #fff; border-radius: var(--bo-radius-gross);
    padding: clamp(28px, 4vw, 52px);
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 32px;
}
.aufruf h2 { color: #fff; margin-bottom: 8px; }
.aufruf p { color: var(--bo-auf-dunkel-leise); margin: 0; max-width: 36rem; font-size: 1.1875rem; }
.aufruf-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }
.aufruf .knopf.leise { color: #fff; border-color: #fff; background: transparent; }
.aufruf .knopf.leise:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* ------------------------------------------------------------------
   Karte
   ------------------------------------------------------------------ */
.karte-halter {
    position: relative; height: 400px; z-index: 0; isolation: isolate;
    border-radius: var(--bo-radius-gross); overflow: hidden;
    border: 1px solid var(--bo-linie); background: #fff;
}
.karte-halter .karte-laden {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 14px; text-align: center; padding: 24px;
}
.karte-halter .karte-laden p { color: var(--bo-grau); font-size: .95rem; max-width: 26rem; margin: 0; }

/* Leerzustand */
.leer {
    padding: 36px 28px; background: var(--bo-nebel); border-radius: var(--bo-radius-gross); color: var(--bo-grau);
}
.leer strong { display: block; color: var(--bo-dunkel); font: 700 1.25rem/1.2 var(--bo-schrift-kopf); margin-bottom: 6px; }

/* ------------------------------------------------------------------
   Bild in voller Größe
   ------------------------------------------------------------------ */
.lupe {
    position: fixed; inset: 0; z-index: 2000; background: rgba(15, 27, 61, .94);
    display: none; align-items: center; justify-content: center; padding: 64px 20px 40px;
}
.lupe.offen { display: flex; }
.lupe img { max-width: 100%; max-height: 100%; background: #fff; border-radius: var(--bo-radius); }
.lupe button {
    position: absolute; width: 48px; height: 48px; border: 0; border-radius: 50%;
    background: rgba(255, 255, 255, .16); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.lupe button:hover { background: rgba(255, 255, 255, .3); }
.lupe .zu { top: 12px; right: 12px; }
.lupe .vor, .lupe .zurueck { top: 50%; margin-top: -24px; }
.lupe .vor { right: 12px; }
.lupe .zurueck { left: 12px; }
.lupe .vor[hidden], .lupe .zurueck[hidden] { display: none; }

/* ------------------------------------------------------------------
   Fußzeile
   ------------------------------------------------------------------ */
.fuss { background: var(--bo-dunkel); color: var(--bo-auf-dunkel-leise); font-size: 1rem; margin-top: 0; }
.fuss a { color: var(--bo-auf-dunkel-leise); text-decoration: none; }
.fuss a:hover { color: #fff; text-decoration: underline; }
.fuss-innen {
    max-width: var(--bo-breite); margin-inline: auto; padding: clamp(44px, 5vw, 64px) 24px;
    display: grid; gap: 36px 48px; grid-template-columns: minmax(0, 1.5fr) repeat(auto-fit, minmax(min(180px, 100%), 1fr));
}
@media (max-width: 899.98px) { .fuss-innen { grid-template-columns: 1fr 1fr; } .fuss-marke { grid-column: 1 / -1; } }
@media (max-width: 520px) { .fuss-innen { grid-template-columns: 1fr; } }
.fuss-logo { display: block; height: 52px; width: auto; margin-bottom: 18px; }
.fuss-name { font: 700 1.3rem/1.2 var(--bo-schrift-kopf); color: #fff; margin: 0 0 8px; }
.fuss-marke address { font-style: normal; margin: 0 0 14px; }
.fuss-hotline { margin: 0 0 4px; }
.fuss-hotline a { color: #fff; font: 700 1.3rem/1.3 var(--bo-schrift-kopf); }
.fuss-zeiten { margin: 0; font-size: .95rem; }
.fuss-mail { margin: 12px 0 0; }
.fuss-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.fuss-social a { padding: 6px 14px; border: 1px solid var(--bo-hellblau); border-radius: 999px; font-size: .9rem; }
.fuss h2 { font: 700 1.1rem/1.2 var(--bo-schrift-kopf); color: #fff; margin: 0 0 14px; }
.fuss-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.fuss-zeile {
    border-top: 1px solid rgba(255, 255, 255, .16); max-width: var(--bo-breite); margin-inline: auto;
    padding: 20px 24px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .925rem;
}
.fuss-recht { display: flex; gap: 20px; }

/* ------------------------------------------------------------------
   Drucken — ein Datenblatt wird auf der Baustelle durchaus ausgedruckt
   ------------------------------------------------------------------ */
@media print {
    .kopf, .fuss, .aufruf, .knopf, .filter, .galerie-streifen, .sprungmarke, .anfrage-panel { display: none !important; }
    body { font-size: 12pt; }
    .abschnitt { padding: 0; }
    a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; color: #555; }
}

/* ------------------------------------------------------------------
   Kleinigkeiten einzelner Seiten
   ------------------------------------------------------------------ */
.kategorie-inhalt { margin-bottom: 40px; }
.kategorie-anzahl { margin-top: 14px !important; font-size: 1rem !important; }
.suche-leer { margin-top: 28px; }
.suche-anzahl { margin: 24px 0 0; color: var(--bo-grau); }
.suche-gruppe { margin: 40px 0 20px; }
.suche-seiten { padding-left: 1.2em; }
.suche-seiten li { margin-bottom: .4em; }
.suche-formular + .aufmacher-knoepfe { margin-top: 24px; }
.leistungen .row > [class*="col-"] > p > strong:first-child + br,
.leistungen .row > [class*="col-"] > p > b:first-child + br { display: none; }

/* Telefon: zwei Karten nebeneinander statt einer endlosen Spalte */
@media (max-width: 599.98px) {
    .artikel-gitter { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .artikel-bild { padding: 10px; }
    .artikel-text { padding: 10px 12px 14px; }
    .artikel-text h3 { font-size: 1.25rem; }
    .artikel .kurz { font-size: .875rem; }
    .kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .kachel-bild { padding: 12px; }
    .kachel-text { padding: 12px 14px 16px; }
    .kachel-text h3 { font-size: 1.2rem; }
    .filter { padding: 16px 14px 4px; }
    .produkt-aktion .knopf { width: 100%; }
    .aufruf-knoepfe .knopf { width: 100%; }
}
