/* =========================================================================
   LN Elektrotechnik — Stylesheet
   Marke: Industrie-Slate + Engineering-Blau, dezenter Messing-Akzent (Kupfer/Strom).
   Ruhige, solide Flächen statt KI-Verläufe. Fonts lokal: IBM Plex Sans + IBM Plex Mono.
   ========================================================================= */

/* ---------- Fonts (lokal, DSGVO-konform) ---------- */
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design Tokens ---------- */
:root {
  /* Industrie-Slate (Tiefe, Dunkelflächen) */
  --navy-950: #0d1922;
  --navy-900: #122230;
  --navy-800: #1a2e3b;
  --navy-700: #294657;
  /* Engineering-Blau (Arbeitsfarbe: Links, Icons, Struktur) – gedämpft, glaubwürdig */
  --blue-700: #103e63;
  --blue-600: #175886;
  --blue-500: #1f6c9e;
  --blue-400: #4d8cb0;
  --blue-200: #a7c2d4;
  --blue-100: #d2e0ea;
  --blue-50:  #eef3f7;

  /* Akzent – klares, helles Gelb (dezent, SOLIDE, sparsam – kein Verlauf, nicht orange) */
  --gold-300: #f4dc85;
  --gold-400: #e9c44c;
  --gold-500: #cda62e;

  /* Neutral */
  --paper:  #f4f5f7;
  --white:  #ffffff;
  --ink:    #16242f;
  --muted:  #566472;
  --line:   #e3e8ed;

  /* Typo */
  --f-display: "IBM Plex Sans", system-ui, sans-serif;
  --f-body: "IBM Plex Sans", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  /* Spacing & form */
  --container: 1200px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(16, 34, 48, .08);
  --shadow: 0 14px 32px -20px rgba(16, 34, 48, .35);
  --shadow-lg: 0 30px 60px -34px rgba(13, 25, 34, .5);
  --ring: 0 0 0 3px rgba(31, 108, 158, .4);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --t: .28s var(--ease);

  /* Feine Film-Korn-Textur (Materialität statt flacher Verläufe) */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  color-scheme: light;
  overflow-x: hidden;
}
body {
  font-family: var(--f-body);
  font-size: clamp(16px, 1rem + .1vw, 17px);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Skip-Link (transform-basiert, erzeugt keinen horizontalen Scroll) */
.skip-link {
  position: fixed; left: 1rem; top: 1rem; z-index: 1001;
  transform: translateY(-160%); transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

::selection { background: var(--gold-400); color: var(--navy-900); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--navy-900);
  text-wrap: balance;
}
h2 { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 3rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .5vw, 1.4rem); letter-spacing: -.01em; }
p { text-wrap: pretty; }
strong { font-weight: 700; }

/* ---------- Layout helpers ---------- */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}
.container--wide { --container: 1320px; }
.section { padding: clamp(4rem, 3rem + 6vw, 7.5rem) 0; }
.section--tight { padding: clamp(3rem, 2.5rem + 3vw, 4.5rem) 0; }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--blue { background: var(--blue-50); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section--navy {
  position: relative; isolation: isolate;
  background: var(--navy-950);
  color: #c2cedb;
}
.section--navy::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .35;
  background-image: var(--grain); mix-blend-mode: soft-light;
}
.section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .65rem;
  font-family: var(--f-mono);
  font-weight: 600; font-size: .76rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue-600);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--gold-400);
}
.section--navy .eyebrow { color: var(--gold-300); }
.section--navy .eyebrow::before { background: var(--gold-400); }

.section-head { max-width: 56ch; margin-bottom: clamp(2.2rem, 1.5rem + 2vw, 3.4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 1rem; color: var(--muted); font-size: 1.08rem; }
.section--navy .section-head p { color: #9fb2cc; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--f-display); font-weight: 600; font-size: 1rem;
  padding: .9rem 1.5rem; border-radius: var(--radius-sm);
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
  white-space: nowrap; cursor: pointer; line-height: 1;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--primary {
  background: var(--gold-400); color: var(--navy-950);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--gold-500); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn--ghost:hover { border-color: var(--blue-400); color: var(--blue-600); background: var(--white); }
.section--navy .btn--ghost,
.hero .btn--ghost { color: #fff; border-color: rgba(167,194,212,.3); }
.section--navy .btn--ghost:hover,
.hero .btn--ghost:hover { border-color: var(--blue-400); color:#fff; background: rgba(255,255,255,.06); }
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1.06rem; }
.btn--block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--t), background var(--t);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand img { width: 46px; height: 46px; border-radius: 50%; }
.brand-name { font-family: var(--f-display); font-weight: 700; font-size: 1.16rem; letter-spacing: -.01em; color: var(--navy-900); line-height: 1; }
.brand-name span { display: block; font-family: var(--f-mono); font-weight: 500; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.nav-links { display: flex; align-items: center; gap: .35rem; }
.nav-links a {
  font-weight: 500; font-size: .98rem; padding: .55rem .85rem; border-radius: 8px;
  color: var(--navy-800); transition: color var(--t), background var(--t);
  position: relative;
}
.nav-links a:hover { color: var(--blue-600); background: var(--blue-50); }
.nav-actions { display: flex; align-items: center; gap: .8rem; }
.nav-cta { display: inline-flex; }
.nav-mobile-cta { display: none; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--white);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--navy-900); border-radius: 2px; transition: transform var(--t), opacity var(--t); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy-950);
  color: #c2cedb;
  isolation: isolate;
  border-bottom: 3px solid var(--gold-400);
}
.hero::after { /* feine Korn-Textur für Materialität */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .4;
  background-image: var(--grain);
  mix-blend-mode: soft-light;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
  padding: clamp(3.2rem, 2.2rem + 5vw, 6rem) 0 clamp(3.5rem, 2.5rem + 5vw, 6.5rem);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--f-mono); font-weight: 600; font-size: .74rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold-300);
  padding: .4rem .8rem; border: 1px solid rgba(233,196,76,.35); border-radius: 6px;
  background: rgba(233,196,76,.08);
}
.hero-eyebrow svg { width: 1em; height: 1em; flex: none; }
.hero h1 {
  color: #fff; margin: 1.5rem 0 0;
  font-size: clamp(2.4rem, 1.7rem + 4vw, 4.2rem); line-height: 1.06; letter-spacing: -.025em;
}
.hero h1 .accent { color: var(--gold-300); }
.hero-sub { margin-top: 1.3rem; font-size: clamp(1.05rem, 1rem + .4vw, 1.2rem); color: #9eb0c0; max-width: 42ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }
.hero-points {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.8rem; margin-top: 2.4rem;
  border-top: 1px solid rgba(167,194,212,.16); padding-top: 1.7rem; max-width: 30rem;
}
.hero-points li {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .94rem; font-weight: 500; color: #c4d3e8;
}
.hero-points svg { width: 18px; height: 18px; color: var(--gold-400); flex: none; }

/* Hero media */
.hero-media { position: relative; }
.hero-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(158,199,245,.18);
  aspect-ratio: 4 / 3.35;
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(190deg, transparent 55%, rgba(7,20,42,.55));
}
.hero-badge {
  position: absolute; left: -18px; bottom: 26px; z-index: 2;
  background: rgba(13,25,34,.82); backdrop-filter: blur(10px);
  border: 1px solid rgba(167,194,212,.2); border-radius: var(--radius);
  padding: .9rem 1.1rem; display: flex; align-items: center; gap: .85rem;
  box-shadow: var(--shadow);
}
.hero-badge .ic {
  width: 44px; height: 44px; border-radius: 10px; flex: none;
  display: grid; place-items: center;
  background: var(--gold-400); color: var(--navy-950);
}
.hero-badge .ic svg { width: 22px; height: 22px; }
.hero-badge b { color: #fff; font-family: var(--f-display); font-size: 1rem; display: block; }
.hero-badge span { font-size: .82rem; color: #9fb2cc; }

/* ---------- Trust strip ---------- */
.trust {
  background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  padding: clamp(1.8rem, 1.2rem + 2vw, 2.6rem) 0;
}
.trust-item { display: flex; align-items: center; gap: .9rem; }
.trust-item .ic {
  width: 46px; height: 46px; border-radius: 12px; flex: none; display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue-600);
}
.trust-item .ic svg { width: 24px; height: 24px; }
.trust-item b { font-family: var(--f-display); font-size: 1rem; color: var(--navy-900); display: block; line-height: 1.2; }
.trust-item span { font-size: .88rem; color: var(--muted); }

/* ---------- Services ---------- */
.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, .6rem + 1.4vw, 1.6rem);
}
.service {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1.6rem, 1.2rem + 1vw, 2.3rem);
  overflow: hidden; transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.service::before {
  content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 3px;
  background: var(--gold-400);
  transform: scaleY(0); transform-origin: top; transition: transform var(--t);
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.service:hover::before { transform: scaleY(1); }
.service-num {
  position: absolute; top: 1.5rem; right: 1.7rem;
  font-family: var(--f-display); font-weight: 800; font-size: 2rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.4px var(--blue-100);
  transition: -webkit-text-stroke-color var(--t);
}
.service:hover .service-num { -webkit-text-stroke-color: var(--gold-400); }
.service .ic {
  width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center;
  background: var(--navy-900); color: var(--gold-300);
  margin-bottom: 1.3rem;
}
.service .ic svg { width: 30px; height: 30px; }
.service h3 { margin-bottom: .6rem; }
.service p { color: var(--muted); font-size: .98rem; }
.service ul { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.service ul li {
  font-family: var(--f-mono); font-size: .72rem; font-weight: 500; letter-spacing: .02em;
  color: var(--blue-700); background: var(--blue-50); border: 1px solid var(--line);
  padding: .3rem .6rem; border-radius: 5px;
}

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: center; }
.why-media { position: relative; }
.why-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4/4.4; object-fit: cover; }
.why-stat {
  position: absolute; right: -14px; bottom: -18px;
  background: var(--navy-900); color: #fff; border-radius: var(--radius);
  padding: 1.1rem 1.3rem; box-shadow: var(--shadow-lg); max-width: 230px;
  border: 1px solid rgba(158,199,245,.16);
}
.why-stat b { font-family: var(--f-display); font-size: 1.05rem; color: var(--gold-400); display: flex; align-items: center; gap: .5rem; }
.why-stat b svg { width: 20px; height: 20px; }
.why-stat span { font-size: .86rem; color: #9fb2cc; display: block; margin-top: .35rem; }
.reasons { display: grid; gap: 1.1rem; margin-top: 1.8rem; }
.reason { display: flex; gap: 1rem; }
.reason .ic {
  width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue-600);
}
.reason .ic svg { width: 23px; height: 23px; }
.reason h3 { font-size: 1.12rem; margin-bottom: .2rem; }
.reason p { color: var(--muted); font-size: .95rem; }

/* ---------- Gallery ---------- */
.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 1rem;
}
.gallery figure {
  position: relative; overflow: hidden; border-radius: var(--radius); cursor: pointer;
  border: 1px solid var(--line);
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(7,20,42,.6));
  opacity: 0; transition: opacity var(--t);
}
.gallery figure:hover::after { opacity: 1; }
.gallery figcaption {
  position: absolute; left: 1rem; bottom: .85rem; z-index: 2; color: #fff;
  font-weight: 600; font-size: .92rem; opacity: 0; transform: translateY(6px);
  transition: opacity var(--t), transform var(--t);
}
.gallery figure:hover figcaption { opacity: 1; transform: none; }
.gallery .g-zoom {
  position: absolute; top: .8rem; right: .8rem; z-index: 2;
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(11,27,51,.6); color: var(--gold-400); opacity: 0; transition: opacity var(--t);
}
.gallery .g-zoom svg { width: 18px; height: 18px; }
.gallery figure:hover .g-zoom { opacity: 1; }
.gallery .span-2 { grid-column: span 2; }
.gallery .row-2 { grid-row: span 2; }
.gallery-note { margin-top: 1.4rem; font-size: .9rem; color: var(--muted); display: inline-flex; align-items: center; gap: .5rem; }
.gallery-note svg { width: 17px; height: 17px; color: var(--blue-400); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1000; display: none;
  align-items: center; justify-content: center; padding: 1.5rem;
  background: rgba(7,20,42,.92); backdrop-filter: blur(6px);
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 84vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox-close, .lightbox-nav button {
  position: absolute; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: #fff; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  transition: background var(--t);
}
.lightbox-close:hover, .lightbox-nav button:hover { background: rgba(255,255,255,.22); }
.lightbox-close { top: 1.3rem; right: 1.3rem; }
.lightbox-close svg, .lightbox-nav svg { width: 22px; height: 22px; }
.lightbox-nav .prev { left: 1.3rem; top: 50%; transform: translateY(-50%); }
.lightbox-nav .next { right: 1.3rem; top: 50%; transform: translateY(-50%); }

/* ---------- Process ---------- */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; position: relative;
  max-width: 1060px; margin-inline: auto;
}
/* Verbindungslinie hinter den Nummern (Mitte zu Mitte) */
.steps::before {
  content: ""; position: absolute; top: 53px; left: 12.5%; right: 12.5%; height: 1px; z-index: 0;
  background: rgba(167,194,212,.18);
}
.step {
  position: relative; z-index: 1; text-align: center; padding: 1.5rem 1.1rem 1.4rem;
  border-radius: var(--radius); border: 1px solid transparent;
  transition: transform .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
}
.step-num {
  width: 58px; height: 58px; border-radius: 12px; display: grid; place-items: center; margin: 0 auto 1.3rem;
  font-family: var(--f-mono); font-weight: 600; font-size: 1.4rem;
  background: var(--navy-900); color: var(--gold-300);
  border: 1px solid rgba(233,196,76,.4);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.step h3 { color: #fff; margin-bottom: .5rem; font-size: 1.16rem; transition: color .3s var(--ease); }
.step p { color: #9fb2cc; font-size: .95rem; max-width: 25ch; margin-inline: auto; }
/* Hover: Karte + Nummer leuchten dezent auf */
.step:hover { background: rgba(255,255,255,.04); border-color: rgba(167,194,212,.16); transform: translateY(-5px); }
.step:hover .step-num {
  transform: scale(1.05); border-color: var(--gold-400);
  box-shadow: 0 0 0 4px rgba(233,196,76,.14);
}
.step:hover h3 { color: var(--gold-300); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: .9rem; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color var(--t), box-shadow var(--t); }
.faq-item[open] { border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.2rem 1.4rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--f-display); font-weight: 600; font-size: 1.06rem; color: var(--navy-900);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { width: 34px; height: 34px; border-radius: 9px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; flex: none; transition: transform var(--t), background var(--t); }
.faq-item summary .chev svg { width: 20px; height: 20px; }
.faq-item[open] summary .chev { transform: rotate(180deg); background: var(--blue-600); color: #fff; }
.faq-item .faq-body { padding: 0 1.4rem 1.3rem; color: var(--muted); font-size: .98rem; }

/* ---------- Contact ---------- */
.contact-head { text-align: center; margin-inline: auto; }
.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(1.6rem, 1rem + 3vw, 3rem); align-items: stretch; }
.contact-aside { display: flex; }
.contact-list { display: grid; gap: 1rem; align-content: start; flex: 1; width: 100%; }
.contact-item {
  display: flex; align-items: center; gap: 1rem; min-height: 76px; color: #cdd9e4;
  background: rgba(255,255,255,.035); border: 1px solid rgba(167,194,212,.14);
  padding: 1rem 1.1rem; border-radius: var(--radius); transition: border-color var(--t), background var(--t);
}
a.contact-item:hover { border-color: var(--blue-400); background: rgba(255,255,255,.06); }
.contact-item .ic { width: 44px; height: 44px; border-radius: 10px; flex: none; display: grid; place-items: center; background: var(--navy-800); color: var(--gold-300); border: 1px solid rgba(233,196,76,.3); }
.contact-item .ic svg { width: 22px; height: 22px; }
.contact-item b {
  display: block; flex: 1 1 auto; min-width: 0; color: #fff; font-family: var(--f-display);
  font-weight: 600; font-size: 1rem; line-height: 1.35; overflow-wrap: anywhere;
}

.contact-form {
  background: var(--white); border-radius: var(--radius-lg); padding: clamp(1.6rem, 1.2rem + 1.5vw, 2.6rem);
  box-shadow: var(--shadow-lg); color: var(--ink);
}
.contact-form h3 { font-size: 1.4rem; margin-bottom: 1.4rem; }
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; color: var(--navy-800); }
.field label .req { color: var(--gold-500); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--paper); transition: border-color var(--t), box-shadow var(--t), background var(--t);
}
.field input::placeholder, .field textarea::placeholder { color: #97a6bd; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue-400); background: #fff; box-shadow: var(--ring); }
.field textarea { resize: vertical; min-height: 120px; }
.form-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; color: var(--muted); margin-bottom: 1.2rem; }
.form-consent input { margin-top: .2rem; width: 18px; height: 18px; accent-color: var(--blue-600); flex: none; }
.form-note { margin-top: 1rem; font-size: .82rem; color: var(--muted); text-align: center; }
.form-status { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: 12px; font-size: .92rem; font-weight: 600; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: #e8f7ee; color: #1d7a45; border: 1px solid #b8e6c9; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: #9fb2cc; padding: clamp(3rem, 2rem + 3vw, 4.5rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer .brand-name { color: #fff; }
.footer-about p { margin-top: 1.1rem; font-size: .95rem; max-width: 34ch; }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.1rem; font-family: var(--f-display); }
.footer-col a, .footer-col li { font-size: .95rem; padding: .3rem 0; display: block; transition: color var(--t); }
.footer-col a:hover { color: var(--gold-400); }
.footer-contact a { display: flex; gap: .6rem; align-items: center; padding: .3rem 0; font-size: .95rem; }
.footer-contact svg { width: 17px; height: 17px; color: var(--gold-400); flex: none; }
.footer-social { display: flex; gap: .7rem; margin-top: 1.2rem; }
.footer-social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(158,199,245,.16); color: #fff; transition: background var(--t), transform var(--t); }
.footer-social a:hover { background: var(--gold-400); color: var(--navy-900); transform: translateY(-2px); }
.footer-social svg { width: 20px; height: 20px; }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(158,199,245,.14);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .86rem;
}
.footer-bottom a:hover { color: var(--gold-400); }
.footer-bottom .links { display: flex; gap: 1.4rem; flex-wrap: wrap; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .07s; }
.reveal[data-d="2"] { transition-delay: .14s; }
.reveal[data-d="3"] { transition-delay: .21s; }
.reveal[data-d="4"] { transition-delay: .28s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 560px; margin-inline: auto; width: 100%; }
  .why-grid { grid-template-columns: 1fr; }
  .why-media { max-width: 520px; margin-inline: auto; }
  /* Kontakt mobil: Formular zuerst, Kontaktmöglichkeiten darunter */
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { order: -1; }
  .contact-aside { margin-top: .4rem; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 860px) {
  .nav-links, .nav .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: .2rem;
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 1rem 1.25rem 1.4rem;
  }
  .nav.open .nav-links a { padding: .9rem 1rem; font-size: 1.05rem; border-radius: 10px; }
  .nav-mobile-cta { display: block; margin-top: .5rem; }
  .nav-mobile-cta .btn { width: 100%; }
  .site-header { position: relative; }
  .services-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 1.4rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .gallery .span-2 { grid-column: span 1; }
  .gallery .row-2 { grid-row: span 1; }
  /* Touch-Ziele Footer ≥ 44px */
  .footer-col a { padding: .6rem 0; }
  .footer-bottom .links a { display: inline-block; padding: .4rem 0; }
}
@media (max-width: 540px) {
  .container { width: min(100% - 2rem, var(--container)); }
  .hero h1 { font-size: clamp(2.1rem, 1.6rem + 6vw, 3rem); }
  .hero-cta .btn { flex: 1 1 auto; }
  .hero-badge { left: 0; right: 0; margin: 0 .6rem; bottom: .6rem; }
  .trust-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .why-stat { position: static; margin-top: 1rem; max-width: none; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
}

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