/* Brand – Premium German Clean-Tech */
:root {
  --bg: #f7f5f1;
  --bg-warm: #faf8f5;
  --surface: #ffffff;
  --surface-alt: #f0eeea;
  --surface-soft: #e8efe9;
  --text: #1c2420;
  --text-strong: #121916;
  --muted: #5a665f;
  --primary: #1f5c45;
  --primary-hover: #174a37;
  --primary-soft: #e6f0eb;
  --accent: #2a6b78;
  --accent-soft: #e8f2f4;
  --solar: #c4a35a;
  --solar-soft: #f5eedc;
  --border: #d9ddd8;
  --border-strong: #b8c0b9;
  --focus: #1f5c45;
  --danger: #8b3a3a;
  --success: #1f5c45;
  --shadow-sm: 0 1px 2px rgba(28, 36, 32, 0.06);
  --shadow-md: 0 8px 28px rgba(28, 36, 32, 0.08);
  --shadow-lg: 0 16px 48px rgba(28, 36, 32, 0.1);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --container: 1200px;
  --section-space: clamp(3.5rem, 6vw, 5.5rem);
  --header-h: 4.25rem;
  --font-display: "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  color-scheme: light;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(31, 92, 69, 0.07), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(42, 107, 120, 0.06), transparent 50%),
    linear-gradient(180deg, var(--bg-warm) 0%, var(--bg) 40%, #f3f1ed 100%);
  line-height: 1.65;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  color: var(--text-strong);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
  overflow-wrap: break-word;
  hyphens: auto;
}

h1 { font-size: clamp(2rem, 4.2vw, 3.15rem); }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.15rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); }

a {
  color: var(--primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover { color: var(--primary-hover); }

::selection {
  background: var(--primary-soft);
  color: var(--text-strong);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.85rem;
}

.eyebrow::before {
  content: "";
  width: 1.25rem;
  height: 2px;
  background: var(--solar);
  border-radius: 2px;
}

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--muted);
  max-width: 42rem;
}

.text-muted { color: var(--muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 650;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--focus) 45%, white);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--primary-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text-strong);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--primary);
  border-color: color-mix(in srgb, var(--primary) 25%, transparent);
}

.btn .arrow {
  display: inline-block;
  transition: transform 0.25s var(--ease);
}

.btn:hover .arrow { transform: translateX(3px); }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 650;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 1.4rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--primary) 28%, var(--border));
}

.card h3 { margin-bottom: 0.55rem; }

.price {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 750;
  color: var(--text-strong);
  letter-spacing: -0.02em;
}

.price small {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.85rem;
  font-weight: 550;
  color: var(--muted);
}

.disclaimer {
  background: var(--solar-soft);
  border: 1px solid color-mix(in srgb, var(--solar) 35%, var(--border));
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  color: var(--text);
  font-size: 0.95rem;
}

.disclaimer strong { color: var(--text-strong); }

.placeholder-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  overflow: hidden;
  background:
    linear-gradient(145deg, #e4ebe6 0%, #d7e3dc 45%, #c9d8d4 100%);
  border: 1px solid var(--border);
}

.placeholder-media::after {
  content: attr(data-label);
  position: absolute;
  inset: auto 1rem 1rem 1rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.placeholder-media.portrait { aspect-ratio: 4 / 5; }
.placeholder-media.square { aspect-ratio: 1 / 1; }
.placeholder-media.wide { aspect-ratio: 21 / 9; }
.placeholder-media.hero-media {
  aspect-ratio: 16 / 11;
  min-height: 280px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, #d5e4db 0%, #c5d6cf 40%, #b7cbc8 100%);
  box-shadow: var(--shadow-md);
}

.media-frame {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface-alt);
  box-shadow: var(--shadow-sm);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.media-frame.hero-media {
  aspect-ratio: 16 / 11;
  min-height: 280px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.media-frame.hero-media img {
  object-position: 72% center;
}

.media-frame.ratio-16x10 { aspect-ratio: 16 / 10; }
.media-frame.ratio-4x3 { aspect-ratio: 4 / 3; }
.media-frame.ratio-16x9 { aspect-ratio: 16 / 9; }
.media-frame.wide { aspect-ratio: 21 / 9; }
.media-frame.portrait { aspect-ratio: 4 / 5; }

.media-frame.doc-shot img {
  object-position: center 20%;
}

.media-caption {
  margin-top: 0.55rem;
  font-size: 0.82rem;
  color: var(--muted);
  font-style: italic;
}

@media (max-width: 640px) {
  .media-frame.hero-media img {
    object-position: 65% center;
  }
  .media-frame.doc-shot img {
    object-position: center 15%;
  }
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text-strong);
  font-weight: 750;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.site-logo:hover { color: var(--text-strong); }

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background:
    linear-gradient(145deg, var(--primary) 0%, #2f7a5c 55%, var(--accent) 100%);
  position: relative;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.logo-mark::before {
  content: "";
  position: absolute;
  inset: 8px 8px auto 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--solar);
  opacity: 0.95;
}

.logo-mark::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 8px;
  height: 10px;
  border-radius: 2px 2px 3px 3px;
  background: rgba(255, 255, 255, 0.25);
  clip-path: polygon(0 40%, 50% 0, 100% 40%, 100% 100%, 0 100%);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 550;
}

.tag-row span::before {
  content: "•";
  margin-right: 0.85rem;
  color: var(--solar);
}

.tag-row span:first-child::before { content: none; margin: 0; }

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.flow-steps {
  display: grid;
  gap: 0.75rem;
}

.flow-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.flow-step .arrow-down {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--primary);
  font-size: 1.1rem;
  line-height: 1;
  opacity: 0.7;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn, .card { transition: none; }
  .btn:hover, .card:hover { transform: none; }
}

.contact-details a[href^="mailto:"],
.contact-details a[data-domain],
.footer-contact a[href^="mailto:"],
.footer-contact a[data-domain] {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-details p { margin: 0 0 0.85rem; }
.contact-details [hidden],
.footer-contact [hidden],
[data-contact-phone][hidden],
[data-contact-address][hidden] {
  display: none !important;
}
