@font-face {
  font-family: "InterFallback";
  src: local("Segoe UI");
}
:root {
  --bg: #15161d;
  --bg-soft: #1b1d26;
  --bg-strong: #0f1016;
  --card: rgba(30, 32, 42, .78);
  --card-solid: #1c1e28;
  --text: #f5f5f7;
  --muted: #a7abb7;
  --border: rgba(255,255,255,.12);
  --primary: #c8102e;
  --primary-2: #ff3354;
  --success: #34d399;
  --shadow-glow: 0 0 42px -10px rgba(200,16,46,.8);
  --shadow-card: 0 20px 80px -35px rgba(0,0,0,.85);
  --radius: 16px;
}
* { box-sizing: border-box; }
html {
  color-scheme: dark;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(200,16,46,.32), transparent 32rem),
    radial-gradient(circle at 80% 15%, rgba(255,255,255,.08), transparent 28rem),
    linear-gradient(180deg, #101119, var(--bg) 35%, #101119);
  color: var(--text);
  font-family: InterFallback, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(15,16,22,.82);
  backdrop-filter: blur(18px);
}
.navbar {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: .02em;
  font-size: 1.12rem;
}
.brand img {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.18), var(--shadow-glow);
}
.brand span span { color: var(--primary-2); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 18px;
}
.nav-links a {
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-size: .94rem;
  transition: .18s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(255,255,255,.07);
}
.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  background: rgba(30,32,42,.68);
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--muted);
  font-size: .78rem;
  white-space: nowrap;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #737782;
}
.status-dot.online {
  background: var(--success);
  box-shadow: 0 0 12px rgba(52,211,153,.95);
}
.btn,
button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 11px 18px;
  font-weight: 700;
  cursor: pointer;
  transition: .18s ease;
  min-height: 42px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn-outline {
  color: var(--text);
  border-color: rgba(255,255,255,.17);
  background: rgba(255,255,255,.04);
}
.btn-outline:hover { border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.08); }
.lang-btn {
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  cursor: pointer;
}
.lang-btn.active {
  color: #fff;
  border-color: rgba(255,51,84,.52);
  background: rgba(200,16,46,.24);
}
.menu-btn {
  display: none;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 1.6rem;
  cursor: pointer;
}
.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  background: rgba(15,16,22,.96);
}
.mobile-menu.open { display: block; }
.mobile-menu .container {
  padding-top: 10px;
  padding-bottom: 14px;
  display: grid;
  gap: 6px;
}
.mobile-menu a {
  color: var(--muted);
  padding: 11px 12px;
  border-radius: 12px;
}
.mobile-menu a:hover,
.mobile-menu a.active { color: #fff; background: rgba(255,255,255,.07); }
.hero {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  display: grid;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16,17,25,.25), rgba(16,17,25,.72) 68%, var(--bg)),
    url("/assets/hintergrund1.png") center center / cover no-repeat;
  opacity: .65;
  filter: saturate(1.05) contrast(1.05);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 220px;
  background: linear-gradient(180deg, transparent, var(--bg));
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 92px 0 80px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 24px;
}
.hero-logo {
  width: 130px;
  height: 130px;
  border-radius: 999px;
  box-shadow: 0 0 0 2px rgba(255,51,84,.35), var(--shadow-glow);
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.05);
  color: var(--muted);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: .86rem;
}
h1, h2, h3 {
  margin: 0;
  font-family: "Rajdhani", "Segoe UI", system-ui, sans-serif;
  line-height: .98;
}
.hero h1 {
  font-size: clamp(4rem, 10vw, 8.2rem);
  letter-spacing: .01em;
}
.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--primary-2), #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  max-width: 780px;
  color: #d8dbe4;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.55;
}
.hero-desc {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.7;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.section {
  padding: 76px 0;
}
.section.compact { padding: 52px 0; }
.section-head {
  margin-bottom: 30px;
}
.section-head.center {
  text-align: center;
  display: grid;
  justify-items: center;
}
.section h1,
.section h2 {
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  letter-spacing: .01em;
}
.section h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}
.subtitle {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 720px;
}
.grid {
  display: grid;
  gap: 18px;
}
.grid.features {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.card {
  border: 1px solid rgba(255,255,255,.11);
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025)),
    var(--card);
  box-shadow: inset 0 0 0 1px rgba(200,16,46,.18), var(--shadow-card);
  border-radius: var(--radius);
}
.card-pad { padding: 24px; }
.feature-card {
  transition: .2s ease;
  min-height: 180px;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 0 0 1px rgba(255,51,84,.3), var(--shadow-glow), var(--shadow-card);
}
.feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}
.card h3 {
  font-size: 1.55rem;
  margin-bottom: 8px;
}
.card p, .muted {
  color: var(--muted);
  line-height: 1.7;
}
.news-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.news-media {
  aspect-ratio: 16 / 8.6;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,51,84,.28), transparent 40%),
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.5);
  font-size: 2.2rem;
}
.news-card .card-pad {
  flex: 1;
}
.date {
  color: var(--primary-2);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.search {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--text);
  border-radius: 14px;
  padding: 0 14px;
  outline: none;
}
.search:focus {
  border-color: rgba(255,51,84,.65);
  box-shadow: 0 0 0 3px rgba(200,16,46,.18);
}
.rule-category,
.faq-category {
  margin-top: 26px;
}
.side-title {
  position: relative;
  padding-left: 14px;
  margin-bottom: 12px;
  font-size: 1.75rem;
}
.side-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: .15em;
  bottom: .15em;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--primary), var(--primary-2));
}
.accordion-item {
  border-top: 1px solid var(--border);
}
.accordion-item:first-child { border-top: 0; }
.accordion-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 18px 20px;
  text-align: left;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}
.accordion-trigger::after {
  content: "+";
  color: var(--primary-2);
}
.accordion-item.open .accordion-trigger::after { content: "–"; }
.accordion-content {
  display: none;
  padding: 0 20px 18px;
  color: var(--muted);
  line-height: 1.72;
  white-space: pre-wrap;
}
.accordion-item.open .accordion-content { display: block; }
.gallery-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.gallery-item {
  border: 0;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
  background: var(--card-solid);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .22s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.team-card {
  text-align: center;
}
.avatar {
  width: 96px;
  height: 96px;
  border-radius: 999px;
  margin: 0 auto 16px;
  object-fit: cover;
  background: var(--bg-soft);
  box-shadow: 0 0 0 2px rgba(255,51,84,.35);
}
.legal-text {
  color: var(--muted);
  line-height: 1.8;
  white-space: pre-wrap;
}
.site-footer {
  margin-top: 60px;
  border-top: 1px solid var(--border);
  background: rgba(9,10,15,.82);
}
.footer-grid {
  padding: 40px 0;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}
.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.footer-brand img {
  width: 42px;
  height: 42px;
  border-radius: 999px;
}
.footer-title {
  font-weight: 800;
  font-size: 1.08rem;
}
.footer-small {
  color: var(--muted);
  font-size: .82rem;
  margin-top: 4px;
}
.footer-links {
  display: grid;
  gap: 8px;
}
.footer-heading {
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .08em;
  font-size: .76rem;
  margin-bottom: 9px;
}
.footer-links a {
  color: var(--muted);
}
.footer-links a:hover { color: var(--primary-2); }
.modal {
  position: fixed;
  inset: 0;
  background: rgba(8,9,13,.94);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.open { display: flex; }
.modal img {
  max-height: 88vh;
  max-width: 92vw;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
}
.modal-close {
  position: absolute;
  right: 20px;
  top: 18px;
  color: #fff;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.08);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.5rem;
}
.empty {
  padding: 36px;
  text-align: center;
  color: var(--muted);
}
.admin-note {
  border-left: 3px solid var(--primary);
  padding: 14px 16px;
  background: rgba(200,16,46,.1);
  color: #f3c4cc;
  border-radius: 12px;
}
@media (max-width: 980px) {
  .nav-links, .nav-actions .status-pill { display: none; }
  .menu-btn { display: inline-flex; margin-left: auto; }
  .grid.features,
  .grid.three,
  .grid.four,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .navbar { height: 64px; }
  .hero { min-height: 610px; }
  .hero-inner { padding: 74px 0 58px; }
  .hero-logo { width: 104px; height: 104px; }
  .grid.features,
  .grid.three,
  .grid.four,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .nav-actions .btn-primary { display: none; }
  .section { padding: 54px 0; }
}


/* Regelwerk: Kategorien links im PixelLife-Style */
.rules-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  margin-top: 26px;
}

.rules-sidebar {
  position: sticky;
  top: 94px;
  padding: 14px;
  max-height: calc(100vh - 118px);
  overflow: auto;
}

.rules-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 8px 14px;
  color: var(--text);
  font-weight: 900;
  letter-spacing: .02em;
}

.rules-sidebar-head strong {
  color: #fff;
  min-width: 34px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  font-size: .82rem;
  box-shadow: var(--shadow-glow);
}

.rules-cat-list {
  display: grid;
  gap: 8px;
}

.rule-cat-btn {
  width: 100%;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.035);
  color: var(--muted);
  border-radius: 13px;
  padding: 12px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
  cursor: pointer;
  transition: .18s ease;
}

.rule-cat-btn span {
  font-weight: 750;
  line-height: 1.25;
}

.rule-cat-btn em {
  font-style: normal;
  color: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.05);
  min-width: 28px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  font-size: .78rem;
}

.rule-cat-btn:hover:not(:disabled),
.rule-cat-btn.active {
  color: var(--text);
  border-color: rgba(255,51,84,.45);
  background:
    linear-gradient(135deg, rgba(200,16,46,.28), rgba(255,51,84,.12)),
    rgba(255,255,255,.04);
  box-shadow: inset 0 0 0 1px rgba(255,51,84,.16);
}

.rule-cat-btn.active em {
  color: #fff;
  border-color: rgba(255,51,84,.45);
  background: rgba(200,16,46,.35);
}

.rule-cat-btn:disabled {
  opacity: .42;
  cursor: not-allowed;
}

.rules-content {
  min-width: 0;
}

.rule-category {
  margin-top: 0;
  scroll-margin-top: 96px;
}

.rule-category + .rule-category {
  margin-top: 26px;
}

.rule-category-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.rule-category-head .side-title {
  margin-bottom: 0;
}

.rule-category-head span {
  color: var(--muted);
  font-size: .86rem;
  white-space: nowrap;
}

.accordion-trigger {
  font-size: .98rem;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .rules-layout {
    grid-template-columns: 1fr;
  }

  .rules-sidebar {
    position: relative;
    top: auto;
    max-height: none;
  }

  .rules-cat-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .rules-cat-list {
    grid-template-columns: 1fr;
  }

  .rule-category-head {
    align-items: start;
    flex-direction: column;
  }
}

/* Bußgeldkatalog als Tabelle */
.fine-catalog {
  display: grid;
  gap: 18px;
}

.fine-intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  border-color: rgba(255,51,84,.22);
  background:
    radial-gradient(circle at 10% 20%, rgba(255,51,84,.18), transparent 30%),
    rgba(255,255,255,.035);
}

.fine-kicker {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255,51,84,.32);
  background: rgba(200,16,46,.16);
  color: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.fine-intro h3 {
  margin: 0 0 8px;
  font-size: 1.45rem;
}

.fine-intro p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.fine-law {
  padding: 0;
  overflow: hidden;
  border-color: rgba(255,255,255,.08);
}

.fine-law + .fine-law {
  margin-top: 18px;
}

.fine-law-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(135deg, rgba(255,51,84,.12), rgba(255,255,255,.02)),
    rgba(255,255,255,.02);
}

.fine-law-badge {
  min-width: 72px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  font-weight: 950;
  letter-spacing: .04em;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: var(--shadow-glow);
}

.fine-law-head h3 {
  margin: 0 0 5px;
  font-size: 1.2rem;
}

.fine-law-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: .92rem;
}

.fine-law-head em {
  font-style: normal;
  min-width: 34px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  border: 1px solid rgba(255,51,84,.3);
  background: rgba(200,16,46,.22);
  font-size: .82rem;
  font-weight: 850;
}

.fine-paragraphs {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.fine-paragraph {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.025);
  overflow: hidden;
}

.fine-paragraph[open] {
  border-color: rgba(255,51,84,.22);
  box-shadow: inset 0 0 0 1px rgba(255,51,84,.06);
}

.fine-paragraph summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 15px;
  color: var(--text);
  font-weight: 900;
}

.fine-paragraph summary::-webkit-details-marker {
  display: none;
}

.fine-paragraph summary::before {
  content: "+";
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fff;
  background: rgba(255,51,84,.18);
  border: 1px solid rgba(255,51,84,.28);
  margin-right: 2px;
}

.fine-paragraph[open] summary::before {
  content: "–";
}

.fine-paragraph summary span {
  flex: 1;
  min-width: 0;
}

.fine-paragraph summary em {
  font-style: normal;
  color: var(--muted);
  font-size: .82rem;
  white-space: nowrap;
}

.fine-table-wrap {
  overflow-x: auto;
  border-top: 1px solid rgba(255,255,255,.08);
}

.fine-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  font-size: .88rem;
}

.fine-table th,
.fine-table td {
  text-align: left;
  vertical-align: top;
  padding: 12px 11px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.fine-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: #fff;
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  background: rgba(16,17,25,.98);
}

.fine-table td {
  color: var(--muted);
  line-height: 1.45;
}

.fine-table td:nth-child(1),
.fine-table td:nth-child(3),
.fine-table td:nth-child(4),
.fine-table td:nth-child(5),
.fine-table td:nth-child(6),
.fine-table td:nth-child(7) {
  white-space: nowrap;
}

.fine-table td strong {
  color: #fff;
}

.fine-table tbody tr:hover {
  background: rgba(255,51,84,.055);
}

@media (max-width: 700px) {
  .fine-law-head {
    grid-template-columns: 1fr auto;
  }

  .fine-law-badge {
    grid-column: 1 / -1;
    width: max-content;
  }

  .fine-paragraph summary {
    align-items: flex-start;
  }

  .fine-paragraph summary em {
    display: none;
  }
}

