/* Shared klick-web styles — Navigation & Funktionsseiten */
:root {
  --brand: #1a4494;
  --brand-light: #2563b8;
  --brand-bright: #3b7dd8;
  --brand-dark: #123670;
  --brand-glow: rgba(26, 68, 148, 0.5);
  --bg-deep: #04060c;
  --bg-surface: #080d18;
  --bg-elevated: #0c1424;
  --bg-card: rgba(12, 20, 36, 0.82);
  --border: rgba(148, 163, 184, 0.1);
  --border-bright: rgba(26, 68, 148, 0.45);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --accent: var(--brand-light);
  --accent-2: var(--brand-bright);
  --success: #34d399;
  --font: "Poppins", system-ui, sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 96px;
}

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

html {
  scroll-padding-top: var(--nav-h);
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.ambient__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
}
.ambient__orb--1 {
  width: 50vw; height: 50vw;
  top: -18%; left: -12%;
  background: radial-gradient(circle, rgba(26, 68, 148, 0.35) 0%, transparent 70%);
}
.ambient__orb--2 {
  width: 40vw; height: 40vw;
  top: 40%; right: -15%;
  background: radial-gradient(circle, rgba(37, 99, 184, 0.2) 0%, transparent 70%);
}
.ambient__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148,163,184,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 20%, transparent 70%);
}

.page { position: relative; z-index: 1; min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; max-width: 100%; width: 100%; }

.topbar {
  background: rgba(6, 10, 18, 0.85);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  font-size: 0.78rem;
  color: var(--text-dim);
}
.topbar__inner, .nav__inner, .container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.topbar a { color: var(--text-muted); text-decoration: none; }
.topbar a:hover { color: var(--accent); }

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 10, 18, 0.72);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 1rem;
  padding: 0.65rem 1.5rem;
  min-height: 96px;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  position: static;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
  max-width: 250px;
  min-width: 0;
}
.logo--nav {
  margin-right: 0.75rem;
}
.logo__mark--nav img {
  height: 72px;
  max-width: 240px;
  width: auto;
  object-fit: contain;
  display: block;
  filter:
    drop-shadow(0 0 8px rgba(59, 125, 216, 0.35))
    drop-shadow(0 0 16px rgba(26, 68, 148, 0.22));
  animation: logoPulse 4s ease-in-out infinite;
  transition: transform 0.4s var(--ease), filter 0.4s var(--ease);
}
.logo--nav:hover .logo__mark--nav img {
  transform: scale(1.05);
  animation: none;
  filter:
    drop-shadow(0 0 12px rgba(59, 125, 216, 0.45))
    drop-shadow(0 0 24px rgba(26, 68, 148, 0.28));
}
@keyframes logoPulse {
  0%, 100% {
    filter:
      drop-shadow(0 0 6px rgba(59, 125, 216, 0.28))
      drop-shadow(0 0 14px rgba(26, 68, 148, 0.18));
  }
  50% {
    filter:
      drop-shadow(0 0 10px rgba(59, 125, 216, 0.4))
      drop-shadow(0 0 20px rgba(26, 68, 148, 0.25));
  }
}
@media (prefers-reduced-motion: reduce) {
  .logo__mark--nav img {
    animation: none;
  }
  .logo--nav:hover .logo__mark--nav img {
    transform: none;
  }
}
.nav__end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  gap: 0.75rem;
  margin-left: auto;
}
.nav__cta {
  flex-shrink: 0;
  white-space: nowrap;
}
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(148, 163, 184, 0.06);
  color: var(--text);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.nav__toggle:hover {
  border-color: var(--border-bright);
  background: rgba(26, 68, 148, 0.12);
}
.nav__toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav--open .nav__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav--open .nav__toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav--open .nav__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.75rem, 2.2vw, 2.25rem);
  flex-wrap: nowrap;
  white-space: nowrap;
  min-width: 0;
}
.nav__links > a,
.nav__trigger {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.5rem 0.6rem;
  border-radius: 999px;
  transition: all 0.25s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  white-space: nowrap;
}
.nav__links > a:hover,
.nav__item--dropdown:hover .nav__trigger,
.nav__trigger:hover {
  color: var(--text);
  background: rgba(148, 163, 184, 0.08);
}
.nav__item--dropdown { position: relative; flex-shrink: 0; }
.nav__trigger svg {
  width: 12px; height: 12px; opacity: 0.7;
  transition: transform 0.2s var(--ease);
}
.nav__item--dropdown:hover .nav__trigger svg {
  transform: rotate(180deg);
  opacity: 1;
}

@media (min-width: 1200px) {
  .nav__inner {
    display: grid;
    grid-template-columns: minmax(180px, 250px) minmax(0, 1fr) auto;
    align-items: center;
    justify-content: space-between;
    column-gap: 1.25rem;
  }
  .logo { grid-column: 1; justify-self: start; }
  .nav__links {
    grid-column: 2;
    justify-content: center;
    justify-self: center;
    width: 100%;
    overflow: visible;
  }
  .nav__end {
    grid-column: 3;
    justify-self: end;
    margin-left: 0;
  }
  .nav__toggle { display: none !important; }
}

@media (max-width: 1199px) {
  .nav__inner { min-height: 72px; }
  .logo__mark--nav img { height: 64px; max-width: 200px; }
  .nav__toggle { display: inline-flex; }
  .nav__end .btn.nav__cta { display: none; }
  .nav__links {
    display: none;
    position: fixed;
    top: var(--nav-offset, 72px);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 1rem 1.25rem 2rem;
    background: rgba(6, 10, 18, 0.98);
    backdrop-filter: blur(20px) saturate(1.4);
    border-top: 1px solid var(--border);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    white-space: normal;
  }
  .nav__links.is-open { display: flex; }
  .nav__links > a,
  .nav__trigger {
    width: 100%;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    border-radius: 12px;
  }
  .nav__item--dropdown.is-expanded .nav__trigger svg {
    transform: rotate(180deg);
    opacity: 1;
  }
  .nav__mega {
    position: static;
    left: auto;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    width: 100%;
    max-width: none;
    margin: 0.25rem 0 0.75rem;
    padding: 0.75rem 0 0.5rem 0.5rem;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    display: none;
  }
  .nav__item--dropdown.is-expanded .nav__mega { display: block; }
  .nav__item--dropdown::after { display: none; }
  .nav__mega-grid { grid-template-columns: 1fr; gap: 1rem; }
  body.nav-open { overflow: hidden; }
}

/* Mega-Menü — zentriert unter dem gesamten Header */
.nav__item--dropdown:has(> .nav__mega) {
  position: static;
}
.nav__mega {
  position: absolute;
  top: 100%;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: min(920px, calc(100vw - 2rem));
  max-height: min(72vh, calc(100dvh - 7.5rem));
  /* Hover-safe gap: transparent padding is part of the menu hit-area */
  padding: 0.85rem 1.75rem 1.25rem;
  border-radius: 0 0 18px 18px;
  background: transparent;
  border: none;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s var(--ease), visibility 0.15s var(--ease);
  transition-delay: 0.18s;
  z-index: 130;
  display: flex;
  flex-direction: column;
  overflow: visible;
}
/* Visual panel below the hover-safe padding */
.nav__mega::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0.7rem;
  bottom: 0;
  border-radius: 18px;
  background: rgba(8, 13, 24, 0.98);
  border: 1px solid var(--border-bright);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  z-index: -1;
  pointer-events: none;
}
.nav__mega-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 0.85rem 0 0.15rem;
  padding-right: 0.35rem;
  margin-right: -0.15rem;
  border-radius: 12px;
}
.nav__mega-scroll::-webkit-scrollbar { width: 6px; }
.nav__mega-scroll::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.28);
  border-radius: 999px;
}
.nav__mega-scroll::-webkit-scrollbar-track { background: transparent; }
.nav__mega-foot {
  flex-shrink: 0;
}
.nav__item--dropdown:hover .nav__mega,
.nav__item--dropdown:focus-within .nav__mega {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}
.nav__mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2.5rem;
}
@media (max-width: 800px) {
  .nav__mega-grid { grid-template-columns: 1fr; }
}
.nav__mega-col { display: flex; flex-direction: column; gap: 1.25rem; }
.nav__mega-group h4 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-bright);
  margin-bottom: 0.55rem;
}
.nav__mega-group a {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  padding: 0.28rem 0;
  transition: color 0.2s;
}
.nav__mega-group a:hover { color: var(--text); }
.nav__mega-badge {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.9);
  color: #fff;
}
.nav__mega-foot {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
}
.nav__mega-foot a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.nav__mega-foot a:hover { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s var(--ease);
}
.btn--primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  color: #fff;
  box-shadow: 0 4px 20px var(--brand-glow);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--brand-glow);
}
.btn--ghost {
  background: rgba(148, 163, 184, 0.06);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--ghost:hover {
  border-color: var(--border-bright);
  background: rgba(26, 68, 148, 0.12);
}

/* Funktionsseite */
.feature-main {
  flex: 1;
  padding: 3rem 0 5rem;
}
.feature-hero {
  max-width: 760px;
  margin-bottom: 2.5rem;
}
.feature-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(26, 68, 148, 0.12);
  border: 1px solid var(--border-bright);
  margin-bottom: 1rem;
}
.feature-hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.feature-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 640px;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr; }
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
}
.feature-card h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.feature-list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-bright);
  box-shadow: 0 0 8px rgba(59, 125, 216, 0.5);
}
.feature-aside {
  background: linear-gradient(145deg, rgba(26,68,148,0.16) 0%, rgba(12,20,36,0.9) 70%);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.feature-aside h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}
.feature-aside p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.feature-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.feature-shot {
  margin: 2.75rem 0 0;
  border-radius: calc(var(--radius-lg) + 2px);
  border: 1px solid var(--border-bright);
  background: linear-gradient(180deg, rgba(26, 68, 148, 0.18) 0%, rgba(8, 13, 24, 0.95) 100%);
  box-shadow:
    0 28px 70px rgba(26, 68, 148, 0.28),
    0 0 0 1px rgba(59, 125, 216, 0.08);
  overflow: hidden;
  line-height: 0;
}
.feature-shot figcaption {
  padding: 0.85rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-dim);
  line-height: 1.45;
  border-top: 1px solid var(--border);
  background: rgba(4, 6, 12, 0.55);
}
.feature-shot img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: top center;
}
.feature-related {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.feature-related h3 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}
.feature-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.feature-related-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(148, 163, 184, 0.04);
  transition: all 0.2s;
}
.feature-related-links a:hover {
  color: var(--text);
  border-color: var(--border-bright);
}

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  color: var(--text-dim);
  font-size: 0.82rem;
}
.site-footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
}
.site-footer__credit {
  flex: 1 1 auto;
  line-height: 1.45;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .site-footer__credit { white-space: normal; }
}
.site-footer a { color: var(--text-muted); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }

.funktionen-index h1 {
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.funktionen-index .lead {
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}
.funktionen-cats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.funktionen-cat h2 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-bright);
  margin-bottom: 0.85rem;
}
.funktionen-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.65rem;
}
.funktionen-links a {
  display: block;
  padding: 0.95rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  text-decoration: none;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.25s var(--ease);
}
.funktionen-links a:hover {
  border-color: var(--border-bright);
  transform: translateY(-2px);
}
.funktionen-links a span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-dim);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--outline:hover {
  background: rgba(26, 68, 148, 0.15);
  border-color: var(--border-bright);
}
.btn--lg { padding: 1rem 1.75rem; font-size: 1rem; }

/* ── Webdesign-Seite ── */
.wd-main { flex: 1; }
.wd-section {
  padding: clamp(3.5rem, 7vh, 5.5rem) 0;
}
.wd-section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}
.wd-section-head h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.wd-section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.wd-hero {
  padding: clamp(3.5rem, 10vh, 6.5rem) 0 clamp(3rem, 6vh, 4.5rem);
  max-width: 780px;
}
.wd-hero .feature-eyebrow { margin-bottom: 1.25rem; }
.wd-hero h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 1.15rem;
}
.wd-hero__lead {
  color: var(--text-muted);
  font-size: clamp(1.02rem, 2vw, 1.15rem);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 42rem;
}
.wd-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.wd-pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}
@media (max-width: 960px) {
  .wd-pricing { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
}

.wd-price {
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  position: relative;
}
.wd-price:hover {
  border-color: rgba(148, 163, 184, 0.28);
  transform: translateY(-4px);
}
.wd-price--featured {
  border-color: var(--border-bright);
  background: linear-gradient(180deg, rgba(26, 68, 148, 0.14) 0%, var(--bg-card) 42%);
  transform: scale(1.04);
  box-shadow: 0 0 60px rgba(26, 68, 148, 0.14);
  z-index: 1;
}
.wd-price--featured:hover {
  transform: scale(1.04) translateY(-4px);
  box-shadow: 0 12px 48px rgba(26, 68, 148, 0.22);
}
@media (max-width: 960px) {
  .wd-price--featured { transform: none; }
  .wd-price--featured:hover { transform: translateY(-4px); }
}
.wd-price__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.wd-price__name {
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
}
.wd-price__amount {
  font-size: clamp(2.1rem, 3vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.65rem;
}
.wd-price__amount small {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dim);
}
.wd-price__desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  min-height: 2.6rem;
}
.wd-price ul {
  list-style: none;
  flex: 1;
  margin-bottom: 1.75rem;
}
.wd-price li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.86rem;
  color: var(--text-muted);
  padding: 0.42rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.06);
}
.wd-price li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--success);
}
.wd-price .btn { width: 100%; margin-top: auto; }

.wd-why {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 900px) {
  .wd-why { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .wd-why { grid-template-columns: 1fr; }
}
.wd-why__item {
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 1.5rem 1.25rem;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}
.wd-why__item:hover {
  border-color: var(--border-bright);
  transform: translateY(-3px);
}
.wd-why__item::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-glow), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}
.wd-why__item:hover::after { opacity: 1; }
.wd-why__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: rgba(26, 68, 148, 0.18);
  border: 1px solid rgba(26, 68, 148, 0.35);
  color: var(--brand-bright);
}
.wd-why__icon svg { width: 20px; height: 20px; }
.wd-why__item h3 {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
}

.wd-faq {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.wd-faq__item {
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.3s var(--ease);
}
.wd-faq__item:hover,
.wd-faq__item.is-open {
  border-color: var(--border-bright);
}
.wd-faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.98rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.25s var(--ease);
}
.wd-faq__q:hover { background: rgba(148, 163, 184, 0.04); }
.wd-faq__q svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--text-dim);
  transition: transform 0.3s var(--ease), color 0.3s;
}
.wd-faq__item.is-open .wd-faq__q svg {
  transform: rotate(180deg);
  color: var(--accent);
}
.wd-faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}
.wd-faq__item.is-open .wd-faq__a {
  grid-template-rows: 1fr;
}
.wd-faq__a-inner {
  overflow: hidden;
}
.wd-faq__a p {
  padding: 0 1.35rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.wd-cta {
  margin: 0 1.5rem 4rem;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--radius-lg);
  padding: clamp(3rem, 6vw, 4rem) 2rem;
  text-align: center;
  background: linear-gradient(145deg, rgba(8, 13, 24, 0.98) 0%, rgba(18, 54, 112, 0.45) 55%, rgba(12, 20, 36, 0.95) 100%);
  border: 1px solid var(--border-bright);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}
.wd-cta::before {
  content: "";
  position: absolute;
  inset: -40% auto auto 50%;
  width: 70%;
  height: 70%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(59, 125, 216, 0.22) 0%, transparent 70%);
  pointer-events: none;
}
.wd-cta h2 {
  position: relative;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}
.wd-cta p {
  position: relative;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 36rem;
  margin: 0 auto 1.75rem;
}
.wd-cta .btn { position: relative; }

.wd-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.wd-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .wd-reveal { opacity: 1; transform: none; transition: none; }
  .wd-price:hover,
  .wd-why__item:hover { transform: none; }
}

/* ── Wissen / Was ist Datenschutz ── */
.wissen-main .wissen-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2.5rem;
}
@media (max-width: 800px) {
  .wissen-main .wissen-hero { grid-template-columns: 1fr; }
  .wissen-visual { justify-self: center; }
}
.wissen-intro {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.65;
}
.wissen-visual {
  width: 140px;
  height: 140px;
  border-radius: calc(var(--radius-lg) + 4px);
  background: linear-gradient(145deg, rgba(26, 68, 148, 0.22) 0%, rgba(8, 13, 24, 0.9) 100%);
  border: 1px solid var(--border-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-bright);
  box-shadow: 0 20px 50px rgba(26, 68, 148, 0.2);
}
.wissen-svg {
  width: 88px;
  height: 88px;
}
.wissen-svg--hero {
  width: 100px;
  height: 100px;
}
.wissen-index-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
  margin: 0 0 2.5rem;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  background: rgba(26, 68, 148, 0.08);
  border: 1px solid var(--border);
  overflow: hidden;
}
.wissen-intro {
  margin-bottom: 1.5rem;
}
.wissen-intro .feature-hero {
  margin-bottom: 0;
}

.wissen-shield-live {
  width: 140px;
  height: 140px;
  overflow: visible;
}
.shield-live__aura--1 {
  transform-origin: 60px 60px;
  animation: shield-aura-pulse 3.2s ease-in-out infinite;
}
.shield-live__ring--1 {
  transform-origin: 60px 60px;
  animation: shield-ring-spin 10s linear infinite;
}
.shield-live__ring--2 {
  transform-origin: 60px 60px;
  animation: shield-ring-spin 14s linear infinite reverse;
}
.shield-live__core {
  transform-origin: 60px 60px;
  animation: shield-float 4.5s ease-in-out infinite;
}
.shield-live__body {
  transform-origin: 60px 58px;
  animation: shield-pop 1.1s var(--ease) both;
}
.shield-live__check {
  stroke-dasharray: 52;
  stroke-dashoffset: 52;
  animation: shield-check-draw 0.75s var(--ease) 0.65s forwards;
}
@keyframes shield-aura-pulse {
  0%, 100% { transform: scale(0.9); opacity: 0.45; }
  50% { transform: scale(1.1); opacity: 1; }
}
@keyframes shield-ring-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes shield-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes shield-pop {
  0% { transform: scale(0.45); opacity: 0; }
  65% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes shield-check-draw {
  to { stroke-dashoffset: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .shield-live__aura--1,
  .shield-live__ring--1,
  .shield-live__ring--2,
  .shield-live__core,
  .shield-live__body,
  .shield-live__check {
    animation: none;
  }
  .shield-live__check { stroke-dashoffset: 0; }
}
.wissen-cta-inline {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-bright);
  background: var(--bg-card);
}
.wissen-cta-inline p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.nav__mega--wissen {
  left: 50%;
  right: auto;
  width: min(1180px, calc(100vw - 2rem));
  transform: translateX(-50%);
}
.nav__item--dropdown:hover .nav__mega--wissen,
.nav__item--dropdown:focus-within .nav__mega--wissen {
  transform: translateX(-50%);
}
.nav__mega--wissen .nav__mega-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem 1.25rem;
  align-items: start;
}
.nav__mega--wissen .nav__mega-group h4 {
  margin-bottom: 0.45rem;
}
.nav__mega--wissen .nav__mega-group a {
  padding: 0.16rem 0;
  font-size: 0.82rem;
  line-height: 1.35;
}
@media (min-width: 1200px) and (max-width: 1400px) {
  .nav__mega--wissen .nav__mega-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Mobile nav — must override desktop mega absolute/hover rules */
@media (max-width: 1199px) {
  .nav__toggle { display: inline-flex; }
  .nav__end .btn.nav__cta { display: none; }
  .nav__links {
    display: none !important;
    position: fixed;
    top: var(--nav-offset, 72px);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 1rem 1.25rem 2rem;
    background: rgba(6, 10, 18, 0.98);
    backdrop-filter: blur(20px) saturate(1.4);
    border-top: 1px solid var(--border);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    white-space: normal;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .nav__links.is-open { display: flex !important; }
  .nav__links > a,
  .nav__trigger {
    width: 100%;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    border-radius: 12px;
    white-space: normal;
  }
  .nav__item--dropdown {
    width: 100%;
    position: relative;
  }
  .nav__item--dropdown:has(> .nav__mega) {
    position: relative;
  }
  .nav__mega,
  .nav__mega--wissen {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0.25rem 0 0.75rem;
    padding: 0.5rem 0 0.5rem 0.75rem;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    display: none !important;
    overflow: visible !important;
  }
  .nav__item--dropdown.is-expanded .nav__mega,
  .nav__item--dropdown.is-expanded .nav__mega--wissen {
    display: block !important;
  }
  .nav__mega::after { display: none !important; }
  .nav__mega-grid,
  .nav__mega--wissen .nav__mega-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  .nav__mega-scroll {
    overflow: visible !important;
    max-height: none !important;
  }
  body.nav-open {
    overflow: hidden !important;
    touch-action: none;
  }
  .topbar__inner {
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
    font-size: 0.72rem;
  }
  .site-footer__credit { white-space: normal; }
}

.wissen-reveal {
  opacity: 1;
}
.wissen-reveal.wissen-reveal--animate:not(.is-visible) {
  opacity: 0;
}
.wissen-reveal.wissen-reveal--animate.is-visible {
  animation: wissen-reveal-in 0.55s var(--ease) var(--reveal-delay, 0s) forwards;
}
@keyframes wissen-reveal-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .wissen-reveal,
  .wissen-reveal.wissen-reveal--animate,
  .wissen-reveal.wissen-reveal--animate.is-visible {
    opacity: 1;
    animation: none;
  }
}

@keyframes wissen-pulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}
@keyframes wissen-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes wissen-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes wissen-bar {
  0%, 100% { transform: scaleY(0.85); transform-origin: bottom; }
  50% { transform: scaleY(1.1); transform-origin: bottom; }
}
.wissen-svg__pulse,
.wissen-svg__float,
.wissen-svg__spin-slow,
.wissen-svg__bar1,
.wissen-svg__bar2,
.wissen-svg__bar3,
.wissen-svg__draw {
  animation: none;
}
.wissen-reveal.is-visible .wissen-svg__pulse {
  animation: wissen-pulse 3s ease-in-out infinite;
}
.wissen-reveal.is-visible .wissen-svg__float { animation: wissen-float 2.8s ease-in-out infinite; }
.wissen-reveal.is-visible .wissen-svg__spin-slow {
  animation: wissen-spin 24s linear infinite;
  transform-origin: 60px 60px;
}
.wissen-reveal.is-visible .wissen-svg__bar1 { animation: wissen-bar 2s ease-in-out infinite; }
.wissen-reveal.is-visible .wissen-svg__bar2 { animation: wissen-bar 2s ease-in-out 0.2s infinite; }
.wissen-reveal.is-visible .wissen-svg__bar3 { animation: wissen-bar 2s ease-in-out 0.4s infinite; }
.wissen-reveal.is-visible .wissen-svg__draw {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  animation: wissen-draw 2s var(--ease) forwards;
}
@keyframes wissen-draw {
  to { stroke-dashoffset: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .wissen-svg__pulse,
  .wissen-svg__float,
  .wissen-svg__spin-slow,
  .wissen-svg__bar1,
  .wissen-svg__bar2,
  .wissen-svg__bar3,
  .wissen-svg__draw { animation: none; stroke-dashoffset: 0; }
}

/* ——— Kontaktformular ——— */
.kontakt-main {
  flex: 1;
  padding: 2.5rem 0 4rem;
}
.kontakt-hero {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2rem;
  position: relative;
}
.kontakt-hero__mark {
  width: 96px;
  height: 96px;
  margin: 0 auto 1.35rem;
  color: var(--brand-bright);
}
.kontakt-orbit {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}
.kontakt-orbit__core {
  position: relative;
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, rgba(37, 99, 184, 0.35), rgba(8, 13, 24, 0.9));
  border: 1px solid rgba(59, 125, 216, 0.45);
  box-shadow: 0 0 28px rgba(37, 99, 184, 0.28);
  color: #dbeafe;
}
.kontakt-orbit__core svg { width: 22px; height: 22px; display: block; }
.kontakt-orbit__ring {
  position: absolute;
  inset: 50%;
  border: 1px solid rgba(59, 125, 216, 0.28);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.kontakt-orbit__ring--1 { width: 72px; height: 72px; }
.kontakt-orbit__ring--2 { width: 96px; height: 96px; border-style: dashed; opacity: 0.7; }
.kontakt-orbit__dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: var(--brand-bright);
  box-shadow: 0 0 10px rgba(59, 125, 216, 0.8);
  z-index: 1;
}
.kontakt-reveal.is-visible .kontakt-orbit__core {
  animation: kontakt-core-in 0.55s var(--ease) both;
}
.kontakt-reveal.is-visible .kontakt-orbit__ring--1 {
  animation: kontakt-ring-spin 14s linear infinite;
}
.kontakt-reveal.is-visible .kontakt-orbit__ring--2 {
  animation: kontakt-ring-spin-rev 22s linear infinite;
}
.kontakt-reveal.is-visible .kontakt-orbit__dot--a {
  animation: kontakt-orbit-a 5.5s linear infinite;
}
.kontakt-reveal.is-visible .kontakt-orbit__dot--b {
  animation: kontakt-orbit-b 8s linear infinite;
}
.kontakt-reveal.is-visible .kontakt-orbit__dot--c {
  animation: kontakt-orbit-c 6.5s linear infinite;
}
@keyframes kontakt-core-in {
  from { opacity: 0; transform: scale(0.86); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes kontakt-ring-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes kontakt-ring-spin-rev {
  to { transform: translate(-50%, -50%) rotate(-360deg); }
}
@keyframes kontakt-orbit-a {
  from { transform: rotate(0deg) translateX(36px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(36px) rotate(-360deg); }
}
@keyframes kontakt-orbit-b {
  from { transform: rotate(120deg) translateX(48px) rotate(-120deg); opacity: 0.85; }
  to { transform: rotate(480deg) translateX(48px) rotate(-480deg); opacity: 0.85; }
}
@keyframes kontakt-orbit-c {
  from { transform: rotate(240deg) translateX(42px) rotate(-240deg); background: #93c5fd; }
  to { transform: rotate(600deg) translateX(42px) rotate(-600deg); background: #93c5fd; }
}
@keyframes kontakt-draw {
  to { stroke-dashoffset: 0; }
}
@keyframes kontakt-check-draw {
  to { stroke-dashoffset: 0; opacity: 1; }
}
.kontakt-hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0.35rem 0 0.75rem;
}
.kontakt-hero__lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 38rem;
  margin: 0 auto 1.5rem;
}
.kontakt-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1.15rem;
  max-width: 42rem;
  margin: 0 auto;
}
.kontakt-trust__item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 500;
}
.kontakt-trust__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--success);
  filter: drop-shadow(0 0 6px rgba(52, 211, 153, 0.65));
}
.kontakt-trust__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.kontakt-reveal.is-visible .kontakt-trust__item {
  animation: kontakt-trust-in 0.45s var(--ease) both;
}
.kontakt-reveal.is-visible .kontakt-trust__item:nth-child(1) { animation-delay: 0.12s; }
.kontakt-reveal.is-visible .kontakt-trust__item:nth-child(2) { animation-delay: 0.2s; }
.kontakt-reveal.is-visible .kontakt-trust__item:nth-child(3) { animation-delay: 0.28s; }
.kontakt-reveal.is-visible .kontakt-trust__item:nth-child(4) { animation-delay: 0.36s; }
@keyframes kontakt-trust-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.kontakt-section { max-width: 720px; margin: 0 auto; }
.kontakt-card {
  background: rgba(12, 20, 36, 0.9);
  border: 1px solid var(--border-bright);
  border-radius: 20px;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: 0 0 0 1px rgba(26, 68, 148, 0.12), 0 24px 60px rgba(0, 0, 0, 0.35);
}

.kontakt-alert {
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}
.kontakt-alert--error {
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #fecaca;
}
.kontakt-alert--ok {
  text-align: center;
  padding: 2rem 1rem;
  margin: 0;
  background: transparent;
  border: none;
}
.kontakt-alert--ok h2 {
  margin: 0.75rem 0 0.5rem;
  font-size: 1.6rem;
}
.kontakt-alert--ok p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.kontakt-alert__anim {
  width: 72px;
  height: 72px;
  margin: 0 auto;
  color: var(--success);
}
.kontakt-alert__anim svg { width: 100%; height: 100%; }
.kontakt-ok-ring {
  stroke-dasharray: 180;
  stroke-dashoffset: 180;
  animation: kontakt-draw 0.8s var(--ease) forwards;
}
.kontakt-ok-check {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: kontakt-check-draw 0.5s var(--ease) 0.55s forwards;
}

.kontakt-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.1rem;
}
.kontakt-field--full { grid-column: 1 / -1; }
.kontakt-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.kontakt-field input,
.kontakt-field textarea {
  width: 100%;
  background: rgba(4, 6, 12, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  padding: 0.75rem 0.95rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.kontakt-field textarea { resize: vertical; min-height: 120px; }
.kontakt-field input:focus,
.kontakt-field textarea:focus {
  outline: none;
  border-color: var(--brand-bright);
  box-shadow: 0 0 0 3px rgba(59, 125, 216, 0.2);
}
.kontakt-field input::placeholder,
.kontakt-field textarea::placeholder { color: var(--text-dim); }

.kontakt-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.kontakt-captcha {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  align-items: flex-start;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.kontakt-captcha__img-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: #080d18;
  flex-shrink: 0;
  /* Align image top with input top (below the "Sicherheitscode" label) */
  margin-top: calc(0.85rem * 1.6 + 0.4rem);
}
.kontakt-captcha__img-wrap img {
  display: block;
  width: 300px;
  height: 80px;
  object-fit: cover;
}
.kontakt-captcha__refresh {
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(8, 13, 24, 0.85);
  color: var(--text-muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: color 0.2s, border-color 0.2s;
}
.kontakt-captcha__refresh:hover {
  color: var(--text);
  border-color: var(--brand-bright);
}
.kontakt-captcha__refresh svg { width: 16px; height: 16px; }
.kontakt-field--captcha { flex: 1; min-width: 180px; }
.kontakt-hint {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.kontakt-dsgvo {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-top: 1.35rem;
  cursor: pointer;
  user-select: none;
}
.kontakt-dsgvo input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.kontakt-dsgvo__box {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 1px;
  border-radius: 7px;
  border: 1.5px solid rgba(148, 163, 184, 0.35);
  background: rgba(4, 6, 12, 0.65);
  display: grid;
  place-items: center;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.kontakt-dsgvo__box svg {
  width: 14px;
  height: 14px;
  color: #04100a;
}
.kontakt-dsgvo__check {
  stroke-dasharray: 28;
  stroke-dashoffset: 28;
  opacity: 0;
}
.kontakt-dsgvo.is-checked .kontakt-dsgvo__box {
  background: var(--success);
  border-color: var(--success);
  box-shadow: 0 0 16px rgba(52, 211, 153, 0.35);
}
.kontakt-dsgvo.is-checked .kontakt-dsgvo__check {
  animation: kontakt-check-draw 0.35s var(--ease) forwards;
}
.kontakt-dsgvo__text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.kontakt-dsgvo__text a {
  color: var(--brand-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.kontakt-dsgvo input:focus-visible + .kontakt-dsgvo__box {
  box-shadow: 0 0 0 3px rgba(59, 125, 216, 0.35);
}

.kontakt-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.kontakt-fineprint {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.kontakt-reveal { opacity: 1; }
.kontakt-reveal.kontakt-reveal--animate:not(.is-visible) { opacity: 0; transform: translateY(14px); }
.kontakt-reveal.kontakt-reveal--animate.is-visible {
  animation: kontakt-reveal-in 0.6s var(--ease) var(--reveal-delay, 0s) forwards;
}
@keyframes kontakt-reveal-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .kontakt-form__grid { grid-template-columns: 1fr; }
  .kontakt-form__actions { flex-direction: column; }
  .kontakt-form__actions .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .kontakt-reveal,
  .kontakt-reveal.kontakt-reveal--animate,
  .kontakt-reveal.kontakt-reveal--animate.is-visible {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .kontakt-orbit__core,
  .kontakt-orbit__ring--1,
  .kontakt-orbit__ring--2,
  .kontakt-orbit__dot--a,
  .kontakt-orbit__dot--b,
  .kontakt-orbit__dot--c,
  .kontakt-ok-ring,
  .kontakt-ok-check,
  .kontakt-dsgvo__check {
    animation: none;
  }
  .kontakt-ok-ring,
  .kontakt-ok-check,
  .kontakt-dsgvo__check {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

/* Floating WhatsApp */
.wa-fab {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 90;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #ecfdf5;
  text-decoration: none;
  background: linear-gradient(145deg, #25d366 0%, #128c7e 100%);
  border: 1px solid rgba(37, 211, 102, 0.45);
  box-shadow:
    0 0 0 1px rgba(18, 140, 126, 0.25),
    0 8px 28px rgba(18, 140, 126, 0.35),
    0 0 24px rgba(37, 211, 102, 0.2);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), filter 0.3s var(--ease);
  animation: wa-fab-in 0.55s var(--ease) 0.4s both;
}
/* Clear homepage trust strip */
.wa-fab--above-trust {
  bottom: max(5.75rem, calc(env(safe-area-inset-bottom) + 5rem));
}
.wa-fab svg {
  width: 26px;
  height: 26px;
  display: block;
}
.wa-fab:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow:
    0 0 0 1px rgba(18, 140, 126, 0.35),
    0 12px 36px rgba(18, 140, 126, 0.45),
    0 0 32px rgba(37, 211, 102, 0.3);
}
.wa-fab:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: 3px;
}
body.nav-open .wa-fab {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px) scale(0.92);
}
@keyframes wa-fab-in {
  from { opacity: 0; transform: translateY(16px) scale(0.85); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (max-width: 700px) {
  .wa-fab {
    width: 48px;
    height: 48px;
    right: max(0.85rem, env(safe-area-inset-right));
    bottom: max(0.85rem, env(safe-area-inset-bottom));
  }
  .wa-fab--above-trust {
    bottom: max(5.25rem, calc(env(safe-area-inset-bottom) + 4.5rem));
  }
  .wa-fab svg { width: 24px; height: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-fab {
    animation: none;
  }
  .wa-fab:hover {
    transform: none;
  }
}
