:root {
  --ink: #090b0a;
  --pit: #121614;
  --bone: #efe7d6;
  --lime: #d6ff3c;
  --copper: #d4783a;
  --steel: #8b938c;
  --moss: #6b8f71;
  --line: rgba(239, 231, 214, 0.1);
  --line-2: rgba(239, 231, 214, 0.15);
  --line-3: rgba(239, 231, 214, 0.2);
  --nav: rgba(239, 231, 214, 0.8);
  --header-solid: rgba(9, 11, 10, 0.95);
  --hero-from: #090b0a;
  --hero-mid: rgba(9, 11, 10, 0.55);
  --hero-top: rgba(9, 11, 10, 0.3);
  --contact-shade: rgba(9, 11, 10, 0.75);
  --modal-shade: rgba(9, 11, 10, 0.8);
  --flash-border: rgba(214, 255, 60, 0.4);
  --flash-bg: rgba(214, 255, 60, 0.1);
  --lime-muted: rgba(9, 11, 10, 0.55);
  --lime-grid: rgba(9, 11, 10, 0.15);
  --donut-track: #1c211e;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: Outfit, system-ui, sans-serif;
  line-height: 1.5;
}
::selection { background: var(--lime); color: var(--ink); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.font-display, h1, h2, .display {
  font-family: "Bebas Neue", Impact, sans-serif;
  letter-spacing: -0.02em;
  line-height: 0.86;
  font-weight: 400;
}
.kicker {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime);
  margin: 0;
}
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.logo { display: inline-flex; align-items: center; gap: 8px; color: var(--lime); }
.logo span { font-family: "Bebas Neue", Impact, sans-serif; font-size: 28px; letter-spacing: 0.08em; line-height: 1; }

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .2s;
}
.site-header.is-solid, .site-header.is-open { background: var(--header-solid); backdrop-filter: blur(10px); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; max-width: 1200px; margin: 0 auto; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 14px; color: var(--nav); }
.nav a:hover { color: var(--lime); }
.nav a.dim { color: var(--steel); }
.btn {
  display: inline-block; border: 0; cursor: pointer;
  padding: 12px 22px; font-size: 14px; font-weight: 500;
}
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: var(--bone); }
.btn-ghost { background: transparent; border: 1px solid var(--line-3); color: var(--bone); }
.menu-toggle { display: none; background: none; border: 0; color: var(--bone); font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: .2em; cursor: pointer; }
.mobile-nav { display: none; border-top: 1px solid var(--line); padding: 24px 20px; }
.mobile-nav a, .mobile-nav button { display: block; margin: 10px 0; font-size: 18px; background: none; border: 0; color: var(--bone); text-align: left; cursor: pointer; }

.hero { position: relative; min-height: 100svh; overflow: hidden; display: flex; align-items: flex-end; }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .shade { position: absolute; inset: 0; background: linear-gradient(to top, var(--hero-from), var(--hero-mid), var(--hero-top)); }
.hero .grid {
  position: absolute; inset: 0; opacity: .4;
  background-image: linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
}
.hero-inner { position: relative; max-width: 1200px; margin: 0 auto; padding: 112px 20px 64px; width: 100%; }
.hero h1 { font-size: clamp(64px, 14vw, 152px); margin: 16px 0 0; max-width: 16ch; }
.hero-foot { margin-top: 32px; display: flex; gap: 24px; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; max-width: 720px; }
.hero-foot p { margin: 0; max-width: 420px; color: var(--nav); }

.marquee { overflow: hidden; background: var(--lime); color: var(--ink); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 12px 0; }
.marquee-track { display: flex; width: max-content; gap: 40px; white-space: nowrap; font-family: "Bebas Neue", Impact, sans-serif; font-size: 30px; letter-spacing: .12em; animation: marquee 28s linear infinite; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.section { padding: 96px 0; }
.section-head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; flex-wrap: wrap; }
.section-head h2, .lime-band h2, .quote h2, .contact h2 { font-size: clamp(48px, 8vw, 96px); margin: 12px 0 0; }
.muted { color: var(--steel); font-size: 14px; max-width: 360px; }

.cards { margin-top: 56px; display: grid; gap: 1px; background: var(--line); grid-template-columns: repeat(3, 1fr); }
.card { background: var(--ink); padding: 28px; }
.card:hover { background: var(--pit); }
.card .n { font-family: "IBM Plex Mono", monospace; font-size: 12px; color: var(--lime); margin: 0; }
.card h3 { font-size: 36px; margin: 24px 0 12px; }
.card:hover h3 { color: var(--lime); }
.card p { color: var(--steel); font-size: 14px; margin: 0; }

.lime-band { background: var(--lime); color: var(--ink); }
.lime-band .kicker { color: var(--lime-muted); }
.lime-grid { display: grid; gap: 48px; align-items: center; grid-template-columns: 1fr 1fr; }
.lime-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--lime-grid); }
.lime-stats div { background: var(--lime); padding: 24px; }
.lime-stats b { display: block; font-family: "Bebas Neue", Impact, sans-serif; font-size: 64px; line-height: .9; font-weight: 400; }

.split { background: var(--pit); display: grid; grid-template-columns: 1fr 1fr; }
.split .media { min-height: 420px; position: relative; }
.split .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split .copy { padding: 64px 48px; display: flex; flex-direction: column; justify-content: center; }
.split blockquote { margin: 16px 0 0; font-size: clamp(36px, 5vw, 56px); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-top: 56px; }
.steps li { border-top: 1px solid var(--line-2); padding-top: 24px; list-style: none; }
.steps { padding: 0; }
.steps h3 { font-size: 30px; margin: 16px 0 12px; }
.steps p { color: var(--steel); font-size: 14px; margin: 0; }

.team { background: var(--pit); }
.team-list { margin-top: 56px; padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.team-list li { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.team-list li:last-child { border-bottom: 0; }
.team-list strong { font-family: "Bebas Neue", Impact, sans-serif; font-size: 36px; font-weight: 400; }
.team-list span { color: var(--steel); font-size: 14px; }

.contact { position: relative; overflow: hidden; }
.contact .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact .shade { position: absolute; inset: 0; background: var(--contact-shade); }
.contact-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 96px 0; }
.contact .phone { font-family: "IBM Plex Mono", monospace; color: var(--lime); font-size: 14px; margin: 32px 0 4px; }
.hours { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.hours dt { font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--lime); }
.hours dd { margin: 12px 0 0; font-size: 14px; line-height: 1.8; }

.site-footer { border-top: 1px solid var(--line); padding: 40px 0; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; }
.site-footer .logo { color: var(--bone); }
.site-footer p { margin: 0; font-size: 12px; color: var(--steel); }
.site-footer .credit a { color: var(--lime); }
.site-footer .credit a:hover { color: var(--bone); }

.modal { position: fixed; inset: 0; z-index: 60; display: none; align-items: center; justify-content: center; padding: 16px; }
.modal.is-open { display: flex; }
.modal .backdrop { position: absolute; inset: 0; background: var(--modal-shade); backdrop-filter: blur(4px); border: 0; }
.modal .panel { position: relative; width: 100%; max-width: 520px; background: var(--pit); border: 1px solid var(--line-2); padding: 32px; }
.form { display: grid; gap: 12px; margin-top: 24px; }
.form label { display: grid; gap: 4px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--steel); }
.form input, .form select, .form textarea {
  border: 1px solid var(--line-2); background: var(--ink); padding: 10px 12px; font-size: 14px; color: var(--bone); outline: none;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--lime); }
.form textarea { resize: none; }
.flash { padding: 16px; border: 1px solid var(--flash-border); background: var(--flash-bg); }
.flash h3 { font-size: 30px; color: var(--lime); margin: 0; }
.err { color: var(--copper); font-size: 14px; }

.admin-shell { display: flex; min-height: 100vh; }
.admin-side {
  width: 232px;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--pit);
  border-right: 1px solid var(--line);
  padding: 22px 14px;
}
.admin-side .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 8px 26px;
  color: var(--lime);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 28px;
  letter-spacing: 0.08em;
  line-height: 1;
}
.side-nav { display: flex; flex-direction: column; gap: 3px; }
.side-nav a {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  color: var(--nav);
  font-size: 15px;
}
.side-nav a:hover { background: var(--line); color: var(--bone); }
.side-nav a.is-active { background: var(--lime); color: var(--ink); }
.side-user {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  color: var(--steel);
  font-size: 13px;
}
.side-user a { color: var(--nav); }
.side-user a:hover { color: var(--lime); }
.admin-main { flex: 1; padding: 32px 36px 64px; max-width: 1100px; }
.page-head { margin-bottom: 22px; }
.card {
  background: var(--pit);
  border: 1px solid var(--line);
  padding: 22px 24px;
  margin-bottom: 16px;
}
.card h2 { font-size: 28px; margin: 0 0 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-actions { display: flex; gap: 10px; margin-top: 8px; }
.form label.check { display: flex; align-items: center; gap: 10px; text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--bone); }
.form label.check input { width: auto; }
.kpis { display: grid; gap: 1px; background: var(--line); grid-template-columns: repeat(3, 1fr); margin: 32px 0; }
.kpis div { background: var(--ink); padding: 20px; }
.kpis span { display: block; font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--steel); }
.kpis b { display: block; margin-top: 8px; font-family: "Bebas Neue", Impact, sans-serif; font-size: 36px; color: var(--lime); font-weight: 400; }
.donuts { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.donut-card { border: 1px solid var(--line); background: var(--pit); padding: 24px; }
.donut-track { stroke: var(--donut-track); }
.donut-k, .donut-u { fill: var(--steel); }
.donut-v { fill: var(--bone); font-family: "Bebas Neue", Impact, sans-serif; }
.donut-card h3 { font-size: 30px; margin: 0 0 4px; }
.donut-body { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.donut-legend { list-style: none; padding: 0; margin: 0; flex: 1; min-width: 160px; }
.legend-btn { width: 100%; display: flex; align-items: center; gap: 8px; background: none; border: 0; color: var(--bone); font-size: 14px; padding: 6px 8px; cursor: pointer; text-align: left; }
.legend-btn:hover, .legend-btn.is-on { background: var(--line); }
.legend-btn .meta { margin-left: auto; font-family: "IBM Plex Mono", monospace; font-size: 11px; color: var(--steel); }
.swatch { width: 10px; height: 10px; flex: 0 0 10px; }
.donut-seg { cursor: pointer; transition: stroke-width .2s, opacity .2s; }

.toolbar { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; flex-wrap: wrap; }
.filters { display: flex; gap: 12px; margin: 24px 0; flex-wrap: wrap; }
.filters input, .filters select { flex: 1; min-width: 180px; border: 1px solid var(--line-2); background: var(--pit); padding: 10px 12px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
th { text-align: left; background: var(--pit); font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--steel); padding: 12px 16px; font-weight: 400; }
td { padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; }
td .sub { font-size: 12px; color: var(--steel); }
.status-aktiv { color: var(--lime); font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.status-inaktiv { color: var(--copper); font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.row-actions { display: flex; justify-content: flex-end; gap: 12px; font-size: 12px; }
.row-actions button, .row-actions a { background: none; border: 0; color: var(--nav); cursor: pointer; padding: 0; }
.row-actions .danger { color: var(--copper); }
.login-grid { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.login-photo { position: relative; background: #000 center/cover no-repeat; }
.login-photo .shade { position: absolute; inset: 0; background: var(--contact-shade); }
.login-photo .inner { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: 40px; }
.login-photo h2 { font-size: 64px; margin: 0; }
.login-form { display: flex; align-items: center; padding: 64px 32px; }
.login-form .box { width: 100%; max-width: 420px; margin: 0 auto; }
.notice { font-size: 13px; color: var(--steel); }

.theme-switch {
  display: inline-flex;
  border: 1px solid var(--line-3);
  flex-shrink: 0;
}
.theme-btn {
  background: transparent;
  border: 0;
  color: var(--steel);
  padding: 8px 12px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: "IBM Plex Mono", monospace;
  cursor: pointer;
}
.theme-btn:hover { color: var(--bone); }
.theme-btn[aria-pressed="true"] {
  background: var(--lime);
  color: var(--ink);
}

.style-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin: 8px 0 4px;
}
.style-card {
  position: relative;
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  padding: 14px;
  cursor: pointer;
  background: var(--ink);
}
.style-card:hover { border-color: var(--lime); }
.style-card:has(input:checked) { box-shadow: inset 0 0 0 2px var(--lime); }
.style-card input { position: absolute; opacity: 0; pointer-events: none; }
.style-swatches { display: flex; height: 40px; overflow: hidden; }
.style-swatches span { flex: 1; }
.style-card strong { font-family: "Bebas Neue", Impact, sans-serif; font-size: 28px; font-weight: 400; }

@media (max-width: 960px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .site-header.is-open .mobile-nav { display: block; }
  .cards, .donuts, .kpis, .lime-grid, .split, .contact-grid, .login-grid, .steps, .form-row { grid-template-columns: 1fr; }
  .hours { grid-template-columns: 1fr 1fr; }
  .split .copy { padding: 48px 20px; }
  .login-photo { display: none; }
  .hero-foot { flex-direction: column; align-items: flex-start; }
  .admin-shell { flex-direction: column; }
  .admin-side { width: auto; height: auto; position: static; border-right: 0; border-bottom: 1px solid var(--line); }
  .side-nav { flex-direction: row; flex-wrap: wrap; }
  .side-nav a { padding: 8px 10px; font-size: 14px; }
  .admin-main { padding: 20px 16px 48px; }
}
@media (max-width: 640px) {
  .kpis { grid-template-columns: 1fr 1fr; }
  .hours { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}
