/* ==========================================================================
   daKI.tech Agentur - Cross-Browser Master Design System (Chrome & Edge Sync)
   Fully Normalized Backdrop-Filter (-webkit), Flexbox, CSS Grid & Cache Sync
   ========================================================================== */

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

:root {
  --bg-dark: #020B14;
  --bg-gradient: radial-gradient(ellipse at 50% -10%, #061527 0%, #020B14 60%, #01050A 100%);
  --bg-surface: #050E18;
  --bg-card: rgba(8, 20, 36, 0.85);
  --bg-card-hover: rgba(14, 32, 56, 0.95);
  --bg-pill: rgba(0, 212, 255, 0.06);

  --brand-cyan: #00D4FF;
  --brand-cyan-glow: #00E5FF;
  --brand-blue: #2563EB;
  --brand-teal: #10B981;

  --gradient-primary: linear-gradient(135deg, #00E5FF 0%, #00D4FF 40%, #2563EB 100%);
  --gradient-button: linear-gradient(90deg, #00D4FF 0%, #0099FF 100%);
  --gradient-hover: linear-gradient(90deg, #00BEE6 0%, #0088EE 100%);

  --text-primary: #FFFFFF;
  --text-secondary: #8FA8BF;
  --text-muted: #5B7388;

  --border-subtle: rgba(0, 212, 255, 0.14);
  --border-highlight: rgba(0, 229, 255, 0.38);
  --border-card: 1px solid var(--border-subtle);

  --shadow-card: 0 20px 45px -10px rgba(0, 0, 0, 0.85), 0 0 25px rgba(0, 212, 255, 0.06);

  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --radius-full: 9999px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: #01050A;
  background-image: radial-gradient(ellipse at 50% -10%, #061527 0%, #020B14 60%, #01050A 100%);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  background-color: #01050A;
  background-image: radial-gradient(ellipse at 50% -10%, #061527 0%, #020B14 60%, #01050A 100%);
  background-attachment: fixed;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Background Canvas Disabled across all engines */
#webgl-container, canvas { display: none !important; }

/* Custom Cursor */
.custom-cursor {
  position: fixed; width: 26px; height: 26px; border: 2px solid var(--brand-cyan); border-radius: 50%;
  pointer-events: none; z-index: 99999; transform: translate(-50%, -50%); transition: transform 0.15s ease-out; box-shadow: 0 0 15px var(--brand-cyan);
}

.custom-cursor-dot {
  position: fixed; width: 6px; height: 6px; background-color: #FFFFFF; border-radius: 50%;
  pointer-events: none; z-index: 100000; transform: translate(-50%, -50%);
}

.custom-cursor.active { width: 52px; height: 52px; background-color: rgba(0, 212, 255, 0.15); border-color: #FFFFFF; }

/* Typography & Cross-Browser Line Heights */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  text-transform: uppercase;
  text-align: left;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.8rem); font-weight: 800; }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.45rem); font-weight: 700; }

.sub-headline-light {
  font-size: clamp(1.35rem, 2.4vw, 2.2rem);
  font-weight: 400;
  color: var(--brand-cyan-glow);
  display: block;
  margin-top: 0.35rem;
  letter-spacing: -0.015em;
  text-align: left;
}

p { color: var(--text-secondary); text-align: left; }

.highlight-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 1.5rem; position: relative; z-index: 2; }
.section-padding { padding: 4.5rem 0; }

/* WIREFRAME DIVIDER LINES */
.wireframe-divider {
  width: 100%; border: none; border-bottom: 1px dashed rgba(0, 212, 255, 0.16); margin: 0;
}

/* CORNER CROSSHAIRS */
.corner-crosshair {
  position: absolute; font-family: var(--font-heading); font-size: 0.8rem; color: var(--brand-cyan); opacity: 0.5; pointer-events: none;
}
.corner-top-left { top: 8px; left: 10px; }
.corner-top-right { top: 8px; right: 10px; }
.corner-bottom-left { bottom: 8px; left: 10px; }
.corner-bottom-right { bottom: 8px; right: 10px; }

@media (max-width: 768px) { .section-padding { padding: 3.5rem 0; } }

/* Badges & Buttons */
.badge-pill {
  display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full); background: var(--bg-pill); border: 1px solid var(--border-highlight);
  color: var(--brand-cyan-glow); font-family: var(--font-heading); font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1.25rem;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.15);
}

.badge-dot { width: 7px; height: 7px; border-radius: 50%; background-color: var(--brand-cyan-glow); box-shadow: 0 0 10px var(--brand-cyan-glow); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem; padding: 0.9rem 1.85rem;
  font-family: var(--font-heading); font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  border-radius: var(--radius-full); transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer; border: none; white-space: nowrap; text-decoration: none;
}

.btn-primary { background: var(--gradient-button); color: #020B14; box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4); }
.btn-primary:hover { transform: translateY(-2px); background: var(--gradient-hover); box-shadow: 0 12px 35px rgba(0, 229, 255, 0.6); }

.btn-secondary {
  background: rgba(8, 20, 36, 0.85); color: var(--text-primary); border: 1px solid var(--border-subtle);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.btn-secondary:hover { background: rgba(14, 32, 56, 0.95); border-color: var(--border-highlight); color: var(--brand-cyan-glow); transform: translateY(-2px); }

/* Glass Cards with -webkit-backdrop-filter support */
.glass-card {
  background: var(--bg-card);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border: var(--border-card); border-radius: var(--radius-xl); padding: 2rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: var(--shadow-card); position: relative; text-align: left;
}

.glass-card:hover { border-color: var(--border-highlight); background: var(--bg-card-hover); box-shadow: 0 22px 50px rgba(0, 0, 0, 0.85), 0 0 25px rgba(0, 212, 255, 0.15); }

.section-header { text-align: left; max-width: 860px; margin-bottom: 3rem; }
.section-header p { font-size: 1.05rem; margin-top: 0.75rem; text-transform: none; text-align: left; }

/* Header Navigation */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 1rem 0;
  background: rgba(2, 11, 20, 0.92);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 212, 255, 0.08);
}

.nav-wrapper { display: flex; align-items: center; justify-content: space-between; }
.header-logo-img { height: 42px; width: auto; object-fit: contain; filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.35)); }

.nav-menu { display: flex; align-items: center; gap: 1.5rem; list-style: none; }
.nav-link { font-family: var(--font-heading); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-secondary); transition: color 0.2s ease; white-space: nowrap; text-decoration: none; }
.nav-link:hover { color: var(--brand-cyan-glow); }

.mobile-menu-toggle { display: none; background: none; border: none; color: #FFFFFF; font-size: 1.8rem; cursor: pointer; }
.mobile-cta { display: none; }

@media (max-width: 991px) {
  .header-cta-desktop { display: none; }
  .mobile-cta { display: block; width: 100%; }
  .mobile-cta .btn { width: 100%; }
  .nav-menu {
    position: fixed; top: 70px; left: 0; right: 0; background: var(--bg-surface); flex-direction: column; padding: 2rem; gap: 1.25rem;
    border-bottom: 1px solid var(--border-highlight); transform: translateY(-150%); transition: transform 0.3s ease;
  }
  .nav-menu.active { transform: translateY(0); }
  .mobile-menu-toggle { display: block; }
}

/* HERO SECTION */
.hero-section { min-height: 85vh; display: flex; align-items: center; padding-top: 7.5rem; padding-bottom: 3.5rem; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }

@media (min-width: 992px) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; } }

.hero-subheadline { font-size: clamp(1rem, 1.4vw, 1.2rem); color: var(--text-secondary); margin-bottom: 2rem; line-height: 1.7; text-transform: none; text-align: left; }
.hero-cta-group { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }

.hero-visual-card {
  background: var(--bg-card); border: 1px solid var(--border-highlight); border-radius: var(--radius-xl);
  padding: 2rem; text-align: left; box-shadow: 0 25px 60px rgba(0,0,0,0.9), 0 0 35px rgba(0, 212, 255, 0.15);
}

.emblem-title { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; letter-spacing: 0.1em; color: var(--text-primary); margin-bottom: 1.5rem; text-align: left; }

.badge-grid-2x2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; }
.pill-tag {
  display: flex; align-items: center; justify-content: center; gap: 0.4rem; padding: 0.55rem 0.75rem;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border-subtle); border-radius: var(--radius-sm);
  font-family: var(--font-heading); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; color: var(--text-primary);
}

/* BENTO GRID */
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 991px) { .bento-grid { grid-template-columns: 1fr; } }

.bento-tag { font-family: var(--font-heading); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; color: var(--brand-cyan-glow); text-transform: uppercase; margin-bottom: 0.75rem; display: block; text-align: left; }
.metric-bento-number { font-family: var(--font-heading); font-size: clamp(2.8rem, 4vw, 3.8rem); font-weight: 800; line-height: 1; margin-bottom: 0.5rem; text-align: left; }

.bento-floating-card {
  background: rgba(5, 14, 24, 0.96); border: 1px solid var(--border-highlight); border-radius: var(--radius-xl);
  padding: 2.25rem 1.75rem; text-align: left; box-shadow: 0 30px 70px rgba(0,0,0,0.95), 0 0 40px rgba(0, 212, 255, 0.25);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
}

/* SHADOW-AI & RISK GRID */
.risk-grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.risk-card-item { background: rgba(239, 68, 68, 0.03); border: 1px solid rgba(239, 68, 68, 0.25); border-radius: var(--radius-lg); padding: 1.75rem; text-align: left; }
.risk-card-icon { width: 36px; height: 36px; border-radius: var(--radius-sm); background: rgba(239, 68, 68, 0.15); color: #F87171; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 1.1rem; margin-bottom: 1rem; }

/* WORKFLOW GRID */
.workflow-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 992px) { .workflow-grid { grid-template-columns: 0.9fr 1.1fr; } }
.workflow-mockup-card { background: rgba(5, 14, 24, 0.9); border: 1px solid var(--border-highlight); border-radius: var(--radius-lg); padding: 2rem; text-align: left; }

/* FORMS */
.cta-form-card { max-width: 680px; margin: 0 auto; background: rgba(5, 14, 24, 0.95); border: 1px solid var(--border-highlight); border-radius: var(--radius-xl); padding: 2.75rem 2rem; text-align: left; box-shadow: 0 30px 70px rgba(0,0,0,0.95), 0 0 35px rgba(0, 212, 255, 0.2); }
.form-field { width: 100%; padding: 1rem 1.15rem; background: rgba(2, 11, 20, 0.85); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); color: var(--text-primary); font-family: var(--font-body); font-size: 0.95rem; transition: border-color 0.2s ease; margin-bottom: 1rem; }
.form-field:focus { outline: none; border-color: var(--brand-cyan-glow); box-shadow: 0 0 15px rgba(0, 229, 255, 0.3); }

/* AUDIT TIMELINE STEPPER */
.audit-stepper-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; margin-bottom: 2rem;
}

.stepper-card {
  background: rgba(2, 11, 20, 0.85); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
  padding: 1.5rem; text-align: left; position: relative; transition: border-color 0.2s ease;
}

.stepper-card:hover { border-color: var(--border-highlight); }
.stepper-number { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; color: var(--brand-cyan-glow); margin-bottom: 0.5rem; display: block; }
.audit-offer-card { background: var(--bg-card); border: 1px solid var(--border-highlight); border-radius: var(--radius-xl); padding: 2.5rem 2rem; box-shadow: 0 25px 60px rgba(0,0,0,0.9), 0 0 35px rgba(0, 212, 255, 0.15); text-align: left; }
.audit-price-box { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.25rem; background: rgba(0, 212, 255, 0.05); border: 1px solid var(--border-highlight); border-radius: var(--radius-lg); padding: 1.35rem 1.75rem; }
.audit-price-tag { font-family: var(--font-heading); font-size: 2rem; font-weight: 800; color: #FFFFFF; }

/* CALCULATOR & PRESET TABS */
.preset-tabs-group { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.preset-tab { padding: 0.45rem 0.9rem; background: rgba(2, 11, 20, 0.85); border: 1px solid var(--border-subtle); border-radius: var(--radius-full); font-family: var(--font-heading); font-size: 0.75rem; font-weight: 700; color: var(--text-secondary); cursor: pointer; transition: all 0.2s ease; }
.preset-tab.active, .preset-tab:hover { background: rgba(0, 212, 255, 0.12); border-color: var(--border-highlight); color: var(--brand-cyan-glow); }
.calculator-card { background: var(--bg-card); border: 1px solid var(--border-highlight); border-radius: var(--radius-xl); padding: 2.5rem 2rem; text-align: left; }
.calculator-grid { display: grid; grid-template-columns: 1fr; gap: 2.25rem; align-items: center; }
@media (min-width: 992px) { .calculator-grid { grid-template-columns: 1.1fr 0.9fr; } }
.slider-group { margin-bottom: 1.5rem; }
.slider-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.slider-label { font-family: var(--font-heading); font-size: 0.875rem; font-weight: 600; color: #FFFFFF; }
.slider-val { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 700; color: var(--brand-cyan-glow); }
.custom-range-slider { width: 100%; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.1); outline: none; -webkit-appearance: none; }
.custom-range-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-cyan-glow); cursor: pointer; box-shadow: 0 0 15px var(--brand-cyan-glow); }
.result-glowing-box { background: rgba(0, 212, 255, 0.08); border: 1px solid var(--border-highlight); border-radius: var(--radius-xl); padding: 2.25rem 1.5rem; text-align: left; box-shadow: 0 0 30px rgba(0, 212, 255, 0.2); }
.result-amount { font-family: var(--font-heading); font-size: clamp(2.5rem, 4vw, 3.8rem); font-weight: 800; color: #FFFFFF; margin: 0.5rem 0; text-align: left; }

/* REGIONAL & FOUNDER */
.regional-grid { display: grid; grid-template-columns: 1fr; gap: 2.25rem; align-items: center; }
@media (min-width: 992px) { .regional-grid { grid-template-columns: 0.85fr 1.15fr; } }
.founder-portrait-card { position: relative; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--border-highlight); }
.founder-portrait-img { width: 100%; height: auto; display: block; }
.founder-badge-overlay {
  position: absolute; bottom: 1.1rem; left: 1.1rem; right: 1.1rem; background: rgba(2, 11, 20, 0.9);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  padding: 1rem; border-radius: var(--radius-md); border: 1px solid var(--border-highlight); text-align: left;
}
.founder-trust-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.trust-badge-pill { padding: 0.35rem 0.75rem; background: rgba(0, 212, 255, 0.08); border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); font-family: var(--font-heading); font-size: 0.75rem; font-weight: 700; color: var(--brand-cyan-glow); }
.regional-cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 1rem; max-width: 840px; margin: 0 auto; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); overflow: hidden; transition: border-color 0.2s ease; }
.faq-item.active { border-color: var(--border-highlight); }
.faq-header { padding: 1.25rem 1.5rem; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-family: var(--font-heading); font-size: 1rem; font-weight: 700; color: #FFFFFF; text-align: left; }
.faq-icon { color: var(--brand-cyan-glow); font-size: 1.1rem; transition: transform 0.25s ease; }
.faq-item.active .faq-icon { transform: rotate(180deg); }
.faq-body { padding: 0 1.5rem 1.25rem 1.5rem; color: var(--text-secondary); line-height: 1.65; display: none; text-align: left; }
.faq-item.active .faq-body { display: block; }

/* ==========================================================================
   GERMAN & EU COMPLIANT CORPORATE FOOTER (4-COLUMN GRID)
   ========================================================================== */
.site-footer {
  background: #01050A; border-top: 1px solid var(--border-subtle); padding: 4.5rem 0 2.5rem 0;
}

.footer-grid-4 {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2.5rem; margin-bottom: 3rem;
}

.footer-logo-img {
  height: 52px; width: auto; max-width: 220px; object-fit: contain;
  background: rgba(255, 255, 255, 0.95); padding: 8px 16px; border-radius: var(--radius-md);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.2); display: block;
}

.footer-column-title {
  font-family: var(--font-heading); font-size: 0.875rem; font-weight: 700; letter-spacing: 0.08em;
  color: var(--brand-cyan-glow); text-transform: uppercase; margin-bottom: 1.15rem; text-align: left;
}

.footer-links-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-link {
  color: var(--text-secondary); font-size: 0.875rem; text-decoration: none; transition: color 0.2s ease; cursor: pointer; text-align: left;
}
.footer-link:hover { color: var(--brand-cyan-glow); }

.footer-legal-box {
  background: rgba(2, 11, 20, 0.85); border: 1px solid var(--border-subtle); border-radius: var(--radius-md);
  padding: 1.15rem; font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; margin-top: 1rem;
}

.footer-bottom-bar {
  border-top: 1px solid var(--border-subtle); padding-top: 2rem; display: flex;
  flex-direction: column; md:flex-row; justify-content: space-between; align-items: flex-start; gap: 1.25rem;
  font-size: 0.8rem; color: var(--text-muted);
}

.modal-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(2, 11, 20, 0.92);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 1.5rem;
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-card { background: var(--bg-surface); border: 1px solid var(--border-highlight); border-radius: var(--radius-xl); max-width: 850px; width: 100%; max-height: 85vh; overflow-y: auto; padding: 2.5rem; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.95); text-align: left; }
