/* ============================================================
   Schützwerk Security – Premium Redesign
   ============================================================ */

:root {
  --ink:        #05101b;
  --ink-2:      #091522;
  --ink-3:      #0d1c2e;
  --surface:    #101f32;
  --surface-2:  #142538;
  --silver:     #bfcfdf;
  --silver-hi:  #e4edf6;
  --silver-dim: #64829e;
  --text:       #d4e2ef;
  --text-muted: #6e8ba6;
  --line:       rgba(191,207,223,0.1);
  --line-2:     rgba(191,207,223,0.2);
  --font:       'Inter', system-ui, -apple-system, sans-serif;
  --max:        1200px;
  --nav-h:      78px;
  --r:          6px;
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ── Container ── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Scroll animations ── */
.reveal { opacity: 1; transform: none; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─────────────────────────────────────────
   NAVBAR
───────────────────────────────────────── */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.3s, border-color 0.3s;
}
.navbar.scrolled {
  background: rgba(5, 16, 27, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-logo img {
  height: 76px;
  width: auto;
  object-fit: contain;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 3rem;
}
.nav-menu a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  transition: color 0.2s;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--silver);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease);
}
.nav-menu a:hover,
.nav-menu a.active {
  color: var(--silver-hi);
}
.nav-menu a:hover::after,
.nav-menu a.active::after {
  transform: scaleX(1);
}
.nav-cta {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink) !important;
  background: var(--silver);
  padding: 0.55rem 1.4rem;
  border-radius: var(--r);
  transition: background 0.2s, transform 0.2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--silver-hi) !important;
  transform: translateY(-1px) !important;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--silver);
  transition: all 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 4rem 5rem 2rem;
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--silver-dim);
  margin-bottom: 2rem;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--silver);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero-heading {
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--silver-hi);
  margin-bottom: 1.75rem;
}
.hero-heading em {
  font-style: normal;
  color: var(--silver-dim);
}
.hero-sub {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 460px;
  margin-bottom: 2.5rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}
.hero-meta {
  display: flex;
  gap: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}
.hero-meta-item strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--silver-hi);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.hero-meta-item span {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver-dim);
}

.hero-right {
  position: relative;
  overflow: hidden;
}
.hero-right img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--ink) 0%, transparent 30%),
              linear-gradient(to top, var(--ink) 0%, transparent 20%);
  z-index: 1;
}

/* ─────────────────────────────────────────
   MARQUEE
───────────────────────────────────────── */
.marquee {
  background: var(--ink-3);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  gap: 0;
  animation: marquee 35s linear infinite;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--silver-dim);
}
.marquee-dot {
  width: 4px; height: 4px;
  background: var(--silver-dim);
  border-radius: 50%;
  flex-shrink: 0;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─────────────────────────────────────────
   BUTTONS
───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  border: none;
  transition: all 0.22s var(--ease);
  white-space: nowrap;
}
.btn-solid {
  background: var(--silver);
  color: var(--ink);
  padding: 0.85rem 2rem;
  border-radius: var(--r);
}
.btn-solid:hover {
  background: var(--silver-hi);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  padding: 0.85rem 2rem;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
}
.btn-ghost:hover {
  border-color: var(--silver-dim);
  color: var(--silver-hi);
  transform: translateY(-2px);
}
.btn-link {
  background: transparent;
  color: var(--silver-dim);
  padding: 0;
  font-size: 0.82rem;
  border-bottom: 1px solid var(--line-2);
  border-radius: 0;
  padding-bottom: 2px;
}
.btn-link:hover {
  color: var(--silver-hi);
  border-color: var(--silver);
}

/* ─────────────────────────────────────────
   SECTION WRAPPER
───────────────────────────────────────── */
.section {
  padding: 8rem 0;
}
.section--tight { padding: 5rem 0; }
.section--dark  { background: var(--ink-2); }
.section--surface { background: var(--ink-3); }

.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver-dim);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--silver-dim);
  flex-shrink: 0;
}

/* ─────────────────────────────────────────
   SERVICES LIST (Homepage)
───────────────────────────────────────── */
.services-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 4rem;
}
.services-header h2 {
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--silver-hi);
  line-height: 1.1;
}
.services-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 380px;
  margin-left: auto;
}

.services-list { border-top: 1px solid var(--line); }
.service-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: start;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background 0.2s;
  border-radius: 4px;
}
.service-row:hover { background: rgba(191,207,223,0.03); }
.service-row-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--silver-dim);
  padding-top: 4px;
}
.service-row-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--silver-hi);
  letter-spacing: -0.02em;
  margin-bottom: 0;
  transition: color 0.2s;
}
.service-row:hover .service-row-content h3 { color: #fff; }
.service-row-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 580px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease, margin-top 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  margin-top: 0;
}
.service-row.open .service-row-desc {
  max-height: 200px;
  margin-top: 0.6rem;
  opacity: 1;
}
.service-row-arrow {
  color: var(--silver-dim);
  font-size: 1.2rem;
  padding-top: 2px;
  transition: transform 0.25s var(--ease), color 0.2s;
}
.service-row:hover .service-row-arrow { color: var(--silver); transform: translateX(4px); }
.service-row.open .service-row-arrow  { color: var(--silver); transform: rotate(90deg); }

/* ─────────────────────────────────────────
   SPLIT SECTION (About preview)
───────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.split-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/5;
}
.split-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.split-image-label {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem;
  background: rgba(5,16,27,0.85);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(12px);
  border-radius: var(--r);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.split-image-label span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--silver);
}
.split-content h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--silver-hi);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.split-content p {
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* ─────────────────────────────────────────
   STATS
───────────────────────────────────────── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  margin: 2.5rem 0;
}
.stat {
  padding: 1.75rem 2rem;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat strong {
  display: block;
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--silver-hi);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat span {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--silver-dim);
}

/* ─────────────────────────────────────────
   CERTS GRID
───────────────────────────────────────── */
.certs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.cert {
  background: var(--surface);
  padding: 1.75rem;
  transition: background 0.2s;
}
.cert:hover { background: var(--surface-2); }
.cert-mark {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver-dim);
  border: 1px solid var(--line-2);
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
  margin-bottom: 0.75rem;
}
.cert h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--silver-hi);
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}
.cert p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ─────────────────────────────────────────
   CTA BAND
───────────────────────────────────────── */
.cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3rem;
  padding: 5rem;
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.cta-band h2 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--silver-hi);
  line-height: 1.1;
}
.cta-band p {
  margin-top: 0.75rem;
  font-size: 0.97rem;
  color: var(--text-muted);
}
.cta-band-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-end;
  flex-shrink: 0;
}

/* ─────────────────────────────────────────
   PAGE HEADER (inner pages)
───────────────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 5rem) 0 5rem;
  background: var(--ink-2);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(191,207,223,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver-dim);
  margin-bottom: 1.25rem;
}
.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--silver-hi);
  line-height: 1.05;
  max-width: 700px;
}
.page-hero p {
  margin-top: 1.25rem;
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
}

/* ─────────────────────────────────────────
   SERVICE DETAIL (Leistungen)
───────────────────────────────────────── */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 6rem 0;
  border-bottom: 1px solid var(--line);
}
.service-detail:last-child { border-bottom: none; }
.service-detail.flip .service-detail-img { order: -1; }
.service-detail-img {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.service-detail-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s var(--ease);
}
.service-detail-img:hover img { transform: scale(1.03); }
.service-detail-text .service-num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--silver-dim);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.service-detail-text .service-num::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line-2);
}
.service-detail-text h2 {
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--silver-hi);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.service-detail-text p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.service-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 1.5rem 0 2rem;
}
.service-bullets li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.service-bullets li::before {
  content: '';
  flex-shrink: 0;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--silver-dim);
  margin-top: 2px;
}

/* ─────────────────────────────────────────
   ABOUT
───────────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.value-item {
  background: var(--surface);
  padding: 2rem;
  transition: background 0.2s;
}
.value-item:hover { background: var(--surface-2); }
.value-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--silver-hi);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.value-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.value-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver-dim);
  margin-bottom: 0.6rem;
  display: block;
}

/* ─────────────────────────────────────────
   CONTACT
───────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.contact-detail h4 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--silver-dim);
  margin-bottom: 0.4rem;
}
.contact-detail p,
.contact-detail a {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.6;
  transition: color 0.2s;
}
.contact-detail a:hover { color: var(--silver-hi); }

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 2.5rem;
}
.form-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--silver-hi);
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}
.form-card > p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.form-group:last-of-type { margin-bottom: 0; }
.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--silver-dim);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--ink-3);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: 0.75rem 1rem;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  outline: none;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); opacity: 0.5; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--silver-dim);
  box-shadow: 0 0 0 3px rgba(191,207,223,0.08);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--ink-3); }
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.82rem !important;
  font-weight: 400 !important;
  color: var(--text-muted);
  line-height: 1.6;
  text-transform: none !important;
  letter-spacing: 0 !important;
  cursor: pointer;
}
.form-check span {
  flex: 1;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  font-size: 0.82rem;
  line-height: 1.6;
}
.form-check input[type=checkbox] {
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--silver);
  cursor: pointer;
}
.form-check a { color: var(--silver-dim); text-decoration: underline; text-underline-offset: 2px; }
.form-actions { margin-top: 1.5rem; }
.form-actions .btn { width: 100%; justify-content: center; padding: 1rem; }
.form-note { font-size: 0.75rem; color: var(--text-muted); text-align: center; margin-top: 0.75rem; }

/* Maps */
.map-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.map-wrap iframe { display: block; }

/* ─────────────────────────────────────────
   LEGAL
───────────────────────────────────────── */
.legal {
  max-width: 740px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 4rem) 2rem 6rem;
}
.legal h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--silver-hi);
  margin-bottom: 0.5rem;
}
.legal-date {
  font-size: 0.8rem;
  color: var(--silver-dim);
  letter-spacing: 0.06em;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2.5rem;
}
.legal h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--silver-hi);
  letter-spacing: -0.01em;
  margin: 2.5rem 0 0.75rem;
}
.legal h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--silver);
  margin: 1.75rem 0 0.5rem;
}
.legal p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}
.legal ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}
.legal ul li {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 0.25rem;
}
.legal a { color: var(--silver); text-decoration: underline; text-underline-offset: 3px; }

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.footer {
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  padding: 5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}
.footer-logo img {
  height: 110px;
  object-fit: contain;
  margin-bottom: 1.25rem;
}
.footer-logo p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 260px;
}
.footer-col h4 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver-dim);
  margin-bottom: 1.5rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.8rem; }
.footer-col ul a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--silver-hi); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--silver-dim);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom a { transition: color 0.2s; }
.footer-bottom a:hover { color: var(--silver-hi); }
.footer-bottom-links { display: flex; gap: 2rem; }

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-left { padding: 4rem 2rem; }
  .split { grid-template-columns: 1fr; gap: 3rem; }
  .split-image { aspect-ratio: 16/9; }
  .split.flip .split-image { order: 0; }
  .services-header { grid-template-columns: 1fr; }
  .services-header p { margin-left: 0; }
  .service-detail { grid-template-columns: 1fr; gap: 3rem; }
  .service-detail.flip .service-detail-img { order: 0; }
  .cta-band { grid-template-columns: 1fr; padding: 3rem 2rem; }
  .cta-band-actions { flex-direction: row; align-items: center; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1.5fr 1fr; gap: 2rem; }
  .certs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  :root { --nav-h: 68px; }
  .section { padding: 5rem 0; }

  /* ── Navbar always visible on mobile ── */
  .navbar {
    background: rgba(5, 16, 27, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid var(--line) !important;
  }

  /* ── Hamburger button ── */
  .nav-toggle { display: flex; }

  /* ── Full-screen overlay nav ── */
  .nav-menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    min-height: -webkit-fill-available;
    z-index: 9990 !important;
    background: var(--ink) !important;
    padding: calc(var(--nav-h) + 1.5rem) 1.75rem 3rem !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    gap: 0;
  }
  .nav-menu.open { display: flex; }

  /* Main links */
  .nav-menu > a {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .nav-menu > a.active { color: var(--silver-hi); }
  .nav-menu a::after { display: none !important; }

  /* FAQ + Karriere visible */
  .nav-secondary { display: flex !important; }

  /* CTA button at bottom */
  .nav-menu .nav-cta {
    display: flex !important;
    justify-content: center;
    margin-top: 1.75rem;
    padding: 1rem !important;
    border-radius: var(--r);
    color: var(--ink) !important;
    font-size: 0.9rem !important;
  }

  /* ── Leistungen dropdown: tap to open ── */
  .nav-has-dropdown {
    border-bottom: 1px solid var(--line);
  }
  .nav-has-dropdown > .nav-dropdown-trigger {
    padding: 1rem 0;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
    background: none;
    border: none;
  }
  .nav-has-dropdown > .nav-dropdown-trigger.active { color: var(--silver-hi); }
  .nav-mobile-arrow {
    font-style: normal;
    font-size: 0.7rem;
    color: var(--silver-dim);
    transition: transform 0.25s;
    flex-shrink: 0;
    margin-left: 0.5rem;
  }
  .nav-has-dropdown.mob-open .nav-mobile-arrow { transform: rotate(180deg); }

  /* Override ALL desktop dropdown positioning */
  .nav-dropdown,
  .nav-has-dropdown:hover .nav-dropdown,
  .nav-has-dropdown:focus-within .nav-dropdown {
    display: none !important;
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    min-width: 0 !important;
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    padding: 0 !important;
  }
  .nav-dropdown::before { display: none !important; }
  .nav-has-dropdown.mob-open .nav-dropdown {
    display: flex !important;
    flex-direction: column !important;
  }
  .nav-dropdown-item {
    padding: 0.7rem 0 0.7rem 1rem !important;
    border-bottom: 1px solid var(--line) !important;
    border-radius: 0 !important;
    font-size: 0.88rem !important;
    color: var(--text-muted) !important;
    display: block !important;
    white-space: normal !important;
  }
  .nav-dropdown-item:last-child { border-bottom: none !important; }
  .nav-dropdown-divider { display: none !important; }
  /* Arrow hidden on desktop — shown via ::after pseudo-element */
.nav-mobile-arrow { display: none; }

.nav-dropdown-trigger::after { display: none !important; }

  /* ── Body scroll lock ── */
  body.nav-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
  }

  /* ── Layout fixes ── */
  .stats-bar { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: none; }
  .values-grid { grid-template-columns: 1fr; }
  .certs { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .hero-meta { gap: 1.5rem; flex-wrap: wrap; }
  /* Leistungs-/Team-Bilder: komplettes Bild ohne Beschnitt */
  .service-detail-img { aspect-ratio: auto !important; height: auto !important; }
  .service-detail-img a { display: block; }
  .service-detail-img img { position: static !important; height: auto !important; object-fit: contain !important; }
  .split-image { aspect-ratio: auto !important; height: auto !important; }
  .split-image img { position: static !important; height: auto !important; object-fit: contain !important; }
  input, select, textarea { font-size: 16px !important; }
  html, body { overflow-x: hidden; max-width: 100vw; }
  .marquee { overflow: hidden; }
  #di-island, #di-backdrop { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-right { display: block; height: 260px; position: relative; }
  .hero-right img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
  .hero-right::before { background: linear-gradient(to bottom, var(--ink) 0%, transparent 40%), linear-gradient(to top, var(--ink) 0%, transparent 40%); }
  .hero-left { padding: 4rem 1.75rem 3rem; min-height: calc(100svh - 78px); }
  .stat { border-right: none; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: none; }
  .values-grid { grid-template-columns: 1fr; }
  .certs { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .hero-meta { gap: 1.5rem; flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .hero-left { padding: 3rem 1.25rem; }
  .cta-band-actions { flex-direction: column; width: 100%; }
  .cta-band-actions .btn { width: 100%; justify-content: center; }
}

/* ─────────────────────────────────────────
   NAVBAR DROPDOWN
───────────────────────────────────────── */
.nav-has-dropdown { position: relative; }
.nav-dropdown-trigger { display: flex; align-items: center; gap: 5px; }
/* Arrow hidden on desktop — shown via ::after pseudo-element */
.nav-mobile-arrow { display: none; }

.nav-dropdown-trigger::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  opacity: 0.6;
  transition: transform 0.22s var(--ease), opacity 0.22s;
}
.nav-has-dropdown:hover .nav-dropdown-trigger::after,
.nav-has-dropdown:focus-within /* Arrow hidden on desktop — shown via ::after pseudo-element */
.nav-mobile-arrow { display: none; }

.nav-dropdown-trigger::after {
  transform: rotate(180deg); opacity: 1;
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: rgba(5, 16, 27, 0.98);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 0.5rem;
  min-width: 270px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s var(--ease), visibility 0.22s, transform 0.22s var(--ease);
  backdrop-filter: blur(24px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  z-index: 200;
}
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -6px; left: 50%; transform: translateX(-50%);
  width: 10px; height: 10px;
  background: rgba(5,16,27,0.98);
  border-left: 1px solid var(--line-2);
  border-top: 1px solid var(--line-2);
  transform: translateX(-50%) rotate(45deg);
}
.nav-has-dropdown:hover .nav-dropdown,
.nav-has-dropdown:focus-within .nav-dropdown {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-item {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 0.7rem 1rem;
  border-radius: 9px;
  font-size: 0.84rem; font-weight: 500;
  color: var(--text-muted);
  transition: all 0.15s;
  white-space: nowrap;
}
.nav-dropdown-item:hover {
  background: rgba(191,207,223,0.07);
  color: var(--silver-hi);
}
.nav-dropdown-num {
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--silver-dim);
  width: 18px; flex-shrink: 0;
}
.nav-dropdown-divider {
  height: 1px; background: var(--line);
  margin: 0.4rem 0.5rem;
}
/* Mobile: dropdown als flat list */
@media (max-width: 768px) {
  .nav-dropdown {
    position: static; transform: none;
    background: transparent; border: none;
    box-shadow: none; backdrop-filter: none;
    padding: 0 0 0 1rem; opacity: 1; visibility: visible;
  }
  .nav-dropdown::before { display: none; }
  .nav-dropdown-item { padding: 0.5rem 0; border-radius: 0; font-size: 0.82rem; }
  .nav-dropdown-divider { display: none; }
}

/* ─────────────────────────────────────────
   SERVICE PAGE HERO
───────────────────────────────────────── */
.service-hero {
  position: relative;
  height: 65vh; min-height: 440px;
  overflow: hidden;
  margin-top: var(--nav-h);
}
.service-hero img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
}
.service-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--ink) 5%, rgba(5,16,27,0.45) 60%, rgba(5,16,27,0.2) 100%);
  z-index: 1;
}
.service-hero-content {
  position: absolute; bottom: 3.5rem; z-index: 2;
  width: 100%; max-width: var(--max);
  left: 50%; transform: translateX(-50%);
  padding: 0 2rem;
}
.service-hero-num {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--silver-dim); margin-bottom: 0.75rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.service-hero-num::after {
  content: ''; flex: none; width: 32px; height: 1px;
  background: var(--silver-dim);
}
.service-hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900; letter-spacing: -0.03em;
  color: #fff; line-height: 1.05; margin-bottom: 0.75rem;
}
.service-hero p {
  font-size: 1.1rem; color: rgba(255,255,255,0.65);
  max-width: 520px;
}
/* Related services row */
.related-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: 10px;
  overflow: hidden; margin-top: 3rem;
}
.related-item {
  display: flex; align-items: center; gap: 1rem;
  background: var(--surface); padding: 1.25rem 1.5rem;
  transition: background 0.2s;
}
.related-item:hover { background: var(--surface-2); }
.related-item-num {
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.1em; color: var(--silver-dim);
  flex-shrink: 0;
}
.related-item h4 {
  font-size: 0.88rem; font-weight: 600;
  color: var(--silver-hi); letter-spacing: -0.01em;
}
@media (max-width: 600px) {
  .related-services { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────
   MAPS SECTION
───────────────────────────────────────── */
.maps-section {
  padding: 6rem 0 5rem;
  background: var(--ink-2);
  border-top: 1px solid var(--line);
}
.maps-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: center;
}
.maps-info h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800; letter-spacing: -0.03em;
  color: var(--silver-hi); line-height: 1.15;
  margin-bottom: 1.5rem;
}
.maps-detail {
  display: flex; flex-direction: column; gap: 1.25rem;
  margin-bottom: 2rem;
}
.maps-detail-item h4 {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--silver-dim); margin-bottom: 0.3rem;
}
.maps-detail-item p, .maps-detail-item a {
  font-size: 0.95rem; color: var(--text);
  transition: color 0.2s;
}
.maps-detail-item a:hover { color: var(--silver-hi); }
@media (max-width: 900px) {
  .maps-grid { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────
   DYNAMIC ISLAND TOC
───────────────────────────────────────── */
#di-backdrop {
  position: fixed; inset: 0; z-index: 9998;
  background: rgba(0,0,0,0.28);
  backdrop-filter: blur(5px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}
#di-backdrop.active { opacity: 1; visibility: visible; }

#di-island {
  position: fixed;
  bottom: 32px; left: 50%;
  transform: translateX(-50%) translateY(120px);
  z-index: 9999;
  width: 290px; height: 52px;
  background: rgba(7, 17, 30, 0.96);
  border: 1px solid rgba(191,207,223,0.18);
  border-radius: 26px;
  backdrop-filter: blur(24px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.04) inset;
  overflow: hidden;
  cursor: pointer;
  transition:
    width 0.5s cubic-bezier(0.22,1,0.36,1),
    height 0.5s cubic-bezier(0.22,1,0.36,1),
    border-radius 0.5s cubic-bezier(0.22,1,0.36,1),
    transform 0.55s cubic-bezier(0.22,1,0.36,1);
}
#di-island.visible { transform: translateX(-50%) translateY(0); }
#di-island.expanded {
  width: 340px; border-radius: 22px; cursor: default;
}

/* Pill */
#di-pill {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  padding: 0 1.1rem; gap: 0.85rem;
  transition: opacity 0.25s, filter 0.25s;
}
#di-island.expanded #di-pill {
  opacity: 0; filter: blur(4px); pointer-events: none;
}
.di-pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--silver); flex-shrink: 0;
  animation: dipulse 2.5s ease-in-out infinite;
}
@keyframes dipulse {
  0%,100% { opacity:1; transform: scale(1); }
  50% { opacity:0.35; transform: scale(0.8); }
}
#di-title {
  flex: 1; font-size: 0.84rem; font-weight: 500;
  color: var(--silver-hi);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: opacity 0.15s, transform 0.15s;
}
.di-ring-wrap { flex-shrink: 0; }
.di-ring-wrap svg { display: block; transform: rotate(-90deg); }
.di-ring-bg { fill: none; stroke: rgba(191,207,223,0.12); stroke-width: 2.5; }
.di-ring-fg {
  fill: none; stroke: var(--silver);
  stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 62.83; stroke-dashoffset: 62.83;
  transition: stroke-dashoffset 0.2s ease;
}

/* Expanded TOC */
#di-toc {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s 0.15s;
}
#di-island.expanded #di-toc {
  opacity: 1; pointer-events: auto;
}
.di-toc-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.25rem 0.75rem;
  flex-shrink: 0;
}
.di-toc-header span {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--silver-dim);
}
.di-toc-header button {
  background: none; border: none; cursor: pointer;
  color: var(--silver-dim); padding: 2px;
  transition: color 0.2s; line-height: 1;
}
.di-toc-header button:hover { color: var(--silver-hi); }
.di-toc-header button svg { display: block; }
#di-toc-list {
  flex: 1; overflow-y: auto; padding: 0 0.5rem 0.75rem;
  overscroll-contain: contain;
}
#di-toc-list::-webkit-scrollbar { width: 3px; }
#di-toc-list::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 2px; }
.di-item {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 0.55rem 0.75rem;
  border-radius: 8px; border: none; background: none;
  font-family: var(--font); font-size: 0.86rem;
  color: rgba(191,207,223,0.4);
  cursor: pointer; text-align: left;
  transition: background 0.18s, color 0.18s, transform 0.18s;
}
.di-item:hover {
  background: rgba(191,207,223,0.06);
  color: rgba(191,207,223,0.85);
  transform: translateX(3px);
}
.di-item.active {
  background: rgba(191,207,223,0.1);
  color: var(--silver-hi); font-weight: 500;
}
.di-item-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--silver-hi); flex-shrink: 0;
  transform: scale(0); transition: transform 0.2s;
}
.di-item.active .di-item-dot { transform: scale(1); }

/* ─────────────────────────────────────────
   SHIMMER TEXT EFFECT
   (vanilla CSS — equivalent to React shimmer-text component)
───────────────────────────────────────── */
@keyframes shimmer-sweep {
  0%     { background-position: 0% 50%; }
  50%    { background-position: -100% 50%; }
  50.01% { background-position: 200% 50%; }
  100%   { background-position: 0% 50%; }
}

.shimmer-text {
  display: inline;
  background: linear-gradient(
    90deg,
    var(--silver-hi) 0%,
    #fff          38%,
    #fff          62%,
    var(--silver-hi) 100%
  );
  background-size: 200% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--silver-hi); /* fallback */
  animation: shimmer-sweep 3.5s linear 1.2s infinite;
}

/* Dim variant — für em-Elemente mit silver-dim als Base */
.shimmer-text-dim {
  display: inline;
  background: linear-gradient(
    90deg,
    var(--silver-dim) 0%,
    var(--silver-hi)  38%,
    var(--silver-hi)  62%,
    var(--silver-dim) 100%
  );
  background-size: 200% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--silver-dim);
  animation: shimmer-sweep 3.5s linear 1.2s infinite;
}

/* Auf service-hero h1 — weiße Basis */
.service-hero .shimmer-text {
  background: linear-gradient(
    90deg,
    #e8f0f8 0%,
    #ffffff 38%,
    #ffffff 62%,
    #e8f0f8 100%
  );
  background-size: 200% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer-sweep 3.5s linear 1.2s infinite;
}

/* Shimmer auf block-level Heading (gesamtes h1/h2) */
.shimmer-heading {
  color: var(--silver-hi);
}
.shimmer-heading em { font-style: normal; color: var(--silver-dim); }

/* Image hover on leistungen */
.service-detail-img a { display: block; }
.service-detail-img a img { transition: transform 0.5s var(--ease); }
.service-detail-img a:hover img { transform: scale(1.04); }
.service-detail-text h2 a {
  color: inherit;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.service-detail-text h2 a:hover { border-color: var(--line-2); }

/* ─────────────────────────────────────────
   NOTFALL BUTTON (floating, fixed)
───────────────────────────────────────── */
.emergency-btn {
  position: fixed;
  bottom: 32px;
  right: 2rem;
  z-index: 9997;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #c41e1e;
  color: #fff;
  padding: 0.7rem 1.3rem 0.7rem 1rem;
  border-radius: 50px;
  box-shadow: 0 4px 28px rgba(196,30,30,0.55), 0 0 0 1px rgba(255,255,255,0.08) inset;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  animation: emg-entry 0.6s cubic-bezier(0.22,1,0.36,1) 0.8s both;
}
@keyframes emg-entry {
  from { transform: translateY(80px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.emergency-btn:hover {
  background: #a81a1a;
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(196,30,30,0.65), 0 0 0 1px rgba(255,255,255,0.1) inset;
}

/* Pulsing ring */
.emergency-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  border: 2px solid #ef4444;
  animation: emg-ring 2.2s ease-out 1.5s infinite;
  pointer-events: none;
}
@keyframes emg-ring {
  0%   { transform: scale(1);    opacity: 0.8; }
  80%  { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}

.emergency-icon {
  flex-shrink: 0;
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.emergency-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.emergency-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}
.emergency-number {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Mobile: compact (only icon + number) */
@media (max-width: 600px) {
  .emergency-btn {
    right: 1rem;
    bottom: 24px;
    padding: 0.65rem 1rem;
    gap: 0.6rem;
  }
  .emergency-label { display: none; }
  .emergency-number { font-size: 0.85rem; }
}

/* ─────────────────────────────────────────
   KARRIERE PAGE
───────────────────────────────────────── */
.job-status-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--silver-dim);
  border-radius: var(--r);
  padding: 1.1rem 1.5rem;
  margin-bottom: 3rem;
}
.job-status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #f59e0b;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(245,158,11,0.2);
}
.job-status-banner p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}
.job-status-banner strong { color: var(--text); }

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.requirement-item {
  background: var(--surface);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: background 0.2s;
}
.requirement-item:hover { background: var(--surface-2); }
.requirement-check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: rgba(191,207,223,0.1);
  border: 1px solid var(--line-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--silver);
  margin-top: 2px;
}
.requirement-item h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--silver-hi);
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}
.requirement-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

.benefits-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.benefit-item {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.benefit-icon {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver-dim);
  border: 1px solid var(--line-2);
  border-radius: 4px;
  padding: 0.2rem 0.6rem;
  display: inline-block;
  margin-bottom: 0.75rem;
}
.benefit-item h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--silver-hi);
  margin-bottom: 0.3rem;
}
.benefit-item p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.apply-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.apply-card h2 {
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--silver-hi);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.apply-card > div > p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

@media (max-width: 900px) {
  .requirements-grid { grid-template-columns: 1fr; }
  .benefits-row { grid-template-columns: repeat(2, 1fr); }
  .apply-card { grid-template-columns: 1fr; padding: 2rem; }
}
@media (max-width: 500px) {
  .benefits-row { grid-template-columns: 1fr; }
}


.region-card:hover {
  background: rgba(191,207,223,0.03);
}
@media (max-width: 768px) {
  .region-card,
  [style*="grid-template-columns:repeat(3,1fr)"] {
    display: block !important;
  }
  [style*="grid-template-columns:repeat(3,1fr)"] > div {
    border-right: none !important;
    border-bottom: 1px solid var(--line);
  }
  [style*="grid-template-columns:1fr 1fr"][style*="align-items:end"] {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
}

/* ─────────────────────────────────────────
   COOKIE BANNER — DSGVO-konform
───────────────────────────────────────── */



.cookie-banner {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -46%) scale(0.96);
  z-index: 9995;
  width: min(560px, calc(100vw - 2rem));
  max-height: calc(100svh - 2rem);
  overflow-y: auto;
  background: var(--ink-3);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04) inset;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s, transform 0.35s var(--ease);
  scrollbar-width: thin;
}
.cookie-banner.visible {
  opacity: 1; visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-banner a { color: var(--silver-dim); text-decoration: underline; text-underline-offset: 2px; }

/* Header */
.cookie-head {
  display: flex; align-items: center; gap: 0.9rem;
  margin-bottom: 1.1rem;
}
.cookie-head-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(191,207,223,0.08);
  border: 1px solid var(--line-2);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.cookie-head h4 {
  font-size: 1rem; font-weight: 700;
  color: var(--silver-hi); letter-spacing: -0.01em;
  margin: 0 0 0.15rem;
}
.cookie-head p {
  font-size: 0.78rem; color: var(--silver-dim); margin: 0;
}

/* Intro text */
.cookie-intro {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

/* Category rows */
.cookie-cats { display: flex; flex-direction: column; gap: 0; margin-bottom: 1.25rem; }
.cookie-cat {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.cookie-cat:last-child { border-bottom: none; padding-bottom: 0; }
.cookie-cat-top {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 1rem; margin-bottom: 0.4rem;
}
.cookie-cat-top strong {
  font-size: 0.88rem; font-weight: 600;
  color: var(--silver-hi); display: flex; align-items: center; gap: 0.5rem;
}
.cookie-cat-badge {
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}
.cookie-cat-badge--required {
  background: rgba(191,207,223,0.1);
  color: var(--silver-dim);
  border: 1px solid var(--line-2);
}
.cookie-cat-badge--third {
  background: rgba(245,158,11,0.1);
  color: #d97706;
  border: 1px solid rgba(245,158,11,0.25);
}
.cookie-cat-desc {
  font-size: 0.78rem; color: var(--text-muted); line-height: 1.65; margin: 0;
}

/* Toggle switch */
.cookie-toggle {
  position: relative; flex-shrink: 0;
  width: 42px; height: 24px;
  cursor: pointer;
}
.cookie-toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.cookie-toggle-track {
  position: absolute; inset: 0;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: 24px;
  transition: background 0.2s, border-color 0.2s;
}
.cookie-toggle-knob {
  position: absolute;
  top: 3px; left: 3px;
  width: 16px; height: 16px;
  background: var(--silver-dim);
  border-radius: 50%;
  transition: transform 0.22s var(--ease), background 0.2s;
}
.cookie-toggle input:checked ~ .cookie-toggle-track {
  background: rgba(191,207,223,0.15);
  border-color: var(--silver-dim);
}
.cookie-toggle input:checked ~ .cookie-toggle-knob {
  transform: translateX(18px);
  background: var(--silver);
}
/* Always-on toggle (disabled) */
.cookie-toggle-always .cookie-toggle-track {
  background: rgba(191,207,223,0.08);
  border-color: var(--line-2);
  cursor: not-allowed;
}
.cookie-toggle-always .cookie-toggle-knob {
  transform: translateX(18px);
  background: var(--silver-dim);
  opacity: 0.6;
}

/* Actions — GLEICHWERTIGE Buttons (DSGVO: kein Dark Pattern) */
.cookie-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}
.cookie-btn {
  padding: 0.7rem 1rem;
  border-radius: var(--r);
  font-family: var(--font);
  font-size: 0.82rem; font-weight: 600;
  cursor: pointer; white-space: nowrap;
  text-align: center;
  transition: all 0.2s;
  border: 1.5px solid var(--line-2);
}
.cookie-btn-reject {
  background: transparent;
  color: var(--text-muted);
}
.cookie-btn-reject:hover { border-color: var(--silver-dim); color: var(--silver-hi); }
.cookie-btn-accept {
  background: var(--silver);
  color: var(--ink);
  border-color: var(--silver);
}
.cookie-btn-accept:hover { background: var(--silver-hi); border-color: var(--silver-hi); }

.cookie-footer-note {
  font-size: 0.75rem; color: var(--silver-dim);
  text-align: center; margin: 0;
  line-height: 1.5;
}

/* Reopen cookie settings link in footer */
.cookie-reopen-btn {
  background: none; border: none;
  cursor: pointer; color: var(--text-muted);
  font-size: 0.88rem; font-family: var(--font);
  padding: 0; transition: color 0.2s;
  text-decoration: none;
}
.cookie-reopen-btn:hover { color: var(--silver-hi); }

/* Maps placeholder (shown if no consent) */
.maps-consent-placeholder {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  padding: 2rem;
}
.maps-consent-placeholder h4 {
  font-size: 1rem; font-weight: 700;
  color: var(--silver-hi); margin-bottom: 0.25rem;
}
.maps-consent-placeholder p {
  font-size: 0.85rem; color: var(--text-muted);
  max-width: 340px; line-height: 1.65;
}

/* Scroll-to-top */
.scroll-top {
  position: fixed;
  bottom: 32px; left: 2rem;
  z-index: 9997;
  width: 44px; height: 44px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--silver-dim);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s, color 0.2s;
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--surface-2); color: var(--silver-hi); }
@media (max-width: 600px) {
  .scroll-top { left: 1rem; bottom: 24px; }
  .cookie-banner { padding: 1rem 1.25rem; }
}

/* WhatsApp button */
.whatsapp-btn {
  position: fixed;
  bottom: 94px; right: 2rem;
  z-index: 9997;
  width: 50px; height: 50px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: emg-entry 0.6s cubic-bezier(0.22,1,0.36,1) 1.2s both;
}
.whatsapp-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 28px rgba(37,211,102,0.55);
}
.whatsapp-btn svg { width: 26px; height: 26px; fill: #fff; }
@media (max-width: 600px) {
  .whatsapp-btn { right: 1rem; bottom: 84px; width: 44px; height: 44px; }
  .whatsapp-btn svg { width: 22px; height: 22px; }
  .emergency-btn { right: 1rem; }
}







.marquee { overflow: hidden; }


/* ── Mobile nav z-index nuclear option ── */
@media (max-width: 768px) {
  .navbar { z-index: 9991 !important; }
  .nav-menu.open {
    display: flex !important;
    position: fixed !important;
    top: 0 !important; left: 0 !important;
    right: 0 !important; bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: var(--ink) !important;
    z-index: 9990 !important;
  }
  /* Make sure ALL direct children of nav-menu are visible */
  .nav-menu.open > a,
  .nav-menu.open > .nav-has-dropdown,
  .nav-menu.open .nav-secondary {
    display: flex !important;
  }
  .nav-menu.open .nav-cta {
    display: flex !important;
    justify-content: center !important;
    margin-top: 1.5rem !important;
  }
}

/* ── Mobile-Nav Fixes: X-Button sichtbar + Leistungen untereinander ── */
@media (max-width: 768px) {
  /* Toggle (Hamburger/X) ÜBER dem Fullscreen-Menü halten */
  .nav-toggle {
    position: relative;
    z-index: 9999 !important;
  }
  /* Logo ebenfalls über dem Menü, damit Header sichtbar bleibt */
  .nav-logo {
    position: relative;
    z-index: 9999 !important;
  }
  /* Leistungen-Block: Titel oben, Unterpunkte DARUNTER (nicht daneben) */
  .nav-menu.open > .nav-has-dropdown {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }
  /* Im offenen Menü: Links zentriert wie der Rest */
  .nav-menu.open > a,
  .nav-menu.open .nav-dropdown-trigger {
    justify-content: center !important;
    text-align: center;
    gap: 0.5rem;
  }
  .nav-menu.open .nav-dropdown-item {
    text-align: center;
    padding: 0.75rem 0 !important;
  }
}

/* ─────────────────────────────────────────
   FEEDBACK-FIXES: Telefon-Button, CTA-Pop, Hero-Ausrichtung
───────────────────────────────────────── */

/* ── Telefon-Link in der Navbar (Desktop) ── */
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--silver) !important;
  border: 1px solid var(--line-2);
  padding: 0.5rem 1.1rem;
  border-radius: var(--r);
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  text-transform: none !important;
}
.nav-phone::after { display: none !important; }
.nav-phone:hover {
  border-color: var(--silver-dim);
  color: var(--silver-hi) !important;
  background: rgba(191,207,223,0.05);
}
.nav-phone svg { width: 14px; height: 14px; flex-shrink: 0; }

/* Mobile-Telefon-Icon: auf Desktop versteckt */
.nav-phone-mobile { display: none; }

/* ── CTA-Button hervorheben (dezenter Glow, etwas größer) ── */
.nav-cta {
  padding: 0.65rem 1.6rem !important;
  box-shadow: 0 4px 18px rgba(191,207,223,0.22);
}
.nav-cta:hover {
  box-shadow: 0 6px 26px rgba(191,207,223,0.38);
}
.hero-actions .btn-solid {
  padding: 1rem 2.4rem;
  font-size: 0.92rem;
  box-shadow: 0 6px 24px rgba(191,207,223,0.2);
}
.hero-actions .btn-solid:hover {
  box-shadow: 0 10px 32px rgba(191,207,223,0.35);
}

/* ── Hero-Text an Container-Flucht ausrichten (füllt die leere Mitte) ── */
@media (min-width: 1025px) {
  .hero-left {
    padding-left: max(2rem, calc((100vw - var(--max)) / 2 + 2rem));
    padding-right: 3rem;
  }
}

/* ── Mobile: Telefon-Icon neben Hamburger, Desktop-Link im Menü ausblenden ── */
@media (max-width: 768px) {
  .nav-phone { display: none !important; }
  .nav-phone-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line-2);
    border-radius: 50%;
    color: var(--silver);
    margin-left: auto;
    margin-right: 0.85rem;
    position: relative;
    z-index: 9999;
    flex-shrink: 0;
    transition: border-color 0.2s, color 0.2s;
  }
  .nav-phone-mobile:active { border-color: var(--silver); color: var(--silver-hi); }
  .nav-phone-mobile svg { width: 17px; height: 17px; }
}

/* ── Footer: Instagram-Link ── */
.footer-social {
  margin-top: 1.25rem;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: 0.5rem 1rem;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.footer-social a:hover {
  color: var(--silver-hi);
  border-color: var(--silver-dim);
  background: rgba(191,207,223,0.05);
}
.footer-social svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

/* Mini-Variante (Impressum/Datenschutz-Footer) */
.footer-social-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--text-muted);
  margin-right: 1rem;
  flex-shrink: 0;
  transition: color 0.2s, border-color 0.2s;
}
.footer-social-mini:hover { color: var(--silver-hi); border-color: var(--silver-dim); }
.footer-social-mini svg { width: 15px; height: 15px; }

/* ── Mini-FAQ auf Startseite (responsiv) ── */
.mini-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
@media (max-width: 768px) {
  .mini-faq-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}
