/* ============================================================
   VIZIOO – Zentrales Stylesheet
   ============================================================ */

/* ── Schrift: Montserrat (lokal, Variable Font) ── */
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-50:  #E6F1FB;
  --blue-100: #B5D4F4;
  --blue-200: #85B7EB;
  --blue-400: #378ADD;
  --blue-600: #185FA5;
  --blue-800: #0C447C;
  --blue-900: #042C53;

  --gray-50:  #F8F9FA;
  --gray-100: #F1F3F5;
  --gray-200: #E9ECEF;
  --gray-400: #ADB5BD;
  --gray-600: #6C757D;
  --gray-800: #343A40;
  --gray-900: #212529;

  --text-primary:   #1a1a2e;
  --text-secondary: #6C757D;
  --text-muted:     #ADB5BD;

  --bg-page:    #F8F9FB;
  --bg-white:   #ffffff;
  --bg-surface: #F1F3F8;

  --border:       #E2E8F0;
  --border-focus: #378ADD;

  --success: #2E7D32;
  --danger:  #C62828;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);

  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-weight: 400;
  background: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

/* ── Typography ── */
h1 { font-size: 2.6rem; font-weight: 600; line-height: 1.15; letter-spacing: -0.03em; }
h2 { font-size: 1.6rem; font-weight: 600; letter-spacing: -0.02em; }
h3 { font-size: 1.1rem; font-weight: 600; }
p  { color: var(--text-secondary); }
a  { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Utility ── */
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); font-size: 0.85rem; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 400;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
  text-decoration: none;
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--blue-600);
  color: #fff;
  border-color: var(--blue-600);
}
.btn-primary:hover { background: var(--blue-800); border-color: var(--blue-800); text-decoration: none; color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border);
}
.btn-outline:hover { background: var(--bg-surface); text-decoration: none; color: var(--text-primary); }

.btn-sm { padding: 7px 16px; font-size: 0.875rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── Navigation ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 100px;
  height: 64px;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}
/* Logo + Menülinks links gruppieren (Button bleibt rechts) */
.nav-left {
  display: flex;
  align-items: center;
  gap: 56px;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.lang-switcher a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.lang-switcher a:hover,
.lang-switcher a.lang-active { color: #fff; }
.lang-sep { color: rgba(255,255,255,0.25); }
@media (max-width: 900px) {
  .nav { padding: 0 24px; }
  .nav-right { display: none; }
}

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 18px;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 400;
}
.nav-links a:hover { color: var(--text-primary); }

/* ── Cards ── */
.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

/* ── Badge ── */
.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--blue-50);
  color: var(--blue-800);
}
.badge-success { background: #E8F5E9; color: #2E7D32; }
.badge-warning { background: #FFF8E1; color: #F57F17; }

/* ── Progress Bar ── */
.progress-bar {
  background: var(--bg-surface);
  border-radius: 99px;
  height: 8px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue-400), var(--blue-600));
  border-radius: 99px;
  transition: width 0.6s ease;
}

/* ── Divider ── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 24px 0;
}

/* ── Section label ── */
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-400);
  margin-bottom: 12px;
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--bg-white);
  margin-top: 80px;
}

/* ── Liquid-Chrome Shader-Hintergrund für Unterseiten ── */
.shader-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  /* Fallback-Verlauf, falls WebGL nicht verfügbar ist */
  background: linear-gradient(135deg, #0a1430 0%, #1a1a40 50%, #0d2540 100%);
}
.shader-bg canvas {
  display: block;
  width: 100%;
  height: 100%;
  /* weichzeichnen für eine unschärfere, sanftere Flüssigkeit
     (leicht vergrößert, damit keine unscharfen Ränder sichtbar werden) */
  filter: blur(40px);
  transform: scale(1.18);
}
/* Vignette für bessere Textlesbarkeit */
.shader-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(5,10,25,0.28) 100%);
}

/* ── Glas-Karte (Glassmorphism) ── */
.glass {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}

/* ── Transparente Nav für Unterseiten mit Aurora-Hintergrund ── */
.nav.nav-overlay {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  z-index: 50;
}
.nav.nav-overlay .nav-links a,
.nav.nav-overlay .nav-links span { color: rgba(255,255,255,0.85); }
.nav.nav-overlay .nav-links a:hover { color: #fff; }
.nav.nav-overlay .nav-logo img { filter: brightness(0) invert(1); }
.nav.nav-overlay .btn-outline {
  color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.35);
  background: transparent;
}
.nav.nav-overlay .btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}
.nav.nav-overlay .btn-primary {
  padding: 8px 24px;
  font-size: 15px;
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}
.nav.nav-overlay .btn-primary:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}

/* ── Unterseiten mit Aurora-Hintergrund: helle Texte + Inhalt über dem BG ── */
body.subpage { color: rgba(255,255,255,0.82); }
body.subpage h1,
body.subpage h2,
body.subpage h3,
body.subpage h4 { color: #fff; }
body.subpage p { color: rgba(255,255,255,0.72); }
body.subpage .section-eyebrow { color: var(--blue-200); }
body.subpage .back-link { color: rgba(255,255,255,0.7); }
body.subpage .back-link:hover { color: #fff; }
body.subpage .page-hero,
body.subpage .content-section,
body.subpage > section,
body.subpage footer { position: relative; z-index: 1; }
body.subpage footer {
  background: transparent;
  border-top-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.6);
}
body.subpage footer a { color: rgba(255,255,255,0.82); }

/* ============================================================
   THEME: ROYAL — zum Resetten: diesen Block komplett löschen
   ============================================================ */
:root {
  --blue-50:  #EEEAF8;
  --blue-100: #C9C4E8;
  --blue-200: #887CCE;
  --blue-400: #88BA15;
  --blue-600: #0000A8;
  --blue-800: #00007A;
  --blue-900: #000050;
  --border-focus: #88BA15;
}

/* Shader-Tint: Royal Blue + Lavender */
.shader-bg::after {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 25% 55%, rgba(0,0,168,0.22) 0%, transparent 60%),
    radial-gradient(ellipse at 78% 30%, rgba(136,124,206,0.18) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

/* Leistungen-Kacheln: Hover-Akzent Lime */
a.service-card:hover {
  border-color: rgba(136,186,21,0.5) !important;
  box-shadow: 0 20px 50px rgba(136,186,21,0.10);
}
.card-arrow svg { stroke: #88BA15; }

/* Homepage: Leistungen-Eyebrow Lavender */
.services-section .section-eyebrow { color: #887CCE !important; }

/* Subpage eyebrow: Lavender */
body.subpage .section-eyebrow { color: #887CCE; }

/* Links auf Legal-Seiten */
.legal-card a { color: #887CCE; }
.legal-card a:hover { color: #fff; }

/* Intro Aurora */
#vizioo-intro { background: #000000 !important; }
/* ============================================================
   END THEME: ROYAL
   ============================================================ */
