/* ET BAU-Management GmbH – Website
   Gestaltung passend zu den Bauzaunbannern: Nachtblau, Bronze, weißes Logo auf Blau.
   Schriften lokal eingebunden (keine Verbindung zu Google-Servern). Eckig, ohne Rundungen. */

@font-face {
  font-family: "Didact Gothic";
  src: url("../fonts/didact-gothic-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-var.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */

:root {
  --navy-950: #0f151e;
  --navy-900: #131b26;
  --navy-800: #1a2332;
  --navy-700: #26324a;
  --navy-ghost: #212c40;
  --bronze: #a88b5e;
  --bronze-hover: #baa074;
  --on-navy: #eef0f3;
  --on-navy-muted: #aab3c0;

  --bg: #f6f7f9;
  --surface: #fdfdfe;
  --tint: #edf0f3;
  --text: #1a2332;
  --muted: #4b5667;
  --line: #d9dee5;
  --accent-ink: #7e6440;

  --font-display: "Didact Gothic", "Century Gothic", "Avenir Next", sans-serif;
  --font-body: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --header-h: 84px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 30px 60px -30px rgb(19 27 38 / 0.35);

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111822;
    --surface: #161f2c;
    --tint: #141c28;
    --text: #eceef1;
    --muted: #a7b0bd;
    --line: #2a3546;
    --accent-ink: #c2a676;
    --shadow: 0 30px 60px -30px rgb(0 0 0 / 0.6);
  }
}

/* ---------- Basis ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

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

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.012em;
  word-spacing: -0.06em;
}

p,
ul,
ol {
  margin: 0;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}

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

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

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--bronze);
  color: var(--navy-900);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

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

.kicker {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--bronze);
}

.media-note {
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  color: var(--muted);
}

/* ---------- Logo ---------- */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand__icon {
  height: 38px;
  width: auto;
}

.brand__name {
  display: flex;
  flex-direction: column;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand__name strong {
  font-size: 1.95rem;
  font-weight: 800;
  line-height: 0.72;
}

.brand__name span {
  margin-top: 5px;
  font-size: 0.64rem;
  line-height: 0.72;
  letter-spacing: 0.04em;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 54px;
  padding: 0 1.6rem;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn .icon {
  transition: transform 0.3s var(--ease);
}

.btn:hover .icon--arrow {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--bronze);
  color: var(--navy-900);
}

.btn--primary:hover {
  background: var(--bronze-hover);
}

.btn--ghost {
  border-color: rgb(238 240 243 / 0.4);
  color: var(--on-navy);
}

.btn--ghost:hover {
  border-color: rgb(238 240 243 / 0.8);
  background: rgb(238 240 243 / 0.08);
}

.btn--small {
  min-height: 46px;
  padding: 0 1.2rem;
  font-size: 0.875rem;
}

.btn--block {
  width: 100%;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--on-navy);
  background: linear-gradient(180deg, rgb(15 21 30 / 0.55), rgb(15 21 30 / 0));
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled,
.site-header--solid {
  background: var(--navy-800);
  box-shadow: 0 12px 30px -20px rgb(9 13 20 / 0.7);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: var(--header-h);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.site-nav__links {
  display: flex;
  gap: 2rem;
  padding: 0;
  list-style: none;
}

.site-nav__links a {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgb(238 240 243 / 0.82);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.site-nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1px;
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.site-nav__links a:hover,
.site-nav__links a[aria-current="true"] {
  color: var(--on-navy);
}

.site-nav__links a:hover::after,
.site-nav__links a[aria-current="true"]::after {
  transform: scaleX(1);
}

.site-nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--on-navy);
  text-decoration: none;
}

.site-nav__phone .icon {
  color: var(--bronze);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgb(238 240 243 / 0.3);
  background: transparent;
  color: var(--on-navy);
  cursor: pointer;
}

.menu-toggle .icon {
  width: 22px;
  height: 22px;
}

.menu-toggle .icon--close,
.menu-toggle[aria-expanded="true"] .icon--open {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon--close {
  display: block;
}

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

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(100dvh, 960px);
  padding-block: calc(var(--header-h) + 3rem) 9rem;
  overflow: hidden;
  background: var(--navy-800);
  color: var(--on-navy);
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 55%;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(19 27 38 / 0.96) 0%, rgb(19 27 38 / 0.86) 32%, rgb(19 27 38 / 0.35) 58%, rgb(19 27 38 / 0) 78%),
    linear-gradient(0deg, rgb(19 27 38 / 0.55) 0%, rgb(19 27 38 / 0) 30%);
}

.hero__inner {
  position: relative;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  max-width: 40rem;
}

.hero__title {
  font-size: clamp(3rem, 6.2vw, 5.6rem);
  line-height: 1.02;
}

.hero__title span {
  display: block;
}

.hero__title .accent {
  color: var(--bronze);
}

.hero__lead {
  max-width: 33rem;
  font-size: clamp(1.02rem, 1.25vw, 1.15rem);
  color: var(--on-navy-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.hero .media-note {
  position: absolute;
  right: var(--gutter);
  bottom: 7.5rem;
  color: rgb(238 240 243 / 0.7);
}

/* ---------- Kennzahlen ---------- */

.facts {
  position: relative;
  z-index: 2;
  margin-top: -5.5rem;
}

.facts__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0;
  list-style: none;
  background: var(--navy-900);
  color: var(--on-navy);
  border-top: 3px solid var(--bronze);
  box-shadow: var(--shadow);
}

.facts__item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 2.4rem 2.25rem;
}

.facts__item + .facts__item {
  border-left: 1px solid var(--navy-700);
}

.facts__value {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.2vw, 3rem);
  line-height: 1;
  word-spacing: -0.06em;
}

.facts__label {
  font-size: 0.9rem;
  color: var(--on-navy-muted);
}

/* ---------- Abschnitte ---------- */

.section {
  padding-block: clamp(5rem, 10vw, 8.5rem);
}

.section__head {
  max-width: 44rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section__title {
  font-size: clamp(2.3rem, 4.2vw, 3.6rem);
}

.section__lead {
  max-width: 38rem;
  margin-top: 1.25rem;
  font-size: 1.08rem;
  color: var(--muted);
}

/* ---------- Vorteile ---------- */

.benefits {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.benefits__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.25rem 2.5rem;
  margin-top: 3rem;
  padding: 0;
  list-style: none;
}

.benefit .icon {
  width: 34px;
  height: 34px;
  margin-bottom: 1rem;
  color: var(--accent-ink);
}

.benefit h3 {
  font-size: 1.4rem;
}

.benefit p {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.benefits__media {
  position: relative;
  margin: 0;
}

.benefits__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.benefits__badge {
  position: absolute;
  left: -2.5rem;
  bottom: 2.5rem;
  max-width: 17rem;
  padding: 1.6rem 1.75rem;
  background: var(--navy-800);
  color: var(--on-navy);
  border-left: 3px solid var(--bronze);
  box-shadow: var(--shadow);
}

.benefits__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.15;
}

.benefits__badge span {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: var(--on-navy-muted);
}

.benefits__media .media-note {
  display: block;
  margin-top: 0.6rem;
  text-align: right;
}

/* ---------- Leistungen ---------- */

.services {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(320px, auto);
  gap: 1.25rem;
  padding: 0;
  list-style: none;
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.tile:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow);
}

.tile .icon {
  width: 38px;
  height: 38px;
  color: var(--accent-ink);
}

.tile h3 {
  margin-top: auto;
  font-size: 1.6rem;
}

.tile ul {
  display: grid;
  gap: 0.2rem;
  margin-top: 0.9rem;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
  color: var(--muted);
}

.tile--wide {
  grid-column: span 2;
  border: 0;
  color: var(--on-navy);
  background: var(--navy-800);
}

.tile--wide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.tile--wide:hover img {
  transform: scale(1.04);
}

.tile--wide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgb(19 27 38 / 0.92) 0%, rgb(19 27 38 / 0.45) 45%, rgb(19 27 38 / 0) 75%);
}

.tile--wide > :not(img) {
  position: relative;
  z-index: 1;
}

.tile--wide h3 {
  font-size: 2rem;
}

.tile--wide ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.25rem;
  color: var(--on-navy-muted);
}

.trades {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.trades__label {
  margin-right: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.trades__chip {
  padding: 0.55rem 1rem;
  border: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--muted);
}

/* ---------- Ablauf (Nachtblau) ---------- */

.process {
  position: relative;
  overflow: hidden;
  background: var(--navy-800);
  color: var(--on-navy);
}

.process__ghost {
  position: absolute;
  right: -8%;
  top: -12%;
  width: min(62vw, 900px);
  color: var(--navy-ghost);
  pointer-events: none;
}

.process .container {
  position: relative;
}

.process .section__lead {
  color: var(--on-navy-muted);
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.75rem);
  padding: 0;
  list-style: none;
}

.steps::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 32px;
  right: 0;
  height: 1px;
  background: var(--navy-700);
}

.step {
  position: relative;
}

.step__marker {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 1.75rem;
  border: 1px solid var(--bronze);
  background: var(--navy-800);
  color: var(--bronze);
}

.step__marker .icon {
  width: 28px;
  height: 28px;
}

.step h3 {
  font-size: 1.5rem;
}

.step p {
  margin-top: 0.7rem;
  color: var(--on-navy-muted);
}

/* ---------- Projekte ---------- */

.projects {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 1.5rem;
}

.projects__side {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 1.5rem;
}

.project {
  margin: 0;
}

.project__media {
  overflow: hidden;
}

.project__media img {
  width: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.project:hover .project__media img {
  transform: scale(1.03);
}

.project--large .project__media img {
  aspect-ratio: 4 / 3.15;
}

.project--small .project__media img {
  aspect-ratio: 16 / 10;
}

.project figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-top: 1.1rem;
}

.project h3 {
  font-size: 1.5rem;
}

.project p {
  margin-top: 0.25rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.project .media-note {
  flex: none;
}

.project-cta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.25rem;
  background: var(--navy-800);
  color: var(--on-navy);
}

.project-cta h3 {
  font-size: 2rem;
}

.project-cta p {
  margin-top: 0.75rem;
  color: var(--on-navy-muted);
}

.project-cta .btn {
  align-self: flex-start;
}

/* ---------- Über uns ---------- */

.about {
  background: var(--tint);
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.about__media {
  margin: 0;
}

.about__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about__media .media-note {
  display: block;
  margin-top: 0.6rem;
}

.about__statement {
  font-size: clamp(2.1rem, 3.8vw, 3.3rem);
  line-height: 1.12;
}

.about__statement em {
  font-style: normal;
  color: var(--accent-ink);
}

.about__text {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2.5rem;
  margin-top: 2.5rem;
  color: var(--muted);
}

.regions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2.5rem;
  padding: 0;
  list-style: none;
}

.regions li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 500;
}

.regions .icon {
  width: 1.05em;
  height: 1.05em;
  color: var(--accent-ink);
}

.about__signoff {
  margin-top: 2.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent-ink);
  word-spacing: -0.04em;
}

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

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}

.contact__list {
  margin-top: 2.75rem;
  padding: 0;
  list-style: none;
}

.contact__item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 1.25rem;
  padding-block: 1.4rem;
  border-top: 1px solid var(--line);
}

.contact__item:last-child {
  border-bottom: 1px solid var(--line);
}

.contact__item .icon {
  grid-row: span 2;
  width: 28px;
  height: 28px;
  color: var(--accent-ink);
}

.contact__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.contact__value {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  line-height: 1.3;
  text-decoration: none;
  overflow-wrap: anywhere;
  word-spacing: -0.04em;
}

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  background: var(--surface);
  border-top: 3px solid var(--bronze);
  box-shadow: var(--shadow);
}

.form__title {
  grid-column: 1 / -1;
  font-size: 1.6rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.82rem;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--bronze);
  background: var(--surface);
}

.check {
  grid-column: 1 / -1;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--muted);
}

.check input {
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  accent-color: var(--bronze);
}

.form .btn {
  grid-column: 1 / -1;
}

.form__note {
  grid-column: 1 / -1;
  font-size: 0.8rem;
  color: var(--muted);
}

.form__note a {
  color: inherit;
  font-weight: 600;
}

.form.is-sent .form__note {
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--bronze);
  background: var(--tint);
  color: var(--text);
  font-size: 0.92rem;
}

.btn:disabled {
  opacity: 0.6;
  cursor: progress;
}

/* Danke- und Fehlerseite */
.message {
  max-width: 40rem;
}

.message h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
}

.message p {
  margin-top: 1.25rem;
  font-size: 1.08rem;
  color: var(--muted);
}

.message .btn {
  margin-top: 2.25rem;
}

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

.site-footer {
  background: var(--navy-950);
  color: var(--on-navy-muted);
  font-size: 0.92rem;
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.4fr));
  gap: 2.5rem;
  padding-block: 4.5rem 3.5rem;
}

.site-footer .brand {
  color: var(--on-navy);
}

.site-footer__claim {
  max-width: 21rem;
  margin-top: 1.5rem;
}

.site-footer h2 {
  margin-bottom: 1.1rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  word-spacing: 0;
  color: var(--on-navy);
}

.site-footer ul {
  display: grid;
  gap: 0.55rem;
  padding: 0;
  list-style: none;
}

.site-footer a {
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.site-footer a:hover {
  color: var(--on-navy);
}

.site-footer address {
  font-style: normal;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-block: 1.5rem 2rem;
  border-top: 1px solid var(--navy-700);
  font-size: 0.82rem;
}

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

.legal {
  padding-block: calc(var(--header-h) + 4rem) clamp(4rem, 8vw, 6rem);
}

.legal__body {
  max-width: 46rem;
}

.legal h1 {
  margin-bottom: 2.5rem;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.legal h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: 1.45rem;
}

.legal p,
.legal address,
.legal ul {
  margin: 0 0 1rem;
  font-style: normal;
  color: var(--muted);
}

.legal a {
  color: var(--text);
}

.todo {
  padding: 0.1em 0.35em;
  background: #fff1c2;
  color: #5a4300;
  font-weight: 600;
}

.notice {
  margin-bottom: 2.5rem;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--bronze);
  background: var(--tint);
  color: var(--text);
}

/* ---------- Bewegung ---------- */

@media (prefers-reduced-motion: no-preference) {
  .hero__content > * {
    animation: rise 0.9s var(--ease) both;
    animation-delay: calc(var(--i, 0) * 90ms + 100ms);
  }

  .hero__bg {
    animation: settle 1.8s var(--ease) both;
  }

  .js [data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
    transition-delay: calc(var(--i, 0) * 70ms);
  }

  .js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
}

@keyframes settle {
  from {
    transform: scale(1.06);
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .site-nav__phone {
    display: none;
  }

  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  :root {
    --header-h: 72px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    padding: 1.5rem var(--gutter) 2rem;
    background: var(--navy-800);
    border-top: 1px solid var(--navy-700);
    box-shadow: 0 28px 40px -24px rgb(9 13 20 / 0.7);
  }

  .site-nav:not(.is-open) {
    display: none;
  }

  .site-header:has(.site-nav.is-open) {
    background: var(--navy-800);
  }

  .site-nav__links {
    flex-direction: column;
    gap: 0;
  }

  .site-nav__links a {
    display: block;
    padding-block: 0.9rem;
    border-bottom: 1px solid var(--navy-700);
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--on-navy);
  }

  .site-nav__links a::after {
    display: none;
  }

  .site-nav__phone {
    display: inline-flex;
    font-size: 1.05rem;
  }

  .site-nav .btn {
    width: 100%;
  }

  .brand__icon {
    height: 32px;
  }

  .brand__name strong {
    font-size: 1.64rem;
  }

  .brand__name span {
    font-size: 0.54rem;
  }

  .hero {
    min-height: 0;
    padding-block: calc(var(--header-h) + 4rem) 9rem;
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgb(19 27 38 / 0.92) 0%, rgb(19 27 38 / 0.7) 60%, rgb(19 27 38 / 0.45) 100%),
      linear-gradient(0deg, rgb(19 27 38 / 0.6) 0%, rgb(19 27 38 / 0) 35%);
  }

  .facts__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .facts__item:nth-child(3) {
    border-left: 0;
  }

  .facts__item:nth-child(n + 3) {
    border-top: 1px solid var(--navy-700);
  }

  .benefits,
  .about__grid,
  .contact__grid,
  .projects {
    grid-template-columns: minmax(0, 1fr);
  }

  .benefits__media {
    max-width: 520px;
  }

  .benefits__badge {
    left: 1rem;
    bottom: 1rem;
  }

  .about__media {
    max-width: 520px;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 3rem;
  }

  .steps::before {
    display: none;
  }

  .site-footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__top > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .hero__actions .btn {
    flex: 1 1 100%;
  }

  .hero .media-note {
    bottom: 6.5rem;
  }

  .facts__item {
    padding: 1.6rem 1.25rem;
  }

  .benefits__list,
  .about__text,
  .form {
    grid-template-columns: minmax(0, 1fr);
  }

  .bento {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: auto;
  }

  .tile {
    min-height: 0;
  }

  .tile h3 {
    margin-top: 1.5rem;
  }

  .tile--wide {
    grid-column: auto;
    min-height: 340px;
  }

  .tile--wide h3 {
    margin-top: auto;
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0;
  }

  .steps::before {
    display: block;
    top: 0;
    bottom: 0;
    left: 32px;
    right: auto;
    width: 1px;
    height: auto;
  }

  .step {
    display: grid;
    grid-template-columns: 64px 1fr;
    column-gap: 1.25rem;
    padding-bottom: 2.25rem;
  }

  .step__marker {
    grid-row: span 2;
    margin-bottom: 0;
  }

  .step p {
    margin-top: 0.4rem;
  }

  .project figcaption {
    flex-direction: column;
    gap: 0.4rem;
  }

  .site-footer__top {
    grid-template-columns: minmax(0, 1fr);
  }
}
