@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

/* Brand tokens — Premium German Clean-Tech */
:root {
  --bg: #f7f5f0;
  --bg-warm: #faf8f4;
  --surface: #ffffff;
  --surface-alt: #efece6;
  --surface-soft: #f3f1eb;
  --text: #1c2420;
  --text-strong: #121916;
  --muted: #5a655e;
  --primary: #1f5c45;
  --primary-hover: #174a37;
  --primary-soft: #e8f2ec;
  --accent: #3d6b7a;
  --accent-soft: #e8f0f3;
  --solar: #c9a84c;
  --solar-soft: #f7f1de;
  --border: #d9d4cb;
  --border-strong: #c4beb3;
  --focus: #1f5c45;
  --danger: #8b3a3a;
  --success: #1f5c45;
  --shadow-sm: 0 1px 2px rgba(18, 25, 22, 0.04), 0 4px 12px rgba(18, 25, 22, 0.04);
  --shadow-md: 0 8px 28px rgba(18, 25, 22, 0.08);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --container: 1240px;
  --section-space: clamp(3.5rem, 6vw, 5.5rem);
  --header-h: 76px;
  --font-display: "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --line: 1.65;
  --tracking-tight: -0.02em;
}

html {
  color-scheme: light;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(201, 168, 76, 0.08), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(31, 92, 69, 0.07), transparent 50%),
    linear-gradient(180deg, var(--bg-warm) 0%, var(--bg) 40%, #f2efe9 100%);
  line-height: var(--line);
  font-size: 1.02rem;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6,
.display,
.hero__title,
.section-title {
  font-family: var(--font-display);
  color: var(--text-strong);
  letter-spacing: var(--tracking-tight);
  line-height: 1.15;
  font-weight: 700;
  overflow-wrap: break-word;
  hyphens: auto;
}

h1, .hero__title {
  font-size: clamp(2.05rem, 4.2vw, 3.35rem);
  font-weight: 800;
}

h2, .section-title {
  font-size: clamp(1.55rem, 2.8vw, 2.25rem);
}

h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  font-weight: 700;
}

a {
  color: var(--primary);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--primary-hover);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
}

.eyebrow::before {
  content: "";
  width: 1.1rem;
  height: 2px;
  background: var(--solar);
  border-radius: 2px;
}

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--muted);
  max-width: 42rem;
}

.muted {
  color: var(--muted);
}

.text-strong {
  color: var(--text-strong);
  font-weight: 600;
}

.btn {
  --btn-bg: var(--primary);
  --btn-color: #fff;
  --btn-border: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-color);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.btn:hover {
  background: var(--primary-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn:focus-visible,
.nav-toggle:focus-visible,
.faq-item__button:focus-visible,
.cookie-btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(31, 92, 69, 0.35);
  outline-offset: 2px;
}

.btn--secondary {
  --btn-bg: transparent;
  --btn-color: var(--text-strong);
  --btn-border: var(--border-strong);
  box-shadow: none;
}

.btn--secondary:hover {
  background: var(--surface);
  color: var(--text-strong);
  border-color: var(--primary);
}

.btn--ghost {
  --btn-bg: var(--primary-soft);
  --btn-color: var(--primary);
  box-shadow: none;
}

.btn--ghost:hover {
  background: #dceae3;
  color: var(--primary-hover);
}

.btn__arrow {
  transition: transform 0.2s ease;
}

.btn:hover .btn__arrow {
  transform: translateX(3px);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.badge--solar {
  background: var(--solar-soft);
  color: #7a641f;
}

.site-header {
  background: rgba(250, 248, 244, 0.86);
  border-bottom: 1px solid rgba(217, 212, 203, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text-strong);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.08rem;
}

.logo__mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background:
    linear-gradient(145deg, var(--primary) 0%, #2a7a5c 55%, #3d6b7a 100%);
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

.logo__mark::after {
  content: "";
  position: absolute;
  inset: 9px 8px 12px;
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(255, 255, 255, 0.75) 18% 22%, transparent 22% 38%, rgba(255, 255, 255, 0.75) 38% 42%, transparent 42% 58%, rgba(255, 255, 255, 0.75) 58% 62%, transparent 62% 78%, rgba(255, 255, 255, 0.75) 78% 82%, transparent 82%),
    linear-gradient(180deg, #f0d878 0%, #c9a84c 100%);
  border-radius: 3px;
  clip-path: polygon(0 35%, 100% 10%, 100% 100%, 0 100%);
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--primary);
}

.footer {
  background: #15201b;
  color: #d7ddd9;
}

.footer a {
  color: #d7ddd9;
  text-decoration: none;
}

.footer a:hover {
  color: #fff;
}

.footer__brand {
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
}

.footer__disclaimer {
  color: #a8b2ac;
  font-size: 0.88rem;
  line-height: 1.55;
  max-width: 72ch;
}

.footer__meta {
  color: #8f9a93;
  font-size: 0.88rem;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero__panel {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72)),
    linear-gradient(120deg, var(--primary-soft), var(--solar-soft) 55%, var(--accent-soft));
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-md);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.card--soft {
  background: var(--surface-soft);
}

.pricing-card {
  position: relative;
  overflow: hidden;
}

.pricing-card--featured {
  border-color: rgba(31, 92, 69, 0.35);
  box-shadow: var(--shadow-md);
}

.pricing-card__price {
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 800;
  color: var(--text-strong);
  letter-spacing: -0.03em;
}

.pricing-card__note {
  font-size: 0.82rem;
  color: var(--muted);
}

.disclaimer-box {
  background: var(--solar-soft);
  border: 1px solid #e6d7a4;
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  color: #5c5228;
  font-size: 0.94rem;
}

.flow-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.flow-step__num {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
}

.image-placeholder {
  display: block;
  width: 100%;
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(31, 92, 69, 0.12), rgba(61, 107, 122, 0.1) 45%, rgba(201, 168, 76, 0.14)),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 10px,
      rgba(255, 255, 255, 0.18) 10px,
      rgba(255, 255, 255, 0.18) 20px
    );
  border: 1px dashed rgba(31, 92, 69, 0.28);
  position: relative;
  overflow: hidden;
  min-height: 220px;
  aspect-ratio: 16 / 10;
}

.image-placeholder::after {
  content: attr(data-label);
  position: absolute;
  inset: auto 1rem 1rem auto;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  max-width: calc(100% - 2rem);
  overflow-wrap: break-word;
}

.image-placeholder--hero {
  aspect-ratio: 5 / 4;
  min-height: 280px;
}

.image-placeholder--square {
  aspect-ratio: 1 / 1;
  min-height: 200px;
}

.image-placeholder--wide {
  aspect-ratio: 21 / 9;
  min-height: 180px;
}

.cookie-banner {
  background: rgba(21, 32, 27, 0.96);
  color: #e8ece9;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-md);
}

.cookie-banner a {
  color: #f0d878;
}

.cookie-btn {
  min-height: 44px;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.cookie-btn--primary {
  background: var(--solar);
  color: #1c2420;
}

.cookie-btn--secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.cookie-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.form-group label {
  font-weight: 600;
  color: var(--text-strong);
  font-size: 0.92rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  font: inherit;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group input:invalid:not(:placeholder-shown),
.form-group select:invalid:not(:placeholder-shown) {
  border-color: #c98989;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.legal-content h2 {
  margin-top: 2.2rem;
}

.legal-content h3 {
  margin-top: 1.4rem;
}

.legal-content ul {
  padding-left: 1.2rem;
}

.legal-content li + li {
  margin-top: 0.35rem;
}

.article-body p + p,
.article-body ul + p,
.article-body p + ul,
.article-body h2,
.article-body h3 {
  margin-top: 1.15rem;
}

.article-body ul {
  padding-left: 1.2rem;
}

.article-meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
}

.faq-item__button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 1.05rem 1.15rem;
  font: inherit;
  font-weight: 700;
  color: var(--text-strong);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  min-height: 48px;
}

.faq-item__icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 800;
  transition: transform 0.25s ease;
}

.faq-item.is-open .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item__content {
  padding: 0 1.15rem 1.15rem;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
