/* ==========================================================================
   grundkurs — the design system of the One-Person Company field guide.
   World: the Bauhaus foundation-course workshop. Worktable-white ground,
   ink black, and the three primaries rationed by role:
     rot  #e30613  = act      (the active state, primary actions, the marker)
     blau #0057b8  = structure (part 1, links, structural planes)
     gelb #ffcc00  = alert     (part 2, thresholds, the not-advice system)
   Forms carry the same roles: circle = act, square = structure,
   triangle = alert. Composition is punkt / linie / fläche on a visible
   baseline grid. Loads after tailwind.css; these rules win the cascade.
   ========================================================================== */

/* Self-hosted faces (no third-party font CDN — see Part 2 of the guide). */
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/jost-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Archivo";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/archivo-italic-latin.woff2") format("woff2");
}

:root {
  --grund: #ffffff;
  --papier: #f6f4ee;
  --tinte: #0a0a0a;
  --beton: #575757;
  --linie: #dcd9d0;
  --rot: #e30613;
  --blau: #0057b8;
  --gelb: #ffcc00;

  --font-display: "Jost", "Futura", sans-serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --measure: 70ch;
  --page: 76rem;
  --pad: clamp(1.25rem, 4vw, 2.5rem);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Base ------------------------------------------------------------- */

html {
  scroll-behavior: smooth;
}

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

::selection {
  background: var(--gelb);
  color: var(--tinte);
}

.skip-link {
  position: absolute;
  left: -100vw;
  top: 0;
  background: var(--tinte);
  color: var(--grund);
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip-link:focus {
  left: 0;
}

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

.wrap {
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* Drawn forms — the system's icon set. CSS-drawn, one weight. */
.form {
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  flex: none;
  vertical-align: baseline;
}
.form--circle { border-radius: 50%; background: var(--rot); }
.form--square { background: var(--blau); }
.form--triangle {
  background: var(--gelb);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.form--ink { background: var(--tinte); }

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

.site-header {
  background: var(--grund);
  border-bottom: 2px solid var(--tinte);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header__inner {
  max-width: var(--page);
  margin-inline: auto;
  padding: 0 var(--pad);
  min-height: 3.75rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--tinte);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.wordmark .form { width: 0.9rem; height: 0.9rem; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--tinte);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.35rem 0;
  border-bottom: 3px solid transparent;
}
.site-nav__link .form { width: 0.55rem; height: 0.55rem; }
.site-nav__link:hover {
  border-bottom-color: var(--tinte);
}
.site-nav__link.is-current {
  border-bottom-color: var(--rot);
}

.site-header__tag {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--beton);
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--tinte);
  width: 2.4rem;
  height: 2.4rem;
  padding: 0.5rem 0.45rem;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--tinte);
}

@media (max-width: 46rem) {
  .site-header__inner { gap: 1rem; }
  .site-header__tag { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--grund);
    border-bottom: 2px solid var(--tinte);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem var(--pad) 1rem;
    margin-left: 0;
  }
  .site-header.is-open .site-nav { display: flex; }
  .site-nav__link { padding: 0.65rem 0; font-size: 1.0625rem; }
}

/* --- The worktable grid ------------------------------------------------ */

.gridfield {
  background-image:
    linear-gradient(var(--linie) 1px, transparent 1px),
    linear-gradient(90deg, var(--linie) 1px, transparent 1px);
  background-size: 3.5rem 3.5rem;
}

/* --- Home: hero -------------------------------------------------------- */

.hero {
  border-bottom: 2px solid var(--tinte);
}

.hero__inner {
  max-width: var(--page);
  margin-inline: auto;
  padding: clamp(3rem, 7vw, 5.5rem) var(--pad) clamp(3rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 6.5vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0 0 1.5rem;
  text-wrap: balance;
}
.hero__title .punkt { color: var(--rot); }

.hero__lede {
  font-size: clamp(1.0625rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  max-width: 34em;
  margin: 0 0 2rem;
  color: var(--tinte);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* The worktable: three forms as working navigation */
.worktable {
  border: 2px solid var(--tinte);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: end;
}

.worktable__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--tinte);
  text-align: center;
  padding: 0.75rem 0.25rem;
}

.worktable__form {
  width: clamp(3.5rem, 7vw, 5.5rem);
  height: clamp(3.5rem, 7vw, 5.5rem);
  transition: transform 0.5s var(--ease-out);
}
.worktable__form--circle { border-radius: 50%; background: var(--rot); }
.worktable__form--square { background: var(--blau); }
.worktable__form--triangle {
  background: var(--gelb);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.worktable__label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 1.35;
}
.worktable__label small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--beton);
  margin-top: 0.2rem;
}

.worktable__item:hover .worktable__form,
.worktable__item:focus-visible .worktable__form {
  transform: translateY(-0.5rem);
}

/* one authored moment: the forms settle onto the table on arrival */
@media (prefers-reduced-motion: no-preference) {
  html:not(.no-js) .home:not(.is-settled) .worktable__form--circle { transform: translate(-1.5rem, -2.5rem); }
  html:not(.no-js) .home:not(.is-settled) .worktable__form--triangle { transform: translate(0, -3.5rem); }
  html:not(.no-js) .home:not(.is-settled) .worktable__form--square { transform: translate(1.5rem, -2.5rem); }
  .is-settled .worktable__form { transform: none; transition-duration: 0.9s; }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.65rem 1.25rem;
  border: 2px solid var(--tinte);
  color: var(--tinte);
  background: var(--grund);
  transition: background 0.15s ease, color 0.15s ease;
}
.btn--act {
  background: var(--rot);
  border-color: var(--rot);
  color: #fff;
}
.btn--act:hover { background: #c00511; border-color: #c00511; }
.btn:not(.btn--act):hover { background: var(--tinte); color: var(--grund); }
.btn svg { width: 1.1em; height: 1.1em; }

/* --- Bands (home sections) --------------------------------------------- */

.band {
  padding: clamp(2.75rem, 6vw, 4.5rem) 0;
}
.band--rule { border-top: 2px solid var(--tinte); }

.band__head {
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: var(--pad);
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
}
.band__head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.75rem;
  max-width: 24em;
  text-wrap: balance;
}
.band__head p {
  margin: 0;
  max-width: 46em;
  color: var(--beton);
}

/* --- The three parts --------------------------------------------------- */

.parts {
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.part-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--tinte);
  border: 2px solid var(--tinte);
  background: var(--grund);
  transition: transform 0.25s var(--ease-out);
}
.part-card:hover { transform: translateY(-0.35rem); }

.part-card__plane {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 2px solid var(--tinte);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}
.part-card--structure .part-card__plane { background: var(--blau); color: #fff; }
.part-card--alert .part-card__plane { background: var(--gelb); color: var(--tinte); }
.part-card--act .part-card__plane { background: var(--rot); color: #fff; }
.part-card__plane .form { width: 1.1rem; height: 1.1rem; }
.part-card--structure .part-card__plane .form { background: #fff; }
.part-card--alert .part-card__plane .form { background: var(--tinte); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.part-card--act .part-card__plane .form { background: #fff; border-radius: 50%; }

.part-card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.part-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.2;
  margin: 0;
}

.part-card__dek {
  margin: 0;
  font-size: 0.95rem;
  color: var(--beton);
}

.part-card__list {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
  font-size: 0.9rem;
}
.part-card__list li {
  padding: 0.5rem 0;
  border-top: 1px solid var(--linie);
}

.part-card__go {
  margin-top: auto;
  padding: 0.9rem 1.25rem;
  border-top: 2px solid var(--tinte);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.part-card__go svg { width: 1.2em; height: 1.2em; }

@media (max-width: 58rem) {
  .parts { grid-template-columns: 1fr; }
}

/* --- Die Messung: four figures marked as punkte on one linie ------------ */

.messung {
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.messung__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.messung__item {
  position: relative;
  border-top: 2px solid var(--tinte);
  padding: 1.5rem 1.75rem 0.5rem 0;
}
.messung__item::before {
  content: "";
  position: absolute;
  top: -0.55rem;
  left: 0;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  background: var(--tinte);
}

.messung__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.messung__num sub {
  font-size: 0.45em;
  vertical-align: baseline;
  font-weight: 500;
}
.messung__label {
  margin: 0.6rem 0 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--beton);
}
.messung__label b { color: var(--tinte); }

@media (max-width: 58rem) {
  .messung__row { grid-template-columns: 1fr 1fr; row-gap: 1.5rem; }
}
@media (max-width: 30rem) {
  .messung__row { grid-template-columns: 1fr; }
}

/* --- Exercises (figures drawn as foundation-course plates) -------------- */

.uebung {
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.uebung__plate {
  border: 2px solid var(--tinte);
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--papier);
}
.uebung__plate.gridfield {
  background-color: var(--papier);
}

.uebung svg { display: block; width: 100%; height: auto; }

/* die fläche: maturity planes */
.layers {
  display: flex;
  flex-direction: column;
}

.layer {
  display: grid;
  grid-template-columns: minmax(11rem, 16rem) 1fr 6.5rem;
  gap: 1.25rem;
  align-items: center;
  padding: 0.65rem 0;
  border-top: 1px solid var(--linie);
}
.layer:first-child { border-top: 0; }

.layer__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.25;
}
.layer__name small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--beton);
  font-size: 0.8rem;
}

.layer__track {
  position: relative;
  height: 1.4rem;
  background-image: linear-gradient(90deg, var(--linie) 1px, transparent 1px);
  background-size: 10% 100%;
}
.layer__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w, 0%);
  background: var(--tinte);
}
.layer--top .layer__fill { background: var(--blau); }

.layer__lvl {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.85rem;
  text-align: right;
}

@media (max-width: 46rem) {
  .layer { grid-template-columns: 1fr 5rem; }
  .layer__track { grid-column: 1 / -1; order: 3; }
}

/* --- Motto band --------------------------------------------------------- */

.motto {
  border-top: 2px solid var(--tinte);
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}
.motto blockquote {
  margin: 0;
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.motto .q {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  line-height: 1.1;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
  max-width: 22em;
}
.motto .q b { color: var(--rot); font-weight: 600; }
.motto cite {
  font-style: normal;
  color: var(--beton);
  font-size: 0.95rem;
}

/* --- Section pages: the color plane hero -------------------------------- */

.section__plane {
  border-bottom: 2px solid var(--tinte);
  color: var(--tinte);
}
.section__plane--structure { background: var(--blau); color: #fff; }
.section__plane--alert { background: var(--gelb); color: var(--tinte); }
.section__plane--act { background: var(--rot); color: #fff; }

.section__plane-inner {
  max-width: var(--page);
  margin-inline: auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--pad);
}

.section__plane-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: start;
}

.section__bigform {
  width: clamp(5rem, 12vw, 10rem);
  height: clamp(5rem, 12vw, 10rem);
  margin-top: 0.5rem;
}
.section__bigform.form--square { background: #fff; }
.section__bigform.form--triangle { background: var(--tinte); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.section__bigform.form--circle { background: #fff; border-radius: 50%; }

@media (max-width: 46rem) {
  .section__plane-grid { grid-template-columns: 1fr; }
  .section__bigform { display: none; }
}

.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 5.5vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 1.25rem;
  text-transform: lowercase;
  max-width: 15em;
  text-wrap: balance;
}

.section__plane .lede {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  max-width: 42em;
  margin: 0 0 1.75rem;
}
.section__plane--structure .lede,
.section__plane--act .lede { color: rgba(255, 255, 255, 0.92); }

.section__meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  margin: 0;
  padding-top: 0.85rem;
  border-top: 1px solid currentColor;
  max-width: 24rem;
}

/* --- Reading column ----------------------------------------------------- */

.reading {
  max-width: var(--measure);
  margin-inline: auto;
  padding: clamp(2.5rem, 5vw, 4rem) var(--pad) 1rem;
  font-size: 1.0625rem;
}

.reading h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.75rem;
  line-height: 1.2;
  margin: 2.75em 0 0.6em;
  padding-top: 1.1em;
  border-top: 2px solid var(--tinte);
  letter-spacing: -0.005em;
}
.reading > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

.reading h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  margin: 2.25em 0 0.5em;
}

.reading p { margin: 0 0 1.2em; }

.reading a {
  color: var(--blau);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.15em;
}
.reading a:hover { color: var(--rot); }

.reading strong { font-weight: 700; }

.reading ul,
.reading ol {
  padding-left: 1.3em;
  margin: 0 0 1.2em;
}
.reading li { margin-bottom: 0.45em; }
.reading li::marker {
  color: var(--rot);
  font-weight: 700;
}

.reading blockquote {
  margin: 1.75em 0;
  padding: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.45;
}
.reading blockquote p {
  margin: 0;
  padding-left: 1.4rem;
  position: relative;
}
.reading blockquote p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--rot);
}

.reading table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.75em 0;
  font-size: 0.9rem;
  line-height: 1.45;
}
.reading thead th {
  font-family: var(--font-display);
  font-weight: 600;
  text-align: left;
  padding: 0.6rem 0.75rem 0.6rem 0;
  border-bottom: 2px solid var(--tinte);
}
.reading tbody td {
  padding: 0.6rem 0.75rem 0.6rem 0;
  border-bottom: 1px solid var(--linie);
  vertical-align: top;
}
.reading tbody tr td:first-child { font-weight: 600; }

.reading .table-scroll { overflow-x: auto; }

.reading code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.88em;
  background: var(--papier);
  padding: 0.1em 0.35em;
}

.reading hr {
  border: 0;
  border-top: 2px solid var(--tinte);
  margin: 2.5em 0;
}

/* --- Callouts: the alert system ----------------------------------------- */

.callout {
  background: var(--gelb);
  color: var(--tinte);
  padding: 1.4rem 1.5rem;
  margin: 2em 0;
}
.callout__label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.07em;
  text-transform: lowercase;
  margin-bottom: 0.5rem;
}
.callout__label::before {
  content: "";
  width: 0.75rem;
  height: 0.75rem;
  flex: none;
  background: var(--tinte);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.callout p { margin: 0; font-size: 0.95rem; }
.callout a { color: inherit; }

/* the one non-alert callout: a takeaway to act on */
.callout--win {
  background: var(--papier);
  border: 2px solid var(--tinte);
}
.callout--win .callout__label::before {
  background: var(--rot);
  clip-path: none;
  border-radius: 50%;
}

.callout--legal { background: var(--gelb); }

/* --- Section pager ------------------------------------------------------- */

.section-pager {
  max-width: var(--measure);
  margin-inline: auto;
  padding: 1.5rem var(--pad) clamp(3rem, 6vw, 4.5rem);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.section-pager__link {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  text-decoration: none;
  color: var(--tinte);
  border: 2px solid var(--tinte);
  padding: 0.9rem 1.1rem;
  max-width: 46%;
  transition: background 0.15s ease, color 0.15s ease;
}
.section-pager__link:hover { background: var(--tinte); color: var(--grund); }
.section-pager__link--next { text-align: right; margin-left: auto; }

.section-pager__dir {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}
.section-pager__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.25;
}

/* --- Plain pages (about) ------------------------------------------------- */

.page__head {
  max-width: var(--measure);
  margin-inline: auto;
  padding: clamp(2.5rem, 6vw, 4rem) var(--pad) 0;
}
.page__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-transform: lowercase;
  margin: 0 0 1rem;
}
.page__head .lede {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--beton);
  margin: 0;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--tinte);
}

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

.site-footer {
  margin-top: clamp(2rem, 5vw, 3rem);
}

.site-footer__bands {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  height: 0.75rem;
}
.site-footer__bands span:nth-child(1) { background: var(--rot); }
.site-footer__bands span:nth-child(2) { background: var(--blau); }
.site-footer__bands span:nth-child(3) { background: var(--gelb); }

.site-footer__inner {
  max-width: var(--page);
  margin-inline: auto;
  padding: 2.5rem var(--pad) 3rem;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 2rem 3rem;
  border-top: 2px solid var(--tinte);
}

.site-footer__brand p {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: var(--beton);
  max-width: 38em;
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.site-footer__nav a {
  color: var(--tinte);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
}
.site-footer__nav a:hover { color: var(--rot); }

.site-footer__legal {
  grid-column: 1 / -1;
  margin: 0;
  padding: 1.1rem 1.25rem;
  background: var(--gelb);
  font-size: 0.9rem;
}

.site-footer__meta {
  grid-column: 1 / -1;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  font-size: 0.85rem;
  color: var(--beton);
}

@media (max-width: 46rem) {
  .site-footer__inner { grid-template-columns: 1fr; }
}

/* --- Responsive: hero ----------------------------------------------------- */

@media (max-width: 58rem) {
  .hero__inner { grid-template-columns: 1fr; }
}

/* --- Motion discipline ----------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
