/* pourdesk.de
   Farben und Schrift aus marke/werkzeug/farben.json und dem Leitfaden.
   Aufbau: Abschnitte wechseln zwischen Tresen, Bon und Bitter. Durch jeden
   laeuft die Eichlinie, die Linie, auf der Tablet, Glas und Text stehen. */

@font-face {
  font-family: "Archivo";
  src: url(schriften/archivo.woff2) format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url(schriften/plex-arabic-500-arabic.woff2) format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url(schriften/plex-arabic-600-arabic.woff2) format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --tresen: #161412;
  --rauch: #25221f;
  --glut: #34302b;
  --kreide: #a29f98;
  --asche: #625f59;
  --eis: #e3e4e0;
  --bon: #f5f5f2;
  --schaum: #ffffff;
  --bitter: #e8472c;
  --bitter-tief: #b5371f;

  --schrift: "Archivo", "IBM Plex Sans Arabic", "Helvetica Neue", Arial, sans-serif;
  --arabisch: "IBM Plex Sans Arabic", "Geeza Pro", "Noto Sans Arabic", sans-serif;

  --rand: clamp(20px, 5vw, 72px);
  --breite: 1240px;
  --linie: 3px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bon);
  color: var(--tresen);
  font-family: var(--schrift);
  font-size: clamp(17px, 1.15vw + 12px, 20px);
  line-height: 1.5;
  font-variation-settings: "wdth" 100;
  font-weight: 430;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--bitter);
  outline-offset: 3px;
}

/* ---- Satz ---- */

.titel {
  font-weight: 850;
  font-stretch: 64%;
  font-variation-settings: "wdth" 64;
  line-height: 0.92;
  letter-spacing: -0.012em;
  text-wrap: balance;
  margin: 0;
}
.titel.gross { font-size: clamp(52px, 8.4vw, 132px); }
.titel.mittel { font-size: clamp(40px, 5.6vw, 88px); }
.titel.klein { font-size: clamp(30px, 3.2vw, 46px); line-height: 1; font-variation-settings: "wdth" 72; font-weight: 800; }

.vorspann { font-size: clamp(19px, 1.5vw + 10px, 26px); line-height: 1.4; max-width: 34em; margin: 0; }
.leise { color: var(--asche); }
.dunkel .leise { color: var(--kreide); }
/* Asche traegt auf Eis knapp 5:1, fuer kleine Schrift dort einen Ton dunkler. */
.papier .leise { color: #5a544c; }
.akzent { color: var(--bitter); }
.ziffern { font-variant-numeric: tabular-nums; }

.huelle {
  max-width: var(--breite);
  margin-inline: auto;
  padding-inline: var(--rand);
}

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

.kopf {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 2;
  padding-block: 26px;
}
.kopf .huelle { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.kopf .marke img { height: 34px; width: auto; }
.kopf nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); }
.kopf nav a {
  color: var(--bon);
  text-decoration: none;
  font-weight: 560;
  font-size: 17px;
}
.kopf nav a:hover { color: var(--bitter); }
.kopf nav .anfrage {
  border-bottom: 2px solid var(--bitter);
  padding-bottom: 2px;
}

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

section { position: relative; overflow: hidden; }
.dunkel { background: var(--tresen); color: var(--bon); }
.hell { background: var(--bon); color: var(--tresen); }
.papier { background: var(--eis); color: var(--tresen); }
.rot { background: var(--bitter); color: var(--tresen); }

/* Die Eichlinie: eine Linie ueber die ganze Breite, gesetzt als unterer
   Rand eines Elements, auf dem etwas steht. */
.eichlinie { border-bottom: var(--linie) solid var(--bitter); }
.rot .eichlinie, .hell .eichlinie.tinte { border-bottom-color: var(--tresen); }

/* ---- Anfang ---- */

.anfang { padding-top: 130px; }
.anfang .ueber {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  padding-bottom: clamp(36px, 5vw, 64px);
}
.anfang .buehne { position: relative; }
.anfang .buehne .huelle { display: flex; justify-content: flex-end; }
.anfang .tablet {
  width: min(880px, 92%);
  margin-bottom: -2%;
  margin-right: -2%;
}
.anfang .unter {
  padding-block: 28px 64px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  align-items: baseline;
  justify-content: space-between;
}
.anfang .claim { font-weight: 640; font-size: clamp(22px, 2vw, 30px); }

.knopf {
  display: inline-block;
  background: var(--bitter);
  color: var(--tresen);
  text-decoration: none;
  font-weight: 700;
  font-size: 19px;
  padding: 16px 26px 17px;
  border-radius: 4px;
}
.knopf:hover { background: var(--bon); }
.rot .knopf { background: var(--tresen); color: var(--bon); }
.rot .knopf:hover { background: var(--bon); color: var(--tresen); }

/* ---- Die Frage ---- */

.frage { padding-block: clamp(72px, 9vw, 128px) 0; }
.frage .titel { max-width: 11ch; }
.frage .huelle > .eichlinie { padding-bottom: clamp(32px, 4vw, 56px); }
.drei {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 32px clamp(24px, 4vw, 56px);
  padding-block: 40px clamp(72px, 9vw, 120px);
}
.drei h3 {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.1;
  font-weight: 780;
  font-variation-settings: "wdth" 78;
}
.drei p { margin: 0; }

/* ---- Sprachen ---- */

.sprachen { padding-block: clamp(72px, 9vw, 128px) 0; }
.sprachen .kopfzeile { display: grid; gap: 22px; max-width: 900px; }
.wahl {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}
.wahl button {
  appearance: none;
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  padding: 6px 0 4px;
  font: inherit;
  font-weight: 650;
  font-size: 20px;
  color: var(--tresen);
  cursor: pointer;
  opacity: 0.62;
}
.wahl button[lang="ar"], .wahl button[lang="ckb"] { font-family: var(--arabisch); }
.wahl button:hover { opacity: 1; }
.wahl button[aria-pressed="true"] { opacity: 1; border-bottom-color: var(--tresen); }

.sprachbuehne {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  margin-top: 36px;
}
.satz {
  font-size: clamp(30px, 3.2vw, 50px);
  line-height: 1.05;
  font-weight: 780;
  font-variation-settings: "wdth" 76;
  min-height: 4.4em;
  display: flex;
  align-items: flex-end;
  padding-bottom: 28px;
}
.satz[dir="rtl"] { font-family: var(--arabisch); font-weight: 600; line-height: 1.4; }
.sprachbuehne img { margin-bottom: -1.6%; }
@media (max-width: 820px) {
  .sprachbuehne { grid-template-columns: minmax(0, 1fr); }
  .satz { min-height: 0; }
}

.nachsatz { margin: 22px 0 0; max-width: 26em; }

/* ---- Was es kann ---- */

.koennen { padding-block: clamp(72px, 9vw, 128px); }
.liste {
  margin: clamp(36px, 5vw, 64px) 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 0 clamp(24px, 4vw, 64px);
}
.liste div {
  border-top: 2px solid var(--tresen);
  padding-block: 22px 34px;
  min-width: 0;
}
.liste dt {
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.05;
  font-weight: 800;
  font-variation-settings: "wdth" 74;
  margin-bottom: 10px;
}
.liste dd { margin: 0; }

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

.ablauf { padding-block: clamp(72px, 9vw, 128px); }
.ablauf ol {
  list-style: none;
  margin: clamp(36px, 5vw, 64px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 36px clamp(24px, 3vw, 48px);
  counter-reset: schritt;
}
.ablauf li { counter-increment: schritt; border-top: var(--linie) solid var(--bitter); padding-top: 18px; }
.ablauf li::before {
  content: counter(schritt);
  display: block;
  font-size: 64px;
  font-weight: 880;
  font-variation-settings: "wdth" 64;
  line-height: 1;
  color: var(--bitter);
  margin-bottom: 14px;
}
.ablauf h3 { margin: 0 0 8px; font-size: 24px; font-weight: 760; font-variation-settings: "wdth" 80; line-height: 1.1; }
.ablauf p { margin: 0; }
.ablauf .nachsatz { margin-top: 48px; max-width: 40em; }

/* ---- Pilot ---- */

.pilot .oben { padding-block: clamp(72px, 9vw, 128px) clamp(36px, 4vw, 56px); display: grid; gap: 32px; }
.pilot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 640px; }
.pilot li {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 620;
  font-variation-settings: "wdth" 90;
  padding-block: 14px;
  border-top: 1.5px solid var(--glut);
}
.pilot .unten { background: var(--bitter); color: var(--tresen); }
.pilot .unten .huelle { padding-block: 40px clamp(72px, 9vw, 112px); display: grid; gap: 28px; }
.adresse { font-weight: 720; font-size: clamp(24px, 2.4vw, 34px); font-variation-settings: "wdth" 84; user-select: all; }

/* ---- Fragen ---- */

.fragen { padding-block: clamp(72px, 9vw, 128px); }
.fragen details { border-top: 2px solid var(--tresen); max-width: 860px; }
.fragen details:last-of-type { border-bottom: 2px solid var(--tresen); }
.fragen summary {
  cursor: pointer;
  list-style: none;
  padding-block: 20px;
  font-size: clamp(21px, 1.8vw, 26px);
  font-weight: 720;
  font-variation-settings: "wdth" 84;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: "+"; font-weight: 500; color: var(--bitter-tief); }
.fragen details[open] summary::after { content: "−"; }
.fragen details p { margin: 0 0 24px; max-width: 40em; }
.fragen .liste-titel { margin-bottom: clamp(32px, 4vw, 48px); }

/* ---- Fuss ---- */

.fuss { padding-block: 56px 48px; }
.fuss .huelle { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-end; justify-content: space-between; }
.fuss img { height: 40px; width: auto; }
.fuss nav { display: flex; gap: 28px; flex-wrap: wrap; }
.fuss nav a { color: var(--kreide); text-decoration: none; }
.fuss nav a:hover { color: var(--bon); }

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

.recht { padding-block: 140px 96px; }
.recht .inhalt { max-width: 44em; }
.recht h2 { font-size: 26px; font-weight: 780; font-variation-settings: "wdth" 80; margin: 40px 0 8px; }
.recht .entwurf {
  background: var(--eis);
  padding: 16px 20px;
  border-radius: 4px;
  margin-block: 28px;
}
