/* ============================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================ */
:root {
  --color-bg: #0a0a0a;
  --color-bg-elevated: #141414;
  --color-bg-card: #1a1a1a;
  --color-surface: #222222;
  --color-border: #2a2a2a;
  --color-border-subtle: #1f1f1f;

  --color-text-primary: #ffffff;
  --color-text-secondary: #a0a0a0;
  --color-text-muted: #8a8a8a;

  --color-accent: #c9302c;
  --color-accent-hover: #e03e3a;
  --color-accent-glow: rgba(201, 48, 44, 0.3);
  --color-accent-text: #e8564f;

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ============================================
   NAVIGATION (vereinfacht)
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-md) var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border-subtle);
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

.nav-logo {
  height: 40px;
  width: auto;
  filter: brightness(1.1);
  transition: transform 0.3s var(--ease-out-expo);
}

.nav-logo:hover {
  transform: scale(1.05);
}

.nav-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color 0.3s ease;
}

.nav-back svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease-out-expo);
}

.nav-back:hover {
  color: var(--color-text-primary);
}

.nav-back:hover svg {
  transform: translateX(-3px);
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
  padding: calc(var(--space-2xl) + var(--space-lg)) var(--space-lg) var(--space-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse at center, var(--color-accent-glow) 0%, transparent 65%);
  opacity: 0.12;
  pointer-events: none;
}

.page-header-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent-text);
  margin-bottom: var(--space-md);
}

.page-eyebrow-dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--space-sm);
}

.page-title-accent {
  color: var(--color-accent);
}

.page-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--color-text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

/* ============================================
   CONTENT
   ============================================ */
.content {
  padding: var(--space-xl) var(--space-lg);
}

.content-inner {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.policy-section {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.policy-section:hover {
  border-color: var(--color-border);
}

.policy-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  opacity: 0.8;
}

.policy-number {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent-text);
  margin-bottom: var(--space-xs);
}

.policy-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.policy-text {
  color: var(--color-text-secondary);
  font-size: 0.98rem;
  line-height: 1.8;
}

.policy-text p {
  margin-bottom: var(--space-sm);
}

.policy-text p:last-child {
  margin-bottom: 0;
}

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

.policy-text a {
  color: var(--color-accent-text);
  transition: color 0.3s ease;
}

.policy-text a:hover {
  color: var(--color-accent-hover);
}

/* Hinweis-Box (WhatsApp / Meta) */
.policy-note {
  margin-top: var(--space-sm);
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.policy-note strong {
  color: var(--color-text-primary);
}

/* ============================================
   STATUSZEILE (Stand)
   ============================================ */
.policy-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: center;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 0.6rem 1.4rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: var(--space-sm);
}

.policy-status strong {
  color: var(--color-text-secondary);
  font-weight: 600;
}

/* ============================================
   CTA / ZURÜCK
   ============================================ */
.back-cta {
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  position: relative;
  border-top: 1px solid var(--color-border-subtle);
  overflow: hidden;
}

.back-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 400px;
  background: radial-gradient(circle, var(--color-accent-glow) 0%, transparent 70%);
  opacity: 0.1;
  pointer-events: none;
}

.back-cta-content {
  position: relative;
  z-index: 2;
}

.back-cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.back-cta-text {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  max-width: 480px;
  margin: 0 auto var(--space-lg);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s var(--ease-out-expo);
}

.btn-primary {
  background: var(--color-accent);
  color: white;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px var(--color-accent-glow);
}

.btn-primary svg {
  width: 18px;
  height: 18px;
}

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

.btn-secondary:hover {
  border-color: var(--color-text-secondary);
  background: var(--color-bg-card);
  transform: translateY(-3px);
}

.back-cta-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: var(--space-lg) var(--space-lg);
  background: var(--color-bg);
  border-top: 1px solid var(--color-border-subtle);
  text-align: center;
}

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

.footer-text a {
  text-decoration: underline;
  text-underline-offset: 2px;
  color: var(--color-text-secondary);
  transition: color 0.3s ease;
}

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

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .nav {
    padding: var(--space-sm) var(--space-md);
  }

  .nav-logo {
    height: 34px;
  }

  .page-header {
    padding-top: calc(var(--space-2xl) + var(--space-md));
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }

  .content {
    padding: var(--space-lg) var(--space-md);
  }

  .policy-section {
    padding: var(--space-md);
  }

  .back-cta {
    padding: var(--space-lg) var(--space-md);
  }
}

@media (max-width: 480px) {
  .nav-back span {
    display: none;
  }

  .nav-back svg {
    width: 20px;
    height: 20px;
  }

  .back-cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}
