/* =============================================================================
   www.carobserver.de: ein Stylesheet fuer die ganze Seite.
   Masse aus der alten Seite gemessen (Container 1200 px, H1 50/60, H2 40/48,
   Text 16/24, Knopf 20 px mit 30 px Rundung). Umbruch wie bisher bei 1024 und 767 px.
   ============================================================================= */

@font-face { font-family: "Titillium Web"; src: url("../fonts/titillium-web-400.woff2") format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Titillium Web"; src: url("../fonts/titillium-web-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Titillium Web"; src: url("../fonts/titillium-web-700.woff2") format("woff2"); font-weight: 700 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Titillium Web"; src: url("../fonts/titillium-web-400-kursiv.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --navy: #00213a;
  --blau: #47799f;
  --hellblau: #4bb1ff;
  --hell: #f3f7fb;
  --linie: #e6e6e6;
  --grau: #666;
  --rot: #e30613;
  --breite: 1200px;
  --rand: 20px;
  --schatten-knopf: 0 3px 5px rgba(0, 0, 0, .36);
  --schatten-karte: 0 0 10px rgba(0, 0, 0, .15);
  --schrift: "Titillium Web", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 16px/1.5 var(--schrift); color: var(--navy); background: #fff; }
img, video, iframe { max-width: 100%; }
img, video { display: block; height: auto; }
h1, h2, h3, h4 { margin: 0 0 20px; font-weight: 700; color: var(--navy); }
h1 { font-size: 50px; line-height: 1.2; }
h2 { font-size: 40px; line-height: 1.2; }
h3 { font-size: 1.17em; line-height: 1.3; }
/* h1, die wie h2/h3 aussieht: Seiten, deren Hauptueberschrift im Original eine h2/h3 war (agb, sourcing, kauft-ihr-auto,
   mercedes-benz-kauft-ihr-auto). :where haelt die Spezifitaet wie bei h2/h3, die Kaskade bleibt dieselbe. */
h1:where(.wie-h2) { font-size: 40px; line-height: 1.2; } h1:where(.wie-h3) { font-size: 1.17em; line-height: 1.3; }
h4 { font-size: 20px; line-height: 1.3; }
p { margin: 0 0 24px; }
a { color: var(--blau); }
a:hover { color: var(--navy); }
ul, ol { margin: 0 0 1em; }
strong { font-weight: 700; }
:focus-visible { outline: 2px solid var(--hellblau); outline-offset: 2px; }

.nur-vorlesen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprungmarke { position: absolute; left: 10px; top: -60px; z-index: 2000; padding: 10px 16px; background: var(--navy); color: #fff; }
.sprungmarke:focus { top: 10px; }
.mitte { text-align: center; }
.mitte img { margin-inline: auto; }

/* ---------- Raster ---------- */
.rahmen { width: 100%; max-width: calc(var(--breite) + 2 * var(--rand)); margin-inline: auto; padding-inline: var(--rand); }
.rahmen--schmal { max-width: calc(980px + 2 * var(--rand)); }
.rahmen--eng { max-width: calc(880px + 2 * var(--rand)); }
.raster { display: grid; gap: 40px; }
.raster--2 { grid-template-columns: 1fr 1fr; }
.raster--3 { grid-template-columns: repeat(3, 1fr); }
.raster--mitte { align-items: center; }
.raster--flexibel { grid-template-columns: 390px 420px; justify-content: space-between; }
.raster--academy { grid-template-columns: 446px 1fr; gap: 100px; align-items: start; }

.abschnitt { padding: var(--oben, 150px) 0 var(--unten, 100px); }
.seite-start .abschnitt > .rahmen { padding-block: 10px; }
.abschnitt--hell { background: var(--hell); }
.abschnitt--form-rechts { background: url("../img/rahmen/form-rechts.webp") right center / 20% auto no-repeat; }
.abschnitt--form-links { background: url("../img/rahmen/form-links.webp") left center / 20% auto no-repeat; padding-bottom: 150px; }

/* ---------- Knoepfe ---------- */
.knopf { display: inline-block; padding: var(--knopf-innen, 25px 50px); border: 0; border-radius: 30px; background: var(--knopf, var(--blau)); color: var(--knopf-text, #fff);
  font: var(--knopf-staerke, 400) var(--knopf-schrift, 20px)/1 var(--schrift); text-align: center; text-decoration: none; box-shadow: var(--schatten-knopf); border: var(--knopf-rand, 0);
  cursor: pointer; transition: background-color .2s; }
.knopf:hover, .knopf:focus-visible { background: var(--navy); color: #fff; }
.knopf--xs { --knopf-innen: 10px 20px; --knopf-schrift: 13px; --knopf-staerke: 600; }
.knopf--sm { --knopf-innen: 12px 24px; --knopf-schrift: 15px; --knopf-staerke: 600; }
.knopf--md { --knopf-innen: 15px 30px; --knopf-schrift: 16px; --knopf-staerke: 600; }
.knopf--lg { --knopf-innen: 20px 40px; --knopf-schrift: 18px; --knopf-staerke: 600; }
.knopf--xl { --knopf-innen: 25px 50px; --knopf-schrift: 20px; --knopf-staerke: 600; }
.knopf .fa { margin-right: 8px; }
.knopf--eckig { padding: 15px 30px; border-radius: 4px; font-size: 16px; font-weight: 600; box-shadow: none; }
.knopf--hell { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 1px var(--blau); }
.knopf--hell:hover, .knopf--hell:focus-visible { background: var(--hell); color: var(--navy); }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; }

/* ---------- Kopf ---------- */
.kopf { position: relative; z-index: 100; background: #fff; }
.kopf__leiste { border-bottom: 1px solid var(--linie); }
.kopf__leiste-innen { display: flex; align-items: center; justify-content: space-between; padding-block: 20px; }
.kopf__kontakt { display: flex; gap: 40px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.kopf__kontakt li { display: flex; align-items: center; gap: 12px; }
.kopf__kontakt a { color: var(--navy); text-decoration: none; }
.kopf__kontakt a:hover { color: var(--blau); }
.kopf__kontakt .symbol { width: 18px; height: 18px; fill: var(--navy); }
.kopf__haupt { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 40px 71px; position: relative; }
.kopf__logo img { width: 200px; height: auto; }
.kopf__menueknopf { display: none; }

.hauptmenue__liste { display: flex; align-items: center; gap: 0 30px; margin: 0; padding: 0; list-style: none; }
.hauptmenue__liste > li > a, .hauptmenue__auf { display: flex; align-items: center; gap: 4px; padding: 10px 0; border: 0;
  background: none; color: var(--navy); font: 400 16px/24px var(--schrift); text-decoration: none; cursor: pointer; }
.hauptmenue__liste > li > a:hover, .hauptmenue__auf:hover, .hauptmenue__liste > li > a[aria-current] { color: var(--blau); }
.hauptmenue__auf .symbol { width: 16px; height: 16px; transition: transform .2s; }
.hauptmenue__mobil { display: none; }

.unter { position: absolute; top: 100%; z-index: 10; display: none; padding: 30px; background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .12); font-size: 14px; }
.unter ul { margin: 0; padding: 0; list-style: none; }
.unter li { margin: 0 0 10px; }
.unter a { color: var(--navy); text-decoration: none; }
.unter a:hover { color: var(--blau); }
.unter__titel { margin: 0 0 18px; font-weight: 700; }
.hat-unter:hover > .unter, .hat-unter:focus-within > .unter, .hauptmenue__auf[aria-expanded="true"] + .unter { display: block; }
.hat-unter:hover .hauptmenue__auf .symbol, .hauptmenue__auf[aria-expanded="true"] .symbol { transform: rotate(180deg); }
.unter--klein { min-width: 300px; }
.unter--mega { left: var(--rand); right: var(--rand); max-width: 980px; margin-left: auto; }
.hat-unter:hover > .unter--mega, .hat-unter:focus-within > .unter--mega, .hauptmenue__auf[aria-expanded="true"] + .unter--mega { display: flex; }
@media (min-width: 1025px) {
  /* Ausklappmenues wie im Original 18 px unter dem Menuepunkt (vorher am Fuss der Kopfzeile, 77 px tiefer). Die Luecke
     ueberbrueckt ::before, sonst schliesst das Menue auf dem Weg der Maus dorthin. */
  .hauptmenue, .hat-unter:has(> .unter--klein) { position: relative; }
  .unter { margin-top: 18px; }
  .unter--mega { left: auto; right: 0; width: min(980px, calc(100vw - 2 * var(--rand))); max-width: none; margin-left: 0; }
  .unter::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 18px; }
}
.mega__bereich { flex: 0 0 210px; padding-right: 30px; border-right: 1px solid var(--linie); }
.mega__faelle { flex: 1; padding-left: 30px; }
.mega__spalten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mega__produkt { margin-top: 18px; font-weight: 700; }
.neu { display: inline-block; margin-left: 4px; padding: 1px 6px; border-radius: 8px; background: var(--rot); color: #fff;
  font-size: 9px; font-weight: 700; line-height: 1.4; text-transform: uppercase; vertical-align: super; }

/* ---------- Startseite: Held, Video, Kundenband ---------- */
.held { padding: 80px 0 100px; }
.held--start { min-height: 690px; background: url("../img/rahmen/hintergrund-start.webp") center top / contain no-repeat; }
.held__text p { max-width: 490px; margin-bottom: 44px; }
.held__text .knopf { margin-left: 20px; }
.held__bild img { width: 100%; }
@media (min-width: 1025px) {
  /* wie bisher: Textspalte 627 px, das Fahrzeug ragt 150 px unter den Text */
  .held--start .raster--2 { grid-template-columns: 627px 1fr; gap: 0; }
  .held--start .held__text { position: relative; z-index: 1; padding-left: 10px; }
  .held--start .held__bild { margin-left: -150px; }
  .held--start .held__bild img { width: 100%; max-width: 691px; }
}
.abschnitt--video { padding: 10px 0 30px; }
.abschnitt--video > .rahmen { padding-block: 0; }
.video { width: calc(100% - 20px); margin-inline: auto; background: var(--navy); }

.kundenband { position: relative; background: var(--hell); box-shadow: inset 0 0 20px rgba(0, 0, 0, .1); border-bottom: 1px solid var(--linie); }
.kundenband__innen { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; max-width: 1500px;
  min-height: 150px; margin-inline: auto; padding: 0 30px; }
.kundenband__titel { margin: 0; font-size: 25px; line-height: 30px; }
.kundenband__link { color: var(--navy); font-weight: 600; text-decoration: none; white-space: nowrap; }
.kundenband__link span { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-left: 6px; border-radius: 50%;
  background: var(--blau); color: #fff; line-height: 1; }
.logolauf { display: flex; align-items: center; gap: 10px; min-width: 0; }
.logolauf__liste { display: flex; gap: 30px; margin: 0; padding: 20px 5px; list-style: none; overflow-x: auto;
  scroll-snap-type: x mandatory; scrollbar-width: none; }
.logolauf__liste::-webkit-scrollbar { display: none; }
.logolauf__liste li { flex: 0 0 calc((100% - 4 * 30px) / 5); display: grid; place-items: center; height: 80px; padding: 10px 15px;
  background: #fff; border-radius: 10px; box-shadow: 0 0 10px rgba(0, 0, 0, .08); scroll-snap-align: start; }
.logolauf__liste img { max-height: 48px; width: auto; object-fit: contain; }
.logolauf__pfeil { flex: 0 0 auto; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: none;
  color: var(--navy); font: 700 26px/1 var(--schrift); cursor: pointer; }
.logolauf__pfeil:hover { color: var(--blau); }

/* ---------- Inhaltsbausteine ---------- */
.zwischentitel { margin: 70px 0 20px; font-size: 20px; line-height: 1.2; }
.grafik { width: 100%; margin: 0 auto 50px; }
.kleintitel { max-width: 880px; margin: 0 auto 40px; font-size: 16px; line-height: 1.2; }
.karte { padding: 30px; background: #fff; border-radius: 20px; box-shadow: var(--schatten-karte); }
.karte--academy img { width: 188px; margin: 0 auto 25px; }
.karte > :last-child { margin-bottom: 0; }

.abschnitt--programme { padding: 30px 0 80px; }
.programme { display: grid; grid-template-columns: 1fr 1fr; gap: 45px 40px; max-width: 960px; margin: 0 auto; padding: 0; list-style: none; }
.programm { position: relative; padding-left: 38px; }
.programm__nr { position: absolute; left: 0; top: 50%; z-index: 1; width: 59px; height: 59px; margin-top: -29.5px; border-radius: 50%;
  background: var(--blau); color: #fff; font: 800 30px/59px var(--schrift); text-align: center; }
.programm__karte { min-height: 136px; padding: 20px 25px 20px 45px; background: #fff; border-radius: 20px; box-shadow: 0 0 10px rgba(0, 0, 0, .08); }
.programm__karte h3 { margin: 0 0 10px; font-size: 16px; line-height: 24px; }
.programm__karte p { margin: 0; }

/* ---------- News-Karten ---------- */
.abschnitt--news { padding: 100px 0 150px; border-bottom: 1px solid #f3f3f3; }
.abschnitt--news h2 { margin-bottom: 110px; }
.news-raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1080px; margin: 0 auto; }
.news-karte { display: flex; flex-direction: column; overflow: hidden; background: #fff; border-radius: 20px; box-shadow: var(--schatten-karte); }
.news-karte__bild img { width: 100%; aspect-ratio: 340 / 238; object-fit: cover; }
.news-karte__text { flex: 1; padding: 30px 30px 0; }
.news-karte__titel { margin: 0 0 15px; font-size: 21px; font-weight: 400; line-height: 1.5; }
.news-karte__titel a { color: var(--navy); text-decoration: none; }
.news-karte__titel a:hover { color: var(--blau); }
.news-karte__auszug { color: #404040; line-height: 1.7; }
.news-karte__weiter { display: inline-block; margin-bottom: 20px; color: var(--navy); font-size: 12px; font-weight: 600;
  text-decoration: none; text-transform: uppercase; }
.news-karte__meta { margin: 0; padding: 15px 30px; border-top: 1px solid #eaeaea; color: #adadad; font-size: 12px; }

/* ---------- Bausteine der Inhaltsseiten (Vorlagen aus werkzeug/seite-entwerfen.php) ---------- */
.abschnitt[style*="--hoehe"] > .rahmen { display: grid; align-content: center; min-height: var(--hoehe); }
.rahmen--eigen { max-width: calc(var(--inhalt) + 2 * var(--rand)); }
.rahmen--voll { max-width: none; }
/* Innere Reihen sind bei Elementor auch in vollbreiten Abschnitten auf die Inhaltsbreite begrenzt (inline margin:... 0 ... setzt sonst die Seiten auf 0) */
.rahmen--voll .reihe-huelle { max-width: var(--inhalt, var(--breite)); margin-inline: auto !important; }
.reihe { display: grid; grid-template-columns: var(--spalten, 1fr); }
.reihe--2 { --spalten: 1fr 1fr; }
.reihe--3 { --spalten: repeat(3, 1fr); }
.reihe--4 { --spalten: repeat(4, 1fr); }
/* Spalte wie Elementors widget-wrap: Flexbox, Abstaende addieren sich, fallen nicht zusammen.
   --ba: Abstand zwischen Bausteinen (Elementor "Widgets Space") */
.spalte {
  display: flex; flex-direction: column; min-width: 0; padding: var(--sp); margin: var(--sm); --ba: 20px;
  /* Innenabstand und Rand der Spalte (Elementor), je Spalte gesetzt, nicht vererbt; -t Tablet, -m Handy */
  --sp: 10px; --sp-t: initial; --sp-m: initial; --sm: 0px; --sm-t: initial; --sm-m: initial;
}
@media (max-width: 1024px) { .spalte { padding: var(--sp-t, var(--sp)); margin: var(--sm-t, var(--sm)); } }
@media (max-width: 767px) { .spalte { padding: var(--sp-m, var(--sp-t, var(--sp))); margin: var(--sm-m, var(--sm-t, var(--sm))); } }
.spalte > * { margin-top: 0; margin-bottom: var(--ba); }
.spalte > :last-child { margin-bottom: 0; }
.spalte > .reihe-huelle { margin-bottom: 0; } /* innere Abschnitte: bei Elementor kein Bausteinabstand */
/* Eigener Aussenabstand eines Bausteins (werkzeug/seite-entwerfen.php): Elementor rechnet den Bausteinabstand von 20px dazu */
.spalte > .pad { padding: var(--pa); }
.spalte > .abst { margin: var(--ao, 0px) var(--ar, 0px) calc(var(--ba) + var(--au, 0px)) var(--al, 0px); }
.spalte > .abst:last-child { margin-bottom: var(--au, 0px); }
@media (max-width: 1024px) {
  .spalte > .pad { padding: var(--pa-t, var(--pa)); }
  .spalte > .abst { margin: var(--ao-t, var(--ao, 0px)) var(--ar-t, var(--ar, 0px)) calc(var(--ba) + var(--au-t, var(--au, 0px))) var(--al-t, var(--al, 0px)); }
  .spalte > .abst:last-child { margin-bottom: var(--au-t, var(--au, 0px)); }
}
@media (max-width: 767px) {
  .spalte > .pad { padding: var(--pa-m, var(--pa-t, var(--pa))); }
  .spalte > .abst { margin: var(--ao-m, var(--ao-t, var(--ao, 0px))) var(--ar-m, var(--ar-t, var(--ar, 0px))) calc(var(--ba) + var(--au-m, var(--au-t, var(--au, 0px)))) var(--al-m, var(--al-t, var(--al, 0px))); }
  .spalte > .abst:last-child { margin-bottom: var(--au-m, var(--au-t, var(--au, 0px))); }
}
.mittig { align-self: center; }
.hg-hell { background-color: var(--hell); }
.hg-weiss { background-color: #fff; }
.hg-blau { background-color: var(--blau); color: #fff; }
.hg-navy { background-color: var(--navy); color: #fff; }
.hg { background-color: var(--hg); }
.hg-blau :is(h1, h2, h3, h4, .h), .hg-navy :is(h1, h2, h3, h4, .h) { color: #fff; }
.hg-quadrate { background-image: url("../img/rahmen/hintergrund-start.webp"); background-position: center top; background-size: contain; background-repeat: no-repeat; }
.hg-form-links { background-image: url("../img/rahmen/form-links.webp"); background-position: left center; background-size: 20% auto; background-repeat: no-repeat; }
.hg-form-rechts { background-image: url("../img/rahmen/form-rechts.webp"); background-position: right center; background-size: 20% auto; background-repeat: no-repeat; }
.hg-foto { position: relative; isolation: isolate; background: var(--foto) center / cover no-repeat; }
.hg-foto::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--schleier, transparent); opacity: var(--schleier-deckung, 1); }
/* .h = Baustein "heading": Elementor-Standard 500 (wie 400) und Zeilenhoehe 1, eigene Werte als w-... und --zh; h1 erzwang das alte Theme mit 700 und 1.2 */
.h { margin: 0 0 20px; color: var(--navy); font-weight: 400; }
:is(h2, h3, h4, h5, h6, p).h, h1:where(.wie-h2, .wie-h3).h { line-height: var(--zh, 1); }
h1.h:not(:where(.wie-h2, .wie-h3)) { font-weight: 700; line-height: 1.2; }
.t-14 { font-size: 14px; } .t-15 { font-size: 15px; } .t-16 { font-size: 16px; } .t-18 { font-size: 18px; line-height: 1.4; }
.t-20 { font-size: 20px; line-height: 1.2; } .t-22 { font-size: 22px; line-height: 1.25; } .t-24 { font-size: 24px; line-height: 1.25; }
.t-25 { font-size: 25px; line-height: 1.2; } .t-28 { font-size: 28px; line-height: 1.2; } .t-30 { font-size: 30px; line-height: 1.2; }
.t-35 { font-size: 35px; line-height: 1.2; } .t-40 { font-size: 40px; line-height: 1.2; } .t-45 { font-size: 45px; line-height: 1.2; }
.t-50 { font-size: 50px; line-height: 1.2; } .t-60 { font-size: 60px; line-height: 1.15; }
.weiss { color: #fff; } .blau { color: var(--blau); } .farbig { color: var(--farbe); }
.rechts { text-align: right; }
/* Textbausteine wie im alten Theme: Absatz 1em/1.5em, Ueberschriften mit Browser-Abstaenden, Listen 0 0 1.5em 3em.
   Erster und letzter Abstand zaehlen mit, weil der Elementor-Baustein ein eigener Formatierungskontext war. */
.text { display: flow-root; }
.text p { margin: 1em 0 1.5em; }
.text > .frei { margin: 0; } /* Text ohne Absatz im Original */
.text :is(h2, h1:where(.wie-h2)) { margin: .83em 0; } .text :is(h3, h1:where(.wie-h3)) { margin: 1em 0; } .text h4 { margin: 1.33em 0; } .text h5 { margin: 1.67em 0; } .text h6 { margin: 2.33em 0; }
.text ul, .text ol { margin: 0 0 1.5em 3em; padding-left: 40px; }
.text li > ul, .text li > ol { margin-bottom: 0; margin-left: 1.5em; }
.text blockquote { margin: 0 1.5em; }
.beitrag__inhalt > :first-child { margin-top: 0; }
.beitrag__inhalt > :last-child { margin-bottom: 0; }
.text[class*="t-"] { line-height: 1.5; }
.text a { color: inherit; text-decoration: underline; }
.knopfzeile.mitte { text-align: center; }
.knopfzeile.rechts { text-align: right; }
.bild img { max-width: var(--bildmax, 100%); }
.bild[style*="--bildbreite"] img { width: var(--bildbreite); }
.bild.mitte img { margin-inline: auto; }
.bild.rechts img { margin-left: auto; }
.bild--rund img { border-radius: 20px; }
figure.bild { margin: 0 0 20px; }
figure.bild figcaption { margin-top: 8px; color: var(--grau); font-size: 14px; }
.liste { margin: 0 0 20px; padding: 0; list-style: none; }
.liste li { position: relative; margin-bottom: 8px; padding-left: 30px; }
.liste--ringe li::before { content: ""; position: absolute; left: 0; top: .3em; width: 16px; height: 16px; border: 3px solid var(--listenfarbe, var(--blau)); border-right-color: transparent; border-radius: 50%; }
.liste--haken li::before, .liste--pfeile li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; background: var(--listenfarbe, var(--blau)); }
.liste--haken li::before { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M504 256c0 137-111 248-248 248S8 393 8 256 119 8 256 8s248 111 248 248zM227 387l184-184c6-6 6-16 0-22l-23-23c-6-6-16-6-22 0L216 308l-70-70c-6-6-16-6-22 0l-23 23c-6 6-6 16 0 22l104 104c6 6 16 6 22 0z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M504 256c0 137-111 248-248 248S8 393 8 256 119 8 256 8s248 111 248 248zM227 387l184-184c6-6 6-16 0-22l-23-23c-6-6-16-6-22 0L216 308l-70-70c-6-6-16-6-22 0l-23 23c-6 6-6 16 0 22l104 104c6 6 16 6 22 0z'/%3E%3C/svg%3E") center / contain no-repeat; }
.liste--pfeile li::before { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M8 256C8 119 119 8 256 8s248 111 248 248-111 248-248 248S8 393 8 256zm448 0c0-110-90-200-200-200S56 146 56 256s90 200 200 200 200-90 200-200zm-72 20L280 380c-8 8-20 2-20-8v-68H140c-7 0-12-5-12-12v-40c0-7 5-12 12-12h120v-68c0-11 13-16 20-8l104 104c5 5 5 13 0 18z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M8 256C8 119 119 8 256 8s248 111 248 248-111 248-248 248S8 393 8 256zm448 0c0-110-90-200-200-200S56 146 56 256s90 200 200 200 200-90 200-200zm-72 20L280 380c-8 8-20 2-20-8v-68H140c-7 0-12-5-12-12v-40c0-7 5-12 12-12h120v-68c0-11 13-16 20-8l104 104c5 5 5 13 0 18z'/%3E%3C/svg%3E") center / contain no-repeat; }
.liste--symbole li .fa { position: absolute; left: 0; top: .25em; color: var(--listenfarbe, var(--blau)); }
.liste--zeile { display: flex; flex-wrap: wrap; gap: 0 30px; }
.liste a { color: inherit; text-decoration: none; }
.liste a:hover { text-decoration: underline; }
.fa { display: inline-block; width: 1em; height: 1em; vertical-align: -.125em; fill: currentColor; }
.grosssymbol { min-height: calc(1em + 7px); margin: 0 0 20px; color: var(--farbe, var(--blau)); font-size: var(--groesse, 50px); line-height: 1; }
.grosssymbol > svg { display: inline-block; width: 1em; height: 1em; fill: currentColor; vertical-align: top; } /* hochgeladene SVG-Symbole */
.grosssymbol--kreis .fa { box-sizing: content-box; padding: .5em; border-radius: 50%; background: var(--hg, var(--blau)); color: #fff; }
.trenner { margin: 30px 0; border: 0; border-top: 1px solid var(--linie); }
.abstand { height: var(--h); margin: 0 !important; }
.demo { display: block; width: 100%; border: 0; }
.aufklapp details { border-bottom: 1px solid var(--linie); }
.aufklapp summary { position: relative; padding: 15px 30px 15px 0; cursor: pointer; font-weight: 700; list-style: none; }
.aufklapp summary::-webkit-details-marker { display: none; }
.aufklapp summary::after { content: "+"; position: absolute; right: 5px; top: 12px; color: var(--blau); font-size: 22px; line-height: 1; }
.aufklapp details[open] summary::after { content: "–"; }
.aufklapp .text { padding: 0 0 20px; }
.reiter__liste { display: flex; flex-wrap: wrap; gap: 5px; border-bottom: 2px solid var(--linie); }
.reiter__liste button { margin-bottom: -2px; padding: 12px 20px; border: 0; border-bottom: 3px solid transparent; background: none; color: var(--navy); font: 600 16px/1.3 var(--schrift); cursor: pointer; }
.reiter__liste button[aria-selected="true"] { border-bottom-color: var(--blau); color: var(--blau); }
.reiter__feld { padding: 25px 0 0; }
.bildreihe { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px 30px; margin: 0 0 20px; padding: 0; list-style: none; }
.bildreihe img { width: auto; height: 90px; max-width: 100%; object-fit: contain; }
.stimmen { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }
.stimme { margin: 0; padding: 30px; background: #fff; border-radius: 20px; box-shadow: var(--schatten-karte); }
.stimme blockquote { margin: 0 0 20px; font-style: italic; }
.stimme figcaption { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.stimme figcaption img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.sozial { display: flex; gap: 10px; margin: 0 0 20px; padding: 0; list-style: none; }
.sozial a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 4px; background: var(--navy); color: #fff; font-size: 20px; }
@media (min-width: 1025px) { .aus-desktop { display: none !important; } }
@media (min-width: 768px) and (max-width: 1024px) { .aus-tablet { display: none !important; } }
@media (max-width: 767px) {
  .aus-handy { display: none !important; }
  .reihe { grid-template-columns: 1fr; }
  .spalte:empty { display: none; }
  .abschnitt { padding: min(var(--oben, 150px), 50px) 0 min(var(--unten, 100px), 50px); }
  .t-40, .t-45, .t-50, .t-60 { font-size: 30px; }
  .t-30, .t-35 { font-size: 25px; }
  .hg-form-links, .hg-form-rechts { background-size: 40% auto; }
  .demo { height: 1100px; }
}

/* ---------- Beitrag (Magazin) ---------- */
.beitragskopf { margin-bottom: 120px; background: var(--blau); color: #fff; }
.beitragskopf__innen { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding-block: 70px 0; }
.beitragskopf h1 { color: #fff; font-size: 45px; line-height: 1.2; }
.beitragskopf__meta { margin: 0; padding-bottom: 70px; font-size: 14px; opacity: .9; }
.beitragskopf__bild { align-self: end; margin-bottom: -90px; }
.beitragskopf__bild img { width: 100%; border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, .2); }
.beitrag { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 80px; padding-bottom: 120px; }
.beitrag__inhalt h2 { margin: 40px 0 20px; font-size: 28px; }
.beitrag__inhalt h3 { margin: 30px 0 15px; font-size: 22px; }
/* Ueberschriften in Textbausteinen: Zeilenhoehe wie der Text (altes Theme ohne eigene h2/h3-Regel) */
.text :is(h2, h3, h4, h5, h6, h1:where(.wie-h2, .wie-h3)) { line-height: 1.5; }
.text img { border-radius: 6px; }
.beitrag__inhalt ul, .beitrag__inhalt ol { margin-left: 0; padding-left: 22px; }
.beitrag__inhalt li { margin-bottom: 8px; }
.text video { width: 100%; margin-bottom: 24px; background: var(--navy); }
.beitrag__blaettern { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 60px; padding-top: 30px; border-top: 1px solid var(--linie); }
.beitrag__blaettern a { color: var(--navy); font-weight: 600; text-decoration: none; }
.beitrag__blaettern a:hover { color: var(--blau); }
.beitrag__blaettern span { display: block; margin-bottom: 4px; color: var(--grau); font-size: 12px; font-weight: 400; text-transform: uppercase; }
.beitrag__vor { grid-column: 2; text-align: right; }
.beitrag__weitere h2 { margin-bottom: 25px; font-size: 25px; }
.beitrag__weitere ul { margin: 0 0 30px; padding: 0; list-style: none; }
.beitrag__weitere li { margin-bottom: 20px; }
.mini { display: grid; grid-template-columns: 100px 1fr; gap: 4px 15px; color: var(--navy); text-decoration: none; }
.mini__bild { grid-row: span 2; width: 100px; height: 75px; object-fit: cover; border-radius: 6px; }
.mini__titel { font-weight: 700; line-height: 1.3; }
.mini:hover .mini__titel { color: var(--blau); }
.mini__auszug { color: var(--grau); font-size: 13px; line-height: 1.4; }

/* ---------- Eingebettete Inhalte (YouTube, LinkedIn) erst nach Klick ---------- */
.einbettung { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; width: 100%;
  aspect-ratio: 16 / 9; margin-bottom: 24px; padding: 30px; border-radius: 6px; background: var(--navy); color: #fff;
  text-align: center; cursor: pointer; }
.einbettung:hover .einbettung__abspielen { background: var(--hellblau); }
.einbettung__abspielen { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: var(--blau);
  font-size: 26px; transition: background-color .2s; }
.einbettung__text { max-width: 520px; font-size: 14px; line-height: 1.5; }
.einbettung__text strong { display: block; margin-bottom: 4px; font-size: 18px; }
.einbettung__text a { color: #fff; }
.einbettung__rahmen { display: block; width: 100%; aspect-ratio: 16 / 9; margin-bottom: 24px; border: 0; }

/* ---------- Fuss ---------- */
.fuss { padding: 110px 0 30px; }
.fuss__ehrung { display: flex; flex-direction: column; align-items: center; gap: 60px; padding-bottom: 140px; }
.fuss__ehrung img { width: 640px; }
.fuss__ehrung img + img { width: 660px; }
.fuss__spalten { display: grid; grid-template-columns: 500fr 324fr 228fr 148fr; }
.fuss__spalten > div { padding: 0 10px; }
.fuss__spalten > .fuss__firma { max-width: 470px; padding-left: 30px; }
.fuss__firma img { width: 191px; margin-bottom: 22px; }
.fuss__titel { margin: 0 0 20px; font-size: 20px; line-height: 1; }
.fuss__liste { margin: 0; padding: 0; list-style: none; }
.fuss__liste li { margin: 0 0 8px; }
.fuss__liste a { color: var(--navy); text-decoration: none; }
.fuss__liste a:hover { color: var(--blau); }
.fuss__sozial { display: grid; gap: 10px; justify-content: start; margin: 0; padding: 0; list-style: none; }
.fuss__sozial a { display: grid; place-items: center; width: 40px; height: 40px; background: var(--navy); border-radius: 4px; }
.fuss__sozial a:hover { background: var(--blau); }
.fuss__sozial .symbol { width: 20px; height: 20px; fill: #fff; }

/* ---------- Dialog (Margenrechner) ---------- */
.dialog { width: min(960px, 95vw); height: min(92vh, 1500px); padding: 0; border: 0; border-radius: 10px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.dialog::backdrop { background: rgba(0, 33, 58, .6); }
.dialog__rahmen { display: block; width: 100%; height: 100%; border: 0; }
.dialog__zu { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0;
  border: 0; border-radius: 50%; background: var(--navy); color: #fff; cursor: pointer; }
.dialog__zu .symbol { width: 22px; height: 22px; }

/* ---------- Einwilligung (Cookie-Banner) ---------- */
.einwilligung { position: fixed; inset: auto 0 0 0; z-index: 1000; background: #fff; box-shadow: 0 -5px 30px rgba(0, 0, 0, .15); }
.einwilligung__innen { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px 40px; max-width: 1240px;
  margin-inline: auto; padding: 20px; font-size: 14px; line-height: 1.5; }
.einwilligung__titel { grid-column: 1 / -1; margin: 0; font-weight: 700; font-size: 16px; }
.einwilligung__innen p { margin: 0; }
.einwilligung__knoepfe { display: flex; gap: 10px; }
.einwilligung__reiter { position: fixed; right: 0; bottom: 0; z-index: 999; padding: 6px 12px; border: 1px solid var(--linie);
  border-bottom: 0; border-radius: 4px 4px 0 0; background: #fff; color: #333; font: 400 12px/1.4 var(--schrift); cursor: pointer; }
[hidden] { display: none !important; }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .kopf__leiste { display: none; }
  .kopf__haupt { padding-block: 20px; }
  .kopf__menueknopf { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; background: none;
    color: var(--blau); cursor: pointer; }
  .kopf__menueknopf .symbol { width: 34px; height: 34px; }
  .kopf__menueknopf .symbol--schliessen, .menue-offen .kopf__menueknopf .symbol--menue { display: none; }
  .menue-offen .kopf__menueknopf .symbol--schliessen { display: block; }
  .hauptmenue { position: absolute; top: 100%; left: 0; right: 0; display: none; max-height: calc(100vh - 100px); overflow-y: auto;
    padding: 10px var(--rand) 30px; background: #fff; box-shadow: 0 15px 30px rgba(0, 0, 0, .12); }
  .menue-offen .hauptmenue { display: block; }
  .hauptmenue__liste { display: block; }
  .hauptmenue__liste > li { border-bottom: 1px solid var(--linie); }
  .hauptmenue__liste > li > a, .hauptmenue__auf { width: 100%; justify-content: space-between; padding: 14px 0; font-size: 18px; }
  .unter, .hat-unter:hover > .unter, .hat-unter:focus-within > .unter, .hat-unter:hover > .unter--mega,
  .hat-unter:focus-within > .unter--mega { position: static; display: none; padding: 0 0 15px 15px; box-shadow: none; }
  .hauptmenue__auf[aria-expanded="true"] + .unter, .hauptmenue__auf[aria-expanded="true"] + .unter--mega { display: block; }
  .hat-unter:hover .hauptmenue__auf .symbol { transform: none; }
  .hauptmenue__auf[aria-expanded="true"] .symbol { transform: rotate(180deg); }
  .mega__bereich { padding: 0 0 10px; border: 0; }
  .mega__faelle { padding: 0; }
  .mega__spalten { display: block; }
  .mega__produkt { margin-top: 0; }
  .unter li { margin: 0; }
  .unter a { display: block; padding: 7px 0; font-size: 16px; }
  .unter__titel { margin: 10px 0 5px; }
  .hauptmenue__mobil { display: grid; gap: 14px; justify-items: start; padding-top: 25px; }
  .hauptmenue__mobil > a:not(.knopf) { display: flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; }
  .hauptmenue__mobil .symbol { width: 18px; height: 18px; fill: var(--navy); }
  .abschnitt { padding: 80px 0 70px; }
  .fuss__spalten { grid-template-columns: 1fr 1fr; }
  .news-raster { grid-template-columns: 1fr 1fr; }
  .kundenband__innen { grid-template-columns: 1fr; justify-items: center; padding: 30px 20px; }
  .raster--flexibel, .raster--academy { grid-template-columns: 1fr 1fr; gap: 40px; }
  .beitragskopf__innen { grid-template-columns: 1fr; gap: 30px; padding-block: 50px 0; }
  .beitragskopf__bild { margin-bottom: -60px; }
  .beitragskopf__meta { padding-bottom: 0; }
  .beitragskopf { margin-bottom: 90px; }
  .beitrag { grid-template-columns: 1fr; gap: 50px; }
  .logolauf { width: 100%; }
  .logolauf__liste li { flex-basis: calc((100% - 2 * 30px) / 3); }
}

/* ---------- Handy ---------- */
@media (max-width: 767px) {
  :root { --rand: 20px; }
  h1 { font-size: 35px; line-height: 1.2; }
  h2 { font-size: 28px; line-height: 1.25; }
  h1:where(.wie-h2) { font-size: 28px; line-height: 1.25; } h1:where(.wie-h3) { font-size: 1.17em; line-height: 1.3; }
  .raster--2, .raster--3, .raster--flexibel, .raster--academy { grid-template-columns: 1fr; gap: 40px; }
  .held { padding: 10px 0 50px; }
  .held--start { background-position: 0 183px; background-size: auto; }
  .held__text p { margin-bottom: 40px; }
  .knopf:not([class*="knopf--"]), .knopf--xl { --knopf-innen: 20px 35px; --knopf-schrift: 18px; }
  .knopf--eckig { padding: 14px 24px; font-size: 16px; }
  .abschnitt { padding: 50px 0; }
  .abschnitt--form-rechts, .abschnitt--form-links { background-size: 40% auto; }
  .abschnitt--video { padding-bottom: 50px; }
  .logolauf__liste li { flex-basis: 100%; }
  .programme { grid-template-columns: 1fr; }
  .news-raster { grid-template-columns: 1fr; }
  .fuss__ehrung { gap: 30px; padding-bottom: 50px; }
  .fuss__spalten { grid-template-columns: 1fr; }
  .einwilligung__innen { grid-template-columns: 1fr; }
  .dialog { width: 100vw; height: 100vh; max-width: none; max-height: none; border-radius: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
.w-300 { font-weight: 300; } .w-400 { font-weight: 400; } .w-600 { font-weight: 600; } .w-700 { font-weight: 700; }
.schatten-innen { box-shadow: inset 0 0 20px rgba(0, 0, 0, .1); }

/* ---------- Zeitleiste (Über uns) ---------- */
.zeitleiste { position: relative; max-width: 738px; margin: 0 auto; padding: 20px 0 0; list-style: none; }
.zeitleiste::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1.5px; background: var(--linie); }
.zeitleiste__punkt { position: relative; width: calc(50% - 40px); margin-bottom: 25px; padding: 15px; background: #fff;
  border: 1px solid var(--linie); border-radius: 4px; box-shadow: 0 1px 6px rgba(0, 0, 0, .08); }
.zeitleiste__punkt--rechts { margin-left: calc(50% + 40px); }
.zeitleiste__punkt::after { content: ""; position: absolute; top: 24px; width: 14px; height: 14px; border: 3px solid #fff;
  border-radius: 50%; background: var(--blau); box-shadow: 0 0 0 1px #c8d6e2; }
.zeitleiste__punkt--links::after { right: -50px; }
.zeitleiste__punkt--rechts::after { left: -50px; }
.zeitleiste__punkt h3 { margin: 10px 0; font-size: 30px; line-height: 1.5; }
.zeitleiste__punkt img { width: 140px; margin-bottom: 10px; }
.zeitleiste__punkt .text { font-size: 16px; line-height: 1.5; }
@media (max-width: 767px) {
  .zeitleiste::before { left: 10px; }
  .zeitleiste__punkt, .zeitleiste__punkt--rechts { width: auto; margin-left: 40px; }
  .zeitleiste__punkt--links::after, .zeitleiste__punkt--rechts::after { left: -37px; right: auto; }
}

/* ---------- Magazin-Übersicht ---------- */
.magazin { max-width: 1100px; margin: 0 auto; }
.magazin__aufmacher { display: grid; grid-template-columns: 377px 1fr; gap: 30px; align-items: center; margin: 70px 0 60px; }
.magazin__bild img { width: 100%; aspect-ratio: 377 / 250; object-fit: cover; }
.magazin__titel { margin: .83em 0; font-size: 28px; line-height: 34px; }
.magazin__aufmacher .magazin__titel { font-size: 35px; line-height: 1.5; }
.magazin__titel a { color: #4682b4; text-decoration: none; }
.magazin__titel a:hover { color: var(--navy); }
.magazin__meta { margin: 0 0 24px; color: #404040; }
.magazin__raster { display: grid; grid-template-columns: repeat(3, minmax(0, 319px)); gap: 59px 58px; }
.magazin__eintrag .magazin__bild { display: block; }
.magazin__eintrag .magazin__bild img { aspect-ratio: 319 / 250; object-position: left center; } /* wie bisher: 250 px hoch, links ausgerichtet */
@media (max-width: 1024px) { .magazin__raster { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 767px) {
  .magazin__aufmacher { grid-template-columns: 1fr; }
  .magazin__raster { grid-template-columns: 1fr; }
  .magazin__aufmacher .magazin__titel { font-size: 26px; }
  .magazin__titel { font-size: 22px; line-height: 1.3; }
}
.magazin__aufmacher .magazin__bild img { aspect-ratio: auto; object-fit: contain; }

/* ---------- Formulare (Kontakt, Bewerbung; lib/formulare.php) ---------- */
.formular { display: grid; gap: 10px; }
.formular p { margin: 0; }
.formular__feld { display: grid; }
.formular__feld label { font-size: 16px; font-weight: 500; line-height: 24px; color: var(--navy); }
.formular__pflicht { color: #f00; }
.formular input:not([type="checkbox"]):not([type="file"]), .formular textarea {
  width: 100%; min-height: 59px; margin: 0; padding: 7px 20px; border: 1px solid #818a91; border-radius: 5px;
  background: #fff; color: var(--navy); font: 400 18px/1.4 var(--schrift);
}
.formular textarea { height: 217.5px; resize: vertical; }
.formular ::placeholder { color: inherit; opacity: .6; }
.formular input:focus-visible, .formular textarea:focus-visible { outline: 2px solid var(--hellblau); outline-offset: 0; border-color: var(--blau); }
.formular input[type="file"] { font: 400 16px/30px var(--schrift); color: var(--navy); }
.formular__feld--haken { grid-template-columns: auto 1fr; gap: 10px; align-items: start; }
.formular__feld--haken input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--blau); }
.formular__feld--haken label { font-weight: 400; }
.formular__feld--haken .formular__fehler { grid-column: 2; }
.formular .formular__hinweis { margin-top: 4px; font-size: 14px; color: #5a6670; }
.formular .formular__fehler { margin-top: 4px; font-size: 15px; color: #c00; }
.formular__feld--fehler input:not([type="checkbox"]):not([type="file"]), .formular__feld--fehler textarea { border-color: #c00; }
.formular__meldung { padding: 15px 20px; border-radius: 5px; font-size: 16px; line-height: 1.5; }
.formular__meldung p + p { margin-top: 10px; }
.formular__meldung--fehler { border: 1px solid #f1b8b3; background: #fdeeec; color: #8a1c13; }
.formular__meldung--ok { border: 1px solid #b7dcb9; background: #edf7ee; color: #1d5e22; font-size: 18px; }
.formular__meldung a { color: inherit; text-decoration: underline; }
.formular__senden {
  width: 100%; min-height: 59px; padding: 20px 40px; border: 0; border-radius: 5px; background: var(--blau); color: #fff;
  font: 600 18px/1 var(--schrift); cursor: pointer;
}
.formular__senden:hover, .formular__senden:focus-visible { background: var(--navy); }
.formular__senden:disabled { opacity: .7; cursor: progress; }
.formular__topf { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Karriere: Stellenliste und Stellenseite ---------- */
.stellen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.stellen__karte {
  display: flex; flex-direction: column; padding: 20px; border: 1px solid #ccc; border-radius: 2px; background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .05); color: var(--navy); text-decoration: none;
}
.stellen__karte:hover, .stellen__karte:focus-visible { border-color: var(--blau); color: var(--navy); }
.stellen__titel { margin: 0 0 15px; font-size: 18px; line-height: 27px; }
.stellen__eckdaten { display: grid; margin-bottom: 15px; font-size: 14px; line-height: 21px; color: #4c4c4c; }
.stellen__mehr { margin-top: auto; font-size: 14px; color: #4169e1; }
.stelle__text hr { margin: 8px 0 24px; border: 0; border-top: 1px solid #ccc; }
.stelle__eckdaten { margin: 0 0 30px; }
.stelle__eckdaten div { display: flex; gap: 5px; }
.stelle__eckdaten dt, .stelle__eckdaten dd { margin: 0; }
.stelle__bewerben { padding: 35px; border: 1px solid #ccc; background: #fff; }
.stelle__bewerben h2 { margin-bottom: 30px; line-height: 1.5; }
@media (max-width: 1024px) {
  .stellen { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .stellen { grid-template-columns: 1fr; }
  .stelle__bewerben { padding: 20px; }
}

/* ---------- Karussell (Kundenstimmen, assets/js/site.js; ohne JavaScript bleibt das Raster) ---------- */
.karussell--an { position: relative; display: block; overflow: hidden; padding-bottom: 29px; }
.karussell__band { display: flex; transition: transform .5s ease; touch-action: pan-y; }
.karussell__band > * { flex: 0 0 100%; }
.karussell--an .stimme { padding: 20px 60px; background: none; border-radius: 0; box-shadow: none; text-align: center; }
.karussell--an .stimme blockquote { margin: 0; font-size: 20.8px; line-height: 1.5; }
.karussell--an .stimme figcaption {
  display: grid; grid-template-columns: 50px auto; column-gap: 20px; justify-content: center; align-items: center;
  margin-top: 25px; text-align: left; line-height: 1.5;
}
.karussell--an .stimme figcaption img { grid-row: span 2; }
.karussell--an .stimme strong { font-weight: 400; }
.karussell__pfeil {
  position: absolute; top: 50%; width: 40px; height: 40px; margin-top: -35px; padding: 0; border: 0; background: none;
  color: #c9ced3; cursor: pointer;
}
.karussell__pfeil::before {
  content: ""; display: block; width: 14px; height: 14px; margin: auto; border: solid currentColor; border-width: 0 3px 3px 0;
  transform: rotate(135deg);
}
.karussell__pfeil--zurueck { left: 0; }
.karussell__pfeil--vor { right: 0; }
.karussell__pfeil--vor::before { transform: rotate(-45deg); }
.karussell__pfeil:hover, .karussell__pfeil:focus-visible { color: var(--navy); }
.karussell__punkte { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; }
.karussell__punkt { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.karussell__punkt::before { content: ""; display: block; width: 6px; height: 6px; margin: auto; border-radius: 50%; background: #000; opacity: .2; }
.karussell__punkt[aria-current="true"]::before { opacity: 1; }
@media (max-width: 767px) {
  .karussell--an .stimme { padding: 20px 40px; }
  .karussell--an .stimme blockquote { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .karussell__band { transition: none; }
}

/* ---------- Kein seitlicher Ueberlauf (das Original lief bei ueberstehenden Bildern seitlich ueber) ---------- */
.abschnitt { overflow-x: clip; }
.text table { display: block; max-width: 100%; overflow-x: auto; }

/* ---------- Textlink statt durchsichtigem Knopf (Kunden, Verkauf; vorher Knopfschatten als grauer Fleck um den Text) ---------- */
.textlink { display: inline-flex; align-items: center; gap: 8px; color: var(--blau); font-weight: 600; text-decoration: none; }
.textlink:hover, .textlink:focus-visible { color: var(--navy); text-decoration: underline; }
.textlink .fa { flex: 0 0 auto; width: 1.1em; height: 1.1em; }

/* ---------- Presse: Downloads (Logos, OnePager, Video) ---------- */
.presse-downloads h2 { margin: 70px 0 30px; }
.presse-downloads h2:first-child { margin-top: 0; }
.downloads { display: grid; gap: 30px; margin: 0; padding: 0; list-style: none; }
.downloads--logos { grid-template-columns: repeat(3, 1fr); }
.downloads--dateien { grid-template-columns: repeat(2, 1fr); gap: 20px 30px; }
.download { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--linie); border-radius: 20px; background: #fff; }
.download__vorschau { display: grid; place-items: center; height: 140px; padding: 25px 30px; background: var(--hell); }
.download__vorschau--dunkel { background: var(--navy); }
.download__vorschau img { width: auto; height: auto; max-width: 100%; max-height: 80px; }
.download__text { display: flex; flex-direction: column; gap: 6px; padding: 18px 22px 22px; }
.download .download__titel { margin: 0; font-weight: 700; color: var(--navy); }
.download__link { display: inline-flex; align-items: center; gap: 8px; color: var(--blau); font-weight: 600; text-decoration: none; }
.download__link:hover, .download__link:focus-visible { color: var(--navy); text-decoration: underline; }
.download__link .fa { flex: 0 0 auto; width: 1.1em; height: 1.1em; }
.download__groesse { color: #5a6670; font-weight: 400; }
.download--datei { flex-direction: row; align-items: center; gap: 4px; padding-left: 22px; }
.download__symbol { display: grid; place-items: center; flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; background: var(--hell); color: var(--blau); font-size: 22px; }
@media (max-width: 1024px) { .downloads--logos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) { .downloads--logos, .downloads--dateien { grid-template-columns: 1fr; } }
