/* ============================================================
   ndc IT-SOLUTIONS — CI Stylesheet
   Basiert auf Logo-Farben: Navy #022974 · Royal #01449d · Cobalt #2384ed
   Kein Schwarz — Blau/Weiss Akzente
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Exo+2:ital,wght@0,700;0,800;1,700;1,800&display=swap');

/* ── CI-Farbpalette (direkt aus dem Logo) ── */
:root {
  /* Primärfarben aus dem Logo */
  --navy:      #022974;   /* Logo-Zentrum (tiefster Blauton) */
  --royal:     #01449d;   /* Logo-Seite (mittleres Blau) */
  --cobalt:    #1a6abf;   /* Übergang */
  --bright:    #2384ed;   /* Logo-Highlight / Akzent */
  --sky:       #5aabff;   /* heller Akzent */
  --ice:       #deeeff;   /* sehr helles Blau */
  --ice-2:     #eef5ff;   /* fast weiss-blau */

  /* Hintergründe — kein Schwarz, kein reines Weiss */
  --bg-white:  #f8fbff;   /* leicht blau getönt statt reines Weiss */
  --bg-light:  #f0f5ff;   /* leicht blaustichig-weiss */
  --bg-ice:    #e4eeff;   /* eisblau für alternierende Sections */
  --bg-navy:   #022974;   /* Navy-Sections (dunkelste Fläche) */
  --bg-royal:  #01449d;   /* Royal-Sections */

  /* Text */
  --text-dark:   #022974;   /* primärer Text auf hellem Hintergrund */
  --text-body:   #1a3a6b;   /* Fliesstext */
  --text-muted:  #4a6fa5;   /* sekundärer Text */
  --text-faint:  #7a9cc8;   /* dezenter Text */
  --text-white:  #ffffff;
  --text-soft-w: rgba(255,255,255,0.80);
  --text-muted-w:rgba(255,255,255,0.55);

  /* Borders */
  --border-light: rgba(2,41,116,0.12);
  --border-mid:   rgba(2,41,116,0.22);
  --border-blue:  rgba(35,132,237,0.35);
  --border-white: rgba(255,255,255,0.25);

  /* Glaseffekte (für blaue Sections) */
  --glass-white:  rgba(255,255,255,0.10);
  --glass-white-h:rgba(255,255,255,0.18);

  /* Shadows */
  --shadow-sm: 0 1px 4px rgba(2,41,116,.10);
  --shadow-md: 0 4px 20px rgba(2,41,116,.15);
  --shadow-lg: 0 12px 48px rgba(2,41,116,.20);
  --shadow-xl: 0 24px 64px rgba(2,41,116,.25);
  --shadow-blue: 0 8px 32px rgba(35,132,237,.30);
  --glow-bright: 0 0 32px rgba(35,132,237,.40);

  /* Aliases (für Kompatibilität) */
  --blue-500: var(--cobalt);
  --blue-400: var(--bright);
  --blue-300: var(--sky);
  --aurora-blue: var(--bright);
  --aurora-light: var(--sky);
  --border: var(--border-light);
  --border-glow: var(--border-blue);
  --text-soft: var(--text-muted);
  --surface: var(--bg-light);

  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  --t: 0.25s ease;
  --t-slow: 0.5s ease;
  --max-w: 1160px;
}

/* ══════════════════════════════════════════
   TECHNISCHE HINTERGRUNDMUSTER
══════════════════════════════════════════ */

/* Dot-Grid: feine Punkte an Rasterpositionen */
.bg-dots {
  background-color: var(--bg-white);
  background-image: radial-gradient(circle, rgba(2,41,116,.07) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
}

/* Blueprint-Grid: feine Rasterlinien wie Millimeterpapier */
.bg-grid {
  background-color: var(--bg-light);
  background-image:
    linear-gradient(rgba(2,41,116,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2,41,116,.05) 1px, transparent 1px),
    radial-gradient(circle, rgba(35,132,237,.10) 1.5px, transparent 1.5px);
  background-size: 36px 36px, 36px 36px, 36px 36px;
}

/* Circuit-Trace: Grid + akzentuierte Knoten (wie Platine) */
.bg-circuit {
  background-color: var(--bg-white);
  background-image:
    linear-gradient(rgba(2,41,116,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2,41,116,.04) 1px, transparent 1px),
    radial-gradient(circle, rgba(35,132,237,.12) 2px, transparent 2px);
  background-size: 48px 48px, 48px 48px, 48px 48px;
  background-position: 0 0, 0 0, 24px 24px;
}

/* Diagonallinien: subtile 45°-Streifen */
.bg-diagonal {
  background-color: var(--bg-light);
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 20px,
    rgba(2,41,116,.03) 20px,
    rgba(2,41,116,.03) 21px
  );
}

/* Hex-Gitter via SVG-Data-URI */
.bg-hex {
  background-color: var(--bg-white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 66L0 50V18L28 2l28 16v32L28 66zM28 98L0 82V50l28-16 28 16v32L28 98z' fill='none' stroke='rgba(2%2C41%2C116%2C0.05)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 56px 100px;
}

/* Akzentlinie oben an Sections */
.section-accent::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--bright) 30%, var(--sky) 70%, transparent 100%);
  opacity: 0.6;
}
.section-accent { position: relative; }

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: 70px; }
body {
  font-family: var(--font);
  background: var(--bg-white);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }

/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--border-light);
  transition: background var(--t), box-shadow var(--t);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 4px 24px rgba(2,41,116,.12);
  border-bottom-color: var(--border-mid);
}
.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }

.navbar-logo { display: flex; align-items: center; gap: 12px; }
.navbar-logo img { width: 42px; height: 42px; object-fit: cover; border-radius: 50%; background: transparent; }
.navbar-logo-text {
  font-size: 16px; font-weight: 800;
  color: var(--navy); letter-spacing: 0.4px;
}

.navbar-links { display: flex; align-items: center; gap: 2px; }
.navbar-links a {
  padding: 8px 16px; border-radius: var(--r-sm);
  font-size: 14px; font-weight: 500; color: var(--text-body);
  transition: all var(--t);
}
.navbar-links a:hover,
.navbar-links a.active {
  color: var(--royal);
  background: var(--bg-ice);
}

.navbar-cta { margin-left: 12px; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; border-radius: var(--r-sm); }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: var(--t); }

.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(1,68,157,0.97); backdrop-filter: blur(12px);
  flex-direction: column; align-items: center; justify-content: center; gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 24px; font-weight: 700; color: var(--text-white); padding: 12px 32px; border-radius: var(--r-md); transition: background var(--t); }
.mobile-menu a:hover { background: var(--glass-white); }
.mobile-menu .close-btn { position: absolute; top: 24px; right: 28px; background: none; border: none; color: rgba(255,255,255,.7); font-size: 32px; cursor: pointer; }
.mobile-menu .m-cta { margin-top: 16px; }

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: var(--r-sm);
  font-family: var(--font); font-size: 14px; font-weight: 600;
  cursor: pointer; border: 1.5px solid transparent;
  transition: all var(--t); white-space: nowrap; text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--royal), var(--bright));
  color: var(--text-white);
  border-color: rgba(35,132,237,.3);
  box-shadow: 0 4px 18px rgba(35,132,237,.30);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--cobalt), var(--sky));
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(35,132,237,.45);
}
.btn-outline {
  background: transparent;
  color: var(--royal);
  border-color: var(--royal);
}
.btn-outline:hover {
  background: var(--bg-ice);
  border-color: var(--bright);
  color: var(--navy);
  transform: translateY(-2px);
}
.btn-outline-light {
  background: transparent;
  color: var(--text-white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline-light:hover {
  background: var(--glass-white);
  border-color: var(--text-white);
  transform: translateY(-2px);
}
.btn-ghost {
  background: rgba(2,41,116,.07);
  color: var(--navy);
  border-color: var(--border-mid);
}
.btn-ghost:hover {
  background: var(--bg-ice);
  border-color: var(--bright);
  color: var(--royal);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--text-white);
  color: var(--navy);
  border-color: var(--text-white);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--ice-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
}
.btn-lg  { padding: 15px 32px; font-size: 15px; border-radius: var(--r-md); }
.btn-xl  { padding: 18px 40px; font-size: 16px; border-radius: var(--r-md); }
.w-full  { width: 100%; justify-content: center; }

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, var(--royal) 55%, var(--cobalt) 100%);
  display: flex; align-items: center;
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-orb {
  position: absolute; border-radius: 50%;
  pointer-events: none; filter: blur(80px);
}
.hero-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(35,132,237,0.45) 0%, transparent 70%);
  top: -100px; left: -80px;
  animation: orbFloat 12s ease-in-out infinite;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(90,171,255,0.30) 0%, transparent 70%);
  bottom: -80px; right: -60px;
  animation: orbFloat 16s ease-in-out infinite reverse;
}
.hero-orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.10) 0%, transparent 70%);
  top: 40%; left: 55%;
  animation: orbFloat 10s ease-in-out infinite 3s;
}

@keyframes orbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(30px,-20px) scale(1.05); }
  66%      { transform: translate(-20px,15px) scale(0.97); }
}

.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

#hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; position: relative; z-index: 2; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.5px;
  color: var(--ice); background: rgba(255,255,255,.12);
  padding: 8px 16px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,.2);
  margin-bottom: 28px;
}
.pulse {
  width: 8px; height: 8px; background: #4ade80;
  border-radius: 50%; display: inline-block;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(74,222,128,.5);
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(74,222,128,.5); }
  50%      { box-shadow: 0 0 0 6px rgba(74,222,128,0); }
}

.hero-left h1 {
  font-size: clamp(36px,5vw,60px); font-weight: 900;
  line-height: 1.08; letter-spacing: -2px; color: var(--text-white);
  margin-bottom: 24px;
}
.hero-left h1 .grad {
  background: linear-gradient(90deg, var(--sky), var(--ice));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 17px; color: var(--text-soft-w); line-height: 1.75;
  margin-bottom: 40px; max-width: 480px;
}
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-actions .btn { width: 280px; justify-content: center; }

.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stat { text-align: left; }
.hero-stat-num {
  font-size: 28px; font-weight: 900; color: var(--text-white);
  letter-spacing: -1px; line-height: 1;
}
.hero-stat-label { font-size: 12px; color: var(--text-muted-w); font-weight: 500; margin-top: 4px; }

.hero-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.hero-logo-wrap {
  width: 360px; height: 360px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  box-shadow: 0 28px 90px rgba(2,41,116,.6);
  animation: logoFloat 6s ease-in-out infinite;
  background: radial-gradient(circle at 40% 35%, var(--cobalt) 0%, var(--navy) 100%);
}
.hero-logo-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.28);
  transform-origin: center 40%;
}
@keyframes logoFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

.float-card {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.25);
  padding: 12px 16px; border-radius: var(--r-md);
  color: var(--text-white); font-size: 13px; font-weight: 600;
  box-shadow: 0 8px 24px rgba(2,41,116,.25);
  animation: floatCard 5s ease-in-out infinite;
  flex: 1; min-width: 150px;
}
.float-card-1 { animation-delay: 0s; }
.float-card-2 { animation-delay: 1.5s; }
.float-card-3 { animation-delay: 0.8s; }
.float-card-4 { animation-delay: 2.2s; }
.hero-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 100%;
  max-width: 420px;
}
.fc-icon { font-size: 22px; }
.fc-icon-box {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--royal), var(--bright));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.fc-icon-box svg {
  width: 20px; height: 20px;
  stroke: white; fill: none;
  stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}
@keyframes floatCard {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* ═══════════════════════════════════════════
   FEATURE STRIP
═══════════════════════════════════════════ */
.strip {
  background: var(--bg-light);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 28px 0;
}
.strip-inner {
  display: flex; justify-content: space-around;
  align-items: center; flex-wrap: wrap; gap: 20px;
}
.strip-item {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 4px; padding: 8px 24px;
  border-right: 1px solid var(--border-light);
  flex: 1; min-width: 160px;
}
.strip-item:last-child { border-right: none; }
.strip-icon { font-size: 22px; margin-bottom: 4px; display: flex; align-items: center; justify-content: center; }
.strip-icon svg {
  width: 24px; height: 24px;
  stroke: var(--royal); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.strip-num  { font-size: 22px; font-weight: 900; color: var(--royal); letter-spacing: -0.5px; }
.strip-label { font-size: 13px; font-weight: 700; color: var(--text-dark); }
.strip-desc  { font-size: 11px; color: var(--text-muted); }

/* ═══════════════════════════════════════════
   SECTIONS
═══════════════════════════════════════════ */
.section { padding: 100px 0; }
.section-sm { padding: 64px 0; }

.section-white  { background: var(--bg-white); }
.section-light  { background: var(--bg-light); }
.section-ice    { background: var(--bg-ice); }
.section-navy   { background: var(--bg-navy); }
.section-royal  { background: var(--bg-royal); }
.section-gray   { background: var(--bg-light); }
.section-1      { background: var(--bg-white); }
.section-2      { background: var(--bg-light); }
.section-3      { background: var(--bg-ice); }
.section-4      { background: var(--bg-navy); }
.section-dark   { background: var(--bg-royal); }
.section-deeper { background: var(--bg-navy); }

.section-label {
  display: inline-block; font-size: 12px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--bright); background: rgba(35,132,237,.1);
  padding: 5px 14px; border-radius: 100px;
  border: 1px solid rgba(35,132,237,.2);
  margin-bottom: 16px;
}
.section-label.light {
  color: var(--ice); background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.2);
}

.section-title { font-size: clamp(28px,4vw,44px); font-weight: 900; letter-spacing:-1px; line-height:1.15; color: var(--navy); }
.section-title.light { color: var(--text-white); }
.section-sub { font-size:17px; color: var(--text-muted); line-height:1.7; margin-top:14px; max-width:560px; }
.section-sub.light { color: var(--text-soft-w); }
.section-head { margin-bottom:60px; }
.section-head.center { text-align:center; }
.section-head.center .section-sub { margin: 14px auto 0; }

/* ═══════════════════════════════════════════
   REVEAL ANIMATIONS
═══════════════════════════════════════════ */
.reveal { opacity:0; transform:translateY(28px); transition:opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity:1; transform:none; }
.reveal-left { opacity:0; transform:translateX(-32px); transition:opacity .65s ease, transform .65s ease; }
.reveal-left.visible { opacity:1; transform:none; }
.reveal-right { opacity:0; transform:translateX(32px); transition:opacity .65s ease, transform .65s ease; }
.reveal-right.visible { opacity:1; transform:none; }
.stagger { opacity:0; transform:translateY(24px); transition:opacity .55s ease, transform .55s ease; }
.stagger.visible { opacity:1; transform:none; }
.stagger.visible > * { animation: staggerIn .5s ease both; }
.stagger.visible > *:nth-child(1) { animation-delay:.05s; }
.stagger.visible > *:nth-child(2) { animation-delay:.12s; }
.stagger.visible > *:nth-child(3) { animation-delay:.19s; }
.stagger.visible > *:nth-child(4) { animation-delay:.26s; }
.stagger.visible > *:nth-child(5) { animation-delay:.33s; }
.stagger.visible > *:nth-child(6) { animation-delay:.40s; }
@keyframes staggerIn { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:none; } }

/* ═══════════════════════════════════════════
   LEISTUNGEN / SERVICES
═══════════════════════════════════════════ */
.services-tabs {
  display: flex; gap: 8px; margin-bottom: 48px; flex-wrap: wrap;
}
.tab-btn {
  padding: 10px 22px; border-radius: var(--r-md);
  font-size: 14px; font-weight: 600;
  background: var(--bg-ice); color: var(--text-body);
  border: 1.5px solid var(--border-light);
  cursor: pointer; transition: all var(--t);
}
.tab-btn:hover { border-color: var(--bright); color: var(--royal); }
.tab-btn.active {
  background: linear-gradient(135deg, var(--royal), var(--bright));
  color: var(--text-white); border-color: transparent;
  box-shadow: var(--shadow-blue);
}

.service-panel { display: none; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.service-panel.active { display: grid; }

.service-text h3 { font-size: 28px; font-weight: 800; color: var(--navy); margin-bottom: 14px; }
.service-text p  { color: var(--text-muted); margin-bottom: 28px; line-height:1.7; }

.check-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.check-item { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--text-body); font-weight:500; }
.check-icon {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--royal), var(--bright));
  display: flex; align-items: center; justify-content: center;
}
.check-icon svg { width: 13px; height: 13px; stroke: white; fill: none; stroke-width: 2.5; }

.service-visual {
  background: linear-gradient(135deg, var(--navy) 0%, var(--royal) 100%);
  border-radius: var(--r-xl); padding: 40px;
  color: var(--text-white);
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.service-visual::after {
  content: '';
  position: absolute; bottom: -20px; right: -20px;
  width: 180px; height: 180px;
  background-image: radial-gradient(circle, rgba(90,171,255,0.35) 1.4px, transparent 1.4px);
  background-size: 14px 14px;
  border-radius: 50%;
}
.service-visual-icon { font-size: 48px; margin-bottom: 16px; }
.service-visual-content h4 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.service-visual-content p  { font-size: 14px; color: var(--text-soft-w); margin-bottom: 24px; }

.service-cards-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mini-card {
  background: rgba(255,255,255,.10); border-radius: var(--r-md);
  padding: 14px; border: 1px solid rgba(255,255,255,.15);
  transition: background var(--t);
}
.mini-card:hover { background: rgba(255,255,255,.17); }
.mc-icon  { font-size: 22px; margin-bottom: 6px; }
.mc-label { font-size: 13px; font-weight: 700; color: var(--text-white); }
.mc-sub   { font-size: 11px; color: var(--text-muted-w); }

/* ═══════════════════════════════════════════
   USP FEATURES GRID
═══════════════════════════════════════════ */
.features-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
}
.feature-card {
  background: var(--bg-white); border-radius: var(--r-lg);
  padding: 36px 28px; border: 1px solid var(--border-light);
  transition: all var(--t);
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--royal), var(--bright));
  opacity: 0; transition: opacity var(--t);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-blue);
}
.feature-card:hover::before { opacity: 1; }

.f-icon-wrap {
  width: 56px; height: 56px; border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--royal), var(--bright));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.f-icon-wrap svg {
  width: 28px; height: 28px;
  stroke: white; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.f-icon  { font-size: 26px; }
.f-num   { font-size: 28px; font-weight: 900; color: var(--royal); letter-spacing: -1px; margin-bottom: 6px; }
.f-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.f-text  { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ═══════════════════════════════════════════
   FERNWARTUNG
═══════════════════════════════════════════ */
.remote-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--royal) 60%, var(--cobalt) 100%);
  position: relative; overflow: hidden;
}
.remote-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.remote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }

.remote-steps { display: flex; flex-direction: column; gap: 20px; }
.step-item { display: flex; gap: 16px; align-items: flex-start; }
.step-num {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,255,255,.15); border: 1.5px solid rgba(255,255,255,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800; color: var(--text-white);
}
.step-content { display: flex; flex-direction: column; gap: 4px; padding-top: 6px; }
.step-content strong { font-size: 15px; color: var(--text-white); font-weight: 700; }
.step-content span   { font-size: 13px; color: var(--text-muted-w); line-height: 1.6; }

.remote-visual {
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--r-xl); padding: 36px;
  color: var(--text-white);
}
.remote-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 8px; }
.rf-item {
  background: rgba(255,255,255,.08); border-radius: var(--r-md);
  padding: 14px; border: 1px solid rgba(255,255,255,.12);
  transition: background var(--t);
}
.rf-item:hover { background: rgba(255,255,255,.15); }
.rfi-icon  { font-size: 22px; margin-bottom: 6px; }
.rfi-label { font-size: 13px; font-weight: 700; color: var(--text-white); }
.rfi-sub   { font-size: 11px; color: var(--text-muted-w); }

/* ═══════════════════════════════════════════
   ÜBER UNS
═══════════════════════════════════════════ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.about-text h2 { font-size: 36px; font-weight: 900; color: var(--navy); margin-bottom: 20px; letter-spacing:-0.5px; }
.about-text p  { color: var(--text-muted); margin-bottom: 18px; line-height:1.75; }
.about-text strong { color: var(--navy); }

.about-sig { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--border-light); }
.about-avatar { font-size: 42px; }
.about-sig-text { display: flex; flex-direction: column; gap: 3px; }
.about-sig-text strong { font-size: 16px; color: var(--navy); font-weight: 700; }
.about-sig-text span   { font-size: 13px; color: var(--text-muted); }

.about-card-stack { display: flex; flex-direction: column; gap: 16px; }
.about-card-main {
  background: linear-gradient(135deg, var(--navy), var(--royal));
  border-radius: var(--r-xl); padding: 36px;
  color: var(--text-white);
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 28px;
}
.about-card-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; color: var(--ice);
  background: rgba(255,255,255,.10); padding: 5px 12px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,.2);
}
.about-card-main h3 { font-size: 22px; font-weight: 800; }
.about-card-main p  { font-size: 14px; color: var(--text-soft-w); }

.about-stats-row { display: flex; gap: 8px; }
.about-stat-box {
  flex: 1; background: rgba(255,255,255,.10);
  border-radius: var(--r-md); padding: 16px 12px; text-align: center;
  border: 1px solid rgba(255,255,255,.12);
}
.about-stat-box .num { font-size: 24px; font-weight: 900; color: var(--text-white); }
.about-stat-box .lbl { font-size: 11px; color: var(--text-muted-w); }

.about-info-cards { display: flex; gap: 12px; }
.info-pill {
  flex: 1; display: flex; align-items: center; gap: 10px;
  background: var(--bg-light); border-radius: var(--r-md);
  padding: 14px 16px; border: 1px solid var(--border-light);
  font-size: 14px; font-weight: 600; color: var(--navy);
  text-decoration: none;
  transition: all var(--t);
}
a.info-pill:hover {
  background: var(--ice);
  border-color: var(--border-blue);
  color: var(--royal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.info-pill:hover { background: var(--bg-ice); border-color: var(--border-blue); }
.pip-icon { font-size: 18px; }

/* ═══════════════════════════════════════════
   PREISE
═══════════════════════════════════════════ */
.pricing-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 32px; max-width: 780px; margin: 0 auto; }

.price-card {
  background: var(--bg-white); border-radius: var(--r-xl);
  padding: 36px 28px;
  border: 1.5px solid var(--border-light);
  transition: all var(--t); position: relative;
  display: flex; flex-direction: column;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border-blue); }

.price-card.featured {
  background: linear-gradient(135deg, var(--navy), var(--royal));
  color: var(--text-white); border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: scale(1.04);
}
.price-card.featured:hover { transform: scale(1.04) translateY(-4px); }

.featured-ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--bright), var(--sky));
  color: var(--text-white); font-size: 12px; font-weight: 700;
  padding: 5px 16px; border-radius: 100px;
  box-shadow: 0 4px 12px rgba(35,132,237,.4);
}

.p-type   { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--bright); margin-bottom: 8px; }
.featured .p-type { color: var(--sky); }
.p-name   { font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.featured .p-name { color: var(--text-white); }
.p-desc   { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; line-height: 1.6; }
.featured .p-desc { color: var(--text-soft-w); }
.p-amount { font-size: 32px; font-weight: 900; color: var(--navy); letter-spacing: -1px; margin-bottom: 4px; }
.featured .p-amount { color: var(--text-white); }
.p-note   { font-size: 13px; color: var(--text-faint); margin-bottom: 24px; }
.featured .p-note { color: var(--text-muted-w); }

.p-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; flex: 1; }
.p-feature  { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-body); }
.featured .p-feature { color: var(--text-soft-w); }
.p-feature-icon {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  background: var(--bg-ice); color: var(--royal);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800;
}
.featured .p-feature-icon { background: rgba(255,255,255,.15); color: var(--ice); }

/* ═══════════════════════════════════════════
   KONTAKT
═══════════════════════════════════════════ */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: start; }

.contact-left h2 { font-size: 36px; font-weight: 900; color: var(--navy); margin-bottom: 14px; letter-spacing:-0.5px; }
.contact-left > p { color: var(--text-muted); margin-bottom: 36px; line-height: 1.7; }

.contact-items { display: flex; flex-direction: column; gap: 16px; }
.c-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px; border-radius: var(--r-md);
  background: var(--bg-light); border: 1px solid var(--border-light);
  transition: all var(--t);
}
.c-item:hover { background: var(--bg-ice); border-color: var(--border-blue); }
.c-icon { font-size: 22px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: var(--r-sm); background: var(--bg-ice); }
.c-text { display: flex; flex-direction: column; gap: 4px; }
.c-text strong { font-size: 14px; font-weight: 700; color: var(--navy); }
.c-text a, .c-text span { font-size: 14px; color: var(--text-muted); transition: color var(--t); }
.c-text a:hover { color: var(--royal); }

.contact-form {
  background: var(--bg-white); border-radius: var(--r-xl);
  padding: 40px; border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}
.contact-form h3 { font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.form-subtitle { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--text-body); margin-bottom: 6px; }
.form-control {
  width: 100%; padding: 12px 14px;
  background: var(--bg-light); border: 1.5px solid var(--border-light);
  border-radius: var(--r-sm); font-family: var(--font); font-size: 14px;
  color: var(--text-body); outline: none;
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
}
.form-control::placeholder { color: var(--text-faint); }
.form-control:focus {
  border-color: var(--bright); background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(35,132,237,.15);
}
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control option { background: var(--bg-white); color: var(--text-body); }

.form-note { font-size: 12px; color: var(--text-faint); text-align: center; margin-top: 14px; }

/* Notfall-Box */
.notfall-box {
  margin-top: 32px;
  background: linear-gradient(135deg, var(--navy), var(--royal));
  border-radius: var(--r-lg); padding: 24px 28px;
  color: var(--text-white);
}
.notfall-box-title {
  font-size: 16px; font-weight: 800; margin-bottom: 8px;
}
.notfall-box p {
  font-size: 14px; color: var(--text-soft-w);
  margin-bottom: 16px; line-height: 1.6;
}

/* Spam-Captcha */
.captcha-row {
  display: flex; align-items: center; gap: 10px;
}
.captcha-row .form-control {
  max-width: 120px;
}
.captcha-question {
  font-size: 14px; font-weight: 600; color: var(--text-body);
  white-space: nowrap;
}
.honeypot-wrap {
  display: none !important;
  position: absolute; left: -9999px;
  opacity: 0; pointer-events: none;
}


/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
  background: var(--navy);
  color: var(--text-soft-w);
  padding: 64px 0 28px;
}
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo img { width: 44px; height: 44px; object-fit: contain; }
.footer-logo-text { font-size: 16px; font-weight: 800; color: var(--text-white); }
.footer-tagline { font-size: 14px; color: var(--text-muted-w); line-height: 1.6; }

.footer-col h4 { font-size: 13px; font-weight: 700; color: var(--text-white); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 14px; color: var(--text-muted-w); transition: color var(--t); }
.footer-col ul a:hover { color: var(--text-white); }

.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 14px; text-decoration: none; color: inherit; }
a.footer-contact-item:hover { color: var(--sky); }
a.footer-contact-item:hover .fci { transform: scale(1.15); }
.fci { font-size: 16px; margin-top: 1px; }
.footer-contact-item a { color: var(--text-muted-w); transition: color var(--t); }
.footer-contact-item a:hover { color: var(--text-white); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.10);
  font-size: 13px; color: var(--text-muted-w); flex-wrap: wrap; gap: 12px;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: var(--text-muted-w); transition: color var(--t); }
.footer-bottom-links a:hover { color: var(--text-white); }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 960px) {
  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .dl-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-right { display: none; }
  .service-panel.active { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .remote-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
  .price-card.featured { transform: scale(1); }
  .price-card.featured:hover { transform: translateY(-4px); }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  /* ── Dienstleistungen: Karussell auf Handy ── */
  .dl-panel { overflow: hidden; }
  .dl-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 14px;
    padding: 4px 2px 8px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    grid-template-columns: unset;
  }
  .dl-grid::-webkit-scrollbar { display: none; }
  .dl-card {
    flex: 0 0 82%;
    scroll-snap-align: start;
    min-width: 0;
  }
  .navbar-links { display: none; }
  .navbar-cta   { display: none; }
  .hamburger    { display: flex; }
  .hero { padding: 80px 0 60px; }
  .hero-left h1 { font-size: 36px; }
  .hero-actions .btn { width: 100%; text-align: center; justify-content: center; }
  .hero-stats { gap: 8px; flex-wrap: nowrap; }
  .hero-stat  { flex: 1; text-align: center; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18); border-radius: 10px; padding: 10px 4px; }
  .strip-inner { flex-direction: column; }
  .strip-item  { border-right: none; border-bottom: 1px solid var(--border-light); width: 100%; }
  .strip-item:last-child { border-bottom: none; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .about-info-cards { flex-direction: column; }
  .service-cards-mini { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   SECTION-HINTERGRUENDE: DOT-GRID + BLAU ALTERNIEREND
   Reihenfolge: Hell · Blau · Hell · Blau · Hell · Hell
═══════════════════════════════════════════ */

/* ── 1. LEISTUNGEN — Hell, feines Dot-Grid ── */
#leistungen {
  position: relative;
  background-color: var(--bg-white);
  background-image: radial-gradient(circle, rgba(2,41,116,.07) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
}

/* ── 2. USP — Blau (Royal → Cobalt) + Logo-Punkte (Konzentrationseffekt) ── */
#usp {
  position: relative;
  background-image:
    radial-gradient(ellipse 80% 70% at 38% 45%, rgba(255,255,255,.22) 0%, rgba(255,255,255,.04) 65%, transparent 100%),
    radial-gradient(circle, rgba(255,255,255,.14) 1.5px, transparent 1.5px),
    linear-gradient(135deg, var(--royal) 0%, var(--cobalt) 100%);
  background-size: 100% 100%, 24px 24px, 100% 100%;
}
/* Text-Overrides für blaue USP-Section */
#usp .section-label {
  color: var(--ice); background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.22);
}
#usp .section-title { color: var(--text-white); }
#usp .section-sub   { color: var(--text-soft-w); }
/* Feature-Cards als Glas-Karten */
#usp .feature-card {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
}
#usp .feature-card:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.35);
  box-shadow: 0 12px 40px rgba(0,0,0,.20);
}
#usp .feature-card::before { opacity: 0 !important; }
#usp .f-icon-wrap { background: rgba(255,255,255,.12); }
#usp .f-num   { color: var(--sky); }
#usp .f-title { color: var(--text-white); }
#usp .f-text  { color: var(--text-soft-w); }

/* ── 3. ÜBER UNS — Hell, feines Dot-Grid ── */
#ueber-uns {
  position: relative;
  background-color: var(--bg-white);
  background-image: radial-gradient(circle, rgba(2,41,116,.07) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
}

/* ── 4. PREISE — Blau (Navy → Royal) + Logo-Punkte (Konzentrationseffekt) ── */
#preise {
  position: relative;
  background-image:
    radial-gradient(ellipse 75% 65% at 50% 45%, rgba(255,255,255,.24) 0%, rgba(255,255,255,.05) 60%, transparent 100%),
    radial-gradient(circle, rgba(255,255,255,.13) 1.5px, transparent 1.5px),
    linear-gradient(135deg, var(--navy) 0%, var(--royal) 100%);
  background-size: 100% 100%, 24px 24px, 100% 100%;
}
/* Text-Overrides Preise */
#preise .section-label {
  color: var(--ice); background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.22);
}
#preise .section-title { color: var(--text-white); }
#preise .section-sub   { color: var(--text-soft-w); }
#preise p[style]       { color: var(--text-soft-w) !important; }
/* Preis-Karten als Glas */
#preise .price-card {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
}
#preise .price-card:hover {
  background: rgba(255,255,255,.17);
  border-color: rgba(255,255,255,.35);
  box-shadow: 0 12px 40px rgba(0,0,0,.22);
}
#preise .p-type   { color: var(--sky); }
#preise .p-name   { color: var(--text-white); }
#preise .p-desc   { color: var(--text-soft-w); }
#preise .p-amount { color: var(--text-white); }
#preise .p-note   { color: rgba(255,255,255,.55); }
#preise .p-feature        { color: var(--text-soft-w); }
#preise .p-feature-icon   { background: rgba(255,255,255,.15); color: var(--sky); }
/* Featured-Karte: heller abheben */
#preise .price-card.featured {
  background: rgba(255,255,255,.20);
  border-color: rgba(255,255,255,.40);
  box-shadow: 0 16px 48px rgba(0,0,0,.28);
}
#preise .price-card.featured:hover {
  background: rgba(255,255,255,.26);
}
#preise .btn-white {
  background: var(--text-white); color: var(--navy);
}
#preise .btn-outline {
  background: transparent; color: var(--text-white);
  border-color: rgba(255,255,255,.5);
}
#preise .btn-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--text-white);
}

/* ── 5. FAQ — Weiss, feines Dot-Grid ── */
#faq {
  position: relative;
  background-color: var(--bg-white);
  background-image: radial-gradient(circle, rgba(2,41,116,.07) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
}

/* ── 6. KONTAKT — Hell, feines Dot-Grid ── */
#kontakt {
  position: relative;
  background-color: var(--bg-white);
  background-image: radial-gradient(circle, rgba(2,41,116,.07) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
}

/* ── Strip — dezente Dot-Trennlinie ── */
.strip {
  background-color: var(--bg-white);
  background-image: radial-gradient(circle, rgba(2,41,116,.05) 1px, transparent 1px);
  background-size: 20px 20px;
}


/* ═══════════════════════════════════════════
   DIENSTLEISTUNGEN
═══════════════════════════════════════════ */
#dienstleistungen {
  position: relative;
  background-color: var(--bg-white);
  background-image: radial-gradient(circle, rgba(2,41,116,.07) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
}

.dl-tabs {
  display: flex; gap: 8px; margin-bottom: 48px; flex-wrap: wrap;
}
.dl-tab-btn {
  padding: 12px 28px; border-radius: var(--r-md);
  font-size: 15px; font-weight: 600;
  background: var(--bg-ice); color: var(--text-body);
  border: 1.5px solid var(--border-light);
  cursor: pointer; transition: all var(--t);
  display: inline-flex; align-items: center; gap: 8px;
}
.dl-tab-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dl-tab-btn:hover { border-color: var(--bright); color: var(--royal); }
.dl-tab-btn.active {
  background: linear-gradient(135deg, var(--royal), var(--bright));
  color: var(--text-white); border-color: transparent;
  box-shadow: var(--shadow-blue);
}
.dl-panel { display: none; }
.dl-panel.active { display: block; }

.dl-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.dl-card {
  background: var(--ice-2);
  border-radius: var(--r-lg);
  padding: 24px 20px;
  border: 1px solid rgba(35,132,237,0.15);
  display: flex; flex-direction: column; gap: 12px;
  position: relative; overflow: hidden;
  transition: transform 0.30s cubic-bezier(0.34,1.15,0.64,1),
              box-shadow 0.30s ease,
              border-color 0.25s ease,
              background 0.30s ease;
}
.dl-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--royal), var(--bright), var(--sky));
  opacity: 0;
  transition: opacity 0.25s ease;
}
.dl-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(2,41,116,0.16), 0 0 0 1px rgba(35,132,237,0.22);
  border-color: rgba(35,132,237,0.30);
  background: #ffffff;
}
.dl-card:hover::before { opacity: 1; }

.dl-icon-box {
  width: 46px; height: 46px;
  background: #ffffff;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(2,41,116,0.12);
  transition: transform 0.30s cubic-bezier(0.34,1.15,0.64,1),
              box-shadow 0.30s ease,
              background 0.25s ease;
}
.dl-icon-box svg {
  width: 22px; height: 22px;
  stroke: var(--royal); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: stroke 0.25s ease;
}
/* Hover: Icon-Box aktiviert sich — Gradient-Hintergrund, weisse Icons */
.dl-card:hover .dl-icon-box {
  background: linear-gradient(135deg, var(--royal), var(--bright));
  box-shadow: 0 8px 24px rgba(35,132,237,0.40);
  transform: scale(1.10) translateY(-2px);
}
.dl-card:hover .dl-icon-box svg {
  stroke: #ffffff;
}
.dl-card-title {
  font-size: 14px; font-weight: 700;
  color: var(--navy); line-height: 1.3;
}
.dl-card-desc {
  font-size: 13px; color: var(--text-muted); line-height: 1.6;
}

/* ═══════════════════════════════════════════
   ANYDESK FOOTER BUTTON
═══════════════════════════════════════════ */
.anydesk-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #EF1E25;
  color: white !important; font-size: 13px; font-weight: 700;
  padding: 10px 16px; border-radius: var(--r-md);
  border: 1.5px solid rgba(239,30,37,.3);
  box-shadow: 0 4px 14px rgba(239,30,37,.30);
  transition: all var(--t); margin-top: 10px;
  text-decoration: none;
  width: fit-content;
  white-space: nowrap;
}
.anydesk-btn:hover {
  background: #c8181e !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(239,108,0,.50);
  color: white !important;
}
.anydesk-btn svg {
  width: 16px; height: 16px; stroke: white; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   FAQ ACCORDION
═══════════════════════════════════════════ */
.faq-list {
  max-width: 820px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 10px;
}
.faq-item {
  border-radius: var(--r-md);
  border: 1.5px solid var(--border-light);
  background: var(--bg-white);
  overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t);
}
.faq-item.open {
  border-color: var(--border-blue);
  box-shadow: 0 4px 20px rgba(35,132,237,.12);
}
.faq-q {
  width: 100%; text-align: left;
  padding: 18px 22px;
  background: none; border: none;
  font-family: var(--font); font-size: 15px; font-weight: 600;
  color: var(--navy); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transition: color var(--t);
}
.faq-q:hover { color: var(--royal); }
.faq-toggle {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  background: var(--bg-ice);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 300; color: var(--bright);
  transition: background var(--t), transform var(--t), color var(--t);
  line-height: 1;
}
.faq-item.open .faq-toggle {
  background: var(--bright); color: white;
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.38s ease;
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner {
  padding: 14px 22px 20px;
  font-size: 14px; color: var(--text-muted);
  line-height: 1.8; border-top: 1px solid var(--border-light);
}
.faq-a-inner strong { color: var(--navy); }

/* ═══════════════════════════════════════════
   WHATSAPP FLOATING BUTTON
═══════════════════════════════════════════ */
.whatsapp-fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 1000;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.50), 0 2px 8px rgba(0,0,0,.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
.whatsapp-fab:hover {
  transform: scale(1.10) translateY(-3px);
  box-shadow: 0 8px 32px rgba(37,211,102,.60), 0 4px 12px rgba(0,0,0,.18);
}
.whatsapp-fab svg { display: block; }
/* Tooltip */
.whatsapp-fab::before {
  content: 'WhatsApp';
  position: absolute; right: 66px; top: 50%; transform: translateY(-50%);
  background: var(--navy); color: white;
  font-family: var(--font); font-size: 12px; font-weight: 600;
  padding: 5px 10px; border-radius: 6px; white-space: nowrap;
  opacity: 0; transition: opacity 0.2s ease; pointer-events: none;
}
.whatsapp-fab:hover::before { opacity: 1; }

/* ═══════════════════════════════════════════
   DIENSTLEISTUNGEN — FIRMENKUNDEN PREMIUM
═══════════════════════════════════════════ */
#dlpanel-firmen .dl-grid {
  position: relative;
}

/* Premium Dark Card */
#dlpanel-firmen .dl-card {
  background: #ffffff;
  border-color: rgba(2,41,116,.18);
  box-shadow: 0 6px 28px rgba(2,41,116,.13);
  transition: transform 0.30s cubic-bezier(0.34,1.15,0.64,1),
              box-shadow 0.30s ease,
              border-color 0.25s ease,
              background 0.35s ease;
}
/* Akzentlinie oben: immer sichtbar, auf Hover voll leuchtend */
#dlpanel-firmen .dl-card::before {
  background: linear-gradient(90deg, var(--navy), var(--royal), var(--bright));
  opacity: 0.45;
  transition: opacity 0.25s ease;
}
#dlpanel-firmen .dl-card:hover {
  background: linear-gradient(135deg, var(--navy) 0%, var(--royal) 100%);
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 24px 64px rgba(2,41,116,.35), 0 0 0 1px rgba(2,41,116,.20);
  transform: translateY(-8px);
}
#dlpanel-firmen .dl-card:hover::before { opacity: 1; }

/* Icon box: blauer Gradient im Standard → premium look */
#dlpanel-firmen .dl-icon-box {
  background: linear-gradient(135deg, var(--navy), var(--royal));
  box-shadow: 0 4px 14px rgba(2,41,116,.30);
  transition: transform 0.30s cubic-bezier(0.34,1.15,0.64,1),
              box-shadow 0.30s ease,
              background 0.25s ease;
}
#dlpanel-firmen .dl-icon-box svg {
  stroke: #ffffff;
  transition: stroke 0.25s ease;
}
/* Hover: Icon-Box halbtransparent weiss auf dunklem BG */
#dlpanel-firmen .dl-card:hover .dl-icon-box {
  background: rgba(255,255,255,.22);
  box-shadow: 0 4px 16px rgba(255,255,255,.15);
  transform: scale(1.10) translateY(-2px);
}
#dlpanel-firmen .dl-card:hover .dl-icon-box svg {
  stroke: #ffffff;
}

/* Text: dunkel im Standard, weiss auf Hover-BG */
#dlpanel-firmen .dl-card-title {
  color: var(--navy);
  font-size: 14px;
  transition: color 0.25s ease;
}
#dlpanel-firmen .dl-card:hover .dl-card-title {
  color: #ffffff;
}
#dlpanel-firmen .dl-card-desc {
  color: var(--text-body);
  transition: color 0.25s ease;
}
#dlpanel-firmen .dl-card:hover .dl-card-desc {
  color: rgba(255,255,255,.82);
}
/* ═══════════════════════════════════════════
   MOBILE BOTTOM ACTION BAR
═══════════════════════════════════════════ */
.mobile-bottom-bar {
  display: none;
}

@media (max-width: 640px) {
  /* Platz für die Bar am Seitenende schaffen */
  body { padding-bottom: 72px; }

  .whatsapp-fab { display: none; }

  .mobile-bottom-bar {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 999;
    height: 64px;
    background: rgba(2, 20, 60, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 -4px 24px rgba(2,41,116,0.25);
    padding: 8px 10px;
    gap: 8px;
  }

  .mbb-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-decoration: none;
    transition: transform 0.15s ease, opacity 0.15s ease;
  }
  .mbb-btn:active { transform: scale(0.93); opacity: 0.85; }

  .mbb-btn svg {
    width: 20px; height: 20px;
    fill: currentColor;
    stroke: none;
  }

  /* Anrufen: CI-Blau */
  .mbb-call {
    background: linear-gradient(135deg, var(--royal), var(--bright));
    color: #ffffff;
    box-shadow: 0 2px 12px rgba(35,132,237,0.40);
  }

  /* WhatsApp: Grün */
  .mbb-whatsapp {
    background: linear-gradient(135deg, #1aad4c, #25d366);
    color: #ffffff;
    box-shadow: 0 2px 12px rgba(37,211,102,0.35);
  }

  /* Nachricht: Glasmorphism auf dunklem Grund */
  .mbb-message {
    background: rgba(255,255,255,0.10);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.20);
  }
}

/* ═══════════════════════════════════════════
   KARUSSELL-DOTS (Dienstleistungen, nur Handy)
═══════════════════════════════════════════ */
.dl-dots {
  display: none;
}
@media (max-width: 640px) {
  .dl-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
  }
  .dl-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--border-mid);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.25s ease;
    flex-shrink: 0;
  }
  .dl-dot.active {
    background: var(--royal);
    width: 22px;
    border-radius: 4px;
  }
  /* Tab-Buttons volle Breite auf Handy */
  .dl-tabs {
    gap: 8px;
  }
  .dl-tab-btn {
    flex: 1;
    justify-content: center;
    padding: 11px 12px;
    font-size: 14px;
  }
}

/* ═══════════════════════════════════════════
   KARUSSELL OVERRIDE — muss nach .dl-grid { display:grid } stehen
═══════════════════════════════════════════ */
@media (max-width: 640px) {
  .dl-panel {
    overflow: hidden;
  }
  .dl-grid {
    display: flex !important;
    flex-direction: row !important;
    grid-template-columns: unset !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 14px;
    padding: 4px 2px 12px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .dl-grid::-webkit-scrollbar {
    display: none;
  }
  .dl-card {
    flex: 0 0 85% !important;
    width: 85% !important;
    min-width: 0;
    scroll-snap-align: start;
  }
}

/* ═══════════════════════════════════════════
   USP FEATURES — 2×3 Grid auf Handy
═══════════════════════════════════════════ */
@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
  }
  .feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 14px 10px;
    gap: 6px;
  }
  .f-icon-wrap {
    width: 32px; height: 32px;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .f-icon-wrap svg { width: 16px; height: 16px; }
  .f-num   { font-size: 14px; font-weight: 800; margin-bottom: 0; }
  .f-title { font-size: 11px; font-weight: 600; margin-bottom: 0; }
  .f-text  { display: none; }
}

/* ═══════════════════════════════════════════
   HERO — Logo rechts neben Titel (nur Handy)
═══════════════════════════════════════════ */
.hero-title-row .hero-logo-wrap { display: none; }
.hero-mobile-logo { display: none; }
.hero-title-row   { display: contents; }

@media (max-width: 640px) {
  .hero-title-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
  }
  .hero-title-row h1 {
    flex: 1;
    margin-bottom: 0;
  }
  .hero-title-row .hero-logo-wrap {
    display: block;
    width: 110px;
    height: 110px;
    flex-shrink: 0;
    margin-left: -32px;
  }
  .hero-mobile-logo { display: block; width: 100%; height: 100%; object-fit: contain; }
}
