/* =============================================================
   Pars Technik GmbH — One-Pager
   Design tokens + components. Palette/typografie aus dem Handoff.
   ============================================================= */

:root {
  /* Farben — Navy / Gold / Cream */
  --navy-900: #080f24;
  --navy-800: #0c1631;
  --navy-700: #152a5e;
  --navy-700b: #122048;
  --navy-600: #16274f;
  --cream: #f6f2e9;
  --ink: #12172a;
  --body: #575e75;   /* Fließtext auf hell */
  --body-2: #4a5169; /* Intro auf hell */
  --muted: #c3c9db;  /* Text auf dunkel */
  --muted-2: #aab2c8;
  --faint: #99a2ba;  /* Labels auf dunkel (kontrast-optimiert) */
  --faint-2: #828ca8;/* Copyright/Hilfetext (kontrast-optimiert) */
  --gold: #c8a24c;
  --gold-light: #e6c876;
  --gold-lightest: #f3d99a;
  --royal: #1c3fa0;
  --royal-2: #2a52c4;

  --gold-grad: linear-gradient(135deg, #c8a24c, #e6c876);
  --royal-grad: linear-gradient(135deg, #1c3fa0, #2a52c4);

  /* Radien */
  --r-card: 18px;
  --r-card-sm: 16px;
  --r-modal: 20px;
  --r-input: 11px;
  --r-badge: 16px;
  --r-pill: 999px;

  /* Layout */
  --maxw: 1180px;
  --maxw-narrow: 1100px;
  --pad-y: clamp(80px, 10vw, 130px);
  --pad-x: clamp(20px, 6vw, 80px);

  /* Motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 69px;

  /* z-index Skala */
  --z-header: 50;
  --z-menu: 60;
  --z-modal: 100;
  --z-toast: 120;
}

/* ---------- Reset / Base ---------- */
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  text-wrap: pretty;
  overflow-x: hidden;
}
a { color: var(--gold); text-decoration: none; }
a:hover { color: #e0bf6e; }
img, svg { display: block; max-width: 100%; }
input, textarea, button, select { font-family: inherit; }
h1, h2, h3 { text-wrap: balance; }
::selection { background: var(--gold); color: var(--navy-800); }

.ic { width: 1em; height: 1em; flex: none; stroke-width: 1.75; }

/* Skip-Link */
.skip {
  position: fixed;
  top: 8px; left: 8px;
  z-index: var(--z-toast);
  transform: translateY(-160%);
  background: var(--gold);
  color: var(--navy-800);
  font-weight: 700;
  padding: 11px 18px;
  border-radius: 10px;
  transition: transform .25s var(--ease);
}
.skip:focus { transform: none; color: var(--navy-800); }

/* Sichtbarer Fokus für Tastatur-Navigation */
:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 6px;
}
.btn-round:focus-visible,
.btn-square:focus-visible { outline-offset: 4px; }

.wrap { max-width: var(--maxw); margin: 0 auto; }
.wrap-narrow { max-width: var(--maxw-narrow); margin: 0 auto; }

/* ---------- Reveal (nur mit JS versteckt → ohne JS/Headless sichtbar) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
  will-change: opacity, transform;
}
.js .reveal.in { opacity: 1; transform: none; }
.js .revx {
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: opacity .7s, transform .7s var(--ease);
}
.js .revx.in { opacity: 1; transform: none; }

/* =============================================================
   Header
   ============================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px var(--pad-x);
  background: rgba(10, 20, 44, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(200, 162, 76, .22);
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.site-header.scrolled {
  background: rgba(9, 16, 36, .92);
  box-shadow: 0 12px 34px -22px rgba(0, 0, 0, .8);
  border-bottom-color: rgba(200, 162, 76, .34);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.brand img { height: 36px; width: auto; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .35)); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: 'Marcellus', serif;
  color: var(--cream);
  font-size: 18px;
  letter-spacing: .13em;
}
.brand__sub {
  color: var(--gold);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .34em;
  text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 30px); }
.nav__links { display: flex; align-items: center; gap: clamp(12px, 2vw, 30px); }
.navlink {
  position: relative;
  color: #e8e5de;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: .02em;
  padding: 4px 0;
}
.navlink:hover { color: #e8e5de; }
.navlink::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  height: 1.5px; width: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.navlink:hover::after,
.navlink[aria-current="true"]::after { transform: scaleX(1); }
.navlink[aria-current="true"] { color: #fff; }

.header-phone { color: var(--cream); font-weight: 700; font-size: 14px; letter-spacing: .02em; }
a.header-phone:hover { color: var(--gold-light); }

.header-actions { display: flex; align-items: center; gap: 11px; }
.btn-round {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: var(--gold-grad);
  color: var(--navy-800);
  border-radius: var(--r-pill);
  transition: filter .3s ease, transform .3s ease, box-shadow .3s ease;
}
.btn-round .ic { width: 18px; height: 18px; }
.btn-round:hover { filter: brightness(1.08); transform: translateY(-2px); color: var(--navy-800); }

/* Hamburger */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 11px;
  border: 1px solid rgba(200, 162, 76, .34);
  background: rgba(255, 255, 255, .04);
  color: var(--gold);
  cursor: pointer;
  transition: background .25s ease;
}
.nav-toggle .ic { width: 22px; height: 22px; }
.nav-toggle:hover { background: rgba(200, 162, 76, .12); }
.nav-toggle .ic-close { display: none; }
.nav-toggle[aria-expanded="true"] .ic-open { display: none; }
.nav-toggle[aria-expanded="true"] .ic-close { display: block; }

/* Mobile-Menü-Panel */
.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  z-index: var(--z-menu);
  background: rgba(9, 16, 36, .97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(200, 162, 76, .24);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .8);
  padding: 14px var(--pad-x) 26px;
  display: grid;
  gap: 4px;
  transform: translateY(-14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.mobile-menu.open { opacity: 1; transform: none; visibility: visible; }
.mobile-menu a.m-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #e8e5de;
  font-size: 17px;
  font-weight: 500;
  padding: 15px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.mobile-menu a.m-link .ic { width: 18px; height: 18px; color: var(--gold); opacity: .8; }
.mobile-menu .m-phone {
  display: flex; align-items: center; gap: 10px;
  color: var(--cream); font-weight: 700; font-size: 18px;
  padding: 18px 4px 8px;
}
.mobile-menu .m-phone .ic { color: var(--gold); width: 20px; height: 20px; }

/* =============================================================
   Buttons (Pills)
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 700;
  font-size: 16px;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  transition: filter .3s ease, transform .3s ease, background .3s ease, box-shadow .3s ease;
  text-align: center;
}
.btn .ic { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn-gold:hover > .ic, .btn-royal:hover > .ic { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(.985); }
.btn-round:active, .btn-gold-sm:active, .btn-square:active { transform: scale(.95); }
.btn-gold { background: var(--gold-grad); color: var(--navy-800); padding: 15px 30px; }
.btn-gold:hover { filter: brightness(1.08); transform: translateY(-2px); color: var(--navy-800); }
.btn-royal { background: var(--royal-grad); color: #fff; padding: 14px 28px; }
.btn-royal:hover { filter: brightness(1.08); transform: translateY(-2px); color: #fff; }
.btn-outline {
  color: var(--cream);
  font-weight: 600;
  padding: 15px 28px;
  border: 1px solid rgba(200, 162, 76, .5);
  background: transparent;
}
.btn-outline:hover { background: rgba(200, 162, 76, .14); color: var(--cream); }
.btn-outline .ic { color: var(--gold); }

/* =============================================================
   Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: calc(var(--header-h) + 70px) var(--pad-x) 90px;
  background: radial-gradient(120% 90% at 50% 0%, #152a5e 0%, #0c1631 55%, #080f24 100%);
  overflow: hidden;
}
/* Foto-Ebene: dezent, entsättigt, als Textur. Client kann hero.jpg ersetzen. */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--hero-image, url('../img/hero.jpg')) center/cover no-repeat;
  filter: saturate(.62) contrast(1.12) brightness(1.04);
  opacity: .62;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
}
.hero__overlay--dark {
  background: linear-gradient(180deg, rgba(7, 13, 32, .72), rgba(8, 15, 36, .52) 42%, rgba(7, 13, 32, .92));
}
.hero__overlay--glow {
  background: radial-gradient(70% 60% at 50% 42%, rgba(21, 42, 94, .45), transparent 70%);
}
.hero__overlay--vignette {
  background: radial-gradient(120% 120% at 50% 50%, transparent 55%, rgba(6, 11, 28, .55));
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 920px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
/* Gestaffelter Hero-Auftakt beim Laden (nur mit JS; ohne JS sofort sichtbar) */
.js .hero__inner > * { animation: heroIn .75s var(--ease) both; }
.js .hero__inner > *:nth-child(1) { animation-delay: .06s; }
.js .hero__inner > *:nth-child(2) { animation-delay: .16s; }
.js .hero__inner > *:nth-child(3) { animation-delay: .30s; }
.js .hero__inner > *:nth-child(4) { animation-delay: .44s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.eyebrow-hero {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
}
.eyebrow-hero span.rule { width: 34px; height: 1px; background: var(--gold); display: inline-block; }
.hero h1 {
  font-family: 'Marcellus', serif;
  color: var(--cream);
  font-size: clamp(38px, 6.4vw, 76px);
  line-height: 1.04;
  margin: 0;
  font-weight: 400;
  text-shadow: 0 2px 34px rgba(6, 11, 28, .55);
}
.hero h1 .accent { color: var(--gold-light); }
.hero__sub {
  color: #d6dbe8;
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.6;
  max-width: 640px;
  margin: 0;
  font-weight: 300;
  text-shadow: 0 1px 20px rgba(6, 11, 28, .5);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 8px; }
.hero__scroll {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  color: var(--gold);
  z-index: 2;
  animation: pulseDown 2s ease-in-out infinite;
}
.hero__scroll .ic { width: 28px; height: 28px; }

/* =============================================================
   Trust-Strip
   ============================================================= */
.trust {
  background: var(--navy-800);
  padding: 26px var(--pad-x);
  border-top: 1px solid rgba(200, 162, 76, .18);
}
.trust__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(20px, 5vw, 64px);
  color: #e8e5de;
}
.trust__item { display: flex; align-items: center; gap: 11px; font-size: 15px; }
.trust__item .ic { width: 22px; height: 22px; color: var(--gold); }
.trust__item strong { color: #fff; }

/* =============================================================
   Aktions-Band (Düsselpass-Balkonkraftwerk)
   ============================================================= */
.promo {
  background: var(--gold-grad);
  padding: clamp(34px, 5vw, 54px) var(--pad-x);
  border-top: 1px solid rgba(255, 255, 255, .35);
  scroll-margin-top: var(--header-h);
}
.promo__inner {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 40px);
  flex-wrap: wrap;
}
.promo__icon {
  flex: none;
  width: 74px; height: 74px;
  border-radius: 50%;
  background: var(--navy-800);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light);
  box-shadow: 0 16px 34px -16px rgba(8, 15, 36, .55), inset 0 0 0 1px rgba(230, 200, 110, .4);
}
.promo__icon .ic { width: 34px; height: 34px; stroke-width: 1.5; }
.promo__text { flex: 1 1 380px; min-width: 0; }
.promo__eyebrow {
  color: rgba(8, 15, 36, .72);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .26em;
  text-transform: uppercase;
  margin: 0 0 6px;
}
.promo__title {
  font-family: 'Marcellus', serif;
  color: var(--navy-800);
  font-size: clamp(23px, 2.8vw, 33px);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 10px;
}
.promo__sub {
  color: rgba(8, 15, 36, .82);
  font-size: 15.5px;
  line-height: 1.6;
  margin: 0;
  max-width: 620px;
}
.promo__sub strong { color: var(--navy-800); }
.promo__cta {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
}
.btn-navy { background: var(--navy-800); color: var(--cream); padding: 15px 28px; }
.btn-navy:hover { filter: brightness(1.25); transform: translateY(-2px); color: var(--cream); }
.btn-navy:hover > .ic { transform: translateX(3px); }

/* =============================================================
   Section-Grundgerüst
   ============================================================= */
.section { position: relative; padding: var(--pad-y) var(--pad-x); }
.section--cream { background: var(--cream); }
.section--awards { background: radial-gradient(120% 80% at 50% 0%, #152a5e, #0c1631 60%); overflow: hidden; }
.section--contact { background: radial-gradient(120% 90% at 50% 100%, #152a5e, #0c1631 62%); overflow: hidden; }
/* Sticky-Header nicht über Anker-Ziele */
.section[id], .hero[id] { scroll-margin-top: var(--header-h); }
#contact-form { scroll-margin-top: calc(var(--header-h) + 16px); }
#form-status { scroll-margin-top: calc(var(--header-h) + 16px); }

.intro { text-align: center; max-width: 720px; margin: 0 auto 12px; }
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow--royal { color: var(--royal); }
.eyebrow--gold { color: var(--gold); }
.section h2 {
  font-family: 'Marcellus', serif;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.1;
  margin: 0 0 16px;
}
.h2-dark { color: var(--ink); }
.h2-light { color: var(--cream); }
.section h2 .accent { color: var(--gold-light); }
.intro p { font-size: 17px; line-height: 1.65; margin: 0; }
.intro p.on-light { color: var(--body-2); }
.intro p.on-dark { color: var(--muted); font-weight: 300; }

/* Ornament-Trenner */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin: 26px auto 58px;
  width: min(600px, 88%);
}
.divider .line { flex: 1; height: 2px; border-radius: 2px; }
.divider .line-l { background: linear-gradient(90deg, transparent, #c8a24c 34%, #e6c876); }
.divider .line-r { background: linear-gradient(90deg, #e6c876, #c8a24c 66%, transparent); }
.divider .dia { width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.divider .dia-lg {
  width: 16px; height: 16px;
  background: linear-gradient(135deg, #f3d99a, #c8a24c);
  transform: rotate(45deg);
  box-shadow: 0 0 20px rgba(200, 162, 76, .6), inset 0 0 0 1px rgba(255, 255, 255, .25);
}

/* =============================================================
   Leistungen
   ============================================================= */
.svc-group { margin-bottom: 40px; scroll-margin-top: calc(var(--header-h) + 12px); }
.svc-group:last-of-type { margin-bottom: 0; }
.svc-group__title {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--royal);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.svc-group__title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(28, 63, 160, .3), transparent);
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.svc {
  background: #fff;
  border: 1px solid rgba(18, 23, 42, .08);
  border-radius: var(--r-card);
  padding: 30px;
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.svc:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 162, 76, .55);
  box-shadow: 0 22px 50px -24px rgba(28, 63, 160, .45);
}
.svc__icon {
  position: relative;
  width: 60px; height: 60px;
  border-radius: var(--r-badge);
  background: linear-gradient(150deg, #16274f, #0c1631);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--gold-light);
  box-shadow: inset 0 0 0 1px rgba(200, 162, 76, .45), 0 10px 24px -12px rgba(28, 63, 160, .55);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), color .5s var(--ease);
}
.svc__icon::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: var(--r-badge);
  background: linear-gradient(150deg, rgba(230, 200, 110, .16), transparent 60%);
}
.svc__icon .ic { width: 29px; height: 29px; stroke-width: 1.5; position: relative; }
.svc:hover .svc__icon {
  transform: rotate(-6deg) scale(1.08);
  color: var(--gold-lightest);
  box-shadow: inset 0 0 0 1px rgba(230, 200, 110, .75), 0 12px 28px -10px rgba(200, 162, 76, .5);
}
.svc h4 { font-family: 'Marcellus', serif; font-size: 22px; margin: 0 0 10px; color: var(--ink); }
.svc p { color: var(--body); font-size: 15px; line-height: 1.6; margin: 0; }

.svc-note { text-align: center; margin-top: 48px; }
.svc-note p { color: var(--body-2); font-size: 16px; margin: 0 0 18px; }

/* =============================================================
   Auszeichnungen
   ============================================================= */
.awards-glow {
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  max-width: 100%;
  background: radial-gradient(circle, rgba(200, 162, 76, .14), transparent 68%);
  pointer-events: none;
}
.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: clamp(16px, 3vw, 34px);
  align-items: center;
  justify-items: center;
}
.awards-grid img {
  width: 100%;
  max-width: 150px;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .4));
  transition: transform .5s var(--ease);
}
.awards-grid img:hover { transform: translateY(-5px) scale(1.03); }
/* Kundenstimmen (Google-Bewertungen) */
.reviews { margin-top: 56px; }
.reviews__score {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0 0 26px;
}
.score-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 20px;
  border: 1px solid rgba(200, 162, 76, .3);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .04);
  color: var(--muted);
  font-size: 15px;
}
.score-chip strong { color: #fff; font-size: 16px; }
.stars { color: var(--gold-light); font-size: 17px; text-shadow: 0 0 16px rgba(230, 200, 110, .35); }
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.quote {
  margin: 0;
  padding: 24px 26px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(200, 162, 76, .22);
  border-radius: var(--r-card-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color .3s ease, background .3s ease;
}
.quote:hover { border-color: rgba(200, 162, 76, .4); background: rgba(255, 255, 255, .06); }
.quote__stars { margin: 0; color: var(--gold-light); letter-spacing: 2px; font-size: 14px; }
.quote blockquote { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.65; flex: 1; }
.quote figcaption { color: var(--faint); font-size: 13px; }
.quote__name { color: var(--cream); font-weight: 600; }

.awards-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 44px; }

/* =============================================================
   Projekte
   ============================================================= */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-auto-rows: 245px;
  gap: 16px;
}
.gimg {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-card-sm);
  background: var(--navy-800);
  box-shadow: 0 14px 34px -24px rgba(12, 22, 49, .55);
}
.gimg--feature { grid-column: span 2; grid-row: span 2; box-shadow: 0 18px 44px -26px rgba(12, 22, 49, .6); }
.gimg__link { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.gimg img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gimg:hover img { transform: scale(1.07); }
/* Bildausschnitt-Korrekturen: Ausschnitt aufs eigentliche Motiv legen */
.gimg img.pos-mid-low { object-position: center 62%; }     /* Motiv leicht unterhalb der Mitte (Transporter) */
.gimg img.pos-mid-high { object-position: center 42%; }    /* Motiv leicht oberhalb der Mitte (Zähler, Wallbox) */
.gimg img.pos-upper { object-position: center 34%; }       /* Motiv im oberen Drittel (KNX-Aktoren) */
.gimg img.pos-high { object-position: center 26%; }        /* Motiv oben (Balkonmodule + Himmel) */
.gimg img.pos-low-left { object-position: 20% 80%; }       /* Motiv unten links (Dachmodule) */

/* Bildunterschrift als Overlay: Kategorie + Kurztitel */
.gcap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 52px 16px 14px;
  background: linear-gradient(180deg, transparent, rgba(7, 13, 32, .58) 45%, rgba(7, 13, 32, .88));
  color: var(--cream);
  pointer-events: none;
}
.gcap__cat {
  display: block;
  color: var(--gold-light);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.gcap__title { display: block; font-size: 14px; font-weight: 600; line-height: 1.4; text-shadow: 0 1px 12px rgba(6, 11, 28, .6); }
.gimg--feature .gcap { padding: 70px 20px 18px; }
.gimg--feature .gcap__title { font-size: 16px; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(6, 11, 28, .88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(1100px, 100%);
  max-height: calc(100vh - 140px);
  width: auto; height: auto;
  border-radius: 14px;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9);
  transform: scale(.97);
  transition: transform .35s var(--ease);
}
.lightbox.open img { transform: none; }
.lightbox__caption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14.5px;
  text-align: center;
  max-width: 720px;
}
.lightbox__caption strong { color: var(--gold-light); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; display: block; margin-bottom: 2px; }
.lightbox__close {
  position: absolute;
  top: 18px; right: 18px;
  width: 42px; height: 42px;
  border-radius: 11px;
  border: 1px solid rgba(200, 162, 76, .35);
  background: rgba(255, 255, 255, .05);
  color: var(--gold);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s ease;
}
.lightbox__close .ic { width: 20px; height: 20px; }
.lightbox__close:hover { background: rgba(200, 162, 76, .16); }
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(200, 162, 76, .35);
  background: rgba(8, 15, 36, .55);
  color: var(--gold);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s ease;
}
.lightbox__nav .ic { width: 20px; height: 20px; }
.lightbox__nav:hover { background: rgba(200, 162, 76, .2); }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--prev .ic { transform: rotate(180deg); }
.lightbox__nav--next { right: 16px; }

/* =============================================================
   Vor-Ort-Karte (Ladenlokal) im Kontaktbereich
   ============================================================= */
.visit {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: stretch;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(200, 162, 76, .24);
  border-radius: var(--r-modal);
  overflow: hidden;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.visit__photo { min-height: 280px; }
.visit__photo img { width: 100%; height: 100%; object-fit: cover; }
.visit__body {
  padding: clamp(26px, 3.4vw, 44px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
}
.visit__eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  margin: 0;
}
.visit__title {
  font-family: 'Marcellus', serif;
  color: var(--cream);
  font-size: clamp(23px, 2.6vw, 30px);
  font-weight: 400;
  line-height: 1.15;
  margin: 0;
}
.visit__text { color: var(--muted); font-size: 15.5px; line-height: 1.65; margin: 0; }
.visit .btn { margin-top: 6px; }

/* =============================================================
   Kontakt
   ============================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.contact-cards { display: flex; flex-direction: column; gap: 22px; }
.ccard {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(200, 162, 76, .22);
  border-radius: var(--r-card-sm);
  padding: 20px 22px;
  transition: border-color .3s ease, background .3s ease;
}
a.ccard:hover, .ccard:hover { border-color: rgba(200, 162, 76, .4); background: rgba(255, 255, 255, .06); }
.ccard--row { display: flex; gap: 16px; align-items: center; }
.ccard__head { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.ccard__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--gold-grad);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--navy-800);
}
.ccard__icon .ic { width: 22px; height: 22px; }
.ccard__label { display: block; color: var(--faint); font-size: 13px; margin-bottom: 2px; }
.ccard__value { display: block; color: var(--cream); font-size: 17px; font-weight: 600; line-height: 1.4; }
.ccard__value--addr { font-size: 16px; }
.ccard__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.btn-gold-sm {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--gold-grad); color: var(--navy-800);
  font-weight: 700; font-size: 15px;
  padding: 13px 16px; border-radius: 12px;
  transition: filter .3s ease, transform .3s ease;
}
.btn-gold-sm .ic { width: 17px; height: 17px; }
.btn-gold-sm:hover { filter: brightness(1.08); transform: translateY(-2px); color: var(--navy-800); }

/* Formular */
.contact-form {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(200, 162, 76, .24);
  border-radius: var(--r-modal);
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span { color: var(--muted); font-size: 13.5px; font-weight: 500; }
.field .req { color: var(--gold-light); }
.input {
  background: rgba(8, 15, 36, .55);
  border: 1px solid rgba(200, 162, 76, .28);
  border-radius: var(--r-input);
  padding: 13px 15px;
  color: var(--cream);
  font-size: 15px;
  outline: none;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.input::placeholder { color: #8b93ab; opacity: 1; }
.input:hover { border-color: rgba(200, 162, 76, .45); }
.input:focus {
  border-color: var(--gold-light);
  box-shadow: 0 0 0 3px rgba(200, 162, 76, .22);
  background: rgba(8, 15, 36, .72);
}
textarea.input { resize: vertical; min-height: 130px; }
.input[aria-invalid="true"] { border-color: #e6857a; box-shadow: 0 0 0 3px rgba(230, 133, 122, .18); }
.field__error { color: #f0a79d; font-size: 12.5px; min-height: 0; display: none; }
.field__error.show { display: block; }

/* Consent */
.consent { display: flex; gap: 11px; align-items: flex-start; margin-top: 2px; }
.consent input {
  appearance: none;
  -webkit-appearance: none;
  width: 20px; height: 20px;
  flex: none;
  margin-top: 1px;
  border: 1px solid rgba(200, 162, 76, .5);
  border-radius: 6px;
  background: rgba(8, 15, 36, .55);
  cursor: pointer;
  position: relative;
  transition: background .2s ease, border-color .2s ease;
}
.consent input:checked { background: var(--gold-grad); border-color: transparent; }
.consent input:checked::after {
  content: '';
  position: absolute;
  left: 6px; top: 2px;
  width: 5px; height: 10px;
  border: solid var(--navy-800);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
.consent input[aria-invalid="true"] { border-color: #e6857a; box-shadow: 0 0 0 3px rgba(230, 133, 122, .18); }
.consent label { color: var(--muted); font-size: 13px; line-height: 1.55; cursor: pointer; }
.consent label a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 2px; }

/* --faint statt --faint-2: 5,4:1 auf dem hellsten Kontakt-Verlauf (#152a5e), WCAG AA */
.form-hint { color: var(--faint); font-size: 12.5px; text-align: center; margin: 2px 0 0; }
/* Honeypot */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Form-Statusmeldungen */
.form-alert {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14.5px;
  line-height: 1.55;
}
.form-alert .ic { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.form-alert--ok { background: rgba(46, 160, 105, .15); border: 1px solid rgba(70, 190, 130, .5); color: #d3efdd; }
.form-alert--ok .ic { color: #5fd39a; }
.form-alert--err { background: rgba(230, 133, 122, .1); border: 1px solid rgba(230, 133, 122, .38); color: #f2c9c2; }
.form-alert--err .ic { color: #ef9a8f; }
.btn-gold.is-loading { opacity: .75; pointer-events: none; }
.btn-gold.is-loading .ic { animation: spin .8s linear infinite; }

/* =============================================================
   Footer
   ============================================================= */
.site-footer {
  background: var(--navy-900);
  color: var(--muted-2);
  padding: clamp(56px, 7vw, 88px) var(--pad-x) 40px;
  border-top: 1px solid rgba(200, 162, 76, .2);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { height: 52px; width: auto; }
.footer-brand__name { font-family: 'Marcellus', serif; color: var(--cream); font-size: 20px; letter-spacing: .1em; }
.footer-brand__sub { color: var(--faint); font-size: 14px; }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav .navlink { color: var(--muted); font-size: 14px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.1fr;
  gap: clamp(28px, 5vw, 64px);
  padding: 44px 0;
  font-size: 14px;
  line-height: 1.75;
}
.footer-col p { margin: 0; }
.footer-about { max-width: 380px; }
.footer-about > p { margin: 0 0 20px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.footer-social { display: flex; gap: 12px; }
.btn-square {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: 11px;
  border: 1px solid rgba(200, 162, 76, .32);
  background: rgba(255, 255, 255, .03);
  color: var(--gold);
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.btn-square .ic { width: 18px; height: 18px; }
.btn-square:hover { background: rgba(200, 162, 76, .12); border-color: rgba(200, 162, 76, .55); transform: translateY(-2px); color: var(--gold); }
.footer-h {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 16px;
}
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 20px; }
.footer-links a { color: var(--muted-2); }
.footer-links a:hover { color: var(--gold-light); }
.footer-col--contact p { color: var(--muted-2); }
.footer-col--contact .tel { color: var(--gold-light); font-weight: 600; }
.footer-col--contact a:hover { color: var(--gold-light); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .09);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  color: var(--faint-2);
  font-size: 12.5px;
}
.footer-bottom__legal { display: flex; gap: 18px; }

/* Scroll-Sperre für geöffnetes Mobile-Menü und Lightbox */
body.modal-open { overflow: hidden; }

/* =============================================================
   Rechtsseiten (Impressum / Datenschutz)
   ============================================================= */
.legal-hero {
  background: radial-gradient(120% 90% at 50% 0%, #152a5e, #0c1631 60%);
  padding: calc(var(--header-h) + clamp(40px, 7vw, 72px)) var(--pad-x) clamp(40px, 6vw, 60px);
  text-align: center;
  border-bottom: 1px solid rgba(200, 162, 76, .2);
}
.legal-hero .eyebrow { color: var(--gold); margin-bottom: 12px; }
.legal-hero h1 {
  font-family: 'Marcellus', serif;
  color: var(--cream);
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  margin: 0 0 10px;
}
.legal-hero p { color: var(--muted); margin: 0; font-weight: 300; }

.legal-body { background: var(--cream); padding: clamp(46px, 7vw, 78px) var(--pad-x) clamp(64px, 9vw, 110px); }
.legal-wrap { max-width: 780px; margin: 0 auto; color: var(--ink); }
.legal-wrap section { margin-bottom: 34px; }
.legal-wrap h2 {
  font-family: 'Marcellus', serif;
  font-size: clamp(21px, 2.6vw, 27px);
  color: var(--ink);
  margin: 0 0 12px;
  line-height: 1.2;
}
.legal-wrap h3 { font-size: 15.5px; color: var(--ink); margin: 18px 0 6px; }
.legal-wrap p, .legal-wrap li { color: var(--body); font-size: 15.5px; line-height: 1.7; }
.legal-wrap p { margin: 0 0 12px; }
.legal-wrap ul { margin: 0 0 14px; padding-left: 20px; }
.legal-wrap li { margin-bottom: 5px; }
.legal-wrap a { color: var(--royal); text-decoration: underline; text-underline-offset: 2px; }
.legal-wrap a:hover { color: #14338a; }
.legal-wrap strong, .legal-wrap .addr { color: var(--ink); }
.legal-wrap .addr { font-weight: 500; }
.legal-lead { font-size: 16px !important; color: var(--body-2) !important; margin-bottom: 30px !important; }
.legal-hr { height: 1px; background: rgba(18, 23, 42, .1); border: 0; margin: 4px 0 30px; }
.legal-back {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 42px; color: var(--royal); font-weight: 600; font-size: 15px;
  text-decoration: none;
}
.legal-back:hover { color: #14338a; }
.legal-back .ic { width: 18px; height: 18px; transform: rotate(180deg); }
.legal-meta { color: var(--body-2); font-size: 13px; margin-top: 30px; border-top: 1px solid rgba(18, 23, 42, .1); padding-top: 16px; }

/* =============================================================
   Keyframes
   ============================================================= */
@keyframes pulseDown { 0%, 100% { transform: translateX(-50%) translateY(0); opacity: .5; } 50% { transform: translateX(-50%) translateY(8px); opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* =============================================================
   Responsive
   ============================================================= */
@media (max-width: 900px) {
  .nav__links, .header-phone { display: none; }
  .nav-toggle { display: inline-flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-about { max-width: none; }
  /* Größere Touch-Ziele auf Touch-Geräten */
  .btn-round { width: 44px; height: 44px; }
  .nav-toggle { width: 44px; height: 44px; }
  .footer-bottom__legal button, .footer-bottom__legal { min-height: 44px; display: inline-flex; align-items: center; }
}
@media (max-width: 900px) {
  /* Vor-Ort-Karte: Foto oben, Text darunter */
  .visit { grid-template-columns: 1fr; }
  .visit__photo { min-height: 0; }
  .visit__photo img { height: 300px; }
}
@media (max-width: 620px) {
  .form-row { grid-template-columns: 1fr; }
  .ccard__btns { grid-template-columns: 1fr; }
  /* Galerie: eine Spalte, Feature-Kachel wird normale Kachel (kein erzwungener 2-Spalten-Track) */
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .gimg--feature { grid-column: auto; grid-row: auto; }
  .footer-top { justify-content: flex-start; }
  /* Aktions-Band: CTA in voller Breite unter dem Text */
  .promo__cta { width: 100%; align-items: stretch; }
}
/* Schmale Phones: Untertitel weg, Wortmarke bleibt – kompakter, damit Call/WhatsApp/Hamburger sicher passen */
@media (max-width: 520px) {
  /* Hero-Eyebrow einzeilig halten (bricht sonst zwischen den Gold-Linien um) */
  .eyebrow-hero { font-size: 11px; letter-spacing: .18em; gap: 9px; }
  .eyebrow-hero span.rule { width: 20px; }
  .brand { gap: 9px; }
  .brand img { height: 30px; }
  .brand__sub { display: none; }
  .brand__name { font-size: 15px; letter-spacing: .07em; }
  .header-actions { gap: 8px; }
  .site-header { gap: 12px; }
}
/* Kompakter, damit die Wortmarke auch auf 360–400px-Phones neben Call/WhatsApp/Hamburger passt */
@media (max-width: 400px) {
  .brand { gap: 7px; }
  .brand img { height: 25px; }
  .brand__name { font-size: 13px; letter-spacing: .02em; }
}
/* Sehr schmale Geräte (z. B. iPhone SE, 320px): nur noch das Logo-Zeichen */
@media (max-width: 344px) {
  .brand__text { display: none; }
}
@media (max-width: 420px) {
  .footer-links { grid-template-columns: 1fr; }
  .btn-gold, .btn-royal, .btn-outline, .btn-navy { width: 100%; }
  .hero__cta { width: 100%; }
}

/* =============================================================
   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;
  }
  .js .reveal, .js .revx { opacity: 1 !important; transform: none !important; }
  .js .hero__inner > * { animation: none !important; opacity: 1 !important; transform: none !important; }
  .hero__scroll { animation: none; }
  .svc:hover { transform: none; }
  .gimg:hover img { transform: none; }
}
