/* ============================================
   Das Manifest des neuen Wohlstands — rakoon.de
   Typografie: Cormorant Garamond, DM Sans
   ============================================ */

:root {
  --bg: #0b0c0f;
  --bg-elevated: #12141a;
  --bg-card: #16181f;
  --text: #e8e9ec;
  --text-muted: #9ca3af;
  --accent: #d4a84b;
  --accent-dim: #b8923f;
  --accent-glow: rgba(212, 168, 75, 0.15);
  --border: rgba(255, 255, 255, 0.06);
  --pro: #4ade80;
  --pro-bg: rgba(74, 222, 128, 0.08);
  --contra: #f87171;
  --contra-bg: rgba(248, 113, 113, 0.08);
  --max-width: 52rem;
  --space: 1.5rem;
  --radius: 6px;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 12, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.9rem var(--space);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.logo:hover { color: var(--accent); }

.nav-main {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem 1.25rem;
}

.nav-main a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}

.nav-main a:hover {
  color: var(--accent);
  background: var(--accent-glow);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 1.1rem;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.nav-toggle span {
  display: block;
  width: 0.9rem;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem var(--space) 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140%;
  height: 100%;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, var(--accent-glow) 0%, transparent 55%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 38rem;
}

.hero-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
  font-weight: 500;
}

.hero-tagline {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0;
  font-style: italic;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  font-size: 1.25rem;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* Content blocks */
.block {
  padding: 4.5rem var(--space);
  border-top: 1px solid var(--border);
}

.block .content {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2rem);
  font-weight: 600;
  margin: 0 0 1.75rem;
  color: var(--text);
  line-height: 1.25;
}

.lead {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text);
  margin: 0 0 1.25rem;
}

.block p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.block p:last-child { margin-bottom: 0; }

.block strong { color: var(--text); }

/* Säulen */
.saeule {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem 2rem;
  margin-bottom: 1.5rem;
}

.saeule:last-child { margin-bottom: 0; }

.saeule-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.saeule-nr {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-right: 0.5rem;
}

.saeule p { margin-bottom: 0.75rem; }

.saeule-list {
  margin: 0;
  padding-left: 1.35rem;
  color: var(--text-muted);
}

.saeule-list li {
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
}

.saeule-list li:last-child { margin-bottom: 0; }

/* Mechanik */
.mechanik-item {
  margin-bottom: 2.25rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.mechanik-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.mechanik-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0.6rem;
  color: var(--text);
}

.mechanik-item ul {
  margin: 0.5rem 0 0;
  padding-left: 1.35rem;
  color: var(--text-muted);
}

.mechanik-item li { margin-bottom: 0.35rem; }

/* Beispiele */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.beispiel-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem 1.75rem;
}

.beispiel-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.beispiel-card p { margin-bottom: 0.75rem; }

.beispiel-card ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.beispiel-card li { margin-bottom: 0.4rem; }

/* Pro & Contra */
.pro-contra {
  padding: 1.5rem 1.75rem;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.pro-contra h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 1rem;
}

.pro {
  background: var(--pro-bg);
  border-color: rgba(74, 222, 128, 0.2);
}

.pro h3 { color: var(--pro); }

.pro ul { color: var(--text-muted); }

.contra {
  background: var(--contra-bg);
  border-color: rgba(248, 113, 113, 0.2);
}

.contra h3 { color: var(--contra); }

.contra ul { color: var(--text-muted); }

.pro-contra ul {
  margin: 0;
  padding-left: 1.35rem;
}

.pro-contra li { margin-bottom: 0.5rem; }

/* Fazit */
.phasen {
  margin: 1rem 0 1.5rem;
  padding-left: 1.5rem;
  color: var(--text-muted);
}

.phasen li { margin-bottom: 0.5rem; }

.urteil {
  margin: 2rem 0 0;
  padding: 1.5rem 1.75rem;
  background: var(--bg-card);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--text);
}

.urteil::before { content: none; }

/* Ökologische Bilanz */
.block--oekobilanz .section-title { margin-bottom: 2rem; }

.subsection-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 2.25rem 0 1rem;
  color: var(--text);
}

.subsection-title:first-of-type { margin-top: 0; }

.subsection-title--pro { color: var(--pro); }
.subsection-title--contra { color: var(--contra); }

.oeko-intro {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  font-style: italic;
}

.oeko-item {
  margin-bottom: 1.75rem;
  padding: 1.5rem 1.75rem;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.oeko-item--pro {
  background: var(--pro-bg);
  border-color: rgba(74, 222, 128, 0.18);
}

.oeko-item--contra {
  background: var(--contra-bg);
  border-color: rgba(248, 113, 113, 0.18);
}

.oeko-item-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.oeko-item p {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
}

.oeko-detail {
  margin: 0;
  padding-left: 1.35rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.oeko-detail li {
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
}

.oeko-detail li:last-child { margin-bottom: 0; }

.oeko-kompakt {
  margin-top: 0.5rem;
}

.oeko-kompakt li { margin-bottom: 0.85rem; }

.oeko-fazit {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.oeko-fazit .subsection-title { margin-top: 0; margin-bottom: 1rem; }

.oeko-fazit .lead { margin-bottom: 1rem; }

.oeko-fazit p { margin-bottom: 1rem; }

.urteil--oeko {
  font-style: normal;
  border-left-color: var(--pro);
  margin-top: 1.25rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem var(--space);
  margin-top: 2rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.site-footer a {
  color: var(--accent);
  text-decoration: none;
}

.site-footer a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .nav-main {
    display: none;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-toggle[aria-expanded="true"] + .nav-main,
  .nav-main.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .block { padding: 3rem var(--space); }

  .hero { padding: 5rem 1.25rem 3rem; }

  .saeule,
  .beispiel-card,
  .pro-contra,
  .oeko-item {
    padding: 1.25rem 1.35rem;
  }

  .urteil { font-size: 1.05rem; padding: 1.25rem 1.35rem; }
}
