/* EPROFUSION 2026 – Theme-Stylesheet (Contao 5)
   Designsystem angelehnt an eprobotic.com (Graphit, Lila, Saira / IBM Plex).
   Pflege: Dateiverwaltung > files/eprofusion/theme/eprofusion.css
   Schriften: Saira, IBM Plex Sans, IBM Plex Mono – SIL Open Font License 1.1 (kostenlos, lizenzfrei),
   Lizenztexte unter files/eprofusion/theme/fonts/. Keine kostenpflichtigen Schriften verwenden.
   Nach Änderungen die Version (?v=…) im Seitenlayout > Zusätzliche <head>-Tags erhöhen. */

/* ---------- Schriften (lokal) ---------- */
@font-face { font-family: "Saira"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/saira-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Saira"; font-weight: 600 700; font-style: normal; font-display: swap; src: url("fonts/saira-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500 700; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400 600; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --ef-violet: #64358C;
  --ef-violet-dark: #4E2269;
  --ef-violet-light: #9373B1;
  --ef-violet-20: #E1D6E8;
  --ef-violet-footer: #B9A3CB;
  --ef-graphite: #15181C;
  --ef-slate: #3E454C;
  --ef-grey: #706F6F;
  --ef-line: #D5D8D3;
  --ef-line-dark: #3A3F46;
  --ef-muted: #C9CDD2;
  --ef-bg: #F4F4F2;
  --ef-white: #FFFFFF;
  --ef-ok: #00612A;   --ef-ok-bg: #DDF0E3;
  --ef-soon: #8A4B00; --ef-soon-bg: #FBEBD3;
  --ef-heart: #E0457B;
  --ef-r-btn: 4px;
  --ef-r-card: 6px;
  --ef-max: 1200px;
  --ef-gutter: 24px;
  --ef-display: "Saira", system-ui, sans-serif;
  --ef-sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ef-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --ef-primary: var(--ef-violet);
  --ef-secondary: var(--ef-violet-light);
  --ef-primary-dark: var(--ef-violet-dark);
  --ef-ink: var(--ef-graphite);
  --ef-tint: var(--ef-violet-20);
  --ef-tint-strong: var(--ef-violet-20);
  --ef-radius: var(--ef-r-card);
  --ef-radius-sm: var(--ef-r-btn);
  --ef-surface-alt: var(--ef-white);
  --ef-shadow: 0 8px 24px rgba(21, 24, 28, .08);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ef-bg); color: var(--ef-graphite); font: 400 17px/1.6 var(--ef-sans); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--ef-violet); text-decoration: none; }
a:hover { color: var(--ef-violet-dark); text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--ef-display); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; color: var(--ef-graphite); letter-spacing: -.005em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.75rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.3rem; line-height: 1.2; }
p { margin: 0 0 1em; }
.invisible { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
#wrapper { overflow-x: clip; }
.ef-wrap { max-width: var(--ef-max); margin: 0 auto; padding-left: var(--ef-gutter); padding-right: var(--ef-gutter); }

/* ---------- Topbar ---------- */
.ef-topbar { background: var(--ef-graphite); color: var(--ef-muted); font-size: 13px; line-height: 1.6; }
.ef-topbar .ef-wrap { display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; min-height: 40px; flex-wrap: wrap; }
.ef-topbar a { color: var(--ef-white); }
.ef-topbar__right { display: flex; gap: 20px; flex-wrap: wrap; }
.ef-topbar__right a { font-family: var(--ef-mono); font-size: 12.5px; }

/* ---------- Header ---------- */
#header { position: sticky; top: 0; z-index: 50; }
.ef-header { background: var(--ef-white); border-bottom: 1px solid var(--ef-line); }
.ef-headbar { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.ef-logo { display: block; flex: 0 0 auto; }
.ef-logo img { height: 42px; width: auto; }
.ef-headbar .mod_navigation { margin-left: auto; }
.mod_navigation ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.mod_navigation li { position: relative; }
.mod_navigation a, .mod_navigation strong {
  display: flex; align-items: center; height: 46px; padding: 0 11px;
  color: var(--ef-graphite); font: 500 15px/1 var(--ef-sans); text-decoration: none; border-radius: var(--ef-r-btn);
}
.mod_navigation a:hover { color: var(--ef-violet); text-decoration: none; }
.mod_navigation .active, .mod_navigation .trail { color: var(--ef-violet); }
.mod_navigation li.ef-nav-cta-ghost > a, .mod_navigation li.ef-nav-cta-ghost > strong {
  margin-left: 10px; padding: 0 16px; border: 1.5px solid var(--ef-violet); color: var(--ef-violet);
}
.mod_navigation li.ef-nav-cta-ghost > a:hover { background: var(--ef-violet-20); }
.mod_navigation li.ef-nav-cta > a, .mod_navigation li.ef-nav-cta > strong {
  margin-left: 8px; padding: 0 18px; background: var(--ef-violet); color: var(--ef-white);
}
.mod_navigation li.ef-nav-cta > a:hover { background: var(--ef-violet-dark); color: var(--ef-white); }
.mod_navigation ul.level_2 {
  display: none; position: absolute; top: 100%; left: 0; min-width: 280px; padding: 8px;
  background: var(--ef-white); border: 1px solid var(--ef-line); border-radius: var(--ef-r-card); box-shadow: var(--ef-shadow);
  flex-direction: column; align-items: stretch; z-index: 60;
}
.mod_navigation li:hover > ul.level_2, .mod_navigation li:focus-within > ul.level_2 { display: flex; }
.mod_navigation ul.level_2 a, .mod_navigation ul.level_2 strong { height: auto; padding: 9px 12px; font-weight: 400; }
.mod_navigation ul.level_2 a:hover { background: var(--ef-bg); }
.ef-burger { display: none; margin-left: auto; height: 42px; padding: 0 14px; background: var(--ef-white); border: 1px solid var(--ef-line); border-radius: var(--ef-r-btn); font: 500 15px var(--ef-sans); cursor: pointer; }

/* ---------- Breadcrumb ---------- */
.mod_breadcrumb { max-width: var(--ef-max); margin: 0 auto; padding: 16px var(--ef-gutter) 0; font: 12px/1.6 var(--ef-mono); color: var(--ef-slate); }
.mod_breadcrumb ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.mod_breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--ef-violet-light); }
.mod_breadcrumb a { color: var(--ef-slate); }

/* ---------- Abschnitte (Artikel) ---------- */
.mod_article { padding: 88px max(var(--ef-gutter), calc((100% - var(--ef-max)) / 2 + var(--ef-gutter))); }
.mod_article > * { margin-left: 0; margin-right: 0; }
.mod_article.ef-alt { background: var(--ef-white); }
.mod_article.ef-tight { padding-top: 40px; padding-bottom: 40px; }
.mod_article.ef-plain { padding: 0; background: transparent; }
.ef-kicker, p.ef-kicker, .ef-kicker p {
  font: 400 12px/1.6 var(--ef-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ef-violet); margin: 0 0 14px;
}
.ef-lead, p.ef-lead, .ef-lead p { font-size: 19px; line-height: 1.6; color: var(--ef-slate); max-width: 760px; }
.mod_article h2 { margin-bottom: .45em; }
.mod_article > .content-headline + .ef-lead { margin-top: -4px; }

/* ---------- Buttons ---------- */
.ef-btn a, a.ef-btn, .ef-btn-ghost a, a.ef-btn-ghost {
  display: inline-flex; align-items: center; height: 46px; padding: 0 20px; border-radius: var(--ef-r-btn);
  font: 500 15px/1 var(--ef-sans); text-decoration: none; transition: background .15s, color .15s, border-color .15s;
}
.ef-btn a, a.ef-btn { background: var(--ef-violet); color: var(--ef-white); border: 1.5px solid var(--ef-violet); }
.ef-btn a:hover, a.ef-btn:hover { background: var(--ef-violet-dark); border-color: var(--ef-violet-dark); color: var(--ef-white); text-decoration: none; }
.ef-btn-ghost a, a.ef-btn-ghost { background: transparent; color: var(--ef-graphite); border: 1.5px solid var(--ef-graphite); }
.ef-btn-ghost a:hover, a.ef-btn-ghost:hover { background: var(--ef-graphite); color: var(--ef-white); text-decoration: none; }
.mod_article .content-hyperlink.ef-btn, .mod_article .content-hyperlink.ef-btn-ghost { display: inline-block; margin: 12px 10px 0 0; }

/* ---------- Hero (Startseite) ---------- */
.mod_article.ef-hero {
  position: relative; padding-top: 112px; padding-bottom: 136px; color: var(--ef-white); overflow: hidden;
  background:
    radial-gradient(900px 520px at 85% 20%, rgba(147,115,177,.38), transparent 60%),
    radial-gradient(700px 480px at 70% 110%, rgba(100,53,140,.45), transparent 60%),
    var(--ef-graphite);
}
.ef-hero h1 { color: var(--ef-white); max-width: 860px; }
.ef-hero .ef-kicker, .ef-hero .ef-kicker p { color: var(--ef-violet-footer); }
.ef-hero .ef-lead, .ef-hero .ef-lead p { color: rgba(255,255,255,.86); }
.ef-hero .ef-btn a { background: var(--ef-violet); border-color: var(--ef-violet); }
.ef-hero .ef-btn-ghost a { color: var(--ef-white); border-color: rgba(255,255,255,.7); }
.ef-hero .ef-btn-ghost a:hover { background: var(--ef-white); color: var(--ef-graphite); }
.ef-hero .content-player { position: absolute; inset: 0; z-index: 0; opacity: .25; margin: 0; }
.ef-hero .content-player video { width: 100%; height: 100%; object-fit: cover; }
.ef-hero > *:not(.content-player) { position: relative; z-index: 1; }

/* Kennzahlenleiste unter dem Hero */
.mod_article.ef-factbar { padding-top: 0; padding-bottom: 32px; margin-top: -64px; position: relative; z-index: 2; background: transparent; }

/* ---------- Seitenkopf Unterseiten ---------- */
.mod_article.ef-pagehead { padding-top: 40px; padding-bottom: 64px; background: var(--ef-white); border-bottom: 1px solid var(--ef-line); }
.ef-pagehead h1 { max-width: 920px; font-size: clamp(2rem, 3.8vw, 3.1rem); }
.ef-partnerlogo img { height: 52px; width: auto; max-width: 220px; object-fit: contain; margin-bottom: 18px; }

/* ---------- Raster ---------- */
.mod_article.ef-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; align-items: stretch; }
.mod_article.ef-grid.ef-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mod_article.ef-grid.ef-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mod_article.ef-grid > * { margin: 0; }
.mod_article.ef-grid > .content-headline, .mod_article.ef-grid > .ef-full, .mod_article.ef-grid > .ef-filter,
.mod_article.ef-grid > .ef-logos, .mod_article.ef-grid > .ef-filter-source { grid-column: 1 / -1; }
.mod_article.ef-grid > .content-headline + .ef-full { margin-top: -6px; margin-bottom: 12px; }

/* ---------- Karten ---------- */
.ef-tile, .ef-fact, .ef-step, .ef-person {
  background: var(--ef-white); border: 1px solid var(--ef-line); border-radius: var(--ef-r-card);
}
.ef-tile { position: relative; padding: 26px 24px 22px; display: flex; flex-direction: column; transition: border-color .15s, box-shadow .15s; }
.mod_article.ef-alt .ef-tile, .mod_article.ef-alt .ef-step { background: var(--ef-bg); }
.ef-tile:hover { border-color: var(--ef-violet-light); box-shadow: var(--ef-shadow); }
.ef-tile h3 { font-size: 1.3rem; margin-bottom: .4em; }
.ef-tile p { color: var(--ef-slate); font-size: 15.5px; line-height: 1.6; }
.ef-tile p:last-child { margin-bottom: 0; }
.ef-tile .ef-more { margin-top: auto; padding-top: 6px; }
.ef-tile .ef-more a { font-weight: 600; font-size: 15px; }
.ef-tile .ef-more a::after { content: " →"; }
.ef-tile .ef-more a::before { content: ""; position: absolute; inset: 0; }
.ef-tile.is-hidden { display: none; }
.ef-tile ul, .ef-tile ol { margin: 0 0 1em; padding-left: 1.2em; color: var(--ef-slate); font-size: 15.5px; }

.ef-fact { padding: 20px 22px; box-shadow: var(--ef-shadow); }
.ef-fact p { margin: 0; color: var(--ef-slate); font-size: 14.5px; line-height: 1.5; }
.ef-fact strong { display: block; font: 600 1.15rem/1.25 var(--ef-display); color: var(--ef-graphite); margin-bottom: 4px; }

.mod_article.ef-steps-grid { counter-reset: efstep; }
.ef-step { counter-increment: efstep; padding: 24px; }
.ef-step::before { content: counter(efstep, decimal-leading-zero); display: block; font: 500 13px var(--ef-mono); letter-spacing: .08em; color: var(--ef-violet); margin-bottom: 10px; }
.ef-step h3 { font-size: 1.15rem; }
.ef-step p { color: var(--ef-slate); font-size: 15px; margin: 0; }

/* ---------- Badges ---------- */
.ef-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.ef-badge { display: inline-block; font: 500 11px/1 var(--ef-mono); letter-spacing: .08em; text-transform: uppercase; padding: 5px 8px; border-radius: 3px; background: var(--ef-violet-20); color: var(--ef-violet-dark); }
.ef-state.ef-state-live { background: var(--ef-ok-bg); color: var(--ef-ok); }
.ef-state.ef-state-dev { background: var(--ef-soon-bg); color: var(--ef-soon); }
.ef-state.ef-state-plan { background: var(--ef-violet-20); color: var(--ef-violet-dark); }
.ef-erp { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--ef-line); }
.ef-erp img { height: 20px; width: auto; max-width: 88px; object-fit: contain; }
.ef-pagehead .ef-erp { border-top: 0; padding-top: 0; margin: 4px 0 18px; }
.ef-pagehead .ef-erp img { height: 30px; max-width: 140px; }
.ef-erp-logo img { height: 46px; width: auto; max-width: 160px; object-fit: contain; margin-bottom: 14px; }
.ef-erp-tile h3 { font-size: 1.5rem; }

/* ---------- Filter ---------- */
.ef-filter-source { display: none; }
.ef-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 8px; }
.ef-filter button { height: 38px; padding: 0 14px; font: 500 14px var(--ef-sans); cursor: pointer; border-radius: var(--ef-r-btn); border: 1px solid var(--ef-line); background: var(--ef-white); color: var(--ef-graphite); }
.ef-filter button:hover { border-color: var(--ef-graphite); }
.ef-filter button[aria-pressed="true"] { background: var(--ef-graphite); border-color: var(--ef-graphite); color: var(--ef-white); }

/* ---------- Logoleiste ---------- */
.ef-logos.content-text { display: block; }
.ef-logos > .rte { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.ef-logos p { margin: 0; }
.ef-logos a { display: flex; align-items: center; justify-content: center; height: 92px; padding: 18px; background: var(--ef-white); border: 1px solid var(--ef-line); border-radius: var(--ef-r-card); }
.ef-logos a:hover { border-color: var(--ef-violet-light); }
.ef-logos img { max-height: 48px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .15s, opacity .15s; }
.ef-logos a:hover img { filter: none; opacity: 1; }

/* ---------- Tabellen ---------- */
.content-table table { width: 100%; max-width: 900px; border-collapse: collapse; background: var(--ef-white); border: 1px solid var(--ef-line); border-radius: var(--ef-r-card); overflow: hidden; font-size: 15.5px; }
.content-table td, .content-table th { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--ef-line); vertical-align: top; }
.content-table tr:last-child td { border-bottom: 0; }
.content-table td:first-child { width: 34%; font: 500 12.5px/1.8 var(--ef-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ef-slate); }

/* ---------- FAQ ---------- */
.mod_article.ef-faqs > .content-headline { margin-bottom: 20px; }
.ef-faq { max-width: 900px; }
.ef-faq details { border-top: 1px solid var(--ef-line); }
.ef-faq details:last-child, .mod_article.ef-faqs > .ef-faq:last-child details { border-bottom: 1px solid var(--ef-line); }
.mod_article.ef-faqs > .ef-faq + .ef-faq details { border-top: 0; }
.ef-faq summary { position: relative; padding: 20px 44px 20px 0; cursor: pointer; list-style: none; font: 600 17px/1.4 var(--ef-sans); color: var(--ef-graphite); }
.ef-faq summary::-webkit-details-marker { display: none; }
.ef-faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font: 400 24px/1 var(--ef-sans); color: var(--ef-violet); }
.ef-faq details[open] summary::after { content: "–"; }
.ef-faq details > div { padding: 0 0 22px; color: var(--ef-slate); max-width: 780px; }
.ef-faq-multi h2 { margin-bottom: 20px; }

/* ---------- Banner ---------- */
.mod_article.ef-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding-top: 56px; padding-bottom: 56px; background: var(--ef-violet-20); }
.mod_article.ef-banner > * { margin: 0 !important; }
.ef-banner h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 0; }
.mod_article.ef-lizenz { background: var(--ef-graphite); color: var(--ef-muted); flex-wrap: nowrap; }
.ef-lizenz h2 { color: var(--ef-white); margin-bottom: .35em; }
.ef-lizenz p { color: var(--ef-muted); margin: 0; max-width: 760px; }
.ef-lizenz .ef-btn a { white-space: nowrap; }

/* ---------- Kontakt & Formular ---------- */
.mod_article.ef-contact { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px 48px; align-items: start; background: var(--ef-white); }
.mod_article.ef-contact > .content-headline, .mod_article.ef-contact > .ef-full { grid-column: 1 / -1; margin: 0; }
.mod_article.ef-contact > .ef-person { grid-column: 1; }
.mod_article.ef-contact > .content-form, .mod_article.ef-contact > .ce_form, .mod_article.ef-contact > form { grid-column: 2; }
.ef-person { padding: 24px; position: sticky; top: 140px; background: var(--ef-bg); }
.ef-person p { margin: 0 0 .6em; font-size: 15px; }
.ef-person a { font-family: var(--ef-mono); font-size: 14px; }
.ef-contact form { background: var(--ef-bg); border: 1px solid var(--ef-line); border-radius: var(--ef-r-card); padding: 28px; }
.ef-contact .formbody { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.ef-contact .formbody > .widget-radio, .ef-contact .formbody > .widget-checkbox, .ef-contact .formbody > .widget-textarea,
.ef-contact .formbody > .widget-altcha, .ef-contact .formbody > .widget-submit, .ef-contact .formbody > .widget-explanation { grid-column: 1 / -1; }
form .widget { margin-bottom: 18px; }
form label, form legend { display: block; font: 500 13px/1.4 var(--ef-sans); color: var(--ef-graphite); margin-bottom: 6px; }
form input[type=text], form input[type=email], form input[type=tel], form select, form textarea {
  width: 100%; height: 46px; padding: 0 14px; font: 400 16px var(--ef-sans); color: var(--ef-graphite);
  background: var(--ef-white); border: 1px solid var(--ef-line); border-radius: var(--ef-r-btn);
}
form textarea { height: auto; min-height: 140px; padding: 12px 14px; }
form input:focus, form select:focus, form textarea:focus { outline: 2px solid var(--ef-violet-light); outline-offset: 0; border-color: var(--ef-violet); }
form fieldset { border: 0; padding: 0; margin: 0; }
form .radio_container, form .checkbox_container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; }
form .checkbox_container:not(.mandatory) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
form .radio_container legend, form .checkbox_container legend { grid-column: 1 / -1; margin-bottom: 4px; }
form .radio_container span, form .checkbox_container span { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-size: 15px; }
form .radio_container span:last-of-type { grid-column: 1 / -1; }
form .checkbox_container.mandatory { grid-template-columns: 1fr; }
form .radio_container label, form .checkbox_container label { display: inline; margin: 0; font-weight: 400; font-size: 15px; }
form input[type=checkbox], form input[type=radio] { accent-color: var(--ef-violet); margin-top: 4px; }
form .mandatory .invisible { display: none; }
form button[type=submit], form .submit { height: 48px; padding: 0 26px; border: 0; border-radius: var(--ef-r-btn); background: var(--ef-violet); color: var(--ef-white); font: 500 15px var(--ef-sans); cursor: pointer; }
form button[type=submit]:hover, form .submit:hover { background: var(--ef-violet-dark); }
form p.error, form .error { color: #B3261E; font-size: 13px; }

/* ---------- Dokumente ---------- */
.ef-docs ul { list-style: none; padding: 0; display: grid; gap: 10px; max-width: 760px; }
.ef-docs li a { display: block; position: relative; padding: 15px 18px 15px 58px; background: var(--ef-white); border: 1px solid var(--ef-line); border-radius: var(--ef-r-card); font-weight: 600; }
.ef-docs li a::before { content: "PDF"; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font: 500 10px var(--ef-mono); color: var(--ef-white); background: var(--ef-violet); border-radius: 3px; padding: 3px 5px; }
.ef-docs li a:hover { border-color: var(--ef-violet-light); text-decoration: none; }

/* ---------- Footer ---------- */
#footer { background: var(--ef-graphite); color: var(--ef-muted); font-size: 14px; line-height: 1.7; }
.ef-footer .ef-wrap { padding-top: 64px; padding-bottom: 28px; }
.ef-footer__cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 36px; padding-bottom: 44px; }
.ef-footer__col { display: flex; flex-direction: column; gap: 7px; }
.ef-footer__brand img { height: 40px; width: auto; max-width: 210px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.ef-footer__brand address { font-style: normal; color: var(--ef-muted); }
.ef-footer__mono { font-family: var(--ef-mono); font-size: 13.5px; }
.ef-footer h4 { margin: 0 0 6px; font: 500 12px/1.6 var(--ef-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ef-violet-footer); }
.ef-footer a { color: var(--ef-white); }
.ef-footer a:hover { color: var(--ef-violet-footer); text-decoration: none; }
.ef-footer__note { font-size: 12.5px; line-height: 1.6; color: var(--ef-muted); margin-top: 8px; }
.ef-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid var(--ef-line-dark); font-size: 13px; }
.ef-footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }
.ef-heart { color: var(--ef-heart); font-style: normal; }

/* ---------- Hilfsklassen ---------- */
.ef-todo { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .ef-footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ef-footer__brand { grid-column: 1 / -1; }
  .mod_article.ef-grid.ef-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .ef-burger { display: block; }
  .ef-headbar { flex-wrap: wrap; min-height: 64px; }
  .ef-headbar .mod_navigation { display: none; width: 100%; margin: 0 0 12px; }
  .ef-headbar.is-open .mod_navigation { display: block; }
  .mod_navigation ul { flex-direction: column; align-items: stretch; }
  .mod_navigation a, .mod_navigation strong { height: 44px; }
  .mod_navigation ul.level_2 { display: flex; position: static; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; }
  .mod_navigation li.ef-nav-cta > a, .mod_navigation li.ef-nav-cta-ghost > a { margin: 8px 0 0; justify-content: center; }
  .mod_article.ef-contact { grid-template-columns: 1fr; }
  .mod_article.ef-contact > * { grid-column: 1 !important; }
  .ef-person { position: static; }
  .mod_article.ef-lizenz { flex-wrap: wrap; }
  form .checkbox_container:not(.mandatory) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --ef-gutter: 18px; }
  .mod_article { padding-top: 56px; padding-bottom: 56px; }
  .mod_article.ef-hero { padding-top: 72px; padding-bottom: 104px; }
  .mod_article.ef-grid.ef-grid-2, .mod_article.ef-grid.ef-grid-4 { grid-template-columns: 1fr; }
  .ef-topbar__right a:not(:first-child) { display: none; }
  .ef-logo img { height: 34px; }
  .ef-contact .formbody, form .radio_container, form .checkbox_container:not(.mandatory) { grid-template-columns: 1fr; }
  .ef-footer__cols { grid-template-columns: 1fr 1fr; gap: 28px; }
  .ef-contact form { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ===== Korrektur Pflichtfeld-Legende ===== */
form legend span, form label span { display: inline !important; }

/* ===== Mega-Menü Produkte ===== */
.ef-headbar { position: relative; }
.mod_navigation li.ef-nav-mega { position: static; }
.mod_navigation li.ef-nav-mega > ul.level_2 {
  left: var(--ef-gutter); right: var(--ef-gutter); top: calc(100% - 1px); min-width: 0; padding: 28px;
  display: none; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 28px; border-radius: 0 0 var(--ef-r-card) var(--ef-r-card);
}
.mod_navigation li.ef-nav-mega:hover > ul.level_2, .mod_navigation li.ef-nav-mega:focus-within > ul.level_2 { display: grid; }
.mod_navigation li.ef-nav-mega > ul.level_2 > li > a, .mod_navigation li.ef-nav-mega > ul.level_2 > li > strong {
  height: auto; padding: 0 0 10px; margin-bottom: 6px; border-bottom: 1px solid var(--ef-line); border-radius: 0;
  font: 500 12px/1.6 var(--ef-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ef-violet);
}
.mod_navigation li.ef-nav-mega > ul.level_2 > li > a:hover { background: none; color: var(--ef-violet-dark); }
.mod_navigation li.ef-nav-mega ul.level_3 { display: flex; flex-direction: column; gap: 0; }
.mod_navigation li.ef-nav-mega ul.level_3 a, .mod_navigation li.ef-nav-mega ul.level_3 strong {
  height: auto; padding: 6px 0; font: 400 14.5px/1.35 var(--ef-sans); color: var(--ef-graphite); border-radius: 0;
}
.mod_navigation li.ef-nav-mega ul.level_3 a:hover { color: var(--ef-violet); background: none; }
.mod_navigation li.ef-nav-mega li.ef-mega-all { grid-column: 1 / -1; padding-top: 14px; margin-top: 6px; border-top: 1px solid var(--ef-line); }
.mod_navigation li.ef-nav-mega li.ef-mega-all a { height: auto; padding: 0; font: 600 14.5px var(--ef-sans); color: var(--ef-violet); border: 0; letter-spacing: 0; text-transform: none; }
.mod_navigation li.ef-nav-mega li.ef-mega-all a::after { content: " →"; }
.mod_navigation ul.level_3 { display: none; }
@media (max-width: 960px) {
  .mod_navigation li.ef-nav-mega > ul.level_2 { display: flex; position: static; padding: 0 0 8px 14px; box-shadow: none; border: 0; }
  .mod_navigation li.ef-nav-mega > ul.level_2 > li > a { border-bottom: 0; padding: 10px 0 4px; margin: 0; }
  .mod_navigation li.ef-nav-mega ul.level_3 { padding-left: 0; }
  .mod_navigation li.ef-nav-mega li.ef-mega-all { border-top: 0; margin: 0; padding: 8px 0; }
}

/* ===== Mega-Menü Feinschliff ===== */
.mod_navigation li.ef-nav-mega ul.level_2, .mod_navigation li.ef-nav-mega ul.level_3 { align-items: stretch; text-align: left; }
.mod_navigation li.ef-nav-mega ul.level_3 > li > a, .mod_navigation li.ef-nav-mega ul.level_3 > li > strong { justify-content: flex-start; }
.mod_navigation li.ef-nav-mega > ul.level_2 > li.ef-mega-all > a {
  padding: 0; margin: 0; border: 0; justify-content: flex-start;
  font: 600 14.5px/1.4 var(--ef-sans); letter-spacing: 0; text-transform: none; color: var(--ef-violet);
}

/* ===== Mega-Menü: Hover-Brücke und Offen-Zustand ===== */
.mod_navigation li.ef-nav-mega > ul.level_2::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 32px; }
.mod_navigation li.ef-nav-mega.is-open > ul.level_2 { display: grid; }
.mod_navigation li.ef-nav-mega > a::after, .mod_navigation li.ef-nav-mega > strong::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
@media (max-width: 960px) { .mod_navigation li.ef-nav-mega > ul.level_2::before { display: none; } .mod_navigation li.ef-nav-mega.is-open > ul.level_2 { display: flex; } }
