/* ════════════════════════════════════════
   WEBBACH – Stylesheet Entry Point
   Zusammengeführt aus tokens/base/header/buttons/hero/sections/
   contact/footer/utils (vormals @import-Kette) – ein einzelner
   Request statt 9 seriellen @import-Requests, siehe tech-review.
════════════════════════════════════════ */

/* ════════════════ FONTS ════════════════ */
@font-face {
  font-family: "StackSansNotch";
  src: url("../fonts/StackSansNotch-ExtraLight.ttf") format("truetype");
  font-weight: 200; font-display: swap;
}
@font-face {
  font-family: "StackSansNotch";
  src: url("../fonts/StackSansNotch-Light.ttf") format("truetype");
  font-weight: 300; font-display: swap;
}
@font-face {
  font-family: "StackSansNotch";
  src: url("../fonts/StackSansNotch-Regular.ttf") format("truetype");
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: "StackSansNotch";
  src: url("../fonts/StackSansNotch-Medium.ttf") format("truetype");
  font-weight: 500; font-display: swap;
}
@font-face {
  font-family: "StackSansNotch";
  src: url("../fonts/StackSansNotch-SemiBold.ttf") format("truetype");
  font-weight: 600; font-display: swap;
}
@font-face {
  font-family: "StackSansNotch";
  src: url("../fonts/StackSansNotch-Bold.ttf") format("truetype");
  font-weight: 700; font-display: swap;
}

/* ════════════════ DESIGN TOKENS ════════════════ */
:root {
  /* Colours */
  --bg:        #ffffff;
  --bg2:       #f8faff;
  --bg3:       #f1f5f9;
  --surface:   #0f172a;
  --primary:   #2563eb;
  --primary-d: #1d4ed8;
  --purple:    #4f46e5;
  --accent:    #60a5fa;
  --gold:      #d97706;
  --green:     #059669;
  --cyan:      #0891b2;
  --text:      #1e293b;
  --text-hi:   #0f172a;
  --muted:     #64748b;
  --dim:       #94a3b8;
  --border:    #e2e8f0;

  /* Glass / overlays */
  --glass:   rgba(79, 70, 229, 0.04);
  --glass-b: rgba(79, 70, 229, 0.12);

  /* Hero */
  --hero-bg:   #030c1e;
  --hero-text: #e8f2ff;
  --hero-muted: rgba(210, 228, 248, 0.92);

  /* Radius */
  --r-sm: 0.75rem;
  --r-md: 1rem;
  --r-lg: 1.5rem;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(37, 99, 235, 0.1);
}

/* ════════════════ RESET ════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: clip; max-width: 100%; }

body {
  font-family: "StackSansNotch", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 1rem;
  background: var(--bg);
  color: var(--text);
  overflow-x: clip;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ════════════════ LAYOUT ════════════════ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 5.5rem 0; }
.section-dark { background: var(--bg3); }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-tag {
  display: inline-block;
  font-size: 0.7rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 99px;
  padding: 0.25rem 0.875rem;
  margin-bottom: 0.875rem;
}
.section-title {
  font-size: clamp(1.875rem, 3.5vw, 2.625rem);
  font-weight: 900; letter-spacing: -0.035em;
  color: var(--text-hi); line-height: 1.15; margin-bottom: 1rem;
}
.section-sub {
  font-size: 1.05rem; color: var(--muted);
  max-width: 520px; margin: 0 auto; line-height: 1.75;
}

/* ════════════════ CARD ════════════════ */
.glass-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.glass-card:hover {
  border-color: rgba(37, 99, 235, 0.55);
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.14);
}

.text-link {
  color: var(--primary); font-weight: 600;
  text-decoration: none; transition: color 0.2s;
}
.text-link:hover { color: var(--primary-d); }

/* ════════════════ HEADER ════════════════ */
#site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100; padding: 1.25rem 0;
  transition: background 0.4s, border-color 0.4s, padding 0.3s;
}
#site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }

/* ── Logo ── */
.logo { display: flex; align-items: center; gap: 0.625rem; text-decoration: none; }
.logo-icon { display: flex; align-items: center; justify-content: center; }
.logo-icon img { height: 3.4rem; object-fit: contain; transition: filter 0.3s; }
/* Nur für Screenreader/Tastaturnutzer hörbar/fokussierbar, visuell
   versteckt – das Logo-Bild trägt die Marke, der Link braucht aber
   einen zugänglichen Namen (WCAG 2.4.4/4.1.2). */
.logo-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ── Desktop Nav ── */
.desktop-nav { display: none; align-items: center; gap: 2rem; }
@media (min-width: 1200px) { .desktop-nav { display: flex; } }

.nav-link {
  font-size: 1rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--muted); text-decoration: none; transition: color 0.2s;
}
.nav-link:hover { color: var(--text-hi); }

/* ── Header on dark hero ── */
#site-header:not(.scrolled) .logo-icon img { filter: brightness(0) invert(1); }
#site-header:not(.scrolled) .nav-link      { color: rgba(195, 218, 255, 0.82); }
#site-header:not(.scrolled) .nav-link:hover { color: #fff; }
#site-header:not(.scrolled) .hamburger span { background: rgba(220, 235, 255, 0.88); }

/* ── Hamburger ── */
.hamburger {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 5px;
  width: 2.75rem; height: 2.75rem;
  background: none; border: none; cursor: pointer;
}
@media (min-width: 1200px) { .hamburger { display: none; } }
.hamburger span {
  display: block; width: 1.4rem; height: 2px;
  background: #334155; border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s; transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile Overlay ── */
#mobile-overlay {
  position: fixed; inset: 0;
  background: rgba(15, 23, 42, 0.5); backdrop-filter: blur(4px);
  z-index: 150; opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
#mobile-overlay.open { opacity: 1; pointer-events: auto; }

/* ── Mobile Drawer ── */
#mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0; width: 17rem;
  background: #ffffff;
  border-left: 1px solid var(--border);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
  z-index: 160; padding: 5rem 2rem 2rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
#mobile-menu.open { transform: translateX(0); }
#mobile-menu nav { display: flex; flex-direction: column; gap: 1.5rem; }

.mobile-link {
  font-size: 1.125rem; font-weight: 600;
  color: #475569; text-decoration: none; transition: color 0.2s;
  padding: 0.75rem 0;
}
.mobile-link:hover { color: var(--text-hi); }

/* ════════════════ BUTTONS ════════════════ */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem; padding: 0.75rem 1.625rem;
  border-radius: var(--r-sm); font-weight: 700; font-size: 0.9375rem;
  text-decoration: none; color: #fff;
  background: var(--primary); border: none; cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--primary-d);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.45);
  transform: translateY(-2px);
}

.btn-lg { padding: 0.9rem 2rem; font-size: 1rem; }
.btn-sm { padding: 0.6rem 1.25rem; font-size: 0.875rem; }

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 1.625rem; border-radius: var(--r-sm);
  font-weight: 700; font-size: 0.9375rem; text-decoration: none;
  color: #334155; background: transparent;
  border: 1px solid #cbd5e1;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  white-space: nowrap;
}
.btn-ghost:hover {
  border-color: #94a3b8;
  background: var(--bg3);
  transform: translateY(-2px);
}
.btn-ghost.btn-lg { padding: 0.9rem 2rem; font-size: 1rem; }

.btn-ghost-dark {
  color: rgba(200, 220, 255, 0.88) !important;
  border-color: rgba(80, 130, 220, 0.38) !important;
  background: rgba(37, 99, 235, 0.1) !important;
}
.btn-ghost-dark:hover {
  color: #fff !important;
  border-color: rgba(80, 130, 220, 0.65) !important;
  background: rgba(37, 99, 235, 0.22) !important;
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; padding: 0.8rem; border-radius: var(--r-sm);
  font-weight: 700; font-size: 0.875rem; text-decoration: none;
  color: var(--muted); background: transparent;
  border: 1px solid var(--glass-b); cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: var(--primary); color: #fff; background: var(--primary); }
.btn-outline-gold:hover { border-color: var(--gold); background: rgba(245, 158, 11, 0.08); }

/* ── Mobile ── */
@media (max-width: 639px) {
  .btn-primary,
  .btn-ghost {
    white-space: normal;
    max-width: 100%;
  }
}

/* ════════════════ HERO ════════════════ */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center; padding: 8rem 1.5rem 5rem;
  position: relative; overflow: hidden;
  background: var(--hero-bg);
}
.hero-img-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url("../img/hero.png") center center / cover no-repeat;
}
@supports (background-image: image-set(url("x.webp") 1x)) {
  .hero-img-bg {
    background-image: image-set(url("../img/hero.webp") 1x);
  }
}
.hero-dark-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(3,10,28,0.82) 0%, rgba(3,10,28,0.65) 50%, rgba(3,10,28,0.80) 100%),
    radial-gradient(ellipse 90% 80% at 50% 50%, rgba(3,10,28,0.45) 0%, transparent 70%);
}
.hero-grain {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.06; mix-blend-mode: soft-light;
  animation: heroGrain 8s steps(6) infinite;
}
.hero-content { max-width: 840px; position: relative; z-index: 10; }

/* ── Badge ── */
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.625rem;
  padding: 0.45rem 1.125rem; border-radius: 99px;
  background: rgba(37, 99, 235, 0.18); border: 1px solid rgba(99, 153, 255, 0.32);
  font-size: 1rem; font-weight: 600; color: rgba(130, 185, 255, 0.92);
  margin-bottom: 1.75rem;
  animation: fadeDown 0.7s ease both;
}
.pulse-dot {
  width: 0.45rem; height: 0.45rem; border-radius: 50%;
  background: #5aadff; flex-shrink: 0;
  animation: pulse 2.5s ease-in-out infinite;
}

/* ── Title ── */
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  font-weight: 900; line-height: 1.06;
  letter-spacing: -0.04em; color: var(--hero-text);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6);
  animation: fadeUp 0.5s ease 0.1s both;
}
.gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #818cf8 50%, #38bdf8 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ── Typewriter cursor ── */
.tw-cursor {
  display: inline-block; color: #60a5fa;
  font-weight: 300; margin-left: 3px;
  animation: twBlink 1s step-end infinite;
}
.tw-cursor.tw-done { animation: none; opacity: 0; }

/* ── Sub & CTA ── */
.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.15rem); line-height: 1.8;
  color: rgba(210, 228, 248, 0.92); max-width: 600px;
  margin: 0 auto 2.25rem;
  animation: fadeUp 0.8s ease 0.3s both;
}
.hero-sub strong { color: var(--hero-text); font-weight: 600; }

.hero-cta {
  display: flex; flex-wrap: wrap; gap: 0.875rem;
  justify-content: center; margin-bottom: 1.75rem;
  animation: fadeUp 0.8s ease 0.45s both;
}
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  justify-content: center; font-size: 1rem;
  color: rgba(195, 215, 248, 0.88);
  animation: fadeUp 0.8s ease 0.6s both;
}

/* ── Scroll hint ── */
.scroll-hint {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: rgba(100, 150, 210, 0.6); font-size: 0.6rem;
  text-transform: uppercase; letter-spacing: 0.2em; z-index: 10;
}
.scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, rgba(100, 160, 230, 0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ── Mobile ── */
@media (max-width: 640px) {
  .hero { padding: 6rem 1.25rem 3.5rem; }
  .hero-badge {
    font-size: 0.8rem; padding: 0.375rem 0.75rem; margin-bottom: 1.25rem;
    white-space: normal; text-align: center; max-width: 100%;
  }
  .hero-sub { margin-bottom: 1.75rem; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .hero-cta .btn-primary,
  .hero-cta .btn-ghost { text-align: center; width: 100%; }
  .hero-trust { gap: 0.75rem; font-size: 0.8125rem; flex-direction: column; align-items: center; }
  .scroll-hint { display: none; }
}

/* ── Keyframes ── */
@keyframes pulse      { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:.4; transform:scale(1.5); } }
@keyframes twBlink    { 0%,100% { opacity:1; } 50% { opacity:0; } }
@keyframes heroGrain  { 0%{background-position:0 0} 20%{background-position:-30px 10px} 40%{background-position:20px -20px} 60%{background-position:-10px 20px} 80%{background-position:30px 10px} 100%{background-position:0 0} }
@keyframes scrollPulse { 0%{transform:scaleY(0);transform-origin:top;opacity:0} 40%{transform:scaleY(1);transform-origin:top;opacity:1} 80%{transform:scaleY(1);transform-origin:bottom;opacity:0} 100%{transform:scaleY(0)} }
@keyframes fadeUp     { from { opacity:0; transform:translateY(22px); } to { opacity:1; transform:none; } }
@keyframes fadeDown   { from { opacity:0; transform:translateY(-12px); } to { opacity:1; transform:none; } }

/* ════════════════ TRUST BAR ════════════════ */
.trust-bar {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--bg2); padding: 1.25rem 0;
}
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 640px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-item {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-size: 1rem; font-weight: 600; color: var(--muted);
}
.trust-icon { font-size: 1rem; }

/* ════════════════ PROBLEM ════════════════ */
.problem-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1rem; margin-bottom: 2.5rem;
}
@media (min-width: 768px) { .problem-grid { grid-template-columns: repeat(4, 1fr); } }
.problem-card {
  padding: 1.5rem; background: #ffffff;
  border: 1px solid var(--border); border-radius: var(--r-md);
  box-shadow: var(--shadow-sm); transition: border-color 0.25s;
}
.problem-card:hover { border-color: rgba(239, 68, 68, 0.4); box-shadow: 0 4px 12px rgba(239, 68, 68, 0.08); }
.problem-icon { font-size: 1.75rem; margin-bottom: 0.875rem; }
.problem-card h3 { font-size: 1rem; font-weight: 700; color: var(--text-hi); margin-bottom: 0.5rem; }
.problem-card p  { font-size: 0.8125rem; color: var(--muted); line-height: 1.6; }
.problem-cta {
  text-align: center; padding: 2rem; border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(37,99,235,0.06), rgba(79,70,229,0.06));
  border: 1px solid rgba(37, 99, 235, 0.15);
}
.problem-cta p { color: var(--muted); margin-bottom: 1rem; font-size: 1.05rem; }

/* ════════════════ LEISTUNGEN ════════════════ */
.services-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card { padding: 2rem; position: relative; display: flex; flex-direction: column; }
.service-featured {
  border-color: rgba(139, 92, 246, 0.35) !important;
  box-shadow: 0 0 40px rgba(99, 102, 241, 0.12) !important;
}
.service-badge {
  position: absolute; top: -0.75rem; left: 1.75rem;
  background: var(--primary); color: #fff;
  font-size: 0.65rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em;
  padding: 0.25rem 0.875rem; border-radius: 99px;
}
.service-icon-wrap {
  width: 3rem; height: 3rem; border-radius: 0.875rem;
  background: var(--c, rgba(99,102,241,0.15));
  border: 1px solid var(--b, rgba(99,102,241,0.25));
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem;
}
.service-icon-wrap svg { width: 1.375rem; height: 1.375rem; color: #a5b4fc; }
.service-card h3 { font-size: 1.125rem; font-weight: 800; color: var(--text-hi); margin-bottom: 0.625rem; }
.service-card > p { font-size: 1rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.25rem; }
.service-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; margin-bottom: 1.5rem; }
.service-list li { font-size: 1rem; color: var(--muted); padding-left: 1.25rem; position: relative; }
.service-list li::before {
  content: ""; position: absolute; left: 0; top: 0.42rem;
  width: 0.375rem; height: 0.375rem; border-radius: 50%; background: var(--primary);
}
.service-link { font-size: 0.875rem; font-weight: 700; color: var(--primary); text-decoration: none; transition: color 0.2s; }
.service-link:hover { color: var(--primary-d); }

/* ════════════════ PROZESS ════════════════ */
.prozess-grid { display: grid; gap: 2rem; margin-bottom: 3rem; }
@media (min-width: 768px)  { .prozess-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .prozess-grid { grid-template-columns: repeat(4, 1fr); } }

.prozess-step {
  position: relative; padding: 1.75rem; background: #ffffff;
  border: 1px solid var(--border); border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.prozess-step:hover { border-color: rgba(37,99,235,0.3); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step-num {
  font-size: 3rem; font-weight: 900; color: rgba(37,99,235,0.15);
  line-height: 1; margin-bottom: 1rem; letter-spacing: -0.05em; font-variant-numeric: tabular-nums;
}
.step-body h3 { font-size: 1rem; font-weight: 700; color: var(--text-hi); margin-bottom: 0.5rem; }
.step-body p  { font-size: 1rem; color: var(--muted); line-height: 1.65; margin-bottom: 1rem; }
.step-tag {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  color: var(--primary); background: rgba(37,99,235,0.08);
  border: 1px solid rgba(37,99,235,0.2); border-radius: 99px; padding: 0.2rem 0.7rem;
}
.prozess-cta { text-align: center; }

/* ════════════════ STATS ════════════════ */
.stats-section {
  padding: 3.5rem 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--bg3);
}
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
@media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-item { text-align: center; }
.stat-num {
  font-size: 2.75rem; font-weight: 900; letter-spacing: -0.04em; line-height: 1; margin-bottom: 0.4rem;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-label { font-size: 0.8125rem; color: var(--muted); line-height: 1.4; }

/* ════════════════ ÜBER MICH ════════════════ */
.about-wrap { display: grid; gap: 0; overflow: hidden; }
@media (min-width: 900px) { .about-wrap { grid-template-columns: 1fr 1fr; } }

.about-media-col { position: relative; overflow: hidden; min-height: 360px; border-bottom: 1px solid var(--border); }
@media (min-width: 900px) { .about-media-col { border-bottom: none; border-right: 1px solid var(--glass-b); } }
.about-media-col img { width: 100%; height: 100%; object-fit: cover; display: block; }

.about-right { padding: 2.5rem; display: flex; flex-direction: column; }
.about-name  { font-size: 1.5rem; font-weight: 900; color: var(--text-hi); margin-bottom: 0.25rem; }
.about-role  { font-size: 0.875rem; color: var(--primary); font-weight: 600; margin-bottom: 1.5rem; }
.about-quote {
  font-size: 1.05rem; font-weight: 500; color: var(--text); line-height: 1.65;
  margin-bottom: 1.5rem; padding-left: 1.25rem; border-left: 3px solid var(--primary);
}
.about-quote strong { color: var(--text-hi); }
.about-text { font-size: 1rem; color: var(--muted); line-height: 1.8; margin-bottom: 1rem; }

.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.625rem; margin-top: 1.5rem; }
.tech-item {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1rem; background: var(--bg2);
  border: 1px solid var(--border); border-radius: var(--r-sm);
  font-size: 0.875rem; font-weight: 500; color: var(--text);
  transition: border-color 0.2s, background 0.2s;
}
.tech-item:hover { border-color: rgba(37,99,235,0.3); background: rgba(37,99,235,0.05); }
.tech-icon { font-size: 1.125rem; }
.about-contact { margin-top: auto; padding-top: 1.75rem; }

.cert-badges { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.cert-badge {
  display: inline-flex; align-items: center; gap: 0.625rem;
  padding: 0.5rem 0.875rem 0.5rem 0.5rem; background: var(--bg2);
  border: 1px solid var(--border); border-radius: var(--r-sm);
  font-size: 0.8125rem; font-weight: 600; color: var(--text);
  text-decoration: none; transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.cert-badge:hover, .cert-badge:focus-visible {
  border-color: rgba(37,99,235,0.4); background: rgba(37,99,235,0.06); transform: translateY(-1px);
}
.cert-badge-thumb {
  width: 3.5rem; height: auto; flex-shrink: 0; display: block;
  border-radius: 0.25rem; border: 1px solid var(--border); background: #fff;
}
@media (prefers-reduced-motion: reduce) { .cert-badge { transition: border-color 0.2s, background 0.2s; } }

/* ════════════════ BEWERTUNGEN ════════════════ */
.testimonial-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .testimonial-grid { grid-template-columns: 1fr 1fr; } }

.testimonial-card { padding: 2rem; display: flex; flex-direction: column; }
.testimonial-rating { display: flex; align-items: center; gap: 0.25rem; margin-bottom: 1.25rem; }
.testimonial-stars { color: var(--gold); font-size: 1.125rem; letter-spacing: 0.1em; line-height: 1; }
.testimonial-text {
  font-size: 1rem; color: var(--text); line-height: 1.75;
  margin-bottom: 1.5rem; flex: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
  flex-shrink: 0; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #fff; font-weight: 800; font-size: 1.0625rem;
  overflow: hidden;
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.testimonial-name { display: block; font-style: normal; font-size: 0.9375rem; font-weight: 700; color: var(--text-hi); }
.testimonial-meta { display: block; font-size: 0.8125rem; color: var(--muted); }
.testimonial-footer {
  display: flex; flex-direction: column; align-items: center; gap: 1.25rem;
  margin-top: 2.5rem; text-align: center;
}
.testimonial-source {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem; font-weight: 600; color: var(--muted);
  text-decoration: none; transition: color 0.2s;
}
.testimonial-source:hover, .testimonial-source:focus-visible { color: var(--primary); }
.testimonial-source svg { width: 1.125rem; height: 1.125rem; flex-shrink: 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ════════════════ PAKETE ════════════════ */
.packages-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .packages-grid { grid-template-columns: repeat(3, 1fr); } }

.package-card { padding: 2rem; display: flex; flex-direction: column; border-radius: var(--r-lg); }
.package-featured {
  background: linear-gradient(155deg, #1e1b4b 0%, #2e1065 100%);
  border: 1px solid rgba(139, 92, 246, 0.4);
  box-shadow: 0 8px 48px rgba(99, 102, 241, 0.2);
  position: relative;
}
@media (min-width: 768px) { .package-featured { transform: translateY(-1rem); } }

.package-card:not(.package-featured):hover {
  border-color: var(--primary) !important;
  background: rgba(37, 99, 235, 0.05);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.18);
  transform: translateY(-4px);
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s, transform 0.25s;
}

.package-featured-badge {
  position: absolute; top: -0.875rem; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff;
  font-size: 0.65rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em;
  padding: 0.3rem 1.1rem; border-radius: 99px; white-space: nowrap;
}
.package-tag   { font-size: 0.65rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 0.5rem; }
.package-title { font-size: 1.1rem; font-weight: 800; color: var(--text-hi); margin-bottom: 0.375rem; }
.package-featured .package-title { color: #fff; }
.package-desc  { font-size: 1rem; color: var(--muted); margin-bottom: 1.5rem; line-height: 1.6; }
.package-price { display: flex; align-items: baseline; gap: 0.375rem; margin-bottom: 1.5rem; }
.price-num     { font-size: 2.5rem; font-weight: 900; color: var(--text-hi); letter-spacing: -0.04em; }
.package-featured .price-num { color: #fff; }
.price-per     { font-size: 0.875rem; color: var(--muted); }

.package-features { list-style: none; flex: 1; display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }
.package-features li { font-size: 1rem; color: var(--text); padding-left: 1.375rem; position: relative; }
.package-features li::before {
  content: ""; position: absolute; left: 0; top: 0.42rem;
  width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--primary);
}
.package-features-light li { color: rgba(255, 255, 255, 0.9); }
.package-features-light li::before { background: #a5b4fc; }
.packages-note { text-align: center; margin-top: 2rem; font-size: 0.875rem; color: var(--muted); }

/* ════════════════ MOBILE ════════════════ */
@media (max-width: 639px) {
  /* Sections */
  .section { padding: 3.5rem 0; }
  .section-header { margin-bottom: 2rem; }

  /* Problem: 2 → 1 Spalte */
  .problem-grid { grid-template-columns: 1fr; }
  .problem-card { padding: 1.25rem; }

  /* Prozess */
  .prozess-grid { gap: 1.25rem; margin-bottom: 2rem; }
  .prozess-step { padding: 1.25rem; }

  /* Stats */
  .stats-section { padding: 2.5rem 0; }
  .stats-grid { gap: 1.5rem 1rem; }
  .stat-num { font-size: 2.25rem; }

  /* Über mich */
  .about-media-col { min-height: 240px; }
  .about-right { padding: 1.75rem 1.5rem; }
  .tech-grid { gap: 0.5rem; }
  .tech-item { padding: 0.625rem 0.75rem; font-size: 0.8125rem; }

  /* Pakete */
  .package-card { padding: 1.5rem; }
  .price-num { font-size: 2rem; }
}

/* ════════════════ FAQ ════════════════ */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: #ffffff; border: 1px solid var(--border);
  border-radius: var(--r-md); overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04); transition: border-color 0.25s;
}
.faq-item[open], .faq-item:hover { border-color: rgba(37,99,235,0.3); }
.faq-item summary {
  padding: 1.25rem 1.5rem; font-size: 1rem; font-weight: 600; color: var(--text-hi);
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.5rem; font-weight: 300;
  color: var(--muted); flex-shrink: 0; line-height: 1;
  transition: transform 0.3s, color 0.3s;
}
.faq-item[open] summary::after { transform: rotate(45deg); color: var(--primary); }
.faq-body { padding: 0 1.5rem 1.25rem; }
.faq-body p { font-size: 1rem; color: var(--muted); line-height: 1.75; }

/* ════════════════ KONTAKT ════════════════ */
.contact-wrapper { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 900px) { .contact-wrapper { grid-template-columns: 1fr 1fr; } }

.contact-left { padding-top: 0.5rem; }
.contact-left .section-tag   { margin-bottom: 0.875rem; }
.contact-left .section-title { text-align: left; margin-bottom: 1rem; }

.contact-benefits { display: flex; flex-direction: column; gap: 0.75rem; margin: 1.75rem 0; }
.contact-benefit  { display: flex; align-items: center; gap: 0.75rem; font-size: 1rem; color: var(--text); }
.benefit-icon {
  width: 1.375rem; height: 1.375rem; border-radius: 50%;
  background: rgba(16, 185, 129, 0.15); border: 1px solid rgba(16, 185, 129, 0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6875rem; color: #6ee7b7; flex-shrink: 0;
}
.contact-email {
  font-size: 0.9375rem; color: var(--muted);
  padding-top: 1rem; border-top: 1px solid var(--glass-b);
}
.contact-email a { color: inherit; text-decoration: none; }
.contact-email a:hover, .contact-email a:focus-visible { text-decoration: underline; }

/* ── Form ── */
.contact-form-wrap { padding: 2.25rem; }
.form-group { margin-bottom: 1.125rem; }
.form-row { display: grid; gap: 1.125rem; margin-bottom: 1.125rem; }
.form-row .form-group { margin-bottom: 0; }
@media (min-width: 480px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group label:not(.checkbox-label) {
  display: block; font-size: 0.65rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text); margin-bottom: 0.5rem;
}
.form-required-legend { font-size: 0.75rem; color: var(--muted); margin: -0.25rem 0 1.125rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; background: var(--bg2);
  border: 1px solid var(--border); border-radius: var(--r-sm);
  padding: 0.875rem 1rem; color: var(--text-hi);
  font-size: 1rem; font-family: inherit;
  outline: none; resize: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 1.1rem;
  padding-right: 2.75rem;
}
.form-group select:invalid { color: var(--dim); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--dim); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18);
}
.form-note { font-size: 0.8125rem; color: var(--muted); line-height: 1.6; margin: -0.375rem 0 1.125rem; }

.btn-submit { width: 100%; font-size: 1rem; padding: 0.9rem; margin-top: 0.25rem; position: relative; }
.spinner    { width: 1.25rem; height: 1.25rem; animation: spin 0.8s linear infinite; position: absolute; }
.hidden     { display: none !important; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-success {
  margin-top: 1rem; display: flex; align-items: center; gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: var(--r-sm); color: #6ee7b7; font-size: 0.9375rem;
}
.form-success svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.form-error {
  margin-top: 1rem; padding: 0.875rem 1rem;
  background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--r-sm); color: #fca5a5; font-size: 0.9375rem;
}

/* ── Mobile ── */
@media (max-width: 639px) {
  .contact-wrapper { gap: 2rem; }
  .contact-form-wrap { padding: 1.5rem 1.25rem; }
}

/* ── DSGVO Checkbox ── */
.checkbox-label {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 1rem; color: var(--muted); cursor: pointer; line-height: 1.4;
}
.checkbox-label input[type="checkbox"] {
  width: 1.2rem; height: 1.2rem; flex-shrink: 0; margin-top: 0.15rem;
  accent-color: #1e40af; cursor: pointer;
}
.checkbox-label a { color: var(--primary); text-decoration: underline; }
.checkbox-label a:hover, .checkbox-label a:focus-visible { color: var(--primary-d); }

/* ════════════════ FOOTER ════════════════ */
.site-footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
  background:
    linear-gradient(rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.75)),
    url('../img/footer.png') center center / cover no-repeat, #0f172a;
  position: relative;
}
@supports (background-image: image-set(url("x.webp") 1x)) {
  .site-footer {
    background-image:
      linear-gradient(rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.75)),
      image-set(url('../img/footer.webp') 1x), none;
  }
}
.footer-grid { display: grid; gap: 2.5rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }

.footer-logo { margin-bottom: 0.875rem; display: inline-flex; }
.footer-desc { font-size: 1rem; color: var(--dim); line-height: 1.75; }

.site-footer h3 {
  color: rgba(255, 255, 255, 0.85); font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem;
}
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.625rem; }
.site-footer ul li,
.site-footer ul a { font-size: 1rem; color: var(--dim); text-decoration: none; transition: color 0.2s; }
.site-footer ul a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid var(--glass-b); padding-top: 1.5rem;
  text-align: center; font-size: 0.8125rem; color: var(--dim);
}

/* ════════════════ STICKY CTA (Mobile) ════════════════ */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  display: none; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(16px);
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
@media (max-width: 767px) { .sticky-cta { display: flex; } }
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta-text { font-size: 0.875rem; font-weight: 600; color: var(--text-hi); }
.sticky-cta .btn-sm { min-height: 44px; }

/* ════════════════ SCROLL REVEAL ════════════════ */
.js [data-reveal] {
  opacity: 0; transform: translateY(22px); filter: blur(6px);
  transition: opacity 0.7s ease, transform 0.7s ease, filter 0.7s ease;
}
.js [data-reveal].revealed { opacity: 1; transform: none; filter: blur(0); }

/* ════════════════ SKIP LINK ════════════════ */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: #fff; color: var(--text-hi); font-weight: 700;
  padding: 1rem 1.5rem; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* ════════════════ REDUCED MOTION ════════════════ */
@media (prefers-reduced-motion: reduce) {
  .hero-grain { animation: none; }
  .js [data-reveal] { transition: opacity 0.3s ease; filter: none; }
  .pulse-dot,
  .scroll-line,
  .tw-cursor { animation: none; }
  .scroll-line { opacity: 1; transform: scaleY(1); }
}
