/* wattgenau — Stylesheet
   CI-Variante 2b: Archivo, Akzent Amber. Keine externen Ressourcen. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-standard-normal.woff2") format("woff2-variations"),
       url("../fonts/archivo-latin-standard-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-ext-standard-normal.woff2") format("woff2-variations"),
       url("../fonts/archivo-latin-ext-standard-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Marke */
  --amber: #e48e26;          /* Akzent: Punkte, Linien, Icons */
  --amber-btn: #d97f1a;      /* Button-Fläche (Kontrast zu Weiß) */
  --amber-btn-hover: #c9700f;
  --amber-text: #b45f08;     /* Orange als Fließtext/Link auf Hell (WCAG AA) */
  --amber-light: #eba941;    /* Akzent auf Dunkel */

  /* Neutral */
  --ink: #0f171f;
  --ink-2: #141b24;
  --navy: #141d26;           /* CTA-Band, Footer */
  --text: #2c3640;
  --muted: #5f6469;
  --line: #dfe5eb;
  --surface: #ffffff;
  --surface-2: #f2f6f9;      /* Leistungssektion */
  --on-dark: #ffffff;
  --on-dark-muted: #c9d0d7;

  /* Layout */
  --container: 1290px;
  --gutter: clamp(16px, 5.2vw, 75px);
  --header-h: 70px;
  --radius: 4px;
  --shadow: 0 1px 2px rgba(15, 23, 31, .04), 0 8px 24px rgba(15, 23, 31, .05);

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 350;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul { margin: 0; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h3 { font-weight: 700; letter-spacing: 0; line-height: 1.25; }

.dot { color: var(--amber); }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  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: 16px; top: -100px; z-index: 100;
  padding: 10px 16px; background: var(--ink); color: #fff;
  border-radius: var(--radius); text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 46px;
  padding: 10px 28px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--primary { background: var(--amber-btn); color: #fff; }
.btn--primary:hover { background: var(--amber-btn-hover); }
.btn--ghost { border-color: #fff; color: #fff; background: rgba(15, 23, 31, .15); }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--lg { min-height: 46px; padding-inline: 28px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  color: var(--amber-text);
  font-weight: 500;
  text-decoration: none;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .15s; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 3px; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 16px rgba(15, 23, 31, .06); }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}
.brand { display: block; flex: none; }
.brand img { width: 252px; height: auto; }

.nav { display: flex; align-items: center; gap: 40px; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 15.5px;
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--ink); }
.nav__link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--amber); }
.nav__link svg { width: 14px; height: 14px; transition: transform .15s; }

.nav__item--dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: -20px;
  min-width: 280px;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(15, 23, 31, .12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.dropdown::before { /* Hover-Brücke */
  content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px;
}
.dropdown a {
  display: block;
  padding: 9px 20px;
  font-size: 15px;
  color: var(--text);
  text-decoration: none;
}
.dropdown a:hover, .dropdown a:focus-visible { background: var(--surface-2); color: var(--ink); }
.nav__item--dropdown.is-open .dropdown,
.nav__item--dropdown:hover .dropdown,
.nav__item--dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.nav__item--dropdown.is-open > .nav__link svg { transform: rotate(180deg); }

.nav__cta { min-height: 41px; padding: 8px 28px; font-size: 15.5px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  margin-right: -10px;
  padding: 10px;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1080px) {
  .nav, .nav__list { gap: 28px; }
  .brand img { width: 210px; }
}
@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .brand img { width: 180px; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 32px;
    background: #fff;
    border-top: 1px solid var(--line);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transition: opacity .2s, visibility .2s;
  }
  .nav.is-open { visibility: visible; opacity: 1; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li { border-bottom: 1px solid var(--line); }
  .nav__link { width: 100%; justify-content: space-between; padding: 16px 0; font-size: 18px; }
  .nav__link[aria-current="page"] { box-shadow: none; color: var(--amber-text); font-weight: 600; }
  .dropdown {
    position: static;
    display: none;
    min-width: 0;
    padding: 0 0 12px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav__item--dropdown:hover .dropdown,
  .nav__item--dropdown:focus-within .dropdown { display: none; }
  .nav__item--dropdown.is-open .dropdown { display: block; }
  .dropdown a { padding: 10px 16px; }
  .nav__cta { margin-top: 24px; min-height: 50px; font-size: 17px; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero (Startseite) ---------- */

.hero {
  position: relative;
  isolation: isolate;
  color: var(--on-dark);
  background: var(--ink);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 27%;
}
.hero::before { /* Lesbarkeits-Verlauf von links */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(15, 23, 31, .6) 0%, rgba(15, 23, 31, .4) 38%, rgba(15, 23, 31, .08) 62%, rgba(15, 23, 31, 0) 100%),
    linear-gradient(0deg, rgba(15, 23, 31, .5) 0%, rgba(15, 23, 31, 0) 45%),
    rgba(15, 23, 31, .18);
}
.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 40px;
  min-height: 368px;
  padding-top: 42px;
  padding-bottom: 30px;
}
.eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero h1 {
  color: #fff;
  font-size: clamp(40px, 4.2vw, 60px);
  line-height: .92;
  letter-spacing: -0.02em;
}
.hero__lead {
  max-width: 525px;
  margin: 16px 0 0;
  font-size: clamp(16px, 1.2vw, 17px);
  font-weight: 350;
  line-height: 1.33;
  color: #fff;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}
.hero__actions .btn { min-width: 160px; }
.hero__actions .btn--primary { min-width: 212px; }

.usps {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}
.usps li {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0 38px;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.25;
  color: #fff;
}
.usps li + li { border-left: 1px solid rgba(255, 255, 255, .45); }
.usps li:last-child { padding-right: 0; }
.usps svg { width: 40px; height: 40px; color: #fff; }

@media (max-width: 1180px) {
  .hero .container { grid-template-columns: 1fr; align-items: start; }
  .usps { margin-top: 8px; }
  .usps li:first-child { padding-left: 0; }
}
@media (max-width: 640px) {
  .hero__bg img { object-position: 62% 30%; }
  .hero::before {
    background: linear-gradient(180deg, rgba(15, 23, 31, .35) 0%, rgba(15, 23, 31, .55) 55%, rgba(15, 23, 31, .8) 100%);
  }
  .hero .container { padding-top: 40px; padding-bottom: 32px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .usps { flex-direction: column; gap: 14px; }
  .usps li { flex-direction: row; align-items: center; padding: 0; }
  .usps li + li { border-left: 0; }
  .usps svg { width: 32px; height: 32px; flex: none; }
  .usps br { display: none; }
}

/* ---------- Zielgruppen-Leiste ---------- */

.audiences { background: #fff; }
.audiences .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.audience {
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 18px 0;
  min-height: 90px;
  text-decoration: none;
  color: inherit;
}
.audience + .audience { padding-left: 80px; gap: 36px; border-left: 1px solid var(--line); }
.audience:first-child { padding-right: 60px; }
.audience__icon { width: 62px; height: 56px; flex: none; color: var(--amber); }
.audience__body { flex: 1; }
.audience__title { display: block; margin-bottom: 2px; font-size: 20px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.audience__text { display: block; font-size: 17px; font-weight: 350; color: var(--muted); line-height: 1.3; }
@media (min-width: 1200px) { .audience__text { white-space: nowrap; } }
.audience__arrow { width: 24px; height: 24px; flex: none; color: var(--amber); transition: transform .15s; }
.audience:hover .audience__arrow { transform: translateX(4px); }
.audience:hover .audience__title { text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 4px; }

@media (max-width: 900px) {
  .audiences .container { grid-template-columns: 1fr; }
  .audience, .audience:first-child { padding: 20px 0; gap: 20px; }
  .audience + .audience { padding-left: 0; gap: 20px; border-left: 0; border-top: 1px solid var(--line); }
  .audience__icon { width: 48px; height: 44px; }
  .audience__title { font-size: 18px; }
  .audience__text { font-size: 16px; }
}

/* ---------- Sektionen ---------- */

.section { padding: 40px 0 50px; }
.section--tint { background: var(--surface-2); }
.section--lg { padding: 80px 0; }

.kicker {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.kicker::before {
  content: "";
  width: 29px;
  height: 4px;
  background: var(--amber);
}
.kicker--light { color: var(--on-dark-muted); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 392px);
  align-items: end;
  gap: 32px 64px;
  margin-bottom: 20px;
}
.section-head h2, .h2 {
  font-size: clamp(30px, 2.6vw, 37px);
  line-height: 1.02;
}
.section-head p {
  margin: 0;
  padding-bottom: 12px;
  font-size: 15px;
  line-height: 1.37;
  color: var(--text);
}
@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; }
  .section-head p { padding-bottom: 0; }
}

/* ---------- Leistungskarten ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.card {
  display: flex;
  flex-direction: column;
  padding: 18px 20px 16px 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-stretch: 94%;
}
.card__head {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0 18px;
  align-items: start;
  margin-bottom: 16px;
}
.card__icon { width: 56px; height: 60px; margin-top: -6px; color: var(--amber); }
.card h3 { margin-top: 2px; font-size: 17px; }
.card__tagline {
  margin: 6px 0 0;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.card ul {
  margin: 0 0 18px;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.6;
}
.card li::marker { color: var(--ink); font-size: .8em; }
.card li { padding-left: 6px; }
.card .link-arrow { margin-top: auto; padding-bottom: 4px; font-size: 14.5px; }

@media (max-width: 1080px) {
  .cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .cards { grid-template-columns: 1fr; }
  .card ul { font-size: 15.5px; }
}

/* ---------- CTA-Band ---------- */

.cta-band {
  background: var(--navy);
  color: var(--on-dark);
}
.cta-band .container {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 360px) auto;
  align-items: center;
  gap: 24px 48px;
  min-height: 86px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.cta-band__bar { width: 42px; height: 4px; background: var(--amber); }
.cta-band__title {
  margin: 0;
  color: #fff;
  font-size: clamp(20px, 1.75vw, 24px);
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1.2;
}
.cta-band__title .dot { color: var(--amber); }
.cta-band__text { margin: 0; font-size: 13px; line-height: 1.5; color: var(--on-dark-muted); }
.cta-band .btn { min-width: 196px; }

@media (max-width: 1080px) {
  .cta-band .container { grid-template-columns: auto 1fr; }
  .cta-band__text, .cta-band .btn { grid-column: 2; }
  .cta-band .btn { justify-self: start; }
}
@media (max-width: 560px) {
  .cta-band .container { grid-template-columns: 1fr; padding-top: 36px; padding-bottom: 40px; }
  .cta-band__text, .cta-band .btn { grid-column: 1; }
  .cta-band__text { font-size: 15px; }
}

/* ---------- Ansatz / Feature-Grid ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  margin-top: 40px;
}
.feature svg { width: 44px; height: 44px; margin-bottom: 18px; color: var(--amber); }
.feature h3 { margin-bottom: 10px; font-size: 20px; }
.feature p { margin: 0; color: var(--text); }
@media (max-width: 900px) {
  .features { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Zweispaltige Inhaltsblöcke ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px 80px;
  align-items: start;
}
.split h2 { font-size: clamp(28px, 2.6vw, 36px); line-height: 1.05; }
.split__body > :last-child { margin-bottom: 0; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 20px; }
}

.lead { font-size: 19px; line-height: 1.5; color: var(--text); }

.checklist { padding: 0; list-style: none; }
.checklist li {
  position: relative;
  padding: 10px 0 10px 32px;
  border-bottom: 1px solid var(--line);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 19px;
  width: 14px;
  height: 4px;
  background: var(--amber);
}

/* ---------- Team ---------- */

.team {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.person {
  padding: 32px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.person__initials {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .02em;
}
.person__initials::after { content: "."; color: var(--amber); }
.person h3 { font-size: 22px; }
.person__role {
  margin: 4px 0 16px;
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.person p:last-child { margin-bottom: 0; }
@media (max-width: 800px) {
  .team { grid-template-columns: 1fr; }
  .person { padding: 24px; }
}

/* ---------- Unterseiten-Hero ---------- */

.page-hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  background: var(--ink);
  overflow: hidden;
}
.page-hero .hero__bg img { object-position: 50% 35%; }
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(15, 23, 31, .7) 0%, rgba(15, 23, 31, .45) 45%, rgba(15, 23, 31, .1) 75%),
    linear-gradient(0deg, rgba(15, 23, 31, .35) 0%, rgba(15, 23, 31, 0) 50%);
}
.page-hero .container { padding-top: 64px; padding-bottom: 56px; }
.page-hero h1 {
  max-width: 820px;
  color: #fff;
  font-size: clamp(36px, 4vw, 56px);
  line-height: .98;
}
.page-hero p:not(.eyebrow) {
  max-width: 600px;
  margin: 18px 0 0;
  font-size: 18px;
  line-height: 1.4;
}

/* ---------- Anker-Navigation (Leistungen) ---------- */

.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.subnav ul {
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav a {
  display: block;
  padding: 16px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.subnav a:hover { color: var(--amber-text); }

/* ---------- Leistungs-Detail ---------- */

.service + .service { border-top: 1px solid var(--line); }
.service__icon { width: 56px; height: 60px; margin-bottom: 18px; color: var(--amber); }
.service__tagline {
  margin: 10px 0 0;
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.service-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 40px;
  margin-top: 32px;
}
.service-items h3 { margin-bottom: 6px; font-size: 17px; }
.service-items p { margin: 0; font-size: 16px; }
@media (max-width: 700px) {
  .service-items { grid-template-columns: 1fr; }
}

/* ---------- Kontakt ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.contact-card {
  padding: 28px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-card svg { width: 32px; height: 32px; margin-bottom: 16px; color: var(--amber); }
.contact-card h3 { margin-bottom: 6px; font-size: 17px; }
.contact-card a { color: var(--amber-text); font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }
.contact-card a:hover { text-decoration: underline; }
.contact-card p { margin: 0; }
.contact-card address { font-style: normal; }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- Rechtstexte ---------- */

.legal { max-width: 780px; }
.legal h1 { margin-bottom: 32px; font-size: clamp(32px, 3.4vw, 44px); }
.legal h2 { margin: 40px 0 12px; font-size: 22px; line-height: 1.25; letter-spacing: 0; }
.legal h3 { margin: 24px 0 8px; font-size: 17px; }
.legal p, .legal li { font-size: 16.5px; }
.legal ul { margin: 0 0 1em; padding-left: 22px; }
.legal li { margin-bottom: .35em; }
.legal a { color: var(--amber-text); text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal address { font-style: normal; margin-bottom: 1em; }
.legal .meta { margin-top: 48px; font-size: 14px; color: var(--muted); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: var(--on-dark-muted);
  font-size: 15px;
}
.site-footer .container {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-top: 56px;
  padding-bottom: 40px;
}
.site-footer img { width: 200px; margin-bottom: 16px; }
.site-footer h2 {
  margin: 4px 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
}
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer address { font-style: normal; line-height: 1.6; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 18px;
  padding-bottom: 18px;
  font-size: 13.5px;
}
@media (max-width: 900px) {
  .site-footer .container { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .site-footer .container { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- 404 ---------- */

.notfound { min-height: 60vh; display: grid; align-content: center; }
.notfound h1 { font-size: clamp(40px, 5vw, 64px); margin: 0 0 16px; }
.footer-legal { display: flex; gap: 24px; }
.todo { background: #fff3cd; color: #7a4b00; padding: 0 4px; border-radius: 2px; }
.split__body .checklist { margin-bottom: 20px; }

.page-hero img[src*="hero-1-"], .page-hero img[src*="hero-2-"] { object-position: 50% 62%; }
@media (min-width: 1200px) { .cta-band__title { white-space: nowrap; } }
.link-row { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 0; }
.privacy-note { max-width: 720px; margin: 0; font-size: 15px; color: var(--muted); }
.privacy-note a { color: var(--amber-text); text-underline-offset: 3px; }
