/* ===========================
   Burwitz IT – style.css
   Abhängigkeiten (über CDN in index.html):
   - Bootstrap 5.3
   - Inter Variable Font
   - AOS (eigene CSS via CDN)
   =========================== */

/* Typografie & Design-Variablen */
:root {
  --btz-blue-500: #0d6efd; /* Bootstrap primary */
  --btz-blue-600: #0b5ed7;
  --btz-overlay: rgba(10, 20, 30, .55); /* Abdunkelung für Hero-Bild */
  --btz-glass: rgba(255,255,255,.88);   /* Glasfläche für dunklen Text */
  --btz-blur: 12px;
}

html, body { height: 100%; }
body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: #111827; /* sehr dunkles Grau für hohe Lesbarkeit */
  background-color: #ffffff;
}

/* Preloader */
.preloader {
  z-index: 2000;
  transition: opacity .4s ease, visibility .4s ease;
}
.preloader.preloader-hide {
  opacity: 0;
  visibility: hidden;
}

/* ---------------------------
   HERO
   --------------------------- */
.hero-welcome { position: relative; overflow: hidden; }

/* Hintergrundbild im Hero: echtes <img>, füllt den Viewport */
.hero-welcome .hero-bg {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transform: scale(1.03);
  transition: transform 1.2s ease;
  z-index: -10; /* Backup, zusätzlich zu Bootstrap .z-n1 in HTML */
}

/* Abdunkelung über dem Bild für Kontrast der Glas-Box */
.hero-overlay {
  background: var(--btz-overlay);
  z-index: 2; /* Bild liegt darunter, Content liegt darüber */
}

/* Glas-Box für dunklen Text, gute Lesbarkeit */
.glass-box {
  background: var(--btz-glass);
  backdrop-filter: blur(var(--btz-blur));
  -webkit-backdrop-filter: blur(var(--btz-blur));
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 1rem;
}

/* Animierte Gradient-Unterstreichung der H1 */
.gradient-underline { position: relative; display: inline-block; }
.gradient-underline::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -6px;
  height: 3px; border-radius: 999px;
  background: linear-gradient(90deg, var(--btz-blue-500), var(--btz-blue-600));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s ease;
}
.gradient-underline:hover::after { transform: scaleX(1); }

/* ---------------------------
   LEISTUNGEN / CARDS
   --------------------------- */
.card {
  border-radius: 1rem;
  transition: transform .25s ease, box-shadow .25s ease;
}
.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(0,0,0,.16);
}
.card-gradient {
  background: linear-gradient(180deg, #ffffff, #f7f9fc);
}

/* Icon-Badge oben in der Karte */
.icon-badge {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(13,110,253,.12);
  color: var(--btz-blue-500);
  font-size: 22px;
}

/* ---------------------------
   PORTRÄT (eckig, Rahmen, Schatten)
   --------------------------- */
.object-cover { object-fit: cover; }
.img-frame {
  border-radius: .75rem;
  border: 2px solid rgba(0,0,0,.06);
  box-shadow: 0 14px 36px rgba(0,0,0,.16);
}

/* ---------------------------
   SEKTIONEN / HINTERGRUND
   --------------------------- */
.bg-body-tertiary { background-color: #eef2f6 !important; } /* gedämpft statt grell */

/* ---------------------------
   FOOTER MIT PARTICLES
   --------------------------- */
.footer-particles {
  background: #0b0d12; /* sehr dunkles Blau/Anthrazit */
  color: #e8eef9;
}
.footer-particles a { color: #b7c2d6; }
.footer-particles a:hover { color: #ffffff; }
/* Stelle sicher, dass der Content über dem Canvas liegt */
.footer-particles .container,
.footer-particles .row,
.footer-particles p,
.footer-particles h3 {
  position: relative;
  z-index: 2;
}
.footer-particles .particles {
  z-index: 1;
  pointer-events: none;
}

/* ---------------------------
   ACCESSIBILITY / UX
   --------------------------- */
/* Skip-Link sichtbar beim Fokus */
.visually-hidden-focusable:focus {
  position: fixed !important;
  z-index: 1050;
  clip: auto !important;
  width: auto; height: auto;
}

/* Bewegungen reduzieren: respektiere Nutzerpräferenz */
@media (prefers-reduced-motion: reduce) {
  .preloader { transition: none !important; }
  .hero-welcome .hero-bg { transform: none !important; }
}


/* Headline Akzent */
.section-title{
  font-weight:800; color:var(--btz-ink);
  position:relative; display:inline-block;
}
.section-title:after{
  content:""; position:absolute; left:0; bottom:-8px;
  height:4px; width:56%;
  background:linear-gradient(90deg,var(--btz-blue-500),rgba(13,110,253,0));
  border-radius:4px;
}

/* Chips / Feature-Liste im Hero */
.hero-chips{
  margin:0; padding:0; display:grid; gap:.75rem;
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.hero-chips li{
  list-style:none; font-weight:600; color:var(--btz-ink);
  background:#ffffffee; border:1px solid #e5e7eb;
  border-radius:.65rem; padding:.6rem .75rem;
}
@media (max-width: 992px){ .hero-chips{ grid-template-columns:1fr; } }

/* Karten / Hover */
.card-elev{
  border:1px solid rgba(15,23,42,.08); border-radius:14px;
  box-shadow:0 10px 30px rgba(2,6,23,.06);
  transition:transform .25s ease, box-shadow .25s ease;
}
.card-elev:hover{
  transform:translateY(-4px);
  box-shadow:0 14px 42px rgba(2,6,23,.10);
}

/* Icon-Badge */
.icon-badge{
  width:44px; height:44px; border-radius:10px;
  display:grid; place-items:center; font-size:20px;
  color:#0b2540; background:rgba(13,110,253,.12);
  border:1px solid rgba(13,110,253,.24);
}

/* Timeline */
.timeline{ position:relative; padding-left:28px; }
.timeline:before{
  content:""; position:absolute; left:10px; top:0; bottom:0;
  width:2px; background:linear-gradient(180deg,var(--btz-blue-500),transparent);
}
.step{ position:relative; margin-bottom:18px; }
.step:before{
  content:""; position:absolute; left:-20px; top:6px;
  width:12px; height:12px; border-radius:50%;
  background:#fff; border:3px solid var(--btz-blue-500);
}

/* Case Tags */
.tag-grid{ display:flex; flex-wrap:wrap; gap:.6rem; }
.tag{
  padding:.45rem .65rem; font-weight:600; border-radius:999px;
  border:1px solid #e5e7eb; background:#fff; color:#0b2540;
}

/* Info Stripes */
.info-tile{
  display:flex; gap:.75rem; align-items:flex-start;
  padding:1rem 1.1rem; border:1px solid #e5e7eb;
  border-radius:12px; background:#fff;
}
.info-tile .leadsmall{ font-size:.98rem; margin:0; }

/* CTA-Bar */
.cta-bar{
  background:
    radial-gradient(1100px 400px at 10% -10%, rgba(13,110,253,.20), transparent),
    radial-gradient(900px 400px at 100% 110%, rgba(13,110,253,.20), transparent),
    #0b2540;
  color:#e6f0ff; border-radius:16px;
}
.cta-bar .btn{ box-shadow:0 10px 24px rgba(13,110,253,.3); }

/* Footer Particles Farben */
.footer-particles{ background:#0b2540; color:#dbe7ff; }
.footer-particles a{ color:#dbe7ff; opacity:.9; }
.footer-particles a:hover{ opacity:1; }
