/* ==========================================================================
   Beckerware IT – Stylesheet
   Keine externen Ressourcen. Schrift lokal (Inter, SIL OFL 1.1).
   ========================================================================== */

/* ---------------------------------------------------------------- Schrift */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-wght-normal.3100e775e8.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;
}

/* Metrisch angeglichene Ersatzschrift – verhindert Springen beim Laden. */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("Helvetica"), local("Liberation Sans");
  size-adjust: 107.12%;
  ascent-override: 90.44%;
  descent-override: 22.52%;
  line-gap-override: 0%;
}

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

:root {
  color-scheme: light dark;

  --font-sans: "Inter", "Inter Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  --bg: #ffffff;
  --bg-subtle: #f5f7fb;
  --surface: #ffffff;
  --text: #0c1a2e;
  --text-muted: #4a5870;
  --border: #e3e8f0;
  --border-strong: #cdd6e3;
  --brand: #1d4ed8;
  --brand-strong: #1e3a8a;
  --brand-soft: #eef3ff;
  --btn-bg: #1d4ed8;
  --btn-bg-hover: #1e40af;
  --focus-ring: #2563eb;
  --grid-line: rgba(15, 35, 80, 0.07);
  --glow: rgba(37, 99, 235, 0.14);

  --contact-bg: #0b1730;
  --contact-text: #ffffff;
  --contact-muted: #b9c5d9;
  --contact-card: rgba(255, 255, 255, 0.045);
  --contact-border: rgba(255, 255, 255, 0.12);

  --shadow-sm: 0 1px 2px rgba(12, 26, 46, 0.06);
  --shadow-md: 0 1px 2px rgba(12, 26, 46, 0.04), 0 8px 24px -6px rgba(12, 26, 46, 0.1);
  --shadow-lg: 0 2px 4px rgba(12, 26, 46, 0.04), 0 24px 48px -12px rgba(12, 26, 46, 0.18);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 20px;

  --container: 72rem;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --header-h: 4.5rem;
  --section-y: clamp(4rem, 9vw, 7rem);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0f1a;
    --bg-subtle: #0e1524;
    --surface: #111a2b;
    --text: #e8edf5;
    --text-muted: #a6b2c5;
    --border: #1c263a;
    --border-strong: #2a3750;
    --brand: #8ab0ff;
    --brand-strong: #b3ccff;
    --brand-soft: rgba(122, 162, 255, 0.12);
    --btn-bg: #3166f0;
    --btn-bg-hover: #4a7af5;
    --focus-ring: #8ab0ff;
    --grid-line: rgba(160, 190, 255, 0.06);
    --glow: rgba(70, 120, 255, 0.18);

    --contact-bg: #0d1628;
    --contact-card: rgba(255, 255, 255, 0.035);
    --contact-border: rgba(255, 255, 255, 0.1);

    --shadow-sm: none;
    --shadow-md: 0 0 0 1px rgba(255, 255, 255, 0.02);
    --shadow-lg: 0 24px 48px -12px rgba(0, 0, 0, 0.6);
  }
}

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

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 650;
  text-wrap: balance;
  overflow-wrap: break-word;
}

p,
ul,
ol,
dl,
address {
  margin: 0;
}

p {
  text-wrap: pretty;
}

address {
  font-style: normal;
}

a {
  color: var(--brand);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

a:hover {
  color: var(--brand-strong);
  text-decoration-color: currentColor;
}

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

main:focus {
  outline: none;
}

svg {
  flex-shrink: 0;
}

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

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

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--btn-bg);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
  color: #fff;
}

/* --------------------------------------------------------- Bausteine */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--brand);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 1.25rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.eyebrow--on-dark {
  color: #9dbbff;
}

.lead {
  color: var(--text-muted);
  font-size: clamp(1.125rem, 1rem + 0.45vw, 1.25rem);
  line-height: 1.6;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0 1.375rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.btn--primary {
  background: var(--btn-bg);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

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

.btn--secondary {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn--secondary:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.btn--sm {
  min-height: 2.5rem;
  padding: 0 1rem;
  font-size: 0.9375rem;
}

/* ------------------------------------------------------------- Kopfzeile */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  border-bottom: 1px solid var(--border);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--text);
  text-decoration: none;
  border-radius: 8px;
}

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

.brand__mark {
  display: inline-flex;
  color: var(--btn-bg);
}

.brand__name {
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand__accent {
  margin-left: 0.3em;
  color: var(--brand);
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.25rem, 2vw, 1.75rem);
}

.nav__link {
  padding: 0.5rem 0.25rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 550;
  text-decoration: none;
}

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

.nav .btn {
  margin-left: 0.5rem;
}

@media (max-width: 40rem) {
  .nav__link--optional {
    display: none;
  }
}

/* Auf Smartphones genügen Logo und Kontakt-Schaltfläche. */
@media (max-width: 30rem) {
  .nav__link {
    display: none;
  }
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 9vw, 7rem) clamp(4rem, 9vw, 7rem);
  border-bottom: 1px solid var(--border);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero::before {
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 35%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 35%, #000 25%, transparent 75%);
}

.hero::after {
  background: radial-gradient(40rem 26rem at 78% 30%, var(--glow), transparent 70%);
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: center;
}

@media (min-width: 60rem) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  }
}

.hero__title {
  margin-bottom: 1.5rem;
  text-wrap: wrap;
  /* So bemessen, dass „Softwareentwicklung“ ab Tablet-Breite ungetrennt passt. */
  font-size: clamp(2.25rem, 1.2rem + 3.1vw, 3.75rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.hero__text .lead {
  max-width: 38rem;
}

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

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

.profile {
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.profile__title {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile__list > div {
  padding-block: 0.875rem;
  border-top: 1px solid var(--border);
}

.profile__list > div:last-child {
  padding-bottom: 0;
}

.profile__list dt {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.profile__list dd {
  margin: 0.125rem 0 0;
  font-weight: 550;
  line-height: 1.45;
}

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

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

.section--subtle {
  background: var(--bg-subtle);
  border-block: 1px solid var(--border);
}

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

.section__title {
  font-size: clamp(1.875rem, 1.4rem + 1.8vw, 2.625rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.section__intro {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 1.125rem;
}

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

.service-grid {
  display: grid;
  gap: 1.25rem;
  padding: 0;
  list-style: none;
}

@media (min-width: 45rem) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.service-card__icon {
  display: inline-grid;
  place-items: center;
  width: 2.875rem;
  height: 2.875rem;
  margin-bottom: 1.5rem;
  background: var(--brand-soft);
  color: var(--brand);
  border-radius: 12px;
}

.service-card__title {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.service-card__text {
  color: var(--text-muted);
  font-size: 1rem;
}

.checklist {
  display: grid;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--border);
  list-style: none;
  font-size: 0.9375rem;
  font-weight: 500;
}

.checklist li {
  position: relative;
  padding-left: 1.625rem;
  line-height: 1.5;
}

.checklist li::before {
  content: "";
  position: absolute;
  top: 0.3em;
  left: 0.3rem;
  width: 0.375rem;
  height: 0.6875rem;
  border: solid var(--brand);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ------------------------------------------------------------------ Ablauf */

.steps {
  display: grid;
  gap: 2rem;
  padding: 0;
  list-style: none;
}

@media (min-width: 52rem) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
  }
}

.step {
  position: relative;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-strong);
}

.step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 3rem;
  height: 2px;
  background: var(--brand);
}

.step__number {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--brand);
  font-size: 0.875rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}

.step__title {
  margin-bottom: 0.5rem;
  font-size: 1.1875rem;
}

.step p {
  color: var(--text-muted);
  font-size: 1rem;
}

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

.section--contact {
  position: relative;
  overflow: hidden;
  background: var(--contact-bg);
  color: var(--contact-text);
}

.section--contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(44rem 24rem at 85% 0%, rgba(59, 108, 246, 0.28), transparent 70%),
    radial-gradient(30rem 20rem at 0% 100%, rgba(59, 108, 246, 0.12), transparent 70%);
  pointer-events: none;
}

.contact {
  position: relative;
}

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

.contact__intro {
  margin-top: 1rem;
  color: var(--contact-muted);
  font-size: 1.125rem;
}

.contact__cards {
  display: grid;
  gap: 1rem;
  padding: 0;
  list-style: none;
}

@media (min-width: 56rem) {
  .contact__cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
  padding: 1.5rem;
  background: var(--contact-card);
  border: 1px solid var(--contact-border);
  border-radius: var(--radius);
}

.contact-card__icon {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  background: rgba(157, 187, 255, 0.12);
  color: #9dbbff;
  border-radius: 10px;
}

.contact-card__label {
  color: var(--contact-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-card__value {
  color: #fff;
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

a.contact-card__value {
  text-decoration-color: rgba(255, 255, 255, 0.35);
}

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

.contact-card__value--address {
  font-size: 1rem;
  font-weight: 500;
}

.contact__notes {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--contact-border);
  color: var(--contact-muted);
  font-size: 0.9375rem;
}

@media (min-width: 56rem) {
  .contact__notes {
    grid-template-columns: 1.4fr 1fr;
    gap: 3rem;
  }
}

.contact__note {
  display: flex;
  gap: 0.75rem;
}

.contact__note svg {
  margin-top: 0.15rem;
  color: #9dbbff;
}

.contact__privacy a {
  color: #fff;
}

.section--contact :focus-visible {
  outline-color: #9dbbff;
}

/* ------------------------------------------------------------- Fußzeile */

.site-footer {
  padding-block: 3.5rem 2rem;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.site-footer__grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 48rem) {
  .site-footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.brand--footer {
  margin-bottom: 1rem;
}

.brand--footer .brand__name {
  font-size: 1.0625rem;
}

.site-footer__title {
  margin-bottom: 0.875rem;
  color: var(--text);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.site-footer a:not(.brand) {
  color: var(--text-muted);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.site-footer a:not(.brand):hover {
  color: var(--brand);
  text-decoration: underline;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
}

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

.legal {
  padding-block: clamp(2.5rem, 6vw, 4.5rem) var(--section-y);
}

.legal--narrow {
  max-width: calc(52rem + 2 * var(--gutter));
}

.page-head {
  max-width: 48rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.page-head__title {
  font-size: clamp(2.125rem, 1.5rem + 2.4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.page-head__meta {
  margin-top: 0.75rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.legal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.legal-block {
  padding: clamp(1.5rem, 4vw, 2.25rem);
}

.legal-block + .legal-block {
  border-top: 1px solid var(--border);
}

.legal-block h2 {
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-address {
  font-size: 1.0625rem;
  line-height: 1.7;
}

.facts {
  display: grid;
  gap: 0.75rem;
}

.facts > div {
  display: grid;
  gap: 0.125rem;
}

@media (min-width: 40rem) {
  .facts > div {
    grid-template-columns: 17rem minmax(0, 1fr);
    gap: 1.5rem;
  }
}

.facts dt {
  color: var(--text-muted);
}

.facts dd {
  margin: 0;
  font-weight: 550;
  overflow-wrap: anywhere;
}

.legal-footnote {
  margin-top: 2rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* Datenschutzerklärung: Inhaltsverzeichnis + Text */

.legal-layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 64rem) {
  .legal-layout {
    grid-template-columns: 17.5rem minmax(0, 46rem);
    gap: 4rem;
    align-items: start;
  }
  .toc {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
    max-height: calc(100vh - var(--header-h) - 3rem);
    overflow-y: auto;
  }
}

.toc {
  padding: 1.5rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.toc__title {
  margin-bottom: 0.75rem;
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.toc ol {
  display: grid;
  gap: 0.125rem;
  padding: 0;
  list-style: none;
}

.toc a {
  display: flex;
  gap: 0.625rem;
  padding: 0.375rem 0.5rem;
  margin-inline: -0.5rem;
  color: var(--text);
  font-size: 0.9375rem;
  line-height: 1.4;
  text-decoration: none;
  border-radius: 8px;
}

.toc a:hover {
  background: var(--brand-soft);
  color: var(--brand);
}

.toc__num {
  flex: 0 0 1.25rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.legal-content {
  min-width: 0;
}

.legal-section + .legal-section {
  margin-top: 2.75rem;
  padding-top: 2.75rem;
  border-top: 1px solid var(--border);
}

.legal-section h2 {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.125rem;
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  letter-spacing: -0.02em;
}

.legal-section__num {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  min-width: 1.875rem;
  height: 1.875rem;
  padding-inline: 0.25rem;
  background: var(--brand-soft);
  color: var(--brand);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  transform: translateY(-0.1em);
}

.legal-section p {
  overflow-wrap: break-word;
}

/* Silbentrennung nur, wo die Zeilen kurz sind. */
@media (max-width: 40rem) {
  .legal-section p,
  .service-card__text {
    hyphens: auto;
    -webkit-hyphenate-limit-before: 4;
    -webkit-hyphenate-limit-after: 4;
    hyphenate-limit-chars: 10 4 4;
  }
}

.legal-section p + p,
.legal-section p + .callout,
.legal-section .callout + p {
  margin-top: 1rem;
}

.callout {
  padding: 1.25rem 1.5rem;
  background: var(--brand-soft);
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.callout__title {
  margin-bottom: 0.5rem;
  font-size: 1.0625rem;
}

a.external {
  display: inline-flex;
  align-items: baseline;
  gap: 0.2rem;
}

a.external svg {
  align-self: center;
}

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

.not-found {
  max-width: calc(44rem + 2 * var(--gutter));
  padding-block: clamp(4rem, 12vw, 8rem);
}

.not-found .page-head__title {
  margin-bottom: 1rem;
}

/* ---------------------------------------------------- Entwurfsmarkierungen */

.draft-banner {
  padding: 0.625rem var(--gutter);
  background: #fef3c7;
  border-bottom: 1px solid #f59e0b;
  color: #422006;
  font-size: 0.875rem;
  text-align: center;
}

mark.todo {
  padding: 0.05em 0.35em;
  background: #fde68a;
  color: #422006;
  border: 1px dashed #b45309;
  border-radius: 4px;
  font-size: 0.9em;
  font-weight: 600;
  overflow-wrap: anywhere;
}

/* --------------------------------------------------------------- Druck */

@media print {
  :root {
    color-scheme: light;
    --bg: #fff;
    --bg-subtle: #fff;
    --surface: #fff;
    --text: #000;
    --text-muted: #333;
    --border: #ccc;
    --brand: #000;
    --brand-soft: #f2f2f2;
  }
  body {
    font-size: 11pt;
  }
  .skip-link,
  .nav,
  .toc,
  .draft-banner,
  .hero::before,
  .hero::after,
  .site-footer__grid > :not(.site-footer__brand) {
    display: none !important;
  }
  .site-header {
    position: static;
    backdrop-filter: none;
  }
  .legal-layout {
    display: block;
  }
  .legal-card,
  .profile,
  .service-card {
    box-shadow: none;
  }
  .legal-section {
    break-inside: avoid-page;
  }
  .section--contact {
    background: #fff;
    color: #000;
  }
  .section--contact * {
    color: #000 !important;
  }
}
