/* ============================================================
   wagnernet.org — user.css
   Design-System: V1c Ice Slate
   Ablageort: /media/templates/site/cassiopeia_extended/css/user.css
   
   Wird automatisch geladen — KEIN index.php-Eingriff noetig!
   ============================================================ */


/* ============================================================
   1. LOKALE FONTS (DSGVO-konform)
   Fonts liegen in:
   /media/templates/site/cassiopeia_extended/fonts/
   ============================================================ */

/* ---- SYNE (Display) ---- */
@font-face { font-family: 'Syne'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/syne-v24-latin-regular.woff2') format('woff2'); }
@font-face { font-family: 'Syne'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/syne-v24-latin-500.woff2') format('woff2'); }
@font-face { font-family: 'Syne'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/syne-v24-latin-600.woff2') format('woff2'); }
@font-face { font-family: 'Syne'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/syne-v24-latin-700.woff2') format('woff2'); }
@font-face { font-family: 'Syne'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/syne-v24-latin-800.woff2') format('woff2'); }

/* ---- DM SANS (Body) ---- */
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 100; font-display: swap; src: url('../fonts/dm-sans-v17-latin-100.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: italic; font-weight: 100; font-display: swap; src: url('../fonts/dm-sans-v17-latin-100italic.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 200; font-display: swap; src: url('../fonts/dm-sans-v17-latin-200.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: italic; font-weight: 200; font-display: swap; src: url('../fonts/dm-sans-v17-latin-200italic.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/dm-sans-v17-latin-300.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: italic; font-weight: 300; font-display: swap; src: url('../fonts/dm-sans-v17-latin-300italic.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/dm-sans-v17-latin-regular.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/dm-sans-v17-latin-italic.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/dm-sans-v17-latin-500.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: italic; font-weight: 500; font-display: swap; src: url('../fonts/dm-sans-v17-latin-500italic.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/dm-sans-v17-latin-600.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: italic; font-weight: 600; font-display: swap; src: url('../fonts/dm-sans-v17-latin-600italic.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/dm-sans-v17-latin-700.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: italic; font-weight: 700; font-display: swap; src: url('../fonts/dm-sans-v17-latin-700italic.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/dm-sans-v17-latin-800.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: italic; font-weight: 800; font-display: swap; src: url('../fonts/dm-sans-v17-latin-800italic.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 900; font-display: swap; src: url('../fonts/dm-sans-v17-latin-900.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: italic; font-weight: 900; font-display: swap; src: url('../fonts/dm-sans-v17-latin-900italic.woff2') format('woff2'); }

/* ---- JETBRAINS MONO (Code/Labels) ---- */
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 100; font-display: swap; src: url('../fonts/jetbrains-mono-v24-latin-100.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: italic; font-weight: 100; font-display: swap; src: url('../fonts/jetbrains-mono-v24-latin-100italic.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 200; font-display: swap; src: url('../fonts/jetbrains-mono-v24-latin-200.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: italic; font-weight: 200; font-display: swap; src: url('../fonts/jetbrains-mono-v24-latin-200italic.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/jetbrains-mono-v24-latin-300.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: italic; font-weight: 300; font-display: swap; src: url('../fonts/jetbrains-mono-v24-latin-300italic.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/jetbrains-mono-v24-latin-regular.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/jetbrains-mono-v24-latin-italic.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/jetbrains-mono-v24-latin-500.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: italic; font-weight: 500; font-display: swap; src: url('../fonts/jetbrains-mono-v24-latin-500italic.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/jetbrains-mono-v24-latin-600.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: italic; font-weight: 600; font-display: swap; src: url('../fonts/jetbrains-mono-v24-latin-600italic.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/jetbrains-mono-v24-latin-700.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: italic; font-weight: 700; font-display: swap; src: url('../fonts/jetbrains-mono-v24-latin-700italic.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/jetbrains-mono-v24-latin-800.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: italic; font-weight: 800; font-display: swap; src: url('../fonts/jetbrains-mono-v24-latin-800italic.woff2') format('woff2'); }


/* ============================================================
   2. CSS VARIABLEN — V1c Ice Slate
   ============================================================ */
:root {
  --bg-dark: #08081a;
  --bg-hero: #0c0c24;
  --bg-ice: #f3f5fa;
  --bg-slate: #2d3752;
  --bg-slate-deep: #242d44;
  --bg-card: #ffffff;
  --accent: #e85d3a;
  --accent-glow: rgba(232, 93, 58, .15);
  --accent-soft: #f4a261;
  --text-primary: #1a1a2e;
  --text-secondary: #6b6b80;
  --text-hero: #ffffff;
  --text-hero-muted: rgba(255, 255, 255, .4);
  --text-hero-dim: rgba(255, 255, 255, .15);
  --border-light: rgba(0, 0, 0, .06);
  --border-hero: rgba(255, 255, 255, .06);
  --font-display: 'Syne', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 20px;
  --shadow-light: 0 8px 24px rgba(0, 0, 0, .08);
  --shadow-dark: 0 12px 32px rgba(0, 0, 0, .3);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}


/* ============================================================
   3. RESET & BASIS-STILE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-ice);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0; padding: 0;
  overflow-x: hidden;
}

html { scroll-behavior: smooth; }
::selection { background: var(--accent); color: #fff; }
.site-grid { display: block !important; }

.container, .container-xl, .container-fluid {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 36px;
  padding-right: 36px;
}


/* ============================================================
   4. NAVIGATIONSLEISTE + KLON-HEADER
   VORAUSSETZUNG: Sticky Header im Template DEAKTIVIEREN!
   ============================================================ */
.header {
  background: transparent !important;
  border-bottom: none !important;
  z-index: 999;
  position: absolute;
  top: 0; left: 0; right: 0;
}

.header-clone {
  position: fixed !important;
  top: 0; left: 0; right: 0; width: 100%;
  z-index: 1000;
  background: rgba(8, 8, 26, .85) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-hero) !important;
  box-shadow: 0 2px 16px rgba(0, 0, 0, .2);
  transform: translateY(-100%);
  transition: transform 0.5s ease-out;
  pointer-events: none;
}

.header-clone.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}

header.container-header {
  display: grid !important;
  grid-template-columns: auto 1fr !important;
  align-items: center !important;
  max-width: 100% !important;
  width: 100% !important;
  padding: 20px 48px !important;
  position: relative;
}

.header-brand a { text-decoration: none !important; }

header.container-header .container-nav {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: nowrap !important;
  gap: 8px;
  padding-bottom: 0 !important;
}

header.container-header .mod-menu.nav {
  flex: 0 1 auto !important;
  margin-left: auto !important;
}

.mod-menu.nav .nav-item a {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 300;
  color: var(--text-hero-muted) !important;
  text-decoration: none;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.3s;
  padding: 8px 16px;
  position: relative;
}

.mod-menu.nav .nav-item a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 16px; right: 16px;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease-out);
}

.mod-menu.nav .nav-item a:hover {
  color: var(--text-hero) !important;
  text-decoration: none;
}

.mod-menu.nav .nav-item a:hover::after {
  width: calc(100% - 32px);
}

.mod-menu.nav .nav-item.active a,
.mod-menu.nav .nav-item.current a {
  color: var(--text-hero) !important;
}


/* ============================================================
   5. BURGER BUTTON
   ============================================================ */
.burger-toggle {
  display: none;
  align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0;
  border: none; background: none; cursor: pointer;
  position: relative; z-index: 1010;
  -webkit-tap-highlight-color: transparent;
}

.burger-toggle span,
.burger-toggle span::before,
.burger-toggle span::after {
  display: block; width: 22px; height: 2px;
  background: var(--text-hero);
  border-radius: 2px; transition: all 0.3s ease;
}

.burger-toggle span { position: relative; }
.burger-toggle span::before,
.burger-toggle span::after { content: ""; position: absolute; left: 0; }
.burger-toggle span::before { top: -7px; }
.burger-toggle span::after  { top: 7px; }

.burger-toggle.is-active span { background: transparent; }
.burger-toggle.is-active span::before { top: 0; transform: rotate(45deg); }
.burger-toggle.is-active span::after  { top: 0; transform: rotate(-45deg); }


/* ============================================================
   6. BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 400;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 14px 32px; border: none;
  background: var(--accent); color: #fff !important;
  border-radius: 4px; cursor: pointer;
  text-decoration: none;
  transition: all 0.3s var(--ease-out); line-height: 1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
  color: #fff !important; text-decoration: none;
}

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 400;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 14px 32px;
  border: 1px solid rgba(255, 255, 255, .15);
  background: transparent; color: var(--text-hero-muted) !important;
  border-radius: 4px; cursor: pointer;
  text-decoration: none;
  transition: all 0.3s var(--ease-out); line-height: 1;
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, .4);
  color: var(--text-hero) !important; text-decoration: none;
}


/* ============================================================
   7. SEKTIONS-HINTERGRUENDE (Modul-Klassen-Suffix)
   ============================================================ */
.s-dark  { background: var(--bg-dark) !important; color: var(--text-hero) !important; }
.s-ice   { background: var(--bg-ice) !important; color: var(--text-primary) !important; }
.s-slate { background: var(--bg-slate) !important; color: var(--text-hero) !important; }


/* ============================================================
   8. SEKTIONS-LAYOUT
   ============================================================ */
.section { padding: 120px 48px; position: relative; }
.section-inner { max-width: 1100px; margin: 0 auto; }

.section-eyebrow {
  font-family: var(--font-mono); font-size: 11px; font-weight: 300;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -1px; line-height: 1.1; margin-bottom: 8px;
}

.s-ice .section-title { color: var(--text-primary); }
.s-slate .section-title, .s-dark .section-title { color: var(--text-hero); }

.section-rule {
  width: 48px; height: 2px;
  background: var(--accent);
  margin: 16px 0 40px; border-radius: 1px;
}


/* ============================================================
   9. PROJEKT-CARDS
   ============================================================ */
.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.project-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 32px;
  position: relative; overflow: hidden;
  transition: all 0.4s var(--ease-out); cursor: pointer;
}

.project-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 3px; height: 0; border-radius: 0 0 3px 3px;
  transition: height 0.4s var(--ease-out);
}

.project-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,.06); }
.project-card:hover::before { height: 100%; }

.project-card:nth-child(1)::before { background: #4caf50; }
.project-card:nth-child(2)::before { background: #2196f3; }
.project-card:nth-child(3)::before { background: var(--accent); }
.project-card:nth-child(4)::before { background: #e53935; }

.card-tag {
  font-family: var(--font-mono); font-size: 10px; font-weight: 400;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 4px 12px; border-radius: var(--radius-pill);
  display: inline-block; margin-bottom: 16px;
}

.card-tag-green  { background: #e8f5e9; color: #2e7d32; }
.card-tag-blue   { background: #e3f2fd; color: #1565c0; }
.card-tag-orange { background: #fff3e0; color: #e65100; }
.card-tag-red    { background: #ffebee; color: #c62828; }

.card-title { font-family: var(--font-display); font-weight: 700; font-size: 22px; margin-bottom: 8px; }
.card-desc  { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

.card-arrow {
  position: absolute; bottom: 24px; right: 24px;
  font-size: 18px; color: var(--text-secondary);
  transition: all 0.3s var(--ease-out);
  opacity: 0; transform: translateX(-8px);
}

.project-card:hover .card-arrow { opacity: 1; transform: translateX(0); }


/* ============================================================
   10. ABOUT (Slate)
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 280px; gap: 60px; align-items: start; }
.s-slate .about-text { font-size: 16px; line-height: 1.9; color: rgba(255,255,255,.55); }
.s-slate .about-text strong { color: rgba(255,255,255,.9); font-weight: 600; }

.about-stats { display: flex; flex-direction: column; gap: 12px; }

.s-slate .stat-card {
  padding: 20px 24px; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-sm); text-align: center;
  transition: border-color 0.3s;
}

.s-slate .stat-card:hover { border-color: rgba(232,93,58,.3); }
.s-slate .stat-num { font-family: var(--font-display); font-weight: 800; font-size: 28px; color: #fff; }
.s-slate .stat-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 2px; color: rgba(255,255,255,.35); margin-top: 4px; }


/* ============================================================
   11. TEAM-CARDS (Ice)
   ============================================================ */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.team-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 32px; text-align: center;
  transition: transform 0.4s var(--ease-out);
}

.team-card:hover { transform: translateY(-4px); }

.team-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 24px; font-weight: 800; color: #fff;
}

.team-name { font-family: var(--font-display); font-weight: 700; font-size: 18px; margin-bottom: 4px; }
.team-role { font-family: var(--font-mono); font-size: 11px; color: var(--text-secondary); letter-spacing: 1px; }
.team-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.6; margin-top: 12px; }


/* ============================================================
   12. BLOG-KARTEN (dynamisch, mod_articles Override)
   ============================================================ */
.wn-blog-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wn-blog-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .07);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  text-decoration: none !important;
}

.wn-blog-item:hover {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(232, 93, 58, .2);
  transform: translateX(4px);
}

.wn-blog-img-wrap {
  flex: 0 0 100px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
}

.wn-blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .3);
  transition: transform 0.4s var(--ease-out);
}

.wn-blog-item:hover .wn-blog-img {
  transform: scale(1.05);
}

.wn-blog-text {
  flex: 1;
  min-width: 0;
}

.wn-blog-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  margin-bottom: 4px;
}

.wn-blog-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, .4);
  line-height: 1.5;
  margin-bottom: 4px;
}

.wn-blog-cat {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, .25);
  text-transform: uppercase;
}

.wn-blog-arrow {
  flex: 0 0 auto;
  font-size: 18px;
  color: rgba(255, 255, 255, .15);
  transition: all 0.3s;
}

.wn-blog-item:hover .wn-blog-arrow {
  color: var(--accent);
  transform: translateX(4px);
}


/* ============================================================
   13. BILDER — Shadow-Klassen
   ============================================================ */
.img-shadow-light { box-shadow: var(--shadow-light); }
.img-shadow-dark  { box-shadow: var(--shadow-dark); }
.img-rounded      { border-radius: 10px; }


/* ============================================================
   14. FOOTER (Slate-Deep)
   ============================================================ */
.footer, footer.container-footer {
  padding: 40px 48px !important;
  background: var(--bg-slate-deep) !important;
  border-top: 1px solid rgba(255,255,255,.06) !important;
  display: flex !important; justify-content: space-between !important;
  align-items: center !important;
}

.footer span, footer.container-footer span {
  font-family: var(--font-mono); font-size: 11px;
  color: rgba(255,255,255,.2); letter-spacing: 1px;
}

.footer a, footer.container-footer a {
  color: rgba(255,255,255,.3); text-decoration: none; transition: color 0.3s;
}

.footer a:hover, footer.container-footer a:hover { color: var(--accent); }


/* ============================================================
   15. SCROLL-REVEAL
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }


/* ============================================================
   16. HERO-SEKTION
   ============================================================ */
.hero {
  position: relative; height: 100vh; min-height: 700px;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  overflow: hidden; cursor: crosshair;
  background: var(--bg-dark);
}

.hero-bg-image {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1; background-size: cover; background-position: center;
  opacity: 0; filter: blur(8px);
}

.hero-gradient {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  z-index: 2; pointer-events: none;
}

#hero-canvas {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  z-index: 3;
}

.hero-grid {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 4;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 80px 80px; pointer-events: none;
}

.hero-content { position: relative; z-index: 5; text-align: center; perspective: 1000px; }

.hero-eyebrow {
  font-family: var(--font-mono); font-size: 12px; font-weight: 300;
  color: var(--accent); letter-spacing: 4px; text-transform: uppercase;
  margin-bottom: 24px; opacity: 0; animation: fadeUp 0.8s var(--ease-out) 0.3s forwards;
}

.hero-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(60px, 10vw, 120px); line-height: .9; letter-spacing: -2px;
  color: var(--text-hero); transition: transform 0.15s ease-out;
  will-change: transform; opacity: 0; animation: fadeUp 0.8s var(--ease-out) 0.5s forwards;
}

.hero-title-outline {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(60px, 10vw, 120px); line-height: .9; letter-spacing: -2px;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.2);
  transition: transform 0.15s ease-out; will-change: transform;
  opacity: 0; animation: fadeUp 0.8s var(--ease-out) 0.6s forwards;
}

.hero-sub {
  margin-top: 32px; font-family: var(--font-body); font-size: 16px;
  color: var(--text-hero-muted); font-weight: 300; letter-spacing: 1px;
  opacity: 0; animation: fadeUp 0.8s var(--ease-out) 0.8s forwards;
}

.hero-sub .typewriter {
  color: var(--accent-soft); border-right: 2px solid var(--accent-soft);
  padding-right: 2px; animation: blink 1s infinite;
}

.hero-rule {
  width: 48px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 24px auto 0; opacity: 0; animation: fadeUp 0.8s var(--ease-out) 0.9s forwards;
}

.hero-cta {
  margin-top: 40px; display: flex; gap: 16px; justify-content: center;
  opacity: 0; animation: fadeUp 0.8s var(--ease-out) 1s forwards;
}

.scroll-indicator {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%); text-align: center; z-index: 5;
  opacity: 0; animation: fadeUp 0.8s var(--ease-out) 1.2s forwards;
}

.scroll-indicator span {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--text-hero-dim); letter-spacing: 3px;
}

.scroll-arrow {
  display: block; width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--text-hero-dim), transparent);
  margin: 8px auto 0; animation: scrollPulse 2s ease infinite;
}


/* ============================================================
   17. KEYFRAMES
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes blink {
  0%, 100% { border-color: var(--accent-soft); }
  50%      { border-color: transparent; }
}

@keyframes scrollPulse {
  0%, 100% { opacity: .3; transform: scaleY(1); }
  50%      { opacity: .8; transform: scaleY(1.2); }
}


/* ============================================================
   18. CASSIOPEIA-UEBERSCHREIBUNGEN
   ============================================================ */
.page-header { display: none !important; }
#sp-breadcrumbs, .breadcrumb-wrapper { display: none !important; }
.container-bottom-a { display: block !important; }
a { color: var(--accent); transition: color 0.2s; }
a:hover { color: #c44a2a; }


/* ============================================================
   19. RESPONSIVE + BURGER
   ============================================================ */
@media (max-width: 992px) {
  .burger-toggle { display: flex !important; margin-left: auto; }
  header.container-header { padding: 12px 20px !important; }

  header.container-header .container-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(8,8,26,.95);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-hero);
    flex-direction: column !important; align-items: stretch !important;
    padding: 16px 20px !important; gap: 0 !important;
    max-height: 0; overflow: hidden; opacity: 0;
    pointer-events: none;
    transition: max-height 0.35s ease, opacity 0.25s ease;
  }

  header.container-header .container-nav.is-open {
    max-height: 500px; opacity: 1; pointer-events: auto;
  }

  header.container-header .mod-menu.nav {
    flex-direction: column !important; margin-left: 0 !important; width: 100%;
  }

  .mod-menu.nav .nav-item { border-bottom: 1px solid var(--border-hero); }
  .mod-menu.nav .nav-item:last-child { border-bottom: none; }
  .mod-menu.nav .nav-item a { display: block !important; padding: 14px 8px !important; font-size: 13px !important; }
  .mod-menu.nav .nav-item a::after { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 80px 24px; }
  .projects-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: center; }
  header.container-header { padding: 12px 16px !important; }

  /* Blog responsive */
  .wn-blog-img-wrap { flex: 0 0 72px; height: 56px; }
  .wn-blog-item { padding: 12px 16px; gap: 14px; }
  .wn-blog-title { font-size: 14px; }
  .wn-blog-desc { display: none; }
}

@media (max-width: 480px) {
  .section { padding: 60px 16px; }
  .footer, footer.container-footer {
    flex-direction: column !important; gap: 12px; text-align: center;
  }
}