/* ==========================================================================
   Synrgi – Synergetische Energieberatung
   Stylesheet
   ========================================================================== */

:root {
  /* Brand colors (extracted from logo) */
  --navy: #135575;
  --navy-dark: #0c3a50;
  --teal: #1e8b86;
  --teal-dark: #0f5551;
  --green: #59a21c;
  --green-dark: #457c16;
  --deep: #01272a;

  /* Neutral / surface colors */
  --bg: #fbfaf6;
  --bg-alt: #f3f7ee;
  --bg-tint: #eaf3ea;
  --surface: #ffffff;
  --ink: #17262a;
  --ink-soft: #47585c;
  --ink-faint: #7c8b8e;
  --line: #e1e8de;
  --line-soft: #edf1e8;

  /* Gradients */
  --grad-hero: linear-gradient(135deg, var(--deep) 0%, var(--teal-dark) 46%, var(--teal) 100%);
  --grad-accent: linear-gradient(120deg, var(--teal) 0%, var(--green) 100%);

  /* Typography */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Spacing / shape */
  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;
  --shadow-s: 0 2px 10px rgba(1, 39, 42, 0.06);
  --shadow-m: 0 12px 32px rgba(1, 39, 42, 0.10);
  --shadow-l: 0 24px 60px rgba(1, 39, 42, 0.16);
  --container: 1180px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
svg { display: block; }

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.18;
  color: var(--navy-dark);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); }
h4 { font-size: 1.05rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--grad-accent);
}

.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 62ch;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }
section.tight { padding: 64px 0; }
@media (max-width: 720px) {
  section { padding: 64px 0; }
  section.tight { padding: 44px 0; }
}

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.bg-alt { background: var(--bg-alt); }
.bg-tint { background: var(--bg-tint); }
.bg-deep {
  background: var(--grad-hero);
  color: #eaf6f2;
}
.bg-deep h2, .bg-deep h3 { color: #ffffff; }
.bg-deep .lede { color: #cfe8e3; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-accent);
  color: #ffffff;
  box-shadow: var(--shadow-s);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-m); }
.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: inherit;
}
.btn-ghost:hover { border-color: #ffffff; background: rgba(255,255,255,0.08); }
.btn-outline {
  background: transparent;
  border-color: var(--teal);
  color: var(--teal-dark);
}
.btn-outline:hover { background: var(--teal); color: #fff; transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 246, 0.88);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .3s ease;
}
.js .site-header.is-scrolled {
  box-shadow: 0 6px 24px -12px rgba(1, 39, 42, 0.28);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  max-width: var(--container);
  margin: 0 auto;
  transition: padding .3s ease;
}
.js .is-scrolled .nav-wrap { padding: 10px 24px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 40px; width: auto; }
.brand img.brand-logo-full {
  height: 58px;
  width: auto;
  transition: height .3s ease;
}
.js .is-scrolled .brand img.brand-logo-full { height: 38px; }
.brand-name { font-weight: 800; font-size: 1.2rem; color: var(--navy-dark); letter-spacing: -0.02em; }
.brand-sub { display: block; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green-dark); margin-top: -2px; }

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--grad-accent);
  z-index: 200;
  transition: width .1s linear;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
  transition: background .15s ease, color .15s ease;
}
.nav-links a:hover, .nav-links a.active { background: var(--bg-tint); color: var(--navy-dark); }
.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; color: var(--navy-dark); }

@media (max-width: 900px) {
  .nav-links { position: fixed; inset: 72px 16px auto 16px; flex-direction: column; align-items: stretch;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m);
    padding: 10px; box-shadow: var(--shadow-l); gap: 2px;
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: all .2s ease; }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 13px 16px; }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn-primary.desktop-only { display: none; }
}
.desktop-only-inline { display: inline-flex; }
@media (max-width: 900px) { .desktop-only-inline { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--grad-hero);
  color: #fff;
  padding: 76px 0 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.hero-copy .eyebrow { color: #bfe9c9; }
.hero-copy .eyebrow::before { background: linear-gradient(90deg, #bfe9c9, #ffffff); }
.hero h1 { color: #fff; }
.hero .lede { color: #d8ede9; margin-top: 18px; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, auto); gap: 28px;
  margin-top: 46px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.18);
}
.hero-stats div b { display: block; font-size: 1.7rem; font-weight: 800; }
.hero-stats div span { font-size: 0.82rem; color: #c7e6e0; }
.hero-art { position: relative; }
.hero-art svg, .hero-art img { width: 100%; height: auto; }
.hero-wave { display: block; width: 100%; height: auto; margin-top: 60px; }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 460px; margin: 0 auto; }
}

/* ---------- Trust strip ---------- */
.trust-strip { padding: 34px 0; border-bottom: 1px solid var(--line-soft); }
.trust-row {
  display: flex; align-items: center; justify-content: center; gap: 44px; flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 12px; color: var(--ink-soft); font-size: 0.92rem; font-weight: 600; }
.trust-item img { height: 34px; width: auto; }
.trust-badge {
  display: flex; align-items: center; gap: 10px; padding: 8px 16px; border: 1px solid var(--line);
  border-radius: 999px; background: var(--surface);
}
.trust-badge svg { width: 20px; height: 20px; color: var(--teal); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 30px 26px;
  box-shadow: var(--shadow-s);
  transition: transform .18s ease, box-shadow .18s ease;
  transform: perspective(800px) rotateX(0deg) rotateY(0deg) translateY(0);
  will-change: transform;
}
.card:hover { box-shadow: var(--shadow-m); }
.card .icon-badge { margin-bottom: 18px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 0.97rem; }
.card a.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; color: var(--teal-dark); font-size: 0.92rem; }

.icon-badge {
  width: 62px; height: 62px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-tint);
  color: var(--teal-dark);
}
.icon-badge svg { width: 32px; height: 32px; }
.icon-badge.solid { background: var(--grad-accent); color: #fff; }
.icon-badge img { width: 40px; height: 40px; object-fit: contain; }

.pic-badge {
  width: 78px; height: 78px; border-radius: 50%; overflow: hidden;
  border: 1px solid var(--line-soft); background: #fff; padding: 10px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.pic-badge img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Value strip ---------- */
.value-row { display: flex; gap: 18px; flex-wrap: wrap; }
.value-pill {
  flex: 1 1 220px;
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m);
  padding: 22px;
}
.value-pill svg { width: 26px; height: 26px; color: var(--green-dark); flex-shrink: 0; margin-top: 2px; }
.value-pill h4 { margin-bottom: 4px; }
.value-pill p { color: var(--ink-soft); font-size: 0.9rem; margin: 0; }

/* ---------- Timeline / Ablauf ---------- */
.timeline { position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px;
  background: linear-gradient(var(--teal), var(--green));
  opacity: 0.35;
}
.t-step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 24px; padding-bottom: 44px; }
.t-step:last-child { padding-bottom: 0; }
.t-num {
  width: 56px; height: 56px; border-radius: 50%; background: var(--grad-accent); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.2rem;
  box-shadow: var(--shadow-s); position: relative; z-index: 1;
}
.t-body { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 22px 26px; }
.t-body h3 { margin-bottom: 8px; }
.t-body p { color: var(--ink-soft); margin: 0; }
@media (max-width: 600px) {
  .timeline::before { left: 21px; }
  .t-step { grid-template-columns: 44px 1fr; gap: 16px; }
  .t-num { width: 44px; height: 44px; font-size: 1rem; }
}

/* ---------- Quote / mission ---------- */
.quote-block {
  border-left: 4px solid var(--green);
  padding: 6px 0 6px 26px;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--navy-dark);
  font-weight: 600;
  line-height: 1.5;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  border-radius: var(--radius-l);
  background: var(--grad-hero);
  color: #fff;
  padding: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-banner h2 { color: #fff; margin-bottom: 8px; }
.cta-banner p { color: #d8ede9; margin: 0; max-width: 46ch; }
.cta-banner .btn-primary { background: #fff; color: var(--teal-dark); }
.cta-banner .btn-primary:hover { background: #eafff8; }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: #cfe3df; padding: 70px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; }
.footer-brand img { height: 42px; margin-bottom: 14px; }
.footer-brand p { color: #9db8b3; font-size: 0.92rem; max-width: 34ch; }
.footer-col h4 { color: #fff; margin-bottom: 16px; font-size: 0.95rem; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: #b9d3cd; font-size: 0.92rem; }
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.22);
  display: flex; align-items: center; justify-content: center;
}
.footer-social svg { width: 17px; height: 17px; }
.footer-bottom {
  margin-top: 54px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.85rem; color: #93aca7;
}
.footer-bottom a { color: #93aca7; }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--grad-hero); color: #fff; padding: 64px 0 70px; position: relative; overflow: hidden;
}
.page-hero .eyebrow { color: #bfe9c9; }
.page-hero .eyebrow::before { background: linear-gradient(90deg, #bfe9c9, #ffffff); }
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero .lede { color: #d8ede9; margin-top: 16px; max-width: 60ch; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.85rem; color: #b9d8d2; margin-bottom: 18px; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Service detail rows ---------- */
.service-detail {
  display: grid; grid-template-columns: 84px 1fr; gap: 26px;
  padding: 30px 0; border-bottom: 1px solid var(--line-soft);
}
.service-detail:last-child { border-bottom: none; }
.service-detail .icon-badge { width: 68px; height: 68px; }
.service-detail ul { margin-top: 12px; display: grid; gap: 8px; }
.service-detail ul li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-soft); font-size: 0.95rem; }
.service-detail ul li svg { width: 17px; height: 17px; color: var(--green-dark); flex-shrink: 0; margin-top: 3px; }
@media (max-width: 640px) { .service-detail { grid-template-columns: 1fr; } }

/* ---------- Audience tabs / who-for ---------- */
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .who-grid { grid-template-columns: 1fr; } }
.who-card { background: var(--surface); border-radius: var(--radius-m); border: 1px solid var(--line); padding: 28px; }
.who-card .icon-badge { margin-bottom: 16px; }

/* ---------- About page ---------- */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.about-portrait {
  background: var(--grad-hero); border-radius: var(--radius-l); padding: 44px; color: #fff;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px;
  box-shadow: var(--shadow-m);
}
.about-portrait .avatar-ring {
  width: 168px; height: 168px; border-radius: 50%; background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.35); display: flex; align-items: center; justify-content: center; padding: 22px;
}
.about-portrait .avatar-ring img { width: 100%; }
.about-portrait h3 { color: #fff; margin: 0; }
.about-portrait span { color: #bfe0da; font-size: 0.9rem; }

.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 20px; }
@media (max-width: 900px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
.value-chip { text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 20px 12px; }
.value-chip svg { width: 26px; height: 26px; color: var(--teal-dark); margin: 0 auto 10px; }
.value-chip span { font-size: 0.85rem; font-weight: 700; color: var(--navy-dark); }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 34px; box-shadow: var(--shadow-s); }
.contact-line { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.contact-line:last-child { border-bottom: none; }
.contact-line svg { width: 22px; height: 22px; color: var(--teal-dark); flex-shrink: 0; margin-top: 2px; }
.contact-line strong { display: block; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-faint); margin-bottom: 3px; }
.contact-line a, .contact-line span.val { font-weight: 600; color: var(--navy-dark); }

.map-frame { border-radius: var(--radius-m); overflow: hidden; border: 1px solid var(--line); margin-top: 22px; }
.map-frame iframe { width: 100%; height: 240px; border: 0; display: block; }
.map-consent-gate {
  height: 240px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  text-align: center; padding: 24px; background: var(--bg-tint);
}
.map-consent-gate p { font-size: 0.85rem; color: var(--ink-soft); max-width: 40ch; margin: 0; }

/* ---------- Cookie- / Einwilligungs-Banner ---------- */
.cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  max-width: 640px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-l);
  padding: 22px 24px;
  z-index: 300;
  transform: translateY(140%);
  transition: transform .4s ease;
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner h2 { font-size: 1.02rem; margin-bottom: 6px; }
.cookie-banner p { font-size: 0.86rem; color: var(--ink-soft); margin: 0 0 16px; }
.cookie-banner p a { color: var(--teal-dark); font-weight: 600; }
.cookie-banner-actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 480px) { .cookie-banner { padding: 18px; } .cookie-banner-actions { flex-direction: column; } .cookie-banner-actions .btn { width: 100%; justify-content: center; } }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 34px; box-shadow: var(--shadow-s); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--navy-dark); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg);
  color: var(--ink); transition: border-color .15s ease, background .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--teal); background: #fff; }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.82rem; color: var(--ink-faint); margin-top: 14px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 20px; }
.consent input { margin-top: 4px; }
.consent a { text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--surface); margin-bottom: 12px; overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 700; color: var(--navy-dark); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { width: 18px; height: 18px; color: var(--teal); transition: transform .2s ease; flex-shrink: 0; }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item .faq-a { padding: 0 24px 22px; color: var(--ink-soft); }

/* ---------- Legal pages ---------- */
.legal { max-width: 780px; }
.legal h2 { margin-top: 40px; margin-bottom: 14px; font-size: 1.3rem; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--ink-soft); margin-bottom: 12px; }
.legal ul { padding-left: 20px; list-style: disc; }
.legal a { color: var(--teal-dark); text-decoration: underline; }
.note-box {
  background: var(--bg-tint); border: 1px dashed var(--teal); border-radius: var(--radius-m);
  padding: 18px 22px; font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 30px;
}
.note-box strong { color: var(--navy-dark); }

/* ---------- Misc ---------- */
.divider-blob { position: absolute; pointer-events: none; opacity: 0.5; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.tag-list { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.tag { background: var(--bg-tint); color: var(--teal-dark); font-weight: 700; font-size: 0.82rem; padding: 8px 14px; border-radius: 999px; }

/* Reveal animation is progressive enhancement only: content is fully visible
   by default and only starts hidden once JS confirms it can reveal it again. */
.reveal { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.in { opacity: 1; transform: translateY(0); }

/* Staggered cascade for grid/row children marked .reveal-stagger */
.js .reveal-stagger.reveal { transition-delay: var(--stagger-delay, 0ms); }

.skip-link {
  position: absolute; left: -999px; top: auto; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 999;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ==========================================================================
   Nav dropdown ("Leistungen")
   ========================================================================== */
.nav-item { position: relative; }
.nav-item > a.nav-top-link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 14px 10px 16px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  color: var(--ink-soft); transition: background .15s ease, color .15s ease;
}
.nav-item > a.nav-top-link:hover, .nav-item > a.nav-top-link.active { background: var(--bg-tint); color: var(--navy-dark); }
.nav-item > a.nav-top-link .caret { width: 13px; height: 13px; transition: transform .18s ease; }
.nav-item:hover > a.nav-top-link .caret, .nav-item:focus-within > a.nav-top-link .caret { transform: rotate(180deg); }

.dropdown-panel {
  position: absolute; top: calc(100% + 10px); left: 0; width: 340px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m);
  box-shadow: var(--shadow-l); padding: 10px; display: grid; gap: 2px;
  opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .16s ease, transform .16s ease;
  z-index: 50;
}
.nav-item:hover .dropdown-panel, .nav-item:focus-within .dropdown-panel { opacity: 1; transform: translateY(0); pointer-events: auto; }
.dd-item { display: flex; gap: 12px; align-items: flex-start; padding: 11px 12px; border-radius: 12px; }
.dd-item:hover { background: var(--bg-tint); }
.dd-item .dd-ic { width: 34px; height: 34px; border-radius: 10px; background: var(--bg-tint); color: var(--teal-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dd-item.main .dd-ic { background: var(--grad-accent); color: #fff; }
.dd-item svg { width: 18px; height: 18px; }
.dd-item strong { display: block; font-size: 0.9rem; color: var(--navy-dark); }
.dd-item span { font-size: 0.79rem; color: var(--ink-faint); }
.dd-divider { height: 1px; background: var(--line-soft); margin: 6px 4px; }

@media (max-width: 900px) {
  .nav-item > a.nav-top-link { padding: 13px 16px; }
  .dropdown-panel {
    position: static; width: auto; opacity: 1; transform: none; pointer-events: auto;
    box-shadow: none; border: none; background: var(--bg-tint); margin: 2px 6px 8px; padding: 6px;
  }
  .dd-item.main { display: none; }
}

/* ==========================================================================
   Bento / topic grid (Leistungen hub)
   ========================================================================== */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.bento-tile {
  position: relative; overflow: hidden; grid-column: span 2;
  border-radius: var(--radius-l); padding: 30px; min-height: 210px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  color: #fff; transition: transform .22s ease, box-shadow .22s ease;
  will-change: transform;
}
.bento-tile:hover { box-shadow: var(--shadow-l); }
.bento-tile::before {
  content: ""; position: absolute; inset: 0; opacity: 0.9;
}
.bento-tile.t1::before { background: linear-gradient(135deg, #135575, #0c3a50); }
.bento-tile.t2::before { background: linear-gradient(135deg, #1e8b86, #0f5551); }
.bento-tile.t3::before { background: linear-gradient(135deg, #59a21c, #3f7d16); }
.bento-tile.t4::before { background: linear-gradient(135deg, #0f5551, #01272a); }
.bento-tile .bt-ic {
  position: relative; width: 52px; height: 52px; border-radius: 14px; background: rgba(255,255,255,0.16);
  display: flex; align-items: center; justify-content: center; margin-bottom: 4px;
}
.bento-tile .bt-ic svg { width: 28px; height: 28px; }
.bento-tile h3, .bento-tile p, .bento-tile .bt-arrow { position: relative; }
.bento-tile h3 { color: #fff; font-size: 1.3rem; }
.bento-tile p { color: rgba(255,255,255,0.85); font-size: 0.92rem; max-width: 34ch; }
.bento-tile .bt-arrow {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.85rem; margin-top: 6px;
}
.bento-tile .bt-arrow svg { width: 15px; height: 15px; transition: transform .18s ease; }
.bento-tile:hover .bt-arrow svg { transform: translateX(4px); }
.bento-blob { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.1); }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .bento-tile { grid-column: span 1; } }

/* ==========================================================================
   Topic / deep-dive pages
   ========================================================================== */
.topic-hero { position: relative; overflow: hidden; }
.topic-hero .topic-tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px;
  background: rgba(255,255,255,0.14); color: #fff; font-size: 0.82rem; font-weight: 700; margin-bottom: 18px;
}
.topic-hero .topic-tag svg { width: 16px; height: 16px; }

.topic-layout { display: grid; grid-template-columns: 230px 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .topic-layout { grid-template-columns: 1fr; } }
.topic-toc { position: sticky; top: 96px; display: grid; gap: 4px; }
.topic-toc a {
  padding: 10px 14px; border-radius: 10px; font-size: 0.87rem; font-weight: 600; color: var(--ink-faint);
  border-left: 2px solid var(--line); transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.topic-toc a:hover, .topic-toc a.active { color: var(--teal-dark); border-color: var(--teal); background: var(--bg-tint); }
@media (max-width: 900px) { .topic-toc { position: static; display: flex; flex-wrap: wrap; gap: 8px; } .topic-toc a { border-left: none; border: 1px solid var(--line); } }

.stat-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 34px 0; }
@media (max-width: 700px) { .stat-strip { grid-template-columns: 1fr; } }
.stat-tile { background: var(--bg-tint); border-radius: var(--radius-m); padding: 24px; }
.stat-tile b { display: block; font-size: 1.7rem; font-weight: 800; color: var(--navy-dark); }
.stat-tile span { font-size: 0.86rem; color: var(--ink-soft); }

.topic-section { padding: 46px 0; border-bottom: 1px solid var(--line-soft); scroll-margin-top: 96px; }
.topic-section:last-child { border-bottom: none; }

.step-mini { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.step-mini .sm-num {
  width: 30px; height: 30px; border-radius: 50%; background: var(--grad-accent); color: #fff; font-weight: 800;
  font-size: 0.85rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.step-mini p { color: var(--ink-soft); margin: 0; }
.step-mini strong { display: block; color: var(--navy-dark); margin-bottom: 2px; }

/* Diagonal section divider */
.diag-divider { position: relative; height: 64px; margin-top: -64px; z-index: 1; pointer-events: none; }
.diag-divider svg { width: 100%; height: 100%; display: block; }

/* Qualification chips (LCA / Asbest / Hydraulischer Abgleich) */
.qual-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .qual-row { grid-template-columns: 1fr; } }
.qual-card { display: flex; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 22px; }
.qual-card .icon-badge { flex-shrink: 0; }
.qual-card h4 { margin-bottom: 4px; }
.qual-card p { color: var(--ink-soft); font-size: 0.88rem; margin: 0; }

/* ARGE wordmark badge (recreated typographically from the association's real mark) */
.arge-badge { display: flex; align-items: center; gap: 10px; }
.arge-mark { font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; color: #1a1a1a; white-space: nowrap; }
.arge-mark .sl { color: var(--teal); font-weight: 400; }
.arge-tagline { font-size: 0.66rem; line-height: 1.15; color: var(--ink-faint); border-left: 1px solid var(--line); padding-left: 10px; max-width: 13ch; }

/* Avatar photo (Über mich) */
.avatar-ring.photo { padding: 0; overflow: hidden; }
.avatar-ring.photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* Count-up numbers get a tiny caret cursor-like pulse while animating */
.count-up { display: inline-block; }

/* Form status states */
.form-status.ok { color: var(--teal-dark); }
.form-status.err { color: #b3401f; }
