/* =====================================================================
   Maucher CNC-Robotic GmbH — Design system (content pages)
   Referenz: C40-Schulungshandbuch. Schrift wie index.html
   ('Segoe UI'-Stack), Mint-/Grün-Akzent, helles Theme, weißer Hintergrund.
   ===================================================================== */

:root {
  --accent:      #0a8040;                /* Akzent für Text/Icons/Linien — dunkles Grün, lesbar auf Weiß */
  --accent-fill: #6bff8a;                /* Mint für helle Flächen/Buttons (mit dunklem Text) */
  --accent-2:    #8effae;
  --accent-d:    rgba(107, 255, 138, 0.16);
  --accent-30:   rgba(10, 143, 68, 0.30);
  --accent-55:   rgba(10, 143, 68, 0.55);

  --bg:    #ffffff;                       /* weißer Seitenhintergrund */
  --bg-2:  #f4f6f8;                       /* dezente Bänder (abwechselnde Sektionen) */
  --bg-3:  #eceff3;

  --card:      #ffffff;
  --card-hov:  #ffffff;
  --surface:   #f5f7f9;
  --surface-2: #eceff3;
  --border:        rgba(0, 0, 0, 0.10);
  --border-strong: rgba(0, 0, 0, 0.16);

  --white: #14191d;                       /* stärkste (dunkle) Textfarbe */
  --text:  #242c32;
  --title: #11181d;
  --text-muted: #515f69;
  --text-dim:   #5f6a73;

  --warn: #c2870a;

  --maxw: 1200px;
  --radius: 6px;
  --radius-sm: 4px;

  /* Schriftart wie index.html (eine System-Schrift für alles) */
  --fhead: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --fbody: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--fbody);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--fhead);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: 0.04em;
}

::selection { background: rgba(107, 255, 138, 0.45); color: #08140c; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }
.section { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.section--tight { padding: clamp(44px, 6vw, 76px) 0; }
.narrow { max-width: 760px; }
.center { text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--fhead);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--accent);
}
.center .eyebrow::before { display: none; }

.section-title {
  font-family: var(--fhead);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--title);
  font-size: clamp(1.45rem, 3.4vw, 2.3rem);
  line-height: 1.28;
  margin-bottom: 20px;
}
.section-title .accent { color: var(--accent); }

.lead {
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 720px;
}
.center .lead { margin-left: auto; margin-right: auto; }

p + p { margin-top: 1em; }
.prose p { color: var(--text-muted); font-weight: 300; }
.prose strong { color: var(--white); font-weight: 500; }

.accent { color: var(--accent); }
.text-glow { text-shadow: 0 0 30px rgba(107, 255, 138, 0.35); }

/* ===================================================================
   HEADER / NAV
   =================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 200;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 48px);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.brand { display: flex; align-items: center; text-decoration: none; gap: 10px; }
.brand img { height: 30px; width: auto; filter: brightness(0.5); }   /* hellgraues Logo für weißen Header abdunkeln */

.nav { display: flex; align-items: center; gap: 2px; }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-family: var(--fbody);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.nav-link:hover, .nav-link:focus-visible { color: var(--white); background: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.12); }
.nav-link.is-current { color: var(--accent); }

/* dropdown */
.nav-item { position: relative; }
.nav-item > .nav-link svg { width: 10px; height: 10px; opacity: 0.7; transition: transform 0.25s var(--ease); }
.nav-item:hover > .nav-link svg, .nav-item:focus-within > .nav-link svg { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 300px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* Letztes Dropdown (Über Maucher) rechtsbündig, damit es nicht über den Rand ragt */
.nav-item:last-of-type .dropdown { left: auto; right: 0; transform: translateX(0) translateY(8px); }
.nav-item:last-of-type:hover .dropdown,
.nav-item:last-of-type:focus-within .dropdown { transform: translateX(0) translateY(0); }
.dropdown::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 12px; }
.dropdown a {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 11px 14px;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.18s;
}
.dropdown a:hover { background: rgba(0,0,0,0.04); }
.dropdown a strong { font-size: 0.82rem; font-weight: 500; color: var(--white); }
.dropdown a span { font-size: 0.74rem; color: var(--text-dim); font-weight: 300; }

.btn-nav {
  margin-left: 10px;
  padding: 8px 20px;
  border: 1px solid var(--accent-55);
  border-radius: 2px;
  color: var(--accent);
  background: var(--accent-d);
  font-family: var(--fbody);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn-nav:hover { background: rgba(107,255,138,0.2); box-shadow: 0 0 24px rgba(107,255,138,0.22); }

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-btn span {
  display: block; width: 24px; height: 2px; border-radius: 2px;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.menu-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.active span:nth-child(2) { opacity: 0; }
.menu-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 199;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 84px clamp(28px, 8vw, 80px) 40px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.mobile-nav.open { opacity: 1; visibility: visible; pointer-events: auto; }
.mobile-nav a {
  font-family: var(--fhead);
  font-size: clamp(1.1rem, 5vw, 1.5rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, padding-left 0.2s;
}
.mobile-nav a:hover, .mobile-nav a.is-current { color: var(--accent); padding-left: 8px; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: flex; }
}

/* ===================================================================
   BUTTONS
   =================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 2px;
  font-family: var(--fbody);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.25s, background 0.25s, border-color 0.25s, color 0.25s;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary {
  background: var(--accent-fill);
  color: #08140c;
  box-shadow: 0 6px 18px rgba(107,255,138,0.45), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn-primary:hover { transform: translateY(-2px); background: var(--accent-2); box-shadow: 0 12px 26px rgba(107,255,138,0.55); }
.btn-ghost {
  background: #ffffff;
  border-color: var(--border-strong);
  color: var(--white);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--accent-55); background: var(--accent-d); color: var(--accent); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.center .btn-row { justify-content: center; }

/* ===================================================================
   BREADCRUMBS
   =================================================================== */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 26px;
}
.breadcrumb a { color: var(--text-dim); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span.sep { opacity: 0.5; }
.breadcrumb [aria-current] { color: var(--text-muted); }

/* ===================================================================
   HERO
   =================================================================== */
.hero {
  position: relative;
  padding: clamp(118px, 16vh, 184px) 0 clamp(56px, 8vw, 96px);
  overflow: hidden;
}
.hero-canvas { display: none; }   /* alter Hero-Canvas – nicht mehr verwendet */
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero-grid.single { grid-template-columns: 1fr; max-width: 900px; }

.hero h1 {
  font-family: var(--fhead);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(1.7rem, 4.2vw, 3rem);
  line-height: 1.22;
  margin-bottom: 24px;
}
.hero h1 .accent { color: var(--accent); }
.hero .lead { font-size: clamp(1rem, 1.6vw, 1.2rem); }

.hero-visual {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3.1; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2px;
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px rgba(10,143,68,0.45); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 520px; }
}

/* ===================================================================
   GLASS CARDS / GRIDS
   =================================================================== */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  background: var(--card);
  backdrop-filter: blur(80px) brightness(1.15) saturate(200%);
  -webkit-backdrop-filter: blur(80px) brightness(1.15) saturate(200%);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 26px 24px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  transition: transform 0.28s var(--ease), box-shadow 0.28s, border-color 0.28s, background 0.28s;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(255,255,255,0.5) 0%, transparent 55%);
  pointer-events: none;
}
.card > * { position: relative; }
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.12);
  border-color: var(--accent-55);
  background: var(--card-hov);
}
.card h3 { font-family: var(--fbody); font-weight: 500; font-size: 1.1rem; letter-spacing: 0; color: var(--white); margin-bottom: 12px; }
.card p { color: var(--text-muted); font-size: 0.92rem; font-weight: 300; }
.press-source { display: block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }

.card-link { text-decoration: none; color: inherit; display: block; }
.card .more {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 16px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent);
}
.card .more svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.card-link:hover .more svg { transform: translateX(4px); }

.icon-box {
  position: relative;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 2px;
  background: var(--accent-d);
  border: 1px solid var(--accent-30);
  margin-bottom: 18px;
  color: var(--accent);
}
.icon-box svg { width: 22px; height: 22px; }
.card .tag {
  position: absolute; top: 22px; right: 24px;
  font-family: var(--fhead); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent);
  z-index: 1;
}

/* feature list with check marks */
.checks { list-style: none; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; color: var(--text-muted); font-size: 0.95rem; font-weight: 300; }
.checks li::before {
  content: "";
  position: absolute; left: 0; top: 6px;
  width: 16px; height: 16px;
  border-radius: 2px;
  background: var(--accent-d);
  border: 1px solid var(--accent-30);
}
.checks li::after {
  content: "";
  position: absolute; left: 5px; top: 9px;
  width: 5px; height: 8px;
  border: solid var(--accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* split image + text */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent-55);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/11; transition: transform 0.8s var(--ease); }
.split-media:hover img { transform: scale(1.04); }
.split-media.light { background: #eef1f5; }
.split-media.light img { object-fit: contain; aspect-ratio: 16/10; padding: 16px; }
.media-caption {
  position: absolute; left: 0; bottom: 0; right: 0;
  padding: 18px 18px 13px;
  font-size: 0.74rem; color: rgba(255,255,255,0.9);
  background: linear-gradient(0deg, rgba(0,0,0,0.8), transparent);
}
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
}

/* ===================================================================
   STATS / TRUST
   =================================================================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat {
  text-align: center;
  padding: 28px 18px;
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent-55);
  border-radius: var(--radius-sm);
  background: var(--card);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.stat .num {
  font-family: var(--fhead);
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  color: var(--white);
  line-height: 1;
}
.stat .num .accent { color: var(--accent); }
.stat .label { font-size: 0.72rem; letter-spacing: 0.06em; color: var(--text-dim); margin-top: 14px; }

/* ===================================================================
   PROCESS STEPS
   =================================================================== */
.steps { counter-reset: step; display: grid; gap: 12px; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: start;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}
.step:hover { border-color: var(--accent-55); background: var(--surface-2); transform: translateY(-2px); }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--fhead);
  font-size: 0.82rem;
  color: var(--accent);
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 2px;
  background: var(--accent-d);
  border: 1px solid var(--accent-30);
}
.step h3 { font-family: var(--fbody); font-weight: 500; font-size: 1rem; color: var(--white); margin-bottom: 5px; }
.step p { font-size: 0.9rem; color: var(--text-muted); font-weight: 300; }

/* ===================================================================
   FAQ ACCORDION
   =================================================================== */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.3s;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.faq-item.open { border-color: var(--accent-55); border-top: 2px solid var(--accent-55); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px;
  background: none; border: none; cursor: pointer;
  text-align: left;
  font-family: var(--fbody);
  font-size: 0.98rem; font-weight: 500;
  color: var(--white);
}
.faq-q .ico { position: relative; flex-shrink: 0; width: 18px; height: 18px; }
.faq-q .ico::before, .faq-q .ico::after {
  content: ""; position: absolute; background: var(--accent); border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.faq-q .ico::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq-q .ico::after  { left: 8px; top: 0; width: 2px; height: 18px; }
.faq-item.open .faq-q .ico::after { transform: scaleY(0); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a-inner { padding: 0 24px 22px; color: var(--text-muted); font-size: 0.94rem; font-weight: 300; line-height: 1.75; }
.faq-a-inner a { color: var(--accent); text-decoration: none; }
.faq-a-inner a:hover { text-decoration: underline; }

/* ===================================================================
   ENTITY / PERSON BOX
   =================================================================== */
.entity {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  padding: 32px;
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent-55);
  border-radius: var(--radius-sm);
  background: var(--card);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.entity img { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent-55); }
.entity .role { font-family: var(--fhead); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.entity h3 { font-family: var(--fhead); font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 10px; color: var(--white); }
.entity p { color: var(--text-muted); font-size: 0.93rem; font-weight: 300; }
@media (max-width: 560px) { .entity { grid-template-columns: 1fr; text-align: center; justify-items: center; } }

/* ===================================================================
   CALLOUT / NOTE
   =================================================================== */
.callout {
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  background: rgba(107,255,138,0.12);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.callout.warn { border-left-color: var(--warn); background: rgba(255,206,74,0.14); }
.callout p { color: var(--text-muted); font-size: 0.93rem; font-weight: 300; }
.callout strong { color: var(--white); font-weight: 500; }

/* big quote */
.quote {
  font-family: var(--fbody);
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  font-weight: 300;
  line-height: 1.4;
  color: var(--white);
}
.quote .accent { color: var(--accent); }
.quote-cite { margin-top: 22px; font-size: 0.86rem; color: var(--text-dim); font-weight: 300; }

/* ===================================================================
   CTA BAND
   =================================================================== */
.cta-band { position: relative; overflow: hidden; }
.cta-inner {
  position: relative;
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent-55);
  border-radius: var(--radius-sm);
  padding: clamp(36px, 6vw, 68px);
  text-align: center;
  background:
    radial-gradient(680px 280px at 50% -20%, rgba(107,255,138,0.22), transparent 70%),
    var(--surface);
  box-shadow: 0 8px 24px rgba(0,0,0,0.07);
}
.cta-inner h2 { font-family: var(--fhead); text-transform: uppercase; letter-spacing: 0.06em; font-size: clamp(1.5rem, 3.6vw, 2.4rem); margin-bottom: 16px; color: var(--white); }
.cta-inner p { color: var(--text-muted); font-weight: 300; max-width: 560px; margin: 0 auto; }

/* ===================================================================
   FORM (Kontakt)
   =================================================================== */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 15px;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  color: var(--white);
  font-family: var(--fbody);
  font-weight: 300;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(10,143,68,0.18); background: #ffffff;
}
.field select { appearance: none; cursor: pointer; }
.checkbox-row { display: flex; gap: 12px; align-items: flex-start; font-size: 0.85rem; color: var(--text-muted); font-weight: 300; }
.checkbox-row input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); }
.checkbox-row a { color: var(--accent); }
.form-note { margin-top: 16px; font-size: 0.88rem; padding: 12px 16px; border-radius: 2px; display: none; }
.form-note.ok  { display: block; color: var(--accent); background: var(--accent-d); border: 1px solid var(--accent-30); }
.form-note.err { display: block; color: var(--warn); background: rgba(255,206,74,0.08); border: 1px solid rgba(255,206,74,0.3); }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

.contact-cards { display: grid; gap: 12px; }
.contact-card {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.contact-card .icon-box { margin-bottom: 0; flex-shrink: 0; }
.contact-card .ttl { font-family: var(--fhead); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 6px; }
.contact-card a, .contact-card p { color: var(--white); font-size: 0.94rem; font-weight: 300; text-decoration: none; }
.contact-card a:hover { color: var(--accent); }

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer {
  position: relative;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: clamp(50px, 7vw, 80px) clamp(20px, 5vw, 48px) 32px;
  margin-top: 40px;
}
.footer-inner { max-width: var(--maxw); margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand img { height: 32px; margin-bottom: 18px; filter: brightness(0.5); }   /* hellgraues Logo für hellen Footer abdunkeln */
.footer-brand p { color: var(--text-dim); font-size: 0.88rem; font-weight: 300; line-height: 1.7; max-width: 320px; }
.footer-col h4 {
  font-family: var(--fhead);
  font-size: 0.64rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { color: var(--text-muted); text-decoration: none; font-size: 0.88rem; font-weight: 300; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.74rem; letter-spacing: 0.04em; color: var(--text-dim); }
.footer-bottom a { color: var(--text-dim); text-decoration: none; }
.footer-bottom a:hover { color: var(--accent); }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 34px; height: 34px; border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); color: var(--text-dim);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.footer-socials a:hover { border-color: var(--accent-55); color: var(--accent); background: var(--accent-d); }
.footer-socials svg { width: 15px; height: 15px; fill: currentColor; }
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column-reverse; align-items: flex-start; }
}

/* ===================================================================
   RESPONSIVE GRID COLLAPSE
   =================================================================== */
@media (max-width: 920px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats  { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .step { grid-template-columns: 40px 1fr; gap: 14px; padding: 18px; }
  .step::before { width: 40px; height: 40px; font-size: 0.72rem; }
  .card { padding: 22px; }
}

/* ===================================================================
   SCROLL REVEAL
   =================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* skip link for a11y */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 300;
  background: var(--accent-fill); color: #08140c; padding: 10px 16px; border-radius: 0 0 4px 0;
  font-weight: 600; font-size: 0.85rem;
}
.skip-link:focus { left: 0; }
