/**
 * Kindle-Pure: Radikal reduzierte Typografie
 * Vision: Wie ein Buch. Keine Web-Tricks.
 */

:root {
  --bg: #f9f8f5;
  --text: #2a2a2a;
  --subtle: #666666;
  --border: #d4d0c8;
  --accent: #b8503d;
  --highlight-bg: #f0ede5;

  /* Spacing Scale */
  --space-xs: 0.5rem;   /* 8px */
  --space-sm: 1rem;     /* 16px */
  --space-md: 1.5rem;   /* 24px */
  --space-lg: 2rem;     /* 32px */
  --space-xl: 3rem;     /* 48px */
  --space-2xl: 4rem;    /* 64px */
  --space-3xl: 6rem;    /* 96px */
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1c1c;
    --text: #d4d4d4;
    --subtle: #8a8a8a;
    --border: #3a3a3a;
    --accent: #e87461;
    --highlight-bg: #252525;
  }
}

/* ==========================================================================
   Accessibility Helpers
   ========================================================================== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  background: var(--text);
  color: var(--bg);
  padding: var(--space-xs) var(--space-sm);
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform 0.2s ease;
  z-index: 100;
  font-weight: 600;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

/* ==========================================================================
   Dark Mode Toggle (CSS-Only)
   ========================================================================== */

.darkmode-checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

body:has(.darkmode-checkbox:checked) {
  --bg: #1c1c1c;
  --text: #d4d4d4;
  --subtle: #8a8a8a;
  --border: #3a3a3a;
  --accent: #e87461;
  --highlight-bg: #252525;
  background: #1c1c1c;
  color: #d4d4d4;
}

/* Toggle Icon Visibility */
.theme-toggle .icon-dark {
  display: none;
}

.theme-toggle:has(.darkmode-checkbox:checked) .icon-light {
  display: none;
}

.theme-toggle:has(.darkmode-checkbox:checked) .icon-dark {
  display: inline;
}

.theme-toggle:has(.darkmode-checkbox:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-optical-sizing: auto;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  max-width: 42rem;
  margin: 0 auto;
  padding: var(--space-md) var(--space-sm);
}

@media (min-width: 768px) {
  body {
    font-size: 1.125rem;
    padding: var(--space-lg) var(--space-md);
  }
}

@media (min-width: 1200px) {
  body {
    max-width: 48rem;
    padding: var(--space-xl) var(--space-lg);
  }
}

header {
  position: relative;
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border);
}

h1 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

@media (min-width: 768px) {
  h1 {
    font-size: 1.75rem;
  }
}

.tagline {
  font-size: 1rem;
  color: var(--subtle);
  margin-bottom: var(--space-lg);
}

.hero-statement {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

@media (min-width: 768px) {
  .hero-statement {
    font-size: 1.125rem;
  }
}

.hero-statement strong {
  font-weight: 600;
}

.hero-statement p {
  margin-bottom: var(--space-md);
}

.hero-statement p:last-child {
  margin-bottom: 0;
}

.hero-urgency {
  color: var(--accent);
  border-top: 1px solid var(--border);
  padding-top: var(--space-md);
  margin-top: var(--space-md);
}

.hero-solution {
  border-top: 1px solid var(--border);
  padding-top: var(--space-md);
  margin-top: var(--space-md);
}

.legal-note {
  font-size: 0.9rem;
  color: var(--subtle);
  padding: var(--space-md);
  background: var(--highlight-bg);
  border: 1px solid var(--border);
  margin-top: var(--space-md);
  border-radius: 4px;
}

h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  margin-top: var(--space-xl);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

@media (min-width: 768px) {
  h2 {
    font-size: 1.375rem;
  }
}

h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  margin-top: var(--space-lg);
  line-height: 1.4;
}

@media (min-width: 768px) {
  h3 {
    font-size: 1.125rem;
  }
}

p {
  margin-bottom: var(--space-md);
  max-width: 65ch;
}

p:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 600;
}

em {
  font-style: italic;
  color: var(--subtle);
}

small {
  font-size: 0.875rem;
  color: var(--subtle);
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-color: transparent;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  text-decoration-color: transparent;
}

.cta-primary {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
  margin-right: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.cta-primary::after {
  content: "";
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 0.5em;
  vertical-align: middle;
}

.cta-secondary {
  display: inline-block;
  color: var(--text);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  margin-bottom: var(--space-sm);
}

section {
  margin-bottom: var(--space-3xl);
  scroll-margin-top: var(--space-lg);
}

@media (max-width: 767px) {
  section {
    margin-bottom: var(--space-2xl);
  }
}

ul, ol {
  margin-left: var(--space-md);
  margin-bottom: var(--space-md);
}

li {
  margin-bottom: 0.75rem;
}

/* Base Card Component */
.card {
  padding: var(--space-lg);
  background: var(--highlight-bg);
  border: 1px solid var(--border);
  margin-bottom: var(--space-xl);
}

.card--accented {
  border-left: 4px solid var(--accent);
}

.card--strong {
  border: 2px solid var(--accent);
}

@media (max-width: 767px) {
  .card {
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
  }
}

.stats {
  background: transparent;
  padding-left: var(--space-lg);
  border-left: 3px solid var(--border);
  margin: var(--space-xl) 0;
  font-style: italic;
}

@media (max-width: 767px) {
  .stats {
    padding-left: var(--space-md);
    margin: var(--space-lg) 0;
  }
}

.stats p {
  margin-bottom: var(--space-lg);
  max-width: none;
}

.stats p:last-child {
  margin-bottom: 0;
  font-style: normal;
  font-weight: 600;
}

.stat-number {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text);
  display: block;
  margin-bottom: var(--space-xs);
  font-style: normal;
  line-height: 1;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .stat-number {
    font-size: 2.25rem;
  }
}

.comparison {
  display: grid;
  gap: var(--space-lg);
  margin: var(--space-xl) 0;
}

@media (max-width: 767px) {
  .comparison {
    gap: var(--space-md);
  }
}

.comparison-box {
  padding-left: var(--space-md);
  border-left: 3px solid var(--border);
}

@media (max-width: 767px) {
  .comparison-box {
    padding-left: var(--space-sm);
  }
}

.comparison-box.success {
  border-left-color: var(--accent);
}

.comparison-title {
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.comparison-content {
  font-family: ui-monospace, "SF Mono", Monaco, Consolas, monospace;
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--subtle);
}

@media (max-width: 767px) {
  .comparison-content {
    font-size: 0.8125rem;
  }
}

.comparison-result {
  margin-top: var(--space-sm);
  font-weight: 600;
}

.services-list {
  list-style: none;
  margin-left: 0;
}

.services-list li {
  padding: var(--space-md) 0 var(--space-md) var(--space-md);
  margin-bottom: var(--space-md);
  border-left: 2px solid var(--border);
}

.service-name {
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: var(--space-xs);
  display: block;
}

.service-meta {
  color: var(--subtle);
  font-size: 0.95rem;
  margin-top: var(--space-xs);
}

.case-study {
  padding-left: var(--space-lg);
  border-left: 3px solid var(--border);
  margin: var(--space-xl) 0;
}

.case-study-title {
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
}

.case-study-quote {
  font-style: italic;
  color: var(--subtle);
  margin-top: var(--space-md);
  padding-left: var(--space-md);
  border-left: 2px solid var(--border);
}

.principles {
  list-style: none;
  margin-left: 0;
}

.principles li {
  margin-bottom: var(--space-xl);
  padding-left: var(--space-md);
  position: relative;
}

.principles li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

.faq {
  list-style: none;
  margin-left: 0;
}

.faq li {
  margin-bottom: var(--space-lg);
}

.faq-question {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* Definition Lists: Structured Key-Value Pairs */
dl {
  margin: var(--space-md) 0;
  line-height: 1.6;
}

dt {
  font-weight: 600;
  color: var(--text);
  margin-top: var(--space-sm);
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
}

dt:first-child {
  margin-top: 0;
}

dd {
  margin-left: 0;
  margin-bottom: var(--space-xs);
  color: var(--subtle);
  padding-left: var(--space-md);
  border-left: 2px solid var(--border);
}

/* Service Details: Compact Layout */
.service-details {
  margin-top: var(--space-md);
  padding: var(--space-md);
  background: var(--highlight-bg);
  border-left: 3px solid var(--border);
}

@media (max-width: 767px) {
  .service-details {
    padding: var(--space-sm);
  }
}

.service-details dt {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--subtle);
}

.service-details dt:first-child {
  margin-top: 0;
}

.service-details dd {
  padding-left: 0;
  border-left: none;
  color: var(--text);
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

.service-details dd:last-child {
  margin-bottom: 0;
}

/* Contact Details: Clear Information Hierarchy */
.contact-details {
  margin: var(--space-lg) 0;
  padding: var(--space-md);
  background: var(--highlight-bg);
  border: 1px solid var(--border);
}

@media (max-width: 767px) {
  .contact-details {
    padding: var(--space-md);
  }
}

.contact-details dt {
  margin-top: var(--space-md);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--subtle);
}

.contact-details dt:first-child {
  margin-top: 0;
}

.contact-details dd {
  padding-left: 0;
  border-left: none;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.contact-details dd a {
  font-weight: 600;
}

/* Glossary: Definition List Styling */
.glossary {
  margin: var(--space-xl) 0;
  display: grid;
  gap: var(--space-lg);
}

@media (max-width: 767px) {
  .glossary {
    gap: var(--space-md);
  }
}

.glossary dt {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  padding-bottom: var(--space-xs);
  border-bottom: 3px solid var(--accent);
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  .glossary dt {
    font-size: 1.125rem;
  }
}

.glossary dd {
  margin: 0.75rem 0 0 0;
  padding: var(--space-md);
  background: var(--highlight-bg);
  border-left: 3px solid var(--border);
  color: var(--text);
  line-height: 1.6;
}

@media (max-width: 767px) {
  .glossary dd {
    padding: var(--space-sm);
  }
}

.glossary dd::before {
  content: "→ ";
  color: var(--accent);
  font-weight: 600;
  margin-right: 0.25rem;
}

/* Details/Summary: Interactive FAQ Styling */
details {
  margin-bottom: var(--space-md);
  padding: var(--space-md);
  background: var(--highlight-bg);
  border-left: 3px solid var(--border);
  transition: border-left-color 0.2s ease;
}

@media (max-width: 767px) {
  details {
    padding: var(--space-sm);
  }
}

details[open] {
  border-left-color: var(--accent);
}

summary {
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  user-select: none;
  list-style: none;
  padding-right: var(--space-lg);
  position: relative;
  line-height: 1.5;
  min-height: 44px;
  display: flex;
  align-items: center;
}

@media (min-width: 768px) {
  summary {
    font-size: 1.0625rem;
  }
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-weight: 600;
  color: var(--accent);
  font-size: 1.125rem;
  line-height: 1.5;
  transition: transform 0.2s ease;
}

@media (min-width: 768px) {
  summary::after {
    font-size: 1.25rem;
  }
}

details[open] summary::after {
  content: "−";
}

summary:hover {
  color: var(--accent);
}

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

details > *:not(summary) {
  margin-top: var(--space-sm);
}

details p:last-child,
details ul:last-child,
details ol:last-child,
details dl:last-child {
  margin-bottom: 0;
}

/* Service Articles: Visual Differentiation */
.service {
  padding: var(--space-lg);
  background: var(--highlight-bg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  margin-bottom: var(--space-xl);
}

@media (max-width: 767px) {
  .service {
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
  }
}

.service h3 {
  margin-top: 0;
  margin-bottom: var(--space-sm);
  color: var(--text);
  font-size: 1.0625rem;
}

@media (min-width: 768px) {
  .service h3 {
    font-size: 1.25rem;
  }
}

.service > p {
  margin-bottom: var(--space-md);
  color: var(--text);
}

/* Outcome Cards: Grid Layout */
.outcome-cards {
  display: grid;
  gap: var(--space-lg);
  margin: var(--space-xl) 0;
}

@media (max-width: 767px) {
  .outcome-cards {
    gap: var(--space-md);
    margin: var(--space-lg) 0;
  }
}

.outcome-card {
  padding: var(--space-lg);
  background: var(--highlight-bg);
  border-left: 4px solid var(--accent);
}

@media (max-width: 767px) {
  .outcome-card {
    padding: var(--space-md);
  }
}

.outcome-card h3 {
  margin-top: 0;
  margin-bottom: var(--space-sm);
  color: var(--text);
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  .outcome-card h3 {
    font-size: 1.1875rem;
  }
}

.outcome-card p {
  margin-bottom: var(--space-sm);
}

.outcome-card p:last-child {
  margin-bottom: 0;
}

.outcome-example {
  margin-top: var(--space-md);
  padding: var(--space-sm);
  background: var(--bg);
  border-left: 2px solid var(--border);
  font-size: 0.9375rem;
  font-style: italic;
  color: var(--subtle);
}

/* CTA Box: Call-to-Action Styling */
.cta-box {
  margin: var(--space-xl) 0;
  padding: var(--space-lg);
  background: var(--highlight-bg);
  border: 2px solid var(--accent);
  box-shadow: 0 4px 12px rgba(184, 80, 61, 0.15);
}

@media (max-width: 767px) {
  .cta-box {
    padding: var(--space-md);
  }
}

.cta-box p {
  margin-bottom: var(--space-md);
}

.cta-box p:last-child {
  margin-bottom: 0;
}

.cta-box ul {
  margin-left: var(--space-md);
  margin-bottom: var(--space-md);
}

.cta-box ul:last-child {
  margin-bottom: 0;
}

/* FAQ Category Headings */
.faq-category {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-xs);
  border-bottom: 2px solid var(--accent);
  color: var(--text);
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  .faq-category {
    font-size: 1.125rem;
  }
}

.faq-category:first-of-type {
  margin-top: 0;
}

/* Subtle Text */
.subtle {
  color: var(--subtle);
  font-size: 0.9375rem;
  font-style: italic;
}

footer {
  margin-top: var(--space-3xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
  color: var(--subtle);
  font-size: 0.8125rem;
  line-height: 1.6;
}

@media (min-width: 768px) {
  footer {
    font-size: 0.875rem;
  }
}

footer p {
  margin-bottom: 0.75rem;
  max-width: none;
}

footer a {
  color: var(--subtle);
  text-decoration-color: var(--border);
}

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

.divider {
  text-align: center;
  margin: var(--space-2xl) 0;
  color: var(--subtle);
}

nav {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }

  .cta-primary,
  .cta-secondary {
    display: block;
    margin-right: 0;
    margin-bottom: 0.75rem;
  }
}

.controls {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  gap: var(--space-xs);
}

.control-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.625rem 1rem;
  min-height: 44px;
  min-width: 44px;
  border: 1px solid var(--border);
  background: var(--highlight-bg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

@media (min-width: 768px) {
  .control-btn {
    font-size: 0.875rem;
  }
}

.control-btn:hover {
  color: var(--text);
  border-color: var(--text);
}

.control-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* ==========================================================================
   NEUE CSS-VERBESSERUNGEN v2.2
   ========================================================================== */

/* 1. Glassmorphism für Stats/Comparison-Boxen */
.stats .stat,
.comparison-box {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.stats .stat:hover,
.comparison-box:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

@media (prefers-color-scheme: dark) {
  .stats .stat,
  .comparison-box {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
  }

  .stats .stat:hover,
  .comparison-box:hover {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
  }
}

/* 2. Hero-Statement: Gradient-Underline */
.hero-statement {
  position: relative;
  padding: 2rem 0;
}

.hero-statement p {
  font-size: 1.5rem;
  font-weight: 600;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.hero-statement::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* 3. Accordions (<details>) mit Animation */
details {
  border-left: 3px solid transparent;
  padding-left: 1rem;
  margin: 1rem 0;
  transition: border-color 0.3s ease;
}

details[open] {
  border-left-color: #667eea;
}

details summary {
  cursor: pointer;
  padding: 0.75rem 0;
  list-style: none;
  position: relative;
  transition: color 0.3s ease;
}

details summary::-webkit-details-marker {
  display: none;
}

details summary::before {
  content: '▶';
  position: absolute;
  left: -1.5rem;
  transition: transform 0.3s ease;
  color: #667eea;
}

details[open] summary::before {
  transform: rotate(90deg);
}

details summary:hover {
  color: #667eea;
}

details > *:not(summary) {
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 4. Prinzipien-DL: Timeline-Style */
.principles {
  position: relative;
  padding-left: 2rem;
}

.principles::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #667eea, #764ba2);
  border-radius: 1px;
}

.principles dt {
  position: relative;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
  padding-left: 1.5rem;
}

.principles dt::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.25rem;
  width: 10px;
  height: 10px;
  background: #667eea;
  border-radius: 50%;
  border: 2px solid var(--bg);
}

.principles dd {
  margin-left: 1.5rem;
  color: var(--subtle);
}

/* 5. Navigation: Active State mit Indicator */
nav {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  position: relative;
}

nav a {
  position: relative;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: currentColor;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

nav a:hover::after,
nav a:focus::after {
  width: 80%;
}

/* 6. Comparison-Boxen: Side-by-Side mit Border */
.comparison {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.comparison-box {
  position: relative;
  overflow: hidden;
}

.comparison-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #f44336;
}

.comparison-box.success::before {
  background: linear-gradient(90deg, #4caf50, #8bc34a);
}

.comparison-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-top: 0.5rem;
}

/* 7. Code-Blocks: Subtle Highlight */
code {
  background: rgba(0, 0, 0, 0.05);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-family: 'SF Mono', Monaco, monospace;
  font-size: 0.9em;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.comparison-content code {
  display: block;
  margin: 0.5rem 0;
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.03);
  border-left: 3px solid currentColor;
}

@media (prefers-color-scheme: dark) {
  code {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
  }

  .comparison-content code {
    background: rgba(255, 255, 255, 0.05);
  }
}

/* 8. Dark Mode: CSS Custom Properties (bereits vorhanden, erweitert) */
body {
  background: var(--bg);
  color: var(--text);
  transition: background 0.3s ease, color 0.3s ease;
}

/* 9. Scroll-Snap für Sections */
main {
  scroll-snap-type: y proximity;
}

section {
  scroll-snap-align: start;
  scroll-margin-top: 2rem;
}

/* 10. Contact-Details: Card-Style (erweitert) */
.contact-details {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 2rem;
  background: rgba(102, 126, 234, 0.05);
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid var(--accent);
}

.contact-details dt {
  font-weight: 600;
  color: var(--accent);
}

.contact-details dd {
  margin: 0;
}

@media (prefers-color-scheme: dark) {
  .contact-details {
    background: rgba(102, 126, 234, 0.1);
  }
}
