/* ==========================================================================
   Günther Ingenieure – Stylesheet
   Farbwelt: Consilium-Navy als Basis (Gruppenzugehörigkeit),
   eigene Akzentfarbe für Günther (in --accent zentral änderbar).
   ========================================================================== */

@font-face { font-family: 'Fira Sans'; src: url('https://www.g-ingenieure.de/wp-content/uploads/2026/11/gi-fira-sans-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fira Sans'; src: url('https://www.g-ingenieure.de/wp-content/uploads/2026/11/gi-fira-sans-400i.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Fira Sans'; src: url('https://www.g-ingenieure.de/wp-content/uploads/2026/11/gi-fira-sans-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fira Sans Condensed'; src: url('https://www.g-ingenieure.de/wp-content/uploads/2026/11/gi-fira-sans-condensed-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Fira Sans Condensed'; src: url('https://www.g-ingenieure.de/wp-content/uploads/2026/11/gi-fira-sans-condensed-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  /* Gruppe */
  --navy-900: #001f30;
  --navy-800: #003049;   /* Consilium Primärfarbe */
  --navy-700: #004468;
  --navy-100: #e6eef2;
  /* GI-Grün aus dem neuen Logo (Günther_Logo.pdf) */
  --gi: #439f3e;          /* Leitfarbe: Flächen, Icons, Akzente */
  --gi-dark: #24622e;     /* Logo-Dunkelgrün: Text, Buttons auf Weiß (Kontrast 7:1) */
  --gi-deep: #1a4a22;
  --gi-50: #eef6ed;
  --green-900: #1a4a22;
  --green-800: #24622e;
  --green-700: #24622e;
  --green-500: #439f3e;
  --green-50: #eef6ed;
  --green-on-dark: #8fd18a;
  --accent: var(--green-700);
  --accent-600: var(--green-800);
  --accent-50: var(--green-50);
  /* Neutrals */
  --ink: #16212b;
  --ink-soft: #4a5866;
  --line: #dbe2e8;
  --surface: #ffffff;
  --surface-alt: #f4f7f9;

  --font-body: 'Fira Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Fira Sans Condensed', 'Fira Sans', system-ui, sans-serif;

  --radius: 6px;
  --radius-lg: 14px;
  --shadow: 0 1px 2px rgb(0 31 48 / .06), 0 8px 24px rgb(0 31 48 / .08);
  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section: clamp(3.5rem, 8vw, 6.5rem);
}

/* ---------- Reset / Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--surface); text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-600); text-underline-offset: .2em; }
a:hover { color: var(--navy-800); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; color: var(--navy-800); margin: 0 0 .6em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--navy-800); color: #fff; padding: .6rem 1rem; border-radius: var(--radius); }
.skip-link:focus { top: 1rem; color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--alt { background: var(--surface-alt); }
.section--dark { background: var(--navy-800); color: #dfe8ee; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section__head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: 500; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-600); margin-bottom: .9rem; }
.eyebrow::before { content: ""; width: 1.75rem; height: 2px; background: currentColor; }
.section--dark .eyebrow { color: var(--green-on-dark); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-soft); line-height: 1.6; }
.section--dark .lead { color: #c4d4de; }

/* ---------- Buttons / Links ---------- */
.btn { display: inline-flex; align-items: center; gap: .55rem; padding: .85rem 1.4rem; border-radius: var(--radius); font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; letter-spacing: .01em; text-decoration: none; border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s; cursor: pointer; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-600); color: #fff; }
.btn--ghost { border-color: currentColor; color: var(--navy-800); background: transparent; }
.btn--ghost:hover { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.btn--light { border-color: rgb(255 255 255 / .5); color: #fff; }
.btn--light:hover { background: #fff; color: var(--navy-800); }
.btn--sm { padding: .55rem 1.05rem; font-size: 1rem; }
.btn svg { width: 1.1em; height: 1.1em; }
.link-arrow { font-family: var(--font-head); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow--light { color: #fff; }
.link-arrow--light:hover { color: var(--green-on-dark); }

/* ---------- Gruppenleiste ---------- */
.groupbar { background: var(--navy-900); color: #b8c9d4; font-size: .85rem; }
.groupbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 36px; }
.groupbar a { color: inherit; text-decoration: none; }
.groupbar a:hover { color: #fff; }
.groupbar__link { display: inline-flex; align-items: center; gap: .55rem; }
.groupbar__link strong { font-weight: 500; color: #fff; }
.groupbar__mark { width: 14px; height: 14px; fill: var(--green-on-dark); }
.groupbar__contact { display: flex; gap: .6rem; }
@media (max-width: 640px) { .groupbar__contact { display: none; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 18px rgb(0 31 48 / .06); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--navy-800); }
.brand img { width: 44px; height: 44px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; }
.brand__claim { font-size: .78rem; color: var(--ink-soft); letter-spacing: .04em; }
.brand--light, .brand--light .brand__claim { color: #fff; }
.brand--light .brand__claim { opacity: .7; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.main-nav a:not(.btn) { display: block; padding: .5rem .85rem; font-family: var(--font-head); font-weight: 500; font-size: 1.08rem; color: var(--navy-800); text-decoration: none; border-radius: var(--radius); position: relative; }
.main-nav a:not(.btn):hover { background: var(--navy-100); }
.main-nav a[aria-current="page"]:not(.btn)::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .2rem; height: 2px; background: var(--accent); }
.main-nav__cta { margin-left: .75rem; }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; display: block; width: 20px; height: 2px; background: var(--navy-800); position: relative; transition: transform .25s, background .25s; }
  .nav-toggle__bars::before { position: absolute; top: -6px; }
  .nav-toggle__bars::after { position: absolute; top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: .75rem var(--gutter) 1.25rem; display: none; }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; }
  .main-nav a:not(.btn) { padding: .85rem .5rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav a[aria-current="page"]:not(.btn)::after { left: 0; right: auto; width: 3px; top: .6rem; bottom: .6rem; height: auto; }
  .main-nav__cta { margin: 1rem 0 0; }
  .main-nav__cta .btn { width: 100%; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--green-700); color: #e8f4e9; }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding-block: clamp(3rem, 6vw, 5rem); }
.hero .display { font-family: var(--font-head); font-weight: 600; line-height: 1.1; font-size: clamp(2.2rem, 5.2vw, 3.75rem); color: #fff; margin: 0 0 .45em; }
.hero .display em { font-style: normal; color: var(--green-on-dark); }
.hero .lead { color: #e3f2e4; max-width: 38rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero__art { position: relative; aspect-ratio: 1; max-width: 460px; justify-self: end; width: 100%; }
.hero__grid { position: absolute; inset: 0; background-image: linear-gradient(rgb(255 255 255 / .05) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .05) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%); }
@media (max-width: 900px) { .hero__inner { grid-template-columns: 1fr; } .hero__art { max-width: 320px; justify-self: start; display: none; } }

.page-hero { background: var(--green-700); color: #e3f2e4; padding-block: clamp(3rem, 7vw, 5rem); position: relative; overflow: hidden; }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: #e3f2e4; max-width: 44rem; margin-bottom: 0; }
.page-hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 380px; height: 380px; border: 1px solid rgb(185 228 187 / .25); border-radius: 50%; box-shadow: 0 0 0 60px rgb(185 228 187 / .04), 0 0 0 120px rgb(185 228 187 / .03); }
.breadcrumb { font-size: .9rem; margin-bottom: 1.2rem; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }
.breadcrumb a { color: #d7efd8; text-decoration: none; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Kennzahlen ---------- */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgb(255 255 255 / .12); position: relative; z-index: 1; }
.fact { padding: 1.6rem 1rem 1.8rem 0; }
.fact__value { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.9rem, 3.5vw, 2.6rem); color: #fff; line-height: 1; }
.fact__label { font-size: .92rem; color: #d0e8d1; margin-top: .45rem; }
@media (max-width: 700px) { .facts { grid-template-columns: 1fr; } .fact { padding: 1rem 0; border-bottom: 1px solid rgb(255 255 255 / .12); } }

/* ---------- Karten ---------- */
.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.5rem); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2rem); transition: border-color .2s, box-shadow .2s, transform .2s; display: flex; flex-direction: column; }
.card:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--ink-soft); margin-bottom: 1rem; }
.card__icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-50); color: var(--accent-600); margin-bottom: 1.2rem; }
.card__icon svg { width: 28px; height: 28px; }
.card .link-arrow { margin-top: auto; }
.card--link .link-arrow::before { content: ""; position: absolute; inset: 0; }
.checklist { list-style: none; padding: 0; margin: 0 0 1rem; }
.checklist li { position: relative; padding-left: 1.6rem; margin-bottom: .45rem; color: var(--ink-soft); }
.checklist li::before { content: ""; position: absolute; left: 0; top: .55em; width: .8rem; height: .45rem; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* ---------- Ablauf ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; list-style: none; padding: 0; margin: 0; }
.step { counter-increment: step; padding-top: 1.5rem; border-top: 2px solid rgb(255 255 255 / .18); }
.step::before { content: "0" counter(step); font-family: var(--font-head); font-weight: 600; color: var(--green-on-dark); font-size: 1rem; letter-spacing: .1em; display: block; margin-bottom: .6rem; }
.step h3 { font-size: 1.6rem; }
.step p { color: #c4d4de; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Referenzen ---------- */
.filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter button { font: inherit; font-size: .95rem; padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy-800); cursor: pointer; }
.filter button:hover { border-color: var(--navy-800); }
.filter button[aria-pressed="true"] { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.project { border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.project:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.project[hidden] { display: none; }
.project__media { aspect-ratio: 16 / 10; background: var(--navy-700); position: relative; overflow: hidden; }
.project__media img { width: 100%; height: 100%; object-fit: cover; }
.project__placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: rgb(255 255 255 / .7); background: linear-gradient(135deg, #5b6f7c, #2c3d49); }
.project__placeholder::before { content: "Projektfoto"; position: absolute; bottom: .7rem; left: .9rem; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.project__placeholder svg { width: 56px; height: 56px; }
.project__placeholder::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgb(255 255 255 / .05) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .05) 1px, transparent 1px); background-size: 28px 28px; }
.project__body { padding: 1.3rem 1.4rem 1.5rem; }
.project__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .7rem; }
.tag { font-size: .78rem; font-weight: 500; letter-spacing: .03em; padding: .2rem .6rem; border-radius: 999px; background: var(--accent-50); color: var(--accent-600); }
.tag--muted { background: var(--navy-100); color: var(--navy-700); }
.project h3 { margin-bottom: .25em; }
.project__meta { font-size: .95rem; color: var(--ink-soft); margin: 0; }

/* ---------- Split / Text ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.prose { max-width: 44rem; }
.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.6rem; }
.panel { background: var(--surface-alt); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); }
.panel--accent { background: var(--accent-50); }
.quote { font-family: var(--font-head); font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.3; color: var(--navy-800); border-left: 3px solid var(--accent); padding-left: 1.4rem; margin: 0; }

/* Leistungs-Detail */
.service { display: grid; grid-template-columns: 280px 1fr; gap: clamp(1.5rem, 4vw, 3rem); padding-block: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line); }
.service:first-of-type { border-top: 0; }
.service__head .card__icon { margin-bottom: 1rem; }
.service__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 860px) { .service, .service__cols { grid-template-columns: 1fr; } }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 1.8rem 1.6rem; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: .45rem; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); }
.timeline strong { display: block; font-family: var(--font-head); font-size: 1.25rem; color: var(--navy-800); }

/* Personen */
.person { display: flex; gap: 1.2rem; align-items: center; }
.person__avatar { flex: none; width: 76px; height: 76px; border-radius: 50%; background: var(--navy-100); color: var(--navy-800); display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; font-size: 1.5rem; }
.person__name { font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; color: var(--navy-800); margin: 0; }
.person__role { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* Gruppe */
.group-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; }
.group-strip__item { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; background: #fff; }
.group-strip__item strong { display: block; font-family: var(--font-head); color: var(--navy-800); font-size: 1.15rem; }
.group-strip__item span { font-size: .9rem; color: var(--ink-soft); }
.group-strip__item--self { border-color: var(--accent); background: var(--accent-50); }

/* Jobs */
.job { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 1.3rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.job + .job { margin-top: .8rem; }
.job h3 { margin: 0 0 .2rem; }
.job p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* Standorte / Kontakt */
.location { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.location h3 { display: flex; align-items: center; gap: .6rem; }
.location__badge { font-family: var(--font-body); font-size: .72rem; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; padding: .15rem .5rem; border-radius: 4px; background: var(--accent); color: #fff; }
.form { display: grid; gap: 1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 500; font-size: .95rem; margin-bottom: .35rem; color: var(--navy-800); }
.field input, .field textarea, .field select { width: 100%; font: inherit; padding: .75rem .9rem; border: 1px solid #b9c5cf; border-radius: var(--radius); background: #fff; color: var(--ink); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgb(46 125 50 / .2); }
.field textarea { min-height: 150px; resize: vertical; }
.field--check { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; color: var(--ink-soft); }
.field--check input { width: auto; margin-top: .3rem; accent-color: var(--accent); }
.form__note { font-size: .88rem; color: var(--ink-soft); }
.form__status { padding: .9rem 1rem; border-radius: var(--radius); background: var(--accent-50); color: var(--accent-600); font-weight: 500; }

/* CTA-Band */
.cta-band { background: linear-gradient(120deg, var(--green-800) 0%, var(--green-700) 100%); color: #e3f2e4; border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.5rem); display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; }

/* Footer */
.site-footer { background: var(--navy-900); color: #a9bdca; padding-top: clamp(3rem, 6vw, 4.5rem); font-size: .95rem; }
.site-footer a { color: #dfe8ee; text-decoration: none; }
.site-footer a:hover { color: var(--green-on-dark); }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr .8fr 1.2fr; gap: 2rem; padding-bottom: 3rem; }
.site-footer__brand p { margin-top: 1rem; max-width: 22rem; }
.site-footer__title { font-size: .85rem; font-family: var(--font-body); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.site-footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer__group { border-left: 2px solid rgb(185 228 187 / .35); padding-left: 1.4rem; }
.site-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-block: 1.4rem; border-top: 1px solid rgb(255 255 255 / .1); font-size: .88rem; }
.site-footer__bottom ul { list-style: none; display: flex; gap: 1.2rem; margin: 0; padding: 0; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* Einblendung beim Scrollen */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Hinweis-Markierung für noch zu prüfende Inhalte (vor Livegang entfernen) */
.todo { color: var(--ink-soft); font-style: italic; }

@media print {
  .groupbar, .site-header, .site-footer, .hero__art { display: none; }
  .hero, .page-hero, .section--dark { background: none; color: #000; }
}
.service__head h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
.fact { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.fact dd { margin: 0; }
.h3 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); }
.btn-row { display: flex; gap: .8rem; flex-wrap: wrap; }
.section__head--row { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; max-width: none; }
.section__head--row h2 { margin-bottom: 0; }
.mt-1 { margin-top: .8rem; margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }

/* Hero-Buttons auf Grün */
.hero .btn--primary, .page-hero .btn--primary, .cta-band .btn--primary { background: #fff; color: var(--green-800); }
.hero .btn--primary:hover, .cta-band .btn--primary:hover { background: var(--green-50); }

/* ---------- Designvariante A: hell, Grün als Akzentfläche ---------- */
.variant-a .hero { background: #fff; color: var(--ink); }
.variant-a .hero .display { color: var(--navy-800); }
.variant-a .hero .display em { color: var(--green-700); }
.variant-a .hero .lead { color: var(--ink-soft); }
.variant-a .hero .eyebrow { color: var(--green-700); }
.variant-a .hero .btn--primary { background: var(--green-700); color: #fff; }
.variant-a .hero .btn--light { color: var(--navy-800); border-color: var(--navy-800); }
.variant-a .hero__grid { background-image: linear-gradient(rgb(0 48 73 / .05) 1px, transparent 1px), linear-gradient(90deg, rgb(0 48 73 / .05) 1px, transparent 1px); }
.variant-a .hero__art { background: var(--green-700); border-radius: 24px; padding: 2rem; }
.variant-a .facts { border-top-color: var(--line); background: var(--green-50); border-radius: var(--radius-lg); padding-inline: 1.5rem; margin-bottom: 3rem; }
.variant-a .fact__value { color: var(--green-800); }
.variant-a .fact__label { color: var(--ink-soft); }

.hero .eyebrow, .page-hero .eyebrow { color: var(--green-on-dark); }
.variant-a .hero .eyebrow { color: var(--green-700); }
.filter button[aria-pressed="true"] { background: var(--green-700); border-color: var(--green-700); }

h1.eyebrow { font-size: .85rem; line-height: 1.4; }


/* ==========================================================================
   v2 – GI-Grün als Fläche. Weiß auf #439f3e erreicht nur 3,3:1 → Fließtext auf
   Grün in Navy (5,1:1), Weiß nur für große Schrift und Akzentwörter.
   ========================================================================== */
.brand__logo { height: 38px; width: auto; }
.brand { gap: 1rem; }
.brand__claim { border-left: 1px solid var(--line); padding-left: 1rem; font-size: .82rem; letter-spacing: .06em; color: var(--ink-soft); }
@media (max-width: 1100px) { .brand__claim { display: none; } }
.footer-logo { width: 190px; height: auto; }
.btn--primary { background: var(--gi-dark); }
.btn--primary:hover { background: var(--gi-deep); }

.hero { background: var(--gi); color: var(--navy-900); }
.hero__grid { background-image: linear-gradient(rgb(0 31 48 / .06) 1px, transparent 1px), linear-gradient(90deg, rgb(0 31 48 / .06) 1px, transparent 1px); }
.hero .display { color: var(--navy-900); }
.hero .display em { color: #fff; }
.hero .lead { color: var(--navy-900); }
.hero .eyebrow, .page-hero .eyebrow { color: var(--navy-900); }
.hero h1.eyebrow::before { background: var(--navy-900); }
.hero .btn--primary, .page-hero .btn--primary, .cta-band .btn--primary { background: var(--navy-900); color: #fff; }
.hero .btn--primary:hover, .cta-band .btn--primary:hover { background: var(--navy-700); color: #fff; }
.hero .btn--light { color: var(--navy-900); border-color: var(--navy-900); }
.hero .btn--light:hover { background: var(--navy-900); color: #fff; }
.hero__photo { position: relative; justify-self: end; width: 100%; max-width: 560px; }
.hero__photo img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 18px; box-shadow: 0 24px 48px rgb(0 31 48 / .25); }
.hero__photo figcaption { position: absolute; left: 1rem; bottom: 1rem; background: rgb(0 31 48 / .82); color: #fff; font-size: .8rem; padding: .35rem .7rem; border-radius: 6px; }
.hero__photo::before { content: ""; position: absolute; inset: auto auto -18px -18px; width: 45%; height: 45%; border-radius: 18px; background: var(--gi-dark); z-index: -1; }
@media (max-width: 900px) { .hero__photo { justify-self: stretch; max-width: none; } .hero__photo::before { display: none; } }
.facts { border-top-color: rgb(0 31 48 / .2); }
.fact__value { color: var(--navy-900); }
.fact__label { color: rgb(0 31 48 / .8); }
@media (max-width: 700px) { .fact { border-bottom-color: rgb(0 31 48 / .15); } }

.page-hero { background: var(--gi); color: var(--navy-900); }
.page-hero h1 { color: var(--navy-900); }
.page-hero .lead { color: var(--navy-900); }
.breadcrumb a { color: var(--navy-900); text-decoration: underline; text-underline-offset: .2em; }
.breadcrumb a:hover { color: #fff; }
.page-hero::after { border-color: rgb(255 255 255 / .35); box-shadow: 0 0 0 60px rgb(255 255 255 / .06), 0 0 0 120px rgb(255 255 255 / .04); }

.cta-band { background: var(--gi); color: var(--navy-900); }
.cta-band h2 { color: var(--navy-900); }
.cta-band .btn--light { color: var(--navy-900); border-color: var(--navy-900); }
.cta-band .btn--light:hover { background: var(--navy-900); color: #fff; }

.eyebrow { color: var(--gi-dark); }
.section--dark .eyebrow, .step::before { color: var(--green-on-dark); }
.card__icon { background: var(--gi-50); color: var(--gi-dark); }
.checklist li::before { border-color: var(--gi); }
.tag { background: var(--gi-50); color: var(--gi-dark); }
.filter button[aria-pressed="true"] { background: var(--gi-dark); border-color: var(--gi-dark); }
.main-nav a[aria-current="page"]:not(.btn)::after { background: var(--gi); height: 3px; }
.groupbar__mark { fill: var(--green-on-dark); }
.site-footer__group { border-left-color: var(--gi); }
.site-footer a:hover { color: var(--green-on-dark); }
.quote { border-left-color: var(--gi); }

/* Variante A */
.variant-a .hero { background: #fff; }
.variant-a .hero .display { color: var(--navy-800); }
.variant-a .hero .display em { color: var(--gi); }
.variant-a .hero .lead { color: var(--ink-soft); }
.variant-a .hero .eyebrow { color: var(--gi-dark); }
.variant-a .hero .btn--primary { background: var(--gi-dark); }
.variant-a .hero__photo::before { background: var(--gi); width: 70%; height: 70%; inset: -22px -22px auto auto; }
.variant-a .facts { background: var(--gi); border: 0; }
.variant-a .fact__value { color: var(--navy-900); }
.variant-a .fact__label { color: rgb(0 31 48 / .8); }

/* Fotos in Karten und Leistungen */
.project__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service__media { margin: 0 0 1.4rem; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 21 / 8; }
.service__media img { width: 100%; height: 100%; object-fit: cover; }
.photo { border-radius: var(--radius-lg); overflow: hidden; margin: 0; }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo--tall { aspect-ratio: 4 / 5; }
.photo--wide { aspect-ratio: 16 / 10; }
.photo figcaption { font-size: .82rem; color: var(--ink-soft); padding-top: .5rem; }

/* News */
.news-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; position: relative; transition: box-shadow .2s, transform .2s; }
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.news-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; }
.news-card__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.news-card time { font-size: .85rem; color: var(--gi-dark); font-weight: 500; }
.news-card h3 { margin: .35rem 0 .5rem; }
.news-card p { color: var(--ink-soft); font-size: .97rem; }
.news-card .link-arrow { margin-top: auto; }
.news-card .link-arrow::before { content: ""; position: absolute; inset: 0; }
.news-feature { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); margin-bottom: 2rem; }
.news-feature img { width: 100%; height: 100%; object-fit: cover; }
.news-feature__body { padding: clamp(1.5rem, 3vw, 2.5rem); display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 860px) { .news-feature { grid-template-columns: 1fr; } }

/* Werte, Benefits, Siegel */
.values { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 1.5rem 2rem; }
.value h3 { font-size: 1.15rem; display: flex; gap: .6rem; align-items: center; }
.value h3::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--gi); flex: none; }
.value p { color: var(--ink-soft); font-size: .97rem; margin: 0; }
.benefits { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 1rem; }
.benefit { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; }
.benefit strong { display: block; font-family: var(--font-head); font-size: 1.15rem; color: var(--navy-800); }
.benefit span { font-size: .93rem; color: var(--ink-soft); }
.badges { display: flex; flex-wrap: wrap; gap: .8rem; }
.badges span { border: 1px solid var(--line); border-radius: 999px; padding: .45rem 1rem; font-size: .92rem; background: #fff; }
.testimonial { background: var(--gi-50); border-radius: var(--radius-lg); padding: 1.5rem; }
.testimonial blockquote { margin: 0 0 .8rem; font-family: var(--font-head); font-size: 1.25rem; line-height: 1.35; color: var(--navy-800); }
.testimonial figcaption { font-size: .9rem; color: var(--ink-soft); }
.mb { margin-bottom: 1.2rem; }
.site-header .brand img.brand__logo { width: auto; height: 38px; }
.site-footer .brand img.footer-logo { width: 190px; height: auto; }
.facts { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .facts { grid-template-columns: repeat(2, 1fr); } }
.project__media, .news-card__media, .news-feature { position: relative; }
.credit { position: absolute; right: .5rem; bottom: .5rem; background: rgb(0 31 48 / .72); color: #fff; font-size: .7rem; line-height: 1.3; padding: .2rem .45rem; border-radius: 4px; pointer-events: none; }
/* Fix: Browser-Standardabstand an <figure> im Kopfbereich entfernen */
.hero__photo { margin: 0; }
@media (max-width: 900px) {
  .hero__photo img { aspect-ratio: 4 / 3; border-radius: 14px; }
  .hero__inner { gap: 2rem; }
}

/* ---------- WordPress-Ergänzungen ---------- */
.project h2.h3 a { color: inherit; text-decoration: none; }
.project h2.h3 a::after { content: ""; position: absolute; inset: 0; }
.project { position: relative; }
.project.is-more { display: none; }
.is-expanded .project.is-more { display: flex; }
.project[hidden] { display: none !important; }
.pager { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 2.5rem; }
.pager a, .pager span { min-width: 2.6rem; padding: .5rem .8rem; text-align: center; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--navy-800); }
.pager span[aria-current] { background: var(--gi-dark); border-color: var(--gi-dark); color: #fff; }
.page-hero time { font-weight: 500; }
.article { max-width: 52rem; }
.article__image { margin: 0 0 2rem; border-radius: var(--radius-lg); overflow: hidden; }
.article__image img { width: 100%; height: auto; display: block; }
.prose img { height: auto; border-radius: var(--radius); }
.prose a { color: var(--gi-dark); }
.prose h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
.gallery { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .75rem; margin: 2rem 0 !important; }
.gallery .gallery-item { width: auto !important; margin: 0 !important; float: none !important; }
.gallery .gallery-item img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 0 !important; border-radius: var(--radius); }
.gallery br { display: none; }
.gallery .gallery-caption { font-size: .8rem; color: var(--ink-soft); }
.facts-list { display: grid; grid-template-columns: 9rem 1fr; gap: .6rem 1rem; margin: 0; }
.facts-list dt { font-weight: 500; color: var(--navy-800); }
.facts-list dd { margin: 0; color: var(--ink-soft); }
.project-photo { position: relative; }
.alignleft { float: left; margin: 0 1.5rem 1rem 0; } .alignright { float: right; margin: 0 0 1rem 1.5rem; } .aligncenter { display: block; margin: 1rem auto; }
.wp-caption { max-width: 100%; } .wp-caption-text { font-size: .85rem; color: var(--ink-soft); }
.project h3 a { color: inherit; text-decoration: none; }
.project h3 a::after { content: ""; position: absolute; inset: 0; }
