/* Ender Elektrotechnik — Designsystem */
:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem;
  --space-12: 3rem; --space-16: 4rem; --space-20: 5rem; --space-24: 6rem;
  --radius: 4px;
  --maxw: 1180px;
  --ease: cubic-bezier(.16,1,.3,1);
}
/* Firmenfarben: Rot #E10F14, Anthrazit #2F2F2F (aus dem Logo entnommen) */
:root, [data-theme="light"] {
  --bg: #fafafa;
  --surface: #ffffff;
  --surface-2: #eeeeee;
  --border: #d2d2d2;
  --text: #232323;
  --text-muted: #4a4a4a;
  --ink: #2f2f2f;
  --on-ink: #f7f7f7;
  --accent: #e10f14;
  --accent-text: #c00b10;
  --on-accent: #ffffff;
  --shadow: 0 1px 2px rgba(35,35,35,.07), 0 8px 24px rgba(35,35,35,.07);
}
[data-theme="dark"] {
  --bg: #1c1c1e;
  --surface: #252527;
  --surface-2: #2d2d30;
  --border: #4a4a4f;
  --text: #f2f2f2;
  --text-muted: #c6c6ca;
  --ink: #141416;
  --on-ink: #f4f4f4;
  --accent: #e6202a;
  --accent-text: #ff6b6b;
  --on-accent: #ffffff;
  --shadow: 0 1px 2px rgba(0,0,0,.35), 0 10px 30px rgba(0,0,0,.3);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--text-base); line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .display {
  font-family: Archivo, Inter, system-ui, sans-serif;
  font-weight: 700; line-height: 1.08; letter-spacing: -0.02em;
  text-wrap: balance; margin: 0;
}
h1 { font-size: var(--text-2xl); }
h2 { font-size: var(--text-xl); }
h3 { font-size: var(--text-lg); letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0 0 var(--space-4); max-width: 68ch; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--space-5); }
section { padding-block: clamp(var(--space-12), 7vw, var(--space-24)); }
.eyebrow {
  font-size: var(--text-xs); font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent-text); margin: 0 0 var(--space-4);
  display: flex; align-items: center; gap: var(--space-3);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); flex: none; }
.lead { font-size: var(--text-lg); color: var(--text-muted); line-height: 1.5; max-width: 60ch; }
.muted { color: var(--text-muted); }

/* Header */
/* Kopfzeile hell, folgt dem Farbmodus */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px); border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(47,47,47,.07), 0 6px 22px rgba(47,47,47,.05);
  --hdr-text: var(--text); --hdr-muted: var(--text-muted);
  --hdr-line: var(--border);
}
[data-theme="dark"] .site-header { background: rgba(32,32,34,.9); box-shadow: 0 2px 12px rgba(0,0,0,.34); }
.site-header .wrap {
  display: flex; align-items: center; gap: var(--space-6); min-height: 76px;
}
.brand { display: flex; align-items: center; gap: var(--space-3); text-decoration: none; margin-right: auto; }
.brand img { height: 40px; width: auto; display: block; }
.site-header .brand img { height: 60px; }
.site-header .brand { padding: var(--space-1) 0; }
.brand .claim {
  font-size: 0.8125rem; color: var(--text-muted); letter-spacing: .02em; white-space: nowrap;
  display: block; padding-left: var(--space-3); border-left: 1px solid var(--border); line-height: 1.35;
  flex: none;
}
.brand img { flex: none; }
.brand .claim strong {
  display: block; font-family: Archivo, Inter, sans-serif; font-size: 1.1875rem;
  font-weight: 600; letter-spacing: -0.005em; color: var(--text);
}
.site-header .brand .claim { border-left-color: var(--hdr-line); }
.site-header .brand .claim strong { color: var(--hdr-text); transition: color .2s; }
.brand .brand-logo { display: block; flex: none; text-decoration: none; }
.site-header .brand a.claim { text-decoration: none; }
.site-header .brand a.claim:hover strong, .site-header .brand a.claim:focus-visible strong { color: var(--accent-text); }
.site-header .brand { padding-right: var(--space-5); flex: none; }
@media (max-width: 1480px) { .brand .claim span { display: none; } }
@media (max-width: 1280px) { .site-header .brand .claim { display: none; } }
@media (max-width: 720px) {
  .site-header .brand img { height: 42px; }
  .site-header .brand { padding-right: 0; }
  .site-header > .wrap { gap: var(--space-3); }
  .header-actions { gap: var(--space-2); }
}
@media (max-width: 380px) {
  .site-header .brand img { height: 36px; }
  .icon-btn { width: 34px; height: 34px; }
  .header-actions .btn-primary { padding-inline: var(--space-3); }
}
.site-header .brand .claim { color: var(--hdr-muted); }
.site-footer .brand img {
  background: #ffffff; padding: 5px 7px; border-radius: 3px;
}
[data-theme="dark"] .site-header .brand img {
  background: #ffffff; padding: 5px 7px; border-radius: 3px;
}
.site-footer .brand img { height: 44px; }
.site-footer .brand { flex-direction: column; align-items: flex-start; gap: var(--space-3); }
.site-footer .brand .claim {
  border-left: 0; padding-left: 0; white-space: normal; max-width: 26ch;
}
.nav { display: flex; gap: var(--space-5); }
.nav a { font-size: 0.9375rem; text-decoration: none; color: var(--hdr-muted); padding-block: var(--space-2); white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--hdr-text); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); }
.header-actions { display: flex; align-items: center; gap: var(--space-3); flex: none; }
.icon-btn {
  background: none; border: 1px solid var(--hdr-line); color: var(--hdr-muted);
  width: 38px; height: 38px; border-radius: var(--radius); cursor: pointer;
  display: grid; place-items: center; transition: color .2s, border-color .2s;
}
.icon-btn:hover { color: var(--hdr-text); border-color: var(--accent); }
.icon-btn svg { width: 18px; height: 18px; }
#navToggle { display: none; }
@media (max-width: 1120px) {
  .header-actions .btn-primary span { display: none; }
  .header-actions .btn-primary { padding-inline: var(--space-4); }
}
@media (max-width: 1100px) {
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--surface);
    border-bottom: 1px solid var(--border); padding: var(--space-2) var(--space-5) var(--space-5);
    box-shadow: 0 12px 24px rgba(47,47,47,.12); will-change: transform;
  }
  .nav.open { display: flex; }
  .nav a { padding-block: var(--space-3); border-bottom: 1px solid var(--border); font-size: var(--text-base); }
  #navToggle { display: grid; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-sm); font-weight: 600; text-decoration: none;
  padding: var(--space-3) var(--space-5); border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), background .2s, border-color .2s;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 86%, black); }
.btn-ghost { border-color: var(--border); color: var(--text); background: var(--surface); }
.btn-ghost:hover { border-color: var(--text-muted); }
.btn-lg { padding: var(--space-4) var(--space-6); font-size: var(--text-base); }

/* Hero */
.hero { position: relative; padding: 0; border-bottom: 1px solid var(--border); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(28,34,44,.88) 0%, rgba(30,37,48,.72) 45%, rgba(32,40,52,.24) 100%);
}
.hero-inner { position: relative; padding-block: clamp(var(--space-16), 11vw, var(--space-24)); color: #f7f7f7; }
.hero-inner h1 { max-width: 22ch; }
.hero-inner .lead { color: #dedede; margin-top: var(--space-5); }
.hero-inner .eyebrow { color: #ff5a5f; }
.hero-inner .eyebrow::before { background: var(--accent); }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }
.hero-cta .btn-ghost { background: transparent; color: #f7f7f7; border-color: rgba(247,247,247,.42); }
.hero-cta .btn-ghost:hover { border-color: rgba(247,247,247,.85); }
.trust {
  display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6);
  margin-top: var(--space-10); padding-top: var(--space-6);
  border-top: 1px solid oklch(97% .004 250 / .2); font-size: var(--text-sm);
}
.trust li { display: flex; align-items: center; gap: var(--space-2); color: #e4e4e4; }
.trust svg { width: 16px; height: 16px; color: #ff5a5f; flex: none; }
ul.trust, ul.plain { list-style: none; margin: 0; padding: 0; }

/* Grids & cards */
.grid { display: grid; gap: var(--space-5); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-2 { grid-template-columns: 1fr; }
@media (min-width: 820px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: var(--space-6);
  display: flex; flex-direction: column;
  transition: border-color .25s, transform .25s var(--ease);
}
a.card { text-decoration: none; }
a.card:hover { border-color: var(--accent); transform: translateY(-3px); }
.card h3 { margin-bottom: var(--space-3); }
.card p { font-size: var(--text-sm); color: var(--text-muted); margin-bottom: var(--space-4); }
.card ul { margin: 0 0 var(--space-5); padding-left: var(--space-5); font-size: var(--text-sm); color: var(--text-muted); }
.card ul li { margin-bottom: var(--space-1); }
.card .more { margin-top: auto; font-size: var(--text-sm); font-weight: 600; color: var(--accent-text); }
/* Kartenmarke: roter Strich wie bei .eyebrow, Nummer bleibt nur fuer Screenreader */
.card p.card-num, .card-num {
  display: flex; align-items: center; margin-bottom: var(--space-4);
  font-size: 0; line-height: 0; color: transparent;
}
.card p.card-num::before, .card-num::before { content: ""; width: 28px; height: 2px; background: var(--accent); flex: none; }
.split { display: grid; gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr .95fr; } .split.rev > :first-child { order: 2; } }
.split figure { margin: 0; }
.split img { border-radius: var(--radius); border: 1px solid var(--border); width: 100%; max-height: 560px; object-fit: cover; }
.alt { background: var(--surface-2); border-block: 1px solid var(--border); }

/* Checklist */
.check { list-style: none; margin: 0 0 var(--space-6); padding: 0; }
.check li { display: flex; gap: var(--space-3); margin-bottom: var(--space-3); font-size: var(--text-base); }
.check svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 3px; }

/* Steps */
.steps { counter-reset: s; list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-5); }
.steps li { counter-increment: s; padding-left: var(--space-12); position: relative; }
.steps li::before {
  content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: -2px;
  font-family: Archivo, sans-serif; font-weight: 700; color: var(--accent-text); font-size: var(--text-sm);
  border: 1px solid var(--border); border-radius: var(--radius);
  width: 34px; height: 34px; display: grid; place-items: center; background: var(--surface);
}
.steps h3 { font-size: var(--text-base); margin-bottom: var(--space-1); }
.steps p { font-size: var(--text-sm); color: var(--text-muted); margin: 0; }

/* FAQ */
details.faq {
  border-bottom: 1px solid var(--border); padding: var(--space-4) 0;
}
details.faq summary {
  cursor: pointer; font-weight: 600; font-size: var(--text-base);
  list-style: none; display: flex; justify-content: space-between; gap: var(--space-4);
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--accent-text); font-family: Archivo, sans-serif; }
details.faq[open] summary::after { content: "–"; }
details.faq p { margin: var(--space-3) 0 0; color: var(--text-muted); font-size: var(--text-sm); }

/* CTA band */
.cta-band { background: var(--ink); color: var(--on-ink); }
.cta-band h2 { max-width: 26ch; }
.cta-band p { color: #d4d4d4; }
.cta-band .eyebrow { color: #ff6b6b; }
.cta-band .inner { display: grid; gap: var(--space-8); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 860px) { .cta-band .inner { grid-template-columns: 1.2fr auto; } }
.cta-band .btn-ghost { background: transparent; color: var(--on-ink); border-color: rgba(247,247,247,.38); }

/* Contact */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-5); }
.contact-list a { color: var(--accent-text); text-decoration: none; font-weight: 600; }
.contact-list a:hover { text-decoration: underline; }
.contact-list dt, .contact-list .lbl {
  font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .12em;
  color: var(--text-muted); margin-bottom: var(--space-1);
}
form .field { margin-bottom: var(--space-4); }
form label { display: block; font-size: var(--text-sm); font-weight: 600; margin-bottom: var(--space-2); }
form input, form textarea, form select {
  width: 100%; font: inherit; font-size: var(--text-sm); color: var(--text);
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: var(--space-3);
}
form textarea { min-height: 130px; resize: vertical; }
form .consent { display: flex; gap: var(--space-3); align-items: flex-start; font-size: var(--text-sm); color: var(--text-muted); }
form .consent input { width: auto; margin-top: 5px; }
form .consent label { font-weight: 400; font-size: var(--text-sm); margin: 0; }
form input[type="file"] { padding: var(--space-2); cursor: pointer; }
form input[type="file"]::file-selector-button {
  font: inherit; font-size: var(--text-sm); font-weight: 600; cursor: pointer;
  margin-right: var(--space-3); padding: var(--space-2) var(--space-4);
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface-2); color: var(--text);
}
form input[type="file"]::file-selector-button:hover { border-color: var(--accent); }
form label .field-hint { font-weight: 400; color: var(--text-muted); }
.card p.field-hint, .field-hint { font-size: var(--text-xs); color: var(--text-muted); margin: var(--space-2) 0 0; }
.card p.field-hint.is-error, .field-hint.is-error { color: var(--accent-text); }
.attach-note {
  margin: var(--space-4) 0 var(--space-6); padding: var(--space-4) var(--space-5);
  border-left: 3px solid var(--accent); background: var(--surface-2); border-radius: 0 var(--radius) var(--radius) 0;
}
.card .attach-note p { font-size: var(--text-sm); margin: 0; }
.card .attach-note p.attach-note-title { font-weight: 700; color: var(--text); margin-bottom: var(--space-2); }
.attach-note a { color: var(--accent-text); font-weight: 600; }
.attach-note ul { margin: var(--space-3) 0 0; padding-left: 1.1em; font-size: var(--text-sm); color: var(--text-muted); }
.attach-note li { margin-bottom: var(--space-1); }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-ink); padding-block: var(--space-16) var(--space-8); }
.site-footer .cols { display: grid; gap: var(--space-8); grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.site-footer h3 { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .12em; color: #a8a8ac; margin-bottom: var(--space-4); font-family: Inter, sans-serif; font-weight: 600; }
.site-footer a { color: #e0e0e0; text-decoration: none; font-size: var(--text-sm); }
.site-footer a:hover { color: #ff6b6b; }
.site-footer li { margin-bottom: var(--space-2); }
.site-footer p { font-size: var(--text-sm); color: #c2c2c6; }
.legal {
  margin-top: var(--space-12); padding-top: var(--space-6);
  border-top: 1px solid rgba(247,247,247,.16);
  display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6);
  font-size: var(--text-xs); color: #a0a0a4;
}
.legal a { font-size: var(--text-xs); }

/* Sticky mobile call bar */
.callbar { display: none; }
@media (max-width: 700px) {
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
    background: var(--border);
  }
  .callbar a {
    background: var(--ink); color: var(--on-ink); text-decoration: none;
    font-size: var(--text-sm); font-weight: 600; padding: var(--space-4);
    display: flex; align-items: center; justify-content: center; gap: var(--space-2);
  }
  .callbar a.primary { background: var(--accent); color: var(--on-accent); }
  .callbar svg { width: 17px; height: 17px; }
  body { padding-bottom: 58px; }
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Loxone Partnerhinweis */
/* ---- Partner: einheitliche Logo-Kacheln ---- */
.ptile {
  display: grid; place-items: center;
  width: 164px; height: 62px; padding: 8px 14px;
  background: #ffffff; border: 1px solid var(--border); border-radius: 4px;
  box-sizing: border-box; transition: border-color .18s ease, box-shadow .18s ease;
}
.ptile img { max-width: 100%; max-height: 34px; width: auto; height: auto; display: block; }
.ptile--lg { width: 190px; height: 74px; }
.ptile--sm { width: 134px; height: 52px; padding: 7px 10px; }
.ptile--sm img { max-height: 27px; }
.ptile--sm img[alt^="Loxone"] { max-height: 34px; }
.ptile--lg img { max-height: 42px; }
.ptile img[alt^="Loxone"] { max-height: 42px; }
.ptile--lg img[alt^="Loxone"] { max-height: 52px; }
a.ptile:hover { border-color: var(--accent); box-shadow: 0 2px 10px rgba(0,0,0,.08); }

.partner-bar { padding: var(--space-6) 0; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.partner-bar .inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-8);
}
.partner-bar__label {
  margin: 0; font-size: 0.75rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-muted);
}
.partner-bar__logos { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-left: auto; }
.partner-bar .ptile { opacity: .88; }
.partner-bar a.ptile:hover { opacity: 1; }

@media (max-width: 720px) {
  .partner-bar__logos { margin-left: 0; }
  .ptile { width: 140px; height: 54px; }
  .ptile img { max-height: 28px; }
  .ptile img[alt^="Loxone"] { max-height: 34px; }
}

.partner-list { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-10); }
.footer-partners {
  margin-top: var(--space-10); padding-top: var(--space-8);
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-5) var(--space-10);
}
.footer-partners .partner-copy { margin-top: 0; max-width: 62ch; flex: 1 1 340px; }
.partner-list .ptile { border-color: rgba(255,255,255,.2); }
.partner-copy { margin-top: var(--space-4); font-size: 0.75rem; color: #8e8e94; line-height: 1.5; max-width: 52ch; }
.partner-copy--light { color: var(--text-muted); max-width: 70ch; margin-top: var(--space-6); }
.partner-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-5); margin-top: var(--space-8);
}
.partner-card {
  display: block; padding: var(--space-6); border: 1px solid var(--border); border-radius: 4px;
  background: var(--surface-2); text-decoration: none; transition: border-color .18s ease, transform .18s ease;
}
.partner-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.partner-card p { margin: var(--space-5) 0 0; font-size: var(--text-sm); color: var(--text-muted); }
.partner-card strong { color: var(--text); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-4); }
#anfrage { scroll-margin-top: 96px; }
.card ul.file-list, .file-list { list-style: none; margin: var(--space-2) 0 0; padding: 0; display: grid; gap: var(--space-2); }
.file-list:empty { display: none; }
.card ul.file-list li, .file-list li {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-2) var(--space-2) var(--space-2) var(--space-3);
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-2);
  font-size: var(--text-sm);
}
.file-list .fn { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list .fs { color: var(--text-muted); font-size: var(--text-xs); flex: none; }
.file-list .file-del {
  flex: none; width: 30px; height: 30px; display: grid; place-items: center;
  border: 1px solid transparent; border-radius: var(--radius); background: none;
  color: var(--text-muted); font-size: 20px; line-height: 1; cursor: pointer;
}
.file-list .file-del:hover, .file-list .file-del:focus-visible { color: var(--accent-text); border-color: var(--accent); }

/* Über mich */
.about-photo { margin: 0; max-width: 374px; justify-self: center; }
.about-photo img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--border); display: block; }

/* Kopfzeile mit 7 Menüpunkten */
.site-header > .wrap { max-width: calc(var(--maxw) + 140px); }
.site-header .brand .claim span { display: none; }
@media (min-width: 1101px) {
  .nav { gap: var(--space-4); flex: 1; justify-content: center; }
  .site-header .brand { margin-right: 0; }
  .nav a { font-size: .9375rem; }
  .header-actions .btn-primary span { display: none; }
  .header-actions .btn-primary { padding-inline: var(--space-4); }
  .site-header .brand { padding-right: var(--space-3); }
}
@media (max-width: 1320px) { .site-header .brand .claim { display: none; } }
/* Hinweisblock mit Strich */
.hinweis { margin-top: var(--space-8); padding-left: var(--space-6); border-left: 2px solid #4A5A6A; color: #4A5A6A; font-size: var(--text-sm); line-height: 1.7; max-width: 68ch; }
[data-theme="dark"] .hinweis { color: #A9B6C3; border-left-color: #7D8C9B; }
/* Weitere Leistungen */
.xtra { margin-top: var(--space-10); display: grid; gap: var(--space-4); grid-template-columns: 1fr; padding: var(--space-6); background: var(--surface-2); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; }
.xtra-head h3 { margin-top: var(--space-2); font-size: var(--text-lg); }
.xtra-item { display: block; padding: var(--space-4) var(--space-5); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; color: var(--text); transition: border-color .2s, transform .2s; }
.xtra-item strong { display: block; font-family: Archivo, Inter, sans-serif; font-size: var(--text-base); }
.xtra-item span { display: block; margin-top: var(--space-1); font-size: var(--text-sm); color: var(--text-muted); }
.xtra-item:hover, .xtra-item:focus-visible { border-color: var(--accent); transform: translateY(-2px); }
@media (min-width: 820px) { .xtra { grid-template-columns: 1.1fr 1fr 1fr 1fr; align-items: center; } }
/* Qualifikationen */
.quali-sec { border-top: 1px solid var(--border); }
.quali { margin-top: var(--space-8); display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
.quali-group { padding: var(--space-6); background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--accent); border-radius: 0 0 var(--radius) var(--radius); }
.quali-group h3 { font-size: var(--text-base); text-transform: uppercase; letter-spacing: .06em; }
.quali-group ul { list-style: none; margin: var(--space-4) 0 0; padding: 0; }
.quali-group li { padding: var(--space-3) 0; border-top: 1px solid var(--border); }
.quali-group li:first-child { border-top: 0; padding-top: 0; }
.quali-group li strong { display: block; font-weight: 600; font-size: var(--text-sm); line-height: 1.45; color: var(--text); }
.quali-group li span { display: block; margin-top: 2px; font-size: var(--text-xs, .8125rem); color: var(--text-muted); }
@media (min-width: 820px) { .quali { grid-template-columns: 1fr 1fr; } }
/* Nachweis-Vorschau */
.quali-group li:has(.q-doc) { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-4); }
.q-txt { min-width: 0; }
.q-doc { position: relative; flex: none; line-height: 0; cursor: default; outline: none; -webkit-tap-highlight-color: transparent; }
.q-mini { height: 44px; width: auto; border: 1px solid var(--border); border-radius: 2px; background: #fff; opacity: .7; filter: grayscale(.5); transition: opacity .15s, filter .15s, border-color .15s; }
.q-doc:hover .q-mini, .q-doc.open .q-mini { opacity: 1; filter: none; border-color: #4A5A6A; }
.q-big { display: none; position: absolute; z-index: 40; right: calc(100% + 12px); top: 50%; transform: translateY(-50%); width: min(380px, 72vw); max-width: none; height: auto; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(0,0,0,.22); pointer-events: none; }
.q-land .q-big { width: min(540px, 80vw); }
@media (hover: hover), (pointer: fine) { .q-doc:hover .q-big { display: block; } }
.q-doc.open .q-big { display: block; }
.q-doc img { -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; }
/* Stand 2026-10-12f */
