/* T4-2 A14 (PT17): Platzhalterseite an der Wurzel. Farben aus dem Thema „letsgo“ der Verwaltung
   (frontend/src/theme/letsgo.css), Schrift aus dem System, keine Webfonts, keine fremden Adressen.
   Die Marke `letsgo3-kopf-hell.png` ist das weiße Logo, deshalb steht der Kopf immer auf dunklem Grund. */

:root {
  color-scheme: light dark;
  --seite: hsl(220, 14%, 95.5%);
  --karte: hsl(0, 0%, 100%);
  --text: hsl(221, 39%, 11%);
  --text-leise: hsl(215, 14%, 34%);
  --rand: hsl(220, 13%, 91%);
  --marke: hsl(199, 89%, 36%);
  --marke-text: hsl(0, 0%, 100%);
  --kopf: hsl(222, 41%, 7%);
  --platzhalter-grund: hsl(48, 100%, 93%);
  --platzhalter-rand: hsl(38, 92%, 50%);
  --platzhalter-text: hsl(26, 83%, 24%);
}

@media (prefers-color-scheme: dark) {
  :root {
    --seite: hsl(222, 41%, 7%);
    --karte: hsl(220, 34%, 10%);
    --text: hsl(213, 31%, 93%);
    --text-leise: hsl(216, 15%, 65%);
    --rand: hsl(218, 25%, 20%);
    --marke: hsl(197, 78%, 52%);
    --marke-text: hsl(222, 41%, 7%);
    --kopf: hsl(222, 41%, 5%);
    --platzhalter-grund: hsl(38, 60%, 14%);
    --platzhalter-rand: hsl(38, 92%, 50%);
    --platzhalter-text: hsl(45, 95%, 75%);
  }
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--seite);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

a {
  color: var(--marke);
}

a:focus-visible {
  outline: 2px solid var(--marke);
  outline-offset: 2px;
}

.kopf {
  background: var(--kopf);
  border-bottom: 1px solid var(--rand);
}

.kopf-innen,
.inhalt,
.fuss-innen {
  width: 100%;
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.kopf-innen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.marke {
  display: inline-flex;
  align-items: center;
}

.marke img {
  display: block;
  height: 2.75rem;
  width: auto;
}

.knopf {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  background: var(--marke);
  color: var(--marke-text);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.knopf:hover {
  filter: brightness(1.08);
}

.kopf .knopf:focus-visible {
  outline-color: var(--marke-text);
}

.inhalt {
  flex: 1;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.karte {
  background: var(--karte);
  border: 1px solid var(--rand);
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
}

h1 {
  margin: 0 0 1rem;
  font-size: 1.75rem;
  line-height: 1.25;
}

h2 {
  margin: 1.5rem 0 0.25rem;
  font-size: 1.125rem;
}

p {
  margin: 0 0 0.75rem;
}

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

.vorlaeufig {
  margin-bottom: 1.25rem;
  padding: 0.75rem 1rem;
  border-left: 4px solid var(--platzhalter-rand);
  border-radius: 0.25rem;
  background: var(--platzhalter-grund);
  color: var(--platzhalter-text);
}

mark.platzhalter {
  padding: 0.1rem 0.35rem;
  border: 1px dashed var(--platzhalter-rand);
  border-radius: 0.25rem;
  background: var(--platzhalter-grund);
  color: var(--platzhalter-text);
  font-weight: 600;
}

.fuss {
  border-top: 1px solid var(--rand);
  background: var(--karte);
}

.fuss nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  padding: 1rem 0;
  font-size: 0.875rem;
}

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

.fuss a:hover,
.fuss a[aria-current="page"] {
  color: var(--marke);
  text-decoration: underline;
}

@media (max-width: 30rem) {
  .marke img {
    height: 2.25rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  .karte {
    padding: 1.25rem 1rem;
  }
}
