
/* =============================
   Wiechmann-IT — graphics.css
   Zusätzliche grafische Helfer: Icons, Divider, Hero-Pattern
   ============================= */

/* Card-Icons */
.card-icon {
    width: 32px;
    height: 32px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    filter: drop-shadow(0 0 6px rgba(76,195,255,.35));
  }
  
  /* Divider (Circuit-Lines) */
  .divider {
    width: 100%;
    height: 80px;
    background: url('../media/divider-circuit.svg') center/cover no-repeat;
    opacity: .9;
  }

  .small-divider {
    width: 100%;
    height: 40px;
    background: url('../media/small-divider.svg') center/cover no-repeat;
    opacity: .9;
    display: block;
  }
  
  /* Hero-Pattern (Grid + Glow) */
  .hero.pattern {
    background-image: url('../media/patterns/hero-pattern.svg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
  }

  
.header-badge {
    position: absolute;
    top: 10px; right: 18px;
    padding: 8px 12px;
    font-weight: 700; letter-spacing: .5px;
    color: #cfe7ff; /* sehr helles Blau */
    font-size: clamp(12px, 1.1vw, 14px);
    border: 1px solid #23304a;
    border-radius: 12px;
    background:
      linear-gradient(135deg, rgba(76,195,255,.18), rgba(122,92,255,.12)),
      #0e1524;
    box-shadow: 0 6px 22px rgba(0,0,0,.35), inset 0 0 18px rgba(122,92,255,.20);
    backdrop-filter: blur(4px) saturate(120%);
  }

.header-badge::after {
    content: "";
    position: absolute; inset: 0;
    border-radius: 12px;
    border: 1px dashed rgba(76,195,255,.25);
    mask-image: radial-gradient(120px 60px at 60% 40%, black, transparent 70%);
  }


/* Ornament oben rechts (Gradient Orb + feines Linienmuster) */
.header-ornament {
    position: absolute;      /* relativ zum Header */
    top: 10px;
    right: 18px;
    width: clamp(120px, 14vw, 220px);
    height: clamp(120px, 14vw, 220px);
    pointer-events: none;
    z-index: 0;              /* unterhalb der Navigation */
    opacity: 0.85;
    /* Sphäre */
    background:
      radial-gradient(40% 40% at 60% 40%, rgba(76,195,255,.30), rgba(122,92,255,.10) 60%, transparent 70%),
      radial-gradient(65% 65% at 40% 60%, rgba(122,92,255,.25), transparent 70%);
    filter: drop-shadow(0 10px 24px rgba(76,195,255,.25));
    border-radius: 50%;
    overflow: hidden;
  }
  
  /* feines „Circuit Grid“ darüber (rein mit CSS) */
  .header-ornament::after {
    content: "";
    position: absolute; inset: 0;
    background:
      linear-gradient(90deg, rgba(76,195,255,.14) 1px, transparent 1px) repeat-x,
      linear-gradient(0deg, rgba(122,92,255,.12) 1px, transparent 1px) repeat-y;
    background-size: 18px 18px, 20px 20px;
    mask-image: radial-gradient(60% 60% at 50% 50%, black, transparent 70%);
    animation: ornamentFloat 9s ease-in-out infinite;
    opacity: .6;
  }
  
  /* leichte Bewegung (GPU-freundlich) */
  @keyframes ornamentFloat {
    0%, 100% { transform: translateY(0) translateX(0) scale(1); opacity: .6; }
    50%      { transform: translateY(-4px) translateX(2px) scale(1.02); opacity: .75; }
  }
  
  /* Sicherstellen, dass Header relativ positioniert ist */
  .site-header { position: sticky; top: 0; z-index: 1000; }
  .site-header { position: sticky; } /* bereits vorhanden, nur Erinnerung */
  .site-header { /* Ornament-Layer unter Nav-Items lassen */
    overflow: visible;
  }


  .header-nodes {
    position: absolute;
    top: 6px; right: 24px;
    width: clamp(160px, 18vw, 280px);
    height: clamp(80px, 10vw, 140px);
    pointer-events: none; z-index: 0; opacity: .9;
  }
  
  /* Linien */
  .header-nodes::before {
    content: "";
    position: absolute; inset: 0;
    background:
      radial-gradient(120px 60px at 60% 40%, rgba(76,195,255,.12), transparent 60%),
      radial-gradient(160px 80px at 40% 60%, rgba(122,92,255,.10), transparent 70%);
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  }
  
  /* „Knoten“ als Hintergrundbild per CSS-only */
  .header-nodes::after {
    content: "";
    position: absolute; inset: 0;
    background:
      radial-gradient(circle at 20% 50%, #4cc3ff 2px, transparent 3px),
      radial-gradient(circle at 40% 30%, #7a5cff 2px, transparent 3px),
      radial-gradient(circle at 62% 65%, #00ffd1 2px, transparent 3px),
      radial-gradient(circle at 75% 35%, #4cc3ff 2px, transparent 3px),
      radial-gradient(circle at 88% 55%, #7a5cff 2px, transparent 3px);
    background-repeat: no-repeat;
    filter: drop-shadow(0 0 8px rgba(76,195,255,.35));
    animation: nodesPulse 7s ease-in-out infinite;
  }
  
  @keyframes nodesPulse {
    0%, 100% { transform: translateY(0); opacity: .9; }
    50%      { transform: translateY(-2px); opacity: 1; }
  }

.header-with-bg {  
    background: url('../media/Header.jpeg') top right / auto 100% no-repeat;  
    background-color: rgba(10,14,22,0.85); /* dunkler Overlay für Lesbarkeit */  
    background-blend-mode: overlay;
  }
  
/* Hero für absolute Positionierung vorbereiten */
.hero { 
    position: relative; 
    }
/* Bild rechts im Hero */
.hero-image {  
    position: absolute;  
    top: 50%;  
    right: 5%;  
    transform: translateY(-50%);  
    width: clamp(330px, 28vw, 360px);  
    height: auto;  
    border-radius: 12px;  
    box-shadow: 0 12px 32px rgba(0,0,0,.45);
    object-fit: cover;
    filter: drop-shadow(0 0 12px rgba(76,195,255,.35)); /* subtiler Tech-Glow */
    z-index: 0;
    }