/* Schwarz/Rot Theme + Animations */
:root{
  --bg:#0a0a0b;
  --bg-alt:#0f0f12;
  --text:#f5f7fb;
  --muted:#b4b7bf;
  --red:#ff1834;
  --red-2:#ff445a;
  --card:#121217;
  --outline:rgba(255,255,255,.08);
  --white:#ffffff;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--text);font-family:Inter,system-ui,sans-serif;scroll-behavior:smooth}
a{color:var(--text);text-decoration:none}
a:hover{opacity:.9}
img{max-width:100%;display:block}
.container{width:min(1200px,92vw);margin:0 auto}
.grid{display:grid;gap:2rem}
.btn{
  display:inline-flex;align-items:center;gap:.6rem;
  padding:.9rem 1.2rem;border-radius:16px;background:var(--red);
  color:#fff;font-weight:700;letter-spacing:.3px;border:1px solid transparent;
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
  box-shadow:0 8px 24px rgba(255,24,52,.2)
}
.btn:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(255,24,52,.28)}
.btn-outline{background:transparent;border-color:var(--outline)}

nav{
  position:sticky;top:0;z-index:99;background:rgba(10,10,11,.7);
  backdrop-filter: blur(8px);border-bottom:1px solid var(--outline)
}
.navbar{display:flex;align-items:center;justify-content:space-between;padding:1rem 0}
.logo{display:flex;align-items:center;gap:.75rem;font-weight:900;letter-spacing:.5px}
.logo svg{width:28px;height:28px}
.menu{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}
.menu a{padding:.5rem .8rem;border-radius:12px}
.menu a.active, .menu a:hover{background:var(--bg-alt)}

.hero{
  position:relative;padding:8rem 0 5rem;border-bottom:1px solid var(--outline);
  background:radial-gradient(1200px 500px at 80% -10%, rgba(255,24,52,.18), transparent 60%)
}
.hero h1{font-size:clamp(2.4rem, 4vw + 1rem, 4rem);line-height:1.05;margin:0 0 1rem}
h1 .w{color:var(--white)}
h1 .r{color:var(--red)}
.sub{color:var(--muted);max-width:60ch}

.cards{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));margin-top:2.5rem}
.card{
  background:linear-gradient(180deg, var(--card), #0e0e12);
  border:1px solid var(--outline);border-radius:22px;padding:1.2rem;
  transition:transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.card:hover{transform:translateY(-4px);border-color:rgba(255,24,52,.45);
  box-shadow:0 12px 40px rgba(255,24,52,.15)}
.card h3{margin:.2rem 0 0}

.section{padding:4.5rem 0;border-bottom:1px solid var(--outline)}
.section h2{font-size:clamp(1.6rem,2vw + 1rem,2.4rem);margin:0 0 1rem}
.section .lead{color:var(--muted);max-width:70ch}

footer{padding:3rem 0;color:var(--muted)}
footer .cols{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}

/* Tabellen */
.table{width:100%;border-collapse:collapse;border:1px solid var(--outline);border-radius:14px;overflow:hidden}
.table th,.table td{padding:1rem;border-bottom:1px solid var(--outline);text-align:left}
.table th{background:var(--bg-alt);color:#fff}

/* Formulare */
.input, textarea{
  width:100%;padding:1rem;background:var(--bg-alt);border:1px solid var(--outline);
  border-radius:14px;color:var(--text);outline:none
}
.input:focus, textarea:focus{border-color:rgba(255,24,52,.5)}
label{display:block;margin:.8rem 0 .4rem;color:#d6d8de}

/* Animationen */
.reveal{opacity:0;transform:translateY(16px);transition:opacity .7s ease, transform .7s ease}
.revealed{opacity:1;transform:translateY(0)}
.fade-in{animation:fadeIn .7s ease both}
@keyframes fadeIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}

/* Sonstiges */
.badge{display:inline-block;padding:.35rem .6rem;border-radius:999px;border:1px solid var(--outline);font-size:.85rem;color:#fff}
.mt-2{margin-top:2rem}
.mt-3{margin-top:3rem}
.mt-4{margin-top:4rem}
.center{display:flex;align-items:center;gap:1rem}
.justify-between{display:flex;align-items:center;justify-content:space-between}
.stack{display:flex;flex-direction:column;gap:1rem}
.small{font-size:.92rem;color:var(--muted)}
hr{border:0;border-top:1px solid var(--outline);margin:2rem 0}

@media (max-width:720px){
  .menu{gap:.25rem}
  .hero{padding:5.5rem 0 3rem}
}

/* ===== TEAM — Corporate Grid (gleich hohe Cards) ===== */
.team-wrap{margin-top:1rem}
.team-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:1.4rem;
  align-items:stretch;
}
@media (max-width:1024px){ .team-grid{grid-template-columns:repeat(2, minmax(0, 1fr))} }
@media (max-width:640px){ .team-grid{grid-template-columns:1fr} }

.team-card{
  position:relative;
  display:flex;flex-direction:column;
  min-height:260px; /* gleiche Mindesthöhe */
  height:100%;      /* streckt in der Grid-Zelle */
  padding:1.2rem 1.2rem 1.2rem 1.4rem;
  border-radius:22px;
  background:
    radial-gradient(120% 140% at 110% -10%, rgba(255,24,52,.08), transparent 60%),
    linear-gradient(180deg, var(--card), #0e0e12);
  border:1px solid var(--outline);
  box-shadow:0 12px 28px rgba(0,0,0,.28);
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow:hidden;
}
.team-card:hover{
  transform:translateY(-4px);
  border-color:rgba(255,24,52,.38);
  box-shadow:0 18px 44px rgba(255,24,52,.16);
}
.team-card .accent{
  position:absolute;left:0;top:0;bottom:0;width:5px;border-radius:5px 0 0 5px;
  background:linear-gradient(180deg, var(--red), var(--red-2));opacity:.55;
}

/* Header */
.team-head{display:flex;align-items:center;gap:1rem;margin-bottom:.6rem}
.avatar-ring{
  --sz:56px;width:var(--sz);height:var(--sz);border-radius:16px;flex:none;
  display:grid;place-items:center;font-weight:900;color:#fff;
  background:linear-gradient(180deg,#15151b,#0e0e12);
  border:1px solid var(--outline);
}
.initials{letter-spacing:.4px}
.person{display:flex;align-items:flex-start;gap:.35rem;flex-wrap:wrap}
.name{font-size:1.25rem;font-weight:900;margin:0}
.role-pill{
  display:inline-flex;align-items:center;gap:.45rem;
  padding:.28rem .55rem;border-radius:999px;font-size:.78rem;
  border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.04);
  color:#fff
}
.role-pill::before{
  content:"";width:8px;height:8px;border-radius:999px;background:var(--red);
  box-shadow:0 0 10px rgba(255,24,52,.6);
}

/* Inhalt */
.desc{
  color:#dfe2ea;margin:.3rem 0 0;line-height:1.55;
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;
}
.meta{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:auto} /* immer unten */
.meta .chip{padding:.35rem .6rem;border-radius:999px;border:1px solid var(--outline);font-size:.78rem}

/* ===== CREATOR PAGE EXTRAS ===== */
.highlight{
  padding:1.2rem 1.4rem;border-radius:22px;
  background:linear-gradient(180deg, var(--card), #0e0e12);
  border:1px solid var(--outline);
  box-shadow:0 12px 28px rgba(0,0,0,.28);
}
.feature-icon{font-size:1.6rem;margin-bottom:.4rem;color:var(--red);opacity:.95}

.stepper{
  display:grid;gap:1rem;grid-template-columns:repeat(4,1fr);
}
@media (max-width:1024px){ .stepper{grid-template-columns:repeat(2,1fr)} }
@media (max-width:640px){ .stepper{grid-template-columns:1fr} }
.step{
  display:flex;gap:1rem;align-items:flex-start;
  padding:1rem;border-radius:18px;background:linear-gradient(180deg,var(--card),#0e0e12);
  border:1px solid var(--outline)
}
.step .num{
  width:34px;height:34px;border-radius:999px;background:var(--red);color:#fff;
  display:grid;place-items:center;font-weight:900;box-shadow:0 0 18px rgba(255,24,52,.35);flex:none
}
.step h4{margin:.1rem 0 0}

.list{list-style:none;padding:0;margin:.4rem 0 0;display:grid;gap:.5rem}
.list li{position:relative;padding-left:1.2rem;color:#dfe2ea}
.list li::before{
  content:"";position:absolute;left:0;top:.55rem;width:8px;height:8px;border-radius:999px;
  background:var(--red);box-shadow:0 0 10px rgba(255,24,52,.6)
}

.chips{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.6rem}
.chip{padding:.4rem .7rem;border-radius:999px;border:1px solid var(--outline);font-size:.85rem}

/* ===== BLOG EXTRAS ===== */
.blog-toolbar{display:flex;flex-wrap:wrap;gap:.8rem;align-items:center;justify-content:space-between}
.blog-search{flex:1 1 320px;display:flex;gap:.6rem;align-items:center}
.blog-search .input{width:100%}
.tag-row{display:flex;flex-wrap:wrap;gap:.5rem}
.tag-btn{
  padding:.45rem .8rem;border-radius:999px;border:1px solid var(--outline);
  background:rgba(255,255,255,.03);font-size:.85rem;color:#dfe2ea;cursor:pointer;
  transition:transform .15s ease, border-color .2s ease, background .2s ease;
}
.tag-btn:hover{transform:translateY(-1px);border-color:rgba(255,24,52,.35)}
.tag-btn.active{background:rgba(255,24,52,.12);border-color:rgba(255,24,52,.45);color:#fff}

.post-grid{display:grid;gap:1.2rem;grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:1024px){.post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.post-grid{grid-template-columns:1fr}}

.post-card{
  position:relative;background:linear-gradient(180deg,var(--card),#0e0e12);
  border:1px solid var(--outline);border-radius:22px;padding:1.1rem;
  transition:transform .2s ease, box-shadow .25s ease, border-color .2s ease;
  box-shadow:0 12px 28px rgba(0,0,0,.28);
  display:flex;flex-direction:column;gap:.5rem;
}
.post-card:hover{transform:translateY(-4px);border-color:rgba(255,24,52,.4);box-shadow:0 18px 44px rgba(255,24,52,.16)}
.post-badge{display:inline-block;font-size:.78rem;padding:.28rem .6rem;border-radius:999px;border:1px solid var(--outline);background:rgba(255,255,255,.03)}
.post-title{margin:.2rem 0 0;font-size:1.1rem;font-weight:800}
.post-meta{font-size:.85rem;color:var(--muted)}
.post-actions{margin-top:auto;display:flex;gap:.6rem;align-items:center}
.post-actions a{font-weight:700}
.hidden{display:none !important}

/* ===== Mobile Nav (Burger) — FIXED ===== */
.nav-toggle{
  display:inline-flex; align-items:center; justify-content:center;
  width:44px; height:44px; padding:0; line-height:0;
  border-radius:12px; border:1px solid var(--outline);
  background:rgba(255,255,255,.03); cursor:pointer; user-select:none;
}
.nav-toggle .bar{
  display:block;            /* WICHTIG: stapelt die Balken */
  width:22px; height:2px;
  background:#fff; border-radius:2px;
  margin:4px 0;             /* Abstand zwischen den Balken */
  transition:transform .25s ease, opacity .25s ease;
  transform-origin:center;  /* saubere Rotation */
  will-change:transform;
}

/* X-Animation */
.nav-toggle.open .bar:nth-child(1){ transform:translateY(6px) rotate(45deg) }
.nav-toggle.open .bar:nth-child(2){ opacity:0 }
.nav-toggle.open .bar:nth-child(3){ transform:translateY(-6px) rotate(-45deg) }

/* Overlay + Menü (unverändert, aber hier der Vollständigkeit halber) */
.nav-overlay{display:none}
.nav-overlay.show{
  display:block; position:fixed; inset:0; background:rgba(0,0,0,.5);
  backdrop-filter:saturate(120%) blur(2px); z-index:98;
}

@media (max-width:960px){
  .menu{
    position:fixed; z-index:99; top:64px; right:16px; left:16px;
    display:none; flex-direction:column; gap:.2rem;
    background:var(--bg-alt); border:1px solid var(--outline); border-radius:16px;
    padding:.6rem; box-shadow:0 20px 48px rgba(0,0,0,.45);
  }
  .menu.open{display:flex}
  .menu a{padding:.9rem 1rem;border-radius:12px;text-align:center}
  .menu a:hover, .menu a.active{background:rgba(255,255,255,.04)}
  .navbar{padding:.8rem 0}
}

/* === Burger nur auf Mobile anzeigen === */

/* Standard: AUS (Desktop) */
.nav-toggle{ display:none !important; }

/* Desktop-Layout sicherstellen */
@media (min-width:961px){
  .menu{
    position:static !important;
    display:flex !important;
    flex-direction:row !important;
    gap:1rem;
    background:transparent;
    border:0;
    padding:0;
    box-shadow:none;
  }
  .nav-overlay{ display:none !important; }
}

/* Mobile: AN (<= 960px) */
@media (max-width:960px){
  .nav-toggle{ display:inline-flex !important; }
  .menu{ /* dein mobiles Menü bleibt wie zuvor definiert */ }
}

/* ===== Creator mobile polish ===== */
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:1.2rem}
@media (max-width:900px){ .two-col{grid-template-columns:1fr} }

@media (max-width:540px){
  .hero h1{font-size:2rem}
  .hero .sub{font-size:1rem}
  .highlight{padding:1rem;border-radius:18px}
  .card{padding:1rem;border-radius:18px}
  .btn{padding:.85rem 1rem}
}

/* Chips: angenehmes Scrollen auf Handy */
.chips{overflow-x:auto;white-space:nowrap;-webkit-overflow-scrolling:touch;padding-bottom:.3rem}
.chips .chip{display:inline-block}






