/* =========================================================
   Baumgartner GmbH & Co.KG – Terra Preta auf Lager
   Stil: Visitenkarte / Werbevideo (Grün #195610, Carlito)
   ========================================================= */

@font-face {
  font-family: "Carlito";
  src: url("../fonts/carlito-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Carlito";
  src: url("../fonts/carlito-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Typo */
  --font: "Carlito", "Calibri", "Segoe UI", system-ui, sans-serif;
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem);
  --text-hero: clamp(3.25rem, 1rem + 8vw, 8.5rem);

  /* Abstände */
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem;
  --space-12: 3rem; --space-16: 4rem; --space-20: 5rem; --space-24: 6rem; --space-32: 8rem;
  --section-pad: clamp(var(--space-16), 9vw, var(--space-32));

  /* Marke */
  --brand: #195610;          /* Grün der Visitenkarte */
  --brand-deep: #10400b;
  --brand-bright: #2f7a22;
  --on-brand: #ffffff;
  --soil: #1c1712;           /* Terra-Preta-Schwarz */
  --soil-2: #2a221a;

  /* Hell */
  --bg: #f5f2ea;
  --surface: #fbf9f4;
  --surface-2: #ece7db;
  --text: #1d1a15;
  --text-muted: #5d574c;
  --border: #d9d2c2;
  --accent: var(--brand);
  --accent-hover: var(--brand-deep);
  --shadow: 0 1px 2px rgb(28 23 18 / 0.06), 0 12px 32px -12px rgb(28 23 18 / 0.18);

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1200px;
}

[data-theme="dark"] {
  --bg: #0e140c;
  --surface: #151d12;
  --surface-2: #1c2618;
  --text: #ece8de;
  --text-muted: #a8a294;
  --border: #2c3826;
  --accent: #5fae4b;
  --accent-hover: #79c464;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 16px 40px -16px rgb(0 0 0 / 0.6);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e140c;
    --surface: #151d12;
    --surface-2: #1c2618;
    --text: #ece8de;
    --text-muted: #a8a294;
    --border: #2c3826;
    --accent: #5fae4b;
    --accent-hover: #79c464;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 16px 40px -16px rgb(0 0 0 / 0.6);
  }
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.1; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 2 * clamp(var(--space-5), 4vw, var(--space-12)), var(--container)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: var(--space-2); background: var(--brand); color: var(--on-brand); padding: var(--space-2) var(--space-4); border-radius: var(--radius-sm); z-index: 100; }
.skip-link:focus { left: var(--space-4); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font: 700 var(--text-sm)/1 var(--font);
  letter-spacing: 0.01em;
  padding: var(--space-4) var(--space-6);
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease), transform 180ms var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-small { padding: var(--space-2) var(--space-4); font-size: var(--text-xs); }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-deep); }
[data-theme="dark"] .btn-primary { background: var(--brand-bright); }
[data-theme="dark"] .btn-primary:hover { background: #3b8f2c; }
.btn-outline { border-color: var(--border); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { background: #e8f0e4; }
.btn-ghost-light { border-color: rgb(255 255 255 / 0.55); color: #fff; background: rgb(255 255 255 / 0.04); }
.btn-ghost-light:hover { border-color: #fff; background: rgb(255 255 255 / 0.12); }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent; color: var(--text);
  cursor: pointer;
  transition: border-color 180ms var(--ease), color 180ms var(--ease);
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.i-sun { display: none; }
[data-theme="dark"] .i-sun { display: block; }
[data-theme="dark"] .i-moon { display: none; }

/* ---------- Gemeinsame Typo-Elemente ---------- */
.eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-3);
}
.eyebrow-light { color: rgb(255 255 255 / 0.82); }
.section-title { font-size: var(--text-xl); font-weight: 700; letter-spacing: -0.01em; }
/* Unterstrich wie auf Flyer & Visitenkarte */
.rule { display: inline-block; padding-bottom: var(--space-3); background: linear-gradient(currentColor, currentColor) left bottom / 100% 3px no-repeat; }
.rule-light { color: #fff; }
.rule-center { margin-inline: auto; }
.section { padding-block: var(--section-pad); }
.section-head { margin-bottom: clamp(var(--space-8), 5vw, var(--space-16)); }
.section-head-split { display: grid; gap: var(--space-6); align-items: end; }
.section-head-center { text-align: center; }
.section-intro { color: var(--text-muted); max-width: 46ch; }
@media (min-width: 900px) {
  .section-head-split { grid-template-columns: 1.2fr 1fr; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--border); }
.header-inner { display: flex; align-items: center; gap: var(--space-6); min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: var(--space-3); text-decoration: none; color: var(--text); margin-right: auto; }
.brand-mark,
.biz-logo {
  display: inline-block;
  background-color: currentColor;
  -webkit-mask: url("../img/logo-wappen.svg") center / contain no-repeat;
  mask: url("../img/logo-wappen.svg") center / contain no-repeat;
}
.brand-mark { width: 30px; height: 48px; color: var(--accent); flex-shrink: 0; }
.brand-text { display: grid; line-height: 1.15; }
.brand-name { font-weight: 700; font-size: var(--text-sm); }
.brand-sub { font-size: var(--text-xs); color: var(--text-muted); }

.main-nav ul { display: flex; gap: var(--space-5); }
.main-nav a { text-decoration: none; font-size: var(--text-sm); font-weight: 700; color: var(--text-muted); padding-block: var(--space-2); position: relative; transition: color 180ms var(--ease); }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 240ms var(--ease); }
.main-nav a:hover { color: var(--text); }
.main-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: var(--space-2); }
.nav-toggle { display: none; }

@media (max-width: 1180px) {
  .header-call span { display: none; }
  .header-call { width: 40px; height: 40px; padding: 0; }
  .nav-toggle { display: inline-grid; }
  .main-nav {
    position: absolute; inset: 72px 0 auto 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: var(--space-2) clamp(var(--space-5), 4vw, var(--space-12)) var(--space-4); }
  .main-nav a { display: block; padding-block: var(--space-3); font-size: var(--text-base); }
  .main-nav a::after { display: none; }
}
@media (max-width: 420px) { .brand-sub { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 860px);
  display: grid; align-items: end;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  background: var(--soil);
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; z-index: -2; transform: scale(1.04); animation: heroZoom 14s var(--ease) forwards; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgb(16 64 11 / 0.92) 0%, rgb(25 86 16 / 0.72) 38%, rgb(25 86 16 / 0.15) 70%, rgb(0 0 0 / 0) 100%),
    linear-gradient(0deg, rgb(14 20 12 / 0.65) 0%, rgb(14 20 12 / 0) 45%);
}
.hero-content { padding-block: clamp(var(--space-24), 14vh, var(--space-32)) clamp(var(--space-16), 10vh, var(--space-24)); }
.hero-title { font-size: var(--text-hero); font-weight: 700; letter-spacing: -0.025em; line-height: 0.92; margin-bottom: var(--space-6); }
.hero-title span { display: inline-block; padding-bottom: 0.08em; background: linear-gradient(#fff, #fff) left bottom / 100% 0.06em no-repeat; }
.hero-lead { max-width: 44ch; font-size: var(--text-lg); line-height: 1.45; color: rgb(255 255 255 / 0.9); margin-bottom: var(--space-8); }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.stock-badge {
  position: absolute; right: clamp(var(--space-5), 4vw, var(--space-12)); top: clamp(var(--space-6), 5vw, var(--space-12));
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: var(--space-2) var(--space-4);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.14);
  border: 1px solid rgb(255 255 255 / 0.35);
  backdrop-filter: blur(6px);
}
.stock-dot { width: 8px; height: 8px; border-radius: 50%; background: #8be06f; box-shadow: 0 0 0 0 rgb(139 224 111 / 0.7); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(139 224 111 / 0.6); } 70% { box-shadow: 0 0 0 10px rgb(139 224 111 / 0); } 100% { box-shadow: 0 0 0 0 rgb(139 224 111 / 0); } }
@keyframes heroZoom { to { transform: scale(1); } }
@media (max-width: 700px) {
  .hero-shade { background: linear-gradient(0deg, rgb(16 64 11 / 0.95) 0%, rgb(25 86 16 / 0.75) 55%, rgb(25 86 16 / 0.25) 100%); }
}

/* ---------- Produkte ---------- */
.products { background: var(--bg); }
.product-grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.product-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-8) var(--space-6);
  display: grid; align-content: start; gap: var(--space-3);
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease), border-color 260ms var(--ease);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.product-num { font-size: var(--text-xs); font-weight: 700; color: var(--accent); letter-spacing: 0.1em; }
.product-card h3 { font-size: var(--text-lg); }
.product-card p { color: var(--text-muted); font-size: var(--text-sm); }
.product-card-feature { background: var(--brand); border-color: var(--brand); color: #fff; }
.product-card-feature .product-num { color: rgb(255 255 255 / 0.75); }
.product-card-feature p { color: rgb(255 255 255 / 0.85); }
.product-card-feature:hover { border-color: var(--brand); }
.tag { justify-self: start; margin-top: var(--space-2); font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: var(--space-1) var(--space-3); border-radius: 999px; background: #fff; color: var(--brand); }

/* ---------- Abholung ---------- */
.pickup { background: var(--brand); color: #fff; position: relative; overflow: hidden; }
.pickup::before { /* feines Korn wie Erde */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.08;
  background-image: radial-gradient(rgb(0 0 0 / 0.9) 1px, transparent 1.2px);
  background-size: 6px 6px;
}
.pickup-grid { position: relative; display: grid; gap: clamp(var(--space-10), 6vw, var(--space-20)); align-items: center; }
@media (min-width: 960px) { .pickup-grid { grid-template-columns: 1fr 1.05fr; } }
.pickup-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.6); }
.pickup-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 55% 50%; }
.pickup-address { position: absolute; left: var(--space-4); bottom: var(--space-4); display: grid; gap: 2px; background: rgb(14 20 12 / 0.78); backdrop-filter: blur(6px); padding: var(--space-3) var(--space-5); border-radius: var(--radius); font-size: var(--text-sm); }
.pickup-lead { font-size: var(--text-lg); color: rgb(255 255 255 / 0.9); margin-block: var(--space-6) var(--space-8); max-width: 40ch; line-height: 1.45; }
.pickup-options { display: grid; gap: var(--space-3); margin-bottom: var(--space-8); }
.pickup-options li {
  display: grid; grid-template-columns: auto 1fr; gap: var(--space-5); align-items: start;
  padding: var(--space-5) var(--space-6);
  border: 1px solid rgb(255 255 255 / 0.22);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.05);
  transition: background-color 220ms var(--ease), border-color 220ms var(--ease);
}
.pickup-options li:hover { background: rgb(255 255 255 / 0.1); border-color: rgb(255 255 255 / 0.4); }
.opt-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--brand); }
.pickup-options h3 { font-size: var(--text-lg); margin-bottom: var(--space-1); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
.pickup-options p { color: rgb(255 255 255 / 0.82); font-size: var(--text-sm); }
.pill { font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.06em; padding: 2px var(--space-3); border-radius: 999px; background: rgb(255 255 255 / 0.18); border: 1px solid rgb(255 255 255 / 0.35); }
.pickup-cta { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-bottom: var(--space-4); }
.pickup-note { font-size: var(--text-xs); color: rgb(255 255 255 / 0.72); }

/* ---------- Herstellung ---------- */
.process-grid { display: grid; gap: var(--space-5); grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 760px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1040px) {
  .process-grid { grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; }
  .step-wide { grid-column: span 2; }
  .step-tall { grid-row: span 2; }
}
.step { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--soil); color: #fff; min-height: 300px; display: grid; }
.step figure, .step img { grid-area: 1 / 1; width: 100%; height: 100%; }
.step img { object-fit: cover; transition: transform 700ms var(--ease); }
.step:hover img { transform: scale(1.05); }
.step-body {
  grid-area: 1 / 1; align-self: end; position: relative;
  padding: var(--space-16) var(--space-6) var(--space-6);
  background: linear-gradient(0deg, rgb(14 20 12 / 0.92) 0%, rgb(14 20 12 / 0.6) 55%, rgb(14 20 12 / 0) 100%);
}
.step-num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); border: 2px solid #fff; font-weight: 700; font-size: var(--text-sm); margin-bottom: var(--space-3); }
.step h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.step p { font-size: var(--text-sm); color: rgb(255 255 255 / 0.85); max-width: 46ch; }
.step-wide { min-height: 380px; }
.step-tall { min-height: 520px; }

/* ---------- Pyrolysewerk ---------- */
.card-link, .inline-link { font-weight: 700; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }
.card-link { justify-self: start; margin-top: auto; font-size: var(--text-sm); }
.step .inline-link { color: #fff; white-space: nowrap; }
.pyro { background: var(--surface-2); }
.pyro-intro { display: grid; gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: center; margin-bottom: clamp(var(--space-10), 6vw, var(--space-16)); }
@media (min-width: 960px) { .pyro-intro { grid-template-columns: 1.1fr 1fr; } }
.pyro-media { position: relative; padding-bottom: 18%; }
.pyro-media img { border-radius: var(--radius-lg); object-fit: cover; box-shadow: var(--shadow); }
.pyro-img-main { width: 88%; aspect-ratio: 16 / 10; }
.pyro-img-sub { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 4 / 3; border: 6px solid var(--surface-2); }
.pyro-text h3 { font-size: var(--text-lg); margin-bottom: var(--space-4); }
.pyro-text p { color: var(--text-muted); max-width: 58ch; }
.pyro-text p + p { margin-top: var(--space-4); }
.pyro-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: rgb(255 255 255 / 0.18); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: clamp(var(--space-12), 7vw, var(--space-20)); }
.pyro-facts li { background: var(--brand); color: #fff; padding: var(--space-6) var(--space-6) var(--space-8); display: grid; gap: var(--space-2); align-content: start; }
.pyro-facts strong { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); line-height: 1; letter-spacing: -0.02em; }
.pyro-facts span { font-size: var(--text-sm); color: rgb(255 255 255 / 0.85); max-width: 26ch; }
.pyro-subtitle { font-size: var(--text-lg); margin-bottom: var(--space-6); }
.cycle { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin-bottom: clamp(var(--space-12), 7vw, var(--space-20)); }
.cycle li { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--space-5) var(--space-5) var(--space-6); display: grid; gap: var(--space-2); align-content: start; }
.cycle-num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: var(--text-sm); }
.cycle h4 { font-size: var(--text-base); margin: var(--space-1) 0 0; }
.cycle p { font-size: var(--text-sm); color: var(--text-muted); }
@media (min-width: 1040px) {
  .cycle li:not(:last-child)::after { content: ""; position: absolute; top: 34px; right: -14px; width: 12px; height: 12px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); transform: rotate(45deg); z-index: 1; }
}
.pyro-cards { display: grid; gap: var(--space-5); margin-bottom: var(--space-5); }
@media (min-width: 900px) { .pyro-cards { grid-template-columns: 1fr 1fr; } }
.pyro-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(var(--space-6), 4vw, var(--space-10)); display: grid; gap: var(--space-5); align-content: start; }
.pyro-card h3 { font-size: var(--text-lg); }
.check-list { display: grid; gap: var(--space-3); }
.check-list li { position: relative; padding-left: var(--space-8); color: var(--text-muted); font-size: var(--text-sm); }
.check-list li::before { content: ""; position: absolute; left: 2px; top: 0.25em; width: 16px; height: 9px; border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(-45deg); }
.check-list strong { color: var(--text); }
.pyro-card-dark { background: var(--soil); border-color: var(--soil); color: #fff; }
.chip-list { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chip-list li { font-size: var(--text-xs); font-weight: 700; padding: var(--space-2) var(--space-3); border-radius: 999px; border: 1px solid rgb(255 255 255 / 0.28); background: rgb(255 255 255 / 0.06); }
.pyro-status { font-size: var(--text-sm); color: rgb(255 255 255 / 0.8); padding-left: var(--space-5); position: relative; }
.status-dot { position: absolute; left: 0; top: 0.45em; width: 9px; height: 9px; border-radius: 50%; background: #f2c94c; }
.pyro-card-dark .btn { justify-self: start; }
.pyro-research { display: grid; gap: var(--space-6); align-items: center; background: var(--surface); border: 1px solid var(--border); border-left: 5px solid var(--accent); border-radius: var(--radius-lg); padding: clamp(var(--space-6), 4vw, var(--space-10)); }
@media (min-width: 900px) { .pyro-research { grid-template-columns: 1.4fr 1fr; } }
.pyro-research h3 { font-size: var(--text-lg); margin-bottom: var(--space-3); }
.pyro-research p { color: var(--text-muted); font-size: var(--text-sm); max-width: 64ch; }
.partner-list { display: grid; gap: var(--space-2); }
.partner-list li { font-weight: 700; font-size: var(--text-sm); padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); background: var(--surface-2); }
.funding-note { margin-top: var(--space-8); font-size: var(--text-xs); color: var(--text-muted); max-width: 90ch; }


/* =========================================================
   Ergänzungen Pyrolyse (Okt. 2026)
   ========================================================= */
.img-note { font-size: var(--text-xs); color: var(--text-muted); margin-top: var(--space-2); }
.pyro-media .img-note { position: absolute; left: 0; bottom: 0; max-width: 44%; }

/* Verfahrensschema */
.scheme { margin-bottom: clamp(var(--space-12), 7vw, var(--space-20)); }
.scheme-head { display: grid; gap: var(--space-2); margin-bottom: var(--space-6); }
.scheme-head .pyro-subtitle { margin-bottom: 0; }
.scheme-intro { color: var(--text-muted); font-size: var(--text-sm); max-width: 70ch; }
.scheme-grid { display: grid; gap: var(--space-6); align-items: start; }
.scheme-steps { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.scheme-figure { max-width: 1000px; width: 100%; margin-inline: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(var(--space-3), 2vw, var(--space-6)); }
.scheme-svg { width: 100%; height: auto; display: block; font-family: var(--font); }
.scheme-svg .s-hall { stroke: var(--border); stroke-width: 3; stroke-dasharray: 2 8; stroke-linecap: round; }
.scheme-svg .s-ground { stroke: var(--text-muted); stroke-width: 2; }
.scheme-svg .s-vessel { fill: #55606a; stroke: #2c333a; stroke-width: 3; }
.scheme-svg .s-lid { fill: #7b8792; stroke: #2c333a; stroke-width: 2; }
.scheme-svg .s-unit { fill: var(--surface-2); stroke: var(--text-muted); stroke-width: 2; }
.scheme-svg .s-unit-hot { fill: color-mix(in srgb, #f0a13a 22%, var(--surface-2)); }
.scheme-svg .s-house { fill: var(--surface-2); stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; }
.scheme-svg .s-belt { fill: none; stroke: var(--text-muted); stroke-width: 10; stroke-linecap: round; opacity: 0.55; }
.scheme-svg .s-flow, .scheme-svg .s-gas, .scheme-svg .s-heat, .scheme-svg .s-water, .scheme-svg .s-pipe { fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.scheme-svg .s-flow { stroke: var(--accent); stroke-dasharray: 10 8; animation: flow 1.6s linear infinite; }
.scheme-svg .s-gas { stroke: #8f8676; stroke-dasharray: 4 7; animation: flow 1.2s linear infinite; }
.scheme-svg .s-heat { stroke: #e2562b; }
.scheme-svg .s-water { stroke: #3d7fb5; }
.scheme-svg .s-pipe { stroke: var(--text-muted); stroke-width: 6; }
.scheme-svg text { fill: var(--text); }
.scheme-svg .s-label { font-size: 20px; font-weight: 700; }
.scheme-svg .s-small { font-size: 15px; fill: var(--text-muted); }
.scheme-svg .s-onDark { fill: #fff; }
.scheme-svg .s-small.s-onDark { fill: rgb(255 255 255 / 0.85); }
.scheme-svg .s-hl { fill: var(--accent); opacity: 0; transition: opacity 240ms var(--ease); }
.scheme-svg .s-badges circle { fill: var(--brand); stroke: #fff; stroke-width: 3; transition: transform 240ms var(--ease); transform-box: fill-box; transform-origin: center; }
.scheme-svg .s-badges text { fill: #fff; font-size: 17px; font-weight: 700; text-anchor: middle; pointer-events: none; }
.scheme.is-active .s-zone .s-hl { opacity: 0; }
.scheme .s-zone.is-on .s-hl { opacity: 0.13; }
.scheme .s-badges g.is-on circle { transform: scale(1.25); fill: #e2562b; }
@keyframes flow { to { stroke-dashoffset: -36; } }

.scheme-steps { display: grid; gap: var(--space-2); }
.scheme-steps li { display: grid; grid-template-columns: auto 1fr; gap: var(--space-4); align-items: start; padding: var(--space-4) var(--space-5); border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); cursor: pointer; transition: border-color 200ms var(--ease), background-color 200ms var(--ease), transform 200ms var(--ease); }
.scheme-steps li:hover, .scheme-steps li.is-on, .scheme-steps li:focus-visible { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, var(--surface)); }
.scheme-steps li.is-on .cycle-num { background: #e2562b; }
.scheme-steps h4 { font-size: var(--text-base); margin: 0 0 var(--space-1); }
.scheme-steps p { font-size: var(--text-sm); color: var(--text-muted); }

/* Rohstoffe */
.feedstock { display: grid; gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: center; margin-bottom: clamp(var(--space-12), 7vw, var(--space-20)); }
@media (min-width: 960px) { .feedstock { grid-template-columns: 1fr 1fr; } }
.feedstock-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.feedstock-text > p { color: var(--text-muted); max-width: 58ch; }
.tag-list { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-block: var(--space-6); }
.tag-list li { font-size: var(--text-xs); font-weight: 700; padding: var(--space-2) var(--space-3); border-radius: 999px; background: var(--surface); border: 1px solid var(--border); }
.feedstock-note { font-size: var(--text-sm); }
.feedstock-note strong { color: var(--text); }

/* Mikroskop */
.micro { background: var(--soil); color: #fff; border-radius: var(--radius-lg); padding: clamp(var(--space-6), 4vw, var(--space-12)); margin-bottom: clamp(var(--space-12), 7vw, var(--space-20)); }
.micro-head { display: grid; gap: var(--space-6); align-items: end; margin-bottom: var(--space-8); }
@media (min-width: 900px) { .micro-head { grid-template-columns: 1.6fr 1fr; } }
.micro-head .pyro-subtitle { color: #fff; margin-bottom: var(--space-3); }
.micro-head p { color: rgb(255 255 255 / 0.8); font-size: var(--text-sm); max-width: 64ch; }
.micro-stat { margin: 0; padding: var(--space-5) var(--space-6); border: 1px solid rgb(255 255 255 / 0.2); border-radius: var(--radius); }
.micro-stat dt { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); font-weight: 700; line-height: 1; color: #8be06f; }
.micro-stat dd { margin: var(--space-2) 0 0; font-size: var(--text-xs); color: rgb(255 255 255 / 0.75); }
.micro-grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.micro-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); filter: contrast(1.05); }
.micro-grid figcaption { margin-top: var(--space-3); font-size: var(--text-xs); color: rgb(255 255 255 / 0.75); line-height: 1.5; }
.micro-grid figcaption strong { color: #fff; }

/* Nutzen */
.benefits { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-bottom: var(--space-6); }
.benefits li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--space-6); display: grid; gap: var(--space-2); align-content: start; }
.benefit-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); margin-bottom: var(--space-2); }
.benefits h4 { font-size: var(--text-base); margin: 0; }
.benefits p { font-size: var(--text-sm); color: var(--text-muted); }

/* Vergleich */
.compare { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(var(--space-5), 3vw, var(--space-8)); margin-bottom: clamp(var(--space-12), 7vw, var(--space-20)); }
.compare-title { font-size: var(--text-base); margin-bottom: var(--space-4); }
.table-wrap { overflow-x: auto; }
.compare table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); min-width: 520px; }
.compare th, .compare td { text-align: left; padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--border); vertical-align: top; }
.compare thead th { font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.compare thead th:last-child { color: var(--accent); }
.compare tbody th { font-weight: 700; white-space: nowrap; }
.compare td { color: var(--text-muted); }
.compare td:last-child { color: var(--text); font-weight: 700; }
.compare tbody tr:last-child > * { border-bottom: 0; }

/* Meilensteine */
.timeline-wrap { margin-block: clamp(var(--space-12), 7vw, var(--space-20)); }
.timeline { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border-top: 3px solid var(--accent); }
.timeline li { position: relative; padding: var(--space-6) var(--space-5) 0 0; min-width: 0; }
.timeline li::before { content: ""; position: absolute; top: -9px; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--surface-2); border: 3px solid var(--accent); }
.timeline li.is-now::before { background: #f2c94c; border-color: #f2c94c; }
.tl-year { display: block; font-weight: 700; font-size: var(--text-lg); color: var(--accent); margin-bottom: var(--space-1); }
.timeline p { font-size: var(--text-sm); color: var(--text-muted); hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
@media (max-width: 700px) {
  .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 3px solid var(--accent); margin-left: 7px; }
  .timeline li { padding: 0 0 var(--space-6) var(--space-6); }
  .timeline li::before { top: 4px; left: -9px; }
}

/* FAQ */
.faq { display: grid; gap: var(--space-2); margin-bottom: clamp(var(--space-12), 7vw, var(--space-20)); }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.faq summary { cursor: pointer; list-style: none; padding: var(--space-4) var(--space-12) var(--space-4) var(--space-5); font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: var(--space-5); top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: translateY(-70%) rotate(45deg); transition: transform 200ms var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { padding: 0 var(--space-5) var(--space-5); color: var(--text-muted); font-size: var(--text-sm); max-width: 80ch; }

/* EU-Förderung */
.funding { background: #fff; color: #1d1a15; border-top: 6px solid #003399; }
.funding-grid { display: grid; gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: center; }
@media (min-width: 960px) { .funding-grid { grid-template-columns: 1fr 1fr; } }
.funding-eu { font-size: var(--text-sm); color: #003399; margin-bottom: var(--space-4); }
.funding-eu strong { display: block; font-size: var(--text-lg); line-height: 1.25; }
.funding-title { font-size: var(--text-xl); margin-bottom: var(--space-3); }
.funding-lead { color: #3e3a33; max-width: 56ch; margin-bottom: var(--space-6); }
.funding-logos { width: 100%; max-width: 520px; margin-bottom: var(--space-5); }
.funding-small { font-size: var(--text-xs); color: #5d574c; max-width: 70ch; }
.funding-board { display: block; position: relative; padding: 0; border: 1px solid #d9d2c2; border-radius: var(--radius); overflow: hidden; background: #fff; cursor: zoom-in; box-shadow: 0 20px 40px -24px rgb(0 0 0 / 0.35); transition: transform 260ms var(--ease); }
.funding-board:hover { transform: translateY(-3px); }
.funding-board img { width: 100%; }
.funding-zoom { position: absolute; right: var(--space-3); bottom: var(--space-3); font: 700 var(--text-xs)/1 var(--font); padding: var(--space-2) var(--space-3); border-radius: 999px; background: #003399; color: #fff; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1400px); width: 100%; }
.lightbox::backdrop { background: rgb(10 14 9 / 0.86); }
.lightbox img { width: 100%; height: auto; border-radius: var(--radius); background: #fff; }
.lightbox form { position: absolute; right: var(--space-3); top: var(--space-3); }
.lightbox-close { background: #fff; color: #1d1a15; border-color: #fff; }

/* ---------- Video ---------- */
.video-section { background: var(--soil); color: #fff; }
.video-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 40px 80px -40px rgb(0 0 0 / 0.8); border: 1px solid rgb(255 255 255 / 0.1); max-width: 1000px; margin-inline: auto; background: #000; }
.video-frame video { width: 100%; aspect-ratio: 16 / 9; }

/* ---------- Über uns ---------- */
.about-grid { display: grid; gap: clamp(var(--space-10), 6vw, var(--space-20)); align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 0.85fr 1.15fr; } }
.about-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); max-width: 460px; }
.about-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 30%; }
.about-text > p { color: var(--text-muted); max-width: 60ch; margin-top: var(--space-5); }
.about-text .section-title { margin-bottom: var(--space-2); }
.about-strip { display: grid; grid-template-columns: 1.6fr 1fr; gap: var(--space-3); margin-top: var(--space-10); }
.about-strip img { width: 100%; height: 200px; object-fit: cover; border-radius: var(--radius); }

/* ---------- Kontakt / Visitenkarte ---------- */
.contact { background: var(--surface-2); }
.biz-card {
  max-width: 760px; margin-inline: auto;
  aspect-ratio: 1076 / 722;
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(var(--space-6), 5vw, var(--space-12));
  display: grid; grid-template-rows: auto 1fr;
  box-shadow: 0 40px 70px -35px rgb(16 64 11 / 0.55), 0 2px 6px rgb(0 0 0 / 0.12);
  transform: rotate(-1.2deg);
  transition: transform 400ms var(--ease);
}
.biz-card:hover { transform: rotate(0deg) translateY(-4px); }
.biz-top { text-align: center; }
.biz-name { font-size: clamp(1.5rem, 1rem + 2.4vw, 2.6rem); font-weight: 700; }
.biz-addr { margin-top: var(--space-2); font-size: clamp(0.95rem, 0.8rem + 0.8vw, 1.35rem); }
.biz-addr span { margin-inline: var(--space-3); opacity: 0.8; }
.biz-bottom { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: var(--space-6); }
.biz-logo { width: clamp(70px, 14vw, 130px); aspect-ratio: 789 / 1269; color: #0b0b0b; }
.biz-lines { text-align: right; display: grid; gap: var(--space-1); font-weight: 700; font-size: clamp(0.95rem, 0.8rem + 0.8vw, 1.4rem); }
.biz-lines a { text-decoration: none; }
.biz-lines a:hover { text-decoration: underline; text-underline-offset: 4px; }
.biz-tel { margin-top: var(--space-3); }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); margin-top: clamp(var(--space-10), 6vw, var(--space-16)); }
@media (max-width: 560px) {
  .biz-card { aspect-ratio: auto; gap: var(--space-8); transform: none; }
  .biz-bottom { grid-template-columns: 1fr; justify-items: center; }
  .biz-lines { text-align: center; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-deep); color: rgb(255 255 255 / 0.85); padding-block: var(--space-8); font-size: var(--text-xs); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-4); }
.site-footer nav { display: flex; gap: var(--space-6); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* ---------- Scroll-Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-bg { transform: none; }
}

/* ---------- Rechtliche Seiten ---------- */
.legal-inner { max-width: 760px; }
.legal h1 { margin-bottom: var(--space-6); }
.legal h2 { font-size: var(--text-lg); margin-top: var(--space-8); margin-bottom: var(--space-2); }
.legal p { color: var(--text-muted); margin-bottom: var(--space-3); }
.legal-note { padding: var(--space-4) var(--space-5); border-left: 4px solid var(--accent); background: var(--surface); border-radius: var(--radius-sm); }
.legal mark { background: color-mix(in srgb, #f2c94c 45%, transparent); color: var(--text); padding: 0 var(--space-1); border-radius: 3px; }
@media (max-width: 700px) {
  .scheme-figure { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .scheme-svg { min-width: 640px; }
  .scheme-figure .img-note::after { content: " · Zum Ansehen seitlich wischen."; }
}

/* =========================================================
   Neuaufbau Frimhöring: Betriebe + sechs Gewerke
   ========================================================= */
.nav-sale { color: var(--accent) !important; }
@media (min-width: 1181px) and (max-width: 1320px) { .header-call span { display: none; } .main-nav ul { gap: var(--space-4); } }

/* Hero */
a.stock-badge { text-decoration: none; color: #fff; }
a.stock-badge:hover { background: rgb(255 255 255 / 0.24); }

/* Übersicht */
.overview { background: var(--bg); }
.companies { display: grid; gap: var(--space-4); margin-bottom: clamp(var(--space-12), 7vw, var(--space-20)); }
@media (min-width: 900px) { .companies { grid-template-columns: repeat(3, 1fr); } }
.company { background: var(--surface); border: 1px solid var(--border); border-top: 5px solid var(--brand); border-radius: var(--radius-lg); padding: var(--space-6) var(--space-6) var(--space-8); display: grid; gap: var(--space-3); align-content: start; box-shadow: var(--shadow); }
.company-kind { font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.company h3 { font-size: var(--text-lg); line-height: 1.2; }
.company p { color: var(--text-muted); font-size: var(--text-sm); }
.company-links { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-2); }
.company-links a { display: inline-block; font-size: var(--text-xs); font-weight: 700; text-decoration: none; color: var(--accent); border: 1px solid var(--border); border-radius: 999px; padding: var(--space-1) var(--space-3); }
.company-links a:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); }

.gw-grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); margin-bottom: clamp(var(--space-12), 7vw, var(--space-20)); }
.gw-tile a { position: relative; display: grid; height: 100%; min-height: 280px; border-radius: var(--radius-lg); overflow: hidden; color: #fff; text-decoration: none; background: var(--soil); box-shadow: var(--shadow); isolation: isolate; }
.gw-tile-media, .gw-tile-body { grid-area: 1 / 1; }
.gw-tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.gw-tile a:hover .gw-tile-media img { transform: scale(1.06); }
.gw-tile-body { align-self: end; display: grid; gap: var(--space-1); padding: var(--space-16) var(--space-6) var(--space-6); background: linear-gradient(0deg, rgb(14 20 12 / 0.94) 0%, rgb(14 20 12 / 0.65) 55%, rgb(14 20 12 / 0) 100%); z-index: 1; }
.gw-tile-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--brand); border: 2px solid #fff; margin-bottom: var(--space-2); }
.gw-tile-icon svg { width: 22px; height: 22px; }
.gw-tile-title { font-size: var(--text-lg); font-weight: 700; }
.gw-tile-firm { font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #b9e3a8; }
.gw-tile-text { font-size: var(--text-sm); color: rgb(255 255 255 / 0.85); }
.gw-tile-water a { background: linear-gradient(160deg, #1f5f7a 0%, #10400b 100%); }
.gw-tile-art { display: grid; place-items: center; height: 100%; color: rgb(255 255 255 / 0.18); }
.gw-tile-art svg { width: 55%; height: auto; }
.gw-tile-plan .gw-tile-media { background: #fff; }
.gw-tile-plan .gw-tile-media img { object-position: 40% 40%; }
.gw-ribbon { position: absolute; top: var(--space-4); left: var(--space-4); z-index: 2; background: #fff; color: var(--brand); font-weight: 700; font-size: var(--text-sm); padding: var(--space-2) var(--space-4); border-radius: 999px; box-shadow: 0 6px 18px -6px rgb(0 0 0 / 0.5); }
.gw-tile-sale a { outline: 3px solid var(--brand-bright); outline-offset: 3px; }

.loop { display: grid; gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: center; }
@media (min-width: 900px) { .loop { grid-template-columns: 0.75fr 1.25fr; } }
.loop-media img { width: 100%; max-width: 420px; border-radius: var(--radius-lg); box-shadow: var(--shadow); margin-inline: auto; }
.loop-media .img-note { text-align: center; }
.cycle-vertical { grid-template-columns: 1fr !important; }
.loop-note { margin-top: var(--space-5); font-weight: 700; color: var(--accent); }

/* Gewerk-Kopf */
.gw { position: relative; }
.gw-alt { background: var(--surface-2); }
.gw-head { display: grid; gap: var(--space-6); align-items: end; margin-bottom: clamp(var(--space-8), 5vw, var(--space-16)); }
@media (min-width: 900px) { .gw-head { grid-template-columns: auto 1fr 1fr; } }
.gw-num { font-size: clamp(3rem, 2rem + 4vw, 6rem); font-weight: 700; line-height: 0.8; color: transparent; -webkit-text-stroke: 2px var(--accent); }
.gw-firm { margin-top: var(--space-3); font-size: var(--text-sm); font-weight: 700; color: var(--accent); }
.gw-firm::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 2px; background: var(--accent); margin-right: var(--space-2); vertical-align: 0.05em; }
.gw-num-inline { display: inline-block; font-weight: 700; padding: 0 var(--space-2); margin-right: var(--space-2); border: 1px solid rgb(255 255 255 / 0.6); border-radius: 4px; }

.gw-split { display: grid; gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: center; }
@media (min-width: 960px) { .gw-split { grid-template-columns: 1fr 1fr; } }
.gw-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; }
.gw-media-plan img { aspect-ratio: auto; background: #fff; object-fit: contain; }
.gw-text h3 { font-size: var(--text-lg); margin-bottom: var(--space-4); }
.gw-text > p { color: var(--text-muted); max-width: 60ch; }
.gw-text > p + p { margin-top: var(--space-4); }
.gw-text .tag-list { margin-block: var(--space-5); }
.gw-callout { margin-top: var(--space-6); background: var(--surface); border: 1px solid var(--border); border-left: 5px solid var(--accent); border-radius: var(--radius); padding: var(--space-5) var(--space-6); display: grid; gap: var(--space-2); justify-items: start; }
.gw-alt .gw-callout { background: var(--bg); }
.gw-callout h4 { font-size: var(--text-base); }
.gw-callout p { color: var(--text-muted); font-size: var(--text-sm); }
.gw-callout .btn { margin-top: var(--space-2); }

/* Wasserkraft */
.water-grid { display: grid; gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: start; }
@media (min-width: 960px) { .water-grid { grid-template-columns: 1fr 1.1fr; } }
.water-panel { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(160deg, #1f5f7a 0%, #17506a 40%, var(--brand-deep) 100%); color: #fff; padding: clamp(var(--space-8), 5vw, var(--space-12)); padding-bottom: clamp(var(--space-16), 9vw, var(--space-24)); box-shadow: var(--shadow); }
.water-waves { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 90px; }
.water-waves path:first-child { fill: rgb(255 255 255 / 0.08); }
.water-waves path:last-child { fill: rgb(255 255 255 / 0.12); }
.water-facts { position: relative; display: grid; gap: var(--space-6); }
.water-facts dt { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); font-weight: 700; line-height: 1; }
.water-facts dd { margin-top: var(--space-2); color: rgb(255 255 255 / 0.85); font-size: var(--text-sm); max-width: 40ch; }
.chronicle { display: grid; gap: 0; margin-top: var(--space-6); border-left: 2px solid var(--border); }
.chronicle li { position: relative; padding: var(--space-2) 0 var(--space-2) var(--space-6); font-size: var(--text-sm); color: var(--text-muted); }
.chronicle li::before { content: ""; position: absolute; left: -6px; top: 1em; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.chronicle span { display: inline-block; min-width: 4.5em; font-weight: 700; color: var(--text); }

/* Pyrolyse: Anlagen-Galerie */
.plant-gallery { margin-block: clamp(var(--space-12), 7vw, var(--space-20)); }
.plant-grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.plant-grid p { margin-top: var(--space-2); font-size: var(--text-sm); color: var(--text-muted); }
.plant-item { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.plant-grid .plant-item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 700ms var(--ease); }
.plant-item:hover img { transform: scale(1.05); }
.plant-item:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.s-tub { fill: var(--surface-2); stroke: var(--text-muted); stroke-width: 2; }

/* Kompostierung: Schlagzeile */
.sale { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--soil); }
.sale-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.sale-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(16 64 11 / 0.95) 0%, rgb(16 64 11 / 0.8) 45%, rgb(28 23 18 / 0.3) 100%); }
.sale-inner { position: relative; padding-block: clamp(var(--space-20), 12vw, var(--space-32)); }
.sale-title { font-size: clamp(3rem, 1rem + 7vw, 7.5rem); font-weight: 700; line-height: 0.92; letter-spacing: -0.025em; margin-block: var(--space-4) var(--space-6); }
.sale-title span { display: inline-block; padding-bottom: 0.08em; background: linear-gradient(#fff, #fff) left bottom / 100% 0.06em no-repeat; }
.sale-lead { max-width: 46ch; font-size: var(--text-lg); line-height: 1.45; color: rgb(255 255 255 / 0.92); margin-bottom: var(--space-8); }
.sale-stamp { position: absolute; right: clamp(var(--space-5), 4vw, var(--space-12)); top: clamp(var(--space-8), 6vw, var(--space-16)); display: inline-flex; align-items: center; gap: var(--space-2); font-weight: 700; font-size: var(--text-sm); padding: var(--space-3) var(--space-5); border-radius: 999px; background: #fff; color: var(--brand); transform: rotate(4deg); box-shadow: 0 10px 30px -10px rgb(0 0 0 / 0.6); }
@media (max-width: 700px) { .sale-stamp { position: static; transform: none; margin-top: var(--space-6); } .sale-shade { background: linear-gradient(0deg, rgb(16 64 11 / 0.96) 0%, rgb(16 64 11 / 0.82) 60%, rgb(16 64 11 / 0.5) 100%); } }

/* Landwirtschaft */
.farm-grid { display: grid; gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: center; }
@media (min-width: 960px) { .farm-grid { grid-template-columns: 1.05fr 1fr; } }
.farm-mosaic { display: grid; gap: var(--space-3); grid-template-columns: 1.6fr 1fr; grid-template-rows: 220px 180px; }
.farm-mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.fm-a { grid-column: 1; grid-row: 1; }
.fm-b { grid-column: 2; grid-row: 1 / span 2; }
.fm-c { grid-column: 1; grid-row: 2; }
@media (max-width: 560px) { .farm-mosaic { grid-template-rows: 160px 130px; } }

/* Nahwärme */
.heat-facts { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* Kontakt */
.contact-firms { display: grid; gap: var(--space-3); max-width: 760px; margin: clamp(var(--space-8), 5vw, var(--space-12)) auto 0; }
@media (min-width: 760px) { .contact-firms { grid-template-columns: repeat(3, 1fr); } }
.contact-firms li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--space-4) var(--space-5); display: grid; gap: var(--space-1); text-align: center; }
.contact-firms span { font-size: var(--text-xs); color: var(--text-muted); }
.contact-note { text-align: center; color: var(--text-muted); font-size: var(--text-sm); margin-top: var(--space-4); }
.lightbox { width: auto; }
.lightbox img { display: block; width: auto; max-width: 100%; max-height: 90vh; margin-inline: auto; }
.hero-title span { font-size: 0.5em; line-height: 1.05; margin-top: 0.15em; }
.cycle-vertical li::after { display: none !important; }
.water-facts dd { margin-left: 0; }
.water-text > p { color: var(--text-muted); max-width: 60ch; margin-top: var(--space-3); }
.water-text h3 { font-size: var(--text-lg); }
.sale-bg { transform: scaleX(-1); object-position: 50% 70%; }
.sale-shade { background: linear-gradient(90deg, rgb(16 64 11 / 0.96) 0%, rgb(16 64 11 / 0.82) 42%, rgb(16 64 11 / 0.15) 75%, rgb(28 23 18 / 0) 100%); }
.gw-tile-sale .gw-tile-media img { object-position: 0% 85%; }
@media (max-width: 560px) { .plant-grid { grid-template-columns: 1fr 1fr; } }
.header-call { white-space: nowrap; }
@media (min-width: 1181px) and (max-width: 1480px) { .header-call span { display: none; } }
.hero-title span { letter-spacing: 0; }
.brand-sub, .brand-name { white-space: nowrap; }
.gw-media-duo { display: grid; gap: 1rem; align-content: start; }
.gw-media-duo figure { margin: 0; }
.gw-media-duo figcaption { font-size: .85rem; color: var(--color-text-muted, #6b6459); margin-top: .4rem; }
.gw-media-duo figcaption span { opacity: .8; }
#trocknung .gw-text h3 + p { margin-bottom: 1.5rem; }
/* v3.2: vier Betriebe, sieben Gewerke */
@media (min-width: 700px) { .companies { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .companies { grid-template-columns: repeat(4, 1fr); } .gw-grid { grid-template-columns: repeat(4, 1fr); } }
/* v3.4: grünes Kennzahlen-Fenster Photovoltaik */
.pv-panel { background: linear-gradient(160deg, #2a7a1c 0%, var(--brand, #195610) 45%, #10400B 100%); padding-bottom: clamp(var(--space-8), 5vw, var(--space-12)); margin-bottom: var(--space-8); }
.pv-sun { position: absolute; right: -18px; top: -18px; width: 140px; height: 140px; fill: rgb(255 255 255 / 0.10); stroke: rgb(255 255 255 / 0.10); }
.trock-facts { margin-top: clamp(var(--space-12), 7vw, var(--space-20)); margin-bottom: 0; }
.trock-facts strong { font-size: clamp(1.9rem, 1.3rem + 1.7vw, 2.6rem); white-space: nowrap; }
.companies-title { margin-top: clamp(var(--space-12), 7vw, var(--space-20)); }
#frimhoering .companies { margin-bottom: 0; }
/* v3.12: Gewerk-Buttons in den Betriebskarten unten ausrichten */
.company { display: flex; flex-direction: column; }
.company > p { margin-bottom: var(--space-2); }
.company-links { margin-top: auto; align-content: flex-end; }
.gw-lead { padding-bottom: 0; }
.gw-lead .gw-head { margin-bottom: clamp(var(--space-8), 5vw, var(--space-12)); }
.sale-title { margin-top: 0; }
.facts-sub { display: grid; gap: var(--space-1); margin: 0; padding: 0; list-style: none; font-size: var(--text-sm); color: rgb(255 255 255 / 0.85); max-width: 30ch; }
.facts-sub li { position: relative; padding-left: 1.1em; }
.facts-sub li::before { content: "–"; position: absolute; left: 0; }
.pyro-facts .facts-sub li { display: block; background: none; padding: 0 0 0 1.1em; color: rgb(255 255 255 / 0.85); line-height: 1.5; }
.pyro-facts .facts-sub li::before { top: 0; }
.farm-facts li { gap: var(--space-1); }
.farm-facts strong { margin-bottom: var(--space-2); }
.farm-facts .facts-sub { margin-top: var(--space-1); }
.step-photo-tall img { object-position: 50% 60%; }
/* v3.19: vier Betriebe im Kontakt nebeneinander */
@media (min-width: 600px) { .contact-firms { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .contact-firms { grid-template-columns: repeat(4, 1fr); max-width: 1100px; } }
.contact-firms li { align-content: start; }
/* v3.21: Wasserkraft – Wartung & Netzwerk */
.wk-care { margin-top: clamp(var(--space-12), 7vw, var(--space-20)); }
.wk-care-head { max-width: 760px; }
.wk-care-head .pyro-subtitle, .wk-network .pyro-subtitle { margin-bottom: var(--space-2); }
.wk-care-lead { color: var(--text-muted); margin-bottom: var(--space-6); }
.wk-gallery { display: grid; gap: var(--space-4); grid-template-columns: 1fr 1fr; }
.wk-gallery p { margin-top: var(--space-2); font-size: var(--text-sm); color: var(--text-muted); }
.wk-gallery .plant-item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 700ms var(--ease); }
.wk-shot-wide { grid-column: 1 / -1; }
.wk-gallery .wk-shot-wide .plant-item img { aspect-ratio: 2 / 1; }
.wk-gallery .wk-shot-shaft .plant-item img { object-position: 50% 15%; }
.wk-shot { position: relative; }
.wk-shot p { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: var(--space-8) var(--space-4) var(--space-3); color: #fff; font-size: var(--text-xs); background: linear-gradient(to top, rgba(12,10,8,.78), rgba(12,10,8,0)); border-radius: 0 0 var(--radius-lg) var(--radius-lg); pointer-events: none; }
@media (min-width: 900px) {
  .wk-gallery { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 300px 300px; }
  .wk-shot .plant-item { height: 100%; }
  .wk-gallery .plant-item img, .wk-gallery .wk-shot-wide .plant-item img { aspect-ratio: auto; height: 100%; }
  .wk-gallery .wk-shot:nth-child(1) { grid-column: 1; grid-row: 1; }
  .wk-gallery .wk-shot:nth-child(2) { grid-column: 2; grid-row: 1 / 3; }
  .wk-gallery .wk-shot:nth-child(3) { grid-column: 1; grid-row: 2; }
  .wk-gallery .wk-shot:nth-child(4) { grid-column: 3; grid-row: 1 / 3; }
}
.wk-network { margin-top: clamp(var(--space-12), 6vw, var(--space-16)); }
.wk-network .companies { margin-bottom: 0; }
.partner h4 { font-size: var(--text-lg); line-height: 1.2; }
.partner-imprint { display: grid; gap: var(--space-1); font-size: var(--text-xs); color: var(--text-muted); border-top: 1px solid var(--border); padding-top: var(--space-3); margin-bottom: var(--space-2); }
.partner-imprint div { display: grid; gap: 0; }
.partner-imprint dt { font-size: 0.68rem; letter-spacing: .06em; text-transform: uppercase; }
.partner-imprint dt { font-weight: 700; color: var(--text); }
.partner-imprint a { color: var(--accent); text-decoration: none; overflow-wrap: anywhere; }
.partner-imprint a:hover { text-decoration: underline; }
.gw-tile-water .gw-tile-media img { object-position: 45% 50%; }
.partner-imprint dd { margin: 0; }
