/* ============================================================
   CMYK NOIR — Design System für Druckerei Johann 2026
   Farben: Magenta #ff0090 · Cyan #00d4e8 · Yellow #ffe600
   Background: #080810 · Font: Space Grotesk + Inter
   ============================================================ */

/* Fonts lokal gehostet – kein Google-Fonts-CDN, DSGVO-konform */
/* Inter (SIL Open Font License 1.1) – Rasmus Andersson */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300; font-display: swap;
  src: url('../fonts/inter-300.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/inter-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/inter-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/inter-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Space Grotesk (SIL Open Font License 1.1) – Florian Karsten */
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 300; font-display: swap;
  src: url('../fonts/space-grotesk-300.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/space-grotesk-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/space-grotesk-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/space-grotesk-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/space-grotesk-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Cinzel (SIL Open Font License) – lokal gehostet */
@font-face { font-family: 'Cinzel'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/cinzel-400.ttf') format('truetype'); }
@font-face { font-family: 'Cinzel'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/cinzel-700.ttf') format('truetype'); }

/* Font toggle: Cinzel-Modus */
[data-font="cinzel"] { --font-head: 'Cinzel', Georgia, serif; }
[data-font="cinzel"] h1,
[data-font="cinzel"] h2,
[data-font="cinzel"] h3,
[data-font="cinzel"] h4,
[data-font="cinzel"] h5 { font-family: 'Cinzel', Georgia, serif; }

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #080810;
  --bg-card:    rgba(17, 17, 32, 0.85);
  --bg-surface: #111420;
  --magenta:    #ff0090;
  --cyan:       #00d4e8;
  --yellow:     #ffe600;
  --white:      #f0f0f8;
  --muted:      #888aaa;
  --border:     rgba(255,255,255,0.06);
  --input-bg:   #0d0d1a;
  --input-border: rgba(255,255,255,0.25);
  --glow-m:     rgba(255,0,144,0.18);
  --glow-c:     rgba(0,212,232,0.14);
  --glow-y:     rgba(255,230,0,0.10);
  --gradient:   linear-gradient(90deg, var(--magenta), var(--cyan), var(--yellow));
  --font-head:  'Space Grotesk', sans-serif;
  --font-body:  'Inter', sans-serif;
  --radius:     4px;
  --radius-lg:  8px;
}

[data-theme="light"] {
  --bg:         #f4f4f8;
  --bg-card:    rgba(255,255,255,0.9);
  --bg-surface: #eaeaf0;
  --white:      #0d0d1a;
  --muted:      #555568;
  --border:     rgba(0,0,0,0.1);
  --input-bg:   #ffffff;
  --input-border: rgba(0,0,0,0.25);
  --glow-m:     rgba(255,0,144,0.10);
  --glow-c:     rgba(0,180,200,0.10);
  --glow-y:     rgba(200,160,0,0.10);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* === TYPOGRAPHY === */
h1,h2,h3,h4,h5 { font-family: var(--font-head); font-weight: 700; line-height: 1.1; }
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.8rem); }
p  { color: var(--white); line-height: 1.7; }
a  { color: var(--cyan); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--magenta); }

.label-caps {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

/* === GRADIENT UTILITIES === */
.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-magenta { color: var(--magenta); }
.text-cyan    { color: var(--cyan); }
.text-yellow  { color: var(--yellow); }

/* === LAYOUT === */
.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.section   { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* === TOP GRADIENT LINE === */
.top-line {
  height: 2px;
  background: linear-gradient(90deg, var(--magenta), var(--cyan), var(--yellow), var(--magenta));
  background-size: 200%;
  animation: gradientShift 4s linear infinite;
}
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(8,8,16,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 16px 40px;
  max-width: 1280px;
  margin: 0 auto;
  gap: 0;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo img { height: 44px; }
.nav-logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--white);
  line-height: 1.2;
}
.nav-logo-text small {
  display: block;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: var(--cyan);
  font-weight: 500;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--cyan); }
.nav-links a.active { color: var(--cyan); }
.nav-cta {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--magenta) !important;
  border: 1px solid var(--magenta);
  padding: 8px 18px;
  border-radius: var(--radius);
  transition: all 0.2s !important;
}
.nav-cta:hover {
  background: var(--magenta) !important;
  color: #fff !important;
  box-shadow: 0 0 20px var(--glow-m);
}

/* Theme Toggle Button */
.theme-toggle {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  width: 44px; height: 24px;
  position: relative;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  flex-shrink: 0;
  margin-left: auto;
}
.theme-toggle:hover { border-color: var(--cyan); }
.theme-toggle::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--white);
  transition: transform 0.25s, background 0.2s;
}
[data-theme="light"] .theme-toggle {
  background: rgba(0,212,232,0.15);
  border-color: var(--cyan);
}
[data-theme="light"] .theme-toggle::after {
  transform: translateX(20px);
  background: var(--cyan);
}
[data-theme="light"] .nav {
  background: rgba(244,244,248,0.9);
}

/* Mobile Nav Toggle */
.font-toggle {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 4px 9px;
  color: var(--muted);
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  margin-left: 12px;
  transition: border-color 0.2s, color 0.2s;
  flex-shrink: 0;
  line-height: 1.6;
}
.font-toggle:hover { border-color: var(--cyan); color: var(--cyan); }
[data-font="cinzel"] .font-toggle { color: var(--yellow); border-color: rgba(255,230,0,0.35); font-family: 'Cinzel', serif; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  margin-left: 12px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: all 0.3s;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  border: none;
}
.btn-primary {
  background: var(--magenta);
  color: #fff;
}
.btn-primary:hover {
  background: #e0007e;
  color: #fff;
  box-shadow: 0 0 30px var(--glow-m);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--cyan);
  border: 1.5px solid var(--cyan);
}
.btn-ghost:hover {
  background: rgba(0,212,232,0.1);
  color: var(--cyan);
  box-shadow: 0 0 20px var(--glow-c);
}
.btn-ghost-m {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.2);
}
.btn-ghost-m:hover {
  border-color: var(--magenta);
  color: var(--magenta);
}

/* === TAGS / PILLS === */
.tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}
.tag-m { color: var(--magenta); background: rgba(255,0,144,0.1); border-left: 2px solid var(--magenta); }
.tag-c { color: var(--cyan);    background: rgba(0,212,232,0.1); border-left: 2px solid var(--cyan); }
.tag-y { color: var(--yellow);  background: rgba(255,230,0,0.1); border-left: 2px solid var(--yellow); }

/* === BADGE === */
.badge {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--magenta);
  border: 1px solid rgba(255,0,144,0.3);
  background: rgba(255,0,144,0.06);
  padding: 5px 14px;
  border-radius: 2px;
}

/* === CARDS === */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(12px);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--cyan) 0%, transparent 50%, var(--magenta) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.2;
  transition: opacity 0.3s;
}
.card:hover { transform: translateY(-4px); }
.card:hover::before { opacity: 0.5; }

.card-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.card-icon-m { background: rgba(255,0,144,0.12); box-shadow: 0 0 20px var(--glow-m); }
.card-icon-c { background: rgba(0,212,232,0.12);  box-shadow: 0 0 20px var(--glow-c); }
.card-icon-y { background: rgba(255,230,0,0.12);  box-shadow: 0 0 20px var(--glow-y); }

/* === STATS BAR === */
.stats-bar {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1280px;
  margin: 0 auto;
}
.stat-item {
  padding: 28px 40px;
  text-align: center;
  border-right: 1px solid var(--border);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-family: var(--font-head);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* === GLOW BLOBS (decorative) === */
.glow-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
}
.glow-blob-m { background: var(--glow-m); }
.glow-blob-c { background: var(--glow-c); }
.glow-blob-y { background: var(--glow-y); }

/* === SECTION TITLES === */
.section-title { margin-bottom: 16px; }
.section-sub   { color: var(--muted); margin-bottom: 56px; max-width: 560px; font-size: 1.05rem; }

/* === DIVIDER === */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0;
}

/* === FOOTER === */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand img { height: 40px; margin-bottom: 16px; filter: brightness(0.9); }
.footer-brand p  { font-size: 0.9rem; color: var(--muted); max-width: 280px; }
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--muted); font-size: 0.9rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--cyan); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 0.8rem; color: var(--muted); }

/* === CONTACT FORM === */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-input::placeholder, .form-textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,212,232,0.1);
}
.form-textarea { min-height: 120px; resize: vertical; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .nav-inner { padding: 14px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav-links { display: none; position: fixed; top: 70px; left: 0; right: 0; background: rgba(8,8,16,0.97); flex-direction: column; padding: 24px; gap: 16px; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .stats-inner { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
