/* ═══════════════════════════════════════════════════════════════
   m-wt.de – Haupt-Stylesheet
   Zusammengeführt aus shop.css + kopf.css
   Eingebunden in kopf.php
═══════════════════════════════════════════════════════════════ */

/* ── Design-System Variablen ─────────────────────────────── */
:root {
  --c-bg:        #e8ece8;   /* Seiten-Hintergrund: warm-grau */
  --c-surface:   #ffffff;   /* Karten / Boxen */
  --c-stripe:    #f0f4f0;   /* Streifen-Hintergrund */
  --c-blue:      #14529a;
  --c-dark:      #1a2a3a;
  --c-border:    #dde5f0;
  --c-shadow:    rgba(20,82,154,.13);
  --c-shadow-rd: 4px 5px 16px rgba(20,82,154,.15);
}

/* ── Reset / Box-Model ────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
}
html {
  height: 100%;
  font-size: 100%;
  overflow-y: scroll;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: #A3B8EC #fff;
}
body {
  height: 100%;
  font-size: 14px;
  line-height: 1.5;
  color: #434343;
  background: var(--c-bg);
}

/* ── Placeholder ──────────────────────────────────────────── */
::placeholder                { color: #14529a; }
#firmenanschrift_zeile1::placeholder,
#firmenanschrift_zeile2::placeholder,
#Lieferfirmenanschrift_zeile1::placeholder,
#Lieferfirmenanschrift_zeile2::placeholder,
#telefon::placeholder,
#passneu::placeholder        { color: #ccc; }
input#eingabe::placeholder   { color: #A3B8EC; }
input#eingabeg::placeholder  { color: #009900; }
#eingabeg { width:80%; font-size:14px; font-weight:bold; color:#009900; }

/* ── Layout-Grundstruktur ─────────────────────────────────── */
.ganzoben   { width:100%; height:2em; background-color:#0B3C73; }
.logomitte  { width:100%; height:9.5em; background-color:#14529a; }
.menueo     { width:100%; height:3em; background-color:#0B3C73;
              box-shadow: 2px 2px 1px rgba(0,0,0,.5); }

.rechtsall        { float:left; width:100%; }
.dashboardmi      { float:left; width:100%; }
.dashboardrekl    { width:100%; background:#EEE; }
.dashboardli,
.dashboardre      { display:none; }

/* ── Logo ────────────────────────────────────────────────── */
.logo  { width:23em; height:7.5em; position:relative; left:2em; top:.6em; }
.logoa { display:none; position:relative; left:.2em; top:-.6em; }

/* ── Warenkorb / Merkliste / Login (Kopf-Icons) ───────────── */
.wk          { position:fixed; right:3em; top:.6em;
               font-size:19px; font-family:Verdana; font-weight:bold; color:#fff; }
.wkorbkopp   { position:fixed; right:6em; top:3em;
               height:60px; width:50px;
               background:url(wk.png) no-repeat bottom center / 80%;
               background-color:#14529a; color:#fff; cursor:pointer;
               box-shadow: rgba(0,0,0,.7) 0 5px 10px, inset rgba(0,0,0,.1) 0 -10px 20px;
               border-radius:10%; margin:16px; z-index:103; }
.wkorbfuss   { height:2.5em; width:6em; right:2em; top:2em; position:absolute;
               background:url(wk.png) no-repeat bottom center / contain; }
.wkorbtxt    { height:3em; width:6em;
               background: #ffcc22 url(wk.png) no-repeat bottom center / 50%;
               border-color:#e8e8e8; border-radius:5%; cursor:pointer; }
.btnlogin    { position:fixed; right:0; top:3em; height:60px; width:50px;
               background:url(login.png) no-repeat bottom center / 80%;
               background-color:#14529a; color:#fff; cursor:pointer;
               box-shadow: rgba(0,0,0,.7) 0 5px 10px, inset rgba(0,0,0,.1) 0 -10px 20px;
               border-radius:10%; margin:16px; }
.btnlogout   { height:60px; width:50px; z-index:103; cursor:pointer;
               background-color:#14529a; color:#fff;
               box-shadow: rgba(0,0,0,.7) 0 5px 10px, inset rgba(0,0,0,.1) 0 -10px 20px;
               border-radius:10%; margin:16px; }
div.logout   { position:fixed; right:0; top:3em; display:none; }
.logout      { display:none; }
.buttonmerk  { height:60px; width:50px; z-index:103; cursor:pointer;
               background:url(merkliste.png) no-repeat bottom center / 98%;
               background-color:#14529a; color:#fff;
               box-shadow: rgba(0,0,0,.7) 0 5px 10px, inset rgba(0,0,0,.1) 0 -10px 20px;
               border-radius:10%; margin:16px; }
.buttonmerkkopf { height:60px; width:50px; z-index:103; cursor:pointer;
               background-color:#14529a; color:#fff;
               box-shadow: rgba(0,0,0,.7) 0 5px 10px, inset rgba(0,0,0,.1) 0 -10px 20px;
               border-radius:10%; margin:16px; }
#merklistekopf  { position:relative; right:11em; top:-3.3em; }
.buttonmwst, .btnmwst {
               display:inline-flex; align-items:center; gap:.3em;
               margin-top:.4em; padding:.35em .7em;
               cursor:pointer; font-size:.85em; font-weight:600;
               background:#14529a; color:#fff;
               border:1px solid rgba(20,82,154,.4);
               border-radius:4px; white-space:nowrap;
               transition:background .15s; }
.buttonmwst:hover, .btnmwst:hover { background:#0B3C73; }
.mwst        { position:fixed; bottom:1em; right:1em; z-index:100;
               background:#fff; border:1px solid #c0cfe0; border-radius:10px;
               box-shadow:0 4px 16px rgba(20,82,154,.18);
               padding:.5em .7em; font-size:.8em; color:#14529a;
               font-weight:600; min-width:10em; text-align:center;
               line-height:1.4; }

/* ── Suche ───────────────────────────────────────────────── */
.eingabe       { position:relative; left:30em; top:-5em; }
#eingabe       { height:3em; width:20em; font-size:16px; font-weight:bold; color:#000; }
#eingabebutton { height:3.6em; width:4em; position:relative; left:-4em; }

/* ── Inhalt-Container ─────────────────────────────────────── */
.flexed  { display:flex; flex-wrap:wrap; justify-content:flex-start; }
.inhalt  { width:98%; height:100%; position:relative; top:20px; left:2%; background:#fff; }
.inhalt2 { width:60%; height:100%; position:relative; top:0; left:15%; background:#fff; }
.spalten { width:98%; display:flex; flex-wrap:wrap; align-items:stretch;
           justify-content:space-around; align-content:space-around; }
.spalteek { margin:1em; border:1px solid #ccc; max-height:50%; width:92%;
            overflow-y:scroll; overflow-x:hidden; }
.spaltea  { margin:1em; width:20%; }
.spalteb  { margin:1em; width:30%; }
.spalten60 { float:left; width:60%; margin:1em; }
.spalten30 { float:left; width:30%; margin:1em; padding:1em; }
.spalten33 { float:left; width:30%; margin:1em; padding:1em; }
#spalte_anschr { width:30%; background:#fff; }
#spalten  { margin:1em; border-radius:5px; width:30%; background:#fff; max-height:54em; }
#spalten50{ margin:1em; border-radius:5px; width:50%; background:#fff; max-height:54em; }
#spalten2 { width:48%; }
.spaltenlieferumf { float:left; width:50%; margin:1em; }

/* ── Tabellen-Div-Layout ──────────────────────────────────── */
div.table   { display:table; border-collapse:collapse; width:100%; }
div.table80 { display:table; border-collapse:collapse; width:80%; }
div.table60 { display:table; border-collapse:collapse; width:60%; }
div.table50 { display:table; border-collapse:collapse; width:50%; }
div.tr      { display:table-row; }
div.tda     { display:table-cell; padding:5px; width:30%; }
div.tdb     { display:table-cell; padding:5px; width:35%; }
div.tdc     { display:table-cell; padding:5px; width:35%; }
div.td10    { display:table-cell; padding:5px; width:10%; }
div.td15    { display:table-cell; padding:5px; width:15%; }
div.td20    { display:table-cell; padding:5px; width:20%; }
div.td50    { display:table-cell; padding:5px; width:50%; }
div.td60    { display:table-cell; padding:5px; width:60%; }
div.td70    { display:table-cell; padding:5px; width:70%; }
div.td100   { display:table-cell; padding:5px; width:100%; }

/* ── Buttons / Selects ────────────────────────────────────── */
.select  { height:3em; width:4em; background-color:#14529a; color:#fff;
           box-shadow: rgba(0,0,0,.7) 0 5px 10px, inset rgba(0,0,0,.1) 0 -10px 20px;
           border-radius:10%; }
.button  { height:50px; width:100px; cursor:pointer; z-index:103;
           background: #14529a url(wk.png) no-repeat bottom right / 60%;
           color:#fff;
           box-shadow: rgba(0,0,0,.7) 0 5px 10px, inset rgba(0,0,0,.1) 0 -10px 20px;
           border-radius:10%; }
.buttonangebot { height:3em; width:8em; cursor:pointer; z-index:103;
           background: #14529a url(pdf.gif) no-repeat bottom right / 30%;
           color:#fff;
           box-shadow: rgba(0,0,0,.7) 0 5px 10px, inset rgba(0,0,0,.1) 0 -10px 20px;
           border-radius:10%; }
.select:hover, .select:focus,
.button:hover,  .button:focus,
.wkorbkopp:hover, .btnlogin:hover, .btnlogout:hover,
.buttonmerk:hover,
.eksubmit:hover  {
  box-shadow: rgba(0,0,0,.7) 0 5px 15px, inset rgba(0,0,0,.15) 0 -10px 20px; }

/* ── Formular-Elemente ───────────────────────────────────── */
input.txtinput, select.txtinput {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  border:1px solid #ccc; font-size:16px; width:100%;
  display:block; margin:5px 0; outline:none;
  border-radius:5px; transition:border-bottom-color 1s; }
input[type="text"]:focus,
input[type="email"]:focus,
input[type="date"]:focus  { border-bottom-color:blue; }
input[type="checkbox"]    { font-size:20px; width:20px; height:20px;
                            vertical-align:middle; cursor:pointer; }
textarea { resize:none; overflow:auto; width:100%; height:6rem; }
label.adressen    { position:relative; left:-1em; top:-55px; cursor:pointer;
                    display:block; width:100%; padding:1ex; border-radius:2px;
                    margin-bottom:2px; }
label.adressenor  { position:relative; left:0; top:-55px; cursor:pointer;
                    display:block; width:100%; padding:1ex; border-radius:2px;
                    margin-bottom:2px; }

/* ── CSS-Checkbox-Toggles (Login, Stammdaten, Merkliste) ──── */
span.login, div.login      { display:none; }
label span.Lieferadresse   { display:none; }
label span.neudaten        { display:none; }
div.neudatenanz            { display:none; }
p#nl                       { display:none; }
.neuadressdaten            { display:none; }
.neudaten, .logs           { display:none; }
#mkl, #Stammdaten          { display:none; }
input.batton               { display:none; }
span.battontxt             { display:none; }
span.kundenlogin,
input.kundenlogin          { display:none; }
span.firmenoptiontab       { display:none; }
#Fehler                    { display:none; }
/* #handyfuss – entfernt (fuss.php: CSS Grid) */
#neudaten_op               { display:none; }
.neudaten                  { display:none; }

input.logs:checked ~ div.login     { display:inline; }
input.logs:checked ~ p#nl          { display:inline; }
input.neudaten:checked ~ div.neudatenanz { display:inline; }
input.neudaten:checked ~ div.login { display:none; }
input.mkl:checked ~ span.mklanz   { display:inline; }
input.mkl:checked ~ .index        { display:none; }
input.Stammdaten:checked ~ .neuadressdaten { display:inline; }
input.Stammdaten:checked ~ .index { display:none; }
input.batton:checked ~ span.battontxt { display:inline; }
input.firmenoption:checked ~ span.firmenoptiontab { display:inline-block; }
input.kundenlogin:checked ~ span.kundenlogin      { display:inline-block; }

input[type="checkbox"].firmenoption,
input[type="checkbox"].lieferadr   { display:none; }
#kasseform input:required:valid + label::before { content:"\00A0\2714"; color:green; }
span#spalte_anschr                 { line-height:1; }
span.Lieferadresse                 { display:inline; line-height:1; }
span.neudaten                      { display:inline; line-height:1; }
label.neudatencheck { display:inline; font-size:12px; font-family:Verdana;
                      font-weight:bold; text-decoration:underline; color:#14529a;
                      cursor:pointer; padding:1ex; margin-bottom:2px; }

/* ── Rahmen-/Box-Klassen ──────────────────────────────────── */
.rahmenradius { border:1px solid #ccc; margin:1em; background-color:#eee;
                outline:none; border-radius:5px; }
.rahmengrau   { border:1px solid #e8e8e8; }
.rahmenpreis  { display:inline-block; width:40%; font-size:100%;
                font-family:Verdana; color:#707070; border:1px solid #e8e8e8; }
.tabrahmen    { width:100%; border:1px solid #ccc; border-radius:5px;
                margin-bottom:4px; }
.hintergrund_zelle { float:left; width:100%; border-radius:15px;
                     background:url(hintergrund_zelle.jpg) #eee;
                     border:1px solid #ccc; opacity:.9;
                     box-shadow: rgba(0,0,0,.7) 0 5px 10px, inset rgba(0,0,0,.1) 0 -10px 20px; }

/* ── Ausgabe / Suche ──────────────────────────────────────── */
.ausgabe { background:#fff; width:96%; font-size:16px; font-weight:bold;
           color:#009900; line-height:1.5; opacity:.98; margin:.1em auto;
           display:flex; border:1px solid #ccc; border-radius:5px; }
.proc    { width:80%; overflow:hidden; border:1px solid #ccc; margin:1em;
           background:#eee; border-radius:5px; }
.proc2   { width:45%; }
.proc3   { width:35%; font-size:19px; font-family:Verdana; font-weight:bold; color:#009900; }

/* ── Artikel-Ausgabe ─────────────────────────────────────── */
.artikeausgabe  { border:1px solid #ccc; width:100%; display:flex;
                  flex-wrap:wrap; align-items:stretch;
                  justify-content:space-around; align-content:space-around; }
.artikelbild    { float:left; width:33%; border-radius:5%; margin:1em;
                  background:url(hintergrund_zelle.jpg) #eee; border:1px solid #ccc;
                  box-shadow: rgba(0,0,0,.7) 0 5px 10px, inset rgba(0,0,0,.1) 0 -10px 20px; }
.indexbild      { float:left; height:6em; border-radius:5%; margin:1em;
                  background:url(hintergrund_zelle.jpg) #eee; border:1px solid #ccc;
                  box-shadow: rgba(0,0,0,.7) 0 5px 10px, inset rgba(0,0,0,.1) 0 -10px 20px; }
.spartenindex   { width:46%; border:1px solid #14529a; margin:1em; border-radius:5px;
                  float:left; background:#F2F2F2; display:flex; align-items:center;
                  font-size:80%; font-family:Verdana; color:#707070; }
.produktform    { width:30%; border:1px solid #14529a; margin:1em; border-radius:5px;
                  float:left; font-size:80%; font-family:Verdana; color:#707070;
                  background:#F2F2F2; }
.linksform      { width:48%; border:1px solid #14529a; margin:1em; border-radius:5px;
                  float:left; font-size:80%; font-family:Verdana; color:#707070;
                  background:#F2F2F2; }
.langtxt        { width:62%; float:left; margin:1em; padding:1em; }
.bilder-responsive { width:24em; }
.bilder-index      { height:15em; }
.bilderkl          { width:96%; }
img[onClick]       { cursor:pointer; }

/* ── Bild-Lightbox ───────────────────────────────────────── */
#preview { width:100%; height:100%; z-index:10000; position:fixed;
           background:rgba(0,0,0,.88); display:none;
           top:0; left:0; right:0; bottom:0; }
#preview #preview_inner { width:100%; height:100%;
           background:#fff center center / contain no-repeat; }
#preview a.close { cursor:pointer; float:right; width:70px; height:70px;
           text-align:right; padding:15px 20px; background:#14529a; color:#fff;
           border-radius:0 0 0 100%; font-family:Arial; font-size:18px; }
#preview a.close:hover { background:#fff; color:#14529a; }

/* ── Zahlungs-Infobox ────────────────────────────────────── */
.zahlungszusatz { position:relative; left:1em; top:10px; width:250px;
  padding:1rem; font-family:Helvetica,Tahoma; border:1px solid #e8e8e8;
  margin:0 auto; border-radius:5px; text-align:center; background:#ffffcc; }
.zahlungszusatz::before { content:''; position:absolute; width:0; height:0;
  left:28px; top:-14px; border:14px solid transparent; border-bottom-color:#e8e8e8; }
.zahlungszusatz::after  { content:''; position:absolute; width:0; height:0;
  left:34px; top:-13px; border:8px solid transparent; border-bottom-color:#ffffcc; }

/* ── Telefonbestellung ───────────────────────────────────── */
.telefonbestell { border:1px solid #ccc; width:100%; border-radius:5px; }

/* ── Fußzeile – CSS in fuss.php ──────────────────────────── */
/* .fuss / .fussspalten entfernt – ersetzt durch CSS Grid in fuss.php */
#spaltenlieferumf { float:left; margin:1em; padding:1em; background:#fff; }
a.w0800_enthaertung2 span { display:none; background:#fff; width:250px; padding:0; }
a.w0800_enthaertung2:hover span { display:block; position:absolute; top:0; right:0;
  box-shadow:2px 8px 8px rgba(0,0,0,.6); z-index:4;
  border:1px solid #003399; }
a.w0800_enthaertung2 { position:fixed; bottom:2em; right:2px; z-index:4;
  color:#000; text-decoration:none; }
.fuss0800 { width:100%; background:#F2F2F2; position:fixed; bottom:0; right:2px;
             z-index:5; }

/* ── Typografie-Hilfsklassen ──────────────────────────────── */
.hidden_element { display:none; }
.verd08  { font-size:12px; font-family:Verdana; }
.verd8gr { font-size:12px; font-family:Verdana; font-weight:bold; color:#009900; }
.verd10  { font-size:16px; font-family:Verdana; }
.verd10r { font-size:12px; font-family:Verdana; font-weight:bold; color:#CC3333; }
.verd10gr{ font-size:12px; font-family:Verdana; font-weight:bold; color:#009900; }
.verd10w { font-size:12px; font-family:Verdana; font-weight:bold; color:#fff; text-decoration:none; }
.verd10bl{ font-size:12px; font-family:Verdana; font-weight:bold; color:#14529a; }
.verd12  { font-size:19px; font-family:Verdana; }
.verd12b { font-size:19px; font-family:Verdana; font-weight:bold; }
.verd12r { font-size:19px; font-family:Verdana; font-weight:bold; color:#CC3333; }
.verd12gr{ font-size:19px; font-family:Verdana; font-weight:bold; color:#009900; }
.verd12w { font-size:19px; font-family:Verdana; font-weight:bold; color:#fff; }
.verd12wlink { font-size:19px; font-family:Verdana; font-weight:bold; color:#fff; text-decoration:none; }
.verd16b { font-size:24px; font-family:Verdana; font-weight:bold; }
.verd18  { font-size:28px; font-family:Verdana; font-weight:bold; }
.verd18r { font-size:28px; font-family:Verdana; font-weight:bold; color:#CC3333; }
.reloadbutton { width:1.5em; background:#ffcc22; font-size:130%;
                font-family:Verdana; font-weight:bold; color:#CC3333; }
ul.listen { list-style:none; line-height:2.5; }
ul.listen li::before { content:"\25BA\0020"; color:rgba(0,0,139,1); }
a.faq:link, a.faq:visited { color:#00F; }
a.faq:hover { color:#36F; text-decoration:none; border:1px solid #003399; }

/* ── Spalten-Scrollbars ──────────────────────────────────── */
.spalteek::-webkit-scrollbar,
.spalte2::-webkit-scrollbar,
.spalte3::-webkit-scrollbar { -webkit-appearance:none; width:11px; height:11px; }
.spalteek::-webkit-scrollbar-thumb,
.spalte2::-webkit-scrollbar-thumb,
.spalte3::-webkit-scrollbar-thumb { border-radius:8px; border:2px solid #fff;
  background-color:rgba(0,0,0,.5); }
.spalte1 { border:1px solid #ccc; }
.spalte2 { border:1px solid #ccc; line-height:1; min-height:50%; max-height:100%;
           width:100%; overflow-y:scroll; overflow-x:hidden; }
.spalte3 { border:1px solid #ccc; max-height:60%; width:100%;
           overflow-y:scroll; overflow-x:hidden; }

/* ── Passwort-Toggle / Schalter ──────────────────────────── */
.checkpass label, .toggle label {
  position:relative; display:block; top:0; left:0; width:10em; height:3.5em; }
.checkpass input, .toggle input { display:none; }
.checkpass .slider {
  position:absolute; cursor:pointer; top:0; left:-2.5em;
  width:2.3em; height:1.5em; background:#ccc; border-radius:1em;
  box-shadow: rgba(0,0,0,.7) 0 5px 10px, inset rgba(0,0,0,.1) 0 -10px 20px;
  transition:all .3s; }
.checkpass .slider::before {
  position:absolute; content:""; height:1em; width:1em;
  left:.2em; bottom:.2em; background:#fff; border-radius:50%; transition:all .3s; }
.checkpass input:checked + .slider          { background:#fff; }
.checkpass input:checked + .slider::before  { background:#14529a; transform:translateX(1em); }
.toggle .slider {
  position:absolute; cursor:pointer; top:0; left:8em;
  width:4em; height:2em; background:#ccc; border-radius:1em;
  box-shadow: rgba(0,0,0,.7) 0 5px 10px, inset rgba(0,0,0,.1) 0 -10px 20px;
  transition:all .3s; }
.toggle .slider::before {
  position:absolute; content:""; height:1.8em; width:1.8em;
  left:.2em; bottom:0; background:#14529a; border-radius:50%; transition:all .3s; }
.toggle input:checked + .slider            { background:#5a9900; }
.toggle input:checked + .slider::before    { transform:translateX(1.9em); }

/* ── Pfeil ───────────────────────────────────────────────── */
.arrow      { border:5px solid #444; font-size:0; line-height:0; height:0; }
.arrow.down { border-right-color:transparent; border-bottom-color:transparent;
              border-left-color:transparent; }
.arrow.up   { border-top-color:transparent; border-right-color:transparent;
              border-left-color:transparent; }

/* ── X-Button (Merkliste entfernen) ──────────────────────── */
.x { position:relative; top:-1.1em; right:-.9em; float:right;
     width:24px; height:24px; text-align:right; padding:3px 4px;
     background:#14529a; color:#fff; border-radius:0 5px 0 100%;
     font-family:Arial; font-size:16px; cursor:pointer; }
.x:hover { background:#fff; color:#14529a; }

/* ── Cookie-Consent-Banner ───────────────────────────────── */
#keks {
  position: fixed; bottom: 1.2em; left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: min(92vw, 780px); z-index: 9000;
  background: #fff; border: 1px solid #dce8f8;
  border-radius: 12px; box-shadow: 0 6px 28px rgba(20,82,154,.14);
  padding: 1.1em 1.4em; font-size: .93em; color: #434343;
  opacity: 0; animation: keksEin .35s .15s ease forwards;
}
@keyframes keksEin {
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
#keks.keks-fade {
  opacity: 0; transform: translateX(-50%) translateY(6px);
  transition: opacity .3s ease, transform .3s ease;
}
.keks-inner {
  display: flex; align-items: center; gap: 1em; flex-wrap: wrap;
}
.keks-icon { font-size: 1.5em; flex-shrink: 0; }
.keks-text { flex: 1; min-width: 180px; line-height: 1.5; }
.keks-text strong { color: #14529a; }
.keks-link { color: #14529a; white-space: nowrap; }
.keks-btn { display: flex; gap: .5em; flex-shrink: 0; flex-wrap: wrap; }
.keks-ja {
  background: #14529a; color: #fff; border: none; border-radius: 6px;
  padding: .5em 1.2em; font-weight: 700; font-size: .9em; cursor: pointer;
  transition: background .2s;
}
.keks-ja:hover { background: #0b3c73; }
.keks-nein {
  border: 1.5px solid #b0c8e8; color: #14529a; background: #fff;
  border-radius: 6px; padding: .5em 1.2em; font-size: .9em; cursor: pointer;
  transition: background .2s, border-color .2s;
}
.keks-nein:hover { background: #f0f6ff; border-color: #14529a; }

/* label.batton ───────────────────────────────────────────── */
label.batton { display:block; position:relative; left:0; top:0; width:240px;
  padding:6px; border:1px solid #ccc; background:#ffcc22;
  border-radius:5px; cursor:pointer; }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
══════════════════════════════════════════════════════════ */
@media screen and (max-width:1152px) {
  html, body { font-size:14px; }
  .logo { width:11.5em; height:3.75em; position:relative; left:2em; top:.3em; }
  .logomitte { height:5em; }
  .menueo { height:2em; }
  div.logout { position:fixed; right:-1.2em; top:1em; }
  .btnlogin  { position:fixed; right:0; top:1em; }
  #merklistekopf { position:relative; right:11em; top:-1.5em; }
  .wkorbkopp { position:fixed; right:5em; top:1em; }
  .eingabe   { position:relative; left:16em; top:-3.6em; }
  #eingabe   { height:3em; width:12em; }
  #eingabebutton { position:relative; left:-1em; top:0; }
}
@media screen and (max-width:1050px) {
  .langtxt, .artikelbild, .produktform, .linksform { width:96%; }
  .bilder-index { height:30%; }
  #spalten  { width:90%; height:100%; max-height:100%; }
  #spalten50 { width:70%; height:100%; max-height:100%; }
  .spartenindex { width:96%; font-size:100%; }
  .spalten60, .spalten30 { width:96%; }
  #spalte_anschr, #spalten2 { width:90%; }
  .spalte3, .spalte2 { overflow:hidden; height:100%; max-height:100%; }
  .dashboardli, .dashboardre { display:none; }
  .dashboardmi, .rechtsall { width:100%; }
  .proc { width:96%; }
  .proc1 { display:none; }
  .proc2 { width:61%; }
}
@media screen and (max-width:799px) {
  label span.Lieferadresse { display:block; }
  .spartenindex { width:90%; font-size:100%; }
  .spalten60, .spalten30 { width:90%; }
  .spaltea, .spalteb, .spalten33 { width:96%; }
  /* #deskfuss / #handyfuss entfernt – fuss.php CSS Grid */
  .logoa { display:inline; }
  .logo  { display:none; }
  .ganzoben { display:none; }
  .menueo { height:3em; background:#14529a; }
  .btnlogin  { height:50px; width:40px; position:fixed; right:0; top:-1em; }
  .btnlogout { height:50px; width:40px; }
  div.logout { position:fixed; right:-2em; top:-1em; }
  #merklistekopf { height:50px; width:40px; position:relative; right:8.7em; top:-1.5em; }
  .wkorbkopp { height:50px; width:40px; position:fixed; right:4em; top:-1em; }
  #eingabebutton { display:none; }
  .eingabe { position:relative; left:8em; top:1em; }
  .tela    { position:relative; left:-5em; top:.8em; }
  #eingabe { height:2em; width:12em; }
}

/* ══════════════════════════════════════════════════════════════
   GLOBALE NEUBAUTEN – m-wt.de moderne Klassen
══════════════════════════════════════════════════════════════ */

/* ── Breadcrumb ──────────────────────────────────────────────*/
.pa-crumb        { font-size: .82em; color: #888;
                   margin: .8em 0 1em; padding: 0 .5em; }
.pa-crumb a      { color: #14529a; text-decoration: none; }
.pa-crumb a:hover{ text-decoration: underline; }

/* ── Themen-Subnav (site-weit) ───────────────────────────────
   Stil: wie kopf-btn invertiert (blaue Schrift/Rand auf weiß)
   Aktive Seite: class="aktiv" auf dem <a>                   */
.site-subnav     { display: flex; flex-wrap: wrap; gap: .4em;
                   background: none;
                   float: none;
                   width: auto;
                   position: static;
                   font-size: inherit;
                   margin: 0 0 1.4em; padding: 0 .5em; }
.site-subnav a   { display: inline-flex; align-items: center;
                   gap: .25em; padding: .35em .75em;
                   background: #f0f5fc;
                   border: 1px solid #c8d8ee;
                   border-radius: 4px; color: #14529a;
                   font-size: .88em; font-weight: 600;
                   white-space: nowrap; text-decoration: none;
                   float: none;
                   transition: background .12s, border-color .12s; }
.site-subnav a:hover { background: #dde8f8; border-color: #14529a; }
.site-subnav a.aktiv { background: #14529a; color: #fff;
                        border-color: #14529a; }

/* ── Info/FAQ-Seiten-Layout ──────────────────────────────────*/
.info-wrap       { width: 96%; max-width: 900px;
                   margin: 0 auto; padding: 0 0 2.5em; }

.info-intro      { margin-bottom: 1.4em; padding: 0 .3em; }
.info-intro h1   { font-size: 1.35em; color: #14529a; margin: 0 0 .3em; }
.info-intro p    { margin: 0; color: #555; font-size: .95em; line-height: 1.6; }

.info-linkliste  { background: #fff; border: 1px solid #dde5f0;
                   border-radius: 10px; padding: 1.2em 1.4em; }
.info-linkliste h2 { color: #14529a; font-size: 1.05em; margin: 0 0 .8em; }
.info-linkliste ul { list-style: none; margin: 0; padding: 0; }
.info-linkliste li { border-bottom: 1px solid #eef2f8; }
.info-linkliste li:last-child { border-bottom: none; }
.info-linkliste a  { display: flex; align-items: center; gap: .6em;
                     padding: .65em .4em; color: #14529a;
                     text-decoration: none; font-size: .94em;
                     transition: background .1s; }
.info-linkliste a::before { content: '→'; font-weight: 700; flex-shrink: 0; }
.info-linkliste a:hover   { background: #f5f8fd; border-radius: 6px; }
.info-linkliste a strong  { font-weight: 700; }


/* ── Kopf-Layout ─────────────────────────────────── */
.kopf {
  background: #14529a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .4em 1em;
  gap: 1em;
  flex-wrap: wrap;
}
.kopf-logo img { height: 4em; display: block; }
.kopf-logo-klein img { height: 2.2em; display:none; }

/* ── Spacer (kein Suchfeld bei m-wt.de) ─────────────────── */
.kopf-spacer {
  flex: 1;
}

/* ── Icon-Buttons rechts oben ────────────────────── */
.kopf-icons {
  display: flex;
  align-items: center;
  gap: .4em;
  flex-shrink: 0;
}
.kopf-btn {
  display: inline-flex;
  align-items: center;
  gap: .25em;
  padding: .35em .7em;
  background: rgba(255,255,255,.15);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: .88em;
  border: 1px solid rgba(255,255,255,.3);
  white-space: nowrap;
  cursor: pointer;
  transition: background .15s;
}
.kopf-btn:hover { background: rgba(255,255,255,.28); }
.kopf-btn .badge {
  background: #ffcc22;
  color: #000;
  border-radius: 10px;
  padding: 0 .45em;
  font-size: .8em;
  font-weight: bold;
  min-width: 1.4em;
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════
   HAUPTNAVIGATION
   HTML-Struktur:
     nav.hauptnav > ul.nav-ul > li.nav-li
       > a.nav-link          (Kategorie-Link)
       > button.nav-pfeil    (Dropdown-Toggle + Popup-Trigger)
       > ul.nav-drop         (Dropdown)
         > li[.hat-art]      (hat-art = Artikel vorhanden)
           > a.nav-link[data-kat]
   Popup:
     div.nav-art-popup       (fixed, per JS positioniert)
   ═══════════════════════════════════════════════════════════ */

/* ── 1. Äußere Leiste ───────────────────────────────────── */
nav.hauptnav {
  background: #fff;
  border-bottom: 2px solid #14529a;
  position: relative;
  z-index: 200;
}
nav.hauptnav a { color: #14529a; text-decoration: none; }

/* ── 2. Top-Level Liste ─────────────────────────────────── */
ul.nav-ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
}
li.nav-li {
  position: relative;
  display: flex;
  align-items: stretch;
}
/* Trennstrich zwischen Items */
li.nav-li + li.nav-li::before {
  content: '';
  display: block;
  width: 1px;
  background: #d5e3f0;
  align-self: stretch;
  margin: .3em 0;
}

/* ── 3. Links (Top-Level und Dropdown) ──────────────────── */
nav.hauptnav a.nav-link {
  display: flex;
  align-items: center;
  padding: 8px 10px;
  color: #14529a;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 260px;
  transition: background .15s;
  flex: 1;
}
nav.hauptnav a.nav-link:hover {
  background: #3a6eb5;   /* kopf-btn Normal: rgba(255,255,255,.15) auf #14529a */
  color: #fff;
}

/* ── 4. Pfeil-Button (Top-Level) ────────────────────────── */
button.nav-pfeil {
  background: none;
  border: none;
  color: #14529a;
  font-size: 1.3em;
  font-weight: bold;
  cursor: pointer;
  padding: 8px 16px;          /* doppelt so breit → Platz für Drehung */
  flex-shrink: 0;
  line-height: 1;
  transform-origin: center center;
  transition: transform .2s ease, background .15s;
}
button.nav-pfeil:hover  { background: #3a6eb5; color: #fff; }
button.nav-pfeil.offen  { transform: rotate(90deg); }

/* ── 5. Dropdown-Menü ───────────────────────────────────── */
ul.nav-drop {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  background: #fff;
  border: 1px solid #c0cfe0;
  border-top: 2px solid #14529a;
  min-width: 300px;
  z-index: 500;
  box-shadow: 2px 4px 14px rgba(20,82,154,.12);
  border-radius: 0 0 4px 4px;
  list-style: none;
  margin: 0; padding: 0;
}
ul.nav-drop li { background: #fff; float: none; width: auto; }
/* Öffnen: Hover auf li ODER nav-open (Toggle) */
/* Hover-Dropdown nur auf Geräten mit echter Maus */
@media (hover: hover) and (pointer: fine) {
  li.nav-li:hover > ul.nav-drop { display:block; top:100%; left:0; }
}
li.nav-li.nav-open > ul.nav-drop { display:block; top:100%; left:0; }

/* Scrollbar für lange Listen – kein max-height, alle Anlagen ohne Scroll */
ul.nav-drop.lang {
  max-height: none;
  overflow-y: visible;
  scrollbar-width: thin;
}

/* ── 6. Dropdown-Links ──────────────────────────────────── */
ul.nav-drop a.nav-link {
  font-size: 15px;
  font-weight: normal;
  padding: 10px 20px;
  white-space: normal;
  max-width: 300px;
  border-bottom: 1px solid #dde5f0;
  transition: background .12s;
}
ul.nav-drop a.nav-link:hover {
  background: #3a6eb5;
  color: #fff;
}

/* Visueller Indikator: Artikel vorhanden – rechts ausgerichtet */
li.hat-art > a.nav-link::after {
  content: '›';
  color: inherit;
  font-weight: bold;
  margin-left: auto;
  padding-left: .5em;
  flex-shrink: 0;
}

/* ── 7. Artikel-Popup ───────────────────────────────────── */
div.nav-art-popup {
  display: none;
  position: fixed;
  width: 280px;
  background: #fff;
  border: 1px solid #c0cfe0;
  border-top: 2px solid #14529a;
  border-radius: 0 0 4px 4px;
  box-shadow: 2px 4px 14px rgba(20,82,154,.12);
  z-index: 600;
  font-size: .85em;
}
div.nav-art-popup.zeigen { display: block; }

.nav-art-popup-titel {
  padding: .5em 1em;
  font-size: .88em;
  font-weight: 700;
  color: #14529a;
  background: #f0f5fc;
  border-bottom: 1px solid #d5e3f0;
}
div.nav-art-popup a {
  display: block;
  padding: .4em .9em;
  color: #14529a !important;
  text-decoration: none;
  border-bottom: 1px solid #eef2f8;
  font-weight: 400;
  font-size: 1em;
  white-space: normal;
  max-width: none;
  transition: background .1s;
}
div.nav-art-popup a:last-of-type { border-bottom: none; }
div.nav-art-popup a:hover { background: #3a6eb5; color: #fff !important; }
.nav-art-popup-mehr {
  display: block;
  padding: .5em 1em;
  color: #14529a;
  font-weight: 700;
  font-size: .9em;
  text-decoration: none;
  background: #f5f8fc;
  border-top: 1px solid #d5e3f0;
}
.nav-art-popup-mehr:hover { background: #3a6eb5; color: #fff; }

/* ── 8. Tel-Leiste ──────────────────────────────────────── */
.kopftel {
  background: #0B3C73;
  color: #fff;
  font-size: .82em;
  padding: .2em 1em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.kopftel a { color: #fff; text-decoration: none; }

/* ── 9. Hamburger (nur Mobile sichtbar) ─────────────────── */
.nav-hamburger-btn { display: none; }
.hbr-svg { width: 1.4em; height: 1.1em; display: block; flex-shrink: 0; }
.wk-icon  { width: 1.5em; height: 1.5em; object-fit: contain;
            filter: brightness(0) invert(1); display: block; flex-shrink: 0; }

/* ── 9. Mobile (≤700px) ─────────────────────────────────── */
@media (max-width: 700px) {

  /* ── Kopf ── */
  .kopf-logo img   { height: 2.6em; }
  .kopf-logo-klein { display: none; }
  /* .kopf-suche entfällt bei m-wt.de */
  .kopf-btn span.label { display: none; }
  .kopf-btn {
    min-height: 44px; min-width: 44px;
    font-size: 1em;
    background: rgba(255,255,255,.28);
    border-color: rgba(255,255,255,.5);
  }
  .hbr-svg { width: 1.7em; height: 1.3em; }
  .wk-icon { width: 1.9em; height: 1.9em; }

  /* ── Hamburger: ausgeblendet – horizontales Scroll statt Hamburger ── */
  .nav-hamburger-btn        { display: none !important; }
  .nav-hamburger-btn .label { display: none !important; }

  /* Nav immer sichtbar, sticky am oberen Rand */
  #nav-wrapper nav.hauptnav { display: block !important; }
  #nav-wrapper .nav-toggle  { display: none !important; }
  #nav-wrapper {
    position: sticky;
    top: 0;
    z-index: 300;
    overflow: visible;   /* damit absolute Kinder nicht geclippt werden */
  }
  nav.hauptnav {
    overflow: visible;
    position: relative;
  }

  /* ── Scroll-Fade + Pfeil-Buttons (mydealz-Prinzip) ── */
  ul.nav-ul {
    box-shadow: 12px 0 10px -4px rgba(255,255,255,.97) inset;
    transition: box-shadow .25s;
  }
  ul.nav-ul.nav-scrolled-end {
    box-shadow: none;
  }

  /* Pfeil-Buttons */
  .nav-scroll-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 1.8em;
    height: 1.8em;
    border-radius: 50%;
    border: 1px solid #c8d8ee;
    background: #fff;
    color: #14529a;
    font-size: 1.3em;
    line-height: 1;
    cursor: pointer;
    z-index: 20;
    box-shadow: 0 1px 6px rgba(20,82,154,.18);
    transition: opacity .2s, transform .2s;
    padding: 0;
  }
  .nav-scroll-btn:active { background: #f0f4fa; }
  .nav-scroll-r { right: .3em; }
  .nav-scroll-l { left: .3em; }
  .nav-scroll-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) scale(.7);
  }

  ul.nav-ul {
    flex-direction: row;        /* horizontal statt vertikal */
    flex-wrap: nowrap;          /* kein Umbruch */
    overflow-x: auto;           /* wischen */
    overflow-y: visible;
    scrollbar-width: none;      /* Firefox */
    -ms-overflow-style: none;   /* IE */
    padding-bottom: 2px;        /* Schatten nicht abschneiden */
  }
  ul.nav-ul::-webkit-scrollbar { display: none; }

  li.nav-li {
    flex-shrink: 0;             /* Items nicht stauchen */
    border-bottom: none;
    flex-wrap: nowrap;
  }
  li.nav-li + li.nav-li::before { display: block; } /* Trennstrich wieder sichtbar */

  /* Pfeil Touch-freundlich */
  button.nav-pfeil {
    padding: 8px 14px;
    min-height: 44px;
    min-width: 36px;
  }

  /* ── Dropdown Mobile: fixed, top per CSS-Variable (JS setzt --nav-bottom) ── */
  ul.nav-drop {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    top: var(--nav-bottom, 130px) !important;
    width: 100vw !important;
    min-width: 0;
    max-height: 60vh;
    overflow-y: auto;
    box-shadow: 0 4px 16px rgba(20,82,154,.18);
    border: none;
    border-top: 2px solid #14529a !important;
    border-radius: 0 0 6px 6px;
    margin: 0;
    z-index: 600;
  }
  ul.nav-drop li { background: #f5f8fc; }
  ul.nav-drop.lang { max-height: 60vh; overflow-y: auto; }

  /* Sub-Dropdowns auf Mobile: direkt darunter eingebettet */
  ul.nav-drop li.nav-li > ul.nav-drop {
    position: static !important;
    width: 100% !important;
    box-shadow: none;
    border-top: 1px solid rgba(20,82,154,.15) !important;
    padding-left: .8em;
  }

  li.nav-li.nav-open > ul.nav-drop { display: block; }

  ul.nav-drop a.nav-link {
    padding-left: 24px;          /* leicht eingerückt */
    font-size: 15px;
    max-width: none;
    white-space: normal;
    background: #f5f8fc;
  }
  ul.nav-drop a.nav-link:hover {
    background: #3a6eb5;
    color: #fff;
  }
  li.hat-art > a.nav-link::after { display: none; }

  /* Artikel-Popup auf Mobile ausblenden */
  div.nav-art-popup { display: none !important; }
}

/* ── Goldener-Schnitt Typografie-Skala ──────────────────── */
/* φ = 1.618  →  Basis: 1em → ×1.618 → ×1.618             */
.content-wrap h1 { font-size:1.618em; }
.content-wrap h2 { font-size:1.1em; }   /* 1.618 ÷ 1.5 */
.content-wrap h3 { font-size:0.95em; }
.idx-section-titel { font-size:1.1em; }

/* ══════════════════════════════════════════════════════════════
   KONTRAST-SCHATTEN – Karten auf farbigem Seiten-Hintergrund
   Gilt für alle Unterseiten + Produktseiten (global)
   Prinzip: weißer Surface + leichter Schatten statt Border
══════════════════════════════════════════════════════════════ */

/* ── Produktseiten pae / ers ─────────────────────────────── */
/* Hauptcontainer bekommt keinen Schatten (er ist nur wrap) */
/* Karten innerhalb: Preisbox, Porto-Box, Anfrage-Box, Info */
.pae-preisbox,
.pae-anfrage-box,
.pae-porto-box,
.ers-info-block,
.ers-gnr-info {
  box-shadow: var(--c-shadow-rd);
  border-color: transparent;
}

/* Bild-Rahmen: subtiler Schatten, kein harter Rand */
.pae-hauptbild-wrap {
  box-shadow: 2px 3px 10px var(--c-shadow);
  border-color: transparent;
}

/* ── Warenkobr / Kasse ───────────────────────────────────── */
.rahmenradius {
  box-shadow: var(--c-shadow-rd);
  border-color: transparent;
  background-color: var(--c-surface);
}

/* ── Artikel-Detailseite (einzelteststreifen / wasser-test) ── */
/* Die Kauf-Box: border → shadow */
.produktform {
  box-shadow: var(--c-shadow-rd);
  border-color: transparent !important;
  background: var(--c-surface) !important;
}

/* ── Info- + Legal-Seiten ────────────────────────────────── */
.info-linkliste,
.legal-card {
  box-shadow: var(--c-shadow-rd);
  border-color: transparent;
}
/* Haupttext-Bereiche: weißes Surface mit Schatten */
.legal-content,
.info-content {
  background: var(--c-surface);
  border-radius: 10px;
  padding: 1.4em 1.8em;
  box-shadow: var(--c-shadow-rd);
}

/* ── pa-* Produktseiten (enthaertungsanlage.php) ────────────*/
.pa-preisbox,
.pa-anfrage-box,
.pa-inkl,
.pa-infodiv-body,
.pa-optionen,
.pae-verbunden {
  box-shadow: 2px 3px 10px var(--c-shadow);
  border-color: transparent;
}

/* ── idx-box: Karten auf Startseite ─────────────────────── */
.idx-box {
  background: var(--c-surface);
  border-radius: 10px;
  box-shadow: var(--c-shadow-rd);
}

/* ═══════════════════════════════════════════════════════════
   m-wt.de SPEZIFISCH: Verschachtelte Dropdowns
   li.nav-li innerhalb ul.nav-drop → Untermenü rechts
   ═══════════════════════════════════════════════════════════ */

ul.nav-drop li.nav-li {
  position: relative;
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid #dde5f0;
}
ul.nav-drop li.nav-li:last-child { border-bottom: none; }

ul.nav-drop li.nav-li > a.nav-link { flex: 1; font-weight: 600; }
ul.nav-drop li.nav-li > button.nav-pfeil {
  font-size: 1em;
  padding: 8px 10px;
  color: #14529a;
  border-left: 1px solid #eef2f8;
}
ul.nav-drop li.nav-li > button.nav-pfeil:hover { background: #3a6eb5; color: #fff; }

/* Sub-Dropdown: Desktop rechts daneben – oben an der Parent-ul ausrichten.
   li.nav-li innerhalb eines nav-drop ist NOT der Positionierungsanker –
   die Parent-ul (position:absolute selbst) ist es. Daher li→static. */
ul.nav-drop li.nav-li {
  position: static;   /* überschreibt das generelle li.nav-li { position:relative } */
}
ul.nav-drop li.nav-li > ul.nav-drop {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  border-top: 2px solid #14529a;
}
@media (hover:hover) and (pointer:fine) {
  ul.nav-drop li.nav-li:hover > ul.nav-drop { display:block; top:0; left:100%; }
}
ul.nav-drop li.nav-li.nav-open > ul.nav-drop { display:block; top:0; left:100%; }

/* Sub-Dropdown: Mobile direkt darunter */
@media (max-width: 700px) {
  ul.nav-drop li.nav-li { flex-wrap: wrap; }
  ul.nav-drop li.nav-li > button.nav-pfeil { min-height:44px; min-width:44px; }
  ul.nav-drop li.nav-li > ul.nav-drop {
    position: static !important;
    width: 100%;
    left: 0 !important; top: auto !important;
    border-top: 1px solid rgba(20,82,154,.15) !important;
    padding-left: .8em;
  }
  ul.nav-drop li.nav-li.nav-open > ul.nav-drop { display: block; }
}

/* ── kopf-spacer / Slogan ────────────────────────────── */
.kopf-spacer { flex: 1; text-align: center; }
#schriftmitte { line-height: 1.4; }
@media (max-width: 700px) { .kopf-spacer { display: none; } }

/* ══════════════════════════════════════════════════════════
   Produkt-Anlage Tab-Navigation – Style wie Hauptnavigation
   Verwendet in enthaertungsanlage.php
   ══════════════════════════════════════════════════════════ */

/* Tab-Leiste: gleiche Farbe/Font wie nav-link-Zeile */
.pae-tab-leiste {
  display: flex;
  flex-wrap: wrap;
  background: #14529a;
  border-radius: 4px 4px 0 0;
  margin-bottom: 0;
}

/* Tab-Eintrag: Link + Pfeil nebeneinander wie nav-li */
.pae-tab-item {
  display: flex;
  align-items: stretch;
  border-right: 1px solid rgba(255,255,255,.15);
  position: relative;
}
.pae-tab-item:last-child { border-right: none; }

/* Tab-Label wie nav-link */
.pae-tab-label {
  display: flex;
  align-items: center;
  padding: 8px 10px;
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  white-space: nowrap;
  background: none;
  border: none;
  transition: background .15s;
  user-select: none;
}
.pae-tab-label:hover    { background: #3a6eb5; }
.pae-tab-item.offen > .pae-tab-label { background: #3a6eb5; }

/* Pfeil-Button wie nav-pfeil */
.pae-tab-pfeil {
  background: none;
  border: none;
  border-left: 1px solid rgba(255,255,255,.15);
  color: #fff;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  padding: 8px 12px;
  flex-shrink: 0;
  line-height: 1;
  transform-origin: center center;
  transition: transform .2s ease, background .15s;
}
.pae-tab-pfeil:hover           { background: #3a6eb5; }
.pae-tab-item.offen .pae-tab-pfeil { transform: rotate(90deg); }

/* Panel */
.pae-tab-panel {
  display: none;
  border: 1px solid #c0cfe0;
  border-top: none;
  background: #fff;
  padding: 1.2em 1em 1.4em;
  line-height: 1.7;
  color: #444;
  margin-bottom: 1.5em;
  border-radius: 0 0 6px 6px;
}
.pae-tab-panel.offen { display: block; }
.pae-tab-panel table { border-collapse: collapse; width: 100%; font-size: .9em; }
.pae-tab-panel td    { padding: .35em .6em; border-bottom: 1px solid #eef2f8; }
.pae-tab-panel tr:last-child td { border-bottom: none; }
.pae-tab-panel td:first-child   { font-weight: 600; color: #555; width: 45%; }

.pae-tab-leer   { color: #aaa; font-style: italic; font-size: .9em; margin: 0; }

@media (max-width: 600px) {
  .pae-tab-label { font-size: .8em; padding: 8px 6px; }
  .pae-tab-pfeil { padding: 8px 8px; }
}

/* ── Verbundene Artikel (Checkbox-Empfehlung) ─────────────────────────────── */
.pae-verbunden        { border: 1px solid #c0d8f0; border-radius: 6px;
                        padding: .8em; background: #f0f6fc; margin-top: .5em; }
.pae-verbunden-titel  { font-size: .85em; font-weight: 700; color: #14529a;
                        margin: 0 0 .5em; }
.pae-verb-item        { display: flex; align-items: center; gap: .6em;
                        padding: .35em 0; border-bottom: 1px solid #dde5f0;
                        font-size: .88em; cursor: pointer; }
.pae-verb-item:last-child { border-bottom: none; }
.pae-verb-item input[type=checkbox] { width: 1.1em; height: 1.1em;
                                       flex-shrink: 0; accent-color: #14529a; }
.pae-verb-img         { width: 40px; height: 32px; object-fit: contain;
                        border-radius: 3px; flex-shrink: 0; }
.pae-verb-name        { flex: 1; min-width: 0; color: #333; }
.pae-verb-preis       { color: #009900; font-weight: 700; white-space: nowrap;
                        flex-shrink: 0; }
/* Im Warenkorb */
.wk-verbunden         { border: 1px solid #c0d8f0; border-radius: 6px;
                        padding: .6em .8em; background: #f0f6fc;
                        margin: .4em 0 0 82px; }
.wk-verbunden-titel   { font-size: .8em; font-weight: 700; color: #14529a;
                        margin: 0 0 .3em; }
.wk-verb-item         { display: flex; align-items: center; gap: .5em;
                        padding: .25em 0; font-size: .83em; }
.wk-verb-item input[type=checkbox] { width: 1em; height: 1em; flex-shrink: 0;
                                      accent-color: #14529a; }
.wk-verb-img          { width: 32px; height: 26px; object-fit: contain;
                        border-radius: 3px; flex-shrink: 0; }
.wk-verb-name         { flex: 1; min-width: 0; color: #333; }
.wk-verb-preis        { color: #009900; font-weight: 700; white-space: nowrap; }



/* ── Infoblock (aufklappbare Zubehör-/Produkt-Details) ───────────── */
/* details/summary – kein JS nötig */
li details summary {
    cursor: pointer;
    font-weight: 700;
    list-style: none;
    padding: .25em 0;
}
li details summary::before         { content: '✔ '; }
li details summary::after          { content: ' ▼'; }
li details[open] summary::after    { content: ' ▲'; }
li details summary::-webkit-details-marker { display: none; }

.infodivinnen {
    overflow: hidden;
    border: 1px solid #c0d0e8;
    border-radius: 6px;
    background: #f8fafc;
    padding: .5em .8em 1em;
    margin: .3em 0 .6em;
    box-shadow: 0 2px 6px rgba(0,0,0,.12);
}
.infodivinnen::after { content: ''; display: block; clear: both; }

.infodivinnen .bilderkl {
    float: left;
    width: 12em;
    margin: .5em 1em .5em 0;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.infodivinnen .produktform {
    width: 100%;
    height: auto;
    clear: both;
    text-align: center;
    padding: .5em;
    border: 1px solid #14529a;
    border-radius: 5px;
    background: #f0f5fc;
    margin-top: .8em;
}

/* ── Aus produkt_anlage.css (integriert) ─────────────────────────────────── */
.pa-wrap         { max-width: 1000px; margin: 0 auto; padding: 0 .5em 2em; }

/* Anlagenplaner-Rückgabe */
.pa-planer-info  { background: #e8f0fa; border: 1px solid #14529a;
                   border-radius: 6px; padding: .5em 1em;
                   font-size: .88em; color: #14529a;
                   margin-bottom: 1em; }

/* Breadcrumb */
.pa-crumb        { font-size: .82em; color: #888; margin: .7em 0 1em; }
.pa-crumb a      { color: #14529a; text-decoration: none; }

/* Hauptgrid */
.pa-grid         { display: grid;
                   grid-template-columns: 1fr 1fr;
                   gap: 2em; margin-bottom: 1.5em; }

/* Bildbereich */
.pa-hauptbild    { width: 100%; border-radius: 8px; cursor: zoom-in;
                   border: 1px solid #dde5f0; display: block; }
.pa-thumbs       { display: flex; gap: .5em; margin-top: .5em; flex-wrap: wrap; }
.pa-thumb        { width: 68px; height: 54px; object-fit: cover;
                   border-radius: 4px; cursor: pointer;
                   border: 2px solid #dde5f0; transition: border-color .1s; }
.pa-thumb.aktiv,
.pa-thumb:hover  { border-color: #14529a; }
.pa-dvgw         { display: block; width: 3.2em; margin-top: .4em; }

/* Info-Spalte */
.pa-info         { display: flex; flex-direction: column; gap: .8em; }
.pa-name         { font-size: 1.25em; font-weight: 700;
                   color: #14529a; line-height: 1.3; margin: 0; }
.pa-modell       { font-size: .82em; font-weight: 600;
                   color: #fff; background: #14529a;
                   display: inline-block; padding: .15em .6em;
                   border-radius: 3px; }
.pa-kurztxt      { font-size: .92em; color: #555; }
.pa-artnr        { font-size: .78em; color: #aaa; }

/* Preisbox */
.pa-preisbox     { border: 1px solid #dde5f0; border-radius: 8px;
                   background: #f8fafe; padding: .9em 1em; }
.pa-uvp          { font-size: .88em; color: #999; }
.pa-uvp del      { color: #bbb; }
.pa-preis        { font-size: 1.75em; font-weight: 700;
                   color: #009900; line-height: 1.2; }
.pa-ersparnis    { display: inline-block; background: #e8f5e9;
                   color: #2e7d32; font-size: .8em; font-weight: 600;
                   padding: .15em .5em; border-radius: 4px; margin-top: .2em; }
.pa-mwst         { font-size: .78em; color: #888; margin-top: .3em; }
.pa-versand      { font-size: .8em; color: #666; margin-top: .15em; }

/* Lieferbar */
.pa-lieferbar    { font-size: .88em; font-weight: 600; }
.pa-lieferbar.ja { color: #2e7d32; }
.pa-lieferbar.nein { color: #c62828; }

/* Inbegriffene Leistungen */
.pa-inkl         { background: #f5f8fd; border: 1px solid #dde5f0;
                   border-radius: 8px; padding: .7em .9em; }
.pa-inkl h3      { font-size: .88em; color: #14529a; margin: 0 0 .4em; }
.pa-inkl ul      { list-style: none; margin: 0; padding: 0;
                   font-size: .85em; line-height: 1.8; }
.pa-inkl li::before { content: '✔ '; color: #2e7d32; }

/* Infodivs (Filter/Montage aufklappbar) */
.pa-infodiv-btn  { cursor: pointer; background: #f0f5fc;
                   border: 1px solid #dde5f0; border-radius: 5px;
                   padding: .4em .8em; font-size: .88em;
                   font-weight: 600; color: #14529a;
                   display: flex; justify-content: space-between;
                   align-items: center; user-select: none; }
.pa-infodiv-btn:hover { background: #dde5f0; }
.pa-infodiv-body { display: none; border: 1px solid #dde5f0;
                   border-top: none; border-radius: 0 0 5px 5px;
                   padding: .8em; font-size: .88em;
                   background: #fff; }
.pa-infodiv-body.offen { display: block; }
.pa-infodiv-body img { float: left; width: 8em;
                       margin: 0 1em .5em 0; border-radius: 4px; }

/* Buttons */
.pa-aktionen     { display: flex; flex-direction: column; gap: .5em; }
.btn-pa-kauf     { display: block; text-align: center; padding: .7em 1.2em;
                   background: #14529a; color: #fff; font-weight: 700;
                   font-size: 1em; border: none; border-radius: 6px;
                   cursor: pointer; text-decoration: none;
                   transition: background .15s; width: 100%; }
.btn-pa-kauf:hover { background: #0d3a6e; }
.btn-pa-anfrage  { display: block; text-align: center; padding: .6em 1.2em;
                   background: #fff; color: #14529a; font-weight: 600;
                   font-size: .92em; border: 2px solid #14529a;
                   border-radius: 6px; cursor: pointer; width: 100%;
                   text-decoration: none; transition: background .15s; }
.btn-pa-anfrage:hover { background: #e8f0fa; }
.btn-pa-planer   { display: block; text-align: center; padding: .5em;
                   background: #f0f5fc; border: 1px solid #dde5f0;
                   border-radius: 5px; font-size: .82em; color: #14529a;
                   text-decoration: none; }

/* Anfrage-Formular */
.pa-anfrage-box  { border: 1px solid #dde5f0; border-radius: 8px;
                   padding: 1em; background: #f8fafe;
                   display: none; }
.pa-anfrage-box.offen { display: block; }
.pa-anfrage-box label { display: block; font-size: .83em;
                        font-weight: 600; margin-bottom: .2em; color: #444; }
.pa-anfrage-box input,
.pa-anfrage-box textarea {
                   width: 100%; padding: .4em .6em; font-size: .88em;
                   border: 1px solid #bcd; border-radius: 4px;
                   margin-bottom: .5em; box-sizing: border-box; }
.pa-anfrage-box textarea { height: 75px; resize: vertical; }

/* Technische Daten Tabelle */
.pa-tech         { width: 100%; border-collapse: collapse;
                   font-size: .88em; margin-top: .5em; }
.pa-tech td      { padding: .35em .6em; border-bottom: 1px solid #eef2f8; }
.pa-tech td:first-child { color: #666; width: 45%; }
.pa-tech td:last-child  { font-weight: 600; color: #333; }

/* Langtext */
.pa-langtext     { font-size: .92em; line-height: 1.75; color: #333; }
.pa-langtext ul  { margin-left: 1.2em; }

/* DVGW-Badge */
.pa-dvgw-badge   { display: inline-flex; align-items: center; gap: .5em;
                   background: #e8f0fa; border: 1px solid #c0cfe0;
                   border-radius: 5px; padding: .3em .7em;
                   font-size: .8em; color: #14529a; font-weight: 600; }

/* Telefon */
.pa-tel          { font-size: .82em; color: #666;
                   border-top: 1px solid #eee; padding-top: .6em; }
.pa-tel a        { color: #14529a; font-weight: 700; }

@media (max-width: 680px) {
  .pa-grid { grid-template-columns: 1fr; }
}

/* ── Tab-Navigation ──────────────────────────────────────── */
.pa-tab-nav     { display: flex; flex-wrap: wrap;
                  background: #f0f5fc;
                  border-bottom: 2px solid #14529a;
                  margin-top: 1.5em; }

.pa-tab-btn     { flex: 1; min-width: 0;
                  padding: .65em .5em;
                  text-align: center;
                  font-size: .84em; font-weight: 600;
                  color: #14529a;
                  cursor: pointer;
                  border: none;
                  border-right: 1px solid #dde5f0;
                  background: transparent;
                  white-space: nowrap; overflow: hidden;
                  text-overflow: ellipsis;
                  transition: background .12s; }
.pa-tab-btn:last-of-type { border-right: none; }
.pa-tab-btn:hover        { background: #dde5f0; }
.pa-tab-btn.aktiv        { background: #fff; color: #0d3a6e;
                           border-bottom: 2px solid #fff;
                           margin-bottom: -2px; }

/* Panel-Container (schließbar) */
.pa-panels-wrap  { display: none;              /* startet geschlossen */
                   border: 1px solid #dde5f0; border-top: none;
                   border-radius: 0 0 8px 8px;
                   background: #e8f0fa;
                   position: relative; }
.pa-panels-wrap.offen { display: block; }    /* JS setzt .offen beim Tab-Klick */

.pa-panel-close  { position: absolute; top: .5em; right: .7em;
                   background: #14529a; border: none;
                   color: #fff;
                   font-size: 1em; font-weight: 700;
                   cursor: pointer; line-height: 1;
                   padding: .25em .55em; border-radius: 4px;
                   box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.pa-panel-close:hover { background: #0d3a6e; }

.pa-tab-panel    { display: none; padding: 1.2em 1em 1.4em;
                   background: #f0f5fc;           /* Panel: etwas dunkler als wrap */
                   border-radius: 0 0 6px 6px; }
.pa-tab-panel.aktiv { display: block; }

.pa-lieferumfang { list-style: none; padding: 0; margin: 0;
                   font-size: .9em; line-height: 2; }
.pa-lieferumfang li::before { content: '✔ '; color: #2e7d32; font-weight: 700; }
.pa-tab-leer     { color: #aaa; font-style: italic; font-size: .9em; }

@media (max-width: 600px) {
  .pa-tab-btn { font-size: .75em; padding: .55em .3em; }
}
/* ── AQUATROL-Optionen-Konfigurator ──────────────────────── */
.pa-optionen     { border: 1px solid #dde5f0; border-radius: 8px;
                   padding: .7em .9em; background: #f8fafe; }
.pa-opt-titel    { font-size: .82em; font-weight: 700;
                   color: #14529a; margin-bottom: .5em; }
.pa-opt-zeile    { display: flex; align-items: center;
                   gap: .4em; margin-bottom: .3em; }
.pa-opt-label    { display: flex; align-items: center; gap: .5em;
                   cursor: pointer; flex: 1; font-size: .88em; }
.pa-opt-label input { width: 1.1em; height: 1.1em;
                      accent-color: #14529a; cursor: pointer; }
.pa-opt-name     { flex: 1; }
.pa-opt-preis    { color: #009900; font-weight: 700;
                   white-space: nowrap; }
.pa-opt-info-btn { background: none; border: none;
                   cursor: pointer; font-size: .9em;
                   padding: .1em .3em; color: #888;
                   flex-shrink: 0; }
.pa-opt-info-btn:hover { color: #14529a; }
.pa-opt-info     { display: none; background: #fff;
                   border: 1px solid #dde5f0; border-radius: 6px;
                   padding: .7em; margin: .3em 0 .6em;
                   font-size: .85em; line-height: 1.6; }
.pa-opt-info.offen { display: block; }
.pa-opt-info img { float: left; width: 6em; margin: 0 .8em .5em 0;
                   border-radius: 4px; cursor: zoom-in; }

/* ── Lieferumfang-Bildgalerie ─────────────────────────────── */
.pa-lief-bilder  { display: flex; flex-wrap: wrap; gap: .8em;
                   margin: .8em 0; }
.pa-lief-bild    { flex: 0 0 calc(25% - .6em); min-width: 100px;
                   text-align: center; font-size: .78em; color: #555; }
.pa-lief-bild img { width: 100%; border-radius: 4px; cursor: zoom-in;
                    border: 1px solid #dde5f0; display: block;
                    margin-bottom: .3em; }
.pa-lief-info    { background: #f8fafe; border: 1px solid #dde5f0;
                   border-radius: 6px; padding: .7em .9em;
                   font-size: .87em; line-height: 1.6;
                   margin-top: .5em; overflow: hidden; }
.pa-lief-optionen h4 { font-size: .9em; }
@media (max-width: 500px) {
  .pa-lief-bild { flex: 0 0 calc(50% - .4em); }
}

#pa-aufpreis .aufpr-zeile { color: #555; }
#pa-aufpreis .aufpr-gesamt { font-weight: 700; color: #009900;
                              font-size: 1.1em; }

/* Nav kurztxt Untertitel */
.nav-sub { display:block; font-size:.78em; font-weight:400; opacity:.72; line-height:1.3; margin-top:.1em; text-align:right; }

/* Technik-Querverweis im Dropdown: blau hervorgehoben, hover heller blau */
ul.nav-drop a.nav-link.nav-technik {
  background: #14529a;
  color: #fff;
  font-weight: 700;
  border-bottom: 1px solid #1e3a5a;
  flex-direction: column;
  align-items: flex-start;
  gap: .1em;
}
ul.nav-drop a.nav-link.nav-technik .nav-sub {
  opacity: .85;
  color: #c8ddf5;
  text-align: left;
  margin-top: 0;
}
ul.nav-drop a.nav-link.nav-technik:hover {
  background: #3a6eb5;
  color: #fff;
}
ul.nav-drop a.nav-link.nav-technik:hover .nav-sub { color: #fff; opacity: 1; }

/* kurztxt unter H1 auf Produktseiten */
.pae-untertitel, .en-untertitel {
    font-size: .95em; color: #555; line-height: 1.5;
    margin: .3em 0 .1em; font-style: italic;
}

/* Bildtext unter Hauptbild */
.pae-bildtxt { font-size:.82em; color:#666; text-align:center;
               margin:.3em 0 .2em; min-height:1.2em; line-height:1.4; }

/* ── Info-Seiten (fragen-und-enthaertung + Unterseiten) ──────────────────── */
.info-wrap        { max-width:860px; margin:0 auto; padding:1.2em 1em 2em; }
.info-subnav      { display:flex; flex-wrap:wrap; gap:.4em; margin-bottom:1.6em; }
.info-subnav a    { display:inline-block; padding:.35em .85em; border-radius:20px;
                    background:#eef2fa; color:#14529a; font-size:.88em;
                    text-decoration:none; border:none;
                    box-shadow:0 1px 4px var(--c-shadow);
                    transition:background .15s,color .15s,box-shadow .15s; white-space:nowrap; }
.info-subnav a:hover,
.info-subnav a.aktiv { background:#14529a; color:#fff; border-color:#14529a; }
.info-content     { line-height:1.7; color:#333; }
.info-content h1  { font-size:1.5em; margin-bottom:.3em; color:#0b3c73; }
.info-content h2  { font-size:1.15em; margin:1.4em 0 .4em; color:#14529a; }
.info-content h3  { font-size:1em; margin:1.1em 0 .3em; color:#333; }
.info-content p   { margin:.6em 0; }
.info-content ul,
.info-content ol  { margin:.5em 0 .5em 1.4em; }
.info-content li  { margin:.3em 0; }
.info-content strong { color:#333; }
.info-intro       { margin-bottom:1.2em; }
.info-intro p     { color:#555; font-size:.97em; }
.info-linkliste   { background:#f5f8ff; border-radius:8px;
                    padding:1em 1.3em; border:1px solid #dde5f0; }
.info-linkliste h2 { font-size:1.05em; margin-bottom:.6em; color:#14529a; }
.info-linkliste ul { margin:0; padding:0; list-style:none; }
.info-linkliste li { padding:.3em 0; border-bottom:1px solid #e8edf5; }
.info-linkliste li:last-child { border-bottom:none; }
.info-linkliste a  { color:#14529a; text-decoration:none; font-size:.95em; }
.info-linkliste a:hover { text-decoration:underline; }

/* ── Legal-Seiten (das-kleingedruckte + Unterseiten) ─────────────────────── */
.legal-wrap       { max-width:860px; margin:0 auto; padding:1.2em 1em 2em; }
.legal-subnav     { display:flex; flex-wrap:wrap; gap:.4em; margin-bottom:1.6em; }
.legal-subnav a   { display:inline-block; padding:.35em .85em; border-radius:20px;
                    background:#eef2fa; color:#14529a; font-size:.88em;
                    text-decoration:none; border:1px solid #d0daf0;
                    transition:background .15s,color .15s; white-space:nowrap; }
.legal-subnav a:hover,
.legal-subnav a.aktiv { background:#14529a; color:#fff; border-color:#14529a; }
.legal-content    { line-height:1.75; color:#333; }
.legal-content h1 { font-size:1.5em; margin-bottom:.8em; color:#0b3c73; }
.legal-content h2 { font-size:1.1em; margin:1.5em 0 .4em; color:#14529a;
                    padding-bottom:.2em; border-bottom:1px solid #e8edf5; }
.legal-content h3 { font-size:.97em; margin:1em 0 .3em; color:#333; font-weight:700; }
.legal-content p  { margin:.6em 0; }
.legal-content ul,
.legal-content ol { margin:.5em 0 .5em 1.4em; }
.legal-content li { margin:.3em 0; }
.legal-card       { background:#f5f8ff; border:1px solid #dde5f0; border-radius:8px;
                    padding:1em 1.3em; margin:1.2em 0; }
.legal-card p     { margin:.3em 0; }

/* Kontaktformular */
.kf-wrap          { max-width:600px; }
.kf-wrap label    { display:block; font-size:.9em; color:#555; margin-bottom:.25em; }
.kf-wrap input,
.kf-wrap textarea,
.kf-wrap select   { width:100%; padding:.5em .7em; border:1px solid #c8d4e8;
                    border-radius:5px; font-size:.97em; margin-bottom:.9em;
                    font-family:inherit; background:#fff; }
.kf-wrap input:focus,
.kf-wrap textarea:focus { outline:none; border-color:#14529a;
                           box-shadow:0 0 0 2px rgba(20,82,154,.12); }
.kf-wrap textarea { resize:vertical; min-height:8em; }
.kf-wrap .kf-submit { background:#14529a; color:#fff; border:none;
                       padding:.55em 2em; border-radius:5px; font-size:1em;
                       cursor:pointer; transition:background .15s;
                       width:auto; margin-bottom:.5em; display:inline-block; }
.kf-wrap .kf-submit:hover { background:#0b3c73; }
.kf-fehler { display:block; color:#c0392b; font-size:.83em; margin-top:-.6em; margin-bottom:.5em; }

/* FAQ accordion – details/summary */
.info-content details { border-bottom:1px solid #dde5f0; }
.info-content details:first-of-type { border-top:1px solid #dde5f0; }
.info-content details summary { list-style:none; cursor:pointer; padding:.75em .3em .75em 1.6em;
                                  font-weight:600; color:#14529a; position:relative;
                                  user-select:none; }
.info-content details summary::-webkit-details-marker { display:none; }
.info-content details summary::before { content:'▶'; position:absolute; left:0; top:50%;
                                         transform:translateY(-50%); font-size:.75em;
                                         transition:transform .2s; }
.info-content details[open] summary::before { transform:translateY(-50%) rotate(90deg); }
.info-content details summary:hover { color:#0b3c73; }
.info-content details > p,
.info-content details > ol,
.info-content details > ul { margin:.1em 0 .9em 1.6em; color:#333; line-height:1.6; }

@media(max-width:600px) {
  .info-subnav a, .legal-subnav a { font-size:.82em; padding:.3em .65em; }
}

/* ── Suggest-Dropdown (Live-Suche) ───────────────────────── */
.suchausgabe {
  position: fixed;   /* aus jedem Stacking-Kontext raus */
  background: #fff;
  border: 1px solid #c0cfe0;
  border-top: none;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
  z-index: 99999;
  max-height: 320px;
  overflow-y: auto;
  display: none;
}
.suchausgabe:not(:empty) { display: block; }
.suggest-item {
  display: flex;
  flex-direction: column;
  padding: .45em .8em;
  text-decoration: none;
  color: #14529a;
  border-bottom: 1px solid #eef2f8;
  font-size: .88em;
  transition: background .1s;
}
.suggest-item:last-child { border-bottom: none; }
.suggest-item:hover { background: #e8f0fa; }
.suggest-keyword { font-weight: 600; }
.suggest-name    { color: #666; font-size: .9em; }

/* ══════════════════════════════════════════════════════════════
   PILL-NAV – Aktivierung per Klasse "nav-pills" auf nav.hauptnav
   Backup: Klasse entfernen → sofort zurück zum klassischen Stil
   ══════════════════════════════════════════════════════════════ */

/* Äußere Leiste: etwas Padding für die Pills */
nav.hauptnav.nav-pills {
  padding: .35em .4em;
  border-bottom: 2px solid #14529a;
}

/* Top-Level Liste: keine flex-wrap, leichter Gap */
nav.hauptnav.nav-pills ul.nav-ul {
  flex-wrap: nowrap;
  gap: .3em;
  align-items: center;
  overflow-x: auto;          /* Mobile: horizontal scrollen */
  scrollbar-width: none;     /* Firefox: Scrollbar verstecken */
  -ms-overflow-style: none;  /* IE */
  padding: .1em .2em;
}
nav.hauptnav.nav-pills ul.nav-ul::-webkit-scrollbar { display: none; }

/* Kein Trennstrich zwischen Pills */
nav.hauptnav.nav-pills li.nav-li + li.nav-li::before { display: none; }

/* li: kein stretch mehr, Pills sind selbst ihre Boxen */
nav.hauptnav.nav-pills li.nav-li {
  align-items: center;
  flex-shrink: 0;
}

/* Top-Level Link: Pill-Form */
nav.hauptnav.nav-pills > ul > li.nav-li > a.nav-link {
  padding: .38em .85em;
  border-radius: 20px;
  border: 1.5px solid #b8d0ee;
  background: #f0f5fc;
  color: #14529a;
  font-size: .9em;
  font-weight: 700;
  white-space: nowrap;
  max-width: none;
  flex: none;
  transition: background .15s, color .15s, border-color .15s;
}
nav.hauptnav.nav-pills > ul > li.nav-li > a.nav-link:hover,
nav.hauptnav.nav-pills > ul > li.nav-li.nav-open > a.nav-link {
  background: #14529a;
  color: #fff;
  border-color: #14529a;
}

/* Pfeil-Button bei Pills: kompakter, rund */
nav.hauptnav.nav-pills > ul > li.nav-li > button.nav-pfeil {
  padding: .38em .5em;
  border-radius: 0 20px 20px 0;
  border: 1.5px solid #b8d0ee;
  border-left: none;
  background: #f0f5fc;
  color: #14529a;
  font-size: 1em;
  margin-left: -6px;         /* eng an den Link-Pill andocken */
  transition: background .15s, color .15s;
}
nav.hauptnav.nav-pills > ul > li.nav-li > button.nav-pfeil:hover,
nav.hauptnav.nav-pills > ul > li.nav-li.nav-open > button.nav-pfeil {
  background: #14529a;
  color: #fff;
  border-color: #14529a;
}
nav.hauptnav.nav-pills > ul > li.nav-li > button.nav-pfeil.offen {
  transform: rotate(90deg);
}

/* Aktive Seite: ausgefüllte Pill */
nav.hauptnav.nav-pills > ul > li.nav-li > a.nav-link.nav-aktiv {
  background: #14529a;
  color: #fff;
  border-color: #14529a;
}

/* Solo-Pill (kein Pfeil-Button, z.B. Wassertest-Link) */
nav.hauptnav.nav-pills > ul > li.nav-li > a.nav-link.nav-pill-solo {
  border-radius: 20px;   /* volle Rundung, kein halber Pill */
  background: #e8f0fa;
  border-color: #14529a;
  color: #14529a;
}
nav.hauptnav.nav-pills > ul > li.nav-li > a.nav-link.nav-pill-solo:hover {
  background: #14529a;
  color: #fff;
}

/* Dropdown-Position bleibt unverändert – liegt unter der Pill-Leiste */
nav.hauptnav.nav-pills ul.nav-drop {
  top: calc(100% + .35em);  /* leichter Abstand zur Pill */
  border-radius: 4px;
}

/* Mobile: Pill-Leiste kompakter */
@media (max-width: 700px) {
  nav.hauptnav.nav-pills {
    padding: .25em .3em;
  }
  nav.hauptnav.nav-pills ul.nav-ul {
    flex-wrap: nowrap;
    overflow-x: auto;
  }
  nav.hauptnav.nav-pills > ul > li.nav-li > a.nav-link {
    font-size: .82em;
    padding: .32em .7em;
  }
}
