/* Markenfarben wie apps/web/src/thema.ts und docs/marke/README.md. */
:root {
  --petrol: #12343b;
  --orange: #f26b1d;
  --orange-dunkel: #d85c12;
  --hell: #f5f6f4;
  --text: var(--petrol);
  --text-leise: #4b5d62;
  --flaeche: #ffffff;
  --linie: #dde3e1;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --hell: #0d262b;
    --text: #f5f6f4;
    --text-leise: #b7c4c6;
    --flaeche: #12343b;
    --linie: #24474f;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--hell);
  color: var(--text);
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    Arial,
    sans-serif;
  line-height: 1.5;
}

main {
  flex: 1;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 16px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.logo img {
  width: min(420px, 100%);
  height: auto;
}

.logo .dunkel {
  display: none;
}

@media (prefers-color-scheme: dark) {
  .logo .hell {
    display: none;
  }

  .logo .dunkel {
    display: inline;
  }
}

.marke {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

h1 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.2;
}

.einleitung {
  margin: 0;
  max-width: 640px;
  font-size: 1.125rem;
  color: var(--text-leise);
}

.demo {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 10px;
  background: var(--orange);
  color: #fff;
  font-weight: 600;
  font-size: 1.0625rem;
  text-decoration: none;
}

.demo:hover,
.demo:focus-visible {
  background: var(--orange-dunkel);
}

.demo:focus-visible {
  outline: 3px solid var(--petrol);
  outline-offset: 3px;
}

.hinweis {
  margin: -12px 0 0;
  font-size: 0.875rem;
  color: var(--text-leise);
}

.punkte {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  text-align: left;
}

.punkte li {
  padding: 20px;
  border: 1px solid var(--linie);
  border-radius: 10px;
  background: var(--flaeche);
}

.punkte strong {
  display: block;
  margin-bottom: 4px;
  color: var(--orange);
  font-size: 1.0625rem;
}

footer {
  padding: 24px 16px;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-leise);
}

.sprachen {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
}

.sprachen button {
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sprachen button[aria-pressed='true'] {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}
