@font-face {
  font-family: 'Big Shoulders Display';
  src: url('/fonts/big_shoulders_display_700.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Outfit';
  src: url('/fonts/outfit_300.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Outfit';
  src: url('/fonts/outfit_400.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Outfit';
  src: url('/fonts/outfit_500.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/fonts/jetbrains_mono_400.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/fonts/jetbrains_mono_500.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}











:root {
  --navy:    #0A1223;
  --dark:    #101C34;
  --violet:  #4A2080;
  --v-light: #A078DC;
  --v-mid:   #6440A0;
  --ghost:   #B4C8DC;
  --white:   #FFFFFF;
  --text:    #D8E8F4;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { background: var(--navy); color: var(--text); font-family: 'Outfit', sans-serif; font-weight: 300; overflow-x: hidden; }

/* TICKER */
.ticker-wrap { background: var(--violet); overflow: hidden; padding: 10px 0; border-bottom: 2px solid var(--v-light); position: fixed; top: 0; left: 0; right: 0; z-index: 200; }
.ticker-track { display: flex; width: max-content; animation: ticker 30s linear infinite; }
.ticker-track:hover { animation-play-state: paused; }
.ticker-item { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: rgba(255,255,255,0.9); padding: 0 48px; white-space: nowrap; letter-spacing: 0.05em; }
.ticker-item::before { content: '◆'; margin-right: 20px; color: var(--v-light); font-size: 9px; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* NAV */
nav { position: fixed; top: 42px; left: 0; right: 0; z-index: 150; display: flex; justify-content: space-between; align-items: center; padding: 14px 60px; pointer-events: none; background: rgba(10,18,35,0.95); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(74,32,128,0.3); box-shadow: 0 2px 24px rgba(0,0,0,0.4); }
.nav-logo { font-family: 'Big Shoulders Display', sans-serif; font-size: 22px; font-weight: 700; color: var(--white); pointer-events: all; letter-spacing: 0.02em; text-decoration: none; cursor: pointer; }
.nav-logo span { color: var(--v-light); }
.nav-links { display: flex; gap: 36px; pointer-events: all; }
.nav-links a { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--ghost); text-decoration: none; letter-spacing: 0.08em; text-transform: uppercase; transition: color 0.2s; }
.nav-links a:hover { color: var(--v-light); }

/* HERO */
.hero { min-height: 100vh; display: grid; grid-template-columns: 1fr auto 1fr; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 600px 600px at 80% 50%, rgba(74,32,128,0.25) 0%, transparent 70%), radial-gradient(ellipse 400px 400px at 20% 80%, rgba(74,32,128,0.12) 0%, transparent 60%); pointer-events: none; }
.hero::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(180,200,220,0.4) 1px, transparent 1px), radial-gradient(circle, rgba(180,200,220,0.25) 1px, transparent 1px); background-size: 180px 180px, 120px 120px; background-position: 0 0, 60px 40px; pointer-events: none; }
.hero-left { display: flex; flex-direction: column; justify-content: center; padding: 180px 60px 80px; position: relative; z-index: 2; }
.hero-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--v-light); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 24px; opacity: 0; animation: fadeUp 0.8s ease 0.2s forwards; }
.hero-name { font-family: 'Big Shoulders Display', sans-serif; font-size: clamp(32px,3.5vw,56px); font-weight: 700; line-height: 0.95; color: var(--ghost); margin-bottom: 8px; opacity: 0; animation: fadeUp 0.8s ease 0.4s forwards; }
.hero-divider { width: 80px; height: 3px; background: var(--violet); margin-bottom: 28px; opacity: 0; animation: fadeUp 0.8s ease 0.6s forwards; }
.hero-tagline { font-size: clamp(16px,1.8vw,20px); font-weight: 300; color: var(--ghost); line-height: 1.6; max-width: 480px; margin-bottom: 48px; opacity: 0; animation: fadeUp 0.8s ease 0.7s forwards; }
.hero-tagline strong { color: var(--white); font-weight: 500; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; opacity: 0; animation: fadeUp 0.8s ease 0.9s forwards; }
.btn-primary { background: var(--violet); color: var(--white); padding: 14px 32px; font-family: 'JetBrains Mono', monospace; font-size: 13px; letter-spacing: 0.08em; text-decoration: none; border: 1px solid var(--v-light); transition: all 0.25s; text-transform: uppercase; }
.btn-primary:hover { background: var(--v-mid); transform: translateY(-2px); }
.btn-secondary { color: var(--ghost); padding: 14px 32px; font-family: 'JetBrains Mono', monospace; font-size: 13px; letter-spacing: 0.08em; text-decoration: none; border: 1px solid rgba(180,200,220,0.25); transition: all 0.25s; text-transform: uppercase; }
.btn-secondary:hover { color: var(--white); border-color: var(--ghost); transform: translateY(-2px); }
.hero-right { position: relative; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; background-image: url('/images/ralf-lauer-hero.jpg'); background-size: cover; background-position: center top; opacity: 0; animation: fadeIn 1.2s ease 0.3s forwards; }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, var(--navy) 0%, transparent 30%, transparent 70%, rgba(10,18,35,0.4) 100%); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* SECTIONS */
section { padding: 100px 60px; max-width: 1300px; margin: 0 auto; }
.section-label { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.14em; color: var(--v-light); text-transform: uppercase; margin-bottom: 16px; }
.section-title { font-family: 'Big Shoulders Display', sans-serif; font-size: clamp(36px,4vw,60px); font-weight: 700; color: var(--white); line-height: 1.05; margin-bottom: 20px; }
.section-lead { font-size: 18px; color: var(--ghost); line-height: 1.7; max-width: 680px; margin-bottom: 60px; }

/* SERVICE CARDS */
.services-grid { display: grid; gap: 2px; margin-top: 60px; }
.service-card { background: rgba(16,28,52,0.6); border: 1px solid rgba(74,32,128,0.25); padding: 40px 36px; position: relative; transition: all 0.3s; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 0; background: var(--v-light); transition: height 0.4s ease; }
.service-card:hover { background: rgba(74,32,128,0.15); border-color: var(--v-mid); transform: translateY(-4px); }
.service-card:hover::before { height: 100%; }
.service-number { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: rgba(160,120,220,0.9); letter-spacing: 0.1em; margin-bottom: 20px; }
.service-title { font-family: 'Big Shoulders Display', sans-serif; font-size: 26px; font-weight: 700; color: var(--white); margin-bottom: 16px; line-height: 1.2; }
.service-desc { font-size: 15px; color: var(--ghost); line-height: 1.7; }

/* ABOUT */
#about { border-top: 1px solid rgba(74,32,128,0.3); display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; max-width: 1300px; margin: 0 auto; padding: 100px 60px; }
.about-photo-wrap { position: relative; }
.about-photo { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: center top; filter: grayscale(20%); }
.about-photo-accent { position: absolute; bottom: -20px; right: -20px; width: 60%; height: 60%; border: 2px solid var(--violet); z-index: -1; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.stat { padding: 24px; border: 1px solid rgba(74,32,128,0.3); background: rgba(16,28,52,0.5); transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease; }
.stat:hover { border-color: var(--v-light) !important; background: rgba(74,32,128,0.2) !important; transform: translateY(-2px); }
.stat-number { font-family: 'Big Shoulders Display', sans-serif; font-size: 42px; font-weight: 900; color: var(--v-light); line-height: 1; margin-bottom: 8px; }
.stat-label { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--ghost); letter-spacing: 0.06em; }

/* MODELL */
#approach { border-top: 1px solid rgba(74,32,128,0.3); background: rgba(74,32,128,0.08); }
.modell-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.modell-inner .section-title { text-align: center; }
.modell-inner .section-lead { margin: 0 auto 60px; text-align: left; }
.modell-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; margin-top: 48px; }
.modell-item { padding: 36px 28px; background: rgba(10,18,35,0.6); border: 1px solid rgba(74,32,128,0.25); text-align: center; transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease; }
.modell-item:hover { border-color: var(--v-light); background: rgba(74,32,128,0.15); transform: translateY(-3px); }
.modell-title { font-family: 'Big Shoulders Display', sans-serif; font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.modell-text { font-size: 14px; color: var(--ghost); line-height: 1.6; }

/* HOVER CARDS */
.hover-card { background: rgba(16,28,52,0.6); border: 1px solid rgba(74,32,128,0.25); transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease; }
.hover-card:hover { border-color: var(--v-light); background: rgba(74,32,128,0.15); transform: translateY(-3px); }

/* KONTAKT */
#contact { border-top: 1px solid rgba(74,32,128,0.3); text-align: center; }
.kontakt-inner { max-width: 700px; margin: 0 auto; }
.kontakt-mail { display: inline-block; font-family: 'Big Shoulders Display', sans-serif; font-size: clamp(28px,3.5vw,48px); font-weight: 700; color: var(--v-light); text-decoration: none; margin: 32px 0; letter-spacing: 0.02em; transition: color 0.2s; }
.kontakt-mail:hover { color: var(--white); }
.kontakt-sub { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--ghost); letter-spacing: 0.08em; margin-top: 8px; }
.linkedin-btn { display: inline-flex; align-items: center; gap: 10px; margin-top: 32px; padding: 12px 28px; border: 1px solid rgba(180,200,220,0.25); color: var(--ghost); text-decoration: none; font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; transition: all 0.25s; }
.linkedin-btn:hover { border-color: var(--v-light); color: var(--white); }

/* FOOTER */
footer { border-top: 1px solid rgba(74,32,128,0.3); padding: 32px 60px; display: flex; justify-content: space-between; align-items: center; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: rgba(180,200,220,0.4); letter-spacing: 0.06em; }
footer a { color: rgba(180,200,220,0.4); text-decoration: none; }
footer a:hover { color: var(--ghost); }
.page-bar { position: fixed; left: 0; top: 0; bottom: 0; width: 4px; background: var(--violet); z-index: 200; }


/* BACK LINK */
.back-link { text-align: right; padding: 8px 0 0; }
.back-link a { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: rgba(160,120,220,0.9); text-decoration: none; letter-spacing: 0.06em; transition: color 0.2s; }
.back-link a:hover { color: var(--v-light); }


/* Extra spacing between Hero and first content block */
.hero ~ section:first-of-type,
.hero ~ div:first-of-type {
  padding-top: 120px;
}

@media (max-width: 900px) {
  /* Hero — kompakter mobil */
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-right { display: none; }
  .hero-center { display: none; }
  .hero-left { padding: 100px 24px 48px; }
  .hero-tagline { font-size: 16px; max-width: 100%; margin-bottom: 32px; }
  .hero-eyebrow { font-size: 11px; margin-bottom: 18px; }
  .hero-name { font-size: clamp(28px,8vw,44px); }
  .hero-divider { margin-bottom: 20px; }

  /* CTA Buttons — enger */
  .hero-cta { flex-direction: column; gap: 10px; }
  .btn-primary, .btn-secondary { text-align: center; padding: 13px 24px; width: 100%; }

  /* Nav */
  nav { padding: 10px 20px; }
  .nav-links { display: none; }
  .nav-logo { font-size: 18px; }
  .burger-btn { display: flex !important; }

  /* Sections */
  section { padding: 56px 20px; }
  #ueber-mich { grid-template-columns: 1fr; padding: 56px 20px; }
  .about-photo-wrap { display: none; }
  .about-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 16px; }
  .stat-number { font-size: 36px; }
  .stat { padding: 20px 16px; }

  /* Titel */
  .section-title { font-size: clamp(26px,6vw,40px); }
  .section-lead { font-size: 15px; }

  /* Service cards — 1 Spalte */
  .services-grid { grid-template-columns: 1fr !important; }
  .service-card { padding: 28px 24px; }

  /* Regelkreise — gestapelt */
  .modell-grid { grid-template-columns: 1fr; }

  /* Kacheln — 1 Spalte */
  .modell-item { padding: 28px 24px; }

  /* Footer */
  footer { flex-direction: column; gap: 8px; text-align: center; padding: 24px 20px; }

  /* Back links */
  [style*="text-align:center;padding:12px"] { padding: 14px 0 6px !important; }
}

@media (max-width: 480px) {
  .hero-left { padding: 95px 18px 40px; }
  .hero-eyebrow { font-size: 10px; letter-spacing: 0.08em; }
  .about-stats { grid-template-columns: 1fr; }
  section { padding: 44px 18px; }
  nav { padding: 10px 14px; }
  .kontakt-mail { font-size: clamp(20px,6vw,32px); }
}
  .hero-eyebrow { font-size: 10px; }
  .about-stats { grid-template-columns: 1fr; }
  .stat-number { font-size: 36px; }
  .stat { padding: 20px 16px; }
  section { padding: 50px 20px; }
  nav { padding: 10px 16px; }
}

/* BURGER MENU */
.burger-btn { display: none; flex-direction: column; gap: 5px; cursor: pointer; pointer-events: all; background: none; border: 1px solid rgba(160,120,220,0.3); padding: 6px 8px; }
.burger-btn span { display: block; width: 22px; height: 2px; background: var(--ghost); transition: all 0.3s; }
.burger-btn:hover span { background: var(--v-light); }

/* MOBILE MENU OVERLAY */
.mobile-menu { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(10,18,35,0.98); z-index: 300; flex-direction: column; align-items: center; justify-content: center; gap: 32px; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: 'Big Shoulders Display', sans-serif; font-size: 32px; font-weight: 700; color: var(--white); text-decoration: none; letter-spacing: 0.04em; transition: color 0.2s; }
.mobile-menu a:hover { color: var(--v-light); }
.mobile-menu-close { position: absolute; top: 24px; right: 24px; background: none; border: none; color: var(--ghost); font-size: 32px; cursor: pointer; line-height: 1; }

@media (max-width: 900px) {
  .burger-btn { display: flex !important; }
  .nav-links { display: none !important; }
}
