/* Normalisierung — nur das, was diese Seite tatsächlich braucht. */

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

html { -webkit-text-size-adjust: 100%; }

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, ul, ol, dl, dd { margin: 0; }

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

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

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

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

a { color: inherit; }

summary::-webkit-details-marker { display: none; }

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

/* Schriften — dieselben Dateien wie im Original, ohne Cookie-Blocker davor. */

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("../assets/fonts/dm-sans-normal-latin-100-1000.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: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("../assets/fonts/dm-sans-normal-latin-ext-100-1000.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: "DM Sans";
  font-style: italic;
  font-weight: 100 1000;
  font-display: swap;
  src: url("../assets/fonts/dm-sans-italic-latin-100-1000.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: "DM Sans";
  font-style: italic;
  font-weight: 100 1000;
  font-display: swap;
  src: url("../assets/fonts/dm-sans-italic-latin-ext-100-1000.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: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-normal-latin-300-700.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: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-normal-latin-ext-300-700.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: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-italic-latin-300-700.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: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-italic-latin-ext-300-700.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;
}

/* Grundtypografie */

body {
  font-family: var(--ff-sans);
  font-size: var(--fs-body);
  font-weight: var(--fw-light);
  line-height: var(--lh-normal);
  letter-spacing: var(--ls-normal);
  color: var(--c-body);
  background-color: var(--c-white);
}

h1, h2, h3, h4 {
  font-family: var(--ff-serif);
  font-weight: var(--fw-regular);
  line-height: var(--lh-tight);
  color: var(--c-heading);
}

h1 { font-size: var(--fs-h1); font-weight: var(--fw-medium); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

/*
  Absatzabstand ist im Original genau eine Leerzeile (2× <br>) — also eine
  Zeilenhöhe des jeweiligen Textes, nicht ein fester Wert. Nur in Fließtext,
  nicht in Listen oder der Zeitleiste.
*/
.measure p + p { margin-top: 1lh; }

strong { font-weight: var(--fw-regular); }

/* Fokus — durchgehend sichtbar, auch auf dunklem Grund. */

:focus-visible {
  outline: 3px solid var(--c-coral);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

.skip-link {
  position: absolute;
  top: var(--sp-8);
  left: var(--sp-8);
  z-index: 100;
  padding: var(--sp-10) var(--sp-20);
  border-radius: var(--r-sm);
  background-color: var(--c-white);
  color: var(--c-forest);
  font-size: var(--fs-meta);
  font-weight: var(--fw-medium);
  transform: translateY(-200%);
}

.skip-link:focus-visible { transform: translateY(0); }

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

/* --------------------------------------------------------------------------
   E-Mail-Adresse fuer den Fall ohne JavaScript.

   scripts/mail.js setzt die Adressen normalerweise im Browser zusammen, im
   Quelltext steht dann keine. Ohne JavaScript bliebe die Stelle leer — und
   in Impressum und Datenschutzerklaerung muss die Angabe nach § 5 ECG auch
   dann lesbar sein.

   Deshalb steht im <noscript> die Adresse rueckwaerts, und diese Regel dreht
   die Anzeige zurueck. Fuer das Auge steht sie richtig da, im ausgelieferten
   Rohtext ergibt sie kein Adressmuster: Ein Sammler sucht nach etwas@etwas.tld
   und findet hier ta.nierehcs@eciffo, wo der Punkt vor dem @ steht.

   Der Preis: Wer diesen Text markiert und kopiert, bekommt ihn rueckwaerts.
   Das trifft nur Besucher:innen ohne JavaScript, und die koennen die Adresse
   ablesen und abtippen. Mit JavaScript, also im Normalfall, steht dort ein
   normaler anklickbarer Link.
   -------------------------------------------------------------------------- */
.mail-rueck {
  unicode-bidi: bidi-override;
  direction: rtl;
}
