/* bieber.onl — gemeinsames Stylesheet der Pflichtseiten.
   Passend zur Startseite: Schwarz mit Silber, ruhig gehalten.

   Keine externen Ressourcen. Die einzige Schriftdatei (Instrument Serif für
   die Überschriften) liegt unter /schriften/ auf diesem Server — es geht
   also weiterhin nichts an Dritte. Fällt sie aus, greift die Systemserife.

   Für Papier gilt am Ende dieser Datei das Gegenteil: Impressum und
   Datenschutzerklärung werden ausgedruckt und abgeheftet, und ein
   schwarzes Blatt ist dafür untauglich. */

@font-face {
  font-family: "Instrument Serif";
  src: url("/schriften/instrument-serif-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("/schriften/instrument-serif-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --grund: #000000;
  --flaeche: rgba(255, 255, 255, 0.035);
  --flaeche-stark: rgba(255, 255, 255, 0.06);
  --text: #ffffff;
  --leise: rgba(255, 255, 255, 0.55);
  --sehr-leise: rgba(255, 255, 255, 0.35);
  --linie: rgba(255, 255, 255, 0.1);
  --linie-stark: rgba(255, 255, 255, 0.25);
  --akzent: #c9ced6;
  --akzent-hell: #ffffff;

  /* Offene Angaben — auf Dunkel als warmes Bernstein statt Ockergelb. */
  --offen-grund: rgba(217, 165, 79, 0.14);
  --offen-text: #e8c579;
  --offen-linie: rgba(217, 165, 79, 0.42);

  --schrift: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --serife: "Instrument Serif", Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

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

body {
  position: relative;
  margin: 0;
  padding: 0 20px 96px;
  background: var(--grund);
  color: var(--text);
  font-family: var(--schrift);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Silberner Lichtschein hinter dem Kopf — dasselbe Motiv wie auf der
   Startseite, nur deutlich zurückgenommen. */
body::before {
  content: "";
  position: absolute;
  top: -320px;
  left: 50%;
  width: min(900px, 150vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(201, 206, 214, 0.1) 0%,
    rgba(201, 206, 214, 0) 68%
  );
  pointer-events: none;
  z-index: 0;
}

.blatt {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

/* ---------- Kopf ---------- */

header.kopf {
  padding: 72px 0 28px;
  border-bottom: 1px solid var(--linie);
  margin-bottom: 36px;
}

.marke {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sehr-leise);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.25s;
}

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

h1 {
  font-family: var(--serife);
  font-weight: 400;
  font-size: clamp(34px, 6vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 18px 0 0;
  text-wrap: balance;
}

.untertitel {
  margin: 14px 0 0;
  color: var(--leise);
  font-size: 15px;
}

/* ---------- Fließtext ---------- */

h2 {
  font-size: 19px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 48px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--linie);
}

h3 {
  font-size: 16px;
  font-weight: 500;
  margin: 30px 0 6px;
}

p {
  margin: 0 0 15px;
  color: rgba(255, 255, 255, 0.78);
}

ul {
  margin: 0 0 15px;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.78);
}

li {
  margin-bottom: 7px;
}

li::marker {
  color: var(--sehr-leise);
}

strong {
  font-weight: 500;
  color: var(--text);
}

a {
  color: var(--akzent);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  transition: color 0.25s;
}

a:hover {
  color: var(--akzent-hell);
}

:focus-visible {
  outline: 2px solid var(--akzent);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: rgba(220, 225, 232, 0.28);
}

/* ---------- Anbieterblock ---------- */

address {
  position: relative;
  font-style: normal;
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: 18px;
  padding: 22px 24px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.78);
}

/* Feine Lichtkante wie auf den Karten der Startseite. */
address::before {
  content: "";
  position: absolute;
  inset: 0 16px auto 16px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.22),
    transparent
  );
}

address .rolle {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sehr-leise);
  margin-bottom: 8px;
  font-weight: 400;
}

address .name {
  font-weight: 500;
  font-size: 18px;
  color: var(--text);
}

.leise {
  color: var(--leise);
}

.klein {
  font-size: 14.5px;
}

.offen {
  background: var(--offen-grund);
  color: var(--offen-text);
  border: 1px dashed var(--offen-linie);
  border-radius: 6px;
  padding: 1px 7px;
  font-size: 15px;
  font-weight: 500;
}

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

footer.fuss {
  margin-top: 64px;
  padding-top: 22px;
  border-top: 1px solid var(--linie);
  color: var(--sehr-leise);
  font-size: 14px;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

footer.fuss a {
  color: var(--sehr-leise);
  text-decoration: none;
}

footer.fuss a:hover {
  color: var(--text);
}

/* ---------- Startliste ---------- */

.startliste {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.startliste a {
  display: block;
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: 18px;
  padding: 18px 22px;
  text-decoration: none;
  color: var(--text);
  font-weight: 400;
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s,
    background 0.4s;
}

.startliste a:hover {
  transform: translateY(-2px);
  border-color: var(--linie-stark);
  background: var(--flaeche-stark);
}

.startliste span {
  display: block;
  font-weight: 300;
  font-size: 14.5px;
  color: var(--leise);
  margin-top: 3px;
}

/* ---------- Kontaktformular ---------- */

form.kontakt {
  margin: 0;
}

form.kontakt label {
  display: block;
  font-weight: 400;
  font-size: 14.5px;
  color: var(--text);
  margin: 26px 0 8px;
}

form.kontakt label .zusatz {
  font-weight: 300;
  color: var(--sehr-leise);
}

form.kontakt input[type="text"],
form.kontakt input[type="email"],
form.kontakt textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: 14px;
  padding: 13px 16px;
  transition:
    border-color 0.25s,
    background 0.25s;
}

form.kontakt input::placeholder,
form.kontakt textarea::placeholder {
  color: var(--sehr-leise);
}

form.kontakt textarea {
  min-height: 200px;
  resize: vertical;
}

form.kontakt input:focus,
form.kontakt textarea:focus {
  outline: none;
  border-color: var(--linie-stark);
  background: var(--flaeche-stark);
}

/* Der Honigtopf. Aus dem Blickfeld geschoben statt display:none —
   manche Formularroboter überspringen ausgeblendete Felder gezielt. */
form.kontakt .falle {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Weiß auf Schwarz, rund — derselbe Knopf wie auf der Startseite. */
form.kontakt button {
  margin-top: 30px;
  font: inherit;
  font-weight: 400;
  font-size: 15px;
  color: #000000;
  background: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 999px;
  padding: 13px 30px;
  cursor: pointer;
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.25s;
}

form.kontakt button:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}

.hinweis {
  font-size: 14px;
  color: var(--sehr-leise);
  margin-top: 20px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

/* ---------- Papier ----------
   Impressum und Datenschutzerklärung werden ausgedruckt und abgeheftet.
   Schwarzer Grund verbraucht dabei nur Toner und macht den Text schlechter
   lesbar, deshalb hier die Umkehr auf klassisches Schwarz auf Weiß. */

@media print {
  body {
    background: #ffffff;
    color: #000000;
    padding: 0;
    font-weight: 400;
  }

  body::before {
    display: none;
  }

  .blatt {
    max-width: none;
  }

  /* Jede Regel, die auf dem Bildschirm eine helle Farbe setzt, muss hier
     zurueckgenommen werden — sonst steht Weiss auf Weiss und die Angabe
     fehlt im Ausdruck, ohne dass es jemand bemerkt. Genau das ist mit dem
     Namen im Anbieterblock passiert. */
  p,
  ul,
  li,
  address,
  address .name,
  strong,
  h1,
  h2,
  h3,
  .leise,
  .klein {
    color: #000000;
  }

  address .rolle,
  .hinweis,
  form.kontakt label .zusatz {
    color: #444444;
  }

  li::marker {
    color: #000000;
  }

  h1 {
    font-family: var(--schrift);
    font-weight: 600;
    font-size: 26px;
  }

  h2 {
    font-weight: 600;
    border-bottom-color: #cccccc;
    margin-top: 26px;
  }

  a {
    color: #000000;
    text-decoration: underline;
  }

  /* Auf Papier ist ein Link ohne Adresse wertlos. */
  address a::after,
  p a::after {
    content: " (" attr(href) ")";
    font-size: 12px;
    color: #444444;
  }

  address {
    background: none;
    border: 1px solid #cccccc;
    border-radius: 0;
  }

  address::before {
    display: none;
  }

  .marke,
  .untertitel,
  footer.fuss {
    color: #444444;
  }

  footer.fuss {
    border-top-color: #cccccc;
  }

  .offen {
    background: none;
    color: #000000;
    border: 1px dashed #999999;
  }

  form.kontakt button {
    display: none;
  }
}
