/* ============================================================
   Georg Jung Gebäudetechnik – Entwurf Website
   style.css – ein Stylesheet, keine externen Abhängigkeiten
   ============================================================ */

/* ---------- 1. Reset & Tokens ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

:root {
  /* Farben */
  /* CI Georg Jung: Rot #e30c19, Grau #58585a, Weiß.
     Gelb #ffdd00 kommt ausschließlich in der E-Marke des Logos vor. */
  --graphite: #2b2c2f;
  --graphite-800: #34353a;
  --graphite-700: #4a4b50;
  --paper: #ffffff;
  --paper-2: #f5f5f6;
  --paper-3: #ebebed;
  --line: #e2e2e4;
  --line-strong: #cfcfd2;
  --ink: #1f1f22;
  --body: #47474b;
  --muted: #6f6f6e;
  --red: #e30c19;
  --red-dark: #b30a14;
  --red-ink: #a10c16;
  --red-soft: #fdecec;
  --ok: #1c7a55;

  /* Typografie */
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-h1: clamp(1.85rem, 3.6vw, 2.8rem);
  --fs-h2: clamp(1.55rem, 2.7vw, 2.25rem);
  --fs-h3: clamp(1.12rem, 1.5vw, 1.32rem);
  --fs-lead: clamp(1.03rem, 1.35vw, 1.18rem);

  /* Maße */
  --wrap: 1160px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(31, 31, 34, .06), 0 2px 8px rgba(31, 31, 34, .04);
  --shadow-md: 0 10px 30px rgba(31, 31, 34, .09);
  --header-h: 78px;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

main[id],
section[id] {
  scroll-margin-top: calc(var(--header-h) + 14px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg { max-width: 100%; }

figure { margin: 0; }

h1, h2, h3, h4, p, li, address, td, th { overflow-wrap: break-word; }
h2, h3 { hyphens: manual; }
.legal h2, .legal h3 { hyphens: auto; }

img { height: auto; display: block; }

/* ---------- 2. Basis-Typografie ---------- */
h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 .6em;
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); hyphens: manual; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.3; }
h4 { font-size: 1.02rem; letter-spacing: 0; }

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

a { color: var(--graphite-700); text-decoration-color: rgba(74, 75, 80, .35); text-underline-offset: 2px; }
a:hover { color: var(--red-ink); }

strong { color: var(--ink); font-weight: 650; }

ul, ol { margin: 0 0 1em; padding-left: 1.15em; }
li { margin-bottom: .35em; }
li:last-child { margin-bottom: 0; }

blockquote { margin: 0; }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

::selection { background: var(--red); color: var(--graphite); }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---------- 3. Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 32px);
}

.section { padding-block: clamp(52px, 7vw, 92px); }
.section--tight { padding-block: clamp(38px, 5vw, 64px); }
.section--paper { background: var(--paper-2); }

.section--dark {
  background: var(--graphite);
  color: #d5d5d8;
}
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: #fff; }
.section--dark strong { color: #fff; }
.section--dark a { color: #fff; }
.section--dark a:hover { color: #fff; text-decoration-color: var(--red); }

.stack-lg > * + * { margin-top: clamp(1.5rem, 3vw, 2.5rem); }

.grid { display: grid; gap: clamp(16px, 2.2vw, 26px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.section-head { max-width: 62ch; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head p:not(.eyebrow) { font-size: var(--fs-lead); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red-ink);
  margin-bottom: .85rem;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}
.section--dark .eyebrow { color: #fff; }
.section--dark .eyebrow::before { background: var(--red); }

.lead { font-size: var(--fs-lead); color: var(--body); }
.section--dark .lead { color: #d5d5d8; }

.muted { color: var(--muted); }
.small { font-size: .875rem; }

/* ---------- 4. Buttons ---------- */
.btn {
  --btn-bg: var(--red);
  --btn-fg: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: .82em 1.35em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: inherit;
  font-size: .97rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  color: var(--btn-fg);
  background: var(--btn-bg);
  cursor: pointer;
  transition: transform .16s ease, background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}
.btn:hover {
  background: var(--red-dark);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(227, 12, 25, .30);
}
.btn:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn--ghost:hover {
  background: var(--paper-2);
  border-color: var(--graphite-700);
  color: var(--ink);
  box-shadow: none;
}

.section--dark .btn--ghost,
.cta-band .btn--ghost,
.hero .btn--ghost {
  border-color: rgba(255, 255, 255, .38);
  color: #fff;
  background: rgba(255, 255, 255, .04);
}
.section--dark .btn--ghost:hover,
.cta-band .btn--ghost:hover,
.hero .btn--ghost:hover {
  background: rgba(255, 255, 255, .12);
  border-color: #fff;
  color: #fff;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  font-weight: 650;
  text-decoration: none;
  color: var(--graphite-700);
  border-bottom: 1.5px solid rgba(227, 12, 25, .55);
  padding-bottom: 2px;
}
.link-arrow .ico { transition: transform .18s ease; }
.link-arrow:hover { color: var(--red-ink); border-color: var(--red); }
.link-arrow:hover .ico { transform: translateX(3px); }
.section--dark .link-arrow { color: #fff; }
.section--dark .link-arrow:hover { color: #fff; }

/* ---------- 5. Icons ---------- */
.ico {
  width: 1.25em;
  height: 1.25em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--red-soft);
  color: var(--red-ink);
  margin-bottom: 1.1rem;
}
.icon-box .ico { width: 24px; height: 24px; }
.section--dark .icon-box { background: rgba(255, 255, 255, .10); color: #fff; }

/* ---------- 6. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--ink);
  flex: 0 0 auto;
}
.brand-lockup {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1;
}

.brand-sub {
  display: block;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand-logo {
  display: block;
  height: 32px;
  width: auto;
  mix-blend-mode: multiply;
}

.footer-logo {
  display: block;
  width: min(300px, 100%);
  height: auto;
  margin-bottom: .2rem;
  mix-blend-mode: multiply;
}

.brand:hover { color: var(--ink); }

.site-nav { display: flex; align-items: center; gap: 1.2rem; }
.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(.8rem, 1.25vw, 1.15rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav li { margin: 0; }
.site-nav a:not(.btn) {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  padding: .35rem 0;
  font-size: .92rem;
  font-weight: 550;
  text-decoration: none;
  color: var(--body);
}
.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.site-nav a:not(.btn):hover { color: var(--ink); }
.site-nav a:not(.btn):hover::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--ink); font-weight: 700; }

.nav-cta { padding: .66em 1.1em; font-size: .92rem; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1.5px solid var(--line-strong);
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  margin-inline: auto;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
[data-nav-open="true"] .nav-toggle-bars { background: transparent; }
[data-nav-open="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
[data-nav-open="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--graphite);
  color: #d5d5d8;
  padding-block: clamp(44px, 6vw, 84px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(680px 420px at 82% 8%, rgba(227, 12, 25, .20), transparent 70%),
    radial-gradient(520px 380px at 6% 96%, rgba(110, 110, 115, .28), transparent 70%);
  pointer-events: none;
}
.hero > .wrap { position: relative; }
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.hero-text { max-width: 54rem; }
.hero h1 { color: #fff; margin-bottom: .5em; }
.hero .lead { color: #d2d2d6; max-width: 54ch; }
.hero .eyebrow { color: #fff; }


.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.4rem;
  margin-top: 1.9rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
  list-style: none;
  padding-left: 0;
  font-size: .9rem;
  color: #c4c4c8;
}
.hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  margin: 0;
}
.hero-facts .ico { color: #fff; }

/* ---------- 8. Page-Header (Unterseiten) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--graphite);
  color: #d5d5d8;
  padding-block: clamp(38px, 5.5vw, 68px);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(720px 320px at 88% 0%, rgba(227, 12, 25, .18), transparent 70%);
  pointer-events: none;
}
.page-hero .wrap { position: relative; }
.page-hero h1 { color: #fff; max-width: 24ch; }
.page-hero .lead { color: #d2d2d6; max-width: 60ch; margin-bottom: 0; }
.page-hero .eyebrow { color: #fff; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .4em;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0 0 1.1rem;
  font-size: .82rem;
  color: #9a9a9f;
}
.breadcrumb li { margin: 0; }
.breadcrumb a { color: #c4c4c8; text-decoration: none; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb li + li::before { content: "/"; margin-right: .4em; color: #7a7a7f; }

/* ---------- 9. Cards ---------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(22px, 2.4vw, 30px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.card h3 { margin-bottom: .55rem; }
.card p { font-size: .97rem; }
.card .link-arrow { margin-top: auto; padding-top: 1.15rem; align-self: flex-start; }

.card--accent { border-top: 3px solid var(--red); }
.card--flat { box-shadow: none; }

.section--dark .card {
  background: var(--graphite-800);
  border-color: rgba(255, 255, 255, .12);
  box-shadow: none;
  color: #cfcfd3;
}
.section--dark .card:hover { border-color: rgba(245, 166, 35, .5); }
.section--dark .card h3 { color: #fff; }

.card-list {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  font-size: .94rem;
}
.card-list li {
  display: flex;
  gap: .6em;
  padding: .42rem 0;
  margin: 0;
  border-top: 1px dashed var(--line);
}
.card-list li:first-child { border-top: 0; }
.card-list .ico {
  width: 1.05em;
  height: 1.05em;
  margin-top: .32em;
  color: var(--graphite-700);
}
.section--dark .card-list li { border-color: rgba(255, 255, 255, .1); }
.section--dark .card-list .ico { color: #fff; }

/* Zielgruppen-Karten (Startseite) */
.audience {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(24px, 2.6vw, 32px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.audience:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.audience h3 { font-size: 1.28rem; }
.audience .tag { margin-bottom: .9rem; }
.audience p { font-size: .96rem; }
.audience .card-list { margin-bottom: 1.4rem; }
.audience .link-arrow { margin-top: auto; align-self: flex-start; }
.audience--featured { border-color: rgba(227, 12, 25, .65); box-shadow: 0 0 0 1px rgba(245, 166, 35, .35), var(--shadow-sm); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  padding: .3em .7em;
  border-radius: 999px;
  background: var(--paper-3);
  color: var(--graphite-700);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  align-self: flex-start;
}
.tag--red { background: var(--red-soft); color: var(--red-ink); }
.tag--dark { background: rgba(255, 255, 255, .1); color: #e6e6e8; }

/* ---------- 10. Listen mit Haken ---------- */
.checklist {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
}
.checklist li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: .6rem;
}
.checklist--tight li { margin-bottom: .3rem; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .42em;
  width: 1.05rem;
  height: .58rem;
  border-left: 2px solid var(--graphite-700);
  border-bottom: 2px solid var(--graphite-700);
  transform: rotate(-45deg);
}
.section--dark .checklist li::before { border-color: #fff; }

/* ---------- 11. Tabellen ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
  min-width: 520px;
}
.table caption {
  caption-side: top;
  text-align: left;
  padding: 16px 18px 0;
  font-size: .88rem;
  color: var(--muted);
}
.table th,
.table td {
  text-align: left;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.table thead th {
  background: var(--graphite);
  color: #fff;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 650;
  border-bottom: 0;
}
.table tbody tr:last-child th,
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:nth-child(even) { background: #fafafa; }
.table th[scope="row"] { font-weight: 650; color: var(--ink); white-space: nowrap; }
.table .risk-low { color: var(--ok); font-weight: 650; }
.table .risk-mid { color: var(--red-ink); font-weight: 650; }
.table .risk-high { color: #a10c16; font-weight: 650; }

/* ---------- 12. Stats / Kennzahlen ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.stats li { margin: 0; }
.stat-value {
  display: block;
  font-size: clamp(2.1rem, 4.4vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  color: #fff;
  margin-bottom: .5rem;
}
.stat-label { display: block; font-size: .95rem; color: #cfcfd3; max-width: 30ch; }
.section--dark .stat-label { color: #cfcfd3; }

/* ---------- 13. Hinweis-Boxen ---------- */
.note {
  display: flex;
  gap: 1rem;
  padding: clamp(18px, 2.2vw, 24px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  background: var(--paper-2);
}
.note .ico { color: var(--red-ink); width: 22px; height: 22px; margin-top: .18rem; }
.note h3,
.note h4 { margin-bottom: .35rem; font-size: 1.02rem; }
.note p { font-size: .94rem; margin-bottom: 0; }
.note--plain { border-left-color: var(--line-strong); }
.note--dark {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .14);
  border-left-color: var(--red);
  color: #cfcfd3;
}
.note--dark h3, .note--dark h4 { color: #fff; }
.note--dark .ico { color: #fff; }

/* ---------- 14. Figuren & Bildplätze ---------- */
.figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.figure svg,
.figure img { display: block; width: 100%; height: auto; }
.figure figcaption {
  padding: 14px 20px 16px;
  font-size: .85rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: #fff;
}

/* ---------- 14b. Bildkarten mit Foto ---------- */
.photo-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.photo-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.photo-card figcaption {
  padding: 15px 18px 17px;
  font-size: .9rem;
  line-height: 1.5;
  color: var(--body);
}
.photo-card figcaption strong {
  display: block;
  margin-bottom: .2rem;
  color: var(--ink);
}

/* ---------- 15. Prozess ---------- */
.process {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 26px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.process li {
  counter-increment: step;
  position: relative;
  margin: 0;
  padding-top: 2.9rem;
  font-size: .95rem;
}
.process li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 750;
  font-size: .92rem;
}
.process li::after {
  content: "";
  position: absolute;
  top: 1.05rem;
  left: 2.4rem;
  right: -.4rem;
  height: 1px;
  background: var(--line);
}
.process li:last-child::after { display: none; }
.process strong { display: block; margin-bottom: .25rem; color: var(--ink); font-size: 1rem; }
.section--dark .process li::before { background: rgba(227, 12, 25, .18); }
.section--dark .process li::after { background: rgba(255, 255, 255, .16); }
.section--dark .process strong { color: #fff; }

/* ---------- 16. Region ---------- */
.region {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

/* ---------- 17. CTA-Band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--graphite-700), var(--graphite));
  color: #d5d5d8;
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
}
.cta-band::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  right: -120px;
  top: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 12, 25, .30), transparent 68%);
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { color: #d2d2d6; max-width: 48ch; }

.cta-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
}

/* ---------- 18. Kontakt ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 3.5vw, 44px);
  align-items: start;
}
.contact-card {
  padding: clamp(22px, 2.6vw, 32px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: .97rem;
}
.contact-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: .9rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
  margin: 0;
  align-items: start;
}
.contact-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-list li:first-child { padding-top: 0; }
.contact-list .ico { color: var(--red-ink); width: 20px; height: 20px; margin-top: .18rem; }
.contact-list dt { display: none; }
.contact-list .label {
  display: block;
  font-size: .74rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 650;
  margin-bottom: .1rem;
}
.contact-list a { font-weight: 600; color: var(--graphite-700); text-decoration: none; }
.contact-list a:hover { color: var(--red-ink); text-decoration: underline; }

.form {
  display: grid;
  gap: 1rem;
  padding: clamp(22px, 2.6vw, 32px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.field { display: grid; gap: .35rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .87rem; font-weight: 650; color: var(--ink); }
.field .hint { font-size: .78rem; color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .7em .8em;
  font: inherit;
  font-size: .95rem;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line-strong);
  border-radius: 10px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--graphite-700);
  box-shadow: 0 0 0 3px rgba(74, 75, 80, .14);
}
.field input::placeholder,
.field textarea::placeholder { color: #9a9a9f; }
.form-status {
  margin: 0;
  padding: .8rem 1rem;
  border-radius: 10px;
  font-size: .9rem;
  background: var(--red-soft);
  color: var(--red-ink);
  border: 1px solid rgba(227, 12, 25, .45);
}
.form-status[hidden] { display: none; }
.form-status--err {
  background: var(--red-soft);
  color: var(--red-ink);
  border-color: rgba(227, 12, 25, .45);
}
.form-status--ok {
  background: #edf7ee;
  color: #1d5c28;
  border-color: rgba(29, 92, 40, .35);
}
#gesendet:target,
#fehler:target,
#entwurf:target { display: block; }

/* Honeypot: für Menschen unsichtbar, für Bots ein Feld */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.field .checkbox {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  font-size: .85rem;
  font-weight: 400;
  color: var(--body);
}
.checkbox input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: .2rem;
  accent-color: #4a4b50;
  flex: 0 0 auto;
}

/* ---------- 19. Rechtstexte ---------- */
.legal { max-width: 74ch; }
.legal h2 { margin-top: 2.4rem; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { margin-top: 1.7rem; }
.legal ul { padding-left: 1.2em; }
.legal address { font-style: normal; }


/* ---------- 20. Footer (hell, damit das rote Logo ohne Kasten funktioniert) ---------- */
.site-footer {
  background: var(--paper-3);
  border-top: 1px solid var(--line);
  color: var(--body);
  padding-block: clamp(44px, 6vw, 68px) 0;
  font-size: .93rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: clamp(24px, 3.5vw, 48px);
}
.site-footer h2,
.site-footer h3 {
  color: var(--graphite);
  font-size: .8rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 1rem;
}
.site-footer a { color: var(--body); text-decoration: none; }
.site-footer a:hover { color: var(--red-ink); text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer address { font-style: normal; line-height: 1.7; }

.footer-brand p { margin-top: 1.1rem; font-size: .9rem; color: var(--body); max-width: 34ch; }
.footer-brand .brand { margin-bottom: 0; }

.footer-bottom {
  margin-top: clamp(32px, 4vw, 48px);
  padding-block: 1.2rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.6rem;
  justify-content: space-between;
  align-items: center;
  font-size: .84rem;
  color: var(--muted);
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-bottom li { margin: 0; }

/* ---------- 21. Reveal-Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 22. Hilfsklassen ---------- */
.nowrap { white-space: nowrap; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  padding: .7rem 1.1rem;
  background: var(--red);
  color: #ffffff;
  font-weight: 700;
  border-radius: 0 0 10px 10px;
  text-decoration: none;
  transition: top .18s ease;
}
.skip-link:focus { top: 0; color: #ffffff; }

/* ---------- 23. Responsive ---------- */
@media (max-width: 1020px) {
  .hero-inner,
  .split,
  .region,
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.6rem; }
  .process li:nth-child(even)::after { display: none; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .site-nav {
    /* absolut statt fixed: der Header mit backdrop-filter ist Bezugsrahmen */
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1.1rem clamp(18px, 4vw, 32px) 2rem;
    background: #fff;
    border-top: 1px solid var(--line);
    overflow-y: auto;
    z-index: 55;
  }
  [data-nav-open="true"] .site-nav { display: flex; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav a:not(.btn) {
    display: block;
    padding: .95rem .2rem;
    font-size: 1.02rem;
  }
  .site-nav a:not(.btn)::after { display: none; }

  .nav-cta { margin-top: 1.4rem; align-self: stretch; padding: .85em 1.4em; font-size: 1rem; }
  .grid--2,
  .grid--3 { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .cta-layout { grid-template-columns: minmax(0, 1fr); justify-items: start; }
}

@media (max-width: 620px) {
  :root { --header-h: 70px; }
  .eyebrow { font-size: .7rem; letter-spacing: .09em; gap: .4em; }
  .eyebrow::before { width: 16px; }
  .brand-logo { height: 24px; }
  .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .process { grid-template-columns: minmax(0, 1fr); }
  .process li::after { display: none; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-facts { flex-direction: column; gap: .5rem; }
  .btn { width: 100%; }
  .btn-row { width: 100%; }
  .nav-cta, .hero .btn-row .btn { width: auto; }
  .hero .btn-row { width: auto; }
  .hero .btn-row .btn { width: 100%; }
  .brand { gap: .55rem; }
  .site-nav .btn { width: 100%; }
}

/* ---------- 24. Reduzierte Bewegung & Druck ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header,
  .site-footer,
  .cta-band,
  .nav-toggle,
  .btn { display: none !important; }
  body { color: #000; font-size: 11pt; }
  .section--dark,
  .hero,
  .page-hero { background: #fff !important; color: #000 !important; }
  .hero h1,
  .page-hero h1,
  .section--dark h2,
  .section--dark h3 { color: #000 !important; }
  a { text-decoration: underline; }
  .card,
  .audience,
  .figure { box-shadow: none; border: 1px solid #999; }
}
