/* ══════════════════════════════════════════════════════════════════
   ROOF D&D ÜBERDACHUNGSSYSTEME GMBH – MODERN UI PRO V3.2
   Theme: Ethereal Glass & Architectural Precision
   ══════════════════════════════════════════════════════════════════ */

/* ─── 1. DESIGN TOKENS & CSS CUSTOM PROPERTIES ─────────────────── */
:root, [data-theme="dark"] {
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  --bg: #070a0f;                  /* Tiefes Schiefer-Obsidian */
  --bg-secondary: #0d121c;        /* Dunkles Titan-Anthrazit */
  --fg: #f8fafc;                  /* Kristallines Reinweiß */
  --fg-muted: #94a3b8;            /* Architektonisches Silbergrau */
  --card-bg: rgba(13, 18, 28, 0.88);
  --card-shell: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.10);
  --border-focus: rgba(6, 182, 212, 0.5);

  /* Akzentfarben */
  --accent-cyan: #06b6d4;         /* Kristallines Glas-Cyan */
  --accent-cyan-hover: #0891b2;
  --accent-emerald: #10b981;      /* Garten-Frische */
  --accent-gold: #f59e0b;         /* Luxus & Sonnenschutz */
  --accent-glow: rgba(6, 182, 212, 0.35);

  /* Aurora Gradienten */
  --aurora-1: hsla(189, 94%, 48%, 0.18);
  --aurora-2: hsla(217, 91%, 60%, 0.16);

  --radius-shell: 2rem;
  --radius-core: calc(2rem - 0.375rem);
}

[data-theme="light"] {
  --bg: #f8fafc;                  /* Frisches Architektur-Weiß */
  --bg-secondary: #ffffff;
  --fg: #090e17;                  /* Sattes Graphit-Schwarz */
  --fg-muted: #475569;            /* Lesbares Anthrazit */
  --card-bg: rgba(255, 255, 255, 0.95);
  --card-shell: rgba(9, 14, 23, 0.05);
  --border: rgba(9, 14, 23, 0.12);
  --border-focus: rgba(8, 145, 178, 0.6);

  /* Akzentfarben */
  --accent-cyan: #0891b2;
  --accent-cyan-hover: #0e7490;
  --accent-emerald: #059669;
  --accent-gold: #d97706;
  --accent-glow: rgba(8, 145, 178, 0.15);

  /* Aurora Gradienten */
  --aurora-1: hsla(189, 94%, 60%, 0.15);
  --aurora-2: hsla(217, 91%, 70%, 0.15);
}

/* ─── 2. BASE & RESET ───────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  /* Lenis steuert das Scrolling -> KEIN css scroll-behavior: smooth! */
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  transition: background-color 0.4s ease, color 0.4s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── 3. TYPOGRAFIE & FARBSICHERHEIT (§ 0D & § 11) ──────────────── */
.font-display {
  font-family: var(--font-display);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6.5vw, 5.5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--fg);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fg);
}

/* SplitType-sichere Akzente: Verhindert unsichtbaren Text bei Chars/Words */
.text-accent, .hero-title .text-accent, .section-title .text-accent {
  color: var(--accent-cyan) !important;
  -webkit-text-fill-color: var(--accent-cyan) !important;
  text-shadow: 0 0 25px var(--accent-glow);
  display: inline;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.25);
  font-size: 0.725rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}

/* ─── 4. DOUBLE-BEZEL & BENTO-SHELL ARCHITEKTUR (§ 3 & § 4) ──────── */
.bento-shell {
  background: var(--card-shell);
  border: 1px solid var(--border);
  border-radius: var(--radius-shell);
  padding: 0.375rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.bento-shell:hover {
  border-color: rgba(6, 182, 212, 0.3);
}

.bento-core {
  background: var(--card-bg);
  border-radius: var(--radius-core);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08);
  height: 100%;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* ─── 5. AURORA BACKGROUND & NOISE TEXTURE (§ 5) ─────────────────── */
.aurora-bg {
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 20% 10%, var(--aurora-1) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 85% 65%, var(--aurora-2) 0%, transparent 55%);
}

@keyframes aurora-shift {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

.aurora-animated {
  background-size: 200% 200%;
  animation: aurora-shift 18s ease infinite;
}

.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* ─── 6. CUSTOM CURSOR (§ 9) ─────────────────────────────────────── */
.cursor-blob, .cursor-follower {
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  transition: opacity 0.3s ease;
}

.cursor-blob {
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  mix-blend-mode: screen;
}

.cursor-follower {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(6, 182, 212, 0.4);
  background: rgba(6, 182, 212, 0.04);
}

@media (hover: none), (max-width: 1024px) {
  .cursor-blob, .cursor-follower {
    display: none !important;
  }
}

/* ─── 7. BUTTONS & CTAS ─────────────────────────────────────────── */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1.75rem;
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  color: #04121a;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.35);
  transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1), box-shadow 0.3s ease, filter 0.2s ease;
  max-width: 100%;
  box-sizing: border-box;
  word-break: break-word;
}

.btn-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(6, 182, 212, 0.5);
  filter: brightness(1.05);
}

.btn-cta:active {
  transform: translateY(0) scale(0.98);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1.75rem;
  background: var(--card-bg);
  color: var(--fg);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
}

.btn-secondary:hover {
  border-color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.08);
  transform: translateY(-2px);
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
  font-size: 0.85rem;
  transition: transform 0.3s ease;
}

.btn-cta:hover .btn-icon {
  transform: translateX(3px);
}

.img-badge {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  pointer-events: none;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ─── 8. HEADER: PALOMAR PATTERN (Variante B) ───────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background-color 0.4s cubic-bezier(0.32, 0.72, 0, 1), backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

.site-header.scrolled {
  background: rgba(7, 10, 15, 0.88);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
}

.announcement-line {
  background: rgba(6, 182, 212, 0.12);
  border-bottom: 1px solid rgba(6, 182, 212, 0.2);
  color: var(--accent-cyan);
  padding: 0.4rem 0;
  max-height: 40px;
  opacity: 1;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
}

.site-header.scrolled .announcement-line {
  max-height: 0;
  opacity: 0;
  padding: 0;
  border-bottom: none;
}

.nav-link {
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--fg);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-cyan);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.theme-toggle {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 9999px;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.2s ease;
  color: var(--fg);
}

.theme-toggle:hover {
  border-color: var(--accent-cyan);
  transform: scale(1.05);
}

[data-theme="dark"] .theme-icon-moon { display: none; }
[data-theme="dark"] .theme-icon-sun { display: block; }
[data-theme="light"] .theme-icon-sun { display: none; }
[data-theme="light"] .theme-icon-moon { display: block; }

/* Hamburger Morphing */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.55rem;
  cursor: pointer;
  color: var(--fg);
  z-index: 1001;
}

.ham-line {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 9999px;
  transition: transform 0.3s cubic-bezier(0.68, -0.6, 0.32, 1.6), opacity 0.2s ease;
}

.hamburger.open .ham-line.top {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open .ham-line.mid {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open .ham-line.bot {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 990;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.32, 0.72, 0, 1), visibility 0.4s ease;
}

.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-link {
  color: var(--fg);
  text-decoration: none;
  transition: color 0.2s ease;
}

.mobile-nav-link:hover {
  color: var(--accent-cyan);
}

.btn-cta-mobile {
  display: block;
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  color: #04121a;
  padding: 1rem;
  border-radius: 9999px;
  font-weight: 700;
  text-decoration: none;
}

/* ─── 9. SCROLL-DRIVEN DUAL MARQUEE (§ 16) ────────────────────────── */
.marquee-section {
  position: relative;
}

.marquee-row {
  position: relative;
  width: 100vw;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  will-change: transform;
}

.marquee-tile {
  flex: 0 0 clamp(280px, 22vw, 380px);
  height: 230px;
}

/* ─── 10. STICKY CARD-STACKING EFFEKT (§ 15 & § 0G) ──────────────── */
.card-stack-section {
  position: relative;
}

.card-sticky-container {
  height: 85vh;
  margin-bottom: 2rem;
}

.stacking-card {
  position: sticky;
  left: 0;
  right: 0;
  margin: 0 auto;
  max-width: 1100px;
  transform-origin: 50% 0%;
  will-change: transform;
}

/* Mobile Card-Stacking Regel (§ 0G): Unter 900px sauber vertikal */
@media (max-width: 900px) {
  .card-sticky-container {
    height: auto !important;
    min-height: auto !important;
    margin-bottom: 2rem;
  }
  .stacking-card {
    position: relative !important;
    top: auto !important;
    transform: none !important;
  }
}

/* ─── 11. CALCULATOR CARD (§ 6) ─────────────────────────────────── */
.calc-radio-card input[type="radio"]:checked + span,
.calc-radio-card:has(input[type="radio"]:checked) {
  border-color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
}

/* ─── 12. MULTI-STEP FUNNEL FORMULAR (§ 5) ───────────────────────── */
.funnel-step {
  display: none;
  border: none;
  padding: 0;
  margin: 0;
}

.funnel-step.active {
  display: block;
  animation: funnelFadeIn 0.4s ease both;
}

@keyframes funnelFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.funnel-progress {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  position: relative;
}

.funnel-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #06b6d4, #10b981);
  border-radius: 9999px;
  transition: width 0.4s cubic-bezier(0.32, 0.72, 0, 1);
}

.funnel-progress-label {
  position: absolute;
  top: 10px;
  right: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--fg-muted);
}

.funnel-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.funnel-option-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.funnel-option input[type="radio"]:checked + .funnel-option-card {
  border-color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.12);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
}

.funnel-option-card:hover {
  border-color: rgba(6, 182, 212, 0.4);
}

.funnel-option-icon {
  font-size: 2rem;
}

.funnel-field input,
.funnel-field textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.funnel-field input:focus,
.funnel-field textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2);
}

.funnel-field input.error,
.funnel-field textarea.error {
  border-color: #ef4444;
}

.funnel-back {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--fg);
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  cursor: pointer;
  font-weight: 600;
  transition: border-color 0.2s ease;
}

.funnel-back:hover {
  border-color: var(--accent-cyan);
}

/* ─── 13. FAQ AKKORDEON (§ 3) ─────────────────────────────────────── */
.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  opacity: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: #ef4444;
}

/* ─── 14. LEGAL MODALS (§ 9) ─────────────────────────────────────── */
.legal-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(5, 7, 12, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.32, 0.72, 0, 1), visibility 0.35s ease;
  overscroll-behavior: contain;
}

.legal-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.legal-modal-card {
  width: 100%;
  max-width: 800px;
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  transform: scale(0.94) translateY(16px);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
  overscroll-behavior: contain;
}

.legal-modal-backdrop.open .legal-modal-card {
  transform: scale(1) translateY(0);
}

.legal-modal-close {
  flex-shrink: 0 !important;
  width: 2.25rem !important;
  height: 2.25rem !important;
  min-width: 2.25rem !important;
  min-height: 2.25rem !important;
  border-radius: 9999px !important;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--fg);
  font-size: 1rem;
  font-weight: 700;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer;
  padding: 0 !important;
  line-height: 1 !important;
  transition: all 0.2s ease;
}

.legal-modal-close:hover {
  background: #ef4444;
  color: white;
  border-color: #ef4444;
  transform: rotate(90deg) scale(1.08);
}

.legal-modal-body {
  max-height: calc(86vh - 5.5rem);
  overflow-y: auto !important;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.legal-modal-body::-webkit-scrollbar { width: 6px; }
.legal-modal-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 9999px; }

/* ─── 15. DSGVO CONSENT BANNER (§ 2) ─────────────────────────────── */
.consent-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  z-index: 99998;
  background: rgba(10, 14, 22, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1.5rem;
  max-width: 700px;
  margin: 0 auto;
  padding: 1.5rem;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  transform: translateY(0);
  transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.4s ease;
}

.consent-banner.hidden {
  transform: translateY(150%);
  opacity: 0;
  pointer-events: none;
}

.consent-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.consent-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
}

.consent-link {
  color: var(--accent-cyan);
  text-decoration: underline;
}

.consent-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-consent-accept {
  padding: 0.65rem 1.5rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  background: var(--accent-cyan);
  color: #04121a;
  font-weight: 700;
  font-size: 0.875rem;
  transition: opacity 0.2s ease;
  flex: 1;
  min-width: 140px;
}

.btn-consent-accept:hover {
  opacity: 0.9;
}

.btn-consent-reject, .btn-consent-settings {
  padding: 0.65rem 1.5rem;
  border-radius: 9999px;
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--fg-muted);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.2s ease;
  flex: 1;
  min-width: 120px;
}

.btn-consent-reject:hover, .btn-consent-settings:hover {
  border-color: var(--fg);
  color: var(--fg);
}

.cookie-reopen-link {
  font-size: 0.75rem;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.cookie-reopen-link:hover {
  color: var(--accent-cyan);
}

@media (max-width: 640px) {
  .consent-banner {
    bottom: 5.5rem;
    left: 1rem;
    right: 1rem;
    padding: 1.25rem;
  }
}

/* ─── 16. WHATSAPP WIDGET (§ 4) ──────────────────────────────────── */
.whatsapp-widget {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #25d366;
  color: white;
  padding: 0.75rem 1.25rem 0.75rem 0.9rem;
  border-radius: 9999px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 700;
  transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1), box-shadow 0.3s ease;
  animation: wa-pulse 3s ease-in-out infinite;
}

.whatsapp-widget:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50%       { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7); }
}

@media (max-width: 640px) {
  .whatsapp-widget {
    bottom: 5rem;
    right: 1rem;
    padding: 0.7rem;
    border-radius: 50%;
  }
  .whatsapp-label {
    display: none;
  }
}

/* ─── 17. ACCESSIBILITY & UTILITIES (§ 3) ────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 99999;
  padding: 0.75rem 1.5rem;
  background: var(--accent-cyan);
  color: #04121a;
  border-radius: 0 0 0.5rem 0.5rem;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

:focus-visible {
  outline: 2px solid var(--accent-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;
}

/* ─── 18. STAGGERED LOAD ANIMATIONS (§ 21) ───────────────────────── */
.anim-fade-down {
  opacity: 0;
  transform: translateY(-20px);
  animation: heroFadeDown 0.8s cubic-bezier(0.32, 0.72, 0, 1) forwards;
}

@keyframes heroFadeDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.25s; }
.stagger-3 { animation-delay: 0.4s; }
.stagger-4 { animation-delay: 0.55s; }
.stagger-5 { animation-delay: 0.7s; }

/* ─── 19. PREFERS-REDUCED-MOTION GUARD (§ 12) ────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .cursor-blob, .cursor-follower {
    display: none !important;
  }
}
