
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-var-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: "Archivo";
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-var-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;
}

:root {
  color-scheme: light;

  --c-paper: #ddd9d1; 
  --c-paper-2: #d1ccc2; 
  --c-paper-3: #beb8ab; 
  --c-karte: #f4f2ed; 

  --c-ink: #1a1815;
  --c-ink-soft: #45403a;
  --c-steel: #615b52; 

  --c-blau: #00263f;
  --c-blau-logo: #5e7aa3; 
  --c-blau-tief: color-mix(in srgb, #00263f 80%, black); 

  --c-offen: #7a4f00; 
  --c-fehler: #a4262c;
  --c-erfolg: #1f7a4d;

  --c-tief: #00406e;
  --c-auf-tief: #eef2f7;
}

:root {
  
  --line-hair: rgba(26, 24, 21, 0.15);
  --line-hair-stark: rgba(26, 24, 21, 0.3);

  --grad-chrome: linear-gradient(
    100deg,
    #b5b0a5 0%,
    #e6e3db 12%,
    #cac5b9 22%,
    #f1efe8 34%,
    #b2ada1 46%,
    #dfdbd2 60%,
    #c0bbaf 74%,
    #edebe4 88%,
    #b8b3a7 100%
  );

  --schatten-ruhe: 0 1px 2px rgba(26, 24, 21, 0.04),
    0 8px 24px -12px rgba(26, 24, 21, 0.1);
  --schatten-schweben: 0 2px 4px rgba(26, 24, 21, 0.05),
    0 18px 40px -18px rgba(26, 24, 21, 0.16),
    0 40px 80px -40px rgba(26, 24, 21, 0.14);
  --schatten-tief: 0 30px 90px -30px rgba(26, 24, 21, 0.32);

  --font-display: "Archivo", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  --font-text: "Archivo", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", "Consolas",
    monospace;

  --fs-mikro: 0.6875rem;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: clamp(1rem, 0.96rem + 0.2vw, 1.0938rem);
  --fs-lg: clamp(1.125rem, 1.05rem + 0.36vw, 1.375rem);
  --fs-xl: clamp(1.375rem, 1.2rem + 0.75vw, 1.875rem);
  --fs-2xl: clamp(1.55rem, 1.25rem + 1.45vw, 2.5rem);
  --fs-3xl: clamp(1.9rem, 1.35rem + 2.4vw, 3.5rem);
  --fs-display: clamp(2.25rem, 1.15rem + 4.7vw, 5.25rem);

  --lh-display: 1.02;
  --lh-eng: 1.1;
  --lh-knapp: 1.3;
  --lh-text: 1.62;

  --track-eng: -0.022em;
  --track-weit: 0.2em;

  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --sp-abschnitt: clamp(5.5rem, 11vw, 10rem);

  --breite-inhalt: 1240px;
  --breite-weit: 1480px;
  --breite-text: 62ch;
  --rand: clamp(1.25rem, 5vw, 3.5rem);

  --r-schale: 1.5rem;
  --r-kern: 1.125rem; 
  --r-klein: 0.75rem;
  --r-pille: 999px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-weich: cubic-bezier(0.32, 0.72, 0, 1);

  --t-tipp: 140ms;
  --t-schnell: 200ms;
  --t-mittel: 260ms;
  --t-auftritt: 720ms;

  --z-hinter: -1;
  --z-sticky: 30;
  --z-kopf: 40;
  --z-overlay: 50;
  --z-korn: 60;
}

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

* {
  margin: 0;
}

[hidden] {
  display: none !important;
}

html[lang="de"] [data-nur-en] {
  display: none;
}

.nur-englisch {
  margin-top: 1.25rem;
  padding: 0.75rem 1rem;
  border-radius: var(--r-klein);
  background: color-mix(in srgb, var(--c-blau) 8%, transparent);
  box-shadow: inset 0 0 0 1px var(--line-hair);
  font-size: var(--fs-sm);
  color: var(--c-ink-soft);
  max-width: 60ch;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  
  scroll-padding-top: 7rem;
}

body {
  background-color: var(--c-paper);
  background-image:
    radial-gradient(
      ellipse 90% 55% at 15% 0%,
      color-mix(in srgb, var(--c-blau) 7%, transparent),
      transparent 70%
    ),
    radial-gradient(
      ellipse 70% 50% at 95% 30%,
      color-mix(in srgb, var(--c-blau) 5%, transparent),
      transparent 70%
    ),
    radial-gradient(
      ellipse 80% 45% at 40% 100%,
      color-mix(in srgb, #a8814e 6%, transparent),
      transparent 72%
    );
  background-attachment: fixed;
  color: var(--c-ink);
  font-family: var(--font-text);
  font-size: var(--fs-base);
  line-height: var(--lh-text);
  font-weight: 400;
  font-feature-settings: "kern", "liga", "calt";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  
  overflow-x: clip;
}

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

img {
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

:target {
  scroll-margin-top: 7.5rem;
}

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

::selection {
  background: var(--c-ink);
  color: var(--c-paper);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 560;
  font-stretch: 108%;
  letter-spacing: var(--track-eng);
  text-wrap: balance;
}

h1,
.t-display {
  font-size: var(--fs-display);
  line-height: var(--lh-display);
}

h2,
.t-3xl {
  font-size: var(--fs-3xl);
  line-height: var(--lh-eng);
}

h3,
.t-2xl {
  font-size: var(--fs-2xl);
  line-height: var(--lh-eng);
}

.betont {
  color: var(--c-blau);
  font-weight: 680;
  box-shadow: inset 0 -0.09em 0 0 currentColor;
}

.lead {
  font-size: var(--fs-lg);
  line-height: 1.45;
  color: var(--c-ink-soft);
  max-width: 52ch;
  text-wrap: pretty;
}

p {
  text-wrap: pretty;
  max-width: var(--breite-text);
}

.text-steel {
  color: var(--c-steel);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-text);
  font-size: var(--fs-mikro);
  font-weight: 500;
  letter-spacing: var(--track-weit);
  text-transform: uppercase;
  color: var(--c-blau);
}

.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.mono {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.wrap {
  width: 100%;
  max-width: var(--breite-inhalt);
  margin-inline: auto;
  padding-inline: var(--rand);
}

.wrap--weit {
  max-width: var(--breite-weit);
}

.abschnitt {
  padding-block: var(--sp-abschnitt);
  position: relative;
}

.abschnitt--knapp {
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.abschnitt__kopf {
  margin-bottom: clamp(2.75rem, 5.5vw, 4.5rem);
  max-width: 34ch;
}

.abschnitt__kopf .lead {
  margin-top: var(--sp-4);
  max-width: 58ch;
}

.abschnitt__kopf .eyebrow {
  margin-bottom: var(--sp-4);
}

.stapel > * + * {
  margin-top: var(--sp-4);
}

.reihe {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  align-items: center;
}

.flaeche {
  background: var(--c-paper-2);
}

.linie {
  height: 1px;
  border: 0;
  background: var(--grad-chrome);
  opacity: 0.6;
}

.korn {
  position: fixed;
  inset: 0;
  z-index: var(--z-korn);
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: 0.5;
  background-image:
    repeating-linear-gradient(
      64deg,
      transparent 0 3px,
      rgba(26, 24, 21, 0.02) 3px 4px
    ),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
}

.nur-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--rand);
  z-index: calc(var(--z-overlay) + 1);
  padding: 0.85rem 1.4rem;
  background: var(--c-ink);
  color: var(--c-paper);
  border-radius: var(--r-pille);
  font-size: var(--fs-sm);
  font-weight: 500;
}

.skip-link:focus-visible {
  top: 1rem;
}

.todo {
  background: color-mix(in srgb, var(--c-offen) 20%, transparent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--c-offen) 20%, transparent);
  border-radius: 3px;
}

.todo::after {
  content: " (zu bestätigen)";
  font-family: var(--font-text);
  font-size: 0.6em;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-offen);
  white-space: nowrap;
}

/* Schwebendes CCM19-Icon zum erneuten Öffnen der Cookie-Einstellungen
   ausblenden; ein Link im Footer (data-ccm-einstellungen) übernimmt
   diese Funktion stattdessen. */
.ccm-settings-summoner {
  display: none !important;
}
