/* ═══════════════════════════════════════════════════════════════
   components.css — Friedrich & Weiß Gebäudedienste GbR
   Alle wiederverwendbaren Komponenten (BEM-Notation)
   Agent-09 (UI/UX) + Agent-13 (Frontend)

   Abhängigkeit: global.css muss zuerst geladen sein
   ═══════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────
   NAVIGATION
   ───────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: padding var(--transition-mittel),
              background var(--transition-mittel),
              backdrop-filter var(--transition-mittel);
}

.nav--scrolled {
  padding: 12px 0;
  background: rgba(8, 17, 30, 0.92);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(123, 189, 212, 0.08);
}

.nav__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-xl);
}

.nav__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav__logo img {
  height: 44px;
  width: auto;
}

.nav__links {
  display: none;
  align-items: center;
  gap: var(--space-xl);
}

.nav__link {
  font-family: var(--fw-sans);
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fw-text-secondary);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  transition: color var(--transition-basis);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--fw-ice);
  transition: width var(--transition-mittel);
}

.nav__link:hover,
.nav__link--aktiv {
  color: var(--fw-ice-light);
}

.nav__link:hover::after,
.nav__link--aktiv::after {
  width: 100%;
}

.nav__cta {
  display: none;
}

/* Hamburger-Menü — nur Mobile */
.hamburger {
  width: 28px;
  height: 20px;
  position: relative;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  flex-shrink: 0;
}

.hamburger__linie {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--fw-ice-light);
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1),
              opacity 300ms ease;
}

.hamburger__linie:nth-child(1) { top: 0; }
.hamburger__linie:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger__linie:nth-child(3) { bottom: 0; }

.hamburger--offen .hamburger__linie:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.hamburger--offen .hamburger__linie:nth-child(2) {
  opacity: 0;
  transform: translateY(-50%) scaleX(0);
}
.hamburger--offen .hamburger__linie:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* Mobile Menü */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(8, 17, 30, 0.97);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--space-2xl);
  transform: translateX(100%);
  transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none; /* Verhindert Click-Interception wenn off-screen */
}

.mobile-menu--offen {
  transform: translateX(0);
  pointer-events: auto;
}

.mobile-menu__link {
  font-family: var(--fw-serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--fw-text-secondary);
  text-decoration: none;
  transition: color var(--transition-basis);
}

.mobile-menu__link:hover {
  color: var(--fw-crystal);
}

@media (min-width: 768px) {
  .nav__links { display: flex; }
  .nav__cta { display: block; }
  .hamburger { display: none; }
}

/* ─────────────────────────────────────────
   NAVIGATION — Landing-Page-Variante
   (hausverwaltungen, gewerbe, shk-partner)
   ───────────────────────────────────────── */

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav__logo-text {
  font-family: var(--fw-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--fw-text-primary);
  margin-left: var(--space-sm);
}

/* Hamburger-Button (Landing-Pages) */
.nav__hamburger {
  width: 28px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  flex-shrink: 0;
  z-index: 101;
  position: relative;
}

.nav__hamburger-linie {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--fw-ice-light);
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1),
              opacity 300ms ease;
}

.nav__hamburger--offen .nav__hamburger-linie:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
}
.nav__hamburger--offen .nav__hamburger-linie:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav__hamburger--offen .nav__hamburger-linie:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
}

/* Navigationsmenü (Landing-Pages) — Mobile: Fullscreen-Overlay */
.nav__menu {
  position: fixed;
  inset: 0;
  background: rgba(8, 17, 30, 0.97);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--space-2xl);
  transform: translateX(100%);
  transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
  list-style: none;
  padding: 0;
  margin: 0;
  pointer-events: none; /* Verhindert Click-Interception wenn off-screen */
}

.nav__menu--offen {
  transform: translateX(0);
  pointer-events: auto;
}

.nav__menu .nav__link {
  font-family: var(--fw-serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--fw-text-secondary);
  text-decoration: none;
  transition: color var(--transition-basis);
}

.nav__menu .nav__link:hover {
  color: var(--fw-crystal);
}

.nav__menu .nav__link--cta {
  font-family: var(--fw-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--fw-ice);
  border: 1px solid rgba(123, 189, 212, 0.35);
  padding: 12px 28px;
  border-radius: var(--radius-sm);
}

.nav__menu .nav__link--cta:hover {
  background: rgba(123, 189, 212, 0.08);
  border-color: var(--fw-ice);
}

@media (min-width: 768px) {
  .nav__hamburger { display: none; }

  .nav__menu {
    position: static;
    inset: auto;
    transform: none;
    flex-direction: row;
    justify-content: flex-end;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    z-index: auto;
    gap: var(--space-xl);
    padding: 0;
    margin: 0;
    pointer-events: auto; /* Desktop: Menü ist sichtbar, Klicks erlaubt */
  }

  .nav__menu .nav__link {
    font-family: var(--fw-sans);
    font-size: 0.875rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .nav__menu .nav__link--cta {
    font-size: 0.9375rem;
    padding: 10px 22px;
  }
}

/* ─────────────────────────────────────────
   BUTTONS
   ───────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--fw-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: background var(--transition-basis),
              transform var(--transition-spring),
              box-shadow var(--transition-basis),
              color var(--transition-basis),
              border-color var(--transition-basis);
}

/* Primär CTA — Eisblau */
.btn--primary {
  background: var(--fw-ice);
  color: var(--fw-night);
  padding: 14px 32px;
  border-radius: var(--radius-sm);
}

/* Shimmer-Effekt beim Hover */
.btn--primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 500ms ease;
}

.btn--primary:hover {
  background: var(--fw-ice-light);
  color: var(--fw-night);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(123, 189, 212, 0.3);
}

.btn--primary:hover::after {
  left: 150%;
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Ghost Button — für dunkle Hintergründe */
.btn--ghost {
  background: transparent;
  color: var(--fw-ice);
  border: 1px solid rgba(123, 189, 212, 0.35);
  padding: 13px 31px;
  border-radius: var(--radius-sm);
}

.btn--ghost:hover {
  border-color: var(--fw-ice);
  background: rgba(123, 189, 212, 0.08);
  color: var(--fw-ice-light);
  transform: translateY(-2px);
}

/* Pfeil-Animation */
.btn__pfeil {
  display: inline-block;
  transition: transform var(--transition-basis);
}

.btn:hover .btn__pfeil {
  transform: translateX(4px);
}

/* Größen */
.btn--sm {
  font-size: 0.875rem;
  padding: 10px 20px;
}

.btn--lg {
  font-size: 1.0625rem;
  padding: 16px 40px;
}

/* ─────────────────────────────────────────
   CARDS
   ───────────────────────────────────────── */

.card {
  background: rgba(13, 30, 53, 0.8);
  -webkit-backdrop-filter: blur(12px);
  @supports not (backdrop-filter: blur(12px)) {
    background: var(--fw-navy);
  }
  backdrop-filter: blur(12px);
  border: 1px solid rgba(123, 189, 212, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-mittel),
              transform 350ms cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow var(--transition-mittel);
}

/* Top-Border-Akzent */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(123, 189, 212, 0.4) 50%, transparent 100%);
  transform: scaleX(0);
  transition: transform 400ms ease;
}

.card:hover {
  border-color: rgba(123, 189, 212, 0.25);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
              0 0 40px rgba(123, 189, 212, 0.06),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.card:hover::before {
  transform: scaleX(1);
}

/* Karten-Icon */
.card__icon {
  width: 44px;
  height: 44px;
  background: rgba(123, 189, 212, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--fw-ice);
  font-size: 1.25rem;
  transition: background var(--transition-basis), transform var(--transition-basis);
  flex-shrink: 0;
}

.card:hover .card__icon {
  background: rgba(123, 189, 212, 0.18);
  transform: scale(1.1);
}

.card__titel {
  margin-bottom: var(--space-sm);
}

.card__text {
  color: var(--fw-text-secondary);
  line-height: 1.65;
}

/* Card negativ — Problemdarstellung mit rotem Akzent */
.card--negativ {
  border-left: 2px solid rgba(239, 68, 68, 0.3);
}

.card--negativ .card__icon {
  background: rgba(239, 68, 68, 0.1);
  color: var(--fw-error);
}

/* Card hell — für helle Sektionen */
.card--hell {
  background: var(--fw-white);
  border: 1px solid var(--fw-light-bg);
  box-shadow: 0 2px 16px rgba(13, 30, 53, 0.08);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.card--hell .card__text {
  color: var(--fw-text-dark);
}

/* ─────────────────────────────────────────
   FORMULAR-ELEMENTE
   ───────────────────────────────────────── */

.form__gruppe {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  position: relative;
}

.form__label {
  display: block;
  font-family: var(--fw-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fw-text-secondary);
  margin-bottom: 6px;
  transition: color var(--transition-basis);
}

.form__gruppe:focus-within .form__label {
  color: var(--fw-ice);
}

.form__feld {
  width: 100%;
  background: rgba(26, 48, 82, 0.5);
  border: 1px solid rgba(123, 189, 212, 0.15);
  border-radius: var(--radius-md);
  color: var(--fw-crystal);
  font-family: var(--fw-sans);
  font-size: 1rem;
  padding: 14px 16px;
  transition: border-color var(--transition-basis),
              box-shadow var(--transition-basis),
              background var(--transition-basis);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form__feld::placeholder {
  color: var(--fw-text-muted);
}

.form__feld:focus {
  border-color: var(--fw-ice);
  background: rgba(26, 48, 82, 0.8);
  box-shadow: 0 0 0 3px rgba(123, 189, 212, 0.12);
}

.form__feld--fehler {
  border-color: var(--fw-error);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.form__fehlermeldung {
  display: none;
  color: var(--fw-error);
  font-size: 0.875rem;
  margin-top: var(--space-xs);
}

.form__fehlermeldung--sichtbar {
  display: block;
}

/* Mehrstufiger Fortschrittsbalken */
.form__schritte {
  display: flex;
  gap: 8px;
  margin-bottom: var(--space-xl);
}

.form__schritt {
  flex: 1;
  height: 2px;
  background: rgba(123, 189, 212, 0.15);
  border-radius: 2px;
  transition: background 400ms ease;
}

.form__schritt--aktiv { background: var(--fw-ice); }
.form__schritt--erledigt { background: rgba(123, 189, 212, 0.5); }

/* Checkbox */
.form__checkbox-gruppe {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  cursor: pointer;
}

.form__checkbox {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 1px solid rgba(123, 189, 212, 0.3);
  border-radius: var(--radius-sm);
  background: rgba(26, 48, 82, 0.5);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color var(--transition-basis), background var(--transition-basis);
  margin-top: 2px;
}

.form__checkbox:checked {
  background: var(--fw-ice);
  border-color: var(--fw-ice);
}

.form__checkbox:checked::after {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fw-night);
  font-size: 0.75rem;
  font-weight: 700;
  width: 100%;
  height: 100%;
}

.form__checkbox-text {
  font-size: 0.875rem;
  color: var(--fw-text-secondary);
  line-height: 1.5;
}

.form__checkbox-text a {
  color: var(--fw-ice);
}

/* ─────────────────────────────────────────
   TICKER / MARQUEE
   ───────────────────────────────────────── */

.ticker {
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid rgba(123, 189, 212, 0.1);
  border-bottom: 1px solid rgba(123, 189, 212, 0.1);
  padding: 14px 0;
  user-select: none;
}

.ticker__inner {
  display: inline-flex;
  gap: 80px;
  animation: ticker-scroll 35s linear infinite;
}

.ticker:hover .ticker__inner {
  animation-play-state: paused;
}

.ticker__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--fw-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fw-text-secondary);
  white-space: nowrap;
}

.ticker__item strong {
  color: var(--fw-ice);
}

.ticker__trenner {
  width: 4px;
  height: 4px;
  background: var(--fw-ice);
  border-radius: 50%;
  opacity: 0.5;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─────────────────────────────────────────
   HERO-SEKTION
   ───────────────────────────────────────── */

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(80px + var(--space-4xl)) 0 var(--space-4xl);
  background:
    linear-gradient(180deg, var(--fw-night) 0%, var(--fw-navy) 100%),
    repeating-linear-gradient(
      0deg, transparent, transparent 79px,
      rgba(123, 189, 212, 0.03) 80px
    ),
    repeating-linear-gradient(
      90deg, transparent, transparent 79px,
      rgba(123, 189, 212, 0.03) 80px
    );
  position: relative;
  overflow: hidden;
}

.hero__hintergrund-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(123, 189, 212, 0.04), transparent 70%);
  pointer-events: none;
}

.hero__inhalt {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero__kategorie {
  margin-bottom: var(--space-lg);
  display: block;
}

.hero__headline {
  margin-bottom: var(--space-xl);
}

/* Wort-für-Wort-Einblendung */
.hero__headline span {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: wort-einblenden 600ms ease forwards;
}

@keyframes wort-einblenden {
  to { opacity: 1; transform: translateY(0); }
}

.hero__subtext {
  font-size: 1.125rem;
  color: var(--fw-text-secondary);
  margin-bottom: var(--space-2xl);
  max-width: 600px;
}

.hero__aktionen {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
}

/* ─────────────────────────────────────────
   KENNZAHLEN
   ───────────────────────────────────────── */

.kennzahl {
  text-align: center;
}

.kennzahl__zahl {
  font-family: var(--fw-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--fw-crystal);
  line-height: 1;
  display: block;
}

.kennzahl__text {
  font-family: var(--fw-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fw-text-secondary);
  margin-top: var(--space-xs);
  display: block;
}

/* ─────────────────────────────────────────
   PROZESS-SCHRITTE
   ───────────────────────────────────────── */

.prozess-schritte {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.prozess-schritt {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
}

.prozess-schritt__nummer {
  font-family: var(--fw-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--fw-ice);
  background: rgba(123, 189, 212, 0.1);
  border: 1px solid rgba(123, 189, 212, 0.2);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.prozess-schritt__inhalt {
  flex: 1;
}

.prozess-schritt__titel {
  margin-bottom: var(--space-xs);
}

@media (min-width: 768px) {
  .prozess-schritte {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ─────────────────────────────────────────
   TESTIMONIALS
   ───────────────────────────────────────── */

.testimonial {
  padding: var(--space-xl);
}

.testimonial__sterne {
  color: var(--fw-ice);
  font-size: 0.875rem;
  letter-spacing: 2px;
  margin-bottom: var(--space-md);
}

.testimonial__text {
  font-style: italic;
  color: var(--fw-text-primary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.testimonial__text::before { content: '„'; }
.testimonial__text::after  { content: '"'; }

.testimonial__autor {
  font-family: var(--fw-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fw-text-secondary);
}

/* ─────────────────────────────────────────
   BADGE / ZERTIFIKAT
   ───────────────────────────────────────── */

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: rgba(123, 189, 212, 0.08);
  border: 1px solid rgba(123, 189, 212, 0.15);
  border-radius: var(--radius-full);
  font-family: var(--fw-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fw-ice);
}

/* ─────────────────────────────────────────
   PREISRECHNER — INTERAKTIVE ELEMENTE
   ───────────────────────────────────────── */

/* Chip-Toggle für Leistungsauswahl */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid rgba(123, 189, 212, 0.2);
  border-radius: var(--radius-full);
  font-family: var(--fw-sans);
  font-size: 0.875rem;
  color: var(--fw-text-secondary);
  cursor: pointer;
  transition: all var(--transition-basis);
  user-select: none;
  background: transparent;
}

.chip:hover {
  border-color: rgba(123, 189, 212, 0.4);
  color: var(--fw-ice-light);
}

.chip--aktiv {
  background: rgba(123, 189, 212, 0.12);
  border-color: var(--fw-ice);
  color: var(--fw-ice);
}

.chip__haken {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--fw-ice);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: opacity var(--transition-basis),
              transform var(--transition-spring);
  color: var(--fw-night);
  font-size: 0.625rem;
  font-weight: 700;
}

.chip--aktiv .chip__haken {
  opacity: 1;
  transform: scale(1);
}

/* Preis-Anzeige */
.preis-anzeige {
  font-family: var(--fw-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--fw-crystal);
  transition: opacity 200ms ease;
}

.preis-anzeige--aktualisiert {
  animation: preis-blink 300ms ease;
}

@keyframes preis-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

/* ─────────────────────────────────────────
   WHATSAPP FLOAT-BUTTON
   ───────────────────────────────────────── */

.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  z-index: 90;
  text-decoration: none;
  transition: transform var(--transition-spring), box-shadow var(--transition-basis);
  animation: whatsapp-puls 3s ease-in-out infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
  background: #25D366;
}

.whatsapp-btn svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

@keyframes whatsapp-puls {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35); }
  50%       { box-shadow: 0 4px 40px rgba(37, 211, 102, 0.55); }
}

/* ─────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────── */

.footer {
  background: var(--fw-night);
  border-top: 1px solid rgba(123, 189, 212, 0.08);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer__logo {
  height: 48px;
  width: auto;
  margin-bottom: var(--space-md);
}

.footer__beschreibung {
  color: var(--fw-text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 300px;
}

.footer__titel {
  font-family: var(--fw-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fw-ice);
  margin-bottom: var(--space-md);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__link {
  color: var(--fw-text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition-basis);
}

.footer__link:hover {
  color: var(--fw-ice-light);
}

.footer__kontakt-item {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
  color: var(--fw-text-secondary);
  font-size: 0.875rem;
  margin-bottom: var(--space-sm);
}

.footer__trennlinie {
  height: 1px;
  background: rgba(123, 189, 212, 0.08);
  margin-bottom: var(--space-xl);
}

.footer__unten {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: flex-start;
}

.footer__copyright {
  font-size: 0.8125rem;
  color: var(--fw-text-muted);
}

.footer__rechts-links {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.footer__rechts-link {
  font-size: 0.8125rem;
  color: var(--fw-text-muted);
  text-decoration: none;
  transition: color var(--transition-basis);
}

.footer__rechts-link:hover {
  color: var(--fw-ice);
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
  .footer__unten {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ─────────────────────────────────────────
   TOAST / BENACHRICHTIGUNGEN
   ───────────────────────────────────────── */

.toast {
  position: fixed;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--fw-navy-mid);
  border: 1px solid rgba(123, 189, 212, 0.2);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-xl);
  color: var(--fw-text-primary);
  font-size: 0.9375rem;
  z-index: 500;
  transition: transform var(--transition-spring);
  max-width: 420px;
  width: calc(100% - var(--space-xl) * 2);
  text-align: center;
}

.toast--sichtbar {
  transform: translateX(-50%) translateY(0);
}

.toast--erfolg { border-color: rgba(46, 204, 113, 0.3); }
.toast--fehler  { border-color: rgba(239, 68, 68, 0.3); }

/* ─────────────────────────────────────────
   SEITEN-HEADER (für Unter-Seiten)
   ───────────────────────────────────────── */

.seiten-header {
  padding: calc(80px + var(--space-3xl)) 0 var(--space-3xl);
  background: linear-gradient(180deg, var(--fw-night) 0%, var(--fw-navy) 100%);
  position: relative;
}

.seiten-header--dunkel {
  background: linear-gradient(180deg, var(--fw-night) 0%, var(--fw-navy) 100%);
}

.seiten-header__inhalt {
  position: relative;
  z-index: 1;
}

.seiten-header__kategorie {
  margin-bottom: var(--space-md);
  display: block;
}

.seiten-header__h1 {
  margin-bottom: var(--space-md);
}

.seiten-header__subtext {
  font-size: 1.125rem;
  color: var(--fw-text-secondary);
  max-width: 580px;
}

/* ─────────────────────────────────────────
   FEATURE-LISTE (Leistungsseiten)
   ───────────────────────────────────────── */

.feature-liste {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.feature-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.feature-item__haken {
  width: 24px;
  height: 24px;
  min-width: 24px;
  background: rgba(123, 189, 212, 0.1);
  border: 1px solid rgba(123, 189, 212, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fw-ice);
  font-size: 0.75rem;
  margin-top: 2px;
}

.feature-item__text {
  font-size: 0.9375rem;
  color: var(--fw-text-secondary);
  line-height: 1.6;
}

/* ─────────────────────────────────────────
   PREISTABELLE
   ───────────────────────────────────────── */

.preis-tabelle {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.preis-tabelle th {
  font-family: var(--fw-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fw-ice);
  text-align: left;
  padding: var(--space-md);
  border-bottom: 1px solid rgba(123, 189, 212, 0.15);
}

.preis-tabelle td {
  padding: var(--space-md);
  color: var(--fw-text-secondary);
  border-bottom: 1px solid rgba(123, 189, 212, 0.06);
}

.preis-tabelle tr:hover td {
  background: rgba(123, 189, 212, 0.03);
}

.preis-tabelle__hinweis {
  font-size: 0.8125rem;
  color: var(--fw-text-muted);
  margin-top: var(--space-md);
  font-style: italic;
}
