/* ════════════════════════════════════
   INTER – Lokale Schriftarten (Datenschutz-konform, kein Google Fonts)
════════════════════════════════════ */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/inter-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/inter-800.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/inter-900.woff2') format('woff2');
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --red:          #e3001f;
      --red-dark:     #9b0015;
      --red-glow:     rgba(227,0,31,0.55);
      --red-soft:     rgba(227,0,31,0.18);
      --white:        #ffffff;
      --grey:         rgba(255,255,255,0.55);
      --grey-light:   rgba(255,255,255,0.08);
      --bg:           #080a0d;
      --bg-section:   #0c0e12;
      --glass-bg:     rgba(255,255,255,0.04);
      --glass-border: rgba(255,255,255,0.10);
      --radius:       14px;
    }

    html { scroll-behavior: smooth; }
    body {
      font-family: 'Inter', sans-serif;
      background: var(--bg);
      color: var(--white);
      overflow-x: hidden;
    }

    /* ─── SCROLLBAR ─── */
    ::-webkit-scrollbar { width: 6px; }
    ::-webkit-scrollbar-track { background: var(--bg); }
    ::-webkit-scrollbar-thumb { background: var(--red-dark); border-radius: 3px; }

    /* ─── GLOBAL GLASS CARD ─── */
    .glass {
      background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
      border: 1px solid var(--glass-border);
      border-radius: var(--radius);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      box-shadow: 0 0 0 1px rgba(227,0,31,0.18), 0 8px 32px rgba(0,0,0,0.4);
      position: relative;
      overflow: hidden;
    }
    .glass::before {
      content: '';
      position: absolute; top: 0; left: 0; right: 0; height: 1px;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
    }

    /* ─── SECTION WRAPPER ─── */
    .section {
      position: relative;
      padding: 100px 56px;
      max-width: 1280px;
      margin: 0 auto;
    }
    @media (max-width: 900px) { .section { padding: 70px 24px; } }

    /* ─── SECTION LABEL ─── */
    .section-label {
      display: inline-flex; align-items: center; gap: 8px;
      font-size: 11px; font-weight: 700; letter-spacing: 2px;
      color: var(--red);
      text-transform: uppercase;
      margin-bottom: 14px;
    }
    .section-label::before {
      content: '';
      width: 24px; height: 2px;
      background: var(--red);
      box-shadow: 0 0 8px var(--red-glow);
    }

    /* ─── SECTION TITLE ─── */
    .section-title {
      font-size: clamp(32px, 4vw, 52px);
      font-weight: 800;
      line-height: 1.1;
      letter-spacing: -1px;
      margin-bottom: 16px;
    }
    .section-title span { color: var(--red); }

    .section-sub {
      color: var(--grey);
      font-size: 16px;
      max-width: 540px;
      line-height: 1.7;
      margin-bottom: 60px;
    }

    /* ─── REVEAL ANIMATION ─── */
    .reveal {
      opacity: 0;
      transform: translateY(40px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
    .reveal-delay-6 { transition-delay: 0.6s; }

    /* ─── RED ACCENT LINE (section divider) ─── */
    .section-line {
      width: 100%;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(227,0,31,0.3), transparent);
      margin: 0;
    }

    /* ════════════════════════════════════
       BACKGROUND GLOBALS
    ════════════════════════════════════ */
    .bg-glow {
      position: absolute; pointer-events: none; border-radius: 50%;
      background: radial-gradient(circle, rgba(227,0,31,0.12) 0%, transparent 70%);
    }

    /* ════════════════════════════════════
       NAVBAR
    ════════════════════════════════════ */
    header {
      position: sticky; top: 0; z-index: 100;
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: center;
      padding: clamp(16px, 2vw, 36px) clamp(24px, 5vw, 100px);
      background: rgba(8,10,13,0.85);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    @media (max-width: 900px) { 
      header { 
        padding: 16px 24px; 
        display: flex; 
        justify-content: space-between; 
      } 
    }

    .logo { justify-self: start; display: flex; align-items: center; gap: clamp(10px, 1.2vw, 16px); text-decoration: none; }
    .logo-icon {
      width: clamp(34px, 4vw, 56px);
      height: clamp(34px, 4vw, 56px);
      border-radius: 8px;
      overflow: hidden;        /* schneidet das Bild auf die abgerundeten Ecken zu */
      flex-shrink: 0;
      box-shadow: 0 0 16px var(--red-glow);
    }
    .logo-icon img {
      width: 100%;
      height: 100%;
      object-fit: cover;       /* Bild füllt den Container vollständig */
      display: block;
    }
    .logo-text { display: flex; flex-direction: column; line-height: 1; }
    .logo-name { font-size: clamp(14.7px, 1.5vw, 24px); font-weight: 700; letter-spacing: 1.5px; color: var(--white); padding-bottom: 1px; }
    .logo-sub  { font-size: clamp(8px, 0.8vw, 13px); font-weight: 400; letter-spacing: 2px; color: var(--grey); padding-bottom: 1px; }
    .logo-sub-2  { font-size: clamp(10px, 1vw, 16px); font-weight: 400; letter-spacing: 2px; color: var(--grey); }

    .header-right { justify-self: end; display: flex; align-items: center; gap: 16px; }

    .hamburger-btn {
      display: none;
      background: none;
      border: none;
      color: var(--white);
      cursor: pointer;
      padding: 4px;
    }
    .hamburger-btn svg { width: 28px; height: 28px; }

    nav { display: flex; align-items: center; gap: clamp(20px, 3.5vw, 60px); }
    nav a {
      color: var(--grey); text-decoration: none;
      font-size: clamp(15px, 1.6vw, 24px); font-weight: 500;
      transition: color .2s;
    }
    nav a:hover { color: var(--white); }

    @media (max-width: 900px) { 
      .hamburger-btn { display: block; }
      nav { 
        display: none; 
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(8,10,13,0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 30px 24px;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
      }
      nav.nav-active {
        display: flex;
      }
      nav a { font-size: 18px; padding: 10px 0; }
    }

    .nav-btn {
      padding: clamp(10px, 1.4vw, 20px) clamp(20px, 2.5vw, 40px);
      background: var(--red); border: none;
      color: white; font-family: 'Inter', sans-serif;
      font-size: clamp(14px, 1.4vw, 20px); font-weight: 700; letter-spacing: .5px;
      border-radius: 6px; cursor: pointer;
      box-shadow: 0 0 16px var(--red-glow);
      transition: box-shadow .3s;
      text-decoration: none;
    }
    .nav-btn:hover { box-shadow: 0 0 28px var(--red-glow); }

    /* ════════════════════════════════════
       HERO
    ════════════════════════════════════ */
    .hero-wrapper {
      position: relative; overflow: hidden;
      background: var(--bg);
    }

    .bg-grid {
      position: absolute; bottom: 0; left: 0; right: 0; height: 55%;
      background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
      background-size: 60px 60px;
      mask-image: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 100%);
      transform: perspective(700px) rotateX(38deg);
      transform-origin: bottom center;
    }
    .bg-wave {
      position: absolute; bottom: -10%; left: -10%; right: -10%; height: 70%;
      background: radial-gradient(ellipse 80% 60% at 60% 80%, rgba(227,0,31,0.26) 0%, rgba(150,0,20,0.1) 40%, transparent 70%);
      animation: wavePulse 6s ease-in-out infinite;
    }
    .bg-orb {
      position: absolute; width: 700px; height: 700px; border-radius: 50%;
      background: radial-gradient(circle, rgba(227,0,31,0.15) 0%, transparent 70%);
      right: -100px; bottom: -150px;
      animation: orbFloat 8s ease-in-out infinite;
    }
    .streak {
      position: absolute; height: 1px;
      background: linear-gradient(90deg, transparent, var(--red), transparent);
      opacity: 0; animation: streakAnim 4s ease-in-out infinite;
    }
    .streak:nth-child(4) { width:300px; top:62%; left:35%; animation-delay:0s;   transform:rotate(-8deg); }
    .streak:nth-child(5) { width:200px; top:70%; left:55%; animation-delay:1.2s; transform:rotate(-6deg); }
    .streak:nth-child(6) { width:150px; top:55%; left:65%; animation-delay:2.4s; transform:rotate(-12deg); }

    @keyframes wavePulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.7;transform:scale(1.04)} }
    @keyframes orbFloat  { 0%,100%{transform:translateY(0)}      50%{transform:translateY(-30px)} }
    @keyframes streakAnim {
      0%  {opacity:0;transform:translateX(-30px) rotate(-8deg)}
      30% {opacity:.8} 70%{opacity:.8}
      100%{opacity:0;transform:translateX(60px) rotate(-8deg)}
    }

    .hero {
      position: relative; z-index: 2;
      min-height: calc(100vh - 71px);
      display: grid; grid-template-columns: 1fr 1fr;
      align-items: center;
      padding: 60px 56px 80px; gap: 40px;
      max-width: 1280px; margin: 0 auto;
    }
    @media (max-width: 900px) {
      .hero { grid-template-columns:1fr; padding:40px 24px 60px; min-height:auto; }
    }

    .hero-left { display: flex; flex-direction: column; gap: 28px; }

    .hero-headline {
      font-size: clamp(38px, 5.5vw, 70px);
      font-weight: 900; line-height: 1.05; letter-spacing: -1px;
    }
    .hero-sub {
      font-size: clamp(15px,1.8vw,18px); font-weight: 400;
      color: rgba(255,255,255,0.65); line-height: 1.6; max-width: 420px;
    }
    .hero-sub .accent { color: var(--red); font-weight: 600; }

    .hero-headline, .hero-sub { transition: opacity 0.9s ease; }
    .lang-fade-out { opacity: 0 !important; }

    .hero-btns { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

    .btn-primary {
      display: flex; align-items: center; gap: 8px;
      padding: 14px 28px; background: var(--red); border: none;
      color: white; font-family: 'Inter', sans-serif;
      font-size: 13px; font-weight: 700; letter-spacing: 1px;
      border-radius: 6px; cursor: pointer; text-decoration: none;
      box-shadow: 0 0 24px rgba(227,0,31,0.5);
      transition: box-shadow .3s, transform .2s;
    }
    .btn-primary:hover { box-shadow: 0 0 40px rgba(227,0,31,0.75); transform: translateY(-1px); }
    .btn-primary svg { width:14px; height:14px; fill:white; }

    .btn-secondary {
      padding: 14px 28px;
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.18);
      color: white; font-family: 'Inter', sans-serif;
      font-size: 13px; font-weight: 600;
      border-radius: 6px; cursor: pointer; text-decoration: none;
      transition: background .2s;
    }
    .btn-secondary:hover { background: rgba(255,255,255,0.1); }

    /* ── Hero right cards ── */
    .hero-right {
      position: relative; height: 480px;
      display: flex; align-items: center; justify-content: center;
    }
    @media (max-width:900px) { .hero-right { height: 320px; } }

    .glass-card {
      position: absolute;
      background: linear-gradient(135deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: 14px;
      backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
      box-shadow: 0 0 0 1px rgba(227,0,31,0.35), 0 8px 40px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
      overflow: hidden;
    }
    .glass-card::before {
      content:''; position:absolute; top:0; left:0; right:0; height:2px;
      background: linear-gradient(90deg, transparent, var(--red), transparent); opacity:.8;
    }
    .card-main {
      width:400px; height:240px; top:50%; left:50%;
      transform: translate(-50%,-50%) perspective(800px) rotateY(-12deg) rotateX(5deg);
      animation: floatMain 5s ease-in-out infinite; z-index:3;
    }
    .card-top {
      width:180px; height:110px; top:10%; left:5%;
      transform: perspective(800px) rotateY(-8deg) rotateX(3deg);
      animation: floatSimple 5s ease-in-out 1s infinite; z-index:4;
    }
    .card-br {
      width:220px; height:130px; bottom:5%; right:0%;
      transform: perspective(800px) rotateY(-10deg) rotateX(4deg);
      animation: floatSimple 5s ease-in-out 2s infinite; z-index:4;
    }
    .card-bl {
      width:160px; height:115px; bottom:12%; left:8%;
      transform: perspective(800px) rotateY(-6deg) rotateX(2deg);
      animation: floatSimple 5s ease-in-out 1.5s infinite; z-index:5;
    }
    @keyframes floatMain {
      0%,100%{transform:translate(-50%,-50%) perspective(800px) rotateY(-12deg) rotateX(5deg) translateY(0)}
      50%    {transform:translate(-50%,-50%) perspective(800px) rotateY(-12deg) rotateX(5deg) translateY(-12px)}
    }
    @keyframes floatSimple {
      0%,100%{transform:perspective(800px) rotateY(-8deg) rotateX(3deg) translateY(0)}
      50%    {transform:perspective(800px) rotateY(-8deg) rotateX(3deg) translateY(-8px)}
    }
    @media (max-width:900px) {
      .card-main{width:280px;height:170px}
      .card-top{width:130px;height:80px}
      .card-br{width:160px;height:95px}
      .card-bl{width:120px;height:85px}
    }

    .card-header { display:flex; align-items:center; gap:6px; padding:10px 14px 0; }
    .dot { width:8px; height:8px; border-radius:50%; }
    .dot-red   { background:var(--red); box-shadow:0 0 8px var(--red-glow); }
    .dot-white { background:rgba(255,255,255,0.4); }
    .mini-chart { padding:8px 14px 14px; flex:1; }
    .card-glow-line { position:absolute; bottom:0; left:0; right:0; height:1px; background:linear-gradient(90deg,transparent,rgba(227,0,31,0.6),transparent); }
    .stat-bar { height:6px; border-radius:3px; background:rgba(255,255,255,0.08); margin:6px 14px; overflow:hidden; }
    .stat-fill { height:100%; border-radius:3px; background:linear-gradient(90deg,var(--red),rgba(227,0,31,0.4)); box-shadow:0 0 8px var(--red-glow); animation:barGrow 2.5s ease-out forwards; }
    @keyframes barGrow { from{width:0} }
    .live-badge { display:inline-flex; align-items:center; gap:5px; background:rgba(227,0,31,0.15); border:1px solid rgba(227,0,31,0.3); padding:3px 8px; border-radius:20px; font-size:10px; font-weight:600; color:var(--red); letter-spacing:.5px; }
    .live-dot { width:5px; height:5px; border-radius:50%; background:var(--red); animation:blink 1.2s ease-in-out infinite; }
    @keyframes blink { 0%,100%{opacity:1} 50%{opacity:.2} }
    .legend { display:flex; gap:10px; padding:4px 14px 0; font-size:10px; color:var(--grey); }
    .legend span { display:flex; align-items:center; gap:4px; }
    .legend-dot { width:6px; height:6px; border-radius:50%; }
    .icon-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; padding:10px 14px; }
    .icon-cell { background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.08); border-radius:8px; height:32px; display:flex; align-items:center; justify-content:center; }
    .icon-cell svg { width:14px; height:14px; fill:var(--grey); }
    .particles { position:absolute; inset:0; pointer-events:none; }
    .particle { position:absolute; width:3px; height:3px; border-radius:50%; background:var(--red); box-shadow:0 0 6px var(--red-glow); animation:particleDrift linear infinite; opacity:0; }
    @keyframes particleDrift {
      0%  {opacity:0;transform:translateY(0) translateX(0)}
      10% {opacity:.9} 90%{opacity:.5}
      100%{opacity:0;transform:translateY(-120px) translateX(30px)}
    }

    /* ════════════════════════════════════
       STATS
    ════════════════════════════════════ */
    .stats-section { background: var(--bg-section); border-top: 1px solid rgba(255,255,255,0.04); border-bottom: 1px solid rgba(255,255,255,0.04); }
    .stats-grid {
      display: grid; grid-template-columns: repeat(4,1fr); gap: 2px;
    }
    @media (max-width:700px) { .stats-grid { grid-template-columns: repeat(2,1fr); } }

    .stat-item {
      padding: 50px 32px; text-align: center;
      border-right: 1px solid rgba(255,255,255,0.05);
    }
    .stat-item:last-child { border-right: none; }

    .stat-number {
      font-size: clamp(40px,5vw,64px); font-weight: 900;
      background: linear-gradient(135deg, #fff 40%, rgba(227,0,31,0.8));
      -webkit-background-clip: text; -webkit-text-fill-color: transparent;
      background-clip: text; line-height: 1;
    }
    .stat-suffix { color: var(--red); font-size: 0.6em; }
    .stat-label  { color: var(--grey); font-size: 13px; margin-top: 8px; letter-spacing: .5px; }

    /* ════════════════════════════════════
       SERVICES
    ════════════════════════════════════ */
    .services-grid {
      display: grid; grid-template-columns: repeat(3,1fr); gap: 20px;
    }
    @media (max-width:900px) { .services-grid { grid-template-columns:1fr; } }
    @media (min-width:600px) and (max-width:900px) { .services-grid { grid-template-columns:repeat(2,1fr); } }

    .service-card {
      padding: 32px 28px;
      transition: transform .3s, box-shadow .3s;
      cursor: default;
    }
    .service-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 0 0 1px rgba(227,0,31,0.4), 0 20px 50px rgba(0,0,0,0.5);
    }
    .service-icon {
      width: 48px; height: 48px; border-radius: 12px;
      background: var(--red-soft);
      border: 1px solid rgba(227,0,31,0.3);
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 20px;
    }
    .service-icon svg { width:22px; height:22px; fill:var(--red); }
    .service-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
    .service-desc  { font-size: 14px; color: var(--grey); line-height: 1.7; }

    /* ════════════════════════════════════
       ABOUT
    ════════════════════════════════════ */
    .about-grid {
      display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
    }
    @media (max-width:900px) { .about-grid { grid-template-columns:1fr; gap:40px; } }

    .about-img-wrapper {
      position: relative;
    }
    .about-img {
      width: 100%; aspect-ratio: 4/5; border-radius: 0;
      object-fit: cover;
      object-position: 50% 20%; /* Reduziert den Platz oben um ca. 2/3, zeigt unten mehr Jacke */
      border: 2px solid var(--red); /* Vollständiger roter Rahmen */
      box-shadow: 0 0 25px rgba(227,0,31,0.15); /* Leichter roter Glow */
      display: block;
      background: linear-gradient(135deg, #1a0a0a, #0d0d14);
    }
    .about-img-placeholder {
      width: 100%; aspect-ratio: 4/5; border-radius: 20px;
      border: 2px dashed rgba(227,0,31,0.4);
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      gap: 12px; color: var(--grey); font-size: 14px;
      background: rgba(227,0,31,0.04);
    }
    .about-img-placeholder svg { width:40px; height:40px; fill:rgba(227,0,31,0.5); }

    /* red corner accent entfernt, da nun kompletter Rahmen */

    .about-badges { display:flex; flex-wrap:wrap; gap:10px; margin-top:24px; }
    .badge {
      padding: 6px 14px;
      background: var(--red-soft); border: 1px solid rgba(227,0,31,0.3);
      border-radius: 20px; font-size: 12px; font-weight: 600; color: var(--red);
    }

    .skill-list { list-style:none; display:flex; flex-direction:column; gap:14px; margin-top:30px; }
    .skill-list li {
      display: flex; flex-direction: column; gap: 6px;
      font-size: 13px; color: var(--grey);
    }
    .skill-list li strong { color: var(--white); font-size: 14px; }
    .skill-bar-bg { height:4px; background:rgba(255,255,255,0.08); border-radius:2px; overflow:hidden; }
    .skill-bar-fill {
      height:100%; border-radius:2px;
      background: linear-gradient(90deg, var(--red), rgba(227,0,31,0.5));
      box-shadow: 0 0 8px var(--red-glow);
      width: 0; transition: width 1.2s ease;
    }

    /* ════════════════════════════════════
       PORTFOLIO
    ════════════════════════════════════ */
    .portfolio-grid {
      display: grid; grid-template-columns: repeat(2,1fr); gap: 24px;
    }
    @media (max-width:700px) { .portfolio-grid { grid-template-columns:1fr; } }

    .portfolio-card {
      overflow: hidden; cursor: pointer;
      transition: transform .3s, box-shadow .3s;
    }
    .portfolio-card:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(227,0,31,0.5), 0 24px 60px rgba(0,0,0,0.6); }

    .portfolio-thumb {
      width: 100%; height: 200px;
      background: linear-gradient(135deg, #1a0a0a 0%, #0d0d20 100%);
      display: flex; align-items: center; justify-content: center;
      font-size: 12px; color: var(--grey); letter-spacing:1px;
      border-bottom: 1px solid var(--glass-border);
      position: relative; overflow: hidden;
    }
    .portfolio-thumb::after {
      content:''; position:absolute; inset:0;
      background: linear-gradient(135deg, rgba(227,0,31,0.08), transparent);
    }
    .portfolio-thumb svg { width:36px; height:36px; fill:rgba(255,255,255,0.12); }

    .portfolio-body { padding: 24px; }
    .portfolio-tags { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:12px; }
    .tag { padding:4px 10px; background:var(--grey-light); border:1px solid rgba(255,255,255,0.08); border-radius:4px; font-size:10px; font-weight:600; color:var(--grey); letter-spacing:.5px; }
    .portfolio-title { font-size:18px; font-weight:700; margin-bottom:8px; }
    .portfolio-desc  { font-size:13px; color:var(--grey); line-height:1.6; }
    .portfolio-link  { display:inline-flex; align-items:center; gap:6px; margin-top:14px; font-size:13px; font-weight:600; color:var(--red); text-decoration:none; transition:gap .2s; }
    .portfolio-link:hover { gap:10px; }
    .portfolio-link svg { width:14px; height:14px; fill:var(--red); }

    /* ════════════════════════════════════
       TESTIMONIALS
    ════════════════════════════════════ */
    .testimonials-section { background: var(--bg-section); }
    .testimonials-grid {
      display: grid; grid-template-columns: repeat(3,1fr); gap: 20px;
    }
    @media (max-width:900px) { .testimonials-grid { grid-template-columns:1fr; } }

    .testimonial-card { padding: 32px; }
    .testimonial-stars { display:flex; gap:4px; margin-bottom:16px; }
    .testimonial-stars svg { width:16px; height:16px; fill:var(--red); }
    .testimonial-text { font-size:15px; line-height:1.8; color:rgba(255,255,255,0.8); font-style:italic; margin-bottom:24px; }
    .testimonial-author { display:flex; align-items:center; gap:12px; }
    .author-avatar {
      width:42px; height:42px; border-radius:50%;
      background: linear-gradient(135deg, var(--red-dark), #2a0010);
      border: 1px solid rgba(227,0,31,0.4);
      display:flex; align-items:center; justify-content:center;
      font-size:14px; font-weight:700; color:var(--red);
    }
    .author-name { font-size:14px; font-weight:700; }
    .author-role { font-size:12px; color:var(--grey); }
    .quote-mark {
      position:absolute; top:20px; right:24px;
      font-size:80px; line-height:1; color:rgba(227,0,31,0.1);
      font-family:Georgia, serif; pointer-events:none;
    }

    /* ════════════════════════════════════
       CONTACT
    ════════════════════════════════════ */
    .contact-grid {
      display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start;
    }
    @media (max-width:900px) { .contact-grid { grid-template-columns:1fr; gap:40px; } }

    /* CTA Card anstelle Formular */
    .contact-cta-card {
      background: rgba(20, 20, 25, 0.4);
      border: 1px solid rgba(255,255,255,0.05);
      border-radius: 20px;
      padding: 50px 40px;
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      justify-content: center;
      height: 100%;
    }
    .contact-cta-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 3px;
      background: var(--red);
      box-shadow: 0 0 15px var(--red-glow);
    }
    .cta-glow {
      position: absolute;
      top: -50px; right: -50px;
      width: 150px; height: 150px;
      background: radial-gradient(circle, var(--red-glow) 0%, transparent 70%);
      opacity: 0.3;
      pointer-events: none;
    }
    .cta-hero-title {
      font-size: 38px;
      font-weight: 800;
      line-height: 1.1;
      margin-bottom: 20px;
      color: #fff;
      letter-spacing: -1px;
    }
    .cta-hero-title span {
      color: var(--red);
    }
    .contact-cta-card p {
      color: var(--grey);
      line-height: 1.7;
      margin-bottom: 32px;
      font-size: 16px;
      max-width: 400px;
    }
    .cta-button {
      display: inline-flex; align-items: center; gap: 12px;
      background: var(--red); color: #fff;
      padding: 14px 28px; border-radius: 30px;
      font-weight: 600; text-decoration: none;
      transition: all 0.3s ease;
      box-shadow: 0 4px 15px var(--red-glow);
      align-self: flex-start;
    }
    .cta-button:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px var(--red-glow);
      background: #ff0a2a;
    }
    .cta-button svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; }

    .contact-info { display:flex; flex-direction:column; gap:24px; }
    .contact-item { display:flex; align-items:flex-start; gap:16px; }
    .contact-icon {
      width:44px; height:44px; border-radius:10px; flex-shrink:0;
      background:var(--red-soft); border:1px solid rgba(227,0,31,0.3);
      display:flex; align-items:center; justify-content:center;
    }
    .contact-icon svg { width:20px; height:20px; fill:var(--red); }
    .contact-item-label { font-size:11px; color:var(--grey); letter-spacing:1px; text-transform:uppercase; margin-bottom:4px; }
    .contact-item-value { font-size:15px; font-weight:500; }
    .contact-item-value a { color:var(--white); text-decoration:none; }
    .contact-item-value a:hover { color:var(--red); }

    /* Form */
    .contact-form { display:flex; flex-direction:column; gap:16px; }
    .form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
    @media (max-width:600px) { .form-row { grid-template-columns:1fr; } }

    .form-group { display:flex; flex-direction:column; gap:8px; }
    .form-group label { font-size:12px; font-weight:600; color:var(--grey); letter-spacing:.5px; text-transform:uppercase; }

    .form-group input,
    .form-group textarea,
    .form-group select {
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 8px; padding: 14px 16px;
      color: var(--white); font-family:'Inter',sans-serif; font-size:14px;
      outline: none; transition: border-color .2s, box-shadow .2s;
      resize: none;
    }
    .form-group input:focus,
    .form-group textarea:focus {
      border-color: rgba(227,0,31,0.5);
      box-shadow: 0 0 0 3px rgba(227,0,31,0.1);
    }
    .form-group input::placeholder,
    .form-group textarea::placeholder { color: rgba(255,255,255,0.25); }

    .form-submit {
      width: 100%; padding: 15px;
      background: var(--red); border: none;
      color: white; font-family:'Inter',sans-serif;
      font-size: 14px; font-weight: 700; letter-spacing: 1px;
      border-radius: 8px; cursor: pointer;
      box-shadow: 0 0 24px rgba(227,0,31,0.4);
      transition: box-shadow .3s, transform .2s;
      display: flex; align-items: center; justify-content: center; gap: 8px;
    }
    .form-submit:hover { box-shadow: 0 0 40px rgba(227,0,31,0.7); transform: translateY(-1px); }
    .form-submit svg { width:16px; height:16px; fill:white; }

    .form-status {
      padding: 14px 18px; border-radius: 8px;
      font-size: 14px; font-weight: 600; display: none;
    }
    .form-status.success { background:rgba(0,200,100,0.1); border:1px solid rgba(0,200,100,0.3); color:#00c864; }
    .form-status.error   { background:rgba(227,0,31,0.1);  border:1px solid rgba(227,0,31,0.3);  color:var(--red); }

    /* ════════════════════════════════════
       FOOTER
    ════════════════════════════════════ */
    footer {
      background: #050709;
      border-top: 1px solid rgba(255,255,255,0.06);
      padding: 60px 56px 32px;
    }
    @media (max-width:900px) { footer { padding: 40px 24px 24px; } }

    .footer-top {
      display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
      padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    @media (max-width:900px) { .footer-top { grid-template-columns:1fr 1fr; gap:32px; } }
    @media (max-width:500px) { .footer-top { grid-template-columns:1fr; } }

    .footer-brand-desc { font-size:13px; color:var(--grey); line-height:1.7; margin-top:14px; max-width:240px; }

    .footer-col-title { font-size:12px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; color:var(--white); margin-bottom:18px; }
    .footer-links { list-style:none; display:flex; flex-direction:column; gap:10px; }
    .footer-links a { color:var(--grey); text-decoration:none; font-size:13px; transition:color .2s; }
    .footer-links a:hover { color:var(--red); }

    .social-links { display:flex; gap:12px; margin-top:20px; }
    .social-link {
      width:38px; height:38px; border-radius:8px;
      background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.08);
      display:flex; align-items:center; justify-content:center;
      text-decoration:none; transition:background .2s, border-color .2s;
    }
    .social-link:hover { background:var(--red-soft); border-color:rgba(227,0,31,0.4); }
    .social-link svg { width:16px; height:16px; fill:var(--grey); }
    .social-link:hover svg { fill:var(--red); }

    .footer-bottom {
      display: flex; justify-content: space-between; align-items: center;
      padding-top: 28px; font-size: 12px; color: rgba(255,255,255,0.3);
      flex-wrap: wrap; gap: 12px;
    }
    .footer-bottom a { color:rgba(255,255,255,0.3); text-decoration:none; }
    .footer-bottom a:hover { color:var(--grey); }

    @keyframes spin { to { transform: rotate(360deg); } }

.footer-bottom-bottom {
border-top: 1px solid var(--border);
padding: 16px;
text-align: center;

background-color: black
}

.footer-bottom-bottom a {
color: inherit;
text-decoration: none;
}

.footer-bottom-bottom a:hover,
.footer-bottom-bottom a:focus-visible {
text-decoration: underline;
}

.flag-1rem {
height: 1rem;
width: auto;
vertical-align: -0.1em;
border-radius: 2px;
display: inline-block;
margin: 0 0.25rem;
}

/* ════════════════════════════════════
   COOKIE CONSENT OVERLAY
════════════════════════════════════ */

/* Overlay – blockiert die gesamte Seite */
.cookie-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* Wenn Consent gegeben → sanft ausblenden */
.cookie-overlay.cookie-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

/* Halbtransparenter Hintergrund */
.cookie-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 9, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Die eigentliche Box */
.cookie-box {
  position: relative;
  z-index: 1;
  max-width: 520px;
  width: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 40px 36px 32px;
  box-shadow:
    0 0 0 1px rgba(227,0,31,0.25),
    0 24px 80px rgba(0,0,0,0.7),
    inset 0 1px 0 rgba(255,255,255,0.1);
  text-align: center;
  animation: cookieSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Glanzlinie oben */
.cookie-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0.9;
}

@keyframes cookieSlideIn {
  from { opacity: 0; transform: translateY(30px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    }
}

/* Cookie-Icon */
.cookie-icon-wrap {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--red-soft);
  border: 1px solid rgba(227,0,31,0.35);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 0 24px rgba(227,0,31,0.25);
}
.cookie-icon {
  width: 32px; height: 32px;
  color: var(--red);
}

/* Kategorie-Tag */
.cookie-label-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  color: var(--red); text-transform: uppercase;
  margin-bottom: 10px;
}
.cookie-label-tag::before {
  content: '';
  width: 16px; height: 2px;
  background: var(--red);
  box-shadow: 0 0 6px var(--red-glow);
}
.cookie-label-tag::after {
  content: '';
  width: 16px; height: 2px;
  background: var(--red);
  box-shadow: 0 0 6px var(--red-glow);
}

/* Titel */
.cookie-title {
  font-size: 26px; font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
  color: var(--white);
}

/* Beschreibungstext */
.cookie-text {
  font-size: 14px; line-height: 1.75;
  color: rgba(255,255,255,0.65);
  margin-bottom: 22px;
}
.cookie-text strong { color: var(--white); font-weight: 600; }

/* Detail-Liste */
.cookie-details {
  display: flex; flex-direction: column; gap: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 28px;
  text-align: left;
}
.cookie-detail-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; color: rgba(255,255,255,0.7);
}
.cookie-detail-item svg {
  width: 16px; height: 16px; flex-shrink: 0;
  fill: var(--red);
  filter: drop-shadow(0 0 4px rgba(227,0,31,0.5));
}

/* Button-Gruppe */
.cookie-actions {
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 18px;
}

.cookie-btn {
  width: 100%; padding: 14px 24px;
  border-radius: 10px; border: none; cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 700; letter-spacing: 0.5px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: box-shadow 0.3s, transform 0.2s, background 0.2s;
}
.cookie-btn:hover  { transform: translateY(-1px); }
.cookie-btn:active { transform: translateY(0); }

/* Primär-Button (Akzeptieren) */
.cookie-btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 24px rgba(227,0,31,0.45);
}
.cookie-btn-primary:hover { box-shadow: 0 0 40px rgba(227,0,31,0.7); }
.cookie-btn-primary svg {
  width: 15px; height: 15px;
  fill: none; stroke: #fff; stroke-width: 2.5;
  stroke-linecap: round; stroke-linejoin: round;
}

/* Sekundär-Button (Nur notwendige) */
.cookie-btn-secondary {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
}
.cookie-btn-secondary:hover {
  background: rgba(255,255,255,0.09);
  color: var(--white);
  box-shadow: none;
}

/* Rechtstext */
.cookie-legal {
  font-size: 11px; color: rgba(255,255,255,0.3);
  line-height: 1.6;
}
.cookie-legal a {
  color: var(--red); text-decoration: none;
  transition: opacity 0.2s;
}
.cookie-legal a:hover { opacity: 0.7; text-decoration: underline; }

@media (max-width: 500px) {
  .cookie-box { padding: 28px 22px 24px; }
  .cookie-title { font-size: 22px; }
}

/* ════════════════════════════════════
   SKILL KATEGORIEN (ersetzt Prozentbalken)
════════════════════════════════════ */
.skill-categories {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.skill-cat {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 16px 18px;
  transition: border-color .3s;
}
.skill-cat:hover {
  border-color: rgba(227,0,31,0.2);
}

.skill-cat-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 12px;
}
.skill-cat-label svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--red);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Standard Tag – grau */
.skill-tag {
  display: inline-block;
  padding: 5px 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: background .2s, border-color .2s, color .2s;
}
.skill-tag:hover {
  background: rgba(255,255,255,0.09);
  color: var(--white);
}

/* Primary Tag – rot (Kernkompetenzen) */
.skill-tag-primary {
  background: rgba(227,0,31,0.1);
  border-color: rgba(227,0,31,0.3);
  color: rgba(255,180,180,0.9);
}
.skill-tag-primary:hover {
  background: rgba(227,0,31,0.18);
  color: #fff;
}
