/* ---------- Farben & Basis ---------- */
:root{
  --bg: #0b0c10;
  --fg: #e9edf3;
  --muted: #b6bcc8;
  --accent: rgb(42,44,135);
  --accent-2: rgb(90,91,110);
  --maxw: 1200px;
}

/* Reset */
*{ box-sizing: border-box; }
html,body{ height:100%; margin:0; }

/* ---------- Hintergrund (unverändert im Look, aber ohne Kante) ---------- */
body{
  color:var(--fg);
  font: 500 18px/1.5 system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;

  /* deine bekannte Komposition */
  background:
    radial-gradient(1200px 600px at 12% -10%, rgba(42,44,135,.22), transparent 60%),
    radial-gradient(1000px 500px at 120% 110%, rgba(90,91,110,.18), transparent 60%),
    linear-gradient(135deg, rgba(255,255,255,.06) 1px, transparent 1px),
    radial-gradient(1200px 800px at 50% 40%, #111318, #0b0c10 70%),
    var(--bg);

  /* wichtig: kein Wiederholen der großen Radials */
  background-repeat:
    no-repeat,           /* 1. radial */
    no-repeat,           /* 2. radial */
    repeat,              /* grid */
    no-repeat,           /* basis-radial */
    no-repeat;           /* solid */

  background-size:
    auto, auto,
    22px 22px,
    auto, auto;

  background-blend-mode:
    screen, screen,
    overlay,
    normal, normal;

  position: relative;
  isolation: isolate;
}

body::before{
  content:"";
  position: fixed;       /* statt absolute → scrollt nicht mit */
  left:0;
  top:0;
  width:100%;
  height:100vh;          /* nur Fensterhöhe */
  pointer-events:none;
  z-index:-1;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0) 60%,
    rgba(0,0,0,.65) 95%,
    #000 100%
  );
}


body::after{
  content:"";
  position: fixed; inset:0;
  pointer-events:none;
  opacity:.06;
  background-image: url('data:image/svg+xml;utf8,\
  <svg xmlns="http://www.w3.org/2000/svg" width="120" height="120">\
    <filter id="n"><feTurbulence type="fractalNoise" baseFrequency=".9" numOctaves="2" stitchTiles="stitch"/></filter>\
    <rect width="100%" height="100%" filter="url(%23n)" opacity=".35"/>\
  </svg>');
  mix-blend-mode: soft-light;
}

/* Layout */
.wrap{
  min-height:100dvh;
  max-width:var(--maxw);
  margin-inline:auto;
  padding: clamp(16px, 4vw, 48px);
  display:grid;
  grid-template-rows:auto 1fr auto;
  align-items:center;
  gap: clamp(16px, 3vw, 32px);
}

header{
  position: relative;
  display:flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap:8px;
  text-align:center;
}

/* --- Sichtbares, helles Spotlight hinter dem Logo --- */
header::before{
  content:"";
  position:absolute; left:50%; top:50%;
  transform: translate(-50%, -50%);
  width: clamp(420px, 52vw, 780px);
  height: clamp(150px, 20vw, 300px);
  border-radius: 60%/50%;
  background:
    radial-gradient(65% 75% at 50% 50%,
      rgba(255,255,255,0.55) 0%,
      rgba(255,255,255,0.30) 35%,
      rgba(80,85,200,0.18) 60%,
      rgba(42,44,135,0.10) 75%,
      transparent 100%);
  filter: blur(36px);
  opacity: 0.95;
  pointer-events:none;
  z-index:-1;
}

/* --- Dezent aufgehellter Streifen unter Logo (für "IT CONSULTING") --- */
header::after{
  content:"";
  position:absolute; left:50%; top:68%;
  transform: translateX(-50%);
  width: clamp(360px, 46vw, 700px);
  height: clamp(16px, 2.2vw, 28px);
  background:
    radial-gradient(80% 120% at 50% 50%,
      rgba(255,255,255,0.20) 0%,
      rgba(255,255,255,0.10) 40%,
      transparent 100%);
  filter: blur(18px);
  opacity: .85;
  pointer-events:none;
  z-index:-1;
}

/* --- Logo selbst leicht verstärkt --- */
header img{
  height:64px; width:auto;
  filter:
    brightness(1.55)
    contrast(1.25)
    saturate(1.15)
    drop-shadow(0 0 2px rgba(255,255,255,0.22))
    drop-shadow(0 12px 28px rgba(0,0,0,0.45));
  transition: filter .25s ease, transform .25s ease;
}
header img:hover{
  transform: translateY(-1px) scale(1.03);
  filter:
    brightness(1.62)
    contrast(1.28)
    saturate(1.18)
    drop-shadow(0 0 3px rgba(255,255,255,0.28))
    drop-shadow(0 16px 32px rgba(0,0,0,0.5));
}

header .brand{
  font-weight:700;
  letter-spacing:.02em;
  color:var(--muted);
  font-size: clamp(14px, 2vw, 16px);
  text-transform: uppercase;
}

/* Hero-Bereich */
.hero{
  display:grid;
  place-items:center;
  text-align:center;
  padding-block: clamp(48px, 12vw, 140px);
  position: relative;
}
.hero::before{
  content:"";
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  top:35%;
  width: 80%;
  height: clamp(220px, 40vw, 360px);
  background:
    radial-gradient(45% 60% at 50% 50%, rgba(42,44,135,.22), transparent 60%),
    radial-gradient(30% 40% at 55% 55%, rgba(255,255,255,.06), transparent 70%);
  filter: blur(24px);
  z-index:-1;
  opacity:.8;
}

h1{
  margin:0;
  font-weight:800;
  letter-spacing:.01em;
  line-height:1.15;
  font-size: clamp(28px, 5vw, 52px);
  text-wrap: balance;
  text-shadow: 0 1px 0 rgba(0,0,0,.2), 0 16px 40px rgba(0,0,0,.35);
}
.accent-rule{
  width:min(360px, 40%);
  height:2px;
  margin: 18px auto 0;
  background: linear-gradient(90deg, transparent, rgba(42,44,135,.9), rgba(90,91,110,.7), transparent);
  border-radius: 2px;
}

/* Footer */
footer{
  display:flex; justify-content:space-between; align-items:center;
  gap:12px; opacity:.8; color:var(--muted);
  font-size: clamp(12px, 1.6vw, 14px);
}
a{ color:rgba(180,186,255,.9); text-decoration:none; }
a:hover{ text-decoration:underline; }

/* --- Mobile-Feintuning (iOS/Android) --- */
@media (max-width: 600px){
  header{
    margin-top: calc(env(safe-area-inset-top, 0px) + 36px);
  }
  header img{
    height: 84px;
    filter:
      brightness(1.6)
      contrast(1.28)
      saturate(1.15)
      drop-shadow(0 0 2px rgba(255,255,255,.22))
      drop-shadow(0 12px 28px rgba(0,0,0,.45));
  }

  header::before{
    width: 82vw;
    height: 26vw;
    filter: blur(34px);
    opacity: .98;
    background:
      radial-gradient(62% 70% at 50% 50%,
        rgba(255,255,255,0.60) 0%,
        rgba(255,255,255,0.28) 32%,
        rgba(76,80,190,0.16) 58%,
        rgba(42,44,135,0.10) 74%,
        transparent 100%);
  }

  header::after{
    top: 68%;
    width: 72vw;
    height: 4vw;
    filter: blur(20px);
    opacity: .75;
  }

  .hero{
    padding-block: clamp(48px, 14vh, 120px);
    min-height: 62vh;
  }
  h1{
    font-size: clamp(24px, 7.5vw, 38px);
    text-shadow: 0 1px 0 rgba(0,0,0,.2), 0 10px 26px rgba(0,0,0,.32);
  }

  #kontakt-hinweis{
    margin-top: 20px;
    font-size: clamp(16px, 3.8vw, 20px);
  }

  .hero::before{
    top: 64%;
    width: 140%;
    height: 480px;
    filter: blur(40px);
    opacity: .85;
  }
}

@media (max-width: 380px){
  .hero::before{
    top: 65%;
    width: 170%;
    height: 600px;
  }
}

/* --- Kontakt-Hinweis mit Fade-In --- */
#kontakt-hinweis {
  margin-top: 32px;
  font-size: clamp(18px, 3.5vw, 24px);
  font-weight: 500;
  color: rgba(180, 190, 255, 0.85);
  text-shadow: 0 0 8px rgba(42, 44, 135, 0.35);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 1s ease, transform 1s ease;
}

#kontakt-hinweis.visible {
  opacity: 1;
  transform: translateY(0);
}

#kontakt-hinweis a {
  color: rgba(200, 210, 255, 0.95);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(42, 44, 135, 0.4);
  transition: color 0.3s ease, border-color 0.3s ease;
}

#kontakt-hinweis a:hover {
  color: #ffffff;
  border-color: rgba(42, 44, 135, 0.8);
}

/* --- Variante 1: Pure Minimal --- */
.navbar-min ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: clamp(18px, 4vw, 36px);
  margin: 12px 0 0;
  padding: 0;
}

.navbar-min a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  transition: color 0.3s ease;
}

.navbar-min a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 1px;
  background: rgba(180,186,255,0.8);
  transition: width 0.3s ease;
}

.navbar-min a:hover::after,
.navbar-min a.active::after {
  width: 100%;
}

.navbar-min a:hover,
.navbar-min a.active {
  color: rgba(220,224,255,0.95);
}
