/* Premium German Clean-Tech — Dark Theme */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap");

:root {
  --bg: #0c100e;
  --bg-elevated: #121816;
  --surface: #171d1a;
  --surface-alt: #1e2622;
  --surface-hover: #24302a;
  --text: #e8eee9;
  --text-strong: #f4f7f5;
  --muted: #9aaba0;
  --muted-soft: #7a8c81;
  --primary: #3d8f5f;
  --primary-hover: #4aa570;
  --primary-deep: #2a6b46;
  --accent: #2f6b7a;
  --accent-soft: #3a8494;
  --solar: #c9a84c;
  --solar-soft: #d4b96a;
  --border: rgba(232, 238, 233, 0.1);
  --border-strong: rgba(232, 238, 233, 0.18);
  --focus: #6ecf95;
  --danger: #c96b6b;
  --success: #4aa570;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 0 1px rgba(61, 143, 95, 0.25);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --container: 1240px;
  --section-space: clamp(4rem, 8vw, 6.5rem);
  --header-h: 76px;
  --font-heading: "Manrope", system-ui, sans-serif;
  --font-body: "Inter", "Manrope", system-ui, sans-serif;
  --grad-hero: linear-gradient(145deg, #0c100e 0%, #121a16 45%, #0f1618 100%);
  --grad-card: linear-gradient(180deg, rgba(61, 143, 95, 0.08) 0%, transparent 55%);
  --grad-solar: linear-gradient(135deg, rgba(201, 168, 76, 0.15), rgba(61, 143, 95, 0.08));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html,
body {
  overflow-x: hidden !important;
  max-width: 100vw;
}

body {
  position: relative;
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(61, 143, 95, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 0%, rgba(47, 107, 122, 0.1), transparent 50%);
  background-attachment: fixed;
  overflow-wrap: break-word;
  hyphens: auto;
  -webkit-font-smoothing: antialiased;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary-hover);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--solar-soft);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4,
.h1,
.h2,
.h3 {
  font-family: var(--font-heading);
  color: var(--text-strong);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.75em;
  overflow-wrap: break-word;
  hyphens: auto;
}

h1,
.h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
}

h2,
.h2 {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

h3,
.h3 {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 650;
}

p {
  margin: 0 0 1em;
  color: var(--muted);
}

p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: 1.15rem;
  color: var(--text);
  max-width: 42rem;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--solar);
  margin-bottom: 0.85rem;
}

.text-strong {
  color: var(--text-strong);
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.9rem;
}

.disclaimer {
  font-size: 0.92rem;
  color: var(--muted-soft);
  border-left: 3px solid var(--solar);
  padding: 0.9rem 1rem;
  background: rgba(201, 168, 76, 0.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: 1.25rem;
}

.disclaimer--block {
  border-left: none;
  border-top: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.35rem;
  background: var(--surface);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.75rem 1.45rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: var(--primary-hover);
  color: #fff;
  transform: translateY(-1px);
}

.btn--secondary {
  background: transparent;
  color: var(--text-strong);
  border-color: var(--border-strong);
}

.btn--secondary:hover {
  border-color: var(--primary);
  color: var(--text-strong);
  background: rgba(61, 143, 95, 0.1);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: transparent;
  padding-inline: 0.75rem;
}

.btn--ghost:hover {
  color: var(--solar-soft);
}

.btn__arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.btn:hover .btn__arrow {
  transform: translateX(3px);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.4rem;
  background-image: var(--grad-card);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: rgba(61, 143, 95, 0.15);
  color: var(--primary-hover);
  margin-bottom: 1rem;
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 0.85rem;
}

.card h3 {
  margin-bottom: 0.55rem;
}

.card p {
  font-size: 0.98rem;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.pricing-card--featured {
  border-color: rgba(61, 143, 95, 0.45);
  box-shadow: var(--shadow-glow);
}

.pricing-card .price {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-strong);
  margin: 0.75rem 0 0.35rem;
}

.pricing-card .price small {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
  flex: 1;
}

.pricing-card li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.35rem;
  color: var(--muted);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
}

.pricing-card li:last-child {
  border-bottom: none;
}

.pricing-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--solar);
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.25);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.image-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(61, 143, 95, 0.18), rgba(47, 107, 122, 0.12)),
    linear-gradient(180deg, var(--surface-alt), var(--surface));
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
}

.image-placeholder::after {
  content: attr(data-label);
  position: absolute;
  inset: auto 1rem 1rem 1rem;
  font-size: 0.78rem;
  color: var(--muted-soft);
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
  text-align: left;
}

.image-placeholder--hero {
  aspect-ratio: 16 / 11;
  min-height: 280px;
}

.image-placeholder--square {
  aspect-ratio: 1 / 1;
}

.image-placeholder--wide {
  aspect-ratio: 21 / 9;
}

.image-placeholder__mark {
  width: 64px;
  height: 64px;
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--solar);
  font-size: 1.5rem;
  opacity: 0.7;
}

.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.5rem;
  margin: 1.5rem 0;
}

.flow__item {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-strong);
}

.flow__arrow {
  color: var(--primary);
  font-weight: 700;
}

.step-num {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--solar);
  margin-bottom: 0.5rem;
}

.site-footer .footer-disclaimer {
  font-size: 0.85rem;
  color: var(--muted-soft);
  line-height: 1.55;
  max-width: 72ch;
}

.legal-content h2 {
  margin-top: 2.25rem;
  font-size: 1.35rem;
}

.legal-content h3 {
  margin-top: 1.5rem;
  font-size: 1.1rem;
}

.legal-content ul,
.article-body ul,
.article-body ol {
  color: var(--muted);
  padding-left: 1.25rem;
  margin: 0 0 1.25rem;
}

.legal-content li,
.article-body li {
  margin-bottom: 0.4rem;
}

.article-body {
  max-width: 46rem;
}

.article-body p {
  margin-bottom: 1.15rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.9rem;
  color: var(--muted-soft);
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .btn:hover,
  .card:hover {
    transform: none;
  }
}
