/* ==========================================================================
   Metallbau Manfred Eisele – Stylesheet
   Bei JEDER Aenderung an CSS/JS: ?v= in allen HTML-Dateien hochzaehlen.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink: #16191d;
  --ink-2: #1f2328;
  --ink-3: #2b3036;
  --text: #1c1f24;
  --muted: #555d67;
  --muted-dark: #a7aeb8;
  --paper: #f4f3ef;
  --paper-2: #eae8e2;
  --white: #ffffff;
  --line: #dedbd3;
  --line-dark: rgba(255, 255, 255, 0.1);
  --spark: #e8641b;
  --spark-hover: #ff7a2e;
  --spark-text: #a8410b;

  --font-head: 'Archivo', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Barlow', 'Segoe UI', Roboto, Arial, sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --radius: 4px;
  --radius-lg: 10px;
  --section: clamp(72px, 10vw, 136px);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow: 0 18px 50px rgba(22, 25, 29, 0.14);
}

/* ---------- Reset / Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  scrollbar-width: thin;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
/* Kontaktdaten ohne JS: im Quelltext gespiegelt (Spam-Schutz), fuer Menschen richtig herum */
.rev { unicode-bidi: isolate-override; direction: rtl; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
  hyphens: auto;
  overflow-wrap: break-word;
}
h2 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); font-stretch: 112%; }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); font-weight: 700; }

:focus-visible { outline: 3px solid var(--spark); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  padding: 12px 18px; background: var(--spark); color: var(--ink);
  font-weight: 600; text-decoration: none; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--dark { background: var(--ink); color: var(--white); }
.section--white { background: var(--white); }

/* ---------- Typo-Bausteine ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 18px;
  font-family: var(--font-head); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--spark-text);
}
.eyebrow::before { content: ''; width: 28px; height: 3px; background: var(--spark); flex-shrink: 0; }
.section--dark .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow { color: var(--spark); }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--muted); max-width: 62ch; }
.section--dark .lead { color: var(--muted-dark); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  font-family: var(--font-head); font-size: 0.95rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  line-height: 1.2; text-align: center;
  border: 2px solid transparent; border-radius: var(--radius); cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--spark); color: var(--ink); }
.btn--primary:hover { background: var(--spark-hover); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.4); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.06); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.9rem;
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  color: var(--text);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow:hover { color: var(--spark-text); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(22, 25, 29, 0.97);
  border-bottom: 1px solid var(--line-dark);
  transition: box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
@supports (backdrop-filter: blur(10px)) {
  .site-header { background: rgba(22, 25, 29, 0.9); backdrop-filter: blur(12px); }
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 100%; }
.brand { display: flex; align-items: center; flex-shrink: 0; margin-right: auto; }
.brand img { height: 42px; width: auto; }

.main-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; }
.main-nav li > a {
  display: block; padding: 10px 14px;
  font-family: var(--font-head); font-size: 0.86rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s var(--ease);
  position: relative;
}
.main-nav li > a::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--spark); transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.main-nav li > a:hover,
.main-nav li > a[aria-current='page'] { color: var(--white); }
.main-nav li > a:hover::after,
.main-nav li > a[aria-current='page']::after { transform: scaleX(1); }

.mobile-nav-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem;
  color: var(--white); text-decoration: none; white-space: nowrap;
}
.header-phone svg { width: 18px; height: 18px; color: var(--spark); }
.header-phone:hover { color: var(--spark); }
.header-actions .btn { min-height: 44px; padding: 10px 18px; font-size: 0.82rem; }

.nav-toggle {
  display: none; flex-shrink: 0;
  width: 48px; height: 48px; margin-right: -8px; padding: 0;
  background: none; border: 0; cursor: pointer; color: var(--white);
  align-items: center; justify-content: center;
}
.nav-toggle-bars { position: relative; width: 26px; height: 2px; background: currentColor; transition: background-color 0.2s; }
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: ''; position: absolute; left: 0; width: 26px; height: 2px; background: currentColor;
  transition: transform 0.25s var(--ease);
}
.nav-toggle-bars::before { transform: translateY(-8px); }
.nav-toggle-bars::after { transform: translateY(8px); }
.nav-open .nav-toggle-bars { background: transparent; }
.nav-open .nav-toggle-bars::before { transform: rotate(45deg); }
.nav-open .nav-toggle-bars::after { transform: rotate(-45deg); }

/* ---------- Hero (Startseite) ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(100svh, 900px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--header-h) + 48px);
  background: var(--ink); color: var(--white);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(22, 25, 29, 0.94) 0%, rgba(22, 25, 29, 0.72) 45%, rgba(22, 25, 29, 0.15) 100%),
    linear-gradient(0deg, rgba(22, 25, 29, 0.95) 0%, rgba(22, 25, 29, 0) 40%);
}
.hero-content { padding-bottom: clamp(40px, 7vw, 80px); }
.hero-title { margin: 0 0 24px; }
.hero-kicker {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--spark); font-stretch: 100%;
}
.hero-kicker::before { content: ''; width: 28px; height: 3px; background: var(--spark); flex-shrink: 0; }
.hero-claim {
  display: block;
  font-size: clamp(2.2rem, 10.2vw, 6.4rem);
  font-weight: 800; font-stretch: 125%;
  line-height: 0.95; letter-spacing: -0.02em; text-transform: uppercase;
}
.hero-claim em { font-style: normal; color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, 0.9); }
.hero-text { max-width: 560px; font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: rgba(255, 255, 255, 0.82); margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-ctas .btn { white-space: normal; max-width: 100%; }

.hero-facts {
  border-top: 1px solid var(--line-dark);
  background: rgba(22, 25, 29, 0.55);
}
.hero-facts ul {
  display: grid; grid-template-columns: repeat(3, 1fr); list-style: none;
}
.hero-facts li {
  display: flex; align-items: center; gap: 14px;
  padding: 22px 24px 22px 0;
  font-size: 0.98rem; color: rgba(255, 255, 255, 0.85); line-height: 1.35;
}
.hero-facts li + li { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.hero-facts svg { width: 26px; height: 26px; color: var(--spark); flex-shrink: 0; }
.hero-facts strong { display: block; font-family: var(--font-head); color: var(--white); font-size: 0.98rem; letter-spacing: 0.02em; }

/* ---------- Unterseiten-Hero ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--header-h) + clamp(56px, 9vw, 120px)) 0 clamp(56px, 8vw, 104px);
  background: var(--ink); color: var(--white);
}
.page-hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(22, 25, 29, 0.95) 0%, rgba(22, 25, 29, 0.78) 55%, rgba(22, 25, 29, 0.45) 100%);
}
.page-hero h1 { font-size: clamp(1.9rem, 4.6vw, 3.4rem); font-stretch: 112%; max-width: 22ch; margin-bottom: 22px; }
.page-hero .lead { color: rgba(255, 255, 255, 0.82); }
.page-hero--plain { padding-bottom: clamp(40px, 6vw, 72px); }
.page-hero--plain::before { display: none; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-bottom: 26px; font-size: 0.88rem; color: var(--muted-dark); }
.breadcrumb a { color: var(--muted-dark); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb li + li::before { content: '/'; margin-right: 8px; opacity: 0.5; }

/* ---------- Leistungs-Karten ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; text-decoration: none; color: inherit;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.service-card:hover .service-card-media img { transform: scale(1.05); }
.service-card-num {
  position: absolute; left: 16px; top: 16px;
  padding: 6px 10px; background: var(--ink); color: var(--spark);
  font-family: var(--font-head); font-weight: 800; font-size: 0.85rem; letter-spacing: 0.08em;
  border-radius: var(--radius);
}
.service-card-body { display: flex; flex-direction: column; flex: 1; padding: 26px 26px 28px; }
.service-card-body p { color: var(--muted); }
.service-card-body .link-arrow { margin-top: auto; }

.center-cta { margin-top: clamp(36px, 5vw, 56px); text-align: center; }

/* ---------- Laufband ---------- */
.marquee {
  overflow: hidden; background: var(--spark); color: var(--ink);
  padding: 18px 0; border-top: 1px solid rgba(0, 0, 0, 0.1); border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.marquee-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee-set { display: flex; align-items: center; gap: 36px; padding: 0 18px; list-style: none; }
.marquee-set li {
  display: flex; align-items: center; gap: 36px;
  font-family: var(--font-head); font-weight: 800; font-stretch: 125%;
  font-size: clamp(1rem, 2vw, 1.35rem); text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap;
}
.marquee-set li::after { content: ''; width: 10px; height: 10px; background: var(--ink); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-33.333%); } }

/* ---------- Ueber / Praezision ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.about-media { position: relative; padding: 0 12% 14% 0; }
.about-media .img-main { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-media .img-sub {
  position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius-lg); border: 6px solid var(--ink);
}
.about-badge {
  position: absolute; left: -12px; bottom: 22%;
  padding: 16px 20px; background: var(--spark); color: var(--ink);
  font-family: var(--font-head); font-weight: 800; line-height: 1.15; font-size: 0.95rem;
  border-radius: var(--radius); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
  max-width: 220px;
}
.about-badge small { display: block; font-weight: 600; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 4px; }

.check-list { list-style: none; display: grid; gap: 14px; margin: 28px 0 34px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; line-height: 1.45; }
.check-list svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--spark); margin-top: 1px; }
.check-list strong { font-family: var(--font-head); font-weight: 700; }
.section--dark .check-list li { color: rgba(255, 255, 255, 0.86); }
.section--dark .check-list strong { color: var(--white); }

/* ---------- Ablauf ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; counter-reset: step; }
.step { position: relative; padding: 0 28px 0 0; }
.step-num {
  display: flex; align-items: center; gap: 16px; margin-bottom: 22px;
  font-family: var(--font-head); font-weight: 800; font-stretch: 125%; font-size: 2.4rem; line-height: 1;
  color: var(--spark-text);
}
.step-num::after { content: ''; flex: 1; height: 2px; background: var(--line); }
.step:last-child .step-num::after { background: linear-gradient(90deg, var(--line), transparent); }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); margin: 0; }

/* ---------- Leistungen-Detail (Unterseite) ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.feature + .feature { margin-top: clamp(72px, 10vw, 128px); }
.feature--reverse .feature-media { order: 2; }
.feature-media { position: relative; }
.feature-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.feature-media::after {
  content: ''; position: absolute; z-index: -1; inset: 24px -24px -24px 24px;
  border: 2px solid var(--spark); border-radius: var(--radius-lg); opacity: 0.55;
}
.feature--reverse .feature-media::after { inset: 24px 24px -24px -24px; }
.feature-num {
  font-family: var(--font-head); font-weight: 800; font-stretch: 125%;
  font-size: 0.85rem; letter-spacing: 0.16em; color: var(--spark-text); margin-bottom: 14px;
}
.feature h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.feature p { color: var(--muted); }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 24px 0 30px; }
.tag-list li {
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--white); font-size: 0.92rem; font-weight: 500;
}

/* ---------- Materialien ---------- */
.materials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--ink-3); border-radius: var(--radius-lg); overflow: hidden; }
.material { padding: clamp(28px, 4vw, 44px); background: var(--ink-2); }
.material-swatch {
  width: 56px; height: 56px; margin-bottom: 22px; border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.material--alu .material-swatch { background: linear-gradient(135deg, #d9dde2, #9aa2ab 55%, #e8ebee); }
.material--edelstahl .material-swatch { background: repeating-linear-gradient(100deg, #b9bfc6 0 2px, #cfd4d9 2px 5px, #a9b0b8 5px 7px); }
.material--stahl .material-swatch { background: linear-gradient(135deg, #4a5058, #2b3036 60%, #5b626b); }
.material h3 { color: var(--white); font-stretch: 112%; }
.material p { color: var(--muted-dark); margin: 0; font-size: 1rem; }

/* ---------- CTA-Band ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--white); }
.cta-band-media { position: absolute; inset: 0; z-index: -2; }
.cta-band-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(22, 25, 29, 0.95), rgba(22, 25, 29, 0.7)); }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); }
.cta-band h2 { margin: 0 0 10px; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, 0.78); font-size: 1.15rem; }
.cta-band .hero-ctas { flex-shrink: 0; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact-info h2 { margin-bottom: 18px; }
.contact-list { list-style: none; display: grid; gap: 14px; margin: 32px 0; }
.contact-item {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  text-decoration: none; color: inherit;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
a.contact-item:hover { border-color: var(--spark); transform: translateX(4px); }
.contact-icon {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 48px; height: 48px; border-radius: var(--radius); background: var(--ink); color: var(--spark);
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-item small { display: block; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact-item strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; overflow-wrap: anywhere; }
.contact-photo { border-radius: var(--radius-lg); aspect-ratio: 16 / 10; width: 100%; object-fit: cover; object-position: 50% 35%; }

.form-card {
  background: var(--white); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow); border-top: 4px solid var(--spark);
}
.form-card h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin-bottom: 8px; }
.form-card > p { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; font-size: 0.95rem; }
.form-field label .opt { font-weight: 400; color: var(--muted); }
.form-input {
  width: 100%; min-height: 52px; padding: 13px 16px;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius);
  font-size: 1rem; line-height: 1.4;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.form-input:hover { border-color: #c4c0b6; }
.form-input:focus { outline: none; border-color: var(--spark); background: var(--white); box-shadow: 0 0 0 4px rgba(232, 100, 27, 0.15); }
textarea.form-input { min-height: 150px; resize: vertical; }
select.form-input {
  padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231c1f24' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
}
.form-input:user-invalid { border-color: #c0392b; }
.form-note { grid-column: 1 / -1; font-size: 0.88rem; color: var(--muted); margin: 0; }
.form-note a { color: var(--text); }
.form-actions { grid-column: 1 / -1; }
.form-alert {
  grid-column: 1 / -1; padding: 14px 16px; border-radius: var(--radius);
  background: #fdecea; color: #8a1f12; border: 1px solid #f3c1bb; font-weight: 500;
}
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 24px; cursor: pointer; list-style: none;
  font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ''; }
.faq-icon { position: relative; width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; background: var(--paper); }
.faq-icon::before,
.faq-icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--spark-text); transition: transform 0.25s var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-item[open] summary { color: var(--spark-text); }
.faq-answer { padding: 0 24px 22px; color: var(--muted); }
.faq-answer p:last-child { margin: 0; }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-stretch: 100%; margin: 2.2em 0 0.6em; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.1rem; margin: 1.6em 0 0.4em; }
.legal p, .legal li { color: #3a4048; }
.legal ul { padding-left: 1.2em; margin-bottom: 1em; }
.legal address { font-style: normal; }
.legal-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px); }

/* ---------- Danke / 404 ---------- */
.message-page { min-height: 70svh; display: flex; align-items: center; padding: calc(var(--header-h) + 64px) 0 96px; }
.message-box { max-width: 640px; }
.message-icon { width: 64px; height: 64px; color: var(--spark); margin-bottom: 26px; }
.message-box h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-stretch: 112%; }
.message-code { font-family: var(--font-head); font-weight: 800; font-stretch: 125%; font-size: clamp(4rem, 14vw, 9rem); line-height: 1; color: var(--spark); margin-bottom: 8px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.78); padding: clamp(64px, 8vw, 96px) 0 0; font-size: 0.98rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer-brand img { height: 46px; width: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 34ch; color: var(--muted-dark); }
.site-footer h2 {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--white); margin-bottom: 18px; font-stretch: 100%;
}
.footer-list { list-style: none; display: grid; gap: 10px; }
.footer-list a { text-decoration: none; color: rgba(255, 255, 255, 0.78); }
.footer-list a:hover { color: var(--spark); }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  padding: 22px 0; border-top: 1px solid var(--line-dark); font-size: 0.88rem; color: var(--muted-dark);
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; }
.footer-bottom a { color: var(--muted-dark); text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }

/* ---------- Mobile Aktionsleiste ---------- */
.mobile-bar { display: none; }

/* ---------- Scroll-Animationen (nur mit JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: 0.1s; }
.js .reveal-d2 { transition-delay: 0.2s; }
.js .reveal-d3 { transition-delay: 0.3s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .header-phone span { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  /* backdrop-filter macht den Header zum Containing Block fuer position:fixed –
     das Menue-Overlay waere dann nur so hoch wie der Header. Mobil daher solide. */
  .site-header { background: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .brand img { height: 36px; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn,
  .header-phone { display: none; }

  .main-nav {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0;
    background: var(--ink); padding: 24px var(--gutter) 40px;
    overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--line-dark); }
  .main-nav li > a { padding: 20px 4px; font-size: 1.35rem; font-stretch: 112%; color: var(--white); }
  .main-nav li > a::after { display: none; }
  .main-nav li > a[aria-current='page'] { color: var(--spark); }
  .mobile-nav-extra { display: grid !important; gap: 12px; margin-top: 32px; }
  body.nav-open { overflow: hidden; }

  .hero-facts ul { grid-template-columns: 1fr; }
  .hero-facts li { padding: 14px 0; }
  .hero-facts li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-dark); }

  .service-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .about-grid,
  .contact-grid,
  .feature { grid-template-columns: 1fr; }
  .feature--reverse .feature-media { order: 0; }
  .feature-media::after { inset: 16px -12px -16px 12px; }
  .feature--reverse .feature-media::after { inset: 16px -12px -16px 12px; }
  .about-media { max-width: 620px; }
  .materials { grid-template-columns: 1fr; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; padding-bottom: 72px; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 72px); }
  .hero::before {
    background:
      linear-gradient(0deg, rgba(22, 25, 29, 1) 0%, rgba(22, 25, 29, 0.78) 50%, rgba(22, 25, 29, 0.55) 100%);
  }
  .hero-claim em { -webkit-text-stroke-width: 1.5px; }
  .hero-kicker { font-size: 0.7rem; letter-spacing: 0.12em; gap: 10px; }
  .hero-kicker::before { width: 20px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .hero-facts li { font-size: 0.95rem; }

  .steps { grid-template-columns: 1fr; row-gap: 36px; }
  .step { padding: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .about-badge { left: 8px; bottom: 18%; padding: 12px 14px; font-size: 0.85rem; max-width: 180px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; }

  /* Feste Aktionsleiste unten: Anrufen + Anfrage, ein Daumen-Griff */
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgba(22, 25, 29, 0.97); border-top: 1px solid var(--line-dark);
  }
  .mobile-bar .btn { min-height: 52px; padding: 10px 12px; font-size: 0.85rem; }
  .nav-open .mobile-bar { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .marquee-track { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .mobile-bar, .marquee, .nav-toggle { display: none !important; }
  .hero, .page-hero { padding-top: 24px; }
}
