:root {
  --bg: #020617;
  --bg-gradient: radial-gradient(circle at top, #0f172a 0, #020617 55%, #000 100%);
  --card-bg: rgba(15, 23, 42, 0.94);
  --card-border: rgba(148, 163, 184, 0.5);
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --accent: #38bdf8;
  --accent-strong: #0ea5e9;
  --shadow-soft: 0 24px 60px rgba(15, 23, 42, 0.85);
  --shadow-inner: inset 0 0 0 1px rgba(15, 23, 42, 0.9);
  --blur: 24px;
}

/* Grundlayout */

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, system-ui, "SF Pro Text",
               "Segoe UI", sans-serif;
  background: var(--bg-gradient);
  color: var(--text-main);
}

a {
  color: inherit;
}

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Navigation */

.nav-shell {
  padding: 16px 24px 8px;
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 0 0, #38bdf8, transparent 55%),
    radial-gradient(circle at 100% 100%, #1d4ed8, #020617);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.95);
}

.brand-subtitle {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.brand-title {
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.nav-link {
  font-size: 0.85rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text-muted);
  border: 1px solid transparent;
  transition: all 0.15s ease-out;
}

.nav-link:hover {
  color: var(--text-main);
  border-color: rgba(148, 163, 184, 0.6);
  background-color: rgba(15, 23, 42, 0.9);
}

/* Hauptbereich */

.main-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 8px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Hero oben */

.hero-card {
  border-radius: 26px;
  padding: 1.6rem 1.8rem 1.8rem;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 55%),
              radial-gradient(circle at bottom, rgba(30, 64, 175, 0.25), transparent 60%),
              var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-soft), var(--shadow-inner);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid rgba(148, 163, 184, 0.5);
  background-color: rgba(15, 23, 42, 0.9);
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-strong), #22c55e);
}

.hero-title {
  margin: 1.1rem 0 0.4rem;
  font-size: 2rem;
  letter-spacing: 0.01em;
}

.hero-subtitle {
  margin: 0 0 0.9rem;
  max-width: 40rem;
  font-size: 0.98rem;
  color: var(--text-muted);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.hero-tag {
  font-size: 0.78rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: var(--text-muted);
  background: rgba(15, 23, 42, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.button-primary,
.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1.1rem;
  font-size: 0.86rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease-out;
}

.button-primary {
  background: linear-gradient(135deg, var(--accent-strong), #38bdf8);
  color: #0b1120;
  border-color: rgba(191, 219, 254, 0.8);
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.9),
    0 18px 44px rgba(8, 47, 73, 0.9);
}

.button-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.button-ghost {
  color: var(--text-main);
  border-color: rgba(148, 163, 184, 0.6);
  background-color: rgba(15, 23, 42, 0.9);
}

.button-ghost:hover {
  border-color: rgba(191, 219, 254, 0.8);
}

/* Content-Karte fuer Impressum / Datenschutz / Texte */

.content-card {
  margin-top: 8px;
  border-radius: 24px;
  padding: 1.7rem 1.8rem 2rem;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(51, 65, 85, 0.9);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.95);
}

/* Typografie im Inhalt */
.content-card h1,
.content-card h2,
.content-card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.content-card h1 {
  font-size: 1.6rem;
}

.content-card h2 {
  font-size: 1.2rem;
  margin-top: 1.6rem;
}

.content-card h3 {
  font-size: 1rem;
  margin-top: 1.2rem;
}

.content-card p {
  margin: 0.2rem 0 0.8rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-main);
}

.content-card ul,
.content-card ol {
  margin: 0.3rem 0 0.9rem 1.2rem;
  padding: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-main);
}

.content-card li + li {
  margin-top: 0.1rem;
}

.content-card strong {
  font-weight: 600;
}

.content-card--center {
  max-width: 520px;
  margin-inline: auto;
  text-align: center;
}

.admin-login-title {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.admin-login-text {
  margin: 0.3rem 0 1rem;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.admin-login-actions {
  display: flex;
  justify-content: center;
  margin-bottom: 0.7rem;
}

.admin-login-button {
  min-width: 180px;
}

.admin-login-note {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}



/* Footer */

.footer-shell {
  margin-top: auto;
  padding: 12px 24px 18px;
  border-top: 1px solid rgba(15, 23, 42, 1);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  margin-left: 0.8rem;
}

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

/* Mobile Anpassung */

@media (max-width: 800px) {
  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-shell {
    padding-inline: 16px;
  }

  .hero-card,
  .content-card {
    padding-inline: 1.2rem;
  }

  .hero-title {
    font-size: 1.6rem;
  }
}
