/* archetype: studio */
:root {
  --color-bg: #F4F7F5;
  --color-text: #17231D;
  --color-accent: #0A7A43;
  --color-surface: #FFFFFF;
  --color-header: #10201A;
  --color-header-text: #EAF2EE;
  --brand-green: #05E88A;
  --btn-text: #0C1A14;
  --font-heading: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --border-radius-base: 12px;
  --heading-weight: 700;
  --heading-letter-spacing: -0.02em;
  --section-padding: 2rem 0;
  --card-shadow: 0 6px 20px rgba(0,0,0,0.08);
  --card-shadow-lg: 0 8px 24px rgba(0,0,0,0.10);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: 1040px; margin: 0 auto; padding-left: 1.2rem; padding-right: 1.2rem; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: var(--heading-weight);
  letter-spacing: var(--heading-letter-spacing);
  line-height: 1.18;
  color: var(--color-text);
}
h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 1.1rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 2.6rem 0 1.1rem; }
h2::before {
  content: '';
  display: inline-block;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--color-accent);
  margin-right: 0.55rem;
  vertical-align: middle;
}
h3 { font-size: 1.3rem; margin: 1.7rem 0 0.6rem; letter-spacing: -0.01em; }
h4 { font-size: 1.08rem; margin: 1.2rem 0 0.5rem; letter-spacing: -0.01em; }

p { margin: 0 0 1rem; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
strong { font-weight: 600; color: var(--color-text); }

main { padding: 1.8rem 0 2.5rem; }
section, .content-section { padding: var(--section-padding); }

ul, ol { margin: 0 0 1.15rem; padding-left: 1.4rem; }
li { margin-bottom: 0.45rem; }
ul ul { margin: 0.4rem 0 0.2rem; }

img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
.img-center { margin: 1.9rem auto; border-radius: var(--border-radius-base); box-shadow: var(--card-shadow-lg); }
.img-float-right { float: right; margin: 0.4rem 0 1rem 1.5rem; max-width: 400px; border-radius: var(--border-radius-base); box-shadow: var(--card-shadow-lg); }
.img-float-left { float: left; margin: 0.4rem 1.5rem 1rem 0; max-width: 400px; border-radius: var(--border-radius-base); box-shadow: var(--card-shadow-lg); }

/* ---------- Header (dark bar so the neon-green logo pops) ---------- */
.site-header { background: var(--color-header); position: sticky; top: 0; z-index: 50; }
.site-header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  flex-wrap: wrap;
}
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 34px; width: auto; display: block; }
.primary-nav { display: flex; align-items: center; gap: 0.2rem; flex-wrap: wrap; }
.nav-link {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-header-text);
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  transition: color .15s, background .15s;
}
.nav-link:hover { color: var(--brand-green); background: rgba(255,255,255,0.06); text-decoration: none; }

/* CSS-only hamburger (mandatory, no JS) */
.nav-toggle-input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.nav-toggle { display: none; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-header-text); border-radius: 2px; }
.nav-toggle-input:focus-visible ~ .nav-toggle { outline: 2px solid var(--brand-green); outline-offset: 2px; }

/* ---------- Footer (dark, matches header) ---------- */
.site-footer {
  background: var(--color-header);
  color: var(--color-header-text);
  padding: 2rem 0;
  margin-top: 3rem;
  font-size: 0.9rem;
}
.site-footer-inner { display: flex; flex-direction: column; gap: 0.45rem; }
.site-footer a { color: var(--brand-green); font-weight: 600; }

/* ---------- Buttons (cta-btn) — brand-green pill ---------- */
.text-center { text-align: center; }
.my-2 { margin-top: 1.4rem; margin-bottom: 1.4rem; }
.cta-btn {
  display: inline-block;
  padding: 0.8rem 2.2rem;
  background-color: var(--brand-green);
  color: var(--btn-text);
  border: none;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(5,232,138,0.35);
  font-family: var(--font-heading);
  font-weight: 700;
  text-decoration: none;
  font-size: 1.02rem;
  transition: transform .15s, box-shadow .15s;
}
.cta-btn:hover { color: var(--btn-text); text-decoration: none; transform: translateY(-1px); box-shadow: 0 10px 26px rgba(5,232,138,0.45); }

.clear{content:"";display:block;clear:both;height:0;visibility:hidden;}
/* ---------- Table (info-table) — STUDIO card rows ---------- */
.info-table { width: 100%; border-collapse: separate; border-spacing: 0 0.55rem; margin: 1.7rem 0; }
.info-table thead th {
  background: rgba(10,122,67,0.12);
  color: var(--color-text);
  padding: 0.85rem 1.1rem;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 700;
}
.info-table thead th:first-child { border-radius: var(--border-radius-base) 0 0 var(--border-radius-base); }
.info-table thead th:last-child { border-radius: 0 var(--border-radius-base) var(--border-radius-base) 0; }
.info-table tbody tr { box-shadow: var(--card-shadow); }
.info-table tbody td { background: var(--color-surface); color: var(--color-text); padding: 0.8rem 1.1rem; }
.info-table tbody td:first-child { border-radius: var(--border-radius-base) 0 0 var(--border-radius-base); font-weight: 600; }
.info-table tbody td:last-child { border-radius: 0 var(--border-radius-base) var(--border-radius-base) 0; }

@media (max-width: 768px) {
  .info-table { border-spacing: 0; }
  .info-table thead { display: none; }
  .info-table tbody tr { display: block; margin-bottom: 1rem; border-radius: var(--border-radius-base); box-shadow: var(--card-shadow); overflow: hidden; }
  .info-table tbody td { display: flex; justify-content: space-between; gap: 0.75rem; padding: 0.6rem 0.9rem; border-radius: 0; }
  .info-table tbody td:not(:last-child) { border-bottom: 1px solid var(--color-bg); }
  .info-table td::before { content: attr(data-label); font-weight: 700; color: var(--color-accent); flex-shrink: 0; }
}

/* ---------- Pros/Cons (compare-block) — always generated ---------- */
.compare-block { margin: 1.7rem 0; padding: 1.3rem; background: var(--color-surface); border-radius: 16px; box-shadow: var(--card-shadow); }
.compare-block h4 { color: var(--color-accent); font-weight: 700; margin-top: 0; margin-bottom: 0.6rem; }
.compare-block h4::before { content: '•'; margin-right: 0.4rem; color: var(--color-accent); }
.compare-block ul { padding-left: 1.2rem; margin: 0; }
.compare-block li { margin-bottom: 0.4rem; }

/* ---------- Note (note-box) — always generated ---------- */
.note-box { position: relative; margin: 1.4rem 0; padding: 1rem 1.2rem; background: var(--color-surface); border-radius: var(--border-radius-base); box-shadow: var(--card-shadow); color: var(--color-text); font-size: 0.97rem; }
.note-box::before { content: "Hinweis"; display: block; font-weight: 700; color: var(--color-accent); margin-bottom: 0.25rem; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- Injected: highlight-box (focus-block) ---------- */
.focus-block { margin: 1.7rem 0; padding: 1.3rem 1.5rem; background: var(--color-surface); border-radius: 16px; box-shadow: var(--card-shadow-lg); }
.focus-block p { margin: 0; }

/* ---------- Injected: quick-facts (fact-strip / fact-item) ---------- */
.fact-strip { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.7rem 0; }
.fact-item { flex: 1 1 140px; text-align: center; padding: 1.1rem 0.9rem; background: var(--color-surface); border-radius: 14px; box-shadow: var(--card-shadow); font-weight: 600; }

/* ---------- Injected: tip-box (insight-box / insight-icon) ---------- */
.insight-box { position: relative; margin: 1.7rem 0; padding: 1.1rem 1.3rem 1.1rem 3rem; background: var(--color-surface); border-radius: 14px; box-shadow: var(--card-shadow); }
.insight-icon { position: absolute; left: 1.1rem; top: 1.1rem; color: var(--color-accent); font-size: 1.2rem; }

/* ---------- Injected: section-divider (section-break) ---------- */
.section-break { width: 60px; height: 3px; margin: 2.6rem auto; background: linear-gradient(90deg, var(--color-accent), transparent); border-radius: 3px; }

/* ---------- Injected: stat-block (numbers-panel) ---------- */
.numbers-panel { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.9rem 0; }
.number-item { flex: 1 1 150px; text-align: center; padding: 1.3rem 0.9rem; background: var(--color-surface); border-radius: 16px; box-shadow: var(--card-shadow); }
.big-number { display: block; font-family: var(--font-heading); font-size: 2.6em; line-height: 1; color: var(--color-accent); font-weight: 700; }
.number-label { display: block; margin-top: 0.4rem; font-size: 0.8em; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-text); opacity: 0.7; }

/* ---------- Injected: callout (standout-block) — accent-tinted rounded card ---------- */
.standout-block { margin: 2rem 0; padding: 1.6rem 2rem; background: rgba(10,122,67,0.10); border-radius: 16px; box-shadow: var(--card-shadow); text-align: center; font-size: 1.12rem; font-weight: 600; color: var(--color-text); }
.standout-block p { margin: 0; }

/* ---------- Injected: badge-row (trust-badges / trust-badge) ---------- */
.trust-badges { display: flex; flex-wrap: wrap; gap: 0.55rem; margin: 1.5rem 0; }
.trust-badge { border: 1.5px solid var(--color-accent); color: var(--color-accent); background: rgba(10,122,67,0.06); padding: 0.32rem 0.9rem; border-radius: 999px; font-size: 0.85em; font-weight: 600; }

/* ---------- Injected: steps-compact (process-steps) ---------- */
.process-steps { display: flex; flex-wrap: wrap; gap: 1.2rem; margin: 1.7rem 0; }
.process-item { display: flex; align-items: center; gap: 0.6rem; flex: 1 1 200px; }
.process-num { flex-shrink: 0; width: 2.1em; height: 2.1em; background: var(--color-accent); color: #fff; border-radius: 50%; text-align: center; line-height: 2.1em; font-weight: 700; font-family: var(--font-heading); }
.process-label { font-size: 0.9em; font-weight: 600; }

/* ---------- Structure: col-2/col-3 h3 (split-cols / tri-panel / panel-item) ---------- */
.split-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin: 1.6rem 0; }
.tri-panel { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.2rem; margin: 1.6rem 0; }
.panel-item { padding: 1.3rem 1.4rem; background: var(--color-surface); border-radius: 14px; box-shadow: var(--card-shadow); }
.panel-item h3 { margin-top: 0; }

/* ---------- Structure: list-cards (feature-cards) ---------- */
.feature-cards { list-style: none; padding: 0; margin: 1.6rem 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature-cards li { margin: 0; padding: 1rem 1.1rem; text-align: center; background: var(--color-surface); border-radius: var(--border-radius-base); box-shadow: var(--card-shadow); font-weight: 600; }

/* ---------- Structure: list-icon (feature-list) — rounded chevron ---------- */
.feature-list { list-style: none; padding-left: 0; }
.feature-list li { position: relative; padding-left: 1.6rem; }
.feature-list li::before { content: "\203A"; position: absolute; left: 0; color: var(--color-accent); font-weight: 700; font-size: 1.2em; line-height: 1.1; }

/* ---------- Structure: list-steps (numbered-steps) — accent circle numerals ---------- */
.numbered-steps { list-style: none; padding-left: 0; counter-reset: step; }
.numbered-steps li { position: relative; padding-left: 3rem; margin-bottom: 1rem; min-height: 2.2rem; }
.numbered-steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 2.1rem; height: 2.1rem; background: var(--color-accent); color: #fff; border-radius: 50%; text-align: center; line-height: 2.1rem; font-family: var(--font-heading); font-weight: 700; }

/* ---------- Structure: intro-block (lead-section) — rounded surface card ---------- */
.lead-section { padding: 1.6rem 1.8rem; background: var(--color-surface); border-radius: 16px; box-shadow: var(--card-shadow-lg); margin: 0 0 1.8rem; }
.lead-section p { margin: 0; }
.lead-section p:first-child { font-size: 1.1em; }

/* ---------- Structure: zone-alt (section-tint) ---------- */
.section-tint { background: var(--color-surface); }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  body { font-size: 16px; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 10px; cursor: pointer; border-radius: var(--border-radius-base);
  }
  .primary-nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 0; }
  .nav-toggle-input:checked ~ .primary-nav { display: flex; }
  .primary-nav .nav-link { display: block; width: 100%; padding: 0.75rem 0.2rem; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .split-cols, .tri-panel { grid-template-columns: 1fr; }
  .feature-cards { grid-template-columns: 1fr 1fr; }
  .img-float-left, .img-float-right { float: none; margin: 1.3rem auto; max-width: 100%; }
}

@media (max-width: 480px) {
  .feature-cards { grid-template-columns: 1fr; }
  .numbers-panel .number-item, .fact-strip .fact-item { flex: 1 1 100%; }
}
