/* ================================================================
   Industrieservice Grabsch GmbH – style.css (Redesign 2026)
   ISG-Farben: Petrol #4A9DB5 · Dunkel #0B1A23 · Glow-Blau #00B4D8
   ================================================================ */

:root {
  --isg:         #4A9DB5;
  --isg-d:       #2A6E87;
  --isg-l:       #7EC8E3;
  --isg-10:      rgba(74,157,181,0.10);
  --isg-20:      rgba(74,157,181,0.20);
  --isg-30:      rgba(74,157,181,0.30);
  --glow:        #00B4D8;
  --glow-d:      #007FA8;
  --glow-l:      #48CAE4;
  --glow-10:     rgba(0,180,216,0.10);
  --glow-20:     rgba(0,180,216,0.20);
  --glow-50:     rgba(0,180,216,0.50);
  --bg-0:        #040D14;
  --bg-1:        #071219;
  --bg-2:        #0B1A23;
  --bg-3:        #102030;
  --bg-4:        #163347;
  --bg-light:    #EEF6FA;
  --bg-card:     rgba(11,26,35,0.85);
  --t-white:     #FFFFFF;
  --t-light:     #D6EBF5;
  --t-muted:     #7AAFC4;
  --t-faint:     #4A7088;
  --t-dark:      #071219;
  --t-body:      #1E3040;
  --orange:      #E8892A;
  --ok:          #10B981;
  --err:         #EF4444;
  --border:      rgba(74,157,181,0.15);
  --border-l:    rgba(74,157,181,0.07);
  --border-glow: rgba(0,180,216,0.25);
  --r:           12px;
  --r-sm:        7px;
  --r-lg:        20px;
  --r-xl:        32px;
  --max:         1240px;
  --nav-h:       76px;
  --font:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono:   'JetBrains Mono', 'Fira Code', ui-monospace, monospace;
  --t:           0.28s ease;
  --t-fast:      0.14s ease;
  --t-slow:      0.55s cubic-bezier(.4,0,.2,1);
  --shadow-card: 0 4px 32px rgba(0,0,0,0.45), 0 1px 4px rgba(0,0,0,0.3);
  --shadow-glow: 0 0 24px rgba(0,180,216,0.25), 0 4px 20px rgba(0,0,0,0.4);
}

/* ── Reset ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font);
  color: var(--t-body);
  background: var(--bg-1);
  line-height: 1.65;
  overflow-x: hidden;
}
img   { max-width: 100%; height: auto; display: block; }
a     { color: var(--glow); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--glow-l); }
ul    { list-style: none; }
strong { font-weight: 700; }

h1 { font-size: clamp(2.2rem, 5.2vw, 3.8rem); line-height: 1.1;  font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.55rem); line-height: 1.18; font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.05rem, 1.8vw, 1.35rem); line-height: 1.3; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 600; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.wrap   { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
.sec    { padding: 6rem 0; }
.sec-sm { padding: 3.5rem 0; }
.sec-dark  { background: var(--bg-2); }   /* reserviert / Subseiten */
.sec-mid   { background: var(--bg-3); }   /* Blau – Leistungen, Team  */
.sec-0     { background: var(--bg-0); }   /* Dunkelblau – Über uns, Kontakt */

/* ════════════════════════════════════════════════════════════════
   NAVIGATION
   ════════════════════════════════════════════════════════════════ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--t), box-shadow var(--t), backdrop-filter var(--t);
}
#nav.scrolled {
  background: rgba(4,13,20,0.92);
  backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(0,0,0,0.4);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 1rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--t-white);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  flex-shrink: 0;
}
.nav-logo:hover { color: var(--isg-l); }
.nav-logo-img { height: 44px; width: auto; }
.nav-logo small { display: block; font-weight: 400; font-size: 0.75rem; color: var(--t-muted); }
/* Volles Logo im Header (Startseite) – ohne Hintergrund, direkt auf dunkel */
.nav-logo-full .nav-logo-img { height: 54px; display: block; }
@media (max-width: 480px) { .nav-logo-full .nav-logo-img { height: 40px; } }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  color: var(--t-light);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  transition: color var(--t), background var(--t);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--glow-l);
  background: var(--glow-10);
}
.nav-cta-btn {
  background: var(--glow) !important;
  color: #fff !important;
  padding: 0.5rem 1.15rem !important;
  border-radius: var(--r-sm) !important;
  font-weight: 600 !important;
  margin-left: 0.5rem;
  box-shadow: 0 0 0 0 var(--glow-50);
  transition: background var(--t), box-shadow var(--t), transform var(--t-fast) !important;
}
.nav-cta-btn:hover {
  background: var(--glow-d) !important;
  box-shadow: 0 0 18px var(--glow-50) !important;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--r-sm);
  transition: background var(--t);
}
.hamburger:hover { background: var(--isg-10); }
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--t-light);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  background: rgba(4,13,20,0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow);
}
.nav-mobile.open { max-height: 600px; }
.nav-mobile a {
  color: var(--t-light);
  font-size: 1rem;
  font-weight: 500;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-l);
  transition: background var(--t), color var(--t);
}
.nav-mobile a:hover { background: var(--isg-10); color: var(--isg-l); }

/* ════════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg-0);
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(0,180,216,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 30%, rgba(74,157,181,0.07) 0%, transparent 70%),
    linear-gradient(180deg, var(--bg-0) 0%, #050f18 100%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid-svg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.3;
}

.hero-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 5rem 0 4rem;
}

/* ── Hero Text ── */
.hero-text { display: flex; flex-direction: column; gap: 1.5rem; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--isg-10);
  border: 1px solid var(--isg-30);
  color: var(--isg-l);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  width: fit-content;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 8px var(--ok);
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 6px var(--ok); }
  50%      { box-shadow: 0 0 14px var(--ok), 0 0 6px var(--ok); }
}

.hero-title {
  color: var(--t-white);
}
.hero-title .line1 {
  display: block;
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--isg);
  margin-bottom: 0.5rem;
}
.hero-title .hl {
  background: linear-gradient(135deg, var(--glow), var(--isg-l));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  color: var(--t-muted);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.7;
  max-width: 520px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.25);
  color: #34D399;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.45rem 0.9rem;
  border-radius: 100px;
  width: fit-content;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.hero-stats > div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--t-white);
  line-height: 1;
  background: linear-gradient(135deg, var(--t-white), var(--isg-l));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-lbl {
  font-size: 0.78rem;
  color: var(--t-faint);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.93rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--r-sm);
  border: none;
  cursor: pointer;
  transition: all var(--t);
  text-decoration: none;
  white-space: nowrap;
  font-family: var(--font);
}
.btn-lg { padding: 0.85rem 1.75rem; font-size: 1rem; }
.btn-glow {
  background: linear-gradient(135deg, var(--glow), var(--isg-d));
  color: #fff;
  box-shadow: 0 4px 20px var(--glow-20);
}
.btn-glow:hover {
  background: linear-gradient(135deg, var(--glow-l), var(--glow));
  box-shadow: 0 4px 28px var(--glow-50);
  transform: translateY(-2px);
  color: #fff;
}
.btn-glass {
  background: rgba(255,255,255,0.05);
  color: var(--t-light);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
}
.btn-glass:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--isg-30);
  color: var(--isg-l);
  transform: translateY(-2px);
}
.btn-isg {
  background: var(--isg);
  color: #fff;
  box-shadow: 0 4px 16px var(--isg-20);
}
.btn-isg:hover {
  background: var(--isg-d);
  box-shadow: 0 4px 24px var(--isg-30);
  transform: translateY(-2px);
  color: #fff;
}

/* ── CNC Maschine Visual ── */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.cnc-stage {
  position: relative;
  width: 100%;
  max-width: 580px;
}
.cnc-stage svg { width: 100%; height: auto; }

/* CNC Animation Classes */
.cnc-spindle {
  animation: spindleZ-plunge 4s ease-in-out infinite;
}
@keyframes spindleZ-plunge {
  0%,100% { transform: translate(285px, 160px); }
  45%,55% { transform: translate(285px, 182px); }
}

.cnc-spindle-z {
  animation: spindleZ 3s ease-in-out infinite;
}
@keyframes spindleZ {
  0%,100% { transform: translateY(0); }
  40%,60% { transform: translateY(15px); }
}

.cnc-tool-spin {
  animation: toolSpin 0.2s linear infinite;
}
@keyframes toolSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.cnc-table {
  animation: tableY 4s ease-in-out infinite;
}
@keyframes tableY {
  0%,100% { transform: translate(34px, -17px); }
  50%      { transform: translate(-34px, 17px); }
}

.cnc-ring {
  animation: ringPulse 1.5s ease-in-out infinite;
  transform-origin: center;
}
@keyframes ringPulse {
  0%,100% { opacity: 0.5; r: 10; }
  50%      { opacity: 0.1; r: 16; }
}

/* floating chips */
.iso-chip {
  position: absolute;
  background: rgba(7,18,25,0.9);
  border: 1px solid var(--border-glow);
  color: var(--isg-l);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: var(--r-sm);
  backdrop-filter: blur(8px);
  white-space: nowrap;
  line-height: 1.4;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  animation: chipFloat 3s ease-in-out infinite;
}
.iso-chip-1 { top: 12%; right: -2%; animation-delay: 0s; }
.iso-chip-2 { bottom: 9%; left: 0%; animation-delay: 1s; }
.iso-chip-3 { bottom: 5%; right: 2%; animation-delay: 2s; }
@keyframes chipFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* ════════════════════════════════════════════════════════════════
   TRUST BAR
   ════════════════════════════════════════════════════════════════ */
.trust-bar {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--t-muted);
  font-size: 0.88rem;
  font-weight: 500;
}
.trust-item i { color: var(--glow); font-size: 1.1rem; }

/* ════════════════════════════════════════════════════════════════
   SECTION HEADER
   ════════════════════════════════════════════════════════════════ */
.sec-head       { text-align: center; margin-bottom: 4rem; }
.sec-head h2    { color: var(--t-white); margin-bottom: 0.6rem; }
.sec-head.light h2 { color: var(--t-dark); }
.sec-head.light p  { color: #4a7a90; }
.sec-head p {
  color: var(--t-muted);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0.5rem auto 0;
}
.sec-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--isg);
  margin-bottom: 0.6rem;
}
.sec-tag::before, .sec-tag::after {
  content: '';
  width: 24px; height: 1px;
  background: var(--isg-30);
}

/* ════════════════════════════════════════════════════════════════
   LEISTUNGEN (Services)
   ════════════════════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.svc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
  backdrop-filter: blur(12px);
}
.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--isg-d), var(--glow));
  opacity: 0;
  transition: opacity var(--t);
}
.svc-card:hover {
  border-color: var(--isg-30);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.svc-card:hover::before { opacity: 1; }

.svc-icon {
  width: 52px; height: 52px;
  border-radius: var(--r);
  background: var(--isg-10);
  border: 1px solid var(--isg-20);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--isg);
  margin-bottom: 1.25rem;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.svc-card:hover .svc-icon {
  background: var(--isg-20);
  color: var(--glow-l);
  border-color: var(--isg-30);
}
.svc-card h3 {
  color: var(--t-white);
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}
.svc-card p { color: var(--t-muted); font-size: 0.93rem; line-height: 1.65; }

.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--isg);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 1rem;
  transition: color var(--t), gap var(--t);
}
.svc-card:hover .svc-link { color: var(--glow-l); gap: 0.6rem; }

/* ════════════════════════════════════════════════════════════════
   ÜBER UNS
   ════════════════════════════════════════════════════════════════ */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-cnc-visual {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  position: relative;
}
.about-cnc-visual svg { display: block; width: 100%; }

.about-badge {
  position: absolute;
  bottom: -1rem;
  right: 1.5rem;
  background: linear-gradient(135deg, var(--isg-d), var(--bg-2));
  border: 1px solid var(--isg-30);
  border-radius: var(--r);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.about-badge b {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--isg-l);
}
.about-badge span {
  font-size: 0.78rem;
  color: var(--t-muted);
  line-height: 1.3;
}

.about-hl {
  background: var(--isg-10);
  border-left: 3px solid var(--isg);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 0.85rem 1.15rem;
  margin: 1.5rem 0;
  color: var(--t-light);
  font-size: 0.93rem;
  line-height: 1.6;
}

.about-feats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin: 1.5rem 0;
}
.feat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--t-muted);
  font-size: 0.88rem;
}
.feat i { color: var(--ok); font-size: 0.75rem; }

/* ════════════════════════════════════════════════════════════════
   TEAM
   ════════════════════════════════════════════════════════════════ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 780px;
  margin: 0 auto;
}
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
  backdrop-filter: blur(12px);
}
.team-card:hover {
  border-color: var(--isg-30);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.team-photo-wrap {
  background:
    radial-gradient(200px 120px at 50% 6%, var(--glow-50), transparent 70%),
    linear-gradient(180deg, var(--bg-4), var(--bg-2) 70%);
  padding: 2rem;
  display: flex;
  justify-content: center;
}
.team-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid transparent;
  background:
    linear-gradient(var(--bg-3), var(--bg-3)) padding-box,
    conic-gradient(from 210deg, var(--glow), var(--isg), var(--glow-l), var(--glow)) border-box;
  display: block;
  box-shadow: 0 6px 26px rgba(0,180,216,0.28), 0 4px 20px rgba(0,0,0,0.45);
}
.team-body {
  padding: 1.5rem;
}
.team-body h3 {
  color: var(--t-white);
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}
.team-role {
  color: var(--isg);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.85rem;
}
.team-body p {
  color: var(--t-muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

/* ════════════════════════════════════════════════════════════════
   CTA BAND
   ════════════════════════════════════════════════════════════════ */
.cta-band {
  background: linear-gradient(135deg, var(--bg-2) 0%, var(--bg-3) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, var(--glow-10), transparent);
  pointer-events: none;
}
.cta-band h2 {
  color: var(--t-white);
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}
.cta-band p {
  color: var(--t-muted);
  margin-bottom: 2rem;
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
}
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* ════════════════════════════════════════════════════════════════
   KONTAKT
   ════════════════════════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {}
.contact-info h2 {
  color: var(--t-white);
  margin-bottom: 1rem;
}
.contact-info > p {
  color: var(--t-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.ci-list { display: flex; flex-direction: column; gap: 1rem; }
.ci {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.ci-ico {
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  background: var(--isg-10);
  border: 1px solid var(--isg-20);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--isg);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.ci-ico-wa {
  background: rgba(37,211,102,0.10);
  border-color: rgba(37,211,102,0.25);
  color: #25D366;
}
.ci-lbl {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--t-faint);
  margin-bottom: 0.2rem;
}
.ci-val { display: flex; flex-direction: column; gap: 0.15rem; }
.ln { color: var(--t-light); font-size: 0.93rem; font-weight: 500; transition: color var(--t); }
a.ln:hover { color: var(--isg-l); }

/* ── Form Tabs ── */
.form-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2.25rem;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
}
.form-box > h3 {
  color: var(--t-white);
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}
.form-box > .form-subtitle {
  color: var(--t-muted);
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
}

/* ── Form Fields ── */
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.f-grp { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.f-grp:last-of-type { margin-bottom: 0; }

label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--t-muted);
  letter-spacing: 0.02em;
}
.req { color: var(--err); margin-left: 2px; }
.opt { color: var(--t-faint); font-weight: 400; font-size: 0.78rem; }

.f-ctrl {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 0.65rem 0.9rem;
  color: var(--t-white);
  font-size: 0.92rem;
  font-family: var(--font);
  line-height: 1.5;
  width: 100%;
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
  outline: none;
  -webkit-appearance: none;
}
.f-ctrl::placeholder { color: var(--t-faint); }
.f-ctrl:focus {
  border-color: var(--isg);
  box-shadow: 0 0 0 3px var(--isg-10);
  background: var(--bg-3);
}
.f-ctrl.ok  { border-color: var(--ok); }
.f-ctrl.err { border-color: var(--err); }

input[type="date"].f-ctrl,
input[type="time"].f-ctrl {
  color-scheme: dark;
}

textarea.f-ctrl { resize: vertical; min-height: 110px; }

.f-err {
  font-size: 0.78rem;
  color: var(--err);
  display: none;
}
.f-err.show { display: block; }

.cb-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
  color: var(--t-muted);
  font-size: 0.83rem;
  font-weight: 400;
  line-height: 1.5;
}
.cb-wrap input[type="checkbox"] {
  width: 17px; height: 17px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  background: var(--bg-2);
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--isg);
  cursor: pointer;
}
.cb-wrap a { color: var(--isg); }

.btn-send {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  background: linear-gradient(135deg, var(--glow), var(--isg-d));
  color: #fff;
  border: none;
  border-radius: var(--r-sm);
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  transition: all var(--t);
  margin-top: 1.25rem;
  box-shadow: 0 4px 16px var(--glow-20);
}
.btn-send:hover {
  background: linear-gradient(135deg, var(--glow-l), var(--glow));
  box-shadow: 0 4px 28px var(--glow-50);
  transform: translateY(-2px);
}
.btn-send:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.f-feedback {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--r-sm);
  font-size: 0.88rem;
  display: none;
}
.f-feedback.ok {
  display: block;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.25);
  color: #34D399;
}
.f-feedback.error {
  display: block;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.25);
  color: #F87171;
}

/* ════════════════════════════════════════════════════════════════
   TELEFON-BERATUNG
   ════════════════════════════════════════════════════════════════ */
.beratung-form { max-width: none; }
.beratung-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1.75rem;
  align-items: start;
}

/* Auswahl-Karten (4 Optionen, volle Breite) */
.price-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  margin-bottom: 2rem;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.6rem 1.4rem;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: border-color var(--t), background var(--t), transform var(--t), box-shadow var(--t);
}
.price-card:hover { border-color: var(--isg-30); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.price-card input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
  pointer-events: none;
}
.price-card:has(input:checked) {
  border-color: var(--glow);
  background: var(--isg-10);
  box-shadow: 0 0 0 3px var(--glow-10), var(--shadow-card);
}
.price-card:has(input:focus-visible) { box-shadow: 0 0 0 3px var(--glow-20); }
.pc-dur {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--isg-l);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.pc-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--t-white);
  line-height: 1.05;
  margin-top: 0.4rem;
}
.pc-vat {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--t-faint);
  margin-top: 0.15rem;
}
.pc-desc {
  font-size: 0.82rem;
  color: var(--t-muted);
  margin-top: 0.7rem;
  line-height: 1.5;
}
.pc-featured { border-color: var(--isg-30); }
.pc-badge {
  position: absolute;
  top: -10px; right: 14px;
  background: linear-gradient(135deg, var(--glow), var(--isg-d));
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
}
/* Sofort-Beratung – hervorgehoben */
.pc-sofort { border-color: rgba(232,137,42,0.45); background: rgba(232,137,42,0.06); }
.pc-sofort .pc-dur { color: var(--orange); }
.pc-sofort:has(input:checked) {
  border-color: var(--orange);
  background: rgba(232,137,42,0.12);
  box-shadow: 0 0 0 3px rgba(232,137,42,0.22), var(--shadow-card);
}
.pc-badge-now { background: linear-gradient(135deg, #F0A44A, var(--orange)); }

/* Hinweise unter Feldern */
.field-hint {
  display: flex;
  gap: 0.4rem;
  align-items: flex-start;
  font-size: 0.76rem;
  color: var(--t-faint);
  line-height: 1.45;
  margin-top: 0.15rem;
}
.field-hint i { margin-top: 0.15rem; color: var(--isg); }
.pay-hint {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  font-size: 0.78rem;
  color: var(--t-muted);
  line-height: 1.5;
  margin-top: 0.9rem;
}
.pay-hint i { margin-top: 0.15rem; color: var(--isg-l); }

/* Hervorgehobener 24h-Hinweis unter dem Bezahl-Button */
.pay-promise {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-top: 1rem;
  padding: 0.95rem 1.1rem;
  background: var(--glow-10);
  border: 1px solid var(--glow-20);
  border-left: 3px solid var(--glow);
  border-radius: var(--r);
  color: var(--t-white);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
  box-shadow: 0 0 20px var(--glow-10);
}
.pay-promise i { margin-top: 0.15rem; color: var(--glow-l); font-size: 1rem; }

/* Ablauf-Panel (rechts) */
.beratung-aside {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
}
.beratung-aside > h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--t-white);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.beratung-aside > h3 i { color: var(--glow); }
.beratung-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.25rem 0 1.5rem;
}
.beratung-steps li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--t-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}
.beratung-steps strong { color: var(--t-light); }
.step-n {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--isg-10);
  border: 1px solid var(--isg-20);
  color: var(--isg-l);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.aside-note {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  color: var(--t-light);
  font-size: 0.86rem;
  line-height: 1.5;
  padding: 0.9rem 1rem;
  background: var(--isg-10);
  border: 1px solid var(--isg-20);
  border-radius: var(--r);
  margin-bottom: 1rem;
}
.aside-note i { color: var(--isg-l); margin-top: 0.15rem; }
.aside-wa {
  color: var(--t-muted);
  font-size: 0.82rem;
  line-height: 1.55;
}
.aside-wa i { color: #25D366; }

/* ════════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════════ */
#footer {
  background: var(--bg-0);
  border-top: 1px solid var(--border);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.f-brand p {
  color: var(--t-faint);
  font-size: 0.87rem;
  line-height: 1.7;
  margin: 1rem 0 1.25rem;
}
.f-social { display: flex; gap: 0.6rem; }
.f-social a {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  background: var(--isg-10);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--t-muted);
  font-size: 0.9rem;
  transition: all var(--t);
}
.f-social a:hover {
  background: var(--isg-20);
  border-color: var(--isg-30);
  color: var(--isg-l);
}
.f-col h4 {
  color: var(--t-white);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.f-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.f-col ul a {
  color: var(--t-faint);
  font-size: 0.875rem;
  transition: color var(--t);
}
.f-col ul a:hover { color: var(--isg-l); }
.f-contacts { display: flex; flex-direction: column; gap: 0.6rem; }
.f-ci {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--t-faint);
  font-size: 0.875rem;
}
.f-ci i { color: var(--isg); font-size: 0.85rem; margin-top: 0.2rem; flex-shrink: 0; }
.f-ci a { color: var(--t-faint); }
.f-ci a:hover { color: var(--isg-l); }

.footer-bar {
  border-top: 1px solid var(--border-l);
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bar span { color: var(--t-faint); font-size: 0.82rem; }
.f-bar-links { display: flex; gap: 1.5rem; }
.f-bar-links a { color: var(--t-faint); font-size: 0.82rem; transition: color var(--t); }
.f-bar-links a:hover { color: var(--isg-l); }

/* ── Scroll-to-Top (über dem WhatsApp-Button) ── */
#stt {
  position: fixed;
  bottom: 6.2rem;
  right: 2rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--isg-d);
  border: 1px solid var(--isg-30);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--t);
  z-index: 900;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
#stt.show { opacity: 1; transform: translateY(0); }
#stt:hover { background: var(--glow); box-shadow: var(--shadow-glow); }

/* ── WhatsApp Floating-Button ── */
.wa-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  text-decoration: none;
  z-index: 950;
  box-shadow: 0 6px 20px rgba(37,211,102,0.45);
  transition: transform var(--t), box-shadow var(--t);
}
.wa-fab:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 28px rgba(37,211,102,0.6);
}
.wa-fab:focus-visible,
#stt:focus-visible {
  outline: 2px solid var(--glow-l);
  outline-offset: 3px;
}

/* ════════════════════════════════════════════════════════════════
   REVEAL ANIMATION
   ════════════════════════════════════════════════════════════════ */
.rv {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(.4,0,.2,1), transform 0.65s cubic-bezier(.4,0,.2,1);
}
.rv.in { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.12s; }
.d2 { transition-delay: 0.24s; }
.d3 { transition-delay: 0.36s; }
.d4 { transition-delay: 0.48s; }

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-wrap { grid-template-columns: 1fr; gap: 3rem; padding: 3rem 0 3rem; }
  .hero-visual { order: -1; width: 100%; }
  .cnc-stage { max-width: 420px; margin: 0 auto; }
  .about-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 992px) {
  /* Navigation wechselt früher aufs Menü, sobald die Links (Beratung + Kontakt) zu breit werden */
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-mobile { display: flex; }
}

@media (max-width: 768px) {
  .sec { padding: 4rem 0; }
  .sec-head { margin-bottom: 2.5rem; }
  .cnc-stage { max-width: 360px; }
  .iso-chip-1 { right: 4%; }
  .iso-chip-3 { right: 4%; }
  .hero-wrap { padding: 2rem 0 2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 400px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .f-row { grid-template-columns: 1fr; }
  .trust-bar-inner { gap: 1.5rem; }
  .about-feats { grid-template-columns: 1fr; }
  .iso-chip-2 { display: none; }
  .cta-btns { flex-direction: column; align-items: center; }
  .beratung-layout { grid-template-columns: 1fr; }
  .price-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .sec { padding: 3rem 0; }
  .cnc-stage { max-width: 310px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 0.6rem; flex-wrap: nowrap; }
  .hero-stats > div { flex: 1; min-width: 0; }
  .stat-num { font-size: 1.05rem; }
  .stat-lbl { font-size: 0.62rem; letter-spacing: 0.03em; }
  .form-box { padding: 1.5rem; }
  .hero-title { font-size: clamp(1.9rem, 8vw, 2.8rem); }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .team-grid { max-width: 100%; }
  .contact-info h2 { font-size: 1.6rem; }
  .price-cards { grid-template-columns: 1fr; }
  .beratung-aside { padding: 1.5rem; }
  .wa-fab { width: 50px; height: 50px; font-size: 1.5rem; right: 1.25rem; bottom: 1.25rem; }
  #stt { width: 40px; height: 40px; right: 1.25rem; bottom: 5rem; }
}

/* ════════════════════════════════════════════════════════════════
   SUBPAGE HERO (Impressum / Datenschutz)
   ════════════════════════════════════════════════════════════════ */
.subpage-hero {
  background: var(--bg-0);
  padding: calc(var(--nav-h) + 3rem) 0 3rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.subpage-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, var(--isg-10), transparent);
  pointer-events: none;
}
.subpage-hero h1 {
  color: var(--t-white);
  font-size: clamp(1.5rem, 5vw, 3rem);
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  position: relative;
  z-index: 1;
}
.breadcrumb a { color: var(--t-muted); transition: color var(--t); }
.breadcrumb a:hover { color: var(--isg-l); }
.breadcrumb .sep { color: var(--t-faint); }
.breadcrumb span:last-child { color: var(--isg); font-weight: 500; }

/* ── Legal Content ── */
.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 4rem;
}
.legal h2 {
  color: var(--t-dark);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2.5rem 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #c8dde8;
}
.legal h2:first-of-type { margin-top: 0; }
.legal h3 {
  color: var(--t-body);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
}
.legal p {
  color: #3a5a70;
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}
.legal address {
  color: #3a5a70;
  font-style: normal;
  font-size: 0.95rem;
  line-height: 1.8;
  background: rgba(74,157,181,0.06);
  border: 1px solid rgba(74,157,181,0.15);
  border-radius: var(--r);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}
.legal ul {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.legal ul li {
  color: #3a5a70;
  font-size: 0.95rem;
  padding-left: 1.25rem;
  position: relative;
}
.legal ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--isg);
}
.legal a { color: var(--isg-d); }
.legal a:hover { color: var(--isg); }
.legal strong { color: var(--t-body); }
.legal small { font-size: 0.82rem; }
.ph {
  background: rgba(232,137,42,0.12);
  border: 1px solid rgba(232,137,42,0.3);
  color: #a0531a;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-style: normal;
  display: inline-block;
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--isg-d);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #c8dde8;
  transition: color var(--t), gap var(--t);
}
.legal-back:hover { color: var(--isg); gap: 0.75rem; }
.legal-note {
  background: rgba(74,157,181,0.07);
  border: 1px solid rgba(74,157,181,0.2);
  border-left: 4px solid var(--isg);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 1.1rem 1.4rem;
  margin-top: 2rem;
  font-size: 0.88rem;
  color: #2a5a6a;
  line-height: 1.6;
}

/* ── Standort-Karte (Google Maps, Klick-zum-Laden) ── */
.map-wrap {
  margin-top: 3rem;
  height: 440px;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  background:
    radial-gradient(circle at 30% 20%, var(--isg-10), transparent 60%),
    var(--bg-card);
  backdrop-filter: blur(16px);
}
.map-wrap iframe { display: block; width: 100%; height: 100%; border: 0; }
.map-consent {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.65rem;
  padding: 2rem 1.5rem;
}
.map-consent > i {
  font-size: 2.4rem;
  color: var(--glow);
  margin-bottom: 0.3rem;
}
.map-consent h3 { color: var(--t-white); font-size: 1.3rem; }
.map-consent .map-addr {
  color: var(--t-light);
  font-family: var(--font-mono);
  font-size: 0.95rem;
}
.map-consent .map-note {
  color: var(--t-muted);
  font-size: 0.82rem;
  max-width: 48ch;
  line-height: 1.55;
}
.map-consent .map-note a { color: var(--isg-l); }
.map-consent .btn { margin-top: 0.4rem; }
.map-consent .map-alt {
  color: var(--t-muted);
  font-size: 0.85rem;
  text-decoration: none;
  border-bottom: 1px dashed var(--border-glow);
  padding-bottom: 1px;
  transition: color var(--t);
}
.map-consent .map-alt:hover { color: var(--glow-l); }
@media (max-width: 640px) {
  .map-wrap { height: 400px; }
  .map-consent h3 { font-size: 1.1rem; }
}

/* ── Telefon-Feld mit Länder-Vorwahl-Auswahl (Toggle wie Makkoleads) ── */
.tel-field {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
}
.tel-field .tel-national { flex: 1 1 auto; min-width: 0; }

.tel-trigger {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex: 0 0 auto;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 0.65rem 0.7rem;
  color: var(--t-white);
  font-family: var(--font);
  cursor: pointer;
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
  -webkit-appearance: none;
}
.tel-trigger:hover { border-color: var(--isg); }
.tel-trigger:focus-visible {
  outline: none;
  border-color: var(--isg);
  box-shadow: 0 0 0 3px var(--isg-10);
  background: var(--bg-3);
}
.tel-flag { font-size: 1.1rem; line-height: 1; }
.tel-code { font-weight: 600; font-size: 0.92rem; letter-spacing: 0.01em; }
.tel-caret {
  width: 0.85rem;
  height: 0.85rem;
  color: var(--t-muted);
  transition: transform var(--t-fast);
}
.tel-trigger[aria-expanded="true"] .tel-caret { transform: rotate(180deg); }

.tel-panel {
  position: fixed;
  z-index: 1200;
  width: 288px;
  max-width: calc(100vw - 16px);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
}
.tel-panel.open { opacity: 1; visibility: visible; transform: translateY(0); }

.tel-search-wrap { padding: 0.5rem; }
.tel-search {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 0.5rem 0.7rem;
  color: var(--t-white);
  font-size: 0.9rem;
  font-family: var(--font);
  outline: none;
  transition: border-color var(--t), box-shadow var(--t);
}
.tel-search::placeholder { color: var(--t-faint); }
.tel-search:focus { border-color: var(--isg); box-shadow: 0 0 0 3px var(--isg-10); }

.tel-list {
  max-height: 216px;
  overflow-y: auto;
  margin: 0;
  padding: 0 0 0.35rem;
  list-style: none;
  scrollbar-width: thin;
  scrollbar-color: var(--isg-30) transparent;
}
.tel-list::-webkit-scrollbar { width: 8px; }
.tel-list::-webkit-scrollbar-thumb { background: var(--isg-20); border-radius: 8px; }

.tel-option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.5rem 0.75rem;
  background: none;
  border: 0;
  text-align: left;
  color: var(--t-light);
  font-size: 0.9rem;
  font-family: var(--font);
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
}
.tel-option:hover,
.tel-option.active { background: var(--isg-10); }
.tel-list li[aria-selected="true"] .tel-option { color: var(--isg-l); background: var(--isg-10); }
.tel-opt-flag { font-size: 1.05rem; line-height: 1; }
.tel-opt-code {
  flex: 0 0 3.2rem;
  color: var(--t-muted);
  font-variant-numeric: tabular-nums;
}
.tel-opt-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tel-empty { padding: 0.65rem 0.75rem; color: var(--t-muted); font-size: 0.9rem; }

@media (prefers-reduced-motion: reduce) {
  .tel-panel, .tel-caret, .tel-option, .tel-trigger, .tel-search { transition: none; }
}

/* ════════════════════════════════════════════════════════════════
   HERO-REVEAL OHNE JAVASCRIPT
   Der Hero-Inhalt (inkl. Maschinen-SVG) hing am IntersectionObserver
   in script.js und war bis zum JS-Load auf opacity:0 – Google hat den
   Largest Contentful Paint dadurch erst nach ~11,8 s gemessen.
   Gleicher Effekt, nur als CSS-Keyframe direkt beim Rendern.
   HTML bleibt unverändert; der Observer setzt zusätzlich .in, was
   dank animation-fill-mode:forwards folgenlos ist.
   Betrifft NUR den Einblend-Effekt – die CNC-Animation in script.js
   (Koordinatenfahrt, Werkzeugbahn) ist davon nicht berührt.
   ════════════════════════════════════════════════════════════════ */
#hero .rv {
  animation: hero-rv-in 0.65s cubic-bezier(.4,0,.2,1) forwards;
}
#hero .d1 { animation-delay: 0.12s; }
#hero .d2 { animation-delay: 0.24s; }
#hero .d3 { animation-delay: 0.36s; }
#hero .d4 { animation-delay: 0.48s; }

@keyframes hero-rv-in {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  #hero .rv { animation: none; opacity: 1; transform: none; }
}

/* ════════════════════════════════════════════════════════════════
   FORMULARKARTEN AUF SCHMALEN HANDYS
   Das Turnstile-Widget ist starr 300 px breit. Ein Grid-Track mit "1fr"
   darf per Voreinstellung nicht unter die Mindestbreite seines Inhalts
   schrumpfen – die Formularkarte wuchs dadurch auf 350 px und ragte bei
   360 px Bildschirmbreite (Galaxy S/A u. ä.) rechts aus dem Bild:
   Captcha und Absende-Button waren angeschnitten.
   minmax(0,1fr) hebt diese Mindestbreite auf, das kleinere Innenabstand
   schafft den Platz, den das Widget braucht.
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .contact-grid,
  .beratung-layout { grid-template-columns: minmax(0, 1fr); }
  .form-box { padding: 1rem; }
}
