/* ═══════════════════════════
   LOCAL FONTS – Inter
   Dateien liegen in /fonts/
═══════════════════════════ */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-SemiBold.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-ExtraBold.woff2') format('woff2');
  font-weight: 800; font-style: normal; font-display: swap;
}

/* ═══════════════════════════
   DESIGN TOKENS
═══════════════════════════ */
:root {
  --bg:        #0a0a0a;
  --bg2:       #0f0f0f;
  --bg3:       #141414;
  --card:      #161616;
  --border:    rgba(255,255,255,0.06);
  --text:      #f1f5f9;
  --muted:     #b0bcc8;
  --cyan:      #00b2ff;
  --cyan-glow: rgba(0,178,255,0.25);
  --cyan-dim:  rgba(0,178,255,0.10);
  --font:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius:    16px;
  --px:        max(24px, calc((100% - 1200px) / 2));
}

/* ═══════════════════════════
   RESET
═══════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font);
  background: var(--bg);
  overflow-x: hidden;
  color: var(--text);
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border-width: 0;
}

/* ═══════════════════════════
   NAVIGATION
═══════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--px);
  background: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

.nav.scrolled {
  background: rgba(10,10,10,0.88);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 20px rgba(0,0,0,0.6);
}

.nav-logo {
  display: flex; align-items: center; gap: 16px;
  font-weight: 700; font-size: 0.9rem; color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em; white-space: nowrap;
}

.nav-logo img { height: 32px; width: auto; object-fit: contain; }

.nav-logo-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.10);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.nav-logo-icon svg { width: 17px; height: 17px; color: var(--cyan); }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  font-size: 0.875rem; font-weight: 500; color: var(--text);
  position: relative; overflow: hidden;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: skewX(-15deg);
  opacity: 0;
  pointer-events: none;
}
.nav-links a:hover::after {
  animation: btn-sweep 0.5s ease forwards;
}
.nav-links a.active { color: var(--cyan); }

.nav-cta {
  display: inline-flex; align-items: center;
  background: var(--cyan); color: #000 !important;
  font-weight: 600; font-size: 0.875rem;
  padding: 9px 20px; border-radius: 8px;
  box-shadow: 0 0 20px var(--cyan-glow);
  transition: opacity 0.15s, transform 0.15s, box-shadow 0.15s;
}
.nav-cta:hover {
  opacity: 0.9; transform: translateY(-1px);
  box-shadow: 0 0 32px var(--cyan-glow);
}

.nav-hamburger {
  display: none; flex-direction: column; gap: 4px;
  background: none; border: none; cursor: pointer;
  padding: 10px; min-width: 44px; min-height: 44px;
  align-items: center; justify-content: center;
}
.nav-hamburger span {
  display: block; width: 20px; height: 1.5px;
  background: var(--text); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed;
  top: 64px; left: 0; right: 0; z-index: 99;
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 24px var(--px);
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.mobile-menu a { font-size: 0.95rem; font-weight: 500; color: var(--text); }
.mobile-menu .nav-cta { display: inline-flex; margin-top: 6px; }

/* ═══════════════════════════
   HERO
═══════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 140px var(--px) 100px;
  background: var(--bg2);
}

.hero-inner {
  position: relative; z-index: 1; width: 100%;
  display: flex; flex-direction: column;
  max-width: 680px;
}

/* Hero Hintergrundbild */
@keyframes heroBgIn {
  from { opacity: 0; transform: scale(1.06); }
  to   { opacity: 1; transform: scale(1); }
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('../img/hero_background.webp');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center calc(50% + var(--parallax-offset-hero, 0px));
  transform-origin: center center;
  animation: heroBgIn 1.6s cubic-bezier(0.16,1,0.3,1) both;
  will-change: opacity, background-position;
}

/* Dunkler Overlay: Text bleibt lesbar */
.hero-bg-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(39,39,41,0.55) 0%,
    rgba(39,39,41,0.40) 60%,
    rgba(39,39,41,0.55) 100%
  );
}

/* Hero staggered load animation */
@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.ha { opacity: 0; animation: heroIn 0.7s cubic-bezier(0.16,1,0.3,1) both; }
.ha-0 { animation-delay:   0ms; }
.ha-1 { animation-delay: 120ms; }
.ha-2 { animation-delay: 240ms; }
.ha-3 { animation-delay: 360ms; }
.ha-4 { animation-delay: 460ms; }
.ha-5 { animation-delay: 580ms; }

.hero-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--cyan-dim); border: 1px solid rgba(0,178,255,0.2);
  color: var(--cyan); font-size: 0.78rem; font-weight: 600;
  padding: 5px 13px; border-radius: 100px; margin-bottom: 28px;
}
.hero-pill-dot {
  width: 5px; height: 5px; background: var(--cyan);
  border-radius: 50%; flex-shrink: 0;
  box-shadow: 0 0 6px var(--cyan);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -0.04em; color: var(--text);
  margin-bottom: 24px;
}
.hero h1 .accent { color: var(--cyan); }

.hero-sub {
  font-size: 1.1rem; color: var(--muted);
  max-width: 480px; line-height: 1.8; margin-bottom: 40px;
}

.hero-buttons {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 48px; align-items: center;
}

@keyframes btn-sweep {
  0%        { left: -80%; }
  30%, 100% { left: 160%; }
}

@keyframes ghost-pulse {
  0%, 100% { border-color: var(--border);             box-shadow: none; }
  50%       { border-color: rgba(0,178,255,0.35);      box-shadow: 0 0 14px rgba(0,178,255,0.12); }
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--cyan); color: #000;
  font-weight: 700; font-size: 0.9rem;
  padding: 13px 26px; border-radius: 10px;
  box-shadow: 0 0 24px var(--cyan-glow);
  position: relative; overflow: hidden;
  transition: opacity 0.15s, transform 0.15s, box-shadow 0.15s;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
  transform: skewX(-15deg);
  animation: btn-sweep 4s ease-in-out infinite;
  pointer-events: none;
}
.btn-primary:hover {
  opacity: 0.9; transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(0,178,255,0.4);
}

.btn-ghost {
  display: inline-flex; align-items: center; gap: 7px;
  background: transparent; color: var(--text);
  font-weight: 500; font-size: 0.9rem;
  padding: 12px 24px; border-radius: 10px;
  border: 1px solid var(--border);
  animation: ghost-pulse 4s ease-in-out infinite;
  animation-delay: 2s;
  transition: border-color 0.15s, color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.btn-ghost:hover {
  border-color: var(--cyan); color: var(--cyan);
  transform: translateY(-1px);
  animation: none;
}

.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--card); border: 1px solid var(--border);
  color: var(--muted); font-size: 0.78rem; font-weight: 500;
  padding: 6px 13px; border-radius: 100px;
  transition: border-color 0.15s, color 0.15s;
}
.chip:hover { border-color: rgba(0,178,255,0.3); color: var(--cyan); }
.chip svg { width: 12px; height: 12px; color: var(--cyan); flex-shrink: 0; }


/* ═══════════════════════════
   HINTERGRUND-EFFEKT
═══════════════════════════ */
#bg-light {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--bg);
}

/* ═══════════════════════════
   SEKTIONEN BASIS
═══════════════════════════ */
.section { padding: 100px var(--px); }
.section-bg2 { background: var(--bg2); }

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--cyan); margin-bottom: 16px;
}
.section-label::before {
  content: '';
  display: block; width: 16px; height: 1.5px;
  background: var(--cyan); border-radius: 1px;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  font-weight: 800; color: var(--text);
  letter-spacing: -0.035em; line-height: 1.1;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1rem; color: var(--muted);
  max-width: 540px; line-height: 1.78;
}
.section-header { margin-bottom: 60px; }

/* ═══════════════════════════
   LEISTUNGEN
═══════════════════════════ */
.services-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 20px;
}

.service-card {
  position: relative; overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 195px 36px 30px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.service-illustration {
  position: absolute; top: 0; right: 30px;
  width: 150px; height: 100%;
  object-fit: contain; object-position: center right;
  pointer-events: none; user-select: none;
  opacity: 0.92;
}

/* Subtile Linie oben beim Hover */
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--cyan);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
}

.service-card:hover {
  border-color: rgba(0,178,255,0.25);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  transform: translateY(-4px);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 44px; height: 44px;
  background: var(--cyan-dim); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.service-icon svg { width: 22px; height: 22px; color: var(--cyan); }

.service-card h3 {
  font-size: 1.05rem; font-weight: 700; color: var(--text);
  letter-spacing: -0.02em; margin-bottom: 10px;
}
.service-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.75; }

/* ═══════════════════════════
   LEISTUNGEN + WARUM ICH? – gemeinsamer Parallax-Wrapper
   Sektionen scrollen "durch" ein langsam bewegtes Hintergrundbild.
   ::before trägt Bild + Overlay + Mask-Fade; JS steuert --parallax-offset.
═══════════════════════════ */
.services-why-wrap {
  position: relative;
  overflow: hidden;
}

.services-why-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    radial-gradient(ellipse at 50% 40%, rgba(18,18,20,0.72) 0%, rgba(10,10,12,0.93) 100%),
    url('../img/card_background.webp');
  background-size: auto, cover;
  background-position: center, center calc(50% + var(--parallax-offset, 0px));
  background-repeat: no-repeat, no-repeat;
  background-attachment: scroll, fixed;
  pointer-events: none;
}

/* ═══════════════════════════
   ÜBER MICH – Parallax-Wrapper
═══════════════════════════ */
.about-wrap {
  position: relative;
  overflow: hidden;
}

.about-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    radial-gradient(ellipse at 50% 45%, rgba(12,12,16,0.78) 0%, rgba(10,10,12,0.95) 100%),
    url('../img/about_me_background.webp');
  background-size: auto, cover;
  background-position: center, center calc(50% + var(--parallax-offset-about, 0px));
  background-repeat: no-repeat, no-repeat;
  background-attachment: scroll, fixed;
  pointer-events: none;
}

#about {
  position: relative;
  background: transparent;
}

#about .about-grid {
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════
   KONTAKT – Parallax-Wrapper
═══════════════════════════ */
.contact-wrap {
  position: relative;
  overflow: hidden;
}

.contact-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    radial-gradient(ellipse at 50% 55%, rgba(12,12,16,0.82) 0%, rgba(10,10,12,0.96) 100%),
    url('../img/contact_background.webp');
  background-size: auto, cover;
  background-position: center, center calc(50% + var(--parallax-offset-contact, 0px));
  background-repeat: no-repeat, no-repeat;
  background-attachment: scroll, fixed;
  pointer-events: none;
}

#contact {
  position: relative;
}

#contact .section-header,
#contact .contact-info-title,
#contact .contact-grid {
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════
   WARUM ICH?
═══════════════════════════ */
#why {
  position: relative;
}

#why .section-header,
#why .why-grid {
  position: relative;
  z-index: 1;
}

/* Leistungen: Content über Parallax-Hintergrund */
#services {
  position: relative;
}

#services .section-header,
#services .services-grid {
  position: relative;
  z-index: 1;
}

.why-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 20px;
}

.why-card {
  position: relative; overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px 32px 36px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.35);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

/* Farbiger linker Streifen je Karte */
.why-card::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--accent);
  border-radius: var(--radius) 0 0 var(--radius);
}

/* Subtiler Farbschimmer oben-links */
.why-card::after {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 180px; height: 180px;
  background: radial-gradient(ellipse at 0% 0%, var(--accent-glow), transparent 70%);
  pointer-events: none;
}

.why-card:hover {
  border-color: var(--accent-border);
  box-shadow: 0 8px 28px rgba(0,0,0,0.35);
  transform: translateY(-2px);
}

/* Akzentfarben */
.why-card--cyan,
.why-card--purple,
.why-card--green,
.why-card--amber  { --accent: #00b2ff; --accent-glow: rgba(0,178,255,0.07); --accent-border: rgba(0,178,255,0.3); }

.why-card h3 {
  font-size: 1rem; font-weight: 700; color: var(--text);
  letter-spacing: -0.015em; margin-bottom: 10px;
}
.why-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.75; }

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

.about-visual-wrap { position: relative; }

.about-visual {
  width: 100%; aspect-ratio: 6/7;
  border-radius: 20px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}

.about-visual picture {
  width: 100%; height: 100%;
}
.about-visual img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
}

.about-visual-placeholder {
  font-size: 6rem; font-weight: 800; color: var(--cyan);
  opacity: 0.15; letter-spacing: -0.05em; user-select: none;
}

.about-badge {
  position: absolute; bottom: -18px; right: -18px;
  background: var(--cyan); color: #000;
  border-radius: 14px; padding: 16px 22px;
  box-shadow: 0 8px 28px var(--cyan-glow);
  text-align: center;
}
.about-badge-num  { font-size: 1.8rem; font-weight: 800; line-height: 1; }
.about-badge-text { font-size: 0.72rem; font-weight: 600; margin-top: 2px; opacity: 0.8; }

.about-text .section-label { margin-bottom: 18px; }

.about-text h2 {
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 800; color: var(--text);
  letter-spacing: -0.035em; line-height: 1.1;
  margin-bottom: 8px;
}
.about-text h2 .accent { color: var(--cyan); }

.about-intro {
  font-size: 0.95rem; color: var(--muted);
  line-height: 1.85; margin-bottom: 32px;
}
.about-intro p + p { margin-top: 14px; }

.about-checks { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.about-check { display: flex; align-items: center; gap: 11px; }
.check-icon {
  flex-shrink: 0; width: 20px; height: 20px;
  background: var(--cyan-dim); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.check-icon svg { width: 10px; height: 10px; color: var(--cyan); }
.about-check span { font-size: 0.875rem; color: var(--muted); }
.about-check strong { color: var(--text); font-weight: 600; }

/* ═══════════════════════════
   KONTAKT
═══════════════════════════ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.65fr;
  gap: 56px; align-items: stretch;
}

.contact-info-title {
  font-size: 1rem; font-weight: 700; color: var(--text);
  letter-spacing: -0.02em; margin-bottom: 20px;
}
.contact-left { display: flex; flex-direction: column; height: 100%; }
.contact-cards { flex: 1; display: flex; flex-direction: column; gap: 14px; }

.contact-card {
  flex: 1;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px;
  display: flex; align-items: flex-start; gap: 14px;
  transition: border-color 0.2s;
}
.contact-card:hover { border-color: rgba(0,178,255,0.3); }

.contact-icon {
  width: 40px; height: 40px;
  background: var(--cyan-dim); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-icon svg { width: 18px; height: 18px; color: var(--cyan); }

.contact-label {
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.09em;
  color: var(--muted); margin-bottom: 3px;
}
.contact-value { font-size: 0.9rem; font-weight: 500; color: var(--text); line-height: 1.55; }
.contact-value a { color: var(--cyan); transition: opacity 0.15s; }
.contact-value a:hover { opacity: 0.75; }

/* Formular */
.form-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 20px; padding: 40px;
}
.form-card-title {
  font-size: 1rem; font-weight: 700; color: var(--text);
  letter-spacing: -0.02em; margin-bottom: 28px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 20px; }

/* Floating label */
.form-float { position: relative; }

.form-float .form-label {
  position: absolute; left: 13px; top: 50%;
  transform: translateY(-50%);
  font-size: 0.875rem; font-weight: 500;
  color: var(--muted);
  pointer-events: none; white-space: nowrap;
  background: transparent; padding: 0 3px; line-height: 1;
  transition: top 0.18s cubic-bezier(0.4,0,0.2,1),
              font-size 0.18s cubic-bezier(0.4,0,0.2,1),
              color 0.18s cubic-bezier(0.4,0,0.2,1),
              transform 0.18s cubic-bezier(0.4,0,0.2,1),
              background 0.18s cubic-bezier(0.4,0,0.2,1);
}
.form-float--textarea .form-label { top: 15px; transform: none; }

.form-float .form-input:focus ~ .form-label,
.form-float .form-input:not(:placeholder-shown) ~ .form-label,
.form-float .form-textarea:focus ~ .form-label,
.form-float .form-textarea:not(:placeholder-shown) ~ .form-label {
  top: 0; transform: translateY(-50%);
  font-size: 0.68rem; font-weight: 600;
  color: var(--cyan); background: var(--card);
}
.form-float--textarea .form-textarea:focus ~ .form-label,
.form-float--textarea .form-textarea:not(:placeholder-shown) ~ .form-label {
  top: 0; transform: translateY(-50%);
}

.form-input, .form-textarea {
  width: 100%; font-family: var(--font);
  font-size: 0.875rem; color: var(--text);
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 10px; padding: 14px 14px 10px; outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-input::placeholder, .form-textarea::placeholder { color: transparent; }
.form-input:focus, .form-textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-dim);
}
.form-textarea { resize: vertical; min-height: 128px; padding-top: 18px; }

.form-submit {
  width: 100%; display: flex; align-items: center; justify-content: center;
  gap: 7px; background: var(--cyan); color: #000;
  font-family: var(--font); font-size: 0.9rem; font-weight: 700;
  padding: 13px 28px; border-radius: 10px; border: none; cursor: pointer;
  box-shadow: 0 0 24px var(--cyan-glow); min-height: 48px;
  transition: opacity 0.15s, transform 0.15s, box-shadow 0.15s;
}
.form-submit:hover {
  opacity: 0.9; transform: translateY(-1px);
  box-shadow: 0 0 40px rgba(0,178,255,0.4);
}
.form-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

@keyframes spin { to { transform: rotate(360deg); } }
.form-submit .spinner {
  display: none;
  width: 15px; height: 15px;
  border: 2px solid rgba(0,0,0,0.25);
  border-top-color: #000;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}
.form-submit.loading .spinner  { display: block; }
.form-submit.loading .btn-icon,
.form-submit.loading .btn-label { display: none; }

/* Datenschutz-Checkbox */
.form-privacy { margin-bottom: 20px; }
.privacy-label {
  display: flex; align-items: flex-start; gap: 10px;
  cursor: pointer; font-size: 0.875rem; color: var(--muted); line-height: 1.5;
}
.privacy-label input[type="checkbox"] {
  position: absolute; opacity: 0; width: 0; height: 0;
}
.privacy-custom-box {
  flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px;
  border: 1.5px solid rgba(255,255,255,0.28); border-radius: 5px;
  background: var(--bg3);
  transition: border-color 0.2s, background 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.privacy-label input:checked + .privacy-custom-box {
  background: var(--cyan); border-color: var(--cyan);
}
.privacy-label input:checked + .privacy-custom-box::after {
  content: '';
  display: block; width: 5px; height: 9px;
  border: 2px solid #000; border-top: none; border-left: none;
  transform: rotate(45deg) translate(-1px, -1px);
}
.privacy-label input:focus-visible + .privacy-custom-box {
  outline: 2px solid var(--cyan); outline-offset: 2px;
}
.privacy-label a { color: var(--cyan); text-decoration: none; }
.privacy-label a:hover { text-decoration: underline; }

.form-success {
  display: none; margin-top: 14px;
  background: rgba(0,178,100,0.1); border: 1px solid rgba(0,178,100,0.25);
  border-radius: 10px; padding: 14px; text-align: center;
  color: #4ade80; font-size: 0.875rem; font-weight: 500;
}
.form-success.visible { display: block; }
.form-error {
  display: none; margin-top: 14px;
  background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.25);
  border-radius: 10px; padding: 14px; text-align: center;
  color: #f87171; font-size: 0.875rem; font-weight: 500;
}
.form-error.visible { display: block; }

/* ═══════════════════════════
   FOOTER
═══════════════════════════ */
.footer {
  background: transparent;
  padding: 36px var(--px);
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}

.footer-logo {
  display: flex; align-items: center; gap: 10px;
  color: var(--text); font-weight: 600; font-size: 0.875rem;
}
.footer-logo img { height: 50px; width: auto; object-fit: contain; }
.footer-logo-icon {
  width: 28px; height: 28px; border-radius: 7px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.10);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.footer-logo-icon svg { width: 15px; height: 15px; color: var(--cyan); }

.footer-links { display: flex; gap: 20px; list-style: none; }
.footer-links a { font-size: 0.82rem; color: var(--muted); transition: color 0.15s; }
.footer-links a:hover { color: var(--text); }

.footer-copy { font-size: 0.78rem; color: var(--muted); }

/* ═══════════════════════════
   SCROLL-TO-TOP
═══════════════════════════ */
.scroll-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 90;
  width: 44px; height: 44px;
  background: var(--cyan); color: #000;
  border: none; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px var(--cyan-glow);
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
}
.scroll-top.visible {
  opacity: 1; transform: translateY(0);
  pointer-events: auto;
}
.scroll-top:hover { opacity: 0.85; transform: translateY(-2px); }

/* ═══════════════════════════
   SCROLL-ANIMATIONEN
═══════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(64px) scale(0.91);
  filter: blur(6px);
  transition:
    opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
.reveal:nth-child(1) { transition-delay: 0ms; }
.reveal:nth-child(2) { transition-delay: 130ms; }
.reveal:nth-child(3) { transition-delay: 260ms; }
.reveal:nth-child(4) { transition-delay: 390ms; }

/* Slide-in für About-Sektion */
.slide-l.reveal { transform: translateX(-56px) translateY(40px) scale(0.92); }
.slide-r.reveal { transform: translateX(56px)  translateY(40px) scale(0.92); }
.slide-l.reveal.visible,
.slide-r.reveal.visible { transform: translateX(0) translateY(0) scale(1); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .ha { opacity: 1; transform: none; filter: none; animation: none; transition: none; }
  .hero-bg-img { animation: none; opacity: 1; transform: none; --parallax-offset-hero: 0px; }
  .services-why-wrap::before { background-attachment: scroll, scroll; } /* iOS-Fallback */
  .about-wrap::before        { background-attachment: scroll, scroll; }
  .contact-wrap::before      { background-attachment: scroll, scroll; }
  .btn-primary::after        { animation: none; }
  .btn-ghost                 { animation: none; }
}

/* ═══════════════════════════
   RESPONSIVE
═══════════════════════════ */
@media (max-width: 1024px) {
  .about-grid { gap: 56px; }
  .hero-inner  { gap: 32px; }
}

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .hero { min-height: auto; padding-top: 100px; padding-bottom: 72px; }
  .hero-inner { grid-template-columns: 1fr; }
.section { padding-top: 80px; padding-bottom: 80px; }
  .services-grid { grid-template-columns: 1fr; gap: 14px; }
  .service-card { padding: 28px 120px 28px 24px; }
  .service-illustration { width: 100px; right: 10px; opacity: 0.75; }
  .why-grid { grid-template-columns: 1fr; gap: 14px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { aspect-ratio: 4/5; max-height: 480px; }
  .about-badge { bottom: -14px; right: 12px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-left { height: auto; }
  .contact-cards { flex: none; }
  .contact-card { flex: none; }
  .form-card { padding: 28px 22px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 520px) {
  .hero-buttons { flex-direction: column; align-items: flex-start; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { align-items: center; text-align: center; }
  .footer-links { justify-content: center; }
}

/* ═══════════════════════════
   UTILITY
═══════════════════════════ */
.hidden         { display: none; }
.mt-8           { margin-top: 8px; }
.address-normal { font-style: normal; }
