/* ==========================================================================
   BITnet System GbR – Premium Theme
   Palette: #ffffff · #9d2139 (Crimson) · #434748 (Charcoal)
   Font: Neue Montreal (Fontshare)
   ========================================================================== */

/* ─── Font: Neue Montreal via Fontshare ──────────────────────────────────── */
@import url('https://api.fontshare.com/v2/css?f[]=neue-montreal@300,400,500,600,700,800&display=swap');

/* ─── Design Tokens ───────────────────────────────────────────────────────── */
:root {
  /* ── Core Palette ─────────────────────────────────────────────────────── */
  --white:     #ffffff;
  --crimson:   #9d2139;
  --charcoal:  #434748;

  /* ── Backgrounds (charcoal-derived dark scale) ────────────────────────── */
  --bg-deep:       #0d0e0e;
  --bg-base:       #131415;
  --bg-elevated:   #1c1e1f;
  --bg-card:       #222425;
  --bg-surface:    rgba(67, 71, 72, 0.30);
  --bg-surface-hover: rgba(67, 71, 72, 0.50);

  /* ── Foreground ───────────────────────────────────────────────────────── */
  --foreground:       #ffffff;
  --foreground-muted: rgba(255, 255, 255, 0.58);
  --foreground-dim:   rgba(255, 255, 255, 0.28);

  /* ── Accent: Crimson ──────────────────────────────────────────────────── */
  --accent:         #9d2139;
  --accent-light:   #b8253f;
  --accent-dark:    #7a1a2d;
  --accent-glow:    rgba(157, 33, 57, 0.28);
  --accent-glow-sm: rgba(157, 33, 57, 0.14);
  --accent-subtle:  rgba(157, 33, 57, 0.10);
  --accent-subtle-border: rgba(157, 33, 57, 0.35);

  /* ── Charcoal tones ───────────────────────────────────────────────────── */
  --charcoal-light: #555859;
  --charcoal-dim:   rgba(67, 71, 72, 0.60);

  /* ── Borders ──────────────────────────────────────────────────────────── */
  --border:         rgba(255, 255, 255, 0.09);
  --border-strong:  rgba(255, 255, 255, 0.16);
  --border-accent:  rgba(157, 33, 57, 0.38);

  /* ── State Colors ─────────────────────────────────────────────────────── */
  --success:  #22c55e;
  --error:    #ef4444;

  /* ── Typography ───────────────────────────────────────────────────────── */
  --font-body:    'Neue Montreal', 'DM Sans', 'Inter', sans-serif;
  --font-display: 'Neue Montreal', 'DM Sans', 'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;

  /* ── Type Scale ───────────────────────────────────────────────────────── */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;
  --text-7xl:  4.5rem;

  /* ── Spacing (8dp rhythm) ─────────────────────────────────────────────── */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-7:  1.75rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* ── Radius ───────────────────────────────────────────────────────────── */
  --radius-sm:   4px;
  --radius:      10px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  /* ── Shadows ──────────────────────────────────────────────────────────── */
  --shadow:       0 4px 16px rgba(0,0,0,.5), 0 1px 3px rgba(0,0,0,.3);
  --shadow-lg:    0 12px 40px rgba(0,0,0,.6), 0 4px 8px rgba(0,0,0,.4);
  --shadow-accent: 0 0 32px var(--accent-glow), 0 4px 16px rgba(0,0,0,.5);

  /* ── Easing (ui-ux-pro-max Bezier curves) ─────────────────────────────── */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:    cubic-bezier(0.7, 0, 0.84, 0);
  --ease-inout: cubic-bezier(0.45, 0, 0.55, 1);

  /* ── Z-index ──────────────────────────────────────────────────────────── */
  --z-nav:   200;
  --z-modal: 100;
  --z-toast: 300;

  /* ── Layout ───────────────────────────────────────────────────────────── */
  --container-max: 1280px;
  --container-pad: clamp(1rem, 5vw, 3rem);
  --navbar-height: 72px;
}

/* ─── Reset ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--foreground);
  background-color: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
button { cursor: pointer; font: inherit; border: none; background: none; }
ul, ol { list-style: none; }

/* ─── Reduced Motion ──────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ─── Layout Utility ──────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.text-accent { color: var(--accent); }
.text-muted  { color: var(--foreground-muted); }

/* ─── Typography Base ─────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--foreground);
}

/* ─── Scroll Reveal ───────────────────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.65s var(--ease-out),
    transform 0.65s var(--ease-out);
}
[data-reveal-delay="75"]  { transition-delay: 0.075s; }
[data-reveal-delay="100"] { transition-delay: 0.10s; }
[data-reveal-delay="150"] { transition-delay: 0.15s; }
[data-reveal-delay="200"] { transition-delay: 0.20s; }
[data-reveal-delay="225"] { transition-delay: 0.225s; }
[data-reveal-delay="300"] { transition-delay: 0.30s; }
[data-reveal-delay="375"] { transition-delay: 0.375s; }
[data-reveal-delay="400"] { transition-delay: 0.40s; }
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.8125rem 1.625rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  min-height: 48px;
  text-decoration: none;
  transition:
    background 0.22s var(--ease-out),
    box-shadow  0.22s var(--ease-out),
    transform   0.15s var(--ease-out),
    border-color 0.22s var(--ease-out),
    color 0.22s var(--ease-out);
  cursor: pointer;
}
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 0 0 0 var(--accent-glow);
}
.btn--primary:hover {
  background: var(--accent-light);
  box-shadow: var(--shadow-accent);
  transform: translateY(-1px);
}

.btn--ghost {
  background: var(--bg-surface);
  color: var(--foreground);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover {
  background: var(--bg-surface-hover);
  border-color: var(--border-strong);
}

.btn--outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--border-accent);
}
.btn--outline:hover {
  background: var(--accent-subtle);
  border-color: var(--accent);
}

.btn--full { width: 100%; justify-content: center; }

/* ─── Section Labels & Headings ───────────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-4);
}
.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: var(--space-6);
}

.section-desc {
  font-size: var(--text-lg);
  color: var(--foreground-muted);
  max-width: 600px;
  line-height: 1.75;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
}
.section-header .section-label { justify-content: center; }
.section-header .section-desc { margin-inline: auto; }

/* ========================================================================== */
/* NAVBAR                                                                       */
/* ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  transition:
    background 0.3s var(--ease-out),
    box-shadow  0.3s var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(13, 14, 14, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(0,0,0,.5);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--navbar-height);
  gap: var(--space-8);
}

/* Logo */
.navbar__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.navbar__logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  /* The original logo is gray/dark — invert it to white for the dark background */
  filter: brightness(0) invert(1);
  transition: opacity 0.2s;
}
.navbar__logo:hover .navbar__logo-img { opacity: 0.85; }

/* Nav menu */
.navbar__menu {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
}
.nav-link {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--foreground-muted);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.nav-link:hover { color: var(--foreground); background: var(--bg-surface); }
.nav-link.is-active { color: var(--accent); }

.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius);
  font-weight: 600;
  box-shadow: 0 0 16px var(--accent-glow-sm);
}
.nav-cta:hover {
  background: var(--accent-light) !important;
  box-shadow: var(--shadow-accent);
  transform: translateY(-1px);
}
.nav-cta:focus-visible { outline-color: var(--white); }

/* Hamburger */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.navbar__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--foreground);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
  pointer-events: none;
}
.navbar__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navbar__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========================================================================== */
/* HERO                                                                         */
/* ========================================================================== */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--navbar-height);
}

/* Background */
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 20% 30%, rgba(157,33,57,0.08) 0%, transparent 70%),
              radial-gradient(ellipse 60% 50% at 80% 70%, rgba(67,71,72,0.15) 0%, transparent 70%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 20%, transparent 100%);
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  animation: blobFloat 10s var(--ease-inout) infinite;
}
.hero__blob--1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(157,33,57,0.16) 0%, transparent 70%);
  top: -20%; left: 0%;
  animation-delay: 0s;
  opacity: 0.8;
}
.hero__blob--2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(67,71,72,0.25) 0%, transparent 70%);
  top: 30%; right: -5%;
  animation-delay: -4s;
  opacity: 0.7;
}
.hero__blob--3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(157,33,57,0.10) 0%, transparent 70%);
  bottom: 10%; left: 35%;
  animation-delay: -7s;
  opacity: 0.6;
}
@keyframes blobFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-28px) scale(1.04); }
}

.hero__scan-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(157,33,57,0.6), transparent);
  animation: scanLine 8s linear infinite;
  opacity: 0.4;
}
@keyframes scanLine {
  0%   { top: 0; }
  100% { top: 100%; }
}

/* Hero content */
.hero__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(var(--space-16), 10vh, var(--space-32));
  max-width: 920px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--foreground-muted);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-8);
  backdrop-filter: blur(8px);
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(157,33,57,.6); }
  50%       { box-shadow: 0 0 0 6px rgba(157,33,57,.0); }
}

.hero__title {
  font-size: clamp(var(--text-4xl), 6.5vw, var(--text-7xl));
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.06;
  margin-bottom: var(--space-6);
  color: var(--white);
}

.hero__sub {
  font-size: clamp(var(--text-base), 1.8vw, var(--text-xl));
  color: var(--foreground-muted);
  line-height: 1.78;
  max-width: 680px;
  margin-bottom: var(--space-10);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}

.hero__tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.tech-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--foreground-dim);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.tech-badge:hover {
  color: rgba(255,255,255,.75);
  border-color: rgba(157,33,57,.4);
  background: var(--accent-subtle);
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.scroll-indicator {
  width: 2px; height: 48px;
  background: var(--border);
  border-radius: 1px;
  overflow: hidden;
  position: relative;
}
.scroll-indicator__line {
  position: absolute;
  top: -50%;
  left: 0; width: 100%; height: 50%;
  background: linear-gradient(to bottom, transparent, var(--accent));
  animation: scrollLine 2s var(--ease-inout) infinite;
  border-radius: 1px;
}
@keyframes scrollLine {
  0%   { top: -50%; }
  100% { top: 100%; }
}

/* ========================================================================== */
/* STATS                                                                        */
/* ========================================================================== */
.stats {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: var(--space-12);
}
.stats__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  flex-wrap: wrap;
}
.stat-item {
  flex: 1;
  min-width: 160px;
  text-align: center;
}
.stat-item__value {
  font-family: var(--font-display);
  font-size: clamp(var(--text-4xl), 4vw, var(--text-6xl));
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--foreground);
  line-height: 1;
  margin-bottom: var(--space-2);
}
.stat-item__value .counter { color: var(--accent); }
.stat-item__label {
  font-size: var(--text-sm);
  color: var(--foreground-muted);
  line-height: 1.4;
  max-width: 180px;
  margin-inline: auto;
}
.stat-divider {
  width: 1px; height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

/* ========================================================================== */
/* SERVICES                                                                     */
/* ========================================================================== */
.services {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

/* Service Card */
.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  transition:
    border-color 0.25s var(--ease-out),
    transform    0.25s var(--ease-out),
    box-shadow   0.25s var(--ease-out),
    background   0.25s var(--ease-out);
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(157,33,57,.06) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
  pointer-events: none;
  border-radius: inherit;
}
.service-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 40px var(--accent-glow-sm);
}
.service-card:hover::before { opacity: 1; }

.service-card--featured {
  border-color: var(--border-accent);
  background: linear-gradient(145deg, rgba(157,33,57,.09) 0%, var(--bg-card) 55%);
}
.service-card--featured::after {
  content: 'Kernleistung';
  position: absolute;
  top: var(--space-4); right: var(--space-4);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-subtle);
  border: 1px solid var(--accent-subtle-border);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.service-card__icon {
  width: 56px; height: 56px;
  border-radius: var(--radius);
  background: var(--accent-subtle);
  border: 1px solid var(--accent-subtle-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
}
.service-card__icon svg { stroke: var(--accent); }

.service-card__number {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--foreground-dim);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-3);
}
.service-card__title {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
  letter-spacing: -0.025em;
}
.service-card__desc {
  font-size: var(--text-sm);
  color: var(--foreground-muted);
  line-height: 1.72;
  margin-bottom: var(--space-5);
}
.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  list-style: none;
}
.service-card__tags li {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  background: var(--accent-subtle);
  border: 1px solid var(--accent-subtle-border);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
  transition: gap 0.2s var(--ease-out), color 0.2s;
  text-decoration: none;
}
.service-card__link:hover { gap: var(--space-3); color: var(--accent-light); }

/* ========================================================================== */
/* FEATURE LAYOUT                                                               */
/* ========================================================================== */
.feature-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-12), 6vw, var(--space-24));
  align-items: center;
}
.feature-layout--reversed .feature-layout__content { order: 2; }
.feature-layout--reversed .feature-layout__visual  { order: 1; }

.feature-text {
  font-size: var(--text-lg);
  color: var(--foreground-muted);
  line-height: 1.78;
  margin-bottom: var(--space-6);
}
.feature-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}
.feature-checklist li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-base);
  color: var(--foreground-muted);
  line-height: 1.5;
}
.feature-checklist li svg { flex-shrink: 0; margin-top: 2px; stroke: var(--accent); }

/* ========================================================================== */
/* MICROSOFT 365                                                                */
/* ========================================================================== */
.m365-section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
  background: linear-gradient(180deg, transparent 0%, rgba(157,33,57,.025) 50%, transparent 100%);
}
.m365-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  padding: var(--space-6);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}
.m365-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-5) var(--space-3);
  border-radius: var(--radius);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  animation: tileFadeIn 0.5s var(--ease-out) forwards;
  animation-delay: var(--tile-delay, 0s);
  opacity: 0;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  cursor: default;
}
.m365-tile:hover {
  background: var(--bg-surface-hover);
  border-color: var(--border-accent);
  transform: translateY(-2px);
}
@keyframes tileFadeIn {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}
.m365-tile span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--foreground-muted);
  text-align: center;
  line-height: 1.3;
}
/* Keep M365 tile icons colorful — those are brand colors */
.m365-tile svg { filter: none; }

/* ========================================================================== */
/* SECURITY & COMPLIANCE                                                        */
/* ========================================================================== */
.security-section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
  background: var(--bg-deep);
  position: relative;
}
.security-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-accent), transparent);
}
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}
.compliance-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  transition: border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.compliance-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.compliance-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}
.compliance-badge {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--white);
  background: var(--badge-color, var(--accent));
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  letter-spacing: 0.04em;
}
.compliance-card__title {
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.compliance-card__desc {
  font-size: var(--text-sm);
  color: var(--foreground-muted);
  line-height: 1.72;
  margin-bottom: var(--space-5);
}
.compliance-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.compliance-features li {
  font-size: var(--text-sm);
  color: var(--foreground-muted);
  padding-left: var(--space-5);
  position: relative;
  line-height: 1.5;
}
.compliance-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 12px; height: 1px;
  background: var(--accent);
}

/* Defender block */
.defender-block {
  background: linear-gradient(135deg, rgba(157,33,57,.10) 0%, rgba(67,71,72,.15) 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
}
.defender-block__content {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-6);
  align-items: center;
}
.defender-block__icon {
  width: 80px; height: 80px;
  background: var(--accent-subtle);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.defender-block__icon svg { stroke: var(--accent); }
.defender-block__content h3 {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.defender-block__content p {
  font-size: var(--text-base);
  color: var(--foreground-muted);
  line-height: 1.65;
}
.defender-block__tags {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex-shrink: 0;
}
.defender-block__tags span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,.65);
  background: rgba(67,71,72,.4);
  border: 1px solid var(--border-strong);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

/* ========================================================================== */
/* ENDPOINT MANAGEMENT                                                          */
/* ========================================================================== */
.endpoint-section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
}

.endpoint-visual {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: var(--space-5);
  padding: var(--space-8);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}
.ev-device {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-5);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  transition: border-color 0.2s, background 0.2s;
}
.ev-device:hover { background: var(--bg-surface-hover); border-color: var(--border-accent); }
.ev-device span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--foreground-muted);
  letter-spacing: 0.04em;
}
.ev-device__status {
  position: absolute;
  top: var(--space-2); right: var(--space-2);
  width: 8px; height: 8px;
  border-radius: 50%;
}
.ev-device__status--ok {
  background: var(--success);
  box-shadow: 0 0 6px rgba(34,197,94,.5);
  animation: pulseDot 2s ease-in-out infinite;
}
.ev-center {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4);
  background: linear-gradient(135deg, rgba(157,33,57,.12), rgba(157,33,57,.06));
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
}
.ev-center span {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent-light);
}
.ev-center svg { stroke: var(--accent); }

.endpoint-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  margin-top: var(--space-8);
}
.ep-feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-5);
  transition: border-color 0.2s, background 0.2s;
}
.ep-feature:hover { background: var(--bg-elevated); border-color: var(--border-accent); }
.ep-feature h4 {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.ep-feature p {
  font-size: var(--text-sm);
  color: var(--foreground-muted);
  line-height: 1.65;
}

/* ========================================================================== */
/* HYBRID                                                                       */
/* ========================================================================== */
.hybrid-section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
  background: linear-gradient(180deg, transparent 0%, rgba(157,33,57,.02) 50%, transparent 100%);
}
.hybrid-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-5);
}
.hybrid-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.hybrid-item:hover {
  background: var(--bg-elevated);
  border-color: var(--border-accent);
  transform: translateY(-2px);
}
.hybrid-item__icon {
  width: 48px; height: 48px;
  background: var(--accent-subtle);
  border: 1px solid var(--accent-subtle-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}
.hybrid-item__icon svg { stroke: var(--accent); }
.hybrid-item h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.hybrid-item p {
  font-size: var(--text-sm);
  color: var(--foreground-muted);
  line-height: 1.65;
}

/* ========================================================================== */
/* ABOUT                                                                        */
/* ========================================================================== */
.about-section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
  background: var(--bg-deep);
  position: relative;
  overflow: hidden;
}
.about-section::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(157,33,57,.06) 0%, transparent 70%);
  right: -100px; top: -100px;
  pointer-events: none;
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-12), 6vw, var(--space-24));
  align-items: start;
}
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.value-item {
  padding: var(--space-8);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s, background 0.2s;
}
.value-item:hover { background: var(--bg-elevated); border-color: var(--border-accent); }
.value-item__icon {
  width: 44px; height: 44px;
  background: var(--accent-subtle);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-3);
}
.value-item__icon svg { stroke: var(--accent); }
.value-item h3 {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.value-item p {
  font-size: var(--text-sm);
  color: var(--foreground-muted);
  line-height: 1.65;
}

/* ========================================================================== */
/* TARGETS                                                                      */
/* ========================================================================== */
.targets-section { padding-block: clamp(var(--space-16), 8vw, var(--space-32)); }
.targets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-5);
}
.target-card {
  padding: var(--space-10);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.target-card:hover {
  background: var(--bg-elevated);
  border-color: var(--border-accent);
  transform: translateY(-2px);
}
.target-card__icon {
  width: 52px; height: 52px;
  background: var(--accent-subtle);
  border: 1px solid var(--accent-subtle-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}
.target-card__icon svg { stroke: var(--accent); }
.target-card h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-3);
}
.target-card p {
  font-size: var(--text-sm);
  color: var(--foreground-muted);
  line-height: 1.65;
}

/* ========================================================================== */
/* CONTACT                                                                      */
/* ========================================================================== */
.contact-section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.contact-section::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(157,33,57,.07) 0%, transparent 70%);
  left: -100px; bottom: -100px;
  pointer-events: none;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-12), 6vw, var(--space-24));
  align-items: start;
  position: relative;
  z-index: 1;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-top: var(--space-8);
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}
.contact-info-item__icon {
  width: 44px; height: 44px;
  background: var(--accent-subtle);
  border: 1px solid var(--accent-subtle-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-item__icon svg { stroke: var(--accent); }
.contact-info-item__label {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--foreground-dim);
  margin-bottom: var(--space-1);
}
.contact-info-item__value {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--foreground);
  text-decoration: none;
  transition: color 0.2s;
}
a.contact-info-item__value:hover { color: var(--accent-light); }

/* Form */
.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}
.contact-form { display: flex; flex-direction: column; gap: var(--space-5); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.form-group { display: flex; flex-direction: column; gap: var(--space-2); }

.form-label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--foreground-muted);
}
.required { color: var(--accent); }

.form-control {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--foreground);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  min-height: 48px;
  width: 100%;
  outline: none;
  transition:
    border-color 0.2s var(--ease-out),
    box-shadow   0.2s var(--ease-out),
    background   0.2s;
}
.form-control::placeholder { color: var(--foreground-dim); }
.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow-sm);
  background: var(--bg-base);
}
.form-control:invalid:not(:placeholder-shown) { border-color: var(--error); }
select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff66' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}
textarea.form-control { resize: vertical; min-height: 120px; }

/* Checkbox */
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  cursor: pointer;
  font-size: var(--text-sm);
  color: var(--foreground-muted);
  line-height: 1.6;
}
.checkbox-label input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; }
.checkbox-custom {
  width: 20px; height: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  flex-shrink: 0;
  margin-top: 2px;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
}
.checkbox-label input:checked + .checkbox-custom {
  background: var(--accent);
  border-color: var(--accent);
}
.checkbox-label input:checked + .checkbox-custom::after {
  content: '';
  position: absolute;
  left: 5px; top: 2px;
  width: 6px; height: 10px;
  border: 2px solid #fff;
  border-top: none; border-left: none;
  transform: rotate(45deg);
}
.checkbox-label input:focus-visible + .checkbox-custom {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.checkbox-label a { color: var(--accent-light); text-decoration: underline; text-underline-offset: 2px; }

/* Form feedback */
.form-feedback {
  font-size: var(--text-sm);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius);
  display: none;
  align-items: center;
  gap: var(--space-2);
  line-height: 1.5;
}
.form-feedback.is-success {
  display: flex;
  background: rgba(34,197,94,.1);
  border: 1px solid rgba(34,197,94,.2);
  color: var(--success);
}
.form-feedback.is-error {
  display: flex;
  background: rgba(239,68,68,.1);
  border: 1px solid rgba(239,68,68,.2);
  color: var(--error);
}

/* ── Loading Button ─ */
.btn--loading { pointer-events: none; opacity: 0.7; }
.btn--loading::after {
  content: '';
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin-left: var(--space-2);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ========================================================================== */
/* FOOTER                                                                       */
/* ========================================================================== */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding-top: clamp(var(--space-16), 6vw, var(--space-24));
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-16);
}
.footer-logo {
  margin-bottom: var(--space-5);
}
.footer-logo-img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.footer-tagline {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: var(--space-3);
  font-style: italic;
}
.footer-desc {
  font-size: var(--text-sm);
  color: var(--foreground-muted);
  line-height: 1.65;
  max-width: 280px;
}
.footer-heading {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--foreground-dim);
  margin-bottom: var(--space-5);
}
.footer-links { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-links a {
  font-size: var(--text-sm);
  color: var(--foreground-muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--foreground); }

.footer-contact { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-contact li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--foreground-muted);
}
.footer-contact li svg { flex-shrink: 0; opacity: 0.6; stroke: currentColor; }
.footer-contact a { transition: color 0.2s; }
.footer-contact a:hover { color: var(--foreground); }

.footer-bottom { border-top: 1px solid var(--border); padding-block: var(--space-6); }
.footer-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.footer-bottom p { font-size: var(--text-sm); color: var(--foreground-dim); }
.footer-bottom-links { display: flex; gap: var(--space-6); }
.footer-bottom-links a {
  font-size: var(--text-sm);
  color: var(--foreground-dim);
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: var(--foreground-muted); }

/* ========================================================================== */
/* INNER PAGES (Impressum / Datenschutz)                                        */
/* ========================================================================== */
.page-hero {
  padding-top: calc(var(--navbar-height) + var(--space-16));
  padding-bottom: var(--space-12);
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}
.page-hero__inner { max-width: 800px; }
.page-hero__label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-4);
}
.page-hero__title {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  font-weight: 800;
  letter-spacing: -0.035em;
}
.page-content {
  padding-block: var(--space-16);
  max-width: 800px;
}
.page-content h2 {
  font-size: var(--text-2xl);
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
  padding-top: var(--space-10);
  border-top: 1px solid var(--border);
}
.page-content h2:first-child { border-top: none; margin-top: 0; padding-top: 0; }
.page-content h3 {
  font-size: var(--text-xl);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
  color: var(--foreground-muted);
  font-weight: 600;
}
.page-content p {
  font-size: var(--text-base);
  color: var(--foreground-muted);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}
.page-content a { color: var(--accent-light); text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s; }
.page-content a:hover { color: var(--accent); }
.page-content ul, .page-content ol {
  padding-left: var(--space-6);
  color: var(--foreground-muted);
  margin-bottom: var(--space-4);
  line-height: 1.8;
}
.page-content li { margin-bottom: var(--space-2); }
.page-content address {
  font-style: normal;
  color: var(--foreground-muted);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}

/* ========================================================================== */
/* RESPONSIVE                                                                   */
/* ========================================================================== */

/* Tablet (≤1024px) */
@media (max-width: 1024px) {
  .feature-layout,
  .feature-layout--reversed .feature-layout__content,
  .feature-layout--reversed .feature-layout__visual {
    grid-template-columns: 1fr;
    order: unset !important;
  }
  .feature-layout__visual { order: -1; }

  .defender-block__content {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
  }
  .defender-block__tags { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }

  .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .footer-brand { grid-column: 1 / -1; }
  .m365-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Mobile (≤768px) */
@media (max-width: 768px) {
  :root { --navbar-height: 64px; }

  .navbar__menu {
    position: fixed;
    top: var(--navbar-height);
    left: 0; right: 0;
    background: rgba(13, 14, 14, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: var(--space-4) var(--space-6) var(--space-6);
    gap: var(--space-1);
    transform: translateY(-110%);
    transition: transform 0.35s var(--ease-out);
    z-index: calc(var(--z-nav) - 1);
  }
  .navbar__menu.is-open { transform: translateY(0); }
  .navbar__menu li { width: 100%; }
  .nav-link { display: block; padding: var(--space-3) var(--space-4); font-size: var(--text-base); width: 100%; }
  .nav-cta { text-align: center; margin-top: var(--space-2); }
  .navbar__toggle { display: flex; }

  .hero__title { font-size: clamp(var(--text-3xl), 8vw, var(--text-5xl)); }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  .stats__inner { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); }
  .stat-divider { display: none; }

  .services-grid, .compliance-grid, .hybrid-grid, .targets-grid, .values-grid, .endpoint-features { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .m365-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }

  .defender-block { padding: var(--space-6); }
  .defender-block__content { grid-template-columns: 1fr; text-align: center; }
  .defender-block__icon { margin-inline: auto; }
  .defender-block__tags { justify-content: center; }

  /* iOS: background-attachment: fixed funktioniert nicht auf Mobile */
  .security-section__bg-image,
  .about-section__bg { background-attachment: scroll; }

  /* Feature Layout Visuals: volle Breite, kein Überlauf */
  .browser-mockup,
  .hosting-dashboard { max-width: 100%; width: 100%; box-sizing: border-box; }

  /* Hosting Dashboard: Dashboardinhalt kompakter */
  .hosting-servers { padding: var(--space-3); }
  .hosting-perf    { padding: var(--space-3); }
  .hm-item         { padding: var(--space-3) var(--space-2); }
  .hm-value        { font-size: var(--text-base); }

  /* Browser Mockup: Body etwas kompakter */
  .bm-body { padding: var(--space-3); }
  .bm-hero-block { height: 72px; padding: 10px; }
  .bm-cards-row { gap: 6px; }

  /* Section Hintergrundbilder: volle Deckkraft bleibt, aber kein fixed */
  .webdesign-section__bg-image,
  .hosting-section__bg-image { background-attachment: scroll; }
}

/* Small (≤375px) */
@media (max-width: 375px) {
  .stats__inner { grid-template-columns: 1fr; }
  .m365-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════════════════════════════════
   VISUAL ENHANCEMENTS v2
   Background Images · Dashboard · Radar · Tilt · Parallax
   ══════════════════════════════════════════════════════════════ */

/* ── Hero Background Image ───────────────────────────────────── */
.hero__bg-image {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.06;
  z-index: 0;
}

/* ── Hero Canvas Particles ───────────────────────────────────── */
.hero__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ── Hero Split Layout ───────────────────────────────────────── */
.hero__inner {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  min-height: calc(100dvh - var(--navbar-height));
  padding-block: var(--space-24);
}
.hero__content {
  flex: 0 0 52%;
  max-width: 620px;
}
.hero__visual {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}

/* ── Hero Dashboard Card ─────────────────────────────────────── */
.hero-dashboard {
  width: 100%;
  max-width: 360px;
  background: rgba(28, 30, 31, 0.88);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 24px 64px rgba(0,0,0,0.6),
    0 0 80px var(--accent-glow-sm);
  overflow: hidden;
  animation: dashboardFloat 6s ease-in-out infinite;
}
@keyframes dashboardFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

.hd-titlebar {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}
.hd-dots { display: flex; gap: 5px; }
.hd-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.hd-dots span:nth-child(1) { background: #ff5f57; }
.hd-dots span:nth-child(2) { background: #febc2e; }
.hd-dots span:nth-child(3) { background: #28c840; }

.hd-title {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--foreground-muted);
  text-align: center;
}
.hd-live {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #22c55e;
}
.hd-live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: livePulse 1.5s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.hd-body {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.hd-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hd-status-chip {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--foreground-muted);
}
.hd-status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
}
.hd-status-dot--green {
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34,197,94,0.7);
  animation: livePulse 2s ease-in-out infinite;
}
.hd-timestamp {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--foreground-dim);
}

.hd-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}
.hd-metric {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.hd-metric__header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--foreground-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hd-metric__header svg { stroke: var(--foreground-dim); flex-shrink: 0; }
.hd-metric__value {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1;
}
.hd-metric__bar {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}
.hd-metric__fill {
  height: 100%;
  border-radius: 2px;
  width: 0%;
  transition: width 1.5s var(--ease-out) 0.8s;
}
.hd-metric__fill.is-loaded { /* set via JS */ }
.hd-metric__fill--blue  { background: linear-gradient(90deg, #0078d4, #00a4ef); }
.hd-metric__fill--green { background: linear-gradient(90deg, #22c55e, #4ade80); }
.hd-metric__sub {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--foreground-dim);
}

.hd-devices {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-3);
}
.hd-device {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.hd-device svg { stroke: var(--foreground-dim); flex-shrink: 0; }
.hd-device__info {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}
.hd-device__name {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--foreground-muted);
}
.hd-device__count {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--foreground);
}
.hd-device__badge {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border-radius: 3px;
}
.hd-device__badge--ok   { background: rgba(34,197,94,0.12); color: #22c55e; border: 1px solid rgba(34,197,94,0.25); }
.hd-device__badge--warn { background: rgba(251,191,36,0.12); color: #fbbf24; border: 1px solid rgba(251,191,36,0.25); }

.hd-events {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.hd-event {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.025);
}
.hd-event svg { flex-shrink: 0; }
.hd-event--success svg { stroke: #22c55e; }
.hd-event--info    svg { stroke: var(--accent); }
.hd-event__text {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--foreground-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hd-event__time {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--foreground-dim);
  flex-shrink: 0;
}

/* ── Hero Floating Badges ────────────────────────────────────── */
.hero-float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(28, 30, 31, 0.95);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--foreground);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  white-space: nowrap;
  z-index: 10;
  animation: badgeFloat 4s ease-in-out infinite;
}
.hero-float-badge--1 { top: -16px; left: -50px; animation-delay: -1s; }
.hero-float-badge--2 { bottom: 24px; left: -64px; animation-delay: -2.5s; }
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-7px); }
}

/* ── Stats Icons ─────────────────────────────────────────────── */
.stat-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--accent-subtle);
  border: 1px solid var(--accent-subtle-border);
  margin: 0 auto var(--space-4);
  transition: transform 0.3s var(--ease-out), background 0.3s;
}
.stat-item:hover .stat-item__icon {
  transform: scale(1.1) rotate(-5deg);
  background: rgba(157,33,57,0.18);
}
.stat-item__icon svg { stroke: var(--accent); }

/* ── Security Section ────────────────────────────────────────── */
.security-section {
  position: relative;
  overflow: hidden;
}
.security-section__bg-image {
  position: absolute;
  inset: 0;
  background-image: url('../images/server-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.04;
  z-index: 0;
}

/* ── Security Visual Row ─────────────────────────────────────── */
.security-visual-row {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: var(--space-8);
  align-items: center;
  margin-top: var(--space-16);
}
.security-visual-row .defender-block { margin-top: 0; }

/* ── Security Radar ──────────────────────────────────────────── */
.security-radar {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 0 auto;
  flex-shrink: 0;
  background: radial-gradient(circle at center, rgba(157,33,57,0.05) 0%, transparent 70%);
  border-radius: 50%;
  border: 1px solid rgba(157,33,57,0.15);
}
.sr-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(157,33,57,0.18);
}
.sr-ring--1 { width: 80px;  height: 80px;  border-color: rgba(157,33,57,0.38); }
.sr-ring--2 { width: 160px; height: 160px; }
.sr-ring--3 { width: 240px; height: 240px; }

.sr-crosshair--h,
.sr-crosshair--v {
  position: absolute;
  background: rgba(157,33,57,0.10);
}
.sr-crosshair--h { top: 50%; left: 5%; right: 5%; height: 1px; transform: translateY(-50%); }
.sr-crosshair--v { left: 50%; top: 5%; bottom: 5%; width: 1px; transform: translateX(-50%); }

/* ── Radar Sweep: glow trail (full circle conic-gradient) ─────── */
.sr-sweep-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 330deg,
    rgba(157, 33, 57, 0.04) 340deg,
    rgba(157, 33, 57, 0.15) 352deg,
    rgba(157, 33, 57, 0.32) 359deg,
    transparent 360deg
  );
  animation: radarSweep 4s linear infinite;
  transform-origin: center;
}

/* ── Radar Sweep: sharp rotating line from center ─────────────── */
.sr-sweep-line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 47%;
  height: 1.5px;
  background: linear-gradient(
    90deg,
    rgba(157, 33, 57, 0.0)   0%,
    rgba(157, 33, 57, 0.75) 35%,
    rgba(157, 33, 57, 1.0)  100%
  );
  transform-origin: left center;
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 6px rgba(157, 33, 57, 0.7), 0 0 2px rgba(157, 33, 57, 0.9);
  animation: radarSweep 4s linear infinite;
  z-index: 3;
}

@keyframes radarSweep {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.sr-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  z-index: 5;
  background: rgba(13, 14, 14, 0.92);
  padding: var(--space-3);
  border-radius: 50%;
  width: 72px; height: 72px;
  justify-content: center;
  border: 1px solid var(--accent-subtle-border);
  box-shadow: 0 0 20px rgba(13,14,14,0.9), inset 0 0 12px rgba(157,33,57,0.06);
}
.sr-center span {
  font-family: var(--font-mono);
  font-size: 0.44rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
}

/* ── Threat dots with labels (uses CSS trig: cos/sin) ─────────── */
.sr-threat {
  position: absolute;
  left: calc(50% + cos(var(--angle)) * var(--dist) * 130px);
  top:  calc(50% + sin(var(--angle)) * var(--dist) * 130px);
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  z-index: 4;
  pointer-events: none;
}
.sr-threat__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.sr-threat__dot--blocked {
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow), 0 0 3px var(--accent);
  animation: threatBlink 2s ease-in-out infinite;
}
.sr-threat__dot--scan {
  background: rgba(251, 191, 36, 0.85);
  box-shadow: 0 0 8px rgba(251, 191, 36, 0.5);
  animation: threatBlink 1.6s ease-in-out infinite;
  animation-delay: -0.8s;
}
@keyframes threatBlink {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}
.sr-threat__label {
  font-family: var(--font-mono);
  font-size: 0.48rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  text-shadow: 0 0 6px rgba(0,0,0,1), 0 1px 3px rgba(0,0,0,0.9);
}

/* ── Hybrid Section New Layout ───────────────────────────────── */
.hybrid-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: var(--space-16);
  align-items: start;
}
.section-header--left { text-align: left; }
.section-header--left .section-label { justify-content: flex-start; }

.server-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg), 0 0 60px rgba(0,0,0,0.4);
}
.server-visual__image {
  width: 100%;
  aspect-ratio: 2/3;
  background-image: url('../images/server-bg.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.45) saturate(0.7);
  transition: transform 0.6s var(--ease-out), filter 0.4s;
}
.server-visual:hover .server-visual__image {
  transform: scale(1.04);
  filter: brightness(0.55) saturate(0.8);
}
.server-visual__overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(13,14,14,0.97) 0%, rgba(13,14,14,0.4) 60%, transparent 100%);
  padding: var(--space-6);
  display: flex;
  gap: var(--space-8);
  align-items: flex-end;
}
.sv-metric { display: flex; flex-direction: column; gap: 2px; }
.sv-metric__val {
  font-family: var(--font-mono);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--foreground);
  line-height: 1;
}
.sv-metric__val--accent { color: var(--accent); }
.sv-metric__key {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--foreground-dim);
}

/* ── About Section Background ────────────────────────────────── */
.about-section { position: relative; overflow: hidden; }
.about-section__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/office-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.04;
  z-index: 0;
}

/* ── About Founders ──────────────────────────────────────────── */
.about-founders {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid var(--border);
}
.founder {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.founder__avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--accent-subtle);
  border: 1px solid var(--accent-subtle-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out), background 0.3s;
}
.founder:hover .founder__avatar {
  transform: scale(1.08);
  background: rgba(157,33,57,0.2);
}
.founder__name {
  display: block;
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--foreground);
}
.founder__role {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--foreground-muted);
  margin-top: 2px;
}

/* ── Endpoint Visual SVG Lines ───────────────────────────────── */
.endpoint-visual { position: relative; }
.ev-lines-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}
.ev-line-path {
  stroke-dasharray: 6 4;
  animation: lineDash 1.5s linear infinite;
}
.ev-line-path:nth-child(2) { animation-delay: -0.5s; }
.ev-line-path:nth-child(3) { animation-delay: -1s; }
@keyframes lineDash {
  from { stroke-dashoffset: 40; }
  to   { stroke-dashoffset: 0; }
}

/* ── Card 3D Tilt Effect ─────────────────────────────────────── */
.js-tilt {
  transform-style: preserve-3d;
  will-change: transform;
  transition: box-shadow 0.3s var(--ease-out);
}
.js-tilt:hover {
  box-shadow: var(--shadow-lg), 0 0 40px var(--accent-glow-sm);
}
.js-tilt-sm {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.1s linear, box-shadow 0.3s var(--ease-out);
}

/* ── Responsive overrides for new elements ───────────────────── */
@media (max-width: 1200px) {
  .hybrid-layout { grid-template-columns: 1fr 2fr; gap: var(--space-10); }
}

@media (max-width: 1024px) {
  .hero__inner { flex-direction: column; gap: var(--space-10); padding-block: var(--space-20) var(--space-12); }
  .hero__content { flex: none; max-width: 100%; }
  .hero__visual { width: 100%; justify-content: center; }
  .hero-dashboard { max-width: 420px; }
  .hero-float-badge--1 { top: -12px; left: -20px; }
  .hero-float-badge--2 { bottom: -10px; left: -20px; }

  .security-visual-row { grid-template-columns: 1fr; gap: var(--space-8); }
  .security-radar { margin: 0 auto; }

  .hybrid-layout { grid-template-columns: 1fr; gap: var(--space-10); }
  .hybrid-image-col { order: 2; }
  .server-visual__image { aspect-ratio: 16/6; }
}

@media (max-width: 768px) {
  .hero__visual { display: none; }
  .stat-item__icon { width: 44px; height: 44px; }
  .security-visual-row { grid-template-columns: 1fr; }
  .security-radar { width: 220px; height: 220px; }
  .sr-ring--3 { width: 190px; height: 190px; }
  .sr-ring--2 { width: 130px; height: 130px; }
  .sv-metric__val { font-size: var(--text-2xl); }
  .about-founders { gap: var(--space-3); }
}

/* ========================================================================== */
/* SERVICES GRID – responsive override (services uses repeat(3,1fr) now)       */
/* ========================================================================== */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ========================================================================== */
/* WEBSITE-ERSTELLUNG SECTION                                                  */
/* ========================================================================== */
.webdesign-section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
  position: relative;
  overflow: hidden;
}
.webdesign-section__bg-image {
  position: absolute;
  inset: 0;
  background: url('../images/webdesign-bg.jpg') center / cover no-repeat;
  opacity: 0.05;
  z-index: 0;
}

/* ── Browser Mockup ── */
.browser-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
  position: relative;
}
.bm-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(67,71,72,0.55);
  border-bottom: 1px solid var(--border);
}
.bm-dot {
  width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0;
}
.bm-dot--red   { background: #ff5f57; }
.bm-dot--amber { background: #febc2e; }
.bm-dot--green { background: #28c840; }
.bm-addressbar {
  flex: 1;
  margin-left: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 10px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bm-body {
  padding: var(--space-4);
}
.bm-nav-bar {
  display: flex; align-items: center; gap: 8px; margin-bottom: 12px;
}
.bm-nav-logo {
  width: 52px; height: 7px; background: var(--accent); border-radius: 4px; opacity: 0.85;
}
.bm-nav-links {
  display: flex; gap: 10px; margin-left: auto;
}
.bm-nav-link {
  width: 34px; height: 5px; background: var(--border); border-radius: 3px;
}
.bm-nav-link--cta {
  width: 48px; background: rgba(157,33,57,0.4); border-radius: 3px;
}
.bm-hero-block {
  height: 88px;
  background: linear-gradient(135deg, rgba(157,33,57,0.07) 0%, rgba(67,71,72,0.18) 100%);
  border: 1px solid rgba(157,33,57,0.14);
  border-radius: 8px;
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 10px; padding: 14px;
}
.bm-hero-headline { flex: 1; }
.bm-hero-headline > div {
  height: 7px; background: rgba(255,255,255,0.55); border-radius: 4px; margin-bottom: 6px;
}
.bm-hero-sub-line {
  height: 5px; background: rgba(255,255,255,0.25); border-radius: 3px; margin-bottom: 4px;
}
.bm-hero-cta {
  width: 58px; height: 22px; background: var(--accent); border-radius: 5px; flex-shrink: 0; opacity: 0.9;
}
.bm-cards-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-bottom: 10px;
}
.bm-card {
  height: 52px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px;
}
.bm-card > div {
  height: 5px; background: var(--border); border-radius: 3px; margin-bottom: 5px;
}
.bm-status-row {
  display: flex; align-items: center; gap: 8px; padding-top: 8px;
  border-top: 1px solid var(--border);
}
.bm-status-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #28c840; flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}
.bm-status-text {
  font-family: var(--font-mono); font-size: 0.64rem; color: var(--text-muted);
}

/* Floating badges around browser mockup */
.bm-float-badge {
  position: absolute;
  display: flex; align-items: center; gap: 6px;
  background: var(--bg-card);
  border: 1px solid rgba(157,33,57,0.35);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.72rem; font-weight: 500; color: var(--text-primary);
  box-shadow: 0 4px 16px rgba(0,0,0,0.4), 0 0 8px rgba(157,33,57,0.15);
  white-space: nowrap;
}
.bm-float-badge--1 {
  top: -16px; right: 20px;
  animation: badgeFloat 3.8s ease-in-out infinite;
}
.bm-float-badge--2 {
  bottom: -14px; left: 16px;
  animation: badgeFloat 4.4s ease-in-out infinite reverse;
}
.feature-layout__visual { position: relative; }

/* ========================================================================== */
/* WEBSITE-HOSTING SECTION                                                     */
/* ========================================================================== */
.hosting-section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
  position: relative;
  overflow: hidden;
  background: var(--bg-deep);
}
.hosting-section__bg-image {
  position: absolute;
  inset: 0;
  background: url('../images/hosting-bg.jpg') center / cover no-repeat;
  opacity: 0.04;
  z-index: 0;
}

/* ── Hosting Dashboard ── */
.hosting-dashboard {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
}
.hosting-metrics-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
  border-bottom: 1px solid var(--border);
}
.hm-item {
  display: flex; flex-direction: column; align-items: center;
  padding: var(--space-4) var(--space-3);
  background: var(--bg-card);
  gap: 4px;
}
.hm-value {
  font-size: var(--text-lg); font-weight: 700; color: var(--text-primary);
  font-family: var(--font-mono);
}
.hm-label {
  font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Server status rows */
.hosting-servers {
  padding: var(--space-4);
  border-bottom: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 6px;
}
.hs-row {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.8rem; padding: 6px 8px;
  border-radius: 6px;
  background: rgba(255,255,255,0.025);
  transition: background 0.2s;
}
.hs-row:hover { background: rgba(255,255,255,0.04); }
.hs-indicator {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.hs-indicator--ok { background: #28c840; box-shadow: 0 0 6px rgba(40,200,64,0.5); animation: pulse 2.5s ease-in-out infinite; }
.hs-name { flex: 1; color: var(--text-secondary); font-size: 0.78rem; }
.hs-status--ok { color: #28c840; font-size: 0.72rem; font-family: var(--font-mono); }
.hs-metric { color: var(--text-muted); font-family: var(--font-mono); font-size: 0.7rem; margin-left: auto; }

/* Performance bars */
.hosting-perf {
  padding: var(--space-4);
  display: flex; flex-direction: column; gap: 10px;
}
.hp-row {
  display: flex; align-items: center; gap: 10px;
}
.hp-label {
  font-size: 0.72rem; color: var(--text-muted); width: 52px; flex-shrink: 0;
  font-family: var(--font-mono);
}
.hp-bar-track {
  flex: 1; height: 5px; background: var(--border); border-radius: 3px; overflow: hidden;
}
.hp-bar-fill {
  height: 100%; background: var(--accent); border-radius: 3px;
  transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.hp-value {
  font-size: 0.7rem; color: var(--text-muted); font-family: var(--font-mono);
  width: 38px; text-align: right; flex-shrink: 0;
}

/* ========================================================================== */
/* RESPONSIVE – new sections                                                   */
/* ========================================================================== */
@media (max-width: 1024px) {
  .hosting-metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .bm-cards-row { gap: 5px; }
}
@media (max-width: 768px) {
  .bm-float-badge { display: none; }
  .hosting-metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .hs-metric { display: none; }
}

/* ========================================================================== */
/* TISAX FEATURED CARD                                                         */
/* ========================================================================== */
.compliance-card--tisax {
  padding: var(--space-10);
}
.tisax-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--space-10);
}
.tisax-intro {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}
.tisax-intro strong {
  color: var(--text-primary);
  font-weight: 600;
}
.tisax-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  margin-top: var(--space-6);
}
.tisax-feature {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}
.tisax-feature svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.tisax-feature div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.tisax-feature strong {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
}
.tisax-feature span {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Sidebar: Assessment Levels */
.tisax-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-7);
  border-left: 1px solid var(--border);
  padding-left: var(--space-8);
}
.tisax-sidebar__title {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: var(--space-3);
}
.tisax-levels {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.tisax-level {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}
.tisax-level--highlight {
  border-color: rgba(157,33,57,0.4);
  background: rgba(157,33,57,0.06);
}
.al-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 4px;
  flex-shrink: 0;
  letter-spacing: 0.04em;
  margin-top: 1px;
}
.al-badge--1 { background: rgba(255,255,255,0.08); color: var(--text-secondary); }
.al-badge--2 { background: rgba(157,33,57,0.25); color: #f4a0b0; }
.al-badge--3 { background: rgba(157,33,57,0.12); color: var(--accent); }
.al-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.al-info strong {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
}
.al-info span {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Process steps */
.tisax-process {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.tisax-step {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--border);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}
.tisax-step:last-child { border-bottom: none; }
.ts-num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--accent);
  width: 22px;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 1100px) {
  .tisax-layout { grid-template-columns: 1fr; gap: var(--space-8); }
  .tisax-sidebar { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: var(--space-7); }
  .tisax-features-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .tisax-features-grid { grid-template-columns: 1fr; }
  .compliance-card--tisax { padding: var(--space-6); }
}

/* ========================================================================== */
/* CONTACT FORM – Honeypot + reCAPTCHA notice                                 */
/* ========================================================================== */
.form-honey {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 0;
  height: 0;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
}
.form-recaptcha-notice {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: var(--space-3);
  text-align: center;
}
.form-recaptcha-notice a {
  color: var(--text-muted);
  text-decoration: underline;
}
.form-recaptcha-notice a:hover {
  color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════════════════════════
   WORDPRESS ADMIN BAR – Navbar-Offset beim eingeloggten Testen
   ═══════════════════════════════════════════════════════════════════ */
.admin-bar .site-header {
  top: 32px;
}
.admin-bar .navbar__menu {
  top: calc(32px + var(--navbar-height));
}
@media screen and (max-width: 782px) {
  .admin-bar .site-header  { top: 46px; }
  .admin-bar .navbar__menu { top: calc(46px + var(--navbar-height)); }
}
@media screen and (max-width: 600px) {
  .admin-bar .site-header  { top: 0; }
  .admin-bar .navbar__menu { top: var(--navbar-height); }
}

/* ═══════════════════════════════════════════════════════════════════
   MOBILE FEINSCHLIFF – iPhone / kleine Smartphones (≤480px)
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {

  /* ── Hero ── */
  .hero__badge { font-size: 0.62rem; padding: var(--space-2) var(--space-3); }
  .tech-badge  { font-size: 0.6rem; padding: 3px 8px; }

  /* ── Stats ── */
  .stat-item__value { font-size: var(--text-3xl); }

  /* ── Service Cards ── */
  .service-card { padding: var(--space-6); }

  /* ── Hosting Dashboard: metriken auf 2x2 ── */
  .hosting-metrics-grid { grid-template-columns: repeat(2, 1fr); }

  /* ── Hosting Server Rows: Text kürzer ── */
  .hs-row { font-size: 0.72rem; }
  .hs-name { font-size: 0.7rem; }

  /* ── Browser Mockup: Nav-Links ausblenden ── */
  .bm-nav-links { display: none; }
  .bm-cards-row .bm-card:last-child { display: none; }

  /* ── TISAX ── */
  .compliance-card--tisax { padding: var(--space-5); }

  /* ── Section Titles ── */
  .section-title { font-size: clamp(var(--text-2xl), 7vw, var(--text-4xl)); }

  /* ── Kontaktformular ── */
  .contact-inner { gap: var(--space-8); }

  /* ── Footer ── */
  .footer-grid { gap: var(--space-8); }
}

/* ── Sehr schmale Geräte (≤360px) ── */
@media (max-width: 360px) {
  :root { --container-pad: 1rem; }
  .hosting-metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .m365-grid { grid-template-columns: 1fr 1fr; }
  .stats__inner { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════
   JS-PARALLAX: auf Touch-Geräten deaktivieren (Performance + iOS)
   ═══════════════════════════════════════════════════════════════════ */
@media (hover: none) and (pointer: coarse) {
  .security-section__bg-image,
  .about-section__bg {
    background-attachment: scroll;
    background-position: center center !important;
  }
  /* Tilt-Effekt: kein Hover auf Touch → Transforms zurücksetzen */
  .js-tilt, .js-tilt-sm {
    transform: none !important;
  }
}
