/* ==========================================================================
   Pulse Elektrotechnik – Designsystem
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/assets/fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/assets/fonts/inter-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Farben */
  --navy-900: #0a0a0a;
  --navy-800: #161616;
  --navy-700: #232323;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --bg-soft: #f5f6f7;
  --white: #ffffff;
  /* Markenfarbe aus dem Logo (Neon-Gelbgrün) */
  --lime: #d8f718;
  --lime-600: #c4e00e;
  --lime-50: #f7fdd9;
  --accent-ink: #4b5800;   /* lesbare Akzentfarbe für Text auf Weiß (Kontrast > 7:1) */
  --blue-600: var(--lime);
  --blue-700: var(--accent-ink);
  --blue-100: #eefbb3;
  --blue-50: var(--lime-50);
  --green-600: #138a61;
  --green-500: #16a874;
  --green-50: #e9f8f1;
  --amber-500: #f5a524;
  --red-600: #c81e3a;
  --red-50: #fdecef;

  --text: var(--navy-900);
  --text-muted: #4b5563;
  --border: var(--slate-200);
  --accent: var(--blue-600);

  /* Typografie */
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.1875rem;
  --fs-xl: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
  --fs-2xl: clamp(1.5rem, 1.25rem + 1.1vw, 2rem);
  --fs-3xl: clamp(1.875rem, 1.4rem + 2vw, 2.75rem);
  --fs-4xl: clamp(2.125rem, 1.5rem + 2.9vw, 3.5rem);

  /* Abstände */
  --sp-1: .25rem; --sp-2: .5rem; --sp-3: .75rem; --sp-4: 1rem; --sp-5: 1.5rem;
  --sp-6: 2rem; --sp-7: 3rem; --sp-8: 4rem; --sp-9: 6rem;
  --section-y: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .06), 0 1px 3px rgba(0, 0, 0, .05);
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, .2), 0 2px 6px rgba(0, 0, 0, .05);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .32);
  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; overflow-x: clip; font-family: var(--font); font-size: var(--fs-base); line-height: 1.65; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-900); }
h1, h2, h3, h4 { line-height: 1.18; letter-spacing: -.02em; margin: 0 0 var(--sp-4); font-weight: 750; color: var(--navy-900); }
h1 { font-size: var(--fs-4xl); letter-spacing: -.03em; }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-xl); letter-spacing: -.01em; }
h4 { font-size: var(--fs-lg); }
p { margin: 0 0 var(--sp-4); }
ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.25rem; }
strong { font-weight: 650; }
:focus-visible { outline: 3px solid var(--navy-900); outline-offset: 3px; border-radius: 4px; }
.site-header :focus-visible, .site-footer :focus-visible, .section--dark :focus-visible, .page-hero :focus-visible, .cta-band :focus-visible, .quick-contact :focus-visible { outline-color: var(--lime); }
::selection { background: var(--lime); color: #000; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1000; background: var(--navy-900); color: #fff; padding: 12px 18px; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }
.container--narrow { max-width: 820px; }
.section { padding-block: var(--section-y); }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy-900); color: #d4d4d4; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--tight { padding-block: calc(var(--section-y) * .6); }
.icon { width: 22px; height: 22px; flex: none; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-xs); font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-900); margin-bottom: var(--sp-3); }
.eyebrow::before { content: ''; width: 22px; height: 3px; background: var(--lime-600); border-radius: 2px; }
.section--dark .eyebrow { color: var(--lime); }
.lead { font-size: var(--fs-lg); color: var(--text-muted); max-width: 64ch; }
.section--dark .lead { color: #bdbdbd; }
.section-head { max-width: 760px; margin-bottom: var(--sp-7); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.muted { color: var(--text-muted); }
.small { font-size: var(--fs-sm); }

/* ---------- Buttons ---------- */
.btn { --btn-bg: var(--lime); --btn-fg: #0a0a0a; --btn-bd: var(--lime);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px;
  font: inherit; font-size: var(--fs-sm); font-weight: 650; line-height: 1.2; text-decoration: none; white-space: nowrap;
  color: var(--btn-fg); background: var(--btn-bg); border: 1.5px solid var(--btn-bd); border-radius: 999px; cursor: pointer;
  transition: background .2s var(--ease), color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.btn:hover { --btn-bg: #e6ff4d; --btn-bd: #e6ff4d; color: var(--btn-fg); transform: translateY(-1px); box-shadow: 0 8px 22px -8px rgba(196, 224, 14, .75); }
.btn .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn--secondary { --btn-bg: transparent; --btn-fg: var(--navy-900); --btn-bd: var(--slate-300); }
.btn--secondary:hover { --btn-bg: var(--navy-900); --btn-fg: var(--lime); --btn-bd: var(--navy-900); box-shadow: none; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--navy-900); --btn-bd: #fff; }
.btn--light { --btn-bg: var(--lime); --btn-fg: #0a0a0a; --btn-bd: var(--lime); }
.btn--light:hover { --btn-bg: #e6ff4d; --btn-bd: #e6ff4d; --btn-fg: #0a0a0a; }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .35); }
.btn--ghost-light:hover { --btn-bg: rgba(255, 255, 255, .08); --btn-bd: var(--lime); --btn-fg: var(--lime); box-shadow: none; }
.btn--sm { min-height: 40px; padding: 8px 16px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; text-decoration: none; }
.text-link .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
/* Hintergrund als Pseudo-Element: backdrop-filter am Header selbst würde das mobile Menü (position: fixed) einschließen */
.site-header::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(10, 10, 10, .94); backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px); }
.site-header { border-bottom-color: #1c1c1c; }
.site-header.is-scrolled { border-bottom-color: #262626; box-shadow: 0 6px 24px -12px rgba(0, 0, 0, .6); }
.header-inner { display: flex; align-items: center; gap: var(--sp-5); height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy-900); margin-right: auto; flex: none; }
.logo img { height: 54px; width: auto; }
.site-footer .logo img { height: 64px; }

.main-nav { display: flex; align-items: center; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav a, .nav-toggle-sub { display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 8px; font-size: var(--fs-sm); font-weight: 560; color: #f2f2f2; text-decoration: none; background: none; border: 0; font-family: inherit; cursor: pointer; }
.main-nav a:hover, .nav-toggle-sub:hover, .main-nav a[aria-current="page"] { background: rgba(255, 255, 255, .08); color: #fff; }
.main-nav a[aria-current="page"] { color: var(--lime); }
.sub-nav a { color: var(--navy-900); }
.sub-nav a:hover { background: var(--slate-100); color: var(--navy-900); }
.sub-nav a[aria-current="page"] { color: var(--accent-ink); background: var(--lime-50); }
.nav-toggle-sub .icon { width: 16px; height: 16px; transition: transform .2s; }
.has-sub { position: relative; }
.has-sub[data-open="true"] .nav-toggle-sub .icon { transform: rotate(180deg); }
.sub-nav { position: absolute; top: calc(100% + 8px); left: 50%; translate: -50% 0; width: 560px; padding: 14px; list-style: none; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s var(--ease), visibility .18s; }
.has-sub[data-open="true"] .sub-nav { opacity: 1; visibility: visible; transform: none; }
.sub-nav a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; width: 100%; }
.sub-nav .sub-ico { width: 36px; height: 36px; border-radius: 9px; background: var(--navy-900); color: var(--lime); display: grid; place-items: center; flex: none; }
.sub-nav .sub-ico .icon { width: 18px; height: 18px; }
.sub-nav .sub-all { grid-column: 1 / -1; border-top: 1px solid var(--border); margin-top: 6px; padding-top: 6px; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-phone { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); color: #fff; text-decoration: none; flex: none; }
.header-phone:hover { border-color: var(--lime); }
.header-phone .icon { color: var(--lime); }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .18); background: transparent; color: #fff; align-items: center; justify-content: center; cursor: pointer; }

@media (max-width: 1260px) {
  .main-nav a, .nav-toggle-sub { padding-inline: 9px; }
}
@media (max-width: 1240px) {
  .header-phone { display: none; }
}
@media (max-width: 1180px) {
  .menu-toggle { display: inline-flex; }
  .header-cta .btn { display: none; }
  .main-nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--navy-900); display: block; overflow-y: auto; padding: 16px clamp(16px, 4vw, 32px) 40px;
    transform: translateX(100%); visibility: hidden; transition: transform .28s var(--ease), visibility .28s; border-top: 1px solid rgba(255, 255, 255, .1); }
  .nav-open .main-nav { transform: none; visibility: visible; }
  .nav-open { overflow: hidden; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .main-nav a, .nav-toggle-sub { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: var(--fs-base); border-radius: 0; }
  .main-nav a:hover, .nav-toggle-sub:hover { background: none; }
  .sub-nav { position: static; translate: none; width: auto; display: none; grid-template-columns: 1fr; box-shadow: none; border: 0; padding: 0 0 12px; opacity: 1; visibility: visible; transform: none; }
  .has-sub[data-open="true"] .sub-nav { display: grid; }
  .sub-nav { background: transparent; }
  .sub-nav a { padding: 10px 4px; justify-content: flex-start; font-size: var(--fs-sm); color: #e5e5e5; }
  .sub-nav a:hover { background: none; color: var(--lime); }
  .sub-nav .sub-ico { background: rgba(216, 247, 24, .12); }
  .sub-nav .sub-all { border-top-color: rgba(255, 255, 255, .1); }
  .mobile-nav-cta { display: grid !important; gap: 12px; margin-top: 24px; }
}
.mobile-nav-cta { display: none !important; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(ellipse 55% 70% at 85% 20%, rgba(216, 247, 24, .13), transparent 70%), var(--navy-900); color: #cfcfcf; padding-block: clamp(2.5rem, 2rem + 4vw, 5.5rem) clamp(3rem, 2rem + 4vw, 6rem); }
.hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse 70% 80% at 70% 30%, #000 20%, transparent 75%); pointer-events: none; }
.hero h1 { color: #fff; }
.hero .eyebrow { color: var(--lime); }
.hero .lead { color: #bdbdbd; }
.hero .btn--secondary { --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .35); }
.hero .btn--secondary:hover { --btn-bg: transparent; --btn-fg: var(--lime); --btn-bd: var(--lime); }
.hero :focus-visible { outline-color: var(--lime); }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { margin-bottom: var(--sp-5); }
.hero h1 .hl { color: var(--lime); }
.hero .lead { margin-bottom: var(--sp-6); }
.hero__media { position: relative; }
.hero__media .media-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .8); border: 1px solid rgba(255, 255, 255, .12); }
.hero__badge { position: absolute; left: -18px; bottom: -22px; display: flex; gap: 12px; align-items: center; background: #fff; color: var(--navy-900); border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow); max-width: 290px; font-size: var(--fs-sm); line-height: 1.35; }
.hero__badge .badge-ico { width: 42px; height: 42px; border-radius: 10px; background: var(--navy-900); color: var(--lime); display: grid; place-items: center; flex: none; }
.hero__points { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: var(--sp-6) 0 0; font-size: var(--fs-sm); color: #d4d4d4; }
.hero__points li { display: inline-flex; align-items: center; gap: 8px; }
.hero__points .icon { width: 18px; height: 18px; color: var(--lime); }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__badge { left: 12px; bottom: 12px; }
}

/* Page hero (Unterseiten) */
.page-hero { position: relative; background: var(--navy-900); color: #cfcfcf; padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); overflow: hidden; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 45% 80% at 92% 0%, rgba(216, 247, 24, .16), transparent 70%); pointer-events: none; }
.page-hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 40px 40px; pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); }
.page-hero .lead { color: #bdbdbd; }
.page-hero .eyebrow { color: var(--lime); }
.page-hero__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); border: 1px solid rgba(255, 255, 255, .12); }
.page-hero--simple .page-hero__grid { grid-template-columns: 1fr; }
@media (max-width: 900px) { .page-hero__grid { grid-template-columns: 1fr; } .page-hero__media { max-width: 520px; } }

.breadcrumbs { font-size: var(--fs-xs); margin-bottom: var(--sp-5); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumbs li:not(:last-child)::after { content: '/'; margin-left: 6px; opacity: .5; }
.breadcrumbs a { color: #a3a3a3; text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs [aria-current] { color: #fff; }

/* ---------- Trust-Leiste ---------- */
.trust { border-bottom: 1px solid var(--border); background: #fff; }
.trust__list { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 0; }
.trust__item { display: flex; gap: 14px; align-items: flex-start; padding: 26px 22px; border-right: 1px solid var(--border); }
.trust__item:last-child { border-right: 0; }
.trust__item .t-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--navy-900); color: var(--lime); display: grid; place-items: center; flex: none; }
.trust__item strong { display: block; font-size: var(--fs-sm); line-height: 1.3; margin-bottom: 2px; }
.trust__item span { font-size: var(--fs-xs); color: var(--text-muted); line-height: 1.45; display: block; }
@media (max-width: 960px) { .trust__list { grid-template-columns: 1fr 1fr; } .trust__item:nth-child(2) { border-right: 0; } .trust__item:nth-child(-n+2) { border-bottom: 1px solid var(--border); } }
@media (max-width: 560px) { .trust__list { grid-template-columns: 1fr; } .trust__item { border-right: 0; border-bottom: 1px solid var(--border); } .trust__item:last-child { border-bottom: 0; } }

/* ---------- Grids & Karten ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1020px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(20px, 2.4vw, 28px); transition: border-color .2s, box-shadow .25s var(--ease), transform .25s var(--ease); }
.card h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card--link:hover { border-color: var(--lime-600); box-shadow: var(--shadow); transform: translateY(-3px); }
.card--link a.stretched::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.card--link h3 a { color: inherit; text-decoration: none; }
.card__ico { width: 50px; height: 50px; border-radius: 13px; background: var(--navy-900); color: var(--lime); display: grid; place-items: center; margin-bottom: var(--sp-4); }
.card__ico .icon { width: 24px; height: 24px; }
.card__more { margin-top: var(--sp-4); display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-sm); font-weight: 650; color: var(--blue-700); }
.card__more .icon { width: 16px; height: 16px; transition: transform .2s; }
.card--link:hover .card__more .icon { transform: translateX(3px); }
.card--soft { background: var(--bg-soft); border-color: transparent; }
.card--dark { background: var(--navy-800); border-color: rgba(255, 255, 255, .08); color: #cfcfcf; }
.card--dark h3 { color: #fff; }
.card--dark .card__ico { background: rgba(216, 247, 24, .12); color: var(--lime); }

.service-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.service-card__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.service-card:hover .service-card__img img { transform: scale(1.04); }
.service-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.service-card__body p { font-size: var(--fs-sm); color: var(--text-muted); }
.service-card__body .card__more { margin-top: auto; }

.check-list { list-style: none; padding: 0; margin: 0 0 var(--sp-4); display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 32px; line-height: 1.5; }
.check-list li::before { content: ''; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0a0a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 13px no-repeat; }

.check-list--2 { grid-template-columns: 1fr 1fr; gap: 12px 28px; }
@media (max-width: 640px) { .check-list--2 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--top { align-items: start; }
.split__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.split--contact { grid-template-columns: .8fr 1.2fr; }
@media (max-width: 900px) { .split, .split--contact { grid-template-columns: 1fr; } .split--reverse .split__media { order: -1; } }

.feature-detail { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature-detail .card { display: flex; gap: 16px; align-items: flex-start; }
.feature-detail .card .card__ico { margin: 0; flex: none; width: 44px; height: 44px; }
.feature-detail h3 { font-size: var(--fs-base); margin-bottom: 4px; }
.feature-detail p { font-size: var(--fs-sm); color: var(--text-muted); }
@media (max-width: 760px) { .feature-detail { grid-template-columns: 1fr; } }

/* Ablauf */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; padding: 0; margin: 0; position: relative; }
.steps--5 { grid-template-columns: repeat(5, 1fr); }
.steps li { position: relative; padding-top: 66px; }
.steps li::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font-weight: 750; font-size: var(--fs-sm); background: var(--navy-900); color: var(--lime); border: 2px solid var(--navy-900); z-index: 1; }
.steps li::after { content: ''; position: absolute; top: 25px; left: 50px; right: -24px; height: 3px; background: linear-gradient(90deg, var(--lime-600), var(--slate-200)); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: var(--fs-base); margin-bottom: 6px; }
.steps p { font-size: var(--fs-sm); color: var(--text-muted); margin: 0; }
.section--dark .steps li::before { background: var(--navy-900); color: var(--lime); border-color: var(--lime); }
.section--dark .steps li::after { background: linear-gradient(90deg, var(--lime), rgba(255, 255, 255, .1)); }
.section--dark .steps p { color: #a3a3a3; }
@media (max-width: 960px) { .steps, .steps--5 { grid-template-columns: 1fr 1fr; } .steps li::after { display: none; } }
@media (max-width: 560px) { .steps, .steps--5 { grid-template-columns: 1fr; } .steps li { padding: 0 0 0 68px; min-height: 50px; } }

/* Zielgruppen-Chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li { padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-size: var(--fs-sm); font-weight: 560; }
.section--dark .chips li { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: #e5e5e5; }

/* Hinweis-Box */
.note { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--border); border-left: 4px solid var(--lime-600); font-size: var(--fs-sm); color: var(--slate-700); }
.note .icon { color: var(--navy-900); margin-top: 2px; }
.note p:last-child { margin: 0; }
.note--warn { background: #fff8eb; border-color: #fbe2b0; }
.note--warn .icon { color: #b7791f; }

/* Platzhalter-Markierung (nur sichtbar, solange Daten fehlen) */
.ph { background: #fff3cd; color: #7a5a00; padding: 0 4px; border-radius: 4px; font-weight: 600; }
.section--dark .ph, .site-footer .ph, .page-hero .ph { background: rgba(245, 165, 36, .2); color: #ffd58a; }

/* CTA-Band */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--navy-900); color: #cfcfcf; padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: 1.4fr auto; gap: 28px; align-items: center; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 100% at 100% 0%, rgba(216, 247, 24, .18), transparent 70%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; font-size: var(--fs-2xl); margin-bottom: var(--sp-2); }
.cta-band p { margin: 0; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } }

/* Region */
.region { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 900px) { .region { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--lime-600); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 650; position: relative; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 20px; top: 50%; width: 22px; height: 22px; translate: 0 -50%; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0a0a' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__a { padding: 0 22px 20px; color: var(--text-muted); }
.faq .faq__a p:last-child { margin: 0; }

/* Projektbeispiele */
.example-tag { position: absolute; top: 14px; left: 14px; z-index: 2; background: rgba(11, 27, 43, .85); color: #fff; font-size: .72rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.meta-list { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 var(--sp-3); }
.meta-list li { font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--slate-100); color: var(--slate-700); }

/* ---------- Formulare ---------- */
.form-wrap { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 40px); box-shadow: var(--shadow); }
.form-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; background: var(--slate-100); border-radius: 999px; margin-bottom: var(--sp-6); }
.form-tabs button { flex: 1 1 auto; border: 0; background: none; font: inherit; font-size: var(--fs-sm); font-weight: 600; padding: 10px 16px; border-radius: 999px; cursor: pointer; color: var(--slate-700); }
.form-tabs button[aria-selected="true"] { background: #fff; color: var(--navy-900); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-size: var(--fs-sm); font-weight: 600; margin-bottom: 6px; color: var(--navy-900); }
.field .req { color: var(--red-600); margin-left: 2px; }
.field .opt { color: var(--slate-500); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: #fff; border: 1.5px solid var(--slate-300); border-radius: 10px; padding: 12px 14px; min-height: 50px; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; padding-right: 42px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--slate-500); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-900); box-shadow: 0 0 0 4px rgba(196, 224, 14, .45); }
.field .hint { font-size: var(--fs-xs); color: var(--slate-500); margin-top: 6px; }
.field .error { display: none; font-size: var(--fs-xs); color: var(--red-600); margin-top: 6px; font-weight: 550; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red-600); background: #fffafb; }
.field.has-error .error { display: block; }
.field--check { display: flex; gap: 12px; align-items: flex-start; }
.field--check input { width: 22px; height: 22px; min-height: 0; margin: 2px 0 0; flex: none; accent-color: var(--navy-900); }
.field--check label { font-weight: 400; color: var(--text-muted); margin: 0; font-size: var(--fs-sm); }
.field--check.has-error label { color: var(--red-600); }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-row label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1.5px solid var(--slate-300); border-radius: 999px; cursor: pointer; font-weight: 550; margin: 0; }
.radio-row input { accent-color: var(--navy-900); width: 18px; height: 18px; min-height: 0; }
.radio-row label:has(input:checked) { border-color: var(--navy-900); background: var(--lime-50); }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.file-drop { position: relative; border: 1.5px dashed var(--slate-300); border-radius: 12px; padding: 20px; text-align: center; background: var(--bg-soft); transition: border-color .2s, background .2s; }
.file-drop:hover, .file-drop.is-drag { border-color: var(--navy-900); background: var(--lime-50); }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; min-height: 0; }
.file-drop .icon { margin: 0 auto 8px; color: var(--navy-900); }
.file-drop p { margin: 0; font-size: var(--fs-sm); }
.file-list { list-style: none; padding: 0; margin: 10px 0 0; font-size: var(--fs-xs); display: grid; gap: 4px; text-align: left; }
.file-list li { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 6px 10px; display: flex; justify-content: space-between; gap: 10px; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; margin-top: 18px; padding: 16px 18px; border-radius: 12px; font-size: var(--fs-sm); }
.form-status.is-error { display: block; background: var(--red-50); color: var(--red-600); border: 1px solid #f6c6cf; }
.form-success { display: none; text-align: center; padding: clamp(20px, 4vw, 40px) 10px; }
.form-success .check-big { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: var(--lime); color: var(--navy-900); display: grid; place-items: center; }
.form-success .check-big .icon { width: 36px; height: 36px; }
form.is-sent { display: none; }
form.is-sent + .form-success { display: block; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.form-foot .small { max-width: 46ch; margin: 0; }
.privacy-hint { font-size: var(--fs-xs); color: var(--slate-500); }

/* Kontaktkarte */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .c-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-900); color: var(--lime); flex: none; }
.section--dark .contact-list .c-ico, .card--dark .c-ico, .site-footer .c-ico { background: rgba(216, 247, 24, .12); color: var(--lime); }
.contact-list strong { display: block; font-size: var(--fs-sm); }
.contact-list span, .contact-list a { font-size: var(--fs-sm); }

/* Prose (Rechtstexte, Fließtext) */
.prose { max-width: 76ch; }
.prose h2 { font-size: var(--fs-2xl); margin-top: var(--sp-7); }
.prose h3 { font-size: var(--fs-lg); margin-top: var(--sp-6); }
.prose li { margin-bottom: 6px; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); margin-bottom: var(--sp-5); }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose th { background: var(--bg-soft); }

/* Stellenangebote */
.job { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; }
@media (max-width: 640px) { .job { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #a3a3a3; font-size: var(--fs-sm); padding-top: clamp(3rem, 2rem + 3vw, 5rem); }
.site-footer a { color: #e5e5e5; text-decoration: none; }
.site-footer a:hover { color: var(--lime); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-grid h2 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 16px; font-weight: 700; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer .logo { color: #fff; margin-bottom: 16px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: var(--fs-xs); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 0; }
.footer-bottom button { background: none; border: 0; color: #e5e5e5; font: inherit; cursor: pointer; padding: 0; }
.footer-bottom button:hover { color: #fff; text-decoration: underline; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Mobile Schnellkontakt */
.quick-contact { display: none; }
@media (max-width: 760px) {
  .quick-contact { position: fixed; z-index: 90; left: 12px; right: 12px; bottom: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border-radius: 18px; background: rgba(10, 10, 10, .94); backdrop-filter: blur(8px); box-shadow: var(--shadow-lg); transition: transform .3s var(--ease); }
  .quick-contact.is-hidden { transform: translateY(140%); }
  .quick-contact .btn { min-height: 44px; }
  body { padding-bottom: 76px; }
  .quick-contact--single { grid-template-columns: 1fr; }
}

/* Consent-Hinweis */
.consent { position: fixed; z-index: 200; left: 16px; bottom: 16px; max-width: 460px; background: var(--navy-900); color: #d4d4d4; border: 1px solid #2a2a2a; border-top: 3px solid var(--lime); border-radius: var(--radius); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .7); padding: 22px 24px; font-size: var(--fs-sm); opacity: 0; transform: translateY(16px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.consent.is-visible { opacity: 1; transform: none; }
.consent h2 { font-size: var(--fs-base); color: #fff; margin-bottom: 8px; }
.consent p { margin: 0; }
.consent a { color: var(--lime); }
.consent .btn-row { margin-top: 16px; align-items: center; }
.consent__link { font-weight: 600; margin-left: 4px; }
.consent :focus-visible { outline-color: var(--lime); }
@media (max-width: 760px) { .consent { left: 12px; right: 12px; bottom: 12px; max-width: none; z-index: 210; } }
.toggle-row { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--border); }
.toggle-row:last-of-type { border-bottom: 0; }
.switch { position: relative; width: 52px; height: 30px; flex: none; }
.switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; background: var(--slate-300); border-radius: 999px; transition: background .2s; }
.switch span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease); }
.switch input:checked + span { background: var(--navy-900); }
.switch input:checked + span::after { transform: translateX(22px); }
.switch input:disabled + span { opacity: .6; }
.switch input:focus-visible + span { outline: 3px solid var(--lime-600); outline-offset: 2px; }

/* Animation */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* 404 */
.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: var(--section-y); }
.error-code { font-size: clamp(5rem, 3rem + 10vw, 9rem); font-weight: 800; line-height: 1; letter-spacing: -.05em; background: linear-gradient(135deg, var(--navy-900) 40%, var(--lime-600)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; }

@media print {
  .site-header, .site-footer, .quick-contact, .consent, .cta-band, form { display: none !important; }
  body { padding: 0; }
}

/* Fotos */
picture { display: block; }
img.photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: #1c1c1c; }
.service-card__img picture { height: 100%; }
.service-card__img img.photo { height: 100%; }
.main-nav a, .nav-toggle-sub, .header-phone { white-space: nowrap; }
@media (min-width: 1025px) and (max-width: 1400px) { .header-phone { display: none; } }
.focus-card { padding: 32px; scroll-margin-top: 110px; }
.focus-card h2 { font-size: var(--fs-2xl, 1.75rem); margin-bottom: 12px; }
.focus-card > p:not(.eyebrow) { color: var(--text-muted); margin-bottom: 20px; }
@media (max-width: 760px) { .focus-grid { grid-template-columns: 1fr; } .focus-card { padding: 24px; } }
.focus-card__img { margin: -32px -32px 24px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; } @media (max-width: 760px) { .focus-card__img { margin: -24px -24px 20px; } }

/* ---------- Elektro-Notdienst ---------- */
.main-nav .nav-emergency a .icon { width: 16px; height: 16px; color: var(--lime); }
.emergency-band { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: clamp(22px, 3vw, 36px); border-radius: var(--radius-lg); background: var(--navy-900); color: #cfcfcf; border-left: 6px solid var(--lime); }
.emergency-band h2 { color: #fff; font-size: var(--fs-xl); margin-bottom: 6px; }
.emergency-band .eyebrow { color: var(--lime); margin-bottom: 6px; }
.emergency-band p:last-child { margin: 0; }
.emergency-band__ico { width: 56px; height: 56px; border-radius: 14px; background: var(--lime); color: var(--navy-900); display: grid; place-items: center; }
.emergency-band__ico .icon { width: 28px; height: 28px; }
.emergency-band :focus-visible { outline-color: var(--lime); }
@media (max-width: 900px) { .emergency-band { grid-template-columns: 1fr; } }
.emergency-facts { border-bottom: 1px solid var(--border); background: #fff; }
.emergency-facts__list { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; margin: 0; padding: 0; }
.emergency-facts__list li { display: flex; gap: 14px; align-items: flex-start; padding: 24px 22px; border-right: 1px solid var(--border); }
.emergency-facts__list li:last-child { border-right: 0; }
.emergency-facts .t-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--navy-900); color: var(--lime); display: grid; place-items: center; flex: none; }
.emergency-facts strong { display: block; font-size: var(--fs-sm); margin-bottom: 2px; }
.emergency-facts a, .emergency-facts span:not(.t-ico):not(.ph) { font-size: var(--fs-sm); color: var(--text-muted); }
.emergency-facts a { font-weight: 650; color: var(--navy-900); font-size: var(--fs-lg); }
@media (max-width: 760px) { .emergency-facts__list { grid-template-columns: 1fr; } .emergency-facts__list li { border-right: 0; border-bottom: 1px solid var(--border); } .emergency-facts__list li:last-child { border-bottom: 0; } }
.safety-box { font-size: var(--fs-base); }
.safety-box h2 { font-size: var(--fs-xl); margin-bottom: 10px; }
.safety-box ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; }
.emergency-band .ph { background: rgba(245, 165, 36, .2); color: #ffd58a; }
