/* Schicksalspfade RP – Landingpage */

:root {
  /* Helles Schema – warmes Grau & Dunkelrot-Akzente */
  --bg-deep: #eef2f7;
  --bg-raised: #f5f8fb;
  --bg-card: #ffffff;
  --bg-card-hover: #f0f4fa;
  --border: rgba(15, 23, 42, 0.09);
  --text: #1e293b;
  --text-muted: #5c6570;
  --accent: #6b1414;
  --accent-bright: #942828;
  --accent-dim: rgba(107, 20, 20, 0.12);
  --accent-glow: rgba(107, 20, 20, 0.28);
  --accent-rose: #a65d5d;
  --accent-rose-dim: rgba(166, 93, 93, 0.14);
  --discord: #5865f2;
  --discord-hover: #4752c4;
  --font-sans: "Montserrat", system-ui, sans-serif;
  --font-display: "Oswald", system-ui, sans-serif;
  --radius: 14px;
  --radius-sm: 10px;
  --header-h: 72px;
  /* Abstand für Sprungmarken unter der fixen Navigation */
  --anchor-offset: calc(var(--header-h) + 2.25rem);
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Anker-Ziele nicht unter der sticky Nav verstecken */
main [id] {
  scroll-margin-top: var(--anchor-offset);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: linear-gradient(180deg, #f0f4f9 0%, var(--bg-deep) 40%, #e8eef5 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Hinter dem Inhalt – lag vorher mit z-index 1000 über allem und wirkte wie „unscharf“ */
.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.narrow {
  max-width: 720px;
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 4px 20px rgba(15, 23, 42, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.logo-schicksals {
  color: var(--text);
}

.logo-pfade {
  color: var(--accent);
  text-shadow: 0 0 20px var(--accent-glow);
}

.logo-rp {
  color: var(--accent);
  font-weight: 700;
}

/* Header-Grafik (assets/Header.jpg, nativ 3840×500) – volle Breite, proportional skaliert */
.brand-banner {
  width: 100%;
  background: var(--bg-deep);
  overflow: hidden;
  line-height: 0;
}

.brand-banner__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

/* Menü-Button: standardmäßig sichtbar (mobile-first), ab 901px unten ausgeblendet */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.nav-toggle:hover {
  background: var(--bg-card-hover);
  border-color: rgba(107, 20, 20, 0.25);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 2px;
}

.nav-toggle__bar {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.site-header.is-nav-open .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-nav-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.site-header.is-nav-open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav {
  display: flex;
  gap: 1.25rem;
  margin-left: auto;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}

.nav a:hover {
  color: var(--accent-bright);
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    margin-left: 0;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 0.5rem 1.25rem 1.25rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.12);
    z-index: 99;
    max-height: min(70vh, calc(100dvh - var(--header-h)));
    overflow-y: auto;
    display: none;
  }

  .site-header.is-nav-open .nav {
    display: flex;
  }

  .nav a {
    padding: 0.9rem 0.35rem;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
  }

  .nav a:last-child {
    border-bottom: none;
  }
}

body.nav-drawer-open {
  overflow: hidden;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.btn-discord {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-bright) 100%);
  color: #fff;
  box-shadow: 0 4px 24px var(--accent-glow);
}

.btn-discord:hover {
  filter: brightness(1.08);
  box-shadow: 0 8px 36px var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: var(--bg-card);
  border-color: rgba(107, 20, 20, 0.22);
}

.btn-ghost--hero-accent {
  border: 1px solid rgba(107, 20, 20, 0.45);
}

.btn-ghost--hero-accent:hover {
  border-color: rgba(107, 20, 20, 0.62);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(107, 20, 20, 0.45);
}

.btn-outline:hover {
  background: var(--accent-dim);
  border-color: var(--accent-bright);
}

.btn-rank,
.btn-rank:visited {
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  border: 1px solid rgba(15, 23, 42, 0.14);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.btn-rank:hover,
.btn-rank:focus-visible {
  background: #fff;
  border-color: rgba(107, 20, 20, 0.32);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.btn-rank--top1,
.btn-rank--top1:visited {
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  color: #ffffff;
  border: 1px solid rgba(194, 65, 12, 0.48);
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.28);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

.btn-rank--top1:hover,
.btn-rank--top1:focus-visible {
  background: linear-gradient(135deg, #fb923c 0%, #ea580c 100%);
  color: #ffffff;
  border-color: rgba(194, 65, 12, 0.6);
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.34);
}

/* CFTools: schmale Server-Statuszeile unter der Banner-Grafik */
.server-strip {
  background: rgba(255, 255, 255, 0.55);
  border-bottom: 1px solid var(--border);
  padding: 0.28rem 0;
}

.server-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.2rem 0.5rem;
  font-size: 0.74rem;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

.server-strip__k {
  font-weight: 600;
  color: rgba(30, 41, 59, 0.55);
  margin-right: 0.2rem;
}

.server-strip__sep {
  color: rgba(15, 23, 42, 0.2);
  user-select: none;
}

.server-strip__status-line {
  color: var(--text-muted);
}

.server-strip__item a,
.server-strip__item a:visited {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
}

.server-strip__item a:hover,
.server-strip__item a:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

.server-strip__state--online {
  font-weight: 600;
  color: #15803d;
}

.server-strip__state--offline {
  font-weight: 600;
  color: rgba(100, 116, 139, 0.95);
}

.server-strip__prime-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.server-strip__info {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.server-strip__info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.05rem;
  height: 1.05rem;
  padding: 0;
  border: 1px solid rgba(107, 20, 20, 0.28);
  border-radius: 50%;
  background: rgba(107, 20, 20, 0.08);
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 700;
  font-style: italic;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1;
  cursor: pointer;
}

.server-strip__info-btn:hover,
.server-strip__info-btn:focus-visible {
  background: rgba(107, 20, 20, 0.14);
  border-color: rgba(107, 20, 20, 0.42);
  outline: none;
  box-shadow: 0 0 0 2px rgba(107, 20, 20, 0.15);
}

.server-strip__info-panel {
  position: absolute;
  z-index: 20;
  top: calc(100% + 0.45rem);
  right: 0;
  width: min(16.5rem, calc(100vw - 2rem));
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text);
  text-align: left;
}

.server-strip__info-panel[hidden] {
  display: none;
}

.server-strip__stale {
  font-size: 0.68rem;
  color: rgba(100, 116, 139, 0.85);
  font-style: italic;
}

.server-strip--sidebar {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
}

.server-strip--sidebar .server-strip__inner {
  display: block;
  font-size: 0.86rem;
  width: 100%;
}

.server-strip__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.server-strip--sidebar .server-strip__item {
  margin: 0;
  line-height: 1.45;
  color: var(--text-muted);
}

.server-strip--sidebar .server-strip__item + .server-strip__item {
  margin-top: 0.45rem;
}

.server-strip--sidebar .server-strip__k {
  color: var(--text);
  margin-right: 0.35rem;
}

.server-strip--sidebar .server-strip__stale {
  margin: 0.65rem 0 0;
}

.server-strip__top-rank-btn,
.server-strip__top-rank-btn:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  margin-left: 0.2rem;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  font-family: var(--font-display);
  background: linear-gradient(135deg, #15803d 0%, #16a34a 100%);
  color: #ffffff !important;
  border: 1px solid rgba(21, 128, 61, 0.7);
  box-shadow: 0 4px 14px rgba(21, 128, 61, 0.24);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
  white-space: normal;
  text-align: center;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.server-strip__top-rank-btn:hover,
.server-strip__top-rank-btn:focus-visible {
  background: linear-gradient(135deg, #166534 0%, #15803d 100%);
  color: #ffffff;
  border-color: rgba(21, 128, 61, 0.9);
  box-shadow: 0 6px 18px rgba(21, 128, 61, 0.3);
  text-decoration: none;
}

.server-strip__top-rank-btn--rank1,
.server-strip__top-rank-btn--rank1:visited {
  background: linear-gradient(135deg, #15803d 0%, #16a34a 100%);
  color: #ffffff;
  border-color: rgba(21, 128, 61, 0.75);
  box-shadow: 0 4px 14px rgba(21, 128, 61, 0.24);
}

.server-strip__top-rank-btn--rank1:hover,
.server-strip__top-rank-btn--rank1:focus-visible {
  background: linear-gradient(135deg, #166534 0%, #15803d 100%);
  color: #ffffff;
  border-color: rgba(21, 128, 61, 0.95);
  box-shadow: 0 6px 18px rgba(21, 128, 61, 0.32);
}

.server-strip__top-rank-btn--rank2,
.server-strip__top-rank-btn--rank2:visited {
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 100%);
  color: #ffffff;
  border-color: rgba(30, 58, 138, 0.8);
  box-shadow: 0 4px 14px rgba(30, 58, 138, 0.26);
}

.server-strip__top-rank-btn--rank2:hover,
.server-strip__top-rank-btn--rank2:focus-visible {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
  color: #ffffff;
  border-color: rgba(30, 58, 138, 0.95);
  box-shadow: 0 6px 18px rgba(30, 58, 138, 0.34);
}

.server-strip__top-rank-btn--rank3,
.server-strip__top-rank-btn--rank3:visited {
  background: linear-gradient(135deg, #4b5563 0%, #6b7280 100%);
  color: #ffffff;
  border-color: rgba(75, 85, 99, 0.85);
  box-shadow: 0 4px 14px rgba(75, 85, 99, 0.24);
}

.server-strip__top-rank-btn--rank3:hover,
.server-strip__top-rank-btn--rank3:focus-visible {
  background: linear-gradient(135deg, #374151 0%, #4b5563 100%);
  color: #ffffff;
  border-color: rgba(55, 65, 81, 0.95);
  box-shadow: 0 6px 18px rgba(55, 65, 81, 0.32);
}

.server-strip--sidebar .server-strip__item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem 0.35rem;
}

.server-strip--sidebar .server-strip__k {
  margin-right: 0;
}

.hero-sidebox > .server-strip--sidebar:first-child {
  padding-top: 0;
  border-top: 0;
}

/* Startseiten-Infobox (Admin → Optionen), direkt unter Header-Grafik */
.home-notice-section {
  background: var(--bg-raised);
  border-bottom: 1px solid var(--border);
}

.home-notice-section--under-banner {
  padding: 0.65rem 0;
  margin: 0;
}

/* Rahmen: eine Farbe auf allen Seiten (dunkler Akzent links wirkt oft „dicker“ als grau 1px) */
.home-notice-shell {
  border: 1px solid rgba(15, 23, 42, 0.2);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

.home-notice {
  padding: 1.15rem 1.35rem;
  background: transparent;
  border: none;
  border-radius: 0;
}

/* Eine Box: optionale Laufschrift bei Überbreite */
.home-notice--ticker-box {
  width: 100%;
  padding: 0.65rem 1rem;
}

.home-notice-ticker {
  width: 100%;
  min-width: 0;
}

.home-notice-ticker__viewport {
  overflow: hidden;
  min-width: 0;
  width: 100%;
}

.home-notice-ticker__track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: max-content;
}

.home-notice-ticker--marquee .home-notice-ticker__track {
  will-change: transform;
  animation: home-notice-marquee var(--ticker-duration, 40s) linear infinite;
}

.home-notice-ticker--marquee:hover .home-notice-ticker__track {
  animation-play-state: paused;
}

@keyframes home-notice-marquee {
  to {
    transform: translateX(-50%);
  }
}

.home-notice-ticker__segment {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  flex: 0 0 auto;
  gap: 0;
  padding-right: 2.5rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.home-notice-ticker__item {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 0.25rem;
  max-width: none;
}

.home-notice-ticker__title {
  font-family: var(--font-display);
  font-size: clamp(0.78rem, 1.4vw, 0.92rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
  flex: 0 0 auto;
}

.home-notice-ticker__item--title-only .home-notice-ticker__title::after {
  content: none;
}

.home-notice-ticker__title::after {
  content: ":";
  font-weight: 600;
  margin-left: 0.05em;
}

.home-notice-ticker__body {
  min-width: 0;
  white-space: nowrap;
}

.home-notice-ticker__body p,
.home-notice-ticker__body h2,
.home-notice-ticker__body h3,
.home-notice-ticker__body h4 {
  display: inline;
  margin: 0;
  font: inherit;
  color: inherit;
  font-weight: 500;
}

.home-notice-ticker__body p + p::before {
  content: " ";
}

.home-notice-ticker__body a {
  color: var(--accent-bright);
  font-weight: 500;
  text-decoration: underline;
}

.home-notice-ticker__body a:hover {
  color: var(--accent);
}

.home-notice-ticker__body ul,
.home-notice-ticker__body ol {
  display: inline;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-notice-ticker__body li {
  display: inline;
}

.home-notice-ticker__body li:not(:last-child)::after {
  content: " · ";
  color: var(--border);
}

.home-notice-ticker__sep {
  display: inline-block;
  padding: 0 0.5rem;
  color: rgba(15, 23, 42, 0.25);
  font-weight: 300;
  user-select: none;
}

@media (prefers-reduced-motion: reduce) {
  .home-notice-ticker--marquee .home-notice-ticker__track {
    animation: none !important;
  }

  .home-notice-ticker__viewport {
    overflow-x: auto;
  }
}

.home-notice--bar {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem 1.25rem;
  flex-wrap: nowrap;
  width: 100%;
  padding: 0.65rem 1rem 0.65rem 1rem;
}

.home-notice__title {
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 1.6vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
  padding: 0;
  color: var(--accent);
  flex: 0 0 auto;
  max-width: min(38%, 14rem);
  line-height: 1.25;
}

.home-notice__body {
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.home-notice__body--single-line {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  word-break: break-word;
}

.home-notice__body :first-child {
  margin-top: 0;
}

.home-notice__body p {
  margin: 0 0 0.65rem;
}

.home-notice__body p:last-child {
  margin-bottom: 0;
}

.home-notice--bar .home-notice__body--single-line p,
.home-notice--bar .home-notice__body--single-line h2,
.home-notice--bar .home-notice__body--single-line h3,
.home-notice--bar .home-notice__body--single-line h4 {
  margin: 0;
  display: inline;
}

.home-notice--bar .home-notice__body--single-line p + p::before {
  content: " ";
}

.home-notice__body a {
  color: var(--accent-bright);
  font-weight: 500;
  text-decoration: underline;
}

.home-notice__body a:hover {
  color: var(--accent);
}

.home-notice__body ul,
.home-notice__body ol {
  margin: 0 0 0.65rem;
  padding-left: 1.25rem;
}

.home-notice--bar .home-notice__body--single-line ul,
.home-notice--bar .home-notice__body--single-line ol {
  display: inline;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-notice--bar .home-notice__body--single-line li {
  display: inline;
}

.home-notice--bar .home-notice__body--single-line li:not(:last-child)::after {
  content: " · ";
  color: var(--border);
}

.home-notice__body h2,
.home-notice__body h3,
.home-notice__body h4 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  margin: 0.85rem 0 0.4rem;
  color: var(--text);
}

.home-notice__body h2:first-child,
.home-notice__body h3:first-child,
.home-notice__body h4:first-child {
  margin-top: 0;
}

.home-notice__body blockquote {
  margin: 0 0 0.65rem;
  padding-left: 0.85rem;
  border-left: 3px solid var(--accent-dim);
  color: var(--text-muted);
}

/* Intro unter der Banner-Grafik (kein konkurrierender Riesentitel) */
.hero-intro {
  position: relative;
  padding: 3rem 0 4.5rem;
  overflow: hidden;
}

.hero-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(107, 20, 20, 0.07), transparent 58%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2rem;
  align-items: start;
}

.hero-layout--below {
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.hero-layout--below .hero-sidebox {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem 1.25rem;
  align-items: start;
}

.hero-layout--below .hero-sidebox__section + .hero-sidebox__section {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  padding-left: 1.15rem;
  border-left: 1px solid var(--border);
}

.hero-layout--below .hero-sidebox > .server-strip--sidebar:first-child {
  margin: 0;
  padding: 0;
  border: 0;
}

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

  .hero-layout--below .hero-sidebox__section + .hero-sidebox__section {
    margin-top: 1rem;
    padding-top: 1rem;
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--border);
  }
}

.hero-main {
  min-width: 0;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 1.35rem;
  max-width: none;
  color: var(--text);
}

.hero-title__lead {
  white-space: nowrap;
}

.hero-title__name {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.92em;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: none;
}

.hero-title__name em {
  font-style: normal;
  color: var(--accent);
}

@media (max-width: 640px) {
  .hero-title__lead {
    white-space: normal;
  }
}

.lead,
.lead-secondary {
  max-width: 62ch;
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 1.0625rem;
}

.lead-secondary {
  margin-bottom: 2rem;
  color: var(--text);
}

.lead-secondary strong {
  color: var(--accent-bright);
  font-weight: 600;
}

.lead-secondary a {
  color: var(--accent-bright);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  font-weight: 600;
}

.lead-secondary a:hover {
  color: var(--accent);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-sidebox {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
  padding: 1rem 1.1rem;
}

.hero-sidebox__section + .hero-sidebox__section {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.hero-sidebox__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 0.55rem;
  color: var(--accent);
}

.hero-sidebox__date {
  margin: 0 0 0.3rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.hero-sidebox__item-title {
  margin: 0 0 0.45rem;
  font-weight: 600;
  line-height: 1.4;
}

.hero-sidebox__item-title a {
  color: var(--text);
  text-decoration: none;
}

.hero-sidebox__item-title a:hover {
  color: var(--accent-bright);
  text-decoration: underline;
}

.hero-sidebox__blog-thumb {
  display: block;
  margin: 0.35rem 0 0.55rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  line-height: 0;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.hero-sidebox__blog-thumb:hover {
  border-color: rgba(107, 20, 20, 0.28);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.hero-sidebox__blog-thumb-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  vertical-align: middle;
}

.hero-sidebox__text {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.hero-sidebox__text p,
.hero-sidebox__text ul,
.hero-sidebox__text ol {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.hero-sidebox__text li {
  display: inline;
}

.hero-sidebox__text li:not(:last-child)::after {
  content: " · ";
  color: var(--border);
}

.hero-sidebox__news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-sidebox__news-item + .hero-sidebox__news-item {
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border);
}

.hero-sidebox__news-list--titles .hero-sidebox__news-item + .hero-sidebox__news-item {
  margin-top: 0.55rem;
  padding-top: 0.55rem;
}

.hero-sidebox__more {
  margin: 0.8rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.hero-sidebox__more a {
  color: var(--accent-bright);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.hero-sidebox__more a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.short-news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.short-news-list__item + .short-news-list__item {
  margin-top: 1rem;
}

.short-news-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
}

.short-news-card__date {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.short-news-card__title {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.08rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}

.short-news-card__title a {
  color: inherit;
  text-decoration: none;
}

.short-news-card__title a:hover {
  color: var(--accent-bright);
  text-decoration: underline;
}

.short-news-card__body {
  color: var(--text-muted);
}

.short-news-card__preview {
  margin: 0 0 0.65rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.short-news-card__body.is-collapsed {
  display: none;
}

.short-news-card.is-expanded .short-news-card__preview {
  display: none;
}

.short-news-card__more {
  margin: 0.75rem 0 0;
}

.short-news-card__toggle--link {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  color: var(--accent-bright);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.short-news-card__toggle--link:hover,
.short-news-card__toggle--link:focus-visible {
  color: var(--accent);
  text-decoration: underline;
  outline: none;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--bg-raised);
  border-block: 1px solid var(--border);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 600;
  margin: 0 0 2.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  max-width: 36ch;
  margin-inline: auto;
  color: var(--accent);
}

.section-title--single-line {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(1.05rem, 3.4vw, 2.15rem);
}

/* Cards */
.cards {
  display: grid;
  gap: 1.5rem;
}

.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

.cards-2 {
  grid-template-columns: repeat(2, 1fr);
}

.cards-besonders .card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

@media (max-width: 768px) {
  .cards-3,
  .cards-2 {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .hero-sidebox {
    padding: 0.85rem 0.9rem;
    border-radius: var(--radius-sm);
  }

  .hero-sidebox__section + .hero-sidebox__section {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
  }

  .hero-sidebox__title {
    margin-bottom: 0.45rem;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
  }

  .hero-sidebox__item-title {
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
    line-height: 1.35;
  }

  .hero-sidebox__text {
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .hero-sidebox__news-item + .hero-sidebox__news-item {
    margin-top: 0.7rem;
    padding-top: 0.7rem;
  }

  .server-strip--sidebar .server-strip__inner {
    font-size: 0.82rem;
  }

  .server-strip--sidebar .server-strip__item {
    line-height: 1.4;
    overflow-wrap: anywhere;
  }

  .server-strip--sidebar .server-strip__k {
    display: inline-block;
    min-width: 7.2rem;
  }

  .server-strip__top-rank-btn,
  .server-strip__top-rank-btn:visited {
    font-size: 0.72rem;
    padding: 0.24rem 0.52rem;
  }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  transition: background 0.25s var(--ease), border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(107, 20, 20, 0.22);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.07), 0 0 0 1px var(--accent-rose-dim);
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.card p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-muted);
}

.card-icon {
  font-size: 1.25rem;
  color: var(--accent-rose);
  margin-bottom: 0.75rem;
  opacity: 0.95;
}

.card-tint {
  border-color: var(--accent-rose-dim);
}

/* Feature list */
.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  max-width: 800px;
  margin-inline: auto;
}

.feature-list li {
  display: grid;
  gap: 0.35rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent);
}

.feature-list strong {
  font-size: 1.05rem;
  color: var(--text);
}

.feature-list span {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.feature-list a {
  color: var(--accent-rose);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.feature-list a:hover {
  color: var(--accent-bright);
}

/* Philosophy */
.philosophy-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 700px) {
  .philosophy-grid {
    grid-template-columns: 1fr;
  }
}

.phil-item {
  margin: 0;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.035);
}

.phil-wide {
  grid-column: 1 / -1;
}

.phil-item h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  margin: 0 0 0.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

.phil-item p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Guide box */
.guide-box {
  margin-top: 3rem;
  padding: 2rem;
  text-align: center;
  background: linear-gradient(135deg, var(--accent-dim), rgba(166, 93, 93, 0.06));
  border: 1px solid rgba(107, 20, 20, 0.2);
  border-radius: var(--radius);
  max-width: 640px;
  margin-inline: auto;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.guide-box p {
  margin: 0 0 1.25rem;
  color: var(--text);
}

.guide-box-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

/* Prose */
.prose {
  color: var(--text-muted);
}

.prose p {
  margin: 0 0 1rem;
}

.prose ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

.prose strong {
  color: var(--text);
}

.muted {
  font-size: 0.9rem;
  opacity: 0.75;
}

.guide-prose .guide-actions {
  margin-top: 1.5rem;
  margin-bottom: 0;
  text-align: center;
}

/* Vision */
.vision-lead {
  font-family: var(--font-sans);
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-weight: 500;
  line-height: 1.55;
  text-align: center;
  max-width: 52ch;
  margin: 0 auto 1.5rem;
  color: var(--text);
}

.vision-lead em {
  color: var(--accent-bright);
  font-style: italic;
}

.vision-sub {
  text-align: center;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.vision-list {
  max-width: 560px;
  margin: 0 auto;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.vision-list li {
  margin-bottom: 0.65rem;
}

/* Final CTA */
.cta-final {
  padding: 5.5rem 0;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 80% at 50% 100%, rgba(148, 40, 40, 0.1), transparent 55%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(166, 93, 93, 0.06), transparent 50%),
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  border-top: 1px solid var(--border);
}

.cta-final h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.65rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  color: var(--text);
}

.cta-final p {
  max-width: 48ch;
  margin: 0 auto 2rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  background: var(--bg-raised);
}

.footer-inner {
  text-align: center;
}

.logo-footer {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  display: block;
  margin-bottom: 0.5rem;
}

.footer-note {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-inline: auto;
}

/* —— RP Guide (rp-guide.php) —— */
.guide-page .guide-main {
  padding: 3rem 0 4rem;
}

.guide-wrap {
  max-width: 720px;
}

.guide-header {
  margin-bottom: 2rem;
}

.guide-kicker {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.guide-h1 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
  margin: 0;
  color: var(--text);
}

.guide-intro {
  margin-bottom: 2.5rem;
}

.guide-toc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
  padding: 1.5rem 1.75rem;
  margin-bottom: 3rem;
}

.guide-toc__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  color: var(--text);
}

.guide-toc__list {
  margin: 0;
  padding-left: 1.35rem;
  color: var(--text-muted);
}

.guide-toc__list li {
  margin-bottom: 0.55rem;
}

.guide-toc__list a {
  color: var(--accent-bright);
  text-decoration: none;
  font-weight: 500;
}

.guide-toc__list a:hover {
  text-decoration: underline;
}

.guide-article .guide-section {
  margin-bottom: 3rem;
}

.guide-article .guide-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  padding-top: 0.35rem;
  color: var(--text);
}

.guide-article .guide-section h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
  color: var(--accent);
}

.guide-back {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

/* Erste Schritte (erste-schritte.php) */
.first-steps-flow {
  margin-bottom: 3rem;
}

.first-steps-flow__title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 1.35rem;
  color: var(--text);
}

.first-steps-flow__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.first-steps-flow__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.15rem;
  align-items: flex-start;
  padding: 1.25rem 1.35rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
  box-shadow: 0 1px 10px rgba(15, 23, 42, 0.04);
}

.first-steps-flow__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--bg-card);
  background: var(--accent);
  flex-shrink: 0;
}

.first-steps-flow__body {
  min-width: 0;
}

.first-steps-flow__item-title {
  font-size: 1.08rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.first-steps-flow__body p {
  margin: 0 0 0.65rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.first-steps-flow__body p:last-child {
  margin-bottom: 0;
}

.first-steps-flow__cta {
  margin-top: 0.85rem !important;
}

.first-steps-flow__channel {
  font-family: var(--font-sans);
  font-size: 0.92em;
  font-weight: 600;
  padding: 0.12em 0.45em;
  border-radius: 4px;
  background: var(--bg-raised);
  color: var(--text);
  white-space: nowrap;
}

.guide-article .first-steps-flow__channel {
  font-size: 0.88em;
}

@media (max-width: 480px) {
  .hero-sidebox {
    padding: 0.75rem 0.8rem;
  }

  .hero-sidebox__title {
    font-size: 0.86rem;
  }

  .hero-sidebox__item-title {
    font-size: 0.92rem;
  }

  .hero-sidebox__text,
  .server-strip--sidebar .server-strip__inner {
    font-size: 0.8rem;
  }

  .server-strip--sidebar .server-strip__k {
    min-width: 6.4rem;
  }

  .server-strip__top-rank-btn,
  .server-strip__top-rank-btn:visited {
    font-size: 0.7rem;
    padding: 0.22rem 0.48rem;
  }

  .first-steps-flow__item {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .first-steps-flow__num {
    margin-inline: auto;
  }

  .first-steps-flow__cta {
    display: flex;
    justify-content: center;
  }
}

.nav a[aria-current="page"] {
  color: var(--accent-bright);
}

/* —— Trailer (YouTube nur nach Einwilligung + Klick) —— */
.trailer-root {
  max-width: 900px;
  margin: 0 auto;
}

.trailer-msg {
  margin: 0;
  padding: 1.5rem;
  text-align: center;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
}

.trailer-msg--warn {
  margin-bottom: 1rem;
  border-color: rgba(107, 20, 20, 0.35);
  color: var(--text);
}

.trailer-gate {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.trailer-gate__btn {
  margin-top: 1rem;
}

.trailer-placeholder {
  cursor: pointer;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.trailer-placeholder:hover,
.trailer-placeholder:focus {
  outline: none;
  border-color: rgba(107, 20, 20, 0.35);
  background: var(--bg-card-hover);
}

.trailer-placeholder__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.trailer-placeholder__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent-bright);
  font-size: 1.5rem;
  padding-left: 0.25rem;
}

.trailer-placeholder__text {
  max-width: 28rem;
}

.trailer-placeholder__text strong {
  display: block;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.trailer-placeholder__sub {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
}

.trailer-placeholder__legal {
  margin: 1.25rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 36rem;
  margin-inline: auto;
}

.trailer-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #000;
}

.trailer-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.trailer-fallback {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 0.88rem;
}

.trailer-fallback a {
  color: var(--accent-bright);
}

.trailer-fallback a:hover {
  text-decoration: underline;
}

/* —— Cookie-Banner & Modal —— */
body.cookie-modal-open {
  overflow: hidden;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  padding: 1rem 0 1.25rem;
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.08);
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
}

.cookie-banner__text {
  flex: 1 1 280px;
  max-width: 52rem;
}

.cookie-banner__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 0.35rem;
  color: var(--accent-bright);
}

.cookie-banner__text p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}

.cookie-banner__btn {
  white-space: nowrap;
}

.cookie-modal[hidden] {
  display: none !important;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  cursor: pointer;
}

.cookie-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 480px);
  max-height: min(90vh, 640px);
  overflow-y: auto;
  padding: 1.75rem;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.cookie-modal__h {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.cookie-modal__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.cookie-modal__quick-btn {
  flex: 1 1 auto;
  min-width: 8.5rem;
  justify-content: center;
}

.cookie-modal__sub {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.cookie-modal--pending .cookie-modal__backdrop {
  cursor: default;
}

.cookie-modal__intro,
.cookie-modal__hint {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
  line-height: 1.55;
}

.cookie-modal__hint {
  font-size: 0.82rem;
  margin-top: 1rem;
  margin-bottom: 1.25rem;
}

.cookie-modal__hint a {
  color: var(--accent-bright);
}

.cookie-modal__hint a:hover {
  text-decoration: underline;
}

.cookie-modal__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cookie-modal__item {
  margin-bottom: 1rem;
}

.cookie-modal__label {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--text);
  cursor: pointer;
}

.cookie-modal__label--disabled {
  cursor: default;
  opacity: 0.85;
}

.cookie-modal__label input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.cookie-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}

.footer-legal {
  margin: 1rem 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
}

.footer-legal-sep {
  color: var(--text-muted);
  user-select: none;
}

.footer-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 0.85rem;
  color: var(--accent-bright);
  text-decoration: underline;
  cursor: pointer;
}

a.footer-link--a {
  text-decoration: underline;
}

.footer-link:hover {
  color: var(--accent);
}

.footer-admin {
  margin: 0.65rem 0 0;
  text-align: center;
}

.footer-admin-link {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-decoration: none;
  opacity: 0.85;
}

.footer-admin-link:hover {
  color: var(--accent);
  text-decoration: underline;
  opacity: 1;
}

/* —— Impressum / Rechtstexte —— */
.legal-main {
  padding: 3rem 0 4.5rem;
}

.legal-wrap {
  max-width: 42rem;
}

.legal-h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  color: var(--accent);
}

.legal-lead {
  margin: 0 0 2rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.legal-list {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.legal-list li {
  margin-bottom: 0.35rem;
}

.legal-stand {
  margin: 2rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.legal-h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 2.25rem 0 1rem;
  color: var(--text);
}

.legal-block:first-of-type .legal-h2 {
  margin-top: 0;
}

.legal-h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.5rem 0 0.65rem;
  color: var(--accent-bright);
}

.legal-block {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.legal-block p {
  margin: 0 0 1rem;
}

.legal-address {
  font-style: normal;
  margin: 0 0 1rem;
  line-height: 1.6;
}

.legal-contact {
  margin: 0 0 1rem;
  line-height: 1.7;
}

.legal-contact a {
  color: var(--accent-bright);
}

.legal-contact a:hover {
  text-decoration: underline;
}

.legal-back {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* —— Blog —— */
.blog-main .blog-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 0 0 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.blog-toolbar__link {
  color: var(--accent-bright);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
}

.blog-toolbar__link:hover {
  text-decoration: underline;
}

.blog-empty {
  margin: 0;
  color: var(--text-muted);
}

.blog-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-list__item {
  margin-bottom: 2rem;
}

.blog-list__item:last-child {
  margin-bottom: 0;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid rgba(148, 40, 40, 0.38);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  overflow: hidden;
}

.blog-card:has(.blog-card__media) {
  padding: 0 0 1.35rem;
}

.blog-card:has(.blog-card__media) .blog-card__date,
.blog-card:has(.blog-card__media) .blog-card__title,
.blog-card:has(.blog-card__media) .blog-card__excerpt,
.blog-card:has(.blog-card__media) .blog-card__more {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.blog-card:has(.blog-card__media) .blog-card__date {
  padding-top: 1.35rem;
}

.blog-card__media {
  display: block;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  line-height: 0;
}

.blog-card__media img {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: cover;
  display: block;
}

.blog-card__media:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 2px;
}

.blog-card__date {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.blog-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.65rem;
  line-height: 1.25;
}

.blog-card__title a {
  color: var(--text);
  text-decoration: none;
}

.blog-card__title a:hover {
  color: var(--accent-bright);
}

.blog-card__excerpt {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.blog-card__more {
  margin: 0;
  font-size: 0.9rem;
}

.blog-card__more a {
  color: var(--accent-bright);
  font-weight: 600;
  text-decoration: none;
}

.blog-card__more a:hover {
  text-decoration: underline;
}

.blog-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.blog-pagination__link {
  color: var(--accent-bright);
  font-weight: 600;
  text-decoration: none;
}

.blog-pagination__link:hover {
  text-decoration: underline;
}

.blog-pagination__meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.blog-article__header .guide-kicker a {
  color: var(--accent);
  text-decoration: none;
}

.blog-article__header .guide-kicker a:hover {
  text-decoration: underline;
}

.blog-article__meta {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.blog-article__figure {
  margin: 0 0 1.75rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  line-height: 0;
}

.blog-article__figure img {
  width: 100%;
  height: auto;
  max-height: min(52vh, 420px);
  object-fit: cover;
  display: block;
}

.blog-article__body {
  margin-top: 1.5rem;
}

.blog-article__body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

.blog-article__footer {
  margin-top: 2.5rem;
}

.blog-comments {
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.blog-comments__title {
  font-size: 1.35rem;
  margin: 0 0 1rem;
}

.blog-comments__flash {
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  margin: 0 0 1rem;
}

.blog-comments__flash--ok {
  background: rgba(46, 160, 67, 0.12);
  border: 1px solid rgba(46, 160, 67, 0.35);
  color: var(--text);
}

.blog-comments__flash--err {
  background: rgba(204, 46, 58, 0.1);
  border: 1px solid rgba(204, 46, 58, 0.35);
  color: var(--text);
}

.blog-comments__list {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
}

.blog-comments__item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.blog-comments__item:last-child {
  border-bottom: none;
}

.blog-comments__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 1rem;
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
}

.blog-comments__author {
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  color: var(--accent-bright);
}

.blog-comments__time {
  color: var(--text-muted);
}

.blog-comments__body {
  line-height: 1.55;
  word-break: break-word;
}

.blog-comments__delete {
  margin-top: 0.65rem;
}

.blog-comments__delete-btn {
  font: inherit;
  font-size: 0.85rem;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
}

.blog-comments__delete-btn:hover {
  border-color: rgba(204, 46, 58, 0.45);
  color: var(--danger, #cc2e3a);
}

.blog-comments__empty {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
}

.blog-comments__list--nested {
  margin: 0.65rem 0 0 0;
  padding: 0 0 0 0.85rem;
  border-left: 3px solid var(--accent-dim);
  list-style: none;
}

.blog-comments__item--reply {
  padding-top: 0.35rem;
}

.blog-comments__reply-row {
  margin: 0.4rem 0 0;
}

.blog-comments__reply {
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0;
  border: none;
  background: none;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  cursor: pointer;
}

.blog-comments__reply:hover {
  color: var(--accent-bright);
}

.blog-comments__guest-hint {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.blog-comments__guest-hint-kbd {
  font-weight: 600;
  color: var(--text);
}

.blog-comments__guest-hint--admin {
  border-left: 3px solid var(--accent);
  padding-left: 0.75rem;
}

.blog-comments__composer {
  margin-top: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  overflow: hidden;
}

.blog-comments__composer-summary {
  list-style: none;
  cursor: pointer;
  padding: 0.95rem 1.15rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg-raised);
  transition: background 0.15s ease, color 0.15s ease;
}

.blog-comments__composer-summary::-webkit-details-marker {
  display: none;
}

.blog-comments__composer-summary::marker {
  content: none;
}

.blog-comments__composer-summary::before {
  content: "▸ ";
  display: inline-block;
  margin-right: 0.25rem;
  transition: transform 0.2s var(--ease);
  color: var(--accent);
}

.blog-comments__composer[open] > .blog-comments__composer-summary::before {
  transform: rotate(90deg);
}

.blog-comments__composer-summary:hover {
  background: var(--bg-card-hover);
  color: var(--accent);
}

.blog-comments__composer-body {
  padding: 0 1.15rem 1.15rem;
}

@media (min-width: 520px) {
  .blog-comments__composer-body {
    padding: 0 1.35rem 1.35rem;
  }
}

.blog-comments__form-wrap--panel {
  margin-top: 0;
  padding: 0;
  border: none;
  background: transparent;
}

.bcf-form__reply-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin: 0 0 1rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--accent-dim);
  font-size: 0.9rem;
}

.bcf-form__reply-banner-label strong {
  color: var(--accent);
}

.bcf-form__reply-cancel {
  font: inherit;
  font-size: 0.85rem;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  cursor: pointer;
}

.bcf-form__reply-cancel:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.blog-comments__form-wrap {
  margin-top: 0.25rem;
  width: 100%;
  padding: 1.25rem 1.25rem 1.35rem;
  box-sizing: border-box;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

@media (min-width: 520px) {
  .blog-comments__form-wrap {
    padding: 1.45rem 1.5rem 1.5rem;
  }
}

.bcf-form {
  margin: 0;
  width: 100%;
  max-width: none;
}

.bcf-form__field {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  width: 100%;
  margin-bottom: 1.35rem;
}

.bcf-form__locked-name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-raised);
}

.bcf-form__locked-name-text {
  font-weight: 600;
  color: var(--text);
}

.bcf-form__locked-name-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.bcf-form__label {
  display: block;
  margin: 0;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  color: var(--text);
  line-height: 1.35;
}

.bcf-form__input,
.bcf-form__textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-raised);
  color: var(--text);
  font: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.bcf-form__input:focus,
.bcf-form__textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.bcf-form__textarea {
  resize: vertical;
  min-height: 8.5rem;
  line-height: 1.55;
}

.bcf-form__hint {
  margin: -0.25rem 0 1.35rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.bcf-form__actions {
  margin: 0.15rem 0 0;
  padding-top: 0.25rem;
}

.bcf-form__submit {
  font: inherit;
  font-weight: 600;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-sm);
  border: none;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-bright) 100%);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 18px var(--accent-glow);
  transition: filter 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

.bcf-form__submit:hover {
  filter: brightness(1.06);
  box-shadow: 0 6px 24px var(--accent-glow);
}

.bcf-form__submit:active {
  transform: translateY(1px);
}

.blog-archive-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-archive-list__item {
  margin-bottom: 0.35rem;
}

.blog-archive-list__link {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem 1rem;
  padding: 0.85rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
}

.blog-archive-list__link:hover {
  border-color: var(--accent);
  color: var(--accent-bright);
}

.blog-archive-list__label {
  font-weight: 600;
}

.blog-archive-list__count {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.blog-archive-list__link:hover .blog-archive-list__count {
  color: inherit;
}

/* Eigenentwickelte Mods – Übersicht & Detail */
.mods-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.mods-grid__item {
  margin: 0;
}

.mod-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--bg-card);
  border: 1px solid rgba(148, 40, 40, 0.38);
  border-radius: var(--radius);
  overflow: hidden;
}

.mod-card__media {
  display: block;
  line-height: 0;
  border-bottom: 1px solid var(--border);
}

.mod-card__media img {
  width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: cover;
  display: block;
}

.mod-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem 1.35rem 1.35rem;
}

.mod-card__badge {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

.mod-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.6rem;
  line-height: 1.25;
}

.mod-card__title a {
  color: var(--text);
  text-decoration: none;
}

.mod-card__title a:hover {
  color: var(--accent-bright);
}

.mod-card__excerpt {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  flex: 1;
}

.mod-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin: 0;
  font-size: 0.9rem;
}

.mod-card__link {
  color: var(--accent-bright);
  font-weight: 600;
  text-decoration: none;
}

.mod-card__link:hover {
  text-decoration: underline;
}

.mod-detail__badge {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: var(--accent-bright);
  font-weight: 600;
}

.mod-detail__figure {
  margin: 0 0 1.75rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  line-height: 0;
}

.mod-detail__figure img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.mod-detail__excerpt {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.mod-detail__body {
  margin-top: 1rem;
}

.mod-detail__cta {
  margin-top: 1.75rem;
}

.mods-empty {
  color: var(--text-muted);
}

/* Desktop: Menü-Button zuverlässig ausblenden (hohe Spezifität, steht am Ende der Datei) */
@media (min-width: 901px) {
  .site-header .header-tools button.nav-toggle#nav-toggle {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
  }
}
