/* ===== LAGERSENTRALEN — DESIGN SYSTEM ===== */

:root {
  --bg: #f4f1ec;
  --bg-alt: #ebe6dd;
  --ink: #14140f;
  --ink-soft: #4a4a3f;
  --ink-mute: #8a8678;
  --accent: #97C24D;
  --accent-deep: #5e8025;
  --line: rgba(20, 20, 15, 0.12);
  --paper: #fbf9f5;
  --green: #4ade80;
  --green-deep: #16803c;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter Tight', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== TICKER ===== */
.ticker {
  background: var(--ink);
  color: var(--bg);
  padding: 10px 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.ticker-track {
  display: flex;
  gap: 60px;
  animation: scroll 40s linear infinite;
  white-space: nowrap;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.ticker-track span { display: flex; align-items: center; gap: 12px; }
.ticker-track span::before {
  content: '◆';
  color: var(--accent);
  font-size: 8px;
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== NAV ===== */
nav.main-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 241, 236, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  max-width: 1440px;
  margin: 0 auto;
}
.logo {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.logo-mark {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: opacity 0.2s;
}
.nav-links a:hover, .nav-links a.active { opacity: 0.6; }
.nav-links a.active { color: var(--accent); opacity: 1; }
.nav-cta {
  background: var(--ink);
  color: var(--bg) !important;
  padding: 10px 20px;
  border-radius: 100px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--accent); color: var(--ink) !important; opacity: 1 !important; }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.mobile-toggle svg { width: 24px; height: 24px; }

/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--ink);
  color: var(--bg);
  padding: 18px 32px;
  border-radius: 100px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary:hover {
  background: var(--accent);
  color: var(--ink);
  transform: translateY(-2px);
}
.btn-primary svg { transition: transform 0.3s; }
.btn-primary:hover svg { transform: translate(2px, -2px); }

.btn-secondary {
  background: transparent;
  color: var(--ink);
  padding: 18px 32px;
  border-radius: 100px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
  cursor: pointer;
  font-family: inherit;
}
.btn-secondary:hover {
  background: var(--ink);
  color: var(--bg);
}

/* ===== SECTION HEADERS ===== */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 80px 0 48px;
  border-top: 1px solid var(--line);
}
.section-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}
.section-title {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.03em;
  max-width: 700px;
}
.section-title em { font-style: italic; color: var(--accent); font-weight: 300; }
.section-action {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-action::after { content: '→'; transition: transform 0.3s; }
.section-action:hover::after { transform: translateX(4px); }

/* ===== PAGE HEADER (for inner pages) ===== */
.page-header {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--ink-mute); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb-sep { opacity: 0.4; }
.page-title {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}
.page-title em { font-style: italic; color: var(--accent); font-weight: 300; }
.page-intro {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 640px;
  line-height: 1.5;
}

/* ===== FOOTER ===== */
footer.main-footer {
  background: var(--ink);
  color: var(--bg);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 80px;
}
.footer-brand .logo { color: var(--bg); margin-bottom: 24px; }
.footer-brand p {
  color: rgba(244,241,236,0.6);
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
}
.footer-col h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(244,241,236,0.5);
  margin-bottom: 20px;
  font-weight: 400;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col a {
  color: var(--bg);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(244,241,236,0.1);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: rgba(244,241,236,0.5);
}

/* ===== RESPONSIVE BASE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .container, .nav-inner { padding: 0 20px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .mobile-toggle { display: block; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 24px; padding: 60px 0 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .page-header { padding: 48px 0 40px; }
}
