/* ============================================================
   quattramed Fassung B - Design-System
   Statisch, keine externen Requests. Schrift: Manrope (lokal).
   ============================================================ */

/* ---------- Schrift: Manrope (variable, lokale Subsets) ---------- */

/* cyrillic */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("schriften/manrope-1.woff2") format("woff2");
  unicode-range: U+0400-045F, U+0490-0491, U+2116;
}
/* greek */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("schriften/manrope-2.woff2") format("woff2");
  unicode-range: U+0374-0375, U+037E, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03CE;
}
/* vietnamese */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("schriften/manrope-4.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("schriften/manrope-5.woff2") format("woff2");
  unicode-range: U+0100-0113, U+0116-012B, U+012E-0130, U+0134-0137, U+0139-013E, U+0141-0148, U+014A-014D, U+0150-0151, U+0154-017E, U+0192, U+0218-021B, U+0259, U+02C7, U+02DD, U+1E80-1E85, U+1E9E, U+1EF2-1EF9, U+2020, U+20A3, U+20A9-20AA, U+20AE, U+20B1, U+20B4, U+20B9-20BA, U+20BD, U+20BF;
}
/* cyrillic-ext (kleine Ergaenzung) */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("schriften/manrope-6.woff2") format("woff2");
  unicode-range: U+04AE-04AF, U+04BA-04BB, U+04E8-04E9;
}
/* latin (Hauptsubset, zuletzt = hoechste Prioritaet) */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("schriften/manrope-3.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2039-203A, U+2044, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}

/* ---------- Variablen ---------- */

:root {
  /* Farben */
  --grund: #F8F9F7;
  --tinte: #252A28;
  --sekundaer: #555B58;

  /* Akzent: quattramed-Orange (Briefing 11.08.) */
  --akzent: #F29200;
  --akzent-dunkel: #C97A00;
  --akzent-hell: #FDF2E0;
  --akzent-linie: #F1D6A8;

  /* Aliase der Fassung-B-Namen, damit bestehende Stellen nicht brechen */
  --gruen: var(--akzent);
  --gruen-dunkel: var(--akzent-dunkel);
  --hellgruen: var(--akzent-hell);
  --orange: var(--akzent);

  --footer: #252A28;
  --linie: rgba(37, 42, 40, 0.12);
  --linie-hell: rgba(255, 255, 255, 0.16);

  /* Flaechen und Schatten */
  --radius-flaeche: 4px;
  --radius-knopf: 4px;
  --radius-bild: 6px;
  --radius-karte: 6px;
  --schatten: 0 20px 60px rgba(25, 40, 35, 0.10);

  /* Layout */
  --inhalt-max: 1320px;
  --rand: 60px;
  --kopf-hoehe: 88px;
  --block: 124px;

  /* Typografie */
  --fs-h1: clamp(38px, 4.6vw, 62px);
  --fs-h2: clamp(30px, 3.3vw, 44px);
  --fs-h3: clamp(22px, 2vw, 28px);
  --fs-text: 17.5px;
}

@media (max-width: 1100px) { :root { --rand: 36px; --block: 96px; --kopf-hoehe: 76px; } }
@media (max-width: 640px)  { :root { --rand: 20px; --block: 72px; --kopf-hoehe: 68px; } }

/* ---------- Basis ---------- */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Manrope", "Helvetica Neue", Arial, sans-serif;
  font-size: var(--fs-text);
  line-height: 1.6;
  color: var(--tinte);
  background: var(--grund);
  overflow-x: hidden; /* bewusst am body, nicht am html (sticky) */
  -webkit-font-smoothing: antialiased;
}

body.kopf-abstand { padding-top: var(--kopf-hoehe); }

img, svg, video { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul[class], ol[class] { list-style: none; }

a { color: inherit; text-decoration: none; }
p a, li a:not([class]) { color: var(--akzent-dunkel); text-decoration: underline; text-underline-offset: 3px; }

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

h1, .wie-h1 { font-size: var(--fs-h1); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; }
h2, .wie-h2 { font-size: var(--fs-h2); font-weight: 550; line-height: 1.15; letter-spacing: -0.015em; }
h3, .wie-h3 { font-size: var(--fs-h3); font-weight: 620; line-height: 1.25; }

p { max-width: 700px; }
p + p { margin-top: 1em; }

.sekundaer { color: var(--sekundaer); }
.schmal { max-width: 700px; }
.mittig { text-align: center; margin-inline: auto; }

/* kleines Label ueber Ueberschriften */
.etikett {
  display: inline-block;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gruen);
  margin-bottom: 18px;
}

.container {
  max-width: calc(var(--inhalt-max) + 2 * var(--rand));
  margin-inline: auto;
  padding-inline: var(--rand);
}

/* Artikelnummern: gleichbreite Ziffern */
.artnr {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: var(--sekundaer);
  font-size: 0.88em;
  font-weight: 600;
}

/* ---------- Buttons und Links ---------- */

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 28px;
  background: var(--gruen);
  color: #fff;
  font-size: 16px;
  font-weight: 650;
  border-radius: var(--radius-knopf);
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.knopf:hover { background: var(--gruen-dunkel); }

.knopf.zweit {
  background: transparent;
  color: var(--tinte);
  border-color: rgba(37, 42, 40, 0.35);
}
.knopf.zweit:hover { background: rgba(37, 42, 40, 0.05); border-color: rgba(37, 42, 40, 0.6); }

/* auf dunklen Flaechen */
.knopf.hell { background: #fff; color: var(--tinte); }
.knopf.hell:hover { background: var(--hellgruen); }
.knopf.zweit.hell { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.knopf.zweit.hell:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

.knopf.klein { height: 44px; padding: 0 18px; font-size: 15px; }

/* Textlink mit Pfeil (Chevron aus Rahmenlinien, kein Sonderzeichen) */
.pfeillink {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 650;
  font-size: 16px;
  color: var(--gruen);
}
.pfeillink::after {
  content: "";
  /* Feste Groesse UND eigene Darstellung: Wird .pfeillink an einer Stelle
     auf inline-block gesetzt, verlaeren Breite und Hoehe sonst ihre Wirkung,
     und vom Pfeil bleiben zwei Raender auf null Breite - ein senkrechter
     Strich. Genau das stand am 15.08.2026 auf der Kontaktseite. */
  display: inline-block;
  flex: none;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}
.pfeillink:hover::after { transform: rotate(45deg) translate(2px, -2px); }
.pfeillink.hell { color: #fff; }

/* ---------- Kopfzeile ---------- */

.kopf {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--kopf-hoehe);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.kopf-innen {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.kopf-logo { display: flex; align-items: center; flex-shrink: 0; }
.kopf-logo img { height: 56px; width: auto; }

.kopf-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-inline: auto;
}
.kopf-nav > a,
.kopf-nav .nav-punkt > a {
  /* Blockformat erzwingen: die direkten Flex-Kinder werden ohnehin blockifiziert,
     der Link innerhalb von .nav-punkt nicht. Ohne das sitzt "Produkte" tiefer. */
  display: block;
  font-size: 15.5px;
  font-weight: 600;
  padding: 8px 2px;
  border-bottom: 3px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.kopf-nav > a:hover,
.kopf-nav .nav-punkt > a:hover { color: var(--akzent-dunkel); }
.kopf-nav > a.aktiv,
.kopf-nav .nav-punkt > a.aktiv { color: var(--akzent-dunkel); border-bottom-color: var(--akzent); }

.kopf-aktionen { display: flex; align-items: center; gap: 14px; flex-shrink: 0; margin-left: auto; }

.kopf-suche {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-knopf);
  transition: background 0.2s ease;
}
.kopf-suche:hover { background: rgba(37, 42, 40, 0.06); }
.kopf-suche svg { width: 22px; height: 22px; }

.kopf-cta { height: 44px; padding: 0 16px; font-size: 14.5px; }

/* zweiter Kopf-Knopf: Termin vereinbaren (sekundaer) */
.kopf-termin { height: 44px; padding: 0 16px; font-size: 14.5px; }

/* Sprachumschalter DE|EN, kompakt, aktiv orange */
.sprachwahl {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--linie);
  border-radius: var(--radius-knopf);
  overflow: hidden;
  flex-shrink: 0;
}
.sprachwahl a,
.sprachwahl span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 34px;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.04em;
  color: var(--sekundaer);
  transition: background 0.2s ease, color 0.2s ease;
}
.sprachwahl a:hover { background: var(--akzent-hell); color: var(--tinte); }
.sprachwahl a.aktiv,
.sprachwahl span.aktiv { background: var(--akzent); color: #fff; }

.kopf-liste {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-knopf);
  transition: background 0.2s ease;
}
.kopf-liste:hover { background: rgba(37, 42, 40, 0.06); }
.kopf-liste svg { width: 23px; height: 23px; }
.anfrage-zaehler {
  position: absolute;
  top: 1px;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gruen);
  color: #fff;
  font-size: 11.5px;
  font-weight: 750;
  border-radius: 3px;
}
.anfrage-zaehler.leer { display: none; }

/* fester (weisser) Zustand: weisser Grund mit 3px Akzentlinie unten */
.kopf-fest {
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 3px solid var(--akzent);
  box-shadow: 0 6px 24px rgba(25, 40, 35, 0.06);
}

/* transparenter Zustand ueber dem Hero (weisse Schrift) */
.kopf-transparent:not(.kopf-fest) { background: transparent; color: #fff; }
.kopf-transparent:not(.kopf-fest) .kopf-nav > a.aktiv,
.kopf-transparent:not(.kopf-fest) .nav-punkt > a.aktiv { color: #fff; border-bottom-color: var(--akzent); }
.kopf-transparent:not(.kopf-fest) .kopf-nav > a:hover,
.kopf-transparent:not(.kopf-fest) .nav-punkt > a:hover { color: rgba(255, 255, 255, 0.75); }
.kopf-transparent:not(.kopf-fest) .kopf-suche:hover,
.kopf-transparent:not(.kopf-fest) .kopf-liste:hover { background: rgba(255, 255, 255, 0.12); }
.kopf-transparent:not(.kopf-fest) .kopf-cta { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.kopf-transparent:not(.kopf-fest) .kopf-cta:hover { background: rgba(255, 255, 255, 0.24); }
.kopf-transparent:not(.kopf-fest) .kopf-termin { color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.kopf-transparent:not(.kopf-fest) .kopf-termin:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.kopf-transparent:not(.kopf-fest) .sprachwahl { border-color: rgba(255, 255, 255, 0.5); }
.kopf-transparent:not(.kopf-fest) .sprachwahl a,
.kopf-transparent:not(.kopf-fest) .sprachwahl span { color: rgba(255, 255, 255, 0.85); }
.kopf-transparent:not(.kopf-fest) .sprachwahl a:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.kopf-transparent:not(.kopf-fest) .sprachwahl a.aktiv,
.kopf-transparent:not(.kopf-fest) .sprachwahl span.aktiv { background: var(--akzent); color: #fff; }

/* ---------- Mega-Menue (Produkte) ---------- */

.nav-punkt { position: relative; display: flex; align-items: center; }

.mega {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--kopf-hoehe);
  background: #fff;
  border-top: 1px solid var(--linie);
  box-shadow: var(--schatten);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 99;
}
.nav-punkt:hover .mega,
.nav-punkt:focus-within .mega { opacity: 1; visibility: visible; transform: none; }

.mega-innen { padding-block: 36px 30px; }

.mega-welten {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.mega-welt {
  display: block;
  border: 1px solid var(--linie);
  border-radius: var(--radius-karte);
  overflow: hidden;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.mega-welt:hover { border-color: var(--gruen); box-shadow: 0 10px 30px rgba(25, 40, 35, 0.08); }
.mega-welt-bild { height: 110px; overflow: hidden; background: var(--hellgruen); }
.mega-welt-bild img { width: 100%; height: 100%; object-fit: cover; }
.mega-welt-text { padding: 14px 16px 16px; }
.mega-welt-text strong { display: block; font-size: 15.5px; font-weight: 650; line-height: 1.3; }
.mega-welt-text span { display: block; margin-top: 3px; font-size: 13.5px; color: var(--sekundaer); }

.mega-fuss {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--linie);
  display: flex;
  justify-content: flex-end;
}

/* ---------- Hamburger + mobiles Menue ---------- */

.kopf-burger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-knopf);
}
.kopf-burger svg { width: 26px; height: 26px; }

.mobilmenue {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--grund);
  padding: 24px var(--rand) 48px;
  overflow-y: auto;
  display: none;
}
.mobilmenue.offen { display: block; }

.mobilmenue-kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.mobilmenue-kopf img { height: 42px; }
.mobilmenue-zu { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.mobilmenue-zu svg { width: 26px; height: 26px; }

.mobilmenue nav > a,
.mobilmenue .mobil-gruppe > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 0;
  font-size: 21px;
  font-weight: 650;
  border-bottom: 1px solid var(--linie);
  text-align: left;
}
.mobil-gruppe > button::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--sekundaer);
  border-bottom: 2px solid var(--sekundaer);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}
.mobil-gruppe.offen > button::after { transform: rotate(225deg); }
.mobil-unter { display: none; padding: 6px 0 14px; border-bottom: 1px solid var(--linie); }
.mobil-gruppe.offen .mobil-unter { display: block; }
.mobil-unter a {
  display: flex;
  justify-content: space-between;
  padding: 11px 0 11px 14px;
  font-size: 16.5px;
  color: var(--sekundaer);
}
.mobil-unter a span { font-size: 14px; }
.mobilmenue .mobil-aktionen { margin-top: 32px; display: grid; gap: 14px; }
.mobilmenue .mobil-aktionen .knopf { width: 100%; }
.mobilmenue .mobil-sprache {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
  font-size: 15px;
  color: var(--sekundaer);
}

/* ---------- Such-Overlay ---------- */

.suche-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(248, 249, 247, 0.97);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: none;
  overflow-y: auto;
}
.suche-overlay.offen { display: block; }

.suche-innen { max-width: 860px; margin-inline: auto; padding: 12vh var(--rand) 60px; position: relative; }

/* klar abgehobenes Panel fuer Eingabe und Ergebnisse */
.suche-panel {
  background: #fff;
  border: 1px solid var(--linie);
  border-top: 3px solid var(--akzent);
  border-radius: var(--radius-karte);
  box-shadow: var(--schatten);
  padding: 26px 28px 28px;
}

.suche-zu {
  position: fixed;
  top: 26px;
  right: var(--rand);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* muss ueber .suche-innen liegen, sonst schluckt der Container echte Taps */
  z-index: 10;
}
.suche-zu svg { width: 28px; height: 28px; }

.suche-feld {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 2px solid var(--tinte);
  padding-bottom: 14px;
}
.suche-feld svg { width: 26px; height: 26px; flex-shrink: 0; color: var(--sekundaer); }
.suche-feld input {
  width: 100%;
  border: 0;
  background: transparent;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 550;
  outline: none;
}
.suche-feld input::placeholder { color: rgba(85, 91, 88, 0.55); }

.suche-hinweis { margin-top: 14px; font-size: 14px; color: var(--sekundaer); }

.suche-vorschlaege { margin-top: 28px; }
.suche-treffer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 15px 14px;
  border-radius: var(--radius-flaeche);
  text-align: left;
  transition: background 0.15s ease;
}
.suche-treffer:hover { background: var(--akzent-hell); }
.suche-treffer .treffer-name { font-weight: 600; font-size: 16.5px; }
.suche-treffer .treffer-kat { display: block; font-size: 13.5px; color: var(--sekundaer); margin-top: 1px; }
.suche-treffer .artnr { flex-shrink: 0; }
.suche-alle { margin-top: 18px; padding: 6px 14px; }

/* Treffer-Hervorhebung in Akzentfarbe */
.suche-vorschlaege mark {
  background: var(--akzent-hell);
  color: var(--akzent-dunkel);
  font-weight: 700;
  border-radius: 2px;
  padding: 0 1px;
}

/* Ergebnisgruppen (Artikel, Seiten, Wissenshub, ...) */
.suche-gruppe { margin-top: 24px; }
.suche-gruppe-titel {
  font-size: 12.5px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sekundaer);
  padding: 0 14px 8px;
  border-bottom: 1px solid var(--linie);
  margin-bottom: 4px;
}
.suche-eintrag {
  display: block;
  padding: 11px 14px;
  border-radius: var(--radius-flaeche);
  transition: background 0.15s ease;
}
.suche-eintrag:hover { background: var(--akzent-hell); }
.suche-eintrag .eintrag-titel { display: block; font-weight: 600; font-size: 16px; }
.suche-eintrag .eintrag-text { display: block; font-size: 13.5px; color: var(--sekundaer); margin-top: 1px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}
.hero::before {
  /* leichte Abdunklung fuer Lesbarkeit der transparenten Kopfzeile */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(25, 35, 31, 0.38), rgba(25, 35, 31, 0.06) 42%);
}
.hero .container { position: relative; width: 100%; padding-block: 140px 90px; }

.hero-glaswrap { position: relative; max-width: 560px; }
.hero-hinterleger {
  position: absolute;
  top: 22px;
  left: -22px;
  width: 100%;
  height: 100%;
  background: var(--tinte);
  border-radius: var(--radius-flaeche);
}
.hero-glas {
  position: relative;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-flaeche);
  padding: 52px 48px;
}
.hero-glas h1 { font-size: clamp(34px, 3.4vw, 48px); }
.hero-glas p { margin-top: 18px; color: var(--sekundaer); }
.hero-aktionen { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* Unterseiten-Kopf ohne Bild */
.seitenkopf { padding: 84px 0 0; }
.seitenkopf p { margin-top: 18px; color: var(--sekundaer); }

/* ---------- Abschnitts-Bausteine ---------- */

.block { padding-block: var(--block); }
.block-eng { padding-block: calc(var(--block) * 0.55); }
.block-hell { background: var(--hellgruen); }
.block-weiss { background: #fff; }

.split-60-40,
.split-40-60 {
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: clamp(48px, 6vw, 88px);
  align-items: center;
}
.split-40-60 { grid-template-columns: 40fr 60fr; }

.split-60-40 img,
.split-40-60 img { border-radius: var(--radius-bild); width: 100%; }

/* offene Kennzahlen mit feinen vertikalen Linien, keine Cards */
.kennzahlen {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 40px 48px;
}
.kennzahl { border-left: 1px solid var(--linie); padding-left: 28px; }
.kennzahl-wert {
  font-size: clamp(44px, 4vw, 60px);
  font-weight: 750;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.kennzahl-wert em { font-style: normal; color: var(--gruen); }
.kennzahl-label { margin-top: 10px; font-size: 15.5px; color: var(--sekundaer); max-width: 240px; }

/* nummerierte Staerken 01/02/03, offen mit Trennlinien */
.nummernliste { border-top: 1px solid var(--linie); }
.nummernpunkt {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--linie);
}
.nummernpunkt .nummer {
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.12em;
  color: var(--gruen);
  padding-top: 6px;
}
.nummernpunkt h3 { font-size: 21px; font-weight: 650; }
.nummernpunkt p { margin-top: 6px; color: var(--sekundaer); font-size: 16.5px; max-width: 620px; }

/* Kundenlogos, entsaettigt und ruhig */
.logoband {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 44px 64px;
}
.logoband img {
  height: 44px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.55;
  transition: opacity 0.25s ease, filter 0.25s ease;
}
.logoband img:hover { filter: grayscale(0); opacity: 0.95; }

/* dunkles CTA-Band (Anthrazit, kein Farbflaechen-Gruen mehr) */
.cta-band { background: var(--footer); color: #fff; padding-block: 84px; }
.cta-band.gruen { background: var(--tinte); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.78); margin-top: 16px; }
.cta-band .cta-aktionen { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ---------- Produkt-Bausteine ---------- */

/* Kartenraster (Seiten setzen eigene Grids, hier ein Standard) */
.produktraster {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.produktkarte {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--linie);
  border-radius: var(--radius-karte);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.produktkarte:hover { border-color: var(--akzent); box-shadow: 0 12px 34px rgba(25, 40, 35, 0.08); }

.produktkarte-bild {
  aspect-ratio: 4 / 3;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-bottom: 1px solid var(--linie);
}
.produktkarte-bild img { max-height: 100%; object-fit: contain; }

.produktkarte-text { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.produktkarte-name { font-size: 16px; font-weight: 650; line-height: 1.35; }
.produktkarte-nr { margin-top: 1px; }
.produktkarte-eigenschaft { font-size: 14px; color: var(--sekundaer); }
.produktkarte-aktionen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
}
.produktkarte-aktionen .pfeillink { font-size: 14.5px; }
.produktkarte-aktionen .knopf { height: 40px; padding: 0 14px; font-size: 14px; }

/* Filter-Sidebar */
.filter-layout { display: flex; gap: 48px; align-items: flex-start; }
.filterleiste { width: 270px; flex-shrink: 0; }
.filter-gruppe { padding: 20px 0; border-bottom: 1px solid var(--linie); }
.filter-gruppe h4 {
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sekundaer);
  margin-bottom: 12px;
}
.filter-option { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 15.5px; cursor: pointer; }
.filter-option input { accent-color: var(--gruen); width: 17px; height: 17px; }
.filter-option .anzahl { margin-left: auto; font-size: 13px; color: var(--sekundaer); }
.filter-inhalt { flex: 1; min-width: 0; }
.filter-aufmacher { display: none; }
.filterleiste-kopf { display: none; }

/* technische Daten als ruhige Zeilen, keine Tabellen-Optik */
.datenzeilen { border-top: 1px solid var(--linie); }
.datenzeile {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  padding: 17px 0;
  border-bottom: 1px solid var(--linie);
}
.datenzeile dt, .datenzeile .datenzeile-label { color: var(--sekundaer); font-size: 15.5px; }
.datenzeile dd, .datenzeile .datenzeile-wert { font-weight: 600; text-align: right; font-size: 15.5px; }

/* Dokument-Downloads */
.dokumentzeile {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 15px 14px;
  border-bottom: 1px solid var(--linie);
  border-radius: var(--radius-flaeche);
  transition: background 0.15s ease;
}
.dokumentzeile:hover { background: var(--hellgruen); }
.dokumentzeile svg { width: 26px; height: 26px; color: var(--gruen); flex-shrink: 0; }
.dokumentzeile .dokument-name { font-weight: 600; font-size: 16px; }
.dokumentzeile .dokument-typ { display: block; font-size: 13.5px; color: var(--sekundaer); margin-top: 1px; }
.dokumentzeile .dokument-pfeil { margin-left: auto; color: var(--sekundaer); }
.dokumentzeile .dokument-pfeil svg { color: currentColor; width: 20px; height: 20px; }

/* Mengen-Steuerung */
.menge { display: inline-flex; align-items: stretch; border: 1px solid rgba(37, 42, 40, 0.3); border-radius: var(--radius-knopf); overflow: hidden; }
.menge-knopf { width: 40px; font-size: 19px; font-weight: 650; color: var(--sekundaer); transition: background 0.15s ease; }
.menge-knopf:hover { background: var(--hellgruen); color: var(--tinte); }
.menge-eingabe {
  width: 56px;
  height: 42px;
  border: 0;
  border-inline: 1px solid rgba(37, 42, 40, 0.18);
  text-align: center;
  background: #fff;
  font-weight: 650;
  -moz-appearance: textfield;
  appearance: textfield;
}
.menge-eingabe::-webkit-outer-spin-button,
.menge-eingabe::-webkit-inner-spin-button { -webkit-appearance: none; }

/* ---------- Produktwelten-Slider ---------- */

.welten-slider { position: relative; }

.welten-spur {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.welten-spur::-webkit-scrollbar { display: none; }

.welten-slide {
  position: relative;
  flex: 0 0 70%;
  min-height: 500px;
  scroll-snap-align: start;
  border-radius: var(--radius-bild);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-color: var(--hellgruen);
  display: flex;
  align-items: flex-end;
}
.welten-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(25, 35, 31, 0.82), rgba(25, 35, 31, 0.12) 55%);
}
.welten-slide-text { position: relative; color: #fff; padding: 40px 44px; max-width: 560px; }
.welten-slide-text .welten-anzahl {
  display: inline-block;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 12px;
}
.welten-slide-text h3 { color: #fff; font-size: clamp(24px, 2.4vw, 32px); }
.welten-slide-text p { margin-top: 10px; color: rgba(255, 255, 255, 0.82); font-size: 16px; }
.welten-slide-text .pfeillink { margin-top: 18px; }

.welten-pfeile { display: flex; gap: 10px; position: absolute; top: -78px; right: 0; }
.welten-pfeil {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(37, 42, 40, 0.3);
  border-radius: var(--radius-knopf);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}
.welten-pfeil:hover { background: var(--hellgruen); border-color: var(--gruen); }
.welten-pfeil[disabled] { opacity: 0.35; pointer-events: none; }
.welten-pfeil svg { width: 20px; height: 20px; }

.welten-fortschritt {
  margin-top: 22px;
  height: 2px;
  background: var(--linie);
  border-radius: 1px;
  overflow: hidden;
}
.welten-fortschritt span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gruen);
  transition: width 0.25s ease;
}

/* ---------- Prozesskette (FINDEN / BUENDELN / LOESEN / VERSORGEN) ---------- */

.prozesskette { display: flex; flex-direction: column; max-width: 460px; }
.prozess-schritt {
  width: 100%;
  background: #fff;
  border: 1px solid var(--linie);
  border-left: 3px solid var(--akzent);
  border-radius: var(--radius-flaeche);
  padding: 18px 22px;
}
.prozess-schritt strong {
  display: block;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.prozess-schritt span { display: block; margin-top: 4px; font-size: 15px; color: var(--sekundaer); }
.prozess-pfeil {
  align-self: center;
  width: 2px;
  height: 28px;
  margin: 3px 0;
  background: var(--akzent-linie);
  position: relative;
}
.prozess-pfeil::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--akzent);
  border-bottom: 2px solid var(--akzent);
  transform: translateX(-50%) rotate(45deg);
}

/* ---------- Logo-Slider (durchlaufende Kundenlogos, pausierbar) ---------- */

/* Seiten legen die Logofolge ZWEIMAL hintereinander in .logo-spur (nahtlose Schleife) */
.logo-slider { overflow: hidden; position: relative; }
.logo-spur {
  display: flex;
  align-items: center;
  gap: 72px;
  width: max-content;
  padding-block: 6px;
  animation: logo-lauf 38s linear infinite;
}
.logo-slider:hover .logo-spur,
.logo-slider:focus-within .logo-spur,
.logo-slider.pausiert .logo-spur { animation-play-state: paused; }
.logo-spur img {
  height: 44px;
  width: auto;
  max-width: none;
  filter: grayscale(1);
  opacity: 0.55;
  transition: opacity 0.25s ease, filter 0.25s ease;
}
.logo-spur img:hover { filter: grayscale(0); opacity: 0.95; }
@keyframes logo-lauf { to { transform: translateX(-50%); } }

/* ---------- Werte-Grafik (fuenf Begriffe, ruhig) ---------- */

.werte-grafik { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.werte-grafik .wert {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--akzent-linie);
  border-radius: var(--radius-flaeche);
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 650;
}
.werte-grafik .wert::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--akzent);
  flex-shrink: 0;
}

/* ---------- Team-Karten (einheitlich, eckig) ---------- */

.team-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.team-karte {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--linie);
  border-radius: 0;
  overflow: hidden;
}
.team-karte > img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0;
}
.team-karte-text { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.team-karte-name { font-size: 18px; font-weight: 700; }
.team-karte-position { margin-top: 2px; font-size: 14.5px; font-weight: 650; color: var(--akzent-dunkel); }
.team-karte-zustaendig { margin-top: 10px; font-size: 15px; color: var(--sekundaer); }
.team-karte-kontakt {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--linie);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 15px;
}
.team-karte-kontakt a { display: inline-flex; align-items: center; gap: 9px; transition: color 0.2s ease; }
.team-karte-kontakt a:hover { color: var(--akzent-dunkel); }
.team-karte-kontakt svg { width: 18px; height: 18px; color: var(--akzent); flex-shrink: 0; }

/* ---------- Quadratische Kacheln (Wissenshub-Kategorien) ---------- */

.kachel-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr)); gap: 20px; }
.kachel-quadrat {
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--linie);
  border-radius: var(--radius-karte);
  padding: 22px 24px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.kachel-quadrat:hover { border-color: var(--akzent); box-shadow: 0 12px 34px rgba(25, 40, 35, 0.08); }
.kachel-quadrat .kachel-zahl { font-size: 13px; font-weight: 750; letter-spacing: 0.12em; text-transform: uppercase; color: var(--akzent-dunkel); }
.kachel-quadrat strong { font-size: 18px; font-weight: 650; line-height: 1.3; }
.kachel-quadrat span { font-size: 14px; color: var(--sekundaer); }

/* ---------- Stellen-Akkordeon ---------- */

.stellen-akkordeon { border-top: 1px solid var(--linie); }
.stelle { border-bottom: 1px solid var(--linie); }
.stelle > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 22px 4px;
  font-size: 18px;
  font-weight: 650;
  text-align: left;
  transition: color 0.2s ease;
}
.stelle > button::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--sekundaer);
  border-bottom: 2px solid var(--sekundaer);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.stelle > button:hover { color: var(--akzent-dunkel); }
.stelle.offen > button { color: var(--akzent-dunkel); }
.stelle.offen > button::after { transform: rotate(225deg); border-color: var(--akzent); }
.stelle-inhalt { display: none; padding: 0 4px 26px; color: var(--sekundaer); max-width: 700px; }
.stelle.offen .stelle-inhalt { display: block; }

/* ---------- Animationen ---------- */

.reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.sichtbar { opacity: 1; transform: none; }

.zoombild { overflow: hidden; border-radius: var(--radius-bild); }
.zoombild img { transition: transform 0.6s ease; }
.zoombild:hover img { transform: scale(1.02); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .zoombild img { transition: none; }
  .logo-spur { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 16px);
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--footer);
  color: #fff;
  padding: 15px 22px;
  border-radius: var(--radius-flaeche);
  box-shadow: var(--schatten);
  font-size: 15.5px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  max-width: calc(100vw - 40px);
}
.toast.offen { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(20, 26, 23, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  cursor: zoom-out;
}
.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  border-radius: var(--radius-bild);
  background: #fff;
}

/* ---------- Fusszeile ---------- */

.fuss { background: var(--footer); color: rgba(255, 255, 255, 0.78); margin-top: var(--block); }
.fuss a { transition: color 0.2s ease; }
.fuss a:hover { color: #fff; }

.fuss-oben {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 48px;
  padding-block: 92px 64px;
}
.fuss-marke img { height: 42px; }
.fuss-marke p { margin-top: 18px; font-size: 15.5px; max-width: 280px; }
.fuss h4 {
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.fuss-spalte a { display: block; padding: 5px 0; font-size: 15.5px; }

.fuss-unten {
  border-top: 1px solid var(--linie-hell);
  padding-block: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}
.fuss-recht { display: flex; gap: 28px; }

/* ---------- Responsive ---------- */

/* Kopf-Aktionen stufenweise reduzieren, damit nichts ueberlaeuft.
   Wichtig: Sobald eine Aktion aus der Kopfzeile faellt, muss der Burger
   erscheinen, sonst ist sie auf Laptop-Breiten gar nicht mehr erreichbar. */
@media (max-width: 1420px) {
  /* Ab hier passt "Termin vereinbaren" nicht mehr neben die fuenf Navigationspunkte.
     Der Burger erscheint deshalb schon hier: Er faengt jede Aktion auf, die aus der
     Zeile faellt. Ohne ihn waeren die beiden Haupt-CTAs auf Laptop-Breiten
     zwischen 1101 und 1420 Pixeln gar nicht mehr erreichbar. */
  .kopf-innen { gap: 20px; }
  .kopf-nav { gap: 18px; }
  .kopf-aktionen { gap: 10px; }
  .kopf-cta { padding-inline: 14px; font-size: 14px; }
  .kopf-termin { display: none; }
  .kopf-burger { display: inline-flex; }
}
@media (max-width: 1240px) {
  .kopf-cta { display: none; }
}

@media (max-width: 1100px) {
  .kopf-innen { gap: 24px; }
  .kopf-nav { display: none; }
  .kopf-burger { display: inline-flex; }

  .mega-welten { grid-template-columns: repeat(2, 1fr); }

  .split-60-40, .split-40-60 { gap: 44px; }

  .fuss-oben { grid-template-columns: repeat(2, 1fr); gap: 40px; padding-block: 72px 48px; }
  .fuss-marke { grid-column: 1 / -1; }

  .welten-slide { flex-basis: 78%; min-height: 440px; }
}

@media (max-width: 900px) {
  .split-60-40, .split-40-60 { grid-template-columns: 1fr; gap: 36px; }
  .split-40-60 > *:first-child { order: 2; } /* Bild unter den Text auf Mobil */

  .filter-layout { display: block; }
  .filter-aufmacher { display: inline-flex; margin-bottom: 22px; }

  /* Filter als Vollbild-Panel */
  .filterleiste {
    position: fixed;
    inset: 0;
    z-index: 160;
    width: auto;
    background: var(--grund);
    padding: 24px var(--rand) 48px;
    overflow-y: auto;
    display: none;
  }
  .filterleiste.offen { display: block; }
  .filterleiste-kopf {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
  }
  .filterleiste-kopf h3 { font-size: 22px; }

  .welten-pfeile { position: static; margin-bottom: 18px; justify-content: flex-end; }
  .welten-slide { flex-basis: 86%; min-height: 400px; }
  .welten-slide-text { padding: 28px 26px; }
}

@media (max-width: 640px) {
  h1, .wie-h1 { font-size: clamp(34px, 9vw, 40px); }

  .kopf-innen { gap: 16px; }
  .kopf-aktionen { gap: 8px; }
  /* Hero mobil: erst Bild sichtbar, darunter die Box, Wechsel wird erlebbar */
  .hero .container { padding-block: 44vh 40px; }
  .hero-glas { background: rgba(255, 255, 255, 0.95); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: 30px 22px; }
  .hero-hinterleger { top: 10px; left: -10px; }
  .kopf-logo img { height: 42px; }
  /* Kundenvorgabe "gut sichtbar oben rechts" gilt auch mobil:
     kompakte Sprachwahl bleibt neben dem Burger stehen */
  .kopf .sprachwahl { display: inline-flex; }
  .kopf .sprachwahl a, .kopf .sprachwahl span { padding: 4px 7px; font-size: 12.5px; }

  .prozesskette { max-width: 100%; }
  .prozess-schritt { padding: 15px 18px; }

  .logo-spur { gap: 44px; }
  .logo-spur img { height: 34px; }

  .werte-grafik { gap: 10px; }
  .werte-grafik .wert { padding: 12px 18px; font-size: 15px; }

  .team-raster { grid-template-columns: 1fr; gap: 18px; }
  .team-karte > img { aspect-ratio: 4 / 3; }

  .kachel-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .kachel-quadrat { padding: 16px 18px; }
  .kachel-quadrat strong { font-size: 16px; }

  .stelle > button { font-size: 16.5px; padding: 18px 2px; }

  .suche-panel { padding: 18px 16px 20px; }

  .hero { min-height: 72vh; }
  .hero .container { padding-block: 120px 64px; }
  .hero-hinterleger { top: 11px; left: -11px; }
  .hero-glas { padding: 34px 26px; }
  .hero-aktionen .knopf { width: 100%; }

  .cta-band .cta-aktionen .knopf { width: 100%; }

  .kennzahlen { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .kennzahl { padding-left: 18px; }

  .nummernpunkt { grid-template-columns: 1fr; gap: 4px; padding: 24px 0; }

  .logoband { gap: 28px 36px; }
  .logoband img { height: 34px; }

  .produktraster { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .produktkarte-aktionen { flex-direction: column; align-items: stretch; }
  .produktkarte-aktionen .knopf { width: 100%; }

  .welten-slide { flex-basis: 92%; min-height: 360px; }

  .fuss-oben { grid-template-columns: 1fr; }
  .fuss-unten { flex-direction: column; align-items: flex-start; }
}

/* Mobile Umbruchsicherung fuer lange Woerter (QA 11.08.) */
@media (max-width: 560px) {
  h1, h2 { overflow-wrap: break-word; hyphens: auto; }
}

/* Sehr schmale Geraete (iPhone SE und aehnlich): Kopfzeile enger stellen,
   sonst laufen Logo, Lupe, Anfrageliste, Sprachwahl und Burger ueber. */
@media (max-width: 400px) {
  .kopf-innen { gap: 10px; }
  .kopf-aktionen { gap: 6px; }
  .kopf-logo img { height: 32px; }
  .kopf .sprachwahl { font-size: 12px; }
  .kopf .sprachwahl a, .kopf .sprachwahl span { padding-inline: 5px; }
}

/* Aeltere Kleinstgeraete (320 px): Sprachwahl wandert ins Burger-Menue,
   damit die Kopfzeile nicht ueberlaeuft. Dort ist sie weiterhin erreichbar. */
@media (max-width: 340px) {
  .kopf .sprachwahl { display: none; }
  .kopf-logo img { height: 28px; }
  /* Breite Kacheln und Slides duerfen die Seite nicht seitlich schieben */
  .welten-slide { flex-basis: 88%; }
  .welten-slide-text { padding: 26px 22px; }
  .teaser-karte { padding: 22px 20px; }
  main * { max-width: 100%; }
}
