/* ===================================================================
   KLICKARCHITEKTEN — High-End Webdesign & Conversion-Architektur
   Design-System: Exakt abgestimmt auf das offizielle Logo
   Farbschema:
   - Deep Architect Navy:   #050E17 / #09243F (Dunkelblau aus dem Logo)
   - Vibrant Logo Orange:    #FE5006 (Signalfarbe "ARCHITEKTEN")
   - Pure White & Ice Slate: #FFFFFF / #E2E8F0
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Exakte Farben aus dem Logo */
  --logo-navy: #09243F;
  --logo-navy-deep: #050E17;
  --logo-navy-surface: #0A1B2D;
  --logo-orange: #FE5006;
  --logo-orange-bright: #FF661E;
  --logo-orange-dark: #E64500;
  
  /* UI-Oberflächen & Rahmen */
  --bg-deep: #050E17;
  --bg-card: rgba(9, 36, 63, 0.7);
  --border-card: rgba(255, 255, 255, 0.09);
  --border-glow: rgba(254, 80, 6, 0.45);
  --accent-orange-glow: rgba(254, 80, 6, 0.35);
}

/* Basis-Reset & Typografie für maximale Stabilität (Zero CLS & Safe Areas) */
html {
  font-family: var(--font-sans);
  background-color: var(--bg-deep);
  color: #F1F5F9;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--bg-deep);
  padding-top: env(safe-area-inset-top, 0);
  padding-bottom: env(safe-area-inset-bottom, 0);
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
}

/* Architektonisches Blueprint-Raster im Stil von Architekten-Plänen */
.blueprint-grid {
  background-size: 56px 56px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  mask-image: radial-gradient(circle at 50% 30%, black 50%, transparent 90%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, black 50%, transparent 90%);
}

.blueprint-dots {
  background-image: radial-gradient(rgba(254, 80, 6, 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* Dezent animierte Ambient Glows in Logo-Orange & Deep Navy */
.glow-orb-center {
  position: absolute;
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
  width: 750px;
  height: 520px;
  background: radial-gradient(ellipse, rgba(254, 80, 6, 0.13) 0%, rgba(9, 36, 63, 0.35) 50%, transparent 75%);
  filter: blur(85px);
  pointer-events: none;
  z-index: 0;
}

.glow-orb-secondary {
  position: absolute;
  bottom: 10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(9, 36, 63, 0.5) 0%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

/* Responsive Anpassung der Lichtkegel auf Mobilgeräten */
@media (max-width: 640px) {
  .glow-orb-center {
    width: 320px;
    height: 280px;
    filter: blur(55px);
    top: 5%;
  }
  .glow-orb-secondary {
    display: none;
  }
}

/* Subtile Warnstreifen-Optik abgestimmt auf #FE5006 */
.hazard-stripe {
  background: repeating-linear-gradient(
    -45deg,
    rgba(254, 80, 6, 0.25),
    rgba(254, 80, 6, 0.25) 10px,
    rgba(9, 36, 63, 0.35) 10px,
    rgba(9, 36, 63, 0.35) 20px
  );
}

/* Glassmorphism Card Style mit edlem Navy-Blue-Ton */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-card);
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel:hover {
  border-color: var(--border-glow);
  box-shadow: 0 20px 42px -10px rgba(254, 80, 6, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* Riesige H1-Headline mit Farbverlauf von Weiß zu Logo-Orange #FE5006 */
.text-gradient-eyecatcher {
  background: linear-gradient(135deg, #FFFFFF 25%, #F1F5F9 55%, #FFA07A 80%, #FE5006 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Primärer Action-Button: Exakt im strahlenden Logo-Orange #FE5006 */
.btn-construction {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  background: linear-gradient(135deg, #FF661E 0%, #FE5006 50%, #E64500 100%);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  padding: 1.1rem 2.25rem;
  border-radius: 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 26px -3px rgba(254, 80, 6, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  touch-action: manipulation;
}

.btn-construction::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: 0.6s;
  pointer-events: none;
}

.btn-construction:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #FF7733 0%, #FF661E 50%, #FE5006 100%);
  box-shadow: 0 10px 34px -2px rgba(254, 80, 6, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-construction:hover::before {
  left: 100%;
}

.btn-construction:active {
  transform: translateY(0);
  box-shadow: 0 4px 16px -2px rgba(254, 80, 6, 0.5);
}

/* Mobile Optimierung für den Button */
@media (max-width: 640px) {
  .btn-construction {
    width: 100%;
    padding: 0.95rem 1.25rem;
    font-size: 0.98rem;
  }
}

/* Pulsierender Baustellen-Statuspunkt in Logo-Orange */
.live-pulse-dot {
  position: relative;
  display: inline-flex;
  width: 8px;
  height: 8px;
}

.live-pulse-dot::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--logo-orange);
  animation: pulsePing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.live-pulse-dot::after {
  content: '';
  position: relative;
  display: inline-flex;
  border-radius: 50%;
  width: 8px;
  height: 8px;
  background-color: var(--logo-orange);
}

@keyframes pulsePing {
  75%, 100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

/* Modal Overlay & Transitions */
.modal-overlay {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  transform: scale(0.96) translateY(10px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}
