/* leinenlocker.de – mobil zuerst, eine Schriftfamilie, ein Akzentton. */
@font-face {
  font-family: "Atkinson Hyperlegible";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/atkinson-hyperlegible-latin-400.woff2") format("woff2");
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/atkinson-hyperlegible-latin-700.woff2") format("woff2");
}

:root {
  --akzent: #1f6f5c;
  --akzent-dunkel: #17594a;
  --text: #1f2421;
  --text-leise: #545c57;
  --grund: #fbfaf7;
  --flaeche: #f1efe9;
  --linie: #dedad0;
  --rand: 1.25rem;
}

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

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

body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font-family: "Atkinson Hyperlegible", system-ui, sans-serif;
  font-size: 1.1875rem;
  line-height: 1.65;
}

a { color: var(--akzent); text-underline-offset: 0.15em; }
a:hover { color: var(--akzent-dunkel); }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--akzent); outline-offset: 3px; }

.wrap { max-width: 40rem; margin: 0 auto; padding: 0 var(--rand); }

.kopf { padding-top: 1.25rem; padding-bottom: 0.5rem; }
.kopf a { color: var(--text); text-decoration: none; }
.marke { font-weight: 700; font-size: 1.3rem; letter-spacing: 0.01em; }
.marke::before {
  content: ""; display: inline-block; width: 0.6em; height: 0.6em; margin-right: 0.45em;
  border-radius: 50%; background: var(--akzent); vertical-align: 0.05em;
}
.claim { margin: 0; color: var(--text-leise); font-size: 1rem; }

main { padding-bottom: 3rem; }

h1 { font-size: 2rem; line-height: 1.2; margin: 1.5rem 0 1.25rem; }
h2 { font-size: 1.45rem; line-height: 1.3; margin: 2.25rem 0 0.75rem; }
p, ul, ol { margin: 0 0 1.1rem; }
li { margin-bottom: 0.4rem; }

.titelbild { margin: 0 calc(-1 * var(--rand)) 1.5rem; }
.titelbild img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: var(--flaeche); }
.titelbild figcaption { padding: 0.35rem var(--rand) 0; font-size: 0.8rem; color: var(--text-leise); }

.kurs {
  margin: 2.5rem 0 0;
  padding: 1.5rem var(--rand);
  background: var(--flaeche);
  border-radius: 14px;
}
.kurs h2 { margin-top: 0; }
.werbehinweis {
  margin: 1.25rem 0 0.6rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text);
  border-left: 4px solid var(--akzent);
  padding-left: 0.75rem;
}
.button {
  display: block;
  width: 100%;
  padding: 1rem 1.25rem;
  min-height: 3.25rem;
  border-radius: 10px;
  background: var(--akzent);
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  text-align: center;
  text-decoration: none;
}
.button:hover { background: var(--akzent-dunkel); color: #fff; }

.liste { list-style: none; padding: 0; margin: 0; }
.liste li { margin: 0; border-top: 1px solid var(--linie); }
.liste li:last-child { border-bottom: 1px solid var(--linie); }
.liste a { display: block; padding: 1rem 0; text-decoration: none; color: var(--text); }
.liste a strong { display: block; color: var(--akzent); font-size: 1.15rem; line-height: 1.35; margin-bottom: 0.25rem; }
.liste a span { display: block; color: var(--text-leise); font-size: 1rem; line-height: 1.5; }

.weitere { margin-top: 3rem; }

.entwurf {
  padding: 1rem var(--rand);
  border: 2px solid #b54708;
  background: #fff4e5;
  border-radius: 10px;
  font-weight: 700;
}

.fuss {
  border-top: 1px solid var(--linie);
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
  font-size: 0.95rem;
  color: var(--text-leise);
}
.fuss nav a { margin-right: 1.25rem; display: inline-block; padding: 0.35rem 0; }
.fuss p { margin: 0.75rem 0 0; }

@media (min-width: 48rem) {
  body { font-size: 1.25rem; }
  h1 { font-size: 2.5rem; }
  .titelbild { margin-left: 0; margin-right: 0; }
  .titelbild img { border-radius: 14px; aspect-ratio: auto; max-height: 34rem; }
  .titelbild figcaption { padding-left: 0; }
  .button { display: inline-block; width: auto; min-width: 20rem; }
}
