/* coxilab.de: gleiche Familie wie dilemma.coxilab.de und jobs.coxilab.de
   (Papier, Tinte, Ziegelrot, Gabarito + Onest). Werte aus ki-dilemma/public/style.css. */
@font-face {
  font-family: "Gabarito";
  font-weight: 400 900;
  font-display: swap;
  src: url(/fonts/gabarito-latin.woff2) format("woff2");
}
@font-face {
  font-family: "Onest";
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/onest-latin.woff2) format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/CormorantGaramond-italic-400-latin.woff2) format("woff2");
}
:root {
  color-scheme: light;
  --paper: #f5f4f1;
  --paper-2: #efece5;
  --card: #fbfaf8;
  --ink: #262019;
  --ink-2: #6a6258;
  --rule: #ddd6c9;
  --a: #8a3a2c;
  --a-wash: #efe1dc;
  --b: #52646d;
  --b-wash: #e3e8ea;
  --display: "Gabarito", system-ui, sans-serif;
  --text: "Onest", system-ui, sans-serif;
  --sig: "Cormorant Garamond", Georgia, serif;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.seite {
  max-width: 44rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2.5rem;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin: 0;
}
p {
  margin: 0;
}
a {
  color: inherit;
  text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--a);
}
:focus-visible {
  outline: 3px solid var(--b);
  outline-offset: 2px;
}

/* Kopfzeile mit Signet */
.kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.marke {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--display);
  font-weight: 650;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.marke svg {
  width: 30px;
  height: 30px;
  display: block;
}
.kopf .neben {
  font-size: 0.9rem;
  color: var(--ink-2);
}

/* Einstieg */
.einstieg {
  padding: clamp(2.5rem, 9vh, 5rem) 0 0;
}
.einstieg h1 {
  font-size: clamp(2.1rem, 6.5vw, 3.1rem);
  max-width: 16ch;
}
.einstieg .intro {
  margin-top: 0.9rem;
  max-width: 33rem;
  color: var(--ink-2);
}

/* Werkzeugliste: Zeilen mit Linien, links eine kleine Vorschau */
.werkzeuge {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.werkzeuge li {
  border-bottom: 1px solid var(--rule);
}
.werkzeuge a {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.35rem 0;
  text-decoration: none;
}
.werkzeuge .vorschau {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}
.werkzeuge h2 {
  font-size: 1.45rem;
}
.werkzeuge a:hover h2 {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.werkzeuge .adresse {
  margin-top: 0.15rem;
  font-size: 0.9rem;
  color: var(--ink-2);
}
.werkzeuge .text {
  margin-top: 0.5rem;
  color: var(--ink);
}
@media (max-width: 30rem) {
  .werkzeuge a {
    grid-template-columns: 4.75rem 1fr;
    gap: 0.9rem;
  }
  .werkzeuge h2 {
    font-size: 1.25rem;
  }
}

/* Weitere Abschnitte: einfache Linklisten */
.abschnitt {
  margin-top: 3.25rem;
}
.abschnitt h2 {
  font-size: 1.25rem;
}
.abschnitt > p {
  margin-top: 0.5rem;
  color: var(--ink-2);
  max-width: 34rem;
}
.links {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.links li {
  border-bottom: 1px solid var(--rule);
}
.links a {
  display: block;
  padding: 0.8rem 0;
  text-decoration: none;
}
.links a:hover .titel {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.links .titel {
  font-weight: 550;
}
.links .wo {
  display: block;
  font-size: 0.88rem;
  color: var(--ink-2);
}

/* Fuß */
.fuss {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  font-size: 0.88rem;
  color: var(--ink-2);
}
.fuss .von {
  font-size: 1rem;
  color: var(--ink);
}
.fuss .sig {
  font-family: var(--sig);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1;
  text-decoration: none;
}
.fuss .sig:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.fuss nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.3rem;
  margin-top: 0.9rem;
  color: var(--ink);
}

/* Rechtstexte */
.recht h1 {
  margin-top: 2.5rem;
  font-size: clamp(1.9rem, 5vw, 2.4rem);
}
.recht .gilt {
  margin-top: 0.6rem;
  color: var(--ink-2);
}
.recht section {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}
.recht h2 {
  font-size: 1.2rem;
}
.recht h3 {
  margin-top: 1.1rem;
  font-size: 1rem;
}
.recht p,
.recht ul {
  margin-top: 0.6rem;
  max-width: 38rem;
}
.recht ul {
  padding-left: 1.2rem;
}
.recht .kasten {
  margin-top: 0.75rem;
  padding: 1rem 1.1rem;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 10px;
}
.recht .kasten p {
  margin: 0;
}
.recht .kasten p + p {
  margin-top: 0.2rem;
}

/* versteckter Eingang zu den Minispielen */
.fuss .pause {
  display: block;
  width: max-content;
  margin: 2.5rem 0 0 auto;
  padding: 0.4rem;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--ink-2);
  opacity: 0.65;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.3s;
}
.fuss .pause:hover,
.fuss .pause:focus-visible {
  opacity: 1;
  transform: rotate(90deg);
}
