/* ── Lokale Variable Fonts ─────────────────────────────────── */
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-VariableFont_opsz,wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Italic-VariableFont_opsz,wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/SpaceGrotesk-VariableFont_wght.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   STEUERKANZLEI ISMAIL v2 — Design Tokens
   Mobile First | Royal Blue Frosted Glass
   ============================================================ */
:root {
  /* Farben */
  --bg:              #050B1A;
  --surface:         #0B1730;
  --surface-alt:     #0E1E3A;
  --brand:           #2450D8;
  --brand-hover:     #193EAF;
  --light:           #74D7FF;
  --text:            #F6F9FF;
  --text-secondary:  #C3CEE3;
  --text-muted:      #7A8BAD;

  /* Glow */
  --brand-glow:      rgba(36,80,216,.50);
  --light-glow:      rgba(116,215,255,.35);

  /* Glass */
  --glass-bg:        rgba(255,255,255,.06);
  --glass-bg-hover:  rgba(255,255,255,.10);
  --glass-border:    rgba(180,218,255,.20);
  --glass-border-hover: rgba(116,215,255,.45);
  --glass-blur:      blur(24px) saturate(180%);

  /* Radien */
  --r-sm:  6px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-2xl: 40px;

  /* Typografie */
  --font-sans:    'Inter', 'Liberation Sans', system-ui, sans-serif;      /* Body */
  --font-display: 'Space Grotesk', 'Inter', sans-serif;  /* Headlines */

  /* Spacing (8px-Raster) */
  --s-1:  0.5rem;   /*  8px */
  --s-2:  1rem;     /* 16px */
  --s-3:  1.5rem;   /* 24px */
  --s-4:  2rem;     /* 32px */
  --s-6:  3rem;     /* 48px */
  --s-8:  4rem;     /* 64px */
  --s-12: 6rem;     /* 96px */
  --s-16: 8rem;     /* 128px */

  /* Animationen */
  --ease:     cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in:  cubic-bezier(0.55, 0, 1, 0.45);
  --dur-fast: 160ms;
  --dur-med:  300ms;
  --dur-slow: 600ms;

  /* Nav-Höhe (für padding-top) */
  --nav-h: 64px;
}

/* ============================================================
   BASE — Reset, Typografie, Utilities | Mobile First
   ============================================================ */

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); scroll-snap-type: y proximity; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; scroll-snap-type: none; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; }

/* Skip Link */
.skip-link {
  position: absolute; top: -100%; left: var(--s-2);
  background: var(--brand); color: var(--text);
  padding: var(--s-1) var(--s-2);
  border-radius: var(--r-sm);
  font-weight: 600; font-size: .9rem;
  z-index: 9999;
  transition: top var(--dur-fast);
}
.skip-link:focus { top: var(--s-2); }

/* Focus */
:focus-visible {
  outline: 2px solid var(--light);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* Typografie — Mobile First */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -.01em;
}
h1 { font-size: clamp(1.9rem, 8vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 5vw, 2.6rem);  font-weight: 700; }
h3 { font-size: clamp(1.15rem, 3.5vw, 1.65rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

p { color: var(--text-secondary); }
p + p { margin-top: var(--s-2); }

.lead {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.65;
}

.label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--light);
}

/* Container — Mobile First */
.container {
  width: 100%;
  padding-inline: var(--s-3);
  margin-inline: auto;
}
@media (min-width: 640px)  { .container { padding-inline: var(--s-4); } }
@media (min-width: 1024px) { .container { max-width: 1200px; padding-inline: var(--s-6); } }
@media (min-width: 1280px) { .container { padding-inline: var(--s-8); } }

/* Section */
.hero, .section, .page-header, .cta-section { scroll-snap-align: start; }
.section { padding-block: var(--s-6); }
.section-sm { padding-block: var(--s-4); }
@media (min-width: 768px) {
  .section { padding-block: var(--s-8); }
  .section-sm { padding-block: var(--s-6); }
}

.section-header { margin-bottom: var(--s-4); }
.section-header .label { margin-bottom: var(--s-1); }
.section-header h2 { margin-bottom: var(--s-2); }
.section-header p { max-width: 58ch; }

/* Glass */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}
.glass-strong {
  background: rgba(36,80,216,.10);
  border: 1px solid rgba(116,215,255,.25);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
}

/* Noise-Overlay (Frosted Texture) */
.glass::after,
.glass-strong::after,
.glass-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
/* Eltern brauchen position:relative */
.glass, .glass-strong { position: relative; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-1);
  padding: .75rem var(--s-3);
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: .9rem;
  line-height: 1;
  min-height: 48px;
  min-width: 48px;
  transition:
    background var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease),
    transform var(--dur-fast) var(--ease),
    border-color var(--dur-fast);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn:focus-visible { outline: 2px solid var(--light); outline-offset: 3px; }

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 0 28px var(--brand-glow);
}
.btn-primary:hover {
  background: var(--brand-hover);
  box-shadow: 0 0 40px var(--brand-glow);
  transform: translateY(-1px);
}

.btn-ghost {
  background: var(--glass-bg);
  color: var(--light);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-ghost:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
}

/* Grids — Mobile First */
.grid-auto {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
}
@media (min-width: 640px)  { .grid-auto { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-auto { grid-template-columns: repeat(3, 1fr); } }

.grid-2 { display: grid; grid-template-columns: 1fr; gap: var(--s-3); }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }

.grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-2); }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* Two-col content */
.two-col { display: grid; grid-template-columns: 1fr; gap: var(--s-6); align-items: start; }
@media (min-width: 860px) { .two-col { grid-template-columns: 1fr 1fr; gap: var(--s-8); } }

/* Utilities */
.text-center { text-align: center; }
.text-light   { color: var(--light); }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
  margin-block: var(--s-6);
}
.glow-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--light), transparent);
  opacity: .4;
}

/* Checklist */
.checklist { display: flex; flex-direction: column; gap: .45rem; }
.checklist li {
  display: flex; align-items: flex-start; gap: .65rem;
  font-size: .9rem; color: var(--text-secondary); line-height: 1.45;
}
.checklist li::before {
  content: '';
  width: 18px; height: 18px; flex-shrink: 0; margin-top: .1rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2374D7FF' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Breadcrumb */
.breadcrumb {
  display: flex; align-items: center; flex-wrap: wrap; gap: .4rem;
  font-size: .8rem; color: var(--text-muted); margin-bottom: var(--s-2);
}
.breadcrumb a { transition: color var(--dur-fast); }
.breadcrumb a:hover { color: var(--light); }
.breadcrumb-sep { color: rgba(116,215,255,.3); }

/* Highlight Box */
.highlight-box {
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-lg);
  background: rgba(36,80,216,.10);
  border: 1px solid rgba(116,215,255,.20);
  border-left: 3px solid var(--light);
  position: relative;
}
.highlight-box p { color: var(--text); font-size: .92rem; max-width: 100%; }

/* Content Card — Mobile-First kompakt */
.content-card {
  padding: var(--s-3);
  border-radius: var(--r-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  position: relative;
  transition: border-color var(--dur-med), transform var(--dur-med) var(--ease), box-shadow var(--dur-med);
}
.content-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,0,0,.4);
}
.content-card::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* Card Icon — inline neben H3 für minimale Scroll-Höhe */
.card-icon {
  width: 38px; height: 38px;
  border-radius: var(--r-md);
  background: rgba(36,80,216,.20);
  border: 1px solid rgba(116,215,255,.20);
  display: flex; align-items: center; justify-content: center;
  color: var(--light);
  margin-bottom: 0;
  flex-shrink: 0;
}
.card-icon svg { width: 20px; height: 20px; }

.content-card.has-icon,
.content-card:has(> .card-icon) {
  display: grid;
  grid-template-columns: 38px 1fr;
  column-gap: .75rem;
  align-items: center;
  align-content: start;
}
.content-card.has-icon > .card-icon,
.content-card:has(> .card-icon) > .card-icon {
  grid-column: 1;
}
.content-card.has-icon > h3,
.content-card:has(> .card-icon) > h3 {
  grid-column: 2;
  margin-bottom: 0;
  font-size: 1.02rem;
  line-height: 1.25;
}
.content-card.has-icon > :not(.card-icon):not(h3),
.content-card:has(> .card-icon) > :not(.card-icon):not(h3) {
  grid-column: 1 / -1;
}
.content-card.has-icon > p,
.content-card:has(> .card-icon) > p {
  margin-top: .5rem !important;
  font-size: .88rem;
  line-height: 1.5;
}

/* Page Header */
.page-header {
  padding-top: calc(var(--nav-h) + var(--s-6));
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) {
  .page-header {
    padding-top: calc(var(--nav-h) + var(--s-8));
    padding-bottom: var(--s-6);
  }
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(36,80,216,.18) 0%, transparent 70%);
  pointer-events: none;
}

/* CTA Section */
.cta-section {
  padding-block: var(--s-6);
  text-align: center;
  position: relative;
}
@media (min-width: 768px) {
  .cta-section { padding-block: var(--s-8); }
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(36,80,216,.14) 0%, transparent 70%);
  pointer-events: none;
}
.cta-box {
  position: relative; z-index: 1;
  max-width: 640px; margin-inline: auto;
  padding: var(--s-6) var(--s-4);
  border-radius: var(--r-xl);
}
@media (min-width: 640px) { .cta-box { padding: var(--s-8) var(--s-6); } }
.cta-box h2 { margin-bottom: var(--s-2); }
.cta-box > p { margin-bottom: var(--s-4); margin-inline: auto; max-width: 48ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--s-2); justify-content: center; }
.cta-email {
  display: block; margin-top: var(--s-3);
  font-size: .85rem; color: var(--text-muted);
}
.cta-email a { color: var(--light); text-decoration: underline; }

/* Badge */
.badge {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .3rem .85rem;
  border-radius: 100px;
  font-size: .75rem; font-weight: 600;
  background: rgba(36,80,216,.18);
  border: 1px solid rgba(116,215,255,.28);
  color: var(--light);
}

/* ============================================================
   ORBS — Animierter Hintergrund-Layer
   Erzeugt den Kontrast den Glassmorphism braucht
   ============================================================ */

.orb-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
  opacity: 0;
  animation: orb-fade-in 1.2s var(--ease) forwards;
}

/* Farben & Positionen */
.orb-1 {
  width: min(600px, 80vw);
  height: min(600px, 80vw);
  background: radial-gradient(circle, rgba(36,80,216,.65) 0%, rgba(36,80,216,.0) 70%);
  top: -15%;
  right: -10%;
  animation-delay: 0s;
  animation: orb-fade-in 1.2s var(--ease) forwards, orb-drift-1 22s ease-in-out infinite 1.2s;
}
.orb-2 {
  width: min(500px, 70vw);
  height: min(500px, 70vw);
  background: radial-gradient(circle, rgba(116,215,255,.35) 0%, rgba(116,215,255,.0) 70%);
  bottom: 10%;
  left: -8%;
  animation: orb-fade-in 1.4s var(--ease) forwards, orb-drift-2 28s ease-in-out infinite 1.4s;
}
.orb-3 {
  width: min(400px, 60vw);
  height: min(400px, 60vw);
  background: radial-gradient(circle, rgba(36,80,216,.45) 0%, rgba(36,80,216,.0) 70%);
  top: 40%;
  left: 30%;
  animation: orb-fade-in 1.6s var(--ease) forwards, orb-drift-3 34s ease-in-out infinite 1.6s;
}
.orb-4 {
  width: min(350px, 55vw);
  height: min(350px, 55vw);
  background: radial-gradient(circle, rgba(116,215,255,.25) 0%, rgba(116,215,255,.0) 70%);
  top: 20%;
  left: 10%;
  animation: orb-fade-in 1.8s var(--ease) forwards, orb-drift-4 26s ease-in-out infinite 1.8s;
}
.orb-5 {
  width: min(300px, 50vw);
  height: min(300px, 50vw);
  background: radial-gradient(circle, rgba(36,80,216,.38) 0%, rgba(36,80,216,.0) 70%);
  bottom: -5%;
  right: 20%;
  animation: orb-fade-in 2s var(--ease) forwards, orb-drift-5 30s ease-in-out infinite 2s;
}

@keyframes orb-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Drift-Animationen — jeder Orb bewegt sich anders */
@keyframes orb-drift-1 {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(-60px, 80px) scale(1.08); }
  66%      { transform: translate(40px, -50px) scale(.94); }
}
@keyframes orb-drift-2 {
  0%,100% { transform: translate(0,0) scale(1); }
  40%      { transform: translate(80px, -60px) scale(1.12); }
  70%      { transform: translate(-30px, 40px) scale(.92); }
}
@keyframes orb-drift-3 {
  0%,100% { transform: translate(0,0) scale(1); }
  30%      { transform: translate(-50px, -70px) scale(1.06); }
  65%      { transform: translate(70px, 50px) scale(.96); }
}
@keyframes orb-drift-4 {
  0%,100% { transform: translate(0,0) scale(1); }
  45%      { transform: translate(60px, 80px) scale(1.10); }
  75%      { transform: translate(-40px, -30px) scale(.95); }
}
@keyframes orb-drift-5 {
  0%,100% { transform: translate(0,0) scale(1); }
  35%      { transform: translate(-70px, -40px) scale(1.05); }
  70%      { transform: translate(50px, 60px) scale(.97); }
}

/* Reduced motion: keine Drift-Animation, Orbs bleiben statisch sichtbar */
@media (prefers-reduced-motion: reduce) {
  .orb {
    animation: orb-fade-in 1s ease forwards !important;
  }
}

/* ============================================================
   NAVIGATION & FOOTER | Mobile First
   ============================================================ */

/* ── Nav ──────────────────────────────────────────────────── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex; align-items: center;
  padding-inline: var(--s-3);
  background: rgba(5,11,26,.75);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-bottom: 1px solid var(--glass-border);
  transition: background var(--dur-med);
}
.site-nav.scrolled { background: rgba(5,11,26,.95); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: 1200px; margin-inline: auto;
  gap: var(--s-2);
}

/* Logo */
.nav-logo {
  display: flex; align-items: center; gap: .6rem;
  flex-shrink: 0; text-decoration: none;
}
.nav-logo-mark {
  width: 34px; height: 34px;
  border-radius: var(--r-sm);
  background: var(--brand);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 18px var(--brand-glow);
  flex-shrink: 0;
}
.nav-logo-mark svg { width: 18px; height: 18px; color: #fff; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo-name { font-family: var(--font-display); font-size: .88rem; font-weight: 700; color: var(--text); }
.nav-logo-sub  { font-size: .62rem; color: var(--text-muted); letter-spacing: .03em; }

/* Desktop Links — versteckt auf Mobile */
.nav-links {
  display: none;
  align-items: center; gap: .15rem;
}
@media (min-width: 960px) { .nav-links { display: flex; } }

.nav-links a {
  display: block;
  padding: .4rem .62rem;
  border-radius: var(--r-sm);
  font-size: .83rem; font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--dur-fast), background var(--dur-fast);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); background: var(--glass-bg); }
.nav-links a[aria-current="page"] { color: var(--light); }

/* Desktop CTA */
.nav-cta { display: none; }
@media (min-width: 960px) { .nav-cta { display: flex; } }
.nav-cta .btn { padding: .55rem 1.2rem; font-size: .83rem; min-height: 40px; }

/* Mobile Toggle */
.nav-toggle {
  display: flex;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: var(--r-sm);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text);
  flex-shrink: 0;
}
@media (min-width: 960px) { .nav-toggle { display: none; } }
.nav-toggle svg { width: 20px; height: 20px; transition: transform var(--dur-med); }
.nav-toggle[aria-expanded="true"] svg { transform: rotate(90deg); }

/* Mobile Menu */
.nav-mobile {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 199;
  background: rgba(5,11,26,.97);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  padding: var(--s-4) var(--s-3);
  overflow-y: auto;
  flex-direction: column;
  gap: var(--s-1);
}
.nav-mobile.open { display: flex; }

.nav-mobile a {
  display: block;
  padding: var(--s-2) var(--s-2);
  border-radius: var(--r-md);
  font-size: 1.05rem; font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--glass-border);
  transition: color var(--dur-fast), background var(--dur-fast);
}
.nav-mobile a:hover { color: var(--text); background: var(--glass-bg); }
.nav-mobile a[aria-current="page"] { color: var(--light); }
.nav-mobile .btn {
  margin-top: var(--s-3);
  width: 100%;
  justify-content: center;
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--glass-border);
  padding-top: var(--s-8);
  padding-bottom: var(--s-4);
  margin-top: var(--s-4);
  position: relative; z-index: 1;
}

/* Mobile: gestapelt */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  margin-bottom: var(--s-6);
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--s-8); }
}

.footer-brand .nav-logo { margin-bottom: var(--s-2); }
.footer-brand p { font-size: .88rem; max-width: 28ch; margin-top: var(--s-1); }
.footer-brand .footer-email {
  display: inline-block;
  margin-top: var(--s-2);
  font-size: .85rem;
  color: var(--light);
}

.footer-col h3,
.footer-col h4 {
  font-size: .75rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--light); margin-bottom: var(--s-2);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--s-1); }
.footer-col a {
  font-size: .88rem; color: var(--text-secondary);
  transition: color var(--dur-fast);
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: var(--s-2);
  padding-top: var(--s-3);
  border-top: 1px solid var(--glass-border);
  font-size: .8rem; color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted); transition: color var(--dur-fast); }
.footer-bottom a:hover { color: var(--text); }

/* ── DATEV Smart Transfer Badge im Footer ────────────────── */
.footer-bottom-datev {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-1);
  flex-wrap: wrap;
  padding-block: var(--s-3);
  margin-bottom: var(--s-3);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}
.footer-datev-label {
  font-size: .78rem;
  color: var(--text-muted);
}
.footer-datev-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--light);
}
.footer-datev-badge img { height: 28px; width: auto; display: block; }


.hero-datev-badge:hover {
  border-color: var(--glass-border-hover);
  box-shadow: 0 4px 20px rgba(36,80,216,.25);
}
.footer-datev-badge:hover {
  opacity: .85;
}

/* ============================================================
   HERO | Mobile First — Einspaltig, Partikelfeld als Hintergrund
   ============================================================ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
  z-index: 1;
}

/* Hintergrund-Gitter */
.hero-grid-bg {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(116,215,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(116,215,255,.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 100% 100% at 50% 0%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 100% 100% at 50% 0%, black 20%, transparent 80%);
}

/* Partikelfeld-Canvas */
#particle-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1s ease;
}
#particle-canvas.ready { opacity: 1; }

/* Inner Layout — einspaltig, zentriert auf großen Screens begrenzt */
.hero-inner {
  position: relative; z-index: 2;
  width: 100%;
  padding-inline: var(--s-3);
  max-width: 1200px;
  margin-inline: auto;
  padding-block: var(--s-8);
}
@media (min-width: 640px) { .hero-inner { padding-inline: var(--s-4); } }
@media (min-width: 860px) { .hero-inner { padding-block: var(--s-12); } }
@media (min-width: 1024px) { .hero-inner { padding-inline: var(--s-6); } }

/* ── Text-Seite ─────────────────────────────────────────── */
.hero-content { max-width: 680px; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .35rem .9rem;
  border-radius: 100px;
  background: rgba(36,80,216,.16);
  border: 1px solid rgba(116,215,255,.30);
  font-size: .73rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--light);
  margin-bottom: var(--s-3);
}
.hero-eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--light);
  box-shadow: 0 0 8px var(--light);
  animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink {
  0%,100% { opacity: 1; } 50% { opacity: .3; }
}
@media (prefers-reduced-motion: reduce) { .hero-eyebrow-dot { animation: none; } }

.hero-content h1 {
  margin-bottom: var(--s-3);
  color: var(--text);
}

.hero-content .lead { margin-bottom: var(--s-4); max-width: 56ch; }

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
@media (min-width: 480px) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
}

/* ── DATEV Smart Transfer Logo — faded on scroll ────────── */
.hero-datev-badge {
  position: absolute;
  bottom: var(--s-4);
  right: var(--s-3);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .9rem;
  border-radius: var(--r-md);
  background: rgba(8,16,40,.7);
  border: 1px solid rgba(116,215,255,.20);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: .68rem;
  color: var(--text-muted);
  transition: opacity var(--dur-med) ease;
}
@media (min-width: 640px) { .hero-datev-badge { right: var(--s-4); } }
@media (min-width: 1024px) { .hero-datev-badge { right: var(--s-6); } }
.hero-datev-badge img { height: 30px; width: auto; display: block; opacity: .95; }
.hero-datev-badge span { white-space: nowrap; }


.hero-datev-badge:hover {
  border-color: var(--glass-border-hover);
  box-shadow: 0 4px 20px rgba(36,80,216,.25);
}
.footer-datev-badge:hover {
  opacity: .85;
}

/* ============================================================
   KOMPONENTEN | Mobile First
   ============================================================ */

/* ── Trust Bar ───────────────────────────────────────────── */
.trust-bar {
  padding-block: var(--s-4);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  position: relative; z-index: 1;
  background: rgba(5,11,26,.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.trust-items {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: var(--s-3) var(--s-6);
}
.trust-item {
  display: flex; align-items: center; gap: .65rem;
  font-size: .88rem; font-weight: 500; color: var(--text-secondary);
}
.trust-item svg { width: 20px; height: 20px; color: var(--light); flex-shrink: 0; }

/* ── Leistungslandschaft ─────────────────────────────────── */
/* Mobile: alle Karten gleich groß gestapelt */
.leistungen-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-2);
}
@media (min-width: 640px) {
  .leistungen-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .leistungen-grid { grid-template-columns: repeat(3, 1fr); }
}

.leistung-card {
  display: grid;
  grid-template-columns: 38px 1fr;
  column-gap: .75rem;
  align-items: center;
  align-content: start;
  padding: var(--s-3);
  border-radius: var(--r-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  text-decoration: none;
  position: relative; overflow: hidden;
  transition:
    transform var(--dur-med) var(--ease),
    border-color var(--dur-med),
    box-shadow var(--dur-med);
}
.leistung-card::after {
  content: '';
  position: absolute; inset: 0; border-radius: inherit;
  pointer-events: none; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
.leistung-card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-hover);
  box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 40px rgba(36,80,216,.12);
}
.leistung-card:focus-visible { outline: 2px solid var(--light); outline-offset: 3px; }

.leistung-icon {
  width: 38px; height: 38px;
  border-radius: var(--r-md);
  background: rgba(36,80,216,.22);
  border: 1px solid rgba(116,215,255,.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--light); margin-bottom: 0;
  grid-column: 1;
}
.leistung-icon svg { width: 20px; height: 20px; }
.leistung-card h3 { grid-column: 2; margin-bottom: 0; font-size: 1.04rem; line-height: 1.25; }
.leistung-card p { grid-column: 1 / -1; margin-top: .55rem; font-size: .86rem; line-height: 1.48; }
.leistung-link {
  grid-column: 1 / -1;
  display: inline-flex; align-items: center; gap: .35rem;
  margin-top: .65rem;
  font-size: .83rem; font-weight: 600; color: var(--light);
  transition: gap var(--dur-fast);
}
.leistung-card:hover .leistung-link { gap: .6rem; }
.leistung-link svg { width: 14px; height: 14px; }

/* ── Prozess-Schritte ────────────────────────────────────── */
/* Mobile: vertikal */
.process-steps {
  display: flex; flex-direction: column; gap: var(--s-2);
  position: relative;
}
@media (min-width: 768px) {
  .process-steps {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--s-2);
  }
  .process-steps::before {
    content: '';
    position: absolute;
    top: 28px; left: calc(10% + 28px); right: calc(10% + 28px);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), var(--glass-border), transparent);
  }
}

.process-step {
  display: flex; align-items: center; gap: var(--s-2);
  padding: var(--s-2);
  border-radius: var(--r-md);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: border-color var(--dur-med), box-shadow var(--dur-med);
  position: relative; z-index: 1;
  cursor: default;
}
@media (min-width: 768px) {
  .process-step {
    flex: 1;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: none;
    border: none;
    padding: 0;
  }
}
.process-step.active { border-color: rgba(116,215,255,.45); box-shadow: 0 0 20px rgba(36,80,216,.18); }
@media (min-width: 768px) {
  .process-step { cursor: pointer; }
  .process-step:hover, .process-step.active { border-color: rgba(116,215,255,.45); box-shadow: 0 0 24px rgba(36,80,216,.2); }
}

.process-num {
  width: 52px; height: 52px; flex-shrink: 0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface);
  border: 2px solid var(--glass-border);
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700; color: var(--text-muted);
  transition: border-color var(--dur-med), color var(--dur-med), box-shadow var(--dur-med), background var(--dur-med);
}
.process-step.active .process-num {
  border-color: var(--light);
  color: var(--light);
  box-shadow: 0 0 22px var(--light-glow);
  background: rgba(36,80,216,.18);
}

.process-text h3,
.process-text h4 { font-size: .88rem; font-weight: 600; }
.process-text p  { font-size: .78rem; color: var(--text-muted); margin-top: .15rem; max-width: 14ch; margin-inline: auto; }
@media (min-width: 768px) { .process-text { margin-top: var(--s-2); } }

/* ── Team Card ───────────────────────────────────────────── */
.team-card {
  padding: var(--s-4);
  border-radius: var(--r-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  display: flex; flex-direction: column; gap: var(--s-3);
  position: relative; overflow: hidden;
}
.team-card::after {
  content: '';
  position: absolute; inset: 0; border-radius: inherit;
  pointer-events: none; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
.team-avatar {
  width: 68px; height: 68px; border-radius: 50%;
  background: rgba(36,80,216,.22);
  border: 2px solid rgba(116,215,255,.28);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 700;
  color: var(--light); flex-shrink: 0;
}
.team-name { font-size: 1.05rem; font-weight: 600; margin-bottom: .15rem; }
.team-role {
  font-size: .75rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--light);
}
.team-card p { font-size: .88rem; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: .4rem; }
.faq-item {
  border-radius: var(--r-md);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  overflow: hidden;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  position: relative;
}
.faq-item::after {
  content: '';
  position: absolute; inset: 0; border-radius: inherit;
  pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
.faq-btn {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s-2) var(--s-3);
  font-size: .92rem; font-weight: 600; color: var(--text);
  text-align: left; gap: var(--s-2); cursor: pointer;
  transition: background var(--dur-fast);
  position: relative; z-index: 1;
  min-height: 56px;
}
.faq-btn:hover { background: rgba(36,80,216,.07); }
.faq-btn:focus-visible { outline: 2px solid var(--light); outline-offset: -2px; }
.faq-icon {
  flex-shrink: 0; width: 18px; height: 18px;
  color: var(--light);
  transition: transform var(--dur-med) var(--ease);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-body {
  max-height: 0; overflow: hidden;
  transition: max-height var(--dur-med) var(--ease);
  position: relative; z-index: 1;
}
.faq-item.open .faq-body { max-height: 400px; }
.faq-body-inner { padding: 0 var(--s-3) var(--s-3); }
.faq-body-inner p { font-size: .88rem; max-width: 100%; }

/* ── Team Grid (2 Frames: Text zusammengeführt + Foto Hochformat) ── */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
}
@media (min-width: 700px) {
  .team-grid { grid-template-columns: 1.3fr 1fr; align-items: stretch; }
}
.team-card-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.team-card-photo {
  padding: 0;
  overflow: hidden;
  min-height: 280px;
}
@media (min-width: 700px) { .team-card-photo { min-height: 100%; } }
.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.team-card-photo picture {
  display: block;
  width: 100%;
  height: 100%;
}


/* ── Aktuelles / Artikel-Übersicht & Beiträge ─────────────── */
.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
}
@media (min-width: 768px) {
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
}

.article-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--s-4);
  border-radius: var(--r-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-med) var(--ease), border-color var(--dur-med), box-shadow var(--dur-med);
}
.article-card:hover {
  transform: translateY(-3px);
  border-color: var(--glass-border-hover);
  box-shadow: 0 16px 48px rgba(0,0,0,.45), 0 0 32px rgba(36,80,216,.12);
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .75rem;
  margin-bottom: var(--s-2);
  font-size: .78rem;
  color: var(--text-muted);
}
.article-tag {
  display: inline-flex;
  align-items: center;
  padding: .2rem .65rem;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .03em;
  background: rgba(36,80,216,.24);
  border: 1px solid rgba(116,215,255,.28);
  color: var(--light);
}
.article-card h2,
.article-card h3 {
  font-size: 1.15rem;
  line-height: 1.3;
  margin-bottom: .6rem;
  color: var(--text);
}
.article-card p {
  font-size: .9rem;
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 100%;
}
.article-points {
  margin-top: var(--s-2);
  padding-top: var(--s-2);
  border-top: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.article-points li {
  font-size: .84rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: .5rem;
}
.article-points li::before {
  content: '•';
  color: var(--light);
  font-weight: 700;
}

.article-body {
  max-width: 780px;
  margin-inline: auto;
}
.article-body h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  margin-top: var(--s-6);
  margin-bottom: var(--s-2);
}
.article-body p {
  margin-bottom: var(--s-2);
  max-width: 100%;
}
.article-note {
  margin-top: var(--s-6);
  padding: var(--s-3);
  border-radius: var(--r-md);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--glass-border);
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.5;
}
