/* ==========================================================================
   ERHART COMPUTER GMBH — Stylesheet v4
   Prinzip: Weniger ist mehr. Hell, ruhig, viel Weissraum.
   Blau #0F4593 trägt, Gold #FEEB1A wird sparsam gesetzt (Akzent, nicht Deko).
   Alle Farben zentral in :root.
   ========================================================================== */

:root {
  --blau:        #0F4593;
  --blau-tief:   #0A2F66;
  --blau-hell:   #2F6CD0;
  --gold:        #FEEB1A;
  --lila:        #7A4D99;

  --bg:          #FFFFFF;
  --bg-soft:     #F5F7FB;
  --bg-tint:     #EDF2FA;
  --bg-dark:     #0C1830;

  --line:        #E1E7F0;
  --line-strong: #C9D4E4;

  --text:        #10192B;
  --text-dim:    #56637A;
  --text-faint:  #8492A8;

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  --maxw: 1180px;
  --gutter: clamp(1.15rem, 4vw, 3.5rem);
  --radius: 14px;
  --radius-sm: 8px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 1px 2px rgba(16,25,43,.04), 0 8px 30px -12px rgba(16,25,43,.10);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 17px; line-height: 1.68;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--gold); color: #1a1500; }
:focus-visible { outline: 2px solid var(--blau); outline-offset: 3px; border-radius: 3px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; }
.lead { font-size: 1.13rem; color: var(--text-dim); line-height: 1.72; }
.eyebrow {
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--blau);
  display: inline-flex; align-items: center; gap: 0.6rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gold); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }
.section--soft { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section--dark { background: var(--bg-dark); color: #EEF2F8; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lead, .section--dark p { color: #A9B6CC; }
.section--dark .eyebrow { color: var(--gold); }
.section-head { max-width: 680px; margin-bottom: 3rem; }
.section-head h2 { font-size: clamp(1.85rem, 4.2vw, 2.9rem); margin-top: 1rem; }
.section-head p { color: var(--text-dim); margin-top: 1rem; max-width: 58ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.85rem 1.45rem; font-family: var(--font-mono);
  font-size: 0.8rem; letter-spacing: 0.05em; text-transform: uppercase;
  border-radius: var(--radius-sm); border: 1px solid transparent;
  transition: all 0.28s var(--ease); white-space: nowrap;
}
.btn--primary { background: var(--blau); color: #fff; font-weight: 500; }
.btn--primary:hover { background: var(--blau-tief); transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(15,69,147,.6); }
.btn--gold { background: var(--gold); color: #1a1500; font-weight: 600; }
.btn--gold:hover { background: #FFF37F; transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(254,235,26,.7); }
.btn--ghost { border-color: var(--line-strong); color: var(--text); background: #fff; }
.btn--ghost:hover { border-color: var(--blau); color: var(--blau); transform: translateY(-2px); }
.btn--onDark { border: 1px solid rgba(255,255,255,.28); color: #fff; background: rgba(255,255,255,.06); }
.btn--onDark:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.5); }
.btn .arrow { transition: transform .28s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.link-arrow { display: inline-flex; align-items: center; gap: .5rem; color: var(--blau); font-family: var(--font-mono); font-size: .82rem; letter-spacing: .04em; border-bottom: 1px solid transparent; padding-bottom: 2px; transition: border-color .25s; }
.link-arrow:hover { border-bottom-color: var(--blau); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .35s var(--ease), border-color .35s, box-shadow .35s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(255,255,255,.92); backdrop-filter: blur(14px); border-bottom-color: var(--line); box-shadow: 0 1px 20px -10px rgba(16,25,43,.3); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 1rem; }
.brand img { height: 40px; width: auto; }
.brand .logo-light { display: none; }
.nav-links { display: flex; align-items: center; gap: 0.1rem; list-style: none; }
.nav-links > li > a { display: block; padding: 0.5rem 0.8rem; font-size: 0.92rem; color: var(--text-dim); border-radius: var(--radius-sm); transition: color .2s; }
.nav-links > li > a:hover { color: var(--text); }
.nav-links > li > a.active { color: var(--blau); font-weight: 500; }
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 0.4rem;
  min-width: 200px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all .22s var(--ease); box-shadow: 0 20px 50px -20px rgba(16,25,43,.35);
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 0.55rem 0.85rem; font-size: 0.9rem; border-radius: var(--radius-sm); color: var(--text-dim); }
.dropdown a:hover { background: var(--bg-soft); color: var(--blau); }
.nav-tools { display: flex; align-items: center; gap: .5rem; }

/* Header auf transparentem Hero: helle Schrift bis zum Scrollen */
body.hero-dark .site-header:not(.scrolled) .nav-links > li > a,
body.hero-dark .site-header:not(.scrolled) .nav-links > li > a.active { color: rgba(255,255,255,.85); }
body.hero-dark .site-header:not(.scrolled) .nav-links > li > a:hover { color: #fff; }
body.hero-dark .site-header:not(.scrolled) .brand .logo-light { display: block; }
body.hero-dark .site-header:not(.scrolled) .brand .logo-color { display: none; }
body.hero-dark .site-header:not(.scrolled) .burger span { background: #fff; }
body.hero-dark .site-header:not(.scrolled) .btn--ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.35); color: #fff; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--text); transition: all .3s var(--ease); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 74px 0 0 0; background: #fff; z-index: 99;
  padding: 1.5rem var(--gutter) 2.5rem; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .38s var(--ease); overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a { padding: 0.95rem 0; font-size: 1.22rem; font-family: var(--font-display); border-bottom: 1px solid var(--line); color: var(--text); }
.mobile-menu a.active { color: var(--blau); }
.mobile-menu .sub { padding-left: 1.1rem; font-size: 1rem; color: var(--text-dim); }
.mobile-menu .mm-actions { margin-top: 1.8rem; display: grid; gap: .7rem; }
.mobile-menu .mm-actions .btn { justify-content: center; }

/* ---------- Hero (Drohnenvideo) ---------- */
.hero { position: relative; min-height: 92svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img, .hero-bg video { width: 100%; height: 100%; object-fit: cover; }
.hero-veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(105deg, rgba(10,24,52,.86) 0%, rgba(10,24,52,.55) 46%, rgba(10,24,52,.18) 100%),
    linear-gradient(to bottom, rgba(10,24,52,.55) 0%, transparent 30%, rgba(8,18,38,.72) 100%);
}
.hero-content { position: relative; z-index: 2; width: 100%; padding-top: 8rem; padding-bottom: 3rem; color: #fff; }
.hero h1 { font-size: clamp(2.4rem, 6.4vw, 5rem); max-width: 15ch; margin: 1.2rem 0 1.4rem; color: #fff; }
.hero h1 .accent { color: var(--gold); }
.hero .lead { max-width: 50ch; color: rgba(255,255,255,.85); }
.hero .eyebrow { color: rgba(255,255,255,.72); }
.hero .eyebrow::before { background: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }

/* Faktenleiste am Hero-Fuss */
.hero-facts {
  position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,.16);
  background: rgba(8,18,38,.4); backdrop-filter: blur(6px);
}
.hero-facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-block: 1.2rem; }
.hero-facts div { font-family: var(--font-mono); font-size: .76rem; color: rgba(255,255,255,.62); letter-spacing: .03em; }
.hero-facts b { display: block; font-size: 1.05rem; color: #fff; font-weight: 500; margin-bottom: .15rem; letter-spacing: 0; }
.hero-facts .gold { color: var(--gold); }

/* ---------- Direkteinstieg (3 Wege) ---------- */
.entry { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: -3.5rem; position: relative; z-index: 5; }
.entry-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.6rem 1.6rem; box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
  display: flex; flex-direction: column;
}
.entry-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 20px 50px -22px rgba(16,25,43,.4); }
.entry-card .ico { width: 34px; height: 34px; color: var(--blau); margin-bottom: 1rem; }
.entry-card h3 { font-size: 1.18rem; margin-bottom: .5rem; }
.entry-card p { color: var(--text-dim); font-size: .95rem; flex: 1; margin-bottom: 1.1rem; }
.entry-card.is-support { border-color: rgba(15,69,147,.35); background: linear-gradient(180deg, #fff, var(--bg-tint)); }

/* ---------- Text-Block ---------- */
.prose { max-width: 62ch; }
.prose p { color: var(--text-dim); margin-bottom: 1.2rem; }
.prose p strong { color: var(--text); font-weight: 600; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }

/* Faktenliste statt Zähler-Spielerei */
.facts { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 6rem 1fr; gap: 1.4rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.facts b { font-family: var(--font-display); font-size: 1.35rem; color: var(--blau); font-weight: 600; }
.facts span { color: var(--text-dim); font-size: .96rem; }

/* ---------- Leistungen ---------- */
.svc { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.svc a { background: #fff; padding: 2.2rem 2rem; display: flex; flex-direction: column; transition: background .3s; position: relative; }
.svc a:hover { background: var(--bg-tint); }
.svc a::after { content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 0; background: var(--gold); transition: height .35s var(--ease); }
.svc a:hover::after { height: 100%; }
.svc .n { font-family: var(--font-mono); font-size: .74rem; color: var(--text-faint); letter-spacing: .1em; }
.svc h3 { font-size: 1.3rem; margin: .9rem 0 .6rem; }
.svc p { color: var(--text-dim); font-size: .96rem; flex: 1; margin-bottom: 1.2rem; }
.svc .link-arrow { align-self: flex-start; }

/* ---------- Referenzen: Zitat-Slider + Logowand ---------- */
.quotes { position: relative; }
.quote-track { display: flex; gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 1rem; -ms-overflow-style: none; scrollbar-width: none; }
.quote-track::-webkit-scrollbar { display: none; }
.quote-card {
  scroll-snap-align: start; flex: 0 0 min(430px, 84vw);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.9rem 1.6rem; display: flex; flex-direction: column;
  transition: border-color .3s, transform .3s var(--ease);
}
.quote-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.quote-card .mark { font-family: var(--font-display); font-size: 3rem; line-height: .6; color: var(--gold); margin-bottom: .8rem; }
.quote-card blockquote { color: var(--text); font-size: 1.02rem; line-height: 1.62; flex: 1; }
.quote-card .tags { display: flex; flex-wrap: wrap; gap: .35rem; margin: 1.3rem 0 1.1rem; }
.quote-card .tags span { font-family: var(--font-mono); font-size: .67rem; padding: .22rem .6rem; border: 1px solid var(--line); border-radius: 99px; color: var(--text-faint); }
.quote-card .who { padding-top: 1rem; border-top: 1px solid var(--line); }
.quote-card .who b { display: block; font-size: .95rem; }
.quote-card .who span { font-size: .84rem; color: var(--text-faint); }
.quote-nav { display: flex; gap: .5rem; margin-top: 1.4rem; align-items: center; }
.quote-nav button { width: 40px; height: 40px; border: 1px solid var(--line-strong); background: #fff; border-radius: 50%; color: var(--text); display: grid; place-items: center; transition: all .25s; }
.quote-nav button:hover { border-color: var(--blau); color: var(--blau); }
.quote-nav .count { margin-left: auto; font-family: var(--font-mono); font-size: .78rem; color: var(--text-faint); }

/* Logowand der Kunden */
.logowall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 3rem; }
.logowall div {
  background: #fff; min-height: 84px; display: grid; place-items: center; padding: 1rem .6rem;
  font-family: var(--font-mono); font-size: .72rem; color: var(--text-faint);
  text-align: center; letter-spacing: .02em; transition: background .25s, color .25s;
}
.logowall div:hover { background: var(--bg-tint); color: var(--blau); }

/* ---------- Partner ---------- */
.partner-lead { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 1rem; }
.partner-hero {
  display: flex; align-items: center; gap: 1.4rem; padding: 1.6rem;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: border-color .3s, transform .3s var(--ease);
}
.partner-hero:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.partner-hero img { height: 62px; width: auto; flex-shrink: 0; }
.partner-hero b { display: block; font-family: var(--font-display); font-size: 1.02rem; }
.partner-hero span { font-size: .88rem; color: var(--text-dim); }

.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.partner-cell { background: #fff; padding: 1.5rem 1.2rem; min-height: 118px; display: flex; flex-direction: column; justify-content: center; gap: .3rem; transition: background .25s; }
.partner-cell:hover { background: var(--bg-tint); }
.partner-cell b { font-family: var(--font-display); font-size: .98rem; color: var(--text); letter-spacing: -.01em; }
.partner-cell span { font-family: var(--font-mono); font-size: .7rem; color: var(--text-faint); letter-spacing: .04em; line-height: 1.5; }
.partner-cell:hover b { color: var(--blau); }

/* ---------- TeamViewer / Fernwartung ---------- */
.remote-band {
  background: var(--bg-dark); color: #fff; border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3.4rem); display: grid; grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center; position: relative; overflow: hidden;
}
.remote-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 90% at 85% 20%, rgba(15,69,147,.55), transparent 65%); }
.remote-band > * { position: relative; z-index: 1; }
.remote-band h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin: 1rem 0 1rem; color: #fff; }
.remote-band p { color: #A9B6CC; max-width: 46ch; }
.remote-band .eyebrow { color: var(--gold); }
.remote-steps { list-style: none; display: grid; gap: .75rem; margin-top: 1.6rem; }
.remote-steps li { display: flex; gap: .85rem; align-items: center; color: #C4CFDF; font-size: .95rem; }
.remote-steps .n { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(255,255,255,.24); display: grid; place-items: center; font-family: var(--font-mono); font-size: .74rem; color: var(--gold); }
.remote-box { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 1.8rem; }
.remote-box .live { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #9FE8B4; margin-bottom: 1.2rem; }
.remote-box .live.off { color: #FFC48A; }
.remote-box .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.remote-box .btn { width: 100%; justify-content: center; margin-bottom: .6rem; }
.remote-box .hint { font-size: .82rem; color: #8494AC; margin-top: 1rem; line-height: 1.55; }
.remote-box .alt { display: block; text-align: center; font-family: var(--font-mono); font-size: .76rem; color: #8494AC; margin-top: .9rem; }
.remote-box .alt:hover { color: #fff; }

/* Sticky Support-Knopf (mobil) */
.sos { position: fixed; right: 1rem; bottom: 1rem; z-index: 90; display: none; }
.sos a { display: flex; align-items: center; gap: .5rem; background: var(--blau); color: #fff; padding: .85rem 1.2rem; border-radius: 99px; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .04em; box-shadow: 0 12px 30px -8px rgba(15,69,147,.7); }
.sos svg { width: 17px; height: 17px; }

/* ---------- Region ---------- */
.region { display: grid; grid-template-columns: 1.6fr 1fr; grid-auto-rows: 200px; gap: 1rem; }
.region figure { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.region figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.region figure:hover img { transform: scale(1.04); }
.region .r-big { grid-row: span 2; }
.region figcaption { position: absolute; inset: auto 0 0 0; padding: .9rem 1.1rem; background: linear-gradient(to top, rgba(10,24,52,.9), transparent); font-family: var(--font-mono); font-size: .73rem; color: #fff; letter-spacing: .02em; }

/* ---------- Team ---------- */
.team-rows { border-top: 1px solid var(--line); }
.team-group { padding-block: 2.6rem; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 220px 1fr; gap: 2.5rem; align-items: start; }
.team-group > h3 { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); font-weight: 400; padding-top: .4rem; position: sticky; top: 100px; }
.team-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.4rem 1.6rem; }
.person { display: block; }
.person-photo { aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden; background: var(--bg-tint); border: 1px solid var(--line); position: relative; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.person:hover .person-photo img { transform: scale(1.05); }
.person-photo .since { position: absolute; top: .7rem; right: .7rem; background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: 99px; padding: .18rem .55rem; font-family: var(--font-mono); font-size: .66rem; color: var(--text-dim); }
.person h4 { font-size: 1.05rem; margin: .85rem 0 .15rem; }
.person .role { font-family: var(--font-mono); font-size: .72rem; color: var(--blau); letter-spacing: .03em; }
.person .note { font-size: .88rem; color: var(--text-dim); margin-top: .6rem; line-height: 1.55; }
.person .mail { display: inline-block; margin-top: .55rem; font-family: var(--font-mono); font-size: .74rem; color: var(--text-faint); }
.person .mail:hover { color: var(--blau); }
.person--dog .person-photo { border-style: dashed; }

.team-quote { max-width: 700px; margin: 0 auto; text-align: center; }
.team-quote blockquote { font-family: var(--font-display); font-size: clamp(1.3rem, 2.8vw, 1.85rem); line-height: 1.42; letter-spacing: -.01em; }
.team-quote .who { font-family: var(--font-mono); font-size: .78rem; color: var(--text-faint); margin-top: 1.4rem; letter-spacing: .06em; }

/* ---------- Seiten-Hero (Unterseiten) ---------- */
.page-hero { padding-top: calc(74px + clamp(2.6rem, 7vw, 5rem)); padding-bottom: clamp(2.2rem, 5vw, 3.6rem); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-tint), #fff); }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.9rem); max-width: 17ch; margin: 1.1rem 0 1.2rem; }
.page-hero h1 .accent { color: var(--blau); }
.page-hero .lead { max-width: 56ch; }
.breadcrumb { font-family: var(--font-mono); font-size: .74rem; color: var(--text-faint); letter-spacing: .05em; }
.breadcrumb a:hover { color: var(--blau); }

/* ---------- CTA ---------- */
.cta-band {
  background: var(--blau); color: #fff; border-radius: var(--radius);
  padding: clamp(2.4rem, 5.5vw, 4rem); text-align: center; position: relative; overflow: hidden;
}
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% -20%, rgba(254,235,26,.18), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: .9rem; color: #fff; }
.cta-band p { color: #C7D5EC; max-width: 46ch; margin: 0 auto 1.9rem; }
.cta-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-dark); color: #A9B6CC; padding-block: 3.6rem 1.8rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.4rem; }
.footer-brand img { height: 46px; width: auto; margin-bottom: 1rem; }
.footer-brand p { max-width: 34ch; font-size: .93rem; }
.footer-grid h4 { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: #6E7D96; margin-bottom: 1.1rem; font-weight: 500; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: .5rem; font-size: .93rem; }
.footer-grid a:hover { color: var(--gold); }
.footer-grid p { font-size: .93rem; margin-bottom: .5rem; }
.footer-hours b { color: #fff; font-weight: 500; }
.footer-terra { display: flex; align-items: center; gap: .7rem; margin-top: 1.2rem; padding: .55rem .85rem; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-sm); width: fit-content; }
.footer-terra img { height: 38px; width: auto; margin: 0; }
.footer-terra span { font-family: var(--font-mono); font-size: .68rem; color: #B69FCB; letter-spacing: .03em; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .84rem; color: #6E7D96; }
.footer-bottom a:hover { color: var(--gold); }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
  .logowall { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team-group { grid-template-columns: 1fr; gap: 1.4rem; }
  .team-group > h3 { position: static; }
}
@media (max-width: 880px) {
  .nav-links, .nav-tools .btn { display: none; }
  .burger { display: flex; }
  .entry { grid-template-columns: 1fr; margin-top: 0; }
  .svc { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .remote-band { grid-template-columns: 1fr; }
  .partner-lead { grid-template-columns: 1fr; }
  .region { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .region .r-big { grid-row: span 1; }
  .hero-facts .wrap { grid-template-columns: 1fr 1fr; gap: 1rem 1.4rem; }
  .sos { display: block; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { min-height: 84svh; }
  .hero-content { padding-top: 7rem; }
  .hero-facts .wrap { grid-template-columns: 1fr; padding-block: 1rem; }
  .hero-facts div { display: flex; gap: .6rem; align-items: baseline; }
  .hero-facts b { margin: 0; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .logowall { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .facts li { grid-template-columns: 4.5rem 1fr; gap: 1rem; }
  .partner-hero { flex-direction: column; text-align: center; gap: .9rem; }
  .quote-card { padding: 1.6rem 1.4rem 1.3rem; }
  .team-list { grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
  .person .note { display: none; }
  .cta-actions .btn, .hero-actions .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-bg video { display: none; }
}

/* ==========================================================================
   KOMPATIBILITÄT — Altklassen der Unterseiten im neuen hellen System.
   Diese Seiten (privatkunden, geschaeftskunden, webseiten, referenzen,
   portrait, blog, shop …) nutzen noch das alte Markup. Statt sie neu zu
   bauen, werden ihre Klassen hier sauber übersetzt. Wer eine Seite später
   neu schreibt, kann ihren Block hier entfernen.
   ========================================================================== */

.btn--blau { background: var(--blau); color: #fff; font-weight: 500; }
.btn--blau:hover { background: var(--blau-tief); transform: translateY(-2px); }
.nav-cta { margin-left: .4rem; }
.hero-canvas { display: none; }

/* Kartenraster (Leistungsseiten) */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 1rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.8rem; position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.card::after { content:""; position:absolute; left:0; top:0; height:3px; width:0; background: var(--gold); transition: width .4s var(--ease); }
.card:hover::after { width: 100%; }
.card .idx { font-family: var(--font-mono); font-size: .74rem; color: var(--text-faint); letter-spacing: .1em; }
.card .ico { width: 36px; height: 36px; color: var(--blau); margin: .7rem 0 1.1rem; }
.card h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.card p { color: var(--text-dim); font-size: .96rem; }

/* Feature-Block (Bild + Text) */
.feature { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem,5vw,4.5rem); align-items: center; }
.feature.rev { direction: rtl; } .feature.rev > * { direction: ltr; }
.feature h2 { font-size: clamp(1.7rem,3.8vw,2.6rem); margin: 1rem 0 1.1rem; }
.feature p { color: var(--text-dim); }
.feature-media { aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-tint); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature ul { list-style: none; margin-top: 1.4rem; display: grid; gap: .75rem; }
.feature li { display: flex; gap: .75rem; align-items: flex-start; color: var(--text-dim); }
.feature li::before { content: "→"; color: var(--blau); font-family: var(--font-mono); flex-shrink: 0; }
.ph-label { display: none; }

/* Kennzahlen (portrait) */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: #fff; padding: 1.9rem 1.5rem; }
.stat .num { font-family: var(--font-display); font-size: clamp(2rem,3.6vw,2.9rem); font-weight: 600; color: var(--blau); }
.stat .num .unit { color: var(--gold); -webkit-text-stroke: .5px var(--blau); }
.stat .label { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .09em; color: var(--text-faint); margin-top: .35rem; }

/* Referenzenseite */
.ref-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px,1fr)); gap: 1.3rem; }
.ref-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .3s, transform .3s var(--ease), box-shadow .3s; }
.ref-card:hover { border-color: var(--line-strong); transform: translateY(-4px); box-shadow: var(--shadow); }
.ref-img { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-tint); position: relative; }
.ref-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ref-card:hover .ref-img img { transform: scale(1.04); }
.ref-branche { position: absolute; top: .8rem; left: .8rem; padding: .3rem .65rem; background: rgba(255,255,255,.94); border: 1px solid var(--line); border-radius: 99px; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .05em; color: var(--blau); }
.ref-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.ref-body .quote { color: var(--text); font-size: .96rem; line-height: 1.6; flex: 1; }
.ref-body .quote::before { content: "\201C"; font-family: var(--font-display); font-size: 2rem; color: var(--gold); line-height: .5; display: inline-block; margin-right: .2rem; vertical-align: -.4rem; }
.ref-leistung { display: flex; flex-wrap: wrap; gap: .35rem; margin: 1.1rem 0; }
.ref-leistung span { font-family: var(--font-mono); font-size: .67rem; padding: .22rem .6rem; border: 1px solid var(--line); border-radius: 99px; color: var(--text-faint); }
.ref-who { padding-top: .9rem; border-top: 1px solid var(--line); }
.ref-who b { display: block; color: var(--text); font-size: .94rem; }
.ref-who span { font-size: .82rem; color: var(--text-faint); }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px,1fr)); gap: 1.4rem; }
.post { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .3s, transform .3s var(--ease), box-shadow .3s; }
.post:hover { border-color: var(--line-strong); transform: translateY(-4px); box-shadow: var(--shadow); }
.post-thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-tint); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post:hover .post-thumb img { transform: scale(1.04); }
.post-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-tag { font-family: var(--font-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .09em; color: var(--blau); }
.post h3 { font-size: 1.2rem; margin: .7rem 0; line-height: 1.28; }
.post p { color: var(--text-dim); font-size: .93rem; flex: 1; }
.post-meta { margin-top: 1.1rem; font-family: var(--font-mono); font-size: .74rem; color: var(--text-faint); }
.blog-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.4rem; }
.filter-chip { padding: .48rem 1.05rem; border: 1px solid var(--line-strong); border-radius: 99px; font-family: var(--font-mono); font-size: .78rem; color: var(--text-dim); background: #fff; transition: all .25s; }
.filter-chip:hover { border-color: var(--blau); color: var(--blau); }
.filter-chip.active { background: var(--blau); border-color: var(--blau); color: #fff; }

/* Artikel */
.article { max-width: 720px; margin: 0 auto; }
.article p { margin-bottom: 1.3rem; color: var(--text-dim); }
.article h2 { font-size: 1.6rem; margin: 2.4rem 0 1rem; color: var(--text); }
.article h3 { font-size: 1.25rem; margin: 1.9rem 0 .75rem; color: var(--text); }
.article ul, .article ol { margin: 0 0 1.3rem 1.25rem; color: var(--text-dim); }
.article li { margin-bottom: .45rem; }
.article blockquote { border-left: 3px solid var(--gold); padding-left: 1.3rem; margin: 1.7rem 0; color: var(--text); font-size: 1.08rem; }
.article img { border-radius: var(--radius); margin: 1.9rem 0; border: 1px solid var(--line); }

/* Formulare / Kontakt */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-faint); margin-bottom: .45rem; }
.field input, .field textarea, .field select { width: 100%; background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: .85rem 1rem; color: var(--text); font-family: var(--font-body); font-size: 1rem; transition: border-color .2s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blau); }
.field textarea { resize: vertical; min-height: 140px; }
.info-block { margin-bottom: 1.8rem; }
.info-block h4 { font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .09em; color: var(--text-faint); margin-bottom: .5rem; }
.info-block p, .info-block a { color: var(--text); }
.info-block a:hover { color: var(--blau); }

/* Alte Fernwartungskarten (falls noch irgendwo verwendet) */
.remote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.remote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.remote-card h3 { font-size: 1.22rem; margin-bottom: .5rem; }
.remote-card p { color: var(--text-dim); font-size: .95rem; margin-bottom: 1.3rem; }
.remote-card .btn { width: 100%; justify-content: center; }
.steps-row { display: flex; align-items: center; gap: .75rem; color: var(--text-dim); font-size: .92rem; margin-bottom: .55rem; }
.steps-row .no { font-family: var(--font-mono); color: var(--blau); border: 1px solid var(--line-strong); border-radius: 50%; width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: .78rem; }
.notfall { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--radius); padding: 1.9rem; }

/* Team-Switcher wird nicht mehr gebraucht (eine Teamseite statt drei) */
.team-switcher, .team-intro-card { display: none; }

@media (max-width: 1024px) { .stats { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 880px) {
  .feature, .feature.rev { grid-template-columns: 1fr; direction: ltr; }
  .contact-grid, .remote-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   BESTANDS-KLASSEN aus den Unterseiten (Privat-/Geschäftskunden, Referenzen,
   Blog, Portrait). Hier auf das helle Layout umgestellt, damit alle Seiten
   ohne Umbau weiterlaufen.
   ========================================================================== */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.1rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem 1.7rem; position: relative; overflow: hidden;
  transition: border-color .3s var(--ease), transform .3s var(--ease), background .3s;
  display: flex; flex-direction: column;
}
.card::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--gold); transition: width .4s var(--ease); }
.card:hover { transform: translateY(-4px); background: var(--bg-tint); border-color: var(--line-strong); }
.card:hover::after { width: 100%; }
.card .idx { font-family: var(--font-mono); font-size: .76rem; color: var(--text-faint); }
.card .ico { width: 36px; height: 36px; color: var(--blau); margin: .5rem 0 1.1rem; }
.card h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.card p { color: var(--text-dim); font-size: .96rem; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: #fff; padding: 1.8rem 1.5rem; }
.stat .num { font-family: var(--font-display); font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 600; color: var(--blau); }
.stat .num .unit { color: var(--gold); }
.stat .label { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .09em; color: var(--text-faint); margin-top: .35rem; }

.ref-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 1.4rem; }
.ref-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .3s, transform .3s var(--ease); }
.ref-card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.ref-img { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-tint); position: relative; }
.ref-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ref-card:hover .ref-img img { transform: scale(1.04); }
.ref-branche { position: absolute; top: .85rem; left: .85rem; padding: .3rem .7rem; background: rgba(255,255,255,.94); border: 1px solid var(--line); border-radius: 99px; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .05em; color: var(--blau); }
.ref-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.ref-body .quote { color: var(--text); font-size: .96rem; line-height: 1.6; flex: 1; }
.ref-body .quote::before { content: "\201C"; font-family: var(--font-display); font-size: 2rem; color: var(--gold); line-height: .5; display: inline-block; margin-right: .2rem; vertical-align: -.4rem; }
.ref-leistung { display: flex; flex-wrap: wrap; gap: .35rem; margin: 1.1rem 0; }
.ref-leistung span { font-family: var(--font-mono); font-size: .67rem; padding: .22rem .6rem; border: 1px solid var(--line); border-radius: 99px; color: var(--text-faint); }
.ref-who { padding-top: 1rem; border-top: 1px solid var(--line); }
.ref-who b { display: block; color: var(--text); font-size: .94rem; }
.ref-who span { font-size: .82rem; color: var(--text-faint); }

/* Blog / Artikel / Formulare / Feature-Blöcke auf hell */
.post { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .3s, transform .3s var(--ease); }
.post:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 1.5rem; }
.post-thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-tint); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post:hover .post-thumb img { transform: scale(1.04); }
.post-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-tag { font-family: var(--font-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--blau); }
.post h3 { font-size: 1.2rem; margin: .75rem 0; line-height: 1.28; }
.post p { color: var(--text-dim); font-size: .94rem; flex: 1; }
.post-meta { margin-top: 1.1rem; font-family: var(--font-mono); font-size: .74rem; color: var(--text-faint); }
.blog-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.4rem; }
.filter-chip { padding: .48rem 1.05rem; border: 1px solid var(--line-strong); border-radius: 99px; font-family: var(--font-mono); font-size: .78rem; color: var(--text-dim); background: #fff; transition: all .25s; }
.filter-chip:hover { border-color: var(--blau); color: var(--blau); }
.filter-chip.active { background: var(--blau); border-color: var(--blau); color: #fff; }

.article { max-width: 720px; margin: 0 auto; }
.article p { margin-bottom: 1.3rem; color: var(--text-dim); }
.article h2 { font-size: 1.65rem; margin: 2.4rem 0 1rem; color: var(--text); }
.article h3 { font-size: 1.25rem; margin: 1.9rem 0 .8rem; color: var(--text); }
.article ul, .article ol { margin: 0 0 1.3rem 1.3rem; color: var(--text-dim); }
.article li { margin-bottom: .45rem; }
.article blockquote { border-left: 3px solid var(--gold); padding-left: 1.3rem; margin: 1.7rem 0; color: var(--text); font-size: 1.08rem; }
.article img { border-radius: var(--radius); margin: 1.9rem 0; border: 1px solid var(--line); }

.feature { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.feature.rev { direction: rtl; } .feature.rev > * { direction: ltr; }
.feature-media { aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-tint); position: relative; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature h2 { font-size: clamp(1.7rem, 3.8vw, 2.6rem); margin: 1rem 0 1.1rem; }
.feature p { color: var(--text-dim); }
.feature ul { list-style: none; margin-top: 1.4rem; display: grid; gap: .75rem; }
.feature li { display: flex; gap: .8rem; align-items: flex-start; color: var(--text-dim); }
.feature li::before { content: "→"; color: var(--blau); font-family: var(--font-mono); flex-shrink: 0; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-faint); margin-bottom: .45rem; }
.field input, .field textarea, .field select { width: 100%; background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: .85rem 1rem; color: var(--text); font-family: var(--font-body); font-size: 1rem; transition: border-color .2s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blau); }
.field textarea { resize: vertical; min-height: 140px; }
.info-block { margin-bottom: 1.8rem; }
.info-block h4 { font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-faint); margin-bottom: .5rem; }
.info-block p, .info-block a { color: var(--text); }
.info-block a:hover { color: var(--blau); }

/* Alte Partner-Leiste (Unterseiten) */
.partners { display: flex; flex-wrap: wrap; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.partner { flex: 1 1 140px; background: #fff; padding: 1.5rem 1rem; display: flex; align-items: center; justify-content: center; min-height: 90px; transition: background .3s; }
.partner:hover { background: var(--bg-tint); }
.partner span { font-family: var(--font-mono); font-size: .82rem; color: var(--text-faint); letter-spacing: .03em; text-align: center; transition: color .3s; }
.partner:hover span { color: var(--blau); }

/* Altes Team-Grid (falls noch irgendwo verwendet) */
.member { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.team-switcher { display: none; }

@media (max-width: 1024px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 880px) {
  .feature, .feature.rev { grid-template-columns: 1fr; direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .stats { grid-template-columns: 1fr 1fr; } }
