/* ==========================================================================
   GRUBER LEGAL — Stylesheet
   Ein einziges Stylesheet, keine externen Requests.
   Aufbau: 1 Schriften · 2 Tokens · 3 Reset · 4 Typografie · 5 Layout
           6 Header · 7 Hero · 8 Komponenten · 9 Footer · 10 Seiten
           11 Bewegung
   ========================================================================== */

/* 1 — Schriften ============================================================
   Lokal ausgeliefert. Keine Einbindung über Google Fonts, damit keine
   Besucher-IP an Dritte übertragen wird. Beide Familien stehen unter der
   SIL Open Font License.
   ========================================================================== */

@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/eb-garamond-500-latin.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: 'EB Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/eb-garamond-500-latin-ext.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;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/eb-garamond-600-latin.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: 'EB Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/eb-garamond-600-latin-ext.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;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/lato-400-latin.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: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/lato-400-latin-ext.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;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/lato-700-latin.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: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/lato-700-latin-ext.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;
}

/* 2 — Design-Tokens ======================================================= */

:root {
  /* Farben. --navy-700 ist der aus dem Logo ausgelesene Markenwert.
     Kontraste sind in der Design-Spec dokumentiert und geprüft. */
  --navy-900: #002b50;
  --navy-700: #004077;
  --navy-500: #1d5c99;
  --ink: #14202e;
  --ink-muted: #5a6473;
  --line: #c9ccd1;
  --line-strong: #7e858f;
  --surface: #ecedef;
  --paper: #fafafa;
  --card: #ffffff;
  --focus: #004077;

  /* Schrift */
  --font-head: 'EB Garamond', 'Iowan Old Style', 'Palatino Linotype', Palatino,
    Georgia, 'Times New Roman', serif;
  --font-body: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;

  /* Typskala, modular mit Faktor 1,25 */
  --fs-eyebrow: 0.8rem;
  --fs-small: 0.9rem;
  --fs-body: 1.125rem;
  --fs-lead: 1.25rem;
  --fs-h3: 1.55rem;
  --fs-h2: clamp(1.6rem, 3vw, 1.95rem);
  --fs-h1: clamp(2rem, 4vw, 3.05rem);
  --fs-display: clamp(2.1rem, 5vw, 3.4rem);

  /* Abstände, 8-px-Basis */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;
  --space-8: 8rem;

  /* Maße */
  --wrap: 75rem;      /* 1200 px */
  --measure: 68ch;
  --radius: 4px;
  --header-h: 4.5rem; /* 72 px */

  /* Bewegung */
  --t-fast: 150ms;
  --t-base: 220ms;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* 3 — Reset =============================================================== */

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

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

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

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

img {
  height: auto;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

button {
  font: inherit;
  color: inherit;
}

/* 4 — Typografie ========================================================== */

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-h1);
}
h2 {
  font-size: var(--fs-h2);
}
h3 {
  font-weight: 500;
  font-size: var(--fs-h3);
}

p {
  margin: 0 0 var(--space-2);
  text-wrap: pretty;
}

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

a {
  color: var(--navy-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color var(--t-fast) var(--ease);
}

a:hover {
  color: var(--navy-500);
}

strong {
  font-weight: 700;
}

/* Sichtbarer Fokusring auf allen fokussierbaren Elementen.
   Wird nie ersatzlos entfernt. */
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 2px;
}

.eyebrow {
  margin: 0 0 var(--space-2);
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.display {
  margin: 0 0 var(--space-3);
  font-family: var(--font-head);
  font-size: var(--fs-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.muted {
  color: var(--ink-muted);
}

.small {
  font-size: var(--fs-small);
}

/* 5 — Layout ============================================================== */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--space-3);
}

.prose {
  max-width: var(--measure);
}

.prose > * + * {
  margin-top: var(--space-2);
}

.section {
  padding-block: var(--space-6);
}

.section--tight {
  padding-block: var(--space-5);
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section__head {
  margin-bottom: var(--space-4);
}

.stack > * + * {
  margin-top: var(--space-2);
}

/* Abstands-Hilfsklassen. Bewusst statt inline style-Attributen, damit die
   Content-Security-Policy ohne 'unsafe-inline' auskommt. */
.u-mt-2 {
  margin-top: var(--space-2);
}
.u-mt-3 {
  margin-top: var(--space-3);
}
.u-mt-4 {
  margin-top: var(--space-4);
}

.prose--center {
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: var(--space-2);
  top: -4rem;
  z-index: 100;
  padding: var(--space-1) var(--space-2);
  background: var(--navy-700);
  color: #fff;
  border-radius: var(--radius);
  text-decoration: none;
  transition: top var(--t-fast) var(--ease);
}

.skip-link:focus {
  top: var(--space-1);
  color: #fff;
}

/* 6 — Header und Navigation =============================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 250, 250, 0.94);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--navy-700);
  text-decoration: none;
  flex-shrink: 0;
}

.brand__mark {
  width: auto;
  height: 2.25rem;
  color: var(--navy-700);
}

.brand__name {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

.nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-right: -0.5rem;
  padding: 0;
  background: none;
  border: 0;
  border-radius: var(--radius);
  color: var(--navy-700);
  cursor: pointer;
}

.nav__list {
  list-style: none;
  display: flex;
  gap: var(--space-3);
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--ink);
  font-size: var(--fs-small);
  font-weight: 400;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.55rem;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--ease);
}

.nav__link:hover {
  color: var(--navy-700);
}

.nav__link:hover::after {
  transform: scaleX(1);
}

/* Aktive Seite: Farbe UND Unterstrich — nie Farbe allein. */
.nav__link[aria-current='page'] {
  color: var(--navy-700);
  font-weight: 700;
}

.nav__link[aria-current='page']::after {
  transform: scaleX(1);
}

@media (max-width: 61.99em) {
  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    display: none;
  }

  .nav[data-open='true'] {
    display: block;
  }

  .nav__list {
    flex-direction: column;
    gap: 0;
    padding: var(--space-1) var(--space-3) var(--space-3);
  }

  .nav__list li + li {
    border-top: 1px solid var(--line);
  }

  .nav__link {
    min-height: 3rem;
    width: 100%;
    font-size: var(--fs-body);
  }

  .nav__link::after {
    display: none;
  }
}

@media (min-width: 62em) {
  .nav__toggle {
    display: none;
  }

  .nav {
    display: block !important;
  }
}

/* 7 — Hero ================================================================ */

.hero {
  background: var(--navy-900);
  color: #fff;
  padding-block: var(--space-7);
}

.hero h1,
.hero .display {
  color: #fff;
}

.hero .eyebrow {
  color: var(--line);
}

.hero__name {
  margin: 0 0 var(--space-2);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--line);
}

/* Der Name trägt die Seite, der Claim ordnet sich sichtbar unter.
   Ohne diesen Größenabstand verschmelzen beide zu einer Überschrift. */
.hero__title {
  margin-bottom: var(--space-2);
}

.hero__claim {
  max-width: 30ch;
  margin: 0 0 var(--space-3);
  padding-top: var(--space-2);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--line);
}

.hero__text {
  max-width: 58ch;
  color: #e8eaee;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-3);
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-size: var(--fs-small);
  color: var(--line);
}

.hero__actions {
  margin-top: var(--space-4);
}

.hero--compact {
  padding-block: var(--space-6);
}

/* 8 — Komponenten ========================================================= */

/* Buttons. Hover ändert nur Farbe, niemals die Maße — sonst springt das
   Layout unter dem Zeiger. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0 var(--space-3);
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.btn--primary {
  background: var(--navy-700);
  border-color: var(--navy-700);
  color: #fff;
}

.btn--primary:hover {
  background: var(--navy-500);
  border-color: var(--navy-500);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--navy-700);
}

.btn--ghost:hover {
  border-color: var(--navy-700);
  background: var(--surface);
  color: var(--navy-700);
}

.hero .btn--ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.hero .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* Karten */
.cards {
  list-style: none;
  display: grid;
  gap: var(--space-2);
  grid-template-columns: 1fr;
}

@media (min-width: 40em) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 62em) {
  .cards--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-3);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--t-base) var(--ease),
    transform var(--t-base) var(--ease);
}

.card h3 {
  font-size: 1.25rem;
}

.card p {
  font-size: var(--fs-small);
  color: var(--ink-muted);
}

.card:hover {
  border-color: var(--navy-700);
  transform: translateY(-2px);
}

/* Ganze Karte klickbar, ohne den Linktext für Screenreader zu verwässern */
.card__link::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
}

.card__link {
  color: inherit;
  text-decoration: none;
}

.card:focus-within {
  border-color: var(--navy-700);
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.card:focus-within .card__link:focus-visible {
  outline: none;
}

/* Leistungsblöcke auf der Unterseite */
.service {
  scroll-margin-top: calc(var(--header-h) + var(--space-3));
}

.service + .service {
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid var(--line);
}

.service__claim {
  margin: 0 0 var(--space-2);
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--navy-700);
}

.list {
  list-style: none;
  display: grid;
  gap: 0.4rem;
  margin-top: var(--space-2);
  max-width: var(--measure);
}

@media (min-width: 48em) {
  /* Zwei Spalten brauchen mehr Breite als eine Fließtextspalte, sonst
     bricht fast jeder Eintrag um. */
  .list--split {
    grid-template-columns: repeat(2, 1fr);
    column-gap: var(--space-4);
    max-width: 56rem;
  }
}

.list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: var(--fs-small);
}

.list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 1px;
  background: var(--navy-700);
}

/* Hinweiskasten für einschränkende Angaben */
.note {
  margin-top: var(--space-3);
  padding: var(--space-2) var(--space-3);
  background: var(--surface);
  border-left: 3px solid var(--line-strong);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: var(--fs-small);
  color: var(--ink-muted);
  max-width: var(--measure);
}

/* Zweispaltiges Text-Bild-Layout */
.split {
  display: grid;
  gap: var(--space-4);
  align-items: center;
}

@media (min-width: 48em) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
  }

  .split--portrait {
    grid-template-columns: 5fr 7fr;
  }

  .split__media--first {
    order: -1;
  }
}

.figure {
  margin: 0;
}

.figure img {
  width: 100%;
  border-radius: var(--radius);
}

.figure figcaption {
  margin-top: var(--space-1);
  font-size: var(--fs-small);
  color: var(--ink-muted);
}

/* Kontaktdaten */
.contact-list {
  list-style: none;
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-3);
}

@media (min-width: 48em) {
  .contact-list {
    grid-template-columns: repeat(2, minmax(0, 22rem));
  }
}

/* Browser setzen dd standardmäßig um 40 px ein — hier unerwünscht. */
.contact-list dd {
  margin: 0;
}

.contact-list dt,
.contact-item__label {
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.25rem;
}

.contact-item__value {
  font-size: var(--fs-lead);
  line-height: 1.45;
}

.contact-item__value a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  text-decoration-color: var(--line-strong);
}

/* Rechtstexte */
.legal {
  max-width: var(--measure);
}

.legal h2 {
  margin-top: var(--space-5);
  margin-bottom: var(--space-2);
  font-size: 1.5rem;
}

.legal h2:first-of-type {
  margin-top: var(--space-4);
}

.legal h3 {
  margin-top: var(--space-3);
  margin-bottom: var(--space-1);
  font-size: 1.2rem;
}

.legal p,
.legal ul {
  margin-bottom: var(--space-2);
}

.legal ul {
  padding-left: 1.25rem;
  list-style: disc;
}

.legal li {
  margin-bottom: 0.3rem;
}

.legal dl {
  margin: 0 0 var(--space-2);
}

.legal dt {
  font-weight: 700;
  margin-top: var(--space-2);
}

.legal dd {
  margin: 0;
}

/* Platzhalter für noch fehlende Angaben. Fällt bewusst auf.
   Vor Go-Live müssen alle Vorkommen ersetzt sein. */
.todo {
  background: #ffe8a3;
  color: #6b4a00;
  padding: 0.05em 0.4em;
  border-radius: 2px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85em;
  font-weight: 700;
  white-space: nowrap;
}

/* 9 — Footer ============================================================== */

.footer {
  background: var(--navy-900);
  color: #d8dce2;
  padding-block: var(--space-6) var(--space-4);
  font-size: var(--fs-small);
}

/* --ink-muted ist für helle Flächen gedacht und erreicht auf Navy nur 2,4:1.
   Auf dunklem Grund wird deshalb umgeschaltet. */
.footer .muted {
  color: var(--line);
}

.footer a {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.4);
}

.footer a:hover {
  color: #fff;
  text-decoration-color: #fff;
}

.footer__grid {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 48em) {
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: var(--space-5);
  }
}

.footer__title {
  margin: 0 0 var(--space-2);
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--line);
}

.footer__list {
  list-style: none;
  display: grid;
  gap: 0.15rem;
}

.footer__list a {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
}

.footer__logo {
  width: 15rem;
  max-width: 100%;
  margin-bottom: var(--space-2);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-3);
  justify-content: space-between;
  margin-top: var(--space-5);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--line);
}

/* 10 — Seitenspezifisches ================================================= */

.page-head {
  padding-block: var(--space-6) var(--space-5);
  border-bottom: 1px solid var(--line);
}

.anchor-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-2);
  margin-top: var(--space-3);
}

.anchor-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0 var(--space-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  font-size: var(--fs-small);
  text-decoration: none;
  transition: border-color var(--t-fast) var(--ease),
    background-color var(--t-fast) var(--ease);
}

.anchor-nav a:hover {
  border-color: var(--navy-700);
  background: var(--surface);
}

.callout {
  padding: var(--space-4);
  background: var(--surface);
  border-radius: var(--radius);
}

@media (min-width: 48em) {
  .callout {
    padding: var(--space-5);
  }
}

.error-page {
  padding-block: var(--space-8);
  text-align: center;
}

.error-page .btn-row {
  justify-content: center;
}

/* 11 — Bewegung =========================================================== */

/* Systemeinstellung „Bewegung reduzieren" schaltet sämtliche Übergänge ab. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .card:hover {
    transform: none;
  }
}

/* Druckausgabe: Navigation und Flächen weg, Text schwarz auf weiß. */
@media print {
  .header,
  .footer,
  .skip-link,
  .anchor-nav,
  .btn {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  .hero {
    background: none;
    color: #000;
    padding-block: 0;
  }

  .hero h1,
  .hero .display,
  .hero__text,
  .hero__meta,
  .hero__name {
    color: #000;
  }

  a[href^='http']::after {
    content: ' (' attr(href) ')';
    font-size: 9pt;
  }
}
