/* ==========================================================================
   BSR – Entwurf E2 „unorthodox“ (Theme „BSR neu“ für Contao 5 (Seitenbaum dev.bsre.de))
   Schriften lokal eingebunden (Inter, SIL Open Font License) – keine Google-Verbindung.
   ========================================================================== */

@font-face { font-family: "BSR Inter"; src: url("fonts/Inter-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "BSR Inter"; src: url("fonts/Inter-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "BSR Display"; src: url("fonts/InterDisplay-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }

:root {
  --e2-ink: #0e1b29;
  --e2-ink-2: #16283a;
  --e2-ink-3: #102131;
  --e2-line: #22374c;
  --e2-line-2: #3a5068;
  --e2-text: #e9f0f6;
  --e2-muted: #b7c7d6;
  --e2-dim: #8ea3b7;
  --e2-mint: #8fe3b0;
  --e2-sky: #7fb8ea;
  --e2-paper: #f5f9fc;
  --e2-dark-text: #142232;
  --e2-ok: #1c6b41;
  --e2-warn: #b4530a;
  --e2-max: 1280px;
  --e2-display: "BSR Display", "Inter Display", "Segoe UI", Arial, sans-serif;
}

/* Seitenrahmen */
.e2-c-mint { color: var(--e2-mint); }
.e2-c-sky { color: var(--e2-sky); }
html { scroll-behavior: smooth; }
body.e2-site {
  margin: 0; background: var(--e2-ink); color: var(--e2-text);
  font: 400 17px/1.55 "BSR Inter", "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased;
}
.e2-site *, .e2-site *::before, .e2-site *::after { box-sizing: border-box; }
.e2-site #wrapper { overflow-x: clip; }
.e2-site a { color: #9fe6bb; }
.e2-site a:hover { color: #fff; }
.e2-site :focus-visible { outline: 3px solid var(--e2-sky); outline-offset: 3px; }
.e2-site img { max-width: 100%; height: auto; }
.e2-site h1, .e2-site h2 { font-family: var(--e2-display); font-weight: 700; }
.e2-site .invisible { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Kopf aus Contao-Modulen */
.e2-site #header .inside { max-width: var(--e2-max); margin: 0 auto; padding: 22px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.e2-site .e2-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.e2-site .e2-nav a, .e2-site .e2-nav strong { display: block; padding: 10px 14px; border-radius: 999px; color: #c7d5e2; font-weight: 600; text-decoration: none; }
.e2-site .e2-nav a:hover { color: #fff; background: var(--e2-ink-2); }
.e2-site .e2-nav strong.active, .e2-site .e2-nav a.trail { color: var(--e2-ink); background: var(--e2-mint); }
.e2-site .e2-cta { display: flex; gap: 8px; flex-wrap: wrap; }

/* Inhaltsseiten */
.e2-site #main .mod_article { max-width: var(--e2-max); margin: 0 auto; padding: 64px 24px 88px; }
.e2-site #main .mod_article.e2-full { max-width: none; padding: 0; }
.e2-site #main .mod_article:not(.e2-full) > * + * { margin-top: 24px; }
.e2-site #main .mod_article:not(.e2-full) h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1; letter-spacing: -.03em; margin: 0 0 24px; }
.e2-site #main .mod_article:not(.e2-full) h2 { font-size: 34px; line-height: 1.1; margin: 40px 0 12px; }
.e2-site #main .mod_article:not(.e2-full) h3 { font-family: var(--e2-display); font-size: 22px; margin: 28px 0 8px; }
.e2-site #main .mod_article:not(.e2-full) p, .e2-site #main .mod_article:not(.e2-full) li { max-width: 72ch; color: var(--e2-muted); }
.e2-site #main .mod_article:not(.e2-full) table { border-collapse: collapse; }
.e2-site #main .mod_article:not(.e2-full) td, .e2-site #main .mod_article:not(.e2-full) th { padding: 4px 12px 4px 0; vertical-align: top; color: var(--e2-muted); }
.e2-site .e2-placeholder { border: 2px dashed var(--e2-line-2); border-radius: 24px; padding: 28px; background: var(--e2-ink-2); }
.e2-site .e2-placeholder strong { color: var(--e2-mint); }

/* Fuß */
.e2-site #footer .inside { padding: 0; }

.e2-wrap { max-width: var(--e2-max); margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* Buttons */
.e2-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; font-size: 16px; }
.e2-site .e2-btn--mint { background: var(--e2-mint); color: var(--e2-ink); }
.e2-site .e2-btn--white { background: #fff; color: var(--e2-ink); }
.e2-site .e2-btn--ghost { background: transparent; border-color: var(--e2-line-2); color: #fff; }
.e2-site .e2-btn--dark { background: var(--e2-ink); color: #fff; }
.e2-site .e2-btn:hover { filter: brightness(1.06); }
.e2-site .e2-btn--mint:hover, .e2-site .e2-btn--white:hover { color: var(--e2-ink); }
.e2-site .e2-btn--ghost:hover { border-color: #fff; color: #fff; }

/* Kopf */
.e2-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.e2-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.e2-site .e2-logo { color: #fff; }
.e2-logo__mark { display: grid; grid-template-columns: repeat(2, 12px); gap: 3px; }
.e2-logo__mark span { width: 12px; height: 12px; border-radius: 3px; }
.e2-logo__word { font-family: var(--e2-display); font-weight: 700; font-size: 21px; }
.e2-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.e2-site .e2-nav a:not(.e2-btn) { padding: 10px 14px; color: #c7d5e2; text-decoration: none; font-weight: 600; }
.e2-site .e2-nav a:not(.e2-btn):hover { color: #fff; }
.e2-navtoggle { display: none; }

/* Hero */
.e2-hero { position: relative; padding-top: 64px; padding-bottom: 76px; }
.e2-hero__glow { position: absolute; border-radius: 50%; pointer-events: none; }
.e2-hero__glow--a { right: -80px; top: 10px; width: 420px; height: 420px; background: radial-gradient(circle, rgba(127,184,234,.35), rgba(127,184,234,0) 70%); }
.e2-hero__glow--b { right: 220px; top: 260px; width: 260px; height: 260px; background: radial-gradient(circle, rgba(143,227,176,.3), rgba(143,227,176,0) 70%); }
.e2-hero h1 { position: relative; font-size: clamp(52px, 9vw, 116px); line-height: .92; letter-spacing: -.04em; }
.e2-hero__row { position: relative; margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.e2-hero__row p { margin: 0; font-size: 21px; color: var(--e2-muted); max-width: 480px; }

/* Partnerband */
.e2-ticker { border-top: 1px solid var(--e2-line); border-bottom: 1px solid var(--e2-line); background: var(--e2-ink-3); overflow: hidden; }
.e2-ticker__track { display: flex; width: max-content; gap: 56px; padding: 22px 0; font-family: var(--e2-display); font-size: 28px; font-weight: 700; color: var(--e2-dim); white-space: nowrap; animation: e2-ticker 40s linear infinite; }
.e2-ticker__track > *::after { content: "✦"; margin-left: 56px; color: var(--e2-line-2); }
.e2-site .e2-ticker__track a { color: inherit; text-decoration: none; }
.e2-site .e2-ticker__track a:hover, .e2-site .e2-ticker__track a:focus-visible { color: #fff; }
.e2-ticker:hover .e2-ticker__track, .e2-ticker:focus-within .e2-ticker__track { animation-play-state: paused; }
@keyframes e2-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Problem-Chat */
.e2-problem { padding-top: 96px; padding-bottom: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 40px; align-items: start; }
.e2-problem h2, .e2-rules h2 { font-size: clamp(40px, 5vw, 58px); line-height: 1; letter-spacing: -.02em; }
.e2-problem__intro p { color: var(--e2-muted); font-size: 19px; margin: 18px 0 0; }
.e2-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.e2-chip { min-height: 46px; padding: 10px 18px; border-radius: 999px; background: transparent; color: var(--e2-text); border: 2px solid var(--e2-line-2); font: 600 16px "BSR Inter", Arial, sans-serif; cursor: pointer; }
.e2-chip:hover { border-color: var(--e2-mint); }
.e2-chip[aria-pressed="true"] { background: var(--e2-mint); border-color: var(--e2-mint); color: var(--e2-ink); }

.e2-chat { background: var(--e2-ink-2); border: 1px solid var(--e2-line); border-radius: 28px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.e2-chat__head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--e2-line); }
.e2-chat__avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--e2-mint); color: var(--e2-ink); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 13px; }
.e2-chat__head small { display: block; color: var(--e2-dim); font-size: 14px; }
.e2-bubble { max-width: 85%; padding: 12px 16px; }
.e2-bubble--me { align-self: flex-end; background: var(--e2-sky); color: var(--e2-ink); font-weight: 600; border-radius: 18px 18px 4px 18px; }
.e2-bubble--bsr { align-self: flex-start; background: #fff; color: var(--e2-dark-text); border-radius: 18px 18px 18px 4px; }
.e2-card { align-self: flex-start; width: 90%; border-radius: 18px; overflow: hidden; background: #fff; color: var(--e2-dark-text); }
.e2-card img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; display: block; }
.e2-card ul { margin: 0; padding: 16px 18px; list-style: none; display: grid; gap: 8px; }
.e2-card li { padding-left: 30px; position: relative; }
.e2-card li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 12px; height: 7px; border-left: 3px solid var(--e2-ok); border-bottom: 3px solid var(--e2-ok); transform: rotate(-45deg); }
.e2-chat__actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 4px; }
.e2-typing { align-self: flex-start; display: none; gap: 5px; padding: 14px 16px; background: #fff; border-radius: 18px 18px 18px 4px; }
.e2-typing span { width: 8px; height: 8px; border-radius: 50%; background: #9aaabb; animation: e2-dot 1s infinite ease-in-out; }
.e2-typing span:nth-child(2) { animation-delay: .15s; } .e2-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes e2-dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.e2-panel { display: flex; flex-direction: column; gap: 14px; }
.e2-panel[hidden] { display: none; }
.e2-panel.is-typing .e2-typing { display: flex; }
.e2-panel.is-typing .e2-bubble--bsr, .e2-panel.is-typing .e2-card, .e2-panel.is-typing .e2-chat__actions { display: none; }
.e2-bubble p { margin: 0; } .e2-bubble p + p { margin-top: .6em; }
.e2-card figure { margin: 0; }
.e2-chat--single { margin-top: 24px; margin-bottom: 24px; }

/* IT-Check */
.e2-check { padding-top: 72px; padding-bottom: 72px; }
.e2-check__box { border-radius: 32px; background: var(--e2-paper); color: var(--e2-dark-text); padding: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 40px; align-items: center; }
.e2-pill { display: inline-block; padding: 6px 12px; border-radius: 999px; background: #dff5e8; color: var(--e2-ok); font-weight: 600; font-size: 14px; }
.e2-check h2 { font-size: 46px; line-height: 1.05; margin: 16px 0 8px; }
.e2-q { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid #d8e3ec; }
.e2-q__text { font-size: 19px; font-weight: 600; }
.e2-q__btns { display: flex; gap: 8px; justify-self: end; }
@media (max-width: 420px) { .e2-q { gap: 10px; } .e2-q__text { font-size: 17px; } .e2-yn { min-width: 58px; padding: 8px 12px; } }
.e2-yn { min-width: 76px; min-height: 46px; padding: 8px 16px; border-radius: 999px; background: #fff; color: var(--e2-dark-text); border: 2px solid #b8c8d6; font: 600 16px "BSR Inter", Arial, sans-serif; cursor: pointer; }
.e2-yn[data-v="ja"][aria-pressed="true"] { background: var(--e2-ok); border-color: var(--e2-ok); color: #fff; }
.e2-yn[data-v="nein"][aria-pressed="true"] { background: var(--e2-warn); border-color: var(--e2-warn); color: #fff; }
.e2-result { border-radius: 24px; background: var(--e2-ink); color: var(--e2-text); padding: 36px; display: flex; flex-direction: column; gap: 18px; min-height: 340px; justify-content: center; }
.e2-lamps { display: flex; gap: 10px; }
.e2-lamps span { width: 28px; height: 28px; border-radius: 50%; background: #2a3d50; transition: background .3s; }
.e2-result[data-level="rot"] .e2-lamp--rot { background: #f07a5a; }
.e2-result[data-level="gelb"] .e2-lamp--gelb { background: #f2c14e; }
.e2-result[data-level="gruen"] .e2-lamp--gruen { background: var(--e2-mint); }
.e2-result__title { font-family: var(--e2-display); font-size: 36px; line-height: 1.1; font-weight: 700; }
.e2-result__text { color: var(--e2-muted); font-size: 18px; }

/* Regeln */
.e2-rules { padding-top: 72px; padding-bottom: 72px; }
.e2-rules__grid { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.e2-rule { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: 24px; min-height: 240px; transition: transform .25s; }
.e2-rule:hover { transform: rotate(0) scale(1.02) !important; }
.e2-rule small { font-family: var(--e2-display); font-weight: 700; font-size: 15px; opacity: .75; }
.e2-rule strong { font-family: var(--e2-display); font-size: 27px; line-height: 1.12; }
.e2-rule span { font-size: 16px; opacity: .88; }
.e2-rule { transform: rotate(var(--e2-tilt, 0deg)); text-decoration: none; }
.e2-site a.e2-rule:hover { color: inherit; }
.e2-rule--mint { background: var(--e2-mint); color: var(--e2-ink); }
.e2-rule--dunkel { background: var(--e2-ink-2); border: 1px solid var(--e2-line); color: var(--e2-text); }
.e2-rule--himmel { background: var(--e2-sky); color: var(--e2-ink); }
.e2-rule--weiss { background: #fff; color: var(--e2-dark-text); }

/* Kacheln */
.e2-tiles-wrap { padding-top: 40px; padding-bottom: 72px; }
.e2-tiles-wrap h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.05; margin: 0 0 28px; }
.e2-tiles-wrap .e2-tiles { padding: 0; }
.e2-tiles { padding-top: 40px; padding-bottom: 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 14px; }
.e2-tile { border-radius: 24px; min-height: 280px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; text-decoration: none; overflow: hidden; position: relative; }
.e2-tile--img { padding: 0; }
.e2-tile--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.e2-tile--bild { justify-content: flex-end; color: #fff; }
.e2-tile--bild figure { position: absolute; inset: 0; margin: 0; }
.e2-tile--bild figure img { width: 100%; height: 100%; object-fit: cover; }
.e2-tile--bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,27,41,0) 20%, rgba(14,27,41,.92)); }
.e2-tile--bild > span, .e2-tile--bild > b { position: relative; z-index: 1; }
.e2-site .e2-tile--himmel { background: var(--e2-sky); color: var(--e2-ink); }
.e2-site .e2-tile--dunkel { background: var(--e2-ink-2); border: 1px solid var(--e2-line); color: var(--e2-text); }
.e2-site .e2-tile--weiss { background: #fff; color: var(--e2-dark-text); }
.e2-site a.e2-tile:hover { color: inherit; transform: translateY(-2px); }
.e2-site a.e2-tile--bild:hover { color: #fff; }
.e2-tile { transition: transform .2s; }
.e2-site .e2-tile--mint { background: var(--e2-mint); color: var(--e2-ink); }
.e2-site .e2-tile--sky { background: var(--e2-sky); color: var(--e2-ink); }
.e2-tile b { font-family: var(--e2-display); font-size: 26px; line-height: 1.15; }
.e2-tile--himmel b, .e2-tile--sky b { font-size: 34px; line-height: 1.05; }

/* Kontakt */
.e2-contact { background: var(--e2-mint); color: var(--e2-ink); }
.e2-contact .e2-wrap { padding-top: 88px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 14px; }
.e2-site .e2-contact a { color: var(--e2-ink); font-family: var(--e2-display); font-weight: 700; text-decoration: none; }
.e2-contact__phone { font-size: clamp(48px, 8vw, 100px); line-height: .95; letter-spacing: -.03em; }
.e2-contact__mail { font-size: clamp(26px, 3.4vw, 42px); text-decoration: underline !important; }

.e2-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 32px; padding-bottom: 44px; color: var(--e2-dim); font-size: 15px; }
.e2-foot nav { display: flex; gap: 20px; }
.e2-site .e2-foot a { color: var(--e2-muted); }

/* Test-Hinweis */
.e2-testbar { background: #f2c14e; color: #2b2100; text-align: center; font: 600 14px "BSR Inter", Arial, sans-serif; padding: 8px 16px; }

/* Mobil */
@media (max-width: 760px) {
  .e2-navtoggle { display: inline-flex; }
  .js .e2-nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; padding: 12px; border-radius: 18px; background: var(--e2-ink-2); }
  .js .e2-nav.is-open { display: flex; }
  .e2-site .e2-nav ul { flex-direction: column; }
  .e2-site #header .e2-cta { order: 5; }
  .e2-hero { padding-top: 32px; }
  .e2-hero__glow { display: none; }
  .e2-card, .e2-bubble { width: 100%; max-width: 100%; }
  .e2-rule { transform: none !important; }
  .e2-tile { min-height: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  .e2-ticker__track, .e2-typing span { animation: none; }
  .e2-rule, .e2-lamps span { transition: none; }
}

/* Textfarben verlinkter Kacheln und Karten (überschreibt die allgemeine Linkfarbe) */
.e2-site a.e2-tile--mint, .e2-site a.e2-tile--himmel, .e2-site a.e2-tile--weiss,
.e2-site a.e2-tile--mint:hover, .e2-site a.e2-tile--himmel:hover, .e2-site a.e2-tile--weiss:hover,
.e2-site a.e2-rule--mint, .e2-site a.e2-rule--himmel, .e2-site a.e2-rule--weiss,
.e2-site a.e2-rule--mint:hover, .e2-site a.e2-rule--himmel:hover, .e2-site a.e2-rule--weiss:hover { color: var(--e2-ink); }
.e2-site a.e2-rule--weiss, .e2-site a.e2-tile--weiss { color: var(--e2-dark-text); }
.e2-site a.e2-tile--bild, .e2-site a.e2-tile--bild:hover, .e2-site a.e2-tile--dunkel, .e2-site a.e2-tile--dunkel:hover,
.e2-site a.e2-rule--dunkel, .e2-site a.e2-rule--dunkel:hover { color: #fff; }

/* BSR-Elemente auf normalen Inhaltsseiten: bündig mit der Überschrift */
.e2-site #main .mod_article:not(.e2-full) .e2-wrap { padding-left: 0; padding-right: 0; }
.e2-site #main .mod_article:not(.e2-full) .e2-tiles-wrap { padding-top: 16px; }

/* ==========================================================================
   Themenseiten: Seitenkopf, Nutzenpunkte, Hersteller-Abschnitte, Abschluss
   ========================================================================== */

/* Raster für ganze Abschnitte und halbe Karten (Artikel mit Klasse e2-grid) */
.e2-site #main .mod_article.e2-grid {
  display: grid;
  grid-template-columns: [full-start] minmax(24px, 1fr) [content-start] minmax(0, 616px) [mid] minmax(0, 616px) [content-end] minmax(24px, 1fr) [full-end];
  column-gap: 0;
}
.e2-site #main .mod_article.e2-grid > * { grid-column: full-start / full-end; min-width: 0; }
.e2-site #main .mod_article.e2-grid > .e2-vendor-el--halb { grid-column: content-start / mid; padding: 12px 10px 12px 0; }
.e2-site #main .mod_article.e2-grid > .e2-vendor-el--halb + .e2-vendor-el--halb { grid-column: mid / content-end; padding: 12px 0 12px 10px; }

/* Seitenkopf */
.e2-pagehead { position: relative; padding-top: 40px; padding-bottom: 48px; }
.e2-pagehead .e2-hero__glow--a { right: 0; top: -40px; width: 380px; height: 380px; }
.e2-pagehead__path { position: relative; margin: 0 0 18px; color: var(--e2-dim); font-weight: 600; }
.e2-pagehead__title { position: relative; margin: 0; font-size: clamp(44px, 7vw, 86px); line-height: .95; letter-spacing: -.04em; max-width: 980px; }
.e2-pagehead__teaser { position: relative; margin: 26px 0 0; font-size: 21px; color: var(--e2-muted); max-width: 640px; }
.e2-jumps { position: relative; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.e2-site .e2-jumps a { min-height: 46px; display: inline-flex; align-items: center; padding: 10px 18px; border: 2px solid var(--e2-line-2); border-radius: 999px; color: var(--e2-text); text-decoration: none; font-weight: 600; }
.e2-site .e2-jumps a:hover { border-color: var(--e2-mint); color: #fff; }

/* Nutzenpunkte */
.e2-benefits { padding-top: 8px; padding-bottom: 64px; }
.e2-benefits h2 { font-size: clamp(32px, 4vw, 48px); margin: 0 0 24px; }
.e2-benefits__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.e2-benefit { border-radius: 24px; background: var(--e2-ink-2); border: 1px solid var(--e2-line); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.e2-benefit__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--e2-mint); color: var(--e2-ink); display: flex; align-items: center; justify-content: center; }
.e2-benefit strong { font-family: var(--e2-display); font-size: 22px; line-height: 1.2; }
.e2-benefit > span:last-child { color: var(--e2-muted); }

/* Hersteller-Abschnitt */
.e2-vendor { --v-bg: transparent; --v-card: var(--e2-ink-2); --v-line: var(--e2-line); --v-text: var(--e2-text); --v-muted: var(--e2-muted); --v-accent: var(--e2-sky);
  scroll-margin-top: 24px; color: var(--v-text); }
.e2-vendor--nachtblau { --v-bg: #16304a; --v-card: #1d3c5a; --v-line: #2c4d6d; --v-muted: #b7c9da; --v-accent: var(--e2-sky); }
.e2-vendor--himmel { --v-bg: var(--e2-sky); --v-card: rgba(255,255,255,.45); --v-line: rgba(14,27,41,.12); --v-text: var(--e2-ink); --v-muted: #1f3346; --v-accent: var(--e2-ink); }
.e2-vendor--voll { max-width: var(--e2-max); margin: 0 auto; padding: 40px 24px 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 40px; align-items: start; }
.e2-vendor--voll.e2-vendor--nachtblau, .e2-vendor--voll.e2-vendor--himmel { width: min(calc(100% - 48px), calc(var(--e2-max) - 48px)); margin: 24px auto 40px; padding: 56px 48px; border-radius: 32px; background: var(--v-bg); border: 1px solid var(--v-line); align-items: center; }
.e2-vendor--halb { height: 100%; border-radius: 28px; padding: 32px; background: var(--v-card); border: 1px solid var(--v-line); display: flex; flex-direction: column; gap: 20px; }
.e2-vendor--halb.e2-vendor--nachtblau, .e2-vendor--halb.e2-vendor--himmel { background: var(--v-bg); }
.e2-vendor__text { display: flex; flex-direction: column; gap: 18px; }
.e2-vendor__logo { align-self: flex-start; background: #fff; border-radius: 16px; padding: 10px 14px; }
.e2-vendor__logo figure { margin: 0; }
.e2-vendor__logo img { height: 52px !important; width: auto; display: block; }
.e2-vendor__title { margin: 0; font-size: clamp(32px, 4vw, 46px); line-height: 1.02; letter-spacing: -.02em; }
.e2-vendor--halb .e2-vendor__title { font-size: clamp(28px, 3vw, 36px); }
.e2-vendor__accent { color: var(--v-accent); }
.e2-vendor__text p { margin: 0; color: var(--v-muted); font-size: 18px; max-width: 540px; }
.e2-vendor__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.e2-vendor--himmel .e2-btn--ghost { color: var(--e2-ink); border-color: var(--e2-ink); }
.e2-vendor__side { display: flex; flex-direction: column; gap: 14px; }
.e2-vendor__media figure { margin: 0; }
.e2-vendor__media img { border-radius: 20px; }
.e2-vendor__media .content-text, .e2-vendor__media .content-hyperlink { border-radius: 18px; background: var(--v-card); border: 1px solid var(--v-line); padding: 16px 18px; color: var(--v-text); }
.e2-vendor__media .content-text p { margin: 0; color: var(--v-muted); }
.e2-vendor__media .content-youtube .aspect, .e2-vendor__media iframe { border-radius: 20px; overflow: hidden; }
.e2-vendor__media iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.e2-vendor__media .splash-screen button, .e2-vendor__media button { width: 100%; padding: 0; border: 0; background: none; cursor: pointer; color: var(--v-text); font: inherit; }
.e2-vendor__media .splash-screen span { display: block; margin-top: 8px; font-size: 14px; color: var(--v-muted); }

/* Modul-Kacheln */
.e2-modules { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 10px; }
.e2-module { display: flex; flex-direction: column; gap: 6px; min-height: 132px; padding: 16px; border-radius: 18px; text-decoration: none; transition: transform .2s; }
.e2-module small { font-size: 13px; font-weight: 600; opacity: .75; }
.e2-module strong { font-family: var(--e2-display); font-size: 18px; line-height: 1.2; }
.e2-module span { font-size: 15px; opacity: .88; }
.e2-site .e2-module--mint, .e2-site a.e2-module--mint, .e2-site a.e2-module--mint:hover { background: var(--e2-mint); color: var(--e2-ink); }
.e2-site .e2-module--himmel, .e2-site a.e2-module--himmel, .e2-site a.e2-module--himmel:hover { background: var(--e2-sky); color: var(--e2-ink); }
.e2-site .e2-module--weiss, .e2-site a.e2-module--weiss, .e2-site a.e2-module--weiss:hover { background: #fff; color: var(--e2-dark-text); }
.e2-site .e2-module--dunkel, .e2-site a.e2-module--dunkel, .e2-site a.e2-module--dunkel:hover { background: var(--v-card, var(--e2-ink-2)); border: 1px solid var(--v-line, var(--e2-line)); color: var(--v-text, var(--e2-text)); }
.e2-site a.e2-module:hover { transform: translateY(-2px); }

/* Abschluss-Fläche */
.e2-cta-band { padding-top: 24px; padding-bottom: 80px; }
.e2-cta-band__box { border-radius: 32px; background: var(--e2-ink-2); border: 1px solid var(--e2-line); padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 28px; align-items: center; }
.e2-cta-band h2 { margin: 0; font-size: clamp(32px, 4vw, 46px); line-height: 1.02; letter-spacing: -.02em; }
.e2-cta-band p { margin: 0 0 12px; color: var(--e2-muted); }
.e2-cta-band__actions { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 1000px) {
  .e2-site #main .mod_article.e2-grid > .e2-vendor-el--halb,
  .e2-site #main .mod_article.e2-grid > .e2-vendor-el--halb + .e2-vendor-el--halb { grid-column: content-start / content-end; padding: 10px 0; }
}
@media (max-width: 760px) {
  .e2-vendor--voll.e2-vendor--nachtblau, .e2-vendor--voll.e2-vendor--himmel { width: calc(100% - 32px); padding: 28px 20px; }
  .e2-vendor--halb { padding: 24px; }
}

/* ---------------------------------------------------------------- Leistungen: Sie sagen – wir machen */
.e2-cta-band__accent { color: var(--e2-mint); }
.e2-cta-band--mint .e2-cta-band__box { background: var(--e2-mint); border-color: var(--e2-mint); color: var(--e2-ink); }
.e2-cta-band--mint h2, .e2-cta-band--mint .e2-cta-band__accent { color: var(--e2-ink); }
.e2-cta-band--mint .e2-cta-band__accent { display: block; }
.e2-cta-band--mint p { color: var(--e2-ink); font-size: 18px; }
.e2-site .e2-cta-band--mint .e2-btn--mint, .e2-site .e2-cta-band--mint .e2-btn--mint:hover { background: var(--e2-ink); color: #fff; }
.e2-site .e2-cta-band--mint .e2-btn--ghost, .e2-site .e2-cta-band--mint .e2-btn--ghost:hover { border-color: var(--e2-ink); color: var(--e2-ink); }

.e2-pagehead--note { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 40px; align-items: end; }
.e2-pagehead--note .e2-pagehead__main { min-width: 0; }
.e2-note { position: relative; justify-self: end; max-width: 380px; transform: rotate(2deg); border-radius: 28px; background: var(--e2-mint); color: var(--e2-ink); padding: 28px 30px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.e2-note small { display: block; font-weight: 700; font-size: 15px; opacity: .7; }
.e2-note strong { display: block; font-family: var(--e2-display); font-size: clamp(26px, 3vw, 34px); line-height: 1.05; letter-spacing: -.02em; margin: 8px 0 14px; }
@media (max-width: 760px) { .e2-note { justify-self: stretch; max-width: none; transform: rotate(1deg); } }

.e2-service { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(28px, 4vw, 48px); align-items: center; padding-top: 64px; padding-bottom: 64px; border-top: 1px dashed #2c4258; --e2-accent: var(--e2-mint); --e2-sticker: var(--e2-sky); }
.e2-service--even { --e2-accent: var(--e2-sky); --e2-sticker: var(--e2-mint); }
.e2-service__body { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.e2-service__head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 18px; }
.e2-service__nr { font-family: var(--e2-display); font-size: clamp(64px, 8vw, 96px); line-height: .8; font-weight: 800; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 2px var(--e2-accent); }
.e2-service h2 { margin: 0; font-size: clamp(30px, 4vw, 44px); line-height: 1.02; letter-spacing: -.02em; }
.e2-say { margin: 0; padding: 16px 20px; max-width: 480px; }
.e2-say small { display: block; font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.e2-say--them { align-self: flex-start; border-radius: 22px 22px 22px 6px; background: #fff; color: var(--e2-dark-text); font-size: 19px; font-weight: 600; }
.e2-say--them small { color: #5c7186; }
.e2-say--us { align-self: flex-end; margin-left: clamp(16px, 4vw, 48px); border-radius: 22px 22px 6px 22px; background: var(--e2-accent); color: var(--e2-ink); font-size: 18px; }
.e2-say--us small { opacity: .65; }
.e2-service__tags { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.e2-service__tags li { padding: 7px 13px; border-radius: 999px; background: var(--e2-ink-2); border: 1px solid #2c4258; color: #c7d5e2; font-size: 14px; font-weight: 600; }
.e2-site a.e2-service__more, .e2-site a.e2-service__more:hover { align-self: flex-start; margin-top: 6px; color: var(--e2-accent); font-weight: 700; font-size: 18px; text-decoration: none; border-bottom: 2px solid var(--e2-accent); padding-bottom: 2px; }
.e2-site a.e2-service__more:hover { color: #fff; border-color: #fff; }
.e2-service__media { position: relative; padding: 18px; min-width: 0; }
.e2-service__media figure { margin: 0; }
.e2-service__media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px; transform: rotate(1.5deg); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.e2-service--even .e2-service__media img { transform: rotate(-1.5deg); }
.e2-sticker { position: absolute; left: -6px; top: -14px; width: 128px; height: 128px; box-sizing: border-box; padding: 14px; border-radius: 999px; background: var(--e2-sticker); color: var(--e2-ink); display: flex; align-items: center; justify-content: center; text-align: center; font-family: var(--e2-display); font-weight: 800; font-size: 16px; line-height: 1.15; hyphens: auto; transform: rotate(-10deg); box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.e2-service--even .e2-sticker { left: auto; right: -6px; }
@media (min-width: 900px) { .e2-service--even .e2-service__media { order: -1; } }
@media (max-width: 520px) { .e2-sticker { width: 104px; height: 104px; font-size: 14px; } .e2-service__media { padding: 14px 6px; } }

/* ---------------------------------------------------------------- Kopfzeile bleibt sichtbar (v09) */
.e2-site #header { position: sticky; top: 0; z-index: 50; transition: background-color .25s, box-shadow .25s; }
.e2-site #header .inside { transition: padding .25s; }
.e2-site #header.is-compact { background: rgba(14, 27, 41, .94); box-shadow: 0 1px 0 var(--e2-line), 0 10px 30px rgba(0, 0, 0, .25); }
@supports (backdrop-filter: blur(8px)) { .e2-site #header.is-compact { background: rgba(14, 27, 41, .82); backdrop-filter: blur(12px); } }
.e2-site #header.is-compact .inside { padding-top: 10px; padding-bottom: 10px; }
.e2-site #header.is-compact .e2-logo__word { font-size: 18px; }
.e2-site #header.is-compact .e2-logo__mark { grid-template-columns: repeat(2, 10px); }
.e2-site #header.is-compact .e2-logo__mark span { width: 10px; height: 10px; }
.e2-site #header.is-compact .e2-nav a, .e2-site #header.is-compact .e2-nav strong { padding: 8px 12px; }
.e2-site #header.is-compact .e2-btn { min-height: 40px; padding: 8px 18px; }
/* Anker-Ziele nicht unter der Kopfzeile verstecken */
.e2-site [id] { scroll-margin-top: 96px; }
/* Mittlere Breiten: kompakte Leiste mit Menü-Knopf statt zweizeiliger Navigation */
@media (min-width: 761px) and (max-width: 1120px) {
  .js #header.is-compact .e2-navtoggle { display: inline-flex; }
  .js #header.is-compact .e2-nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; padding: 12px; border-radius: 18px; background: var(--e2-ink-2); }
  .js #header.is-compact .e2-nav.is-open { display: flex; }
  .e2-site #header.is-compact .e2-nav ul { flex-direction: column; }
  .e2-site #header.is-compact .inside { flex-wrap: wrap; }
  .e2-site #header.is-compact .e2-cta { margin-left: auto; }
}
/* Offenes Menü passt immer ins Fenster */
.js .e2-nav.is-open { max-height: calc(100vh - 140px); overflow-y: auto; }
@media (prefers-reduced-motion: reduce) { .e2-site #header, .e2-site #header .inside { transition: none; } }
/* Reihenfolge in der kompakten Leiste: Logo · Schaltflächen · Menü-Knopf · (aufgeklapptes Menü darunter) */
@media (max-width: 1120px) {
  .e2-site #header.is-compact .e2-logo { order: 0; }
  .e2-site #header.is-compact .e2-cta { order: 1; margin-left: auto; }
  .e2-site #header.is-compact .e2-navtoggle { order: 2; }
  .e2-site #header.is-compact .e2-nav { order: 3; }
}
@media (max-width: 760px) {
  .e2-site #header.is-compact .inside { gap: 10px; }
  .e2-site #header.is-compact .e2-cta .e2-btn--ghost { display: none; }
}

/* ---------------------------------------------------------------- Herstellerseiten (v10) */
.e2-c-sky { color: var(--e2-sky); }
.e2-note-wrap { position: relative; justify-self: end; display: flex; flex-direction: column; gap: 16px; max-width: 380px; }
.e2-note-wrap .e2-note { justify-self: auto; }
.e2-note__badge { align-self: flex-start; background: #fff; border-radius: 20px; padding: 14px 20px; transform: rotate(-2deg); box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.e2-note__badge figure { margin: 0; }
.e2-note__badge img { display: block; height: 64px !important; width: auto; }
@media (max-width: 760px) { .e2-note-wrap { justify-self: stretch; max-width: none; } }

.e2-modulegrid { padding-top: 24px; padding-bottom: 56px; }
.e2-modulegrid h2, .e2-details h2 { margin: 0 0 8px; font-size: clamp(30px, 4vw, 44px); line-height: 1.02; letter-spacing: -.02em; }
.e2-modulegrid__teaser { margin: 0 0 24px; color: var(--e2-muted); font-size: 18px; }
.e2-modules--big { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.e2-modules--big .e2-module { min-height: 150px; padding: 18px; border-radius: 20px; }
.e2-modules--big .e2-module strong { font-size: 20px; }
.e2-module__arrow { margin-top: auto; font-style: normal; font-weight: 700; }

.e2-details { padding-top: 24px; padding-bottom: 56px; }
.e2-details h2 { margin-bottom: 24px; }
.e2-details__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 16px; }
.e2-detail { border-radius: 26px; background: var(--e2-ink-2); border: 1px solid var(--e2-line); padding: 28px; display: flex; flex-direction: column; gap: 14px; min-width: 0; --d-accent: var(--e2-mint); }
.e2-detail--himmel { --d-accent: var(--e2-sky); }
.e2-detail__media { margin: -28px -28px 4px; }
.e2-detail__media figure { margin: 0; }
.e2-detail__media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 26px 26px 0 0; }
.e2-detail__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.e2-detail__top small { font-size: 13px; font-weight: 700; color: var(--e2-dim); }
.e2-detail__fact { padding: 6px 12px; border-radius: 999px; background: var(--d-accent); color: var(--e2-ink); font-weight: 800; font-size: 14px; transform: rotate(-2deg); }
.e2-detail h3 { margin: 0; font-family: var(--e2-display); font-size: 28px; line-height: 1.1; }
.e2-detail p { margin: 0; color: var(--e2-muted); }
.e2-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.e2-checks li { position: relative; padding-left: 26px; }
.e2-checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--e2-mint); font-weight: 800; }
.e2-site a.e2-detail__more, .e2-site a.e2-detail__more:hover { align-self: flex-start; margin-top: auto; color: var(--e2-mint); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--e2-mint); padding-bottom: 2px; }
.e2-site a.e2-detail__more:hover { color: #fff; border-color: #fff; }

.e2-benefits--steps .e2-benefits__grid { list-style: none; margin: 0; padding: 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.e2-benefits--steps .e2-benefit { background: transparent; border: 2px dashed var(--e2-line-2); gap: 8px; }
.e2-benefit__nr { font-family: var(--e2-display); font-size: 56px; line-height: .9; font-weight: 800; color: transparent; -webkit-text-stroke: 2px var(--e2-mint); }
.e2-benefits--steps .e2-benefit:nth-child(even) .e2-benefit__nr { -webkit-text-stroke-color: var(--e2-sky); }

/* ---------------------------------------------------------------- Automatische Verlinkung (v13) */
.e2-site a.e2-autolink { color: inherit; text-decoration: underline; text-decoration-color: var(--e2-mint); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.e2-site a.e2-autolink:hover { color: var(--e2-mint); }
.e2-service__tags li:has(> a.e2-autolink) { padding: 0; }
.e2-site .e2-service__tags a.e2-autolink { display: block; padding: 7px 13px; border-radius: 999px; text-decoration: none; }
.e2-site .e2-service__tags a.e2-autolink::after { content: " →"; color: var(--e2-mint); }
.e2-site .e2-service__tags a.e2-autolink:hover { background: var(--e2-line); color: #fff; }
.e2-service__tags li:has(> a.e2-autolink) { border-color: var(--e2-line-2); }

/* ---------------------------------------------------------------- Service, Kontakt, News, Über uns (v14) */
.e2-faq { padding-top: 24px; padding-bottom: 64px; }
.e2-faq h2 { margin: 0 0 24px; font-size: clamp(30px, 4vw, 44px); line-height: 1.02; letter-spacing: -.02em; }
.e2-faq__list { display: grid; gap: 10px; max-width: 900px; }
.e2-faq__item { border-radius: 20px; background: var(--e2-ink-2); border: 1px solid var(--e2-line); }
.e2-faq__item summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-family: var(--e2-display); font-weight: 700; font-size: 19px; position: relative; }
.e2-faq__item summary::-webkit-details-marker { display: none; }
.e2-faq__item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 999px; background: var(--e2-mint); color: var(--e2-ink); display: grid; place-items: center; font-size: 20px; font-weight: 800; }
.e2-faq__item[open] summary::after { content: "–"; background: var(--e2-sky); }
.e2-faq__answer { padding: 0 24px 20px; color: var(--e2-muted); }
.e2-faq__answer p { margin: 0 0 10px; }

/* Formulare (Contao-Formular im neuen Design) */
.e2-site :is(.content-form, .ce_form) { max-width: var(--e2-max); margin: 0 auto; padding: 24px 24px 72px; }
.e2-site :is(.content-form, .ce_form) > h2, .e2-site :is(.content-form, .ce_form) > h1 { margin: 0 0 24px; font-size: clamp(30px, 4vw, 44px); line-height: 1.02; letter-spacing: -.02em; }
.e2-site :is(.content-form, .ce_form) form { border-radius: 32px; background: var(--e2-paper); color: var(--e2-dark-text); padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px 20px; }
.e2-site :is(.content-form, .ce_form) form > div, .e2-site :is(.content-form, .ce_form) .formbody { display: contents; }
.e2-site :is(.content-form, .ce_form) .widget { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.e2-site :is(.content-form, .ce_form) .widget-textarea, .e2-site :is(.content-form, .ce_form) .widget-checkbox, .e2-site :is(.content-form, .ce_form) .widget-submit, .e2-site :is(.content-form, .ce_form) .widget-altcha, .e2-site :is(.content-form, .ce_form) .widget-explanation { grid-column: 1 / -1; }
.e2-site :is(.content-form, .ce_form) label { font-weight: 600; font-size: 15px; }
.e2-site :is(.content-form, .ce_form) input[type="text"], .e2-site :is(.content-form, .ce_form) input[type="email"], .e2-site :is(.content-form, .ce_form) input[type="tel"], .e2-site :is(.content-form, .ce_form) select, .e2-site :is(.content-form, .ce_form) textarea { width: 100%; box-sizing: border-box; min-height: 48px; padding: 10px 14px; border: 2px solid #b8c8d6; border-radius: 14px; background: #fff; color: var(--e2-dark-text); font: 400 17px "BSR Inter", Arial, sans-serif; }
.e2-site :is(.content-form, .ce_form) textarea { min-height: 160px; }
.e2-site :is(.content-form, .ce_form) input:focus, .e2-site :is(.content-form, .ce_form) select:focus, .e2-site :is(.content-form, .ce_form) textarea:focus { outline: 3px solid var(--e2-sky); outline-offset: 1px; border-color: var(--e2-sky); }
.e2-site :is(.content-form, .ce_form) fieldset { border: 0; margin: 0; padding: 0; }
.e2-site :is(.content-form, .ce_form) .checkbox_container > span { display: flex; gap: 10px; align-items: flex-start; }
.e2-site :is(.content-form, .ce_form) input[type="checkbox"] { width: 22px; height: 22px; accent-color: var(--e2-ok); }
.e2-site :is(.content-form, .ce_form) .mandatory .mandatory, .e2-site :is(.content-form, .ce_form) .invisible { }
.e2-site :is(.content-form, .ce_form) p.error, .e2-site :is(.content-form, .ce_form) .error { color: var(--e2-warn); font-weight: 600; }
.e2-site :is(.content-form, .ce_form) button.submit, .e2-site :is(.content-form, .ce_form) input[type="submit"] { justify-self: start; min-height: 52px; padding: 12px 28px; border: 0; border-radius: 999px; background: var(--e2-ink); color: #fff; font: 700 17px "BSR Inter", Arial, sans-serif; cursor: pointer; }
.e2-site :is(.content-form, .ce_form) button.submit:hover { background: #1f3550; }
.e2-site :is(.content-form, .ce_form) .message, .e2-site :is(.content-form, .ce_form) .confirmation { border-radius: 24px; background: var(--e2-mint); color: var(--e2-ink); padding: 24px; font-weight: 600; }

/* News-Liste (Contao-Nachrichtenmodul im neuen Design) */
.e2-site .mod_newslist { max-width: var(--e2-max); margin: 0 auto; padding: 8px 24px 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.e2-site .mod_newslist > h1, .e2-site .mod_newslist > h2 { grid-column: 1 / -1; margin: 0; }
.e2-site .mod_newslist .layout_latest, .e2-site .mod_newslist > article, .e2-site .mod_newslist .news-latest { border-radius: 26px; background: var(--e2-ink-2); border: 1px solid var(--e2-line); padding: 26px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.e2-site .mod_newslist figure { margin: -26px -26px 6px; }
.e2-site .mod_newslist figure img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.e2-site .mod_newslist .info { order: -1; margin: 0; color: var(--e2-dim); font-size: 14px; font-weight: 600; }
.e2-site .mod_newslist h2, .e2-site .mod_newslist h3 { margin: 0; font-family: var(--e2-display); font-size: 24px; line-height: 1.15; }
.e2-site .mod_newslist h2 a, .e2-site .mod_newslist h3 a { color: #fff; text-decoration: none; }
.e2-site .mod_newslist h2 a:hover, .e2-site .mod_newslist h3 a:hover { color: var(--e2-mint); }
.e2-site .mod_newslist .teaser { color: var(--e2-muted); }
.e2-site .mod_newslist .teaser p { margin: 0; }
.e2-site .mod_newslist .more { margin: auto 0 0; }
.e2-site .mod_newslist .more a { color: var(--e2-mint); font-weight: 700; }
.e2-site .mod_newslist .pagination { grid-column: 1 / -1; }
.e2-site :is(.content-form, .ce_form), .e2-site .mod_newslist { width: 100%; box-sizing: border-box; }
.e2-site .mod_newslist figure { order: -2; }
.e2-site :is(.content-form, .ce_form) .widget-submit { align-items: flex-start; }

/* ---------------------------------------------------------------- v17: Formular-Bestätigung, 3CX-Chat */
.e2-site .form-confirmation { border-radius: 28px; background: var(--e2-paper); color: var(--e2-dark-text); padding: clamp(24px, 4vw, 40px) clamp(24px, 4vw, 40px) clamp(24px, 4vw, 40px) calc(clamp(24px, 4vw, 40px) + 10px); box-shadow: inset 10px 0 0 var(--e2-mint), 0 20px 50px rgba(0, 0, 0, .3); font-size: 19px; }
.e2-site .form-confirmation p { margin: 0; }
.e2-site .form-confirmation p:first-child { font-family: var(--e2-display); font-weight: 700; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.2; }
.e2-site .form-confirmation p + p { margin-top: 10px; }
.e2-site .form-confirmation:focus { outline: 3px solid var(--e2-sky); outline-offset: 4px; }

.e2-chat3cx { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; font-family: "BSR Inter", Arial, sans-serif; }
.e2-chat3cx[hidden] { display: none; }
.e2-chat3cx__btn { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 22px 0 18px; border: 0; border-radius: 999px; background: var(--e2-mint); color: var(--e2-ink); font: 700 17px "BSR Inter", Arial, sans-serif; cursor: pointer; box-shadow: 0 12px 30px rgba(0, 0, 0, .35); }
.e2-chat3cx__btn:hover { filter: brightness(1.05); }
.e2-chat3cx__btn svg { width: 24px; height: 24px; }
.e2-chat3cx__panel { width: min(340px, calc(100vw - 40px)); box-sizing: border-box; border-radius: 22px; background: var(--e2-paper); color: var(--e2-dark-text); padding: 20px; box-shadow: 0 20px 50px rgba(0, 0, 0, .4); }
.e2-chat3cx__panel[hidden] { display: none; }
.e2-chat3cx__panel strong { display: block; font-family: var(--e2-display); font-size: 20px; margin-bottom: 6px; }
.e2-chat3cx__panel p { margin: 0 0 14px; font-size: 15px; line-height: 1.45; }
.e2-site .e2-chat3cx__panel a { color: var(--e2-dark-text); text-decoration: underline; }
.e2-chat3cx__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.e2-chat3cx__actions button { min-height: 44px; padding: 8px 18px; border-radius: 999px; font: 700 15px "BSR Inter", Arial, sans-serif; cursor: pointer; }
.e2-chat3cx__start { border: 0; background: var(--e2-ink); color: #fff; }
.e2-chat3cx__close { border: 2px solid #b8c8d6; background: #fff; color: var(--e2-dark-text); }
@media (max-width: 520px) { .e2-chat3cx { right: 12px; bottom: 12px; } .e2-chat3cx__btn span { display: none; } .e2-chat3cx__btn { padding: 0 16px; } }
@media print { .e2-chat3cx { display: none; } }
/* v19: Chat-Knopf rund wie die 3CX-Sprechblase */
.e2-site .e2-chat3cx__btn { width: 60px; height: 60px; min-height: 0; padding: 0; justify-content: center; border-radius: 50%; }
.e2-site .e2-chat3cx__btn svg { width: 28px; height: 28px; }
.e2-site .e2-chat3cx__btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.e2-site :is(.content-form, .ce_form) .widget-explanation p { margin: 0; font-size: 15px; color: #33475a; }
.e2-site :is(.content-form, .ce_form) .widget-explanation a { color: var(--e2-dark-text); text-decoration: underline; }
.e2-site :is(.content-form, .ce_form) legend { font-weight: 600; font-size: 15px; margin-bottom: 6px; }
/* v20: Chat-Symbol per CSS (kein SVG im Modul – Contao filtert SVG im HTML-Modul) */
.e2-site .e2-chat3cx__btn svg { display: none; }
.e2-site .e2-chat3cx__btn::before { content: ""; width: 28px; height: 28px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v10H9l-5 4z'/%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 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v10H9l-5 4z'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ---------------------------------------------------------------- v22 */
/* Pflichtfeld-Stern bleibt in der Zeile */
.e2-site :is(.content-form, .ce_form) legend .mandatory, .e2-site :is(.content-form, .ce_form) label .mandatory { display: inline; margin-left: 2px; color: var(--e2-warn); }
/* Nach dem Absenden: Überschrift „Oder schreiben Sie uns hier.“ ausblenden, die Kachel spricht für sich */
.e2-site :is(.content-form, .ce_form):has(.form-confirmation) > :is(h1, h2, h3) { display: none; }
.e2-site .form-confirmation h2, .e2-site .form-confirmation h3 { margin: 0 0 10px; font-family: var(--e2-display); font-size: clamp(26px, 3vw, 34px); line-height: 1.1; letter-spacing: -.02em; color: var(--e2-dark-text); }
.e2-site .form-confirmation h2 + p { font-family: inherit; font-weight: 400; font-size: 19px; }
.e2-site .form-confirmation a { color: var(--e2-dark-text); font-weight: 700; text-decoration: underline; text-decoration-color: var(--e2-ok); text-underline-offset: 3px; }
.e2-site .form-confirmation .e2-confirm__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.e2-site .form-confirmation .e2-confirm__actions a { display: inline-flex; align-items: center; min-height: 46px; padding: 10px 20px; border-radius: 999px; text-decoration: none; font-size: 16px; }
.e2-site .form-confirmation .e2-confirm__actions a:first-child { background: var(--e2-ink); color: #fff; }
.e2-site .form-confirmation .e2-confirm__actions a + a { border: 2px solid #b8c8d6; color: var(--e2-dark-text); }

/* ==========================================================================
   Rechtliches: Impressum, Datenschutz (Artikel mit Klasse e2-legal, ab v24)
   Text auf heller Papier-Fläche, Inhaltsverzeichnis links (baut e2-site.js)
   ========================================================================== */
.e2-site #main .mod_article.e2-legal { padding-top: 24px; }
.e2-site #main .mod_article.e2-legal > * + * { margin-top: 0; }
.e2-legal .e2-pagehead { padding-bottom: 36px; }
.e2-legal .e2-legal-facts .e2-modulegrid { padding-top: 0; padding-bottom: 40px; }
.e2-legal .e2-legal-facts .e2-module span { color: inherit; opacity: .85; }

.e2-legal__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
@media (min-width: 1000px) { .e2-legal__layout { grid-template-columns: 250px minmax(0, 1fr); gap: 48px; } }

/* Papier-Fläche (ohne JavaScript: jedes Textelement für sich) */
.e2-legal__paper,
.e2-site #main .mod_article.e2-legal > .content-text {
  background: var(--e2-paper); color: var(--e2-dark-text);
  border-radius: 28px; padding: clamp(24px, 4.5vw, 64px);
  box-shadow: inset 0 0 0 1px rgba(14, 27, 41, .06), 0 24px 60px rgba(0, 0, 0, .25);
}
.e2-site #main .mod_article.e2-legal > .content-text + .content-text { margin-top: 16px; }
.e2-legal__paper > * + * { margin-top: 0; }
.e2-site #main .mod_article.e2-legal .e2-legal__paper > .content-text { background: none; box-shadow: none; padding: 0; border-radius: 0; }

.e2-site #main .mod_article.e2-legal :is(.e2-legal__paper, .content-text) :is(p, li, td) { color: #3b4c5d; max-width: 72ch; font-size: 16.5px; line-height: 1.65; }
.e2-site #main .mod_article.e2-legal :is(.e2-legal__paper, .content-text) strong { color: var(--e2-dark-text); }
.e2-site #main .mod_article.e2-legal :is(.e2-legal__paper, .content-text) h2 {
  position: relative; margin: 44px 0 14px; padding-top: 32px; border-top: 1px solid #dbe5ee;
  font-family: var(--e2-display); font-size: clamp(24px, 3vw, 30px); line-height: 1.15; letter-spacing: -.015em; color: var(--e2-dark-text);
  scroll-margin-top: 110px;
}
.e2-site #main .mod_article.e2-legal :is(.e2-legal__paper, .content-text) h2::before {
  content: ""; position: absolute; left: 0; top: -2px; width: 44px; height: 3px; border-radius: 3px; background: var(--e2-mint);
}
.e2-site #main .mod_article.e2-legal .e2-legal__paper > :first-child h2:first-child,
.e2-site #main .mod_article.e2-legal > .content-text > h2:first-child { margin-top: 0; }
.e2-site #main .mod_article.e2-legal .e2-legal__paper > :first-child h2:first-child { padding-top: 0; border-top: 0; }
.e2-site #main .mod_article.e2-legal .e2-legal__paper > :first-child h2:first-child::before { display: none; }
.e2-site #main .mod_article.e2-legal :is(.e2-legal__paper, .content-text) h3 {
  margin: 28px 0 8px; font-family: "BSR Inter", "Segoe UI", Arial, sans-serif; font-weight: 600; font-size: 18px; color: var(--e2-dark-text); scroll-margin-top: 110px;
}
.e2-site #main .mod_article.e2-legal :is(.e2-legal__paper, .content-text) :is(ul, ol) { padding-left: 1.2em; }
.e2-site #main .mod_article.e2-legal :is(.e2-legal__paper, .content-text) a { color: var(--e2-ok); text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
.e2-site #main .mod_article.e2-legal :is(.e2-legal__paper, .content-text) a:hover { color: var(--e2-dark-text); }
.e2-site #main .mod_article.e2-legal .e2-legal__paper [id] { scroll-margin-top: 110px; }

/* Inhaltsverzeichnis */
.e2-legal__toc { position: relative; }
@media (min-width: 1000px) { .e2-legal__toc { position: sticky; top: 100px; max-height: calc(100vh - 120px); overflow: auto; } }
.e2-legal__toc summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 12px 18px; border: 2px solid var(--e2-line-2); border-radius: 16px; font-weight: 600; color: var(--e2-text); }
.e2-legal__toc summary::-webkit-details-marker { display: none; }
.e2-legal__toc summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--e2-mint); }
.e2-legal__toc details[open] summary::after { content: "–"; }
@media (min-width: 1000px) { .e2-legal__toc summary { display: none; } }
.e2-legal__toc p { margin: 0 0 12px; color: var(--e2-dim); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 999px) { .e2-legal__toc p { display: none; } }
.e2-site #main .e2-legal__toc ol { counter-reset: e2toc; list-style: none; margin: 0; padding: 0; }
@media (max-width: 999px) { .e2-site #main .e2-legal__toc ol { padding: 12px 6px 4px; } }
.e2-site #main .e2-legal__toc li { counter-increment: e2toc; margin: 0; max-width: none; }
.e2-site .e2-legal__toc a {
  display: grid; grid-template-columns: 30px 1fr; gap: 6px; padding: 8px 10px; border-radius: 12px;
  color: var(--e2-muted); text-decoration: none; font-size: 15px; line-height: 1.35;
}
.e2-site .e2-legal__toc a::before { content: counter(e2toc, decimal-leading-zero); color: var(--e2-dim); font-variant-numeric: tabular-nums; font-size: 13px; padding-top: 2px; }
.e2-site .e2-legal__toc a:hover { color: #fff; background: var(--e2-ink-2); }
.e2-site .e2-legal__toc a[aria-current="true"] { color: var(--e2-ink); background: var(--e2-mint); }
.e2-site .e2-legal__toc a[aria-current="true"]::before { color: var(--e2-ink); }

@media print {
  .e2-legal__toc { display: none; }
  .e2-legal__paper { box-shadow: none; padding: 0; }
}
.e2-site #main .mod_article.e2-legal :is(.e2-legal__paper, .content-text) h4 {
  margin: 22px 0 6px; font-family: "BSR Inter", "Segoe UI", Arial, sans-serif; font-weight: 600; font-size: 16.5px; color: var(--e2-dark-text); scroll-margin-top: 110px;
}
.e2-site #main .mod_article.e2-legal :is(.e2-legal__paper, .content-text) h3 + h4 { margin-top: 10px; }

/* ==========================================================================
   News-Detailseite (Modul „Neu: News-Leser“, ab v28)
   ========================================================================== */
.e2-site .e2-news-reader .mod_newsreader, .e2-site .mod_newsreader { max-width: 820px; margin: 0 auto; }
.e2-site .mod_newsreader .layout_full { display: flex; flex-direction: column; gap: 14px; }
.e2-site .mod_newsreader .info { order: -1; margin: 0; color: var(--e2-dim); font-size: 15px; font-weight: 600; }
.e2-site #main .mod_newsreader h1 { margin: 0 0 8px; font-family: var(--e2-display); font-size: clamp(36px, 5.5vw, 64px); line-height: 1.02; letter-spacing: -.03em; }
.e2-site .mod_newsreader figure { margin: 8px 0 12px; }
.e2-site .mod_newsreader figure img { display: block; width: 100%; height: auto; border-radius: 24px; }
.e2-site .mod_newsreader figcaption { margin-top: 8px; color: var(--e2-dim); font-size: 14px; }
.e2-site #main .mod_newsreader p, .e2-site #main .mod_newsreader li { color: var(--e2-muted); font-size: 18px; line-height: 1.65; max-width: 68ch; }
.e2-site #main .mod_newsreader h2 { font-size: clamp(26px, 3vw, 32px); margin: 32px 0 8px; }
.e2-site .mod_newsreader .back, .e2-site .mod_newsreader .content-back { margin-top: 40px; }
.e2-site .mod_newsreader .back a, .e2-site .mod_newsreader .content-back a {
  display: inline-flex; align-items: center; min-height: 46px; padding: 10px 20px; border: 2px solid var(--e2-line-2); border-radius: 999px;
  color: var(--e2-text); font-weight: 600; text-decoration: none;
}
.e2-site .mod_newsreader .back a::before, .e2-site .mod_newsreader .content-back a::before { content: "← "; white-space: pre; color: var(--e2-mint); }
.e2-site .mod_newsreader .back a:hover, .e2-site .mod_newsreader .content-back a:hover { border-color: var(--e2-mint); color: #fff; }

/* v35: Menüpunkt der übergeordneten Seite (z. B. „Leistungen“ auf Software, microtech …) – dunkle Schrift auf Mint
   (vorher setzte die Regel für normale Menülinks die helle Schrift durch) */
.e2-site .e2-nav a.trail:not(.e2-btn), .e2-site .e2-nav a.active:not(.e2-btn),
.e2-site .e2-nav a.trail:not(.e2-btn):hover, .e2-site .e2-nav a.active:not(.e2-btn):hover { color: var(--e2-ink); background: var(--e2-mint); }

/* v39: Texte auf mintgrünen bzw. hellblauen Flächen immer dunkel – auch in Artikeln normaler Breite
   (dort setzte eine allgemeine Regel für Absätze die helle Schrift durch, z. B. im Abschluss „Lust bekommen?“ auf Jobs) */
.e2-site #main .mod_article :is(.e2-cta-band--mint, .e2-tile--mint, .e2-tile--sky, .e2-note, .e2-module--mint, .e2-vendor--himmel, .e2-rule--mint) :is(p, li, small, span:not(.e2-c-mint):not(.e2-c-sky)) { color: var(--e2-ink); }
