/* Landeseiten (/de/flowchart …): Farben wie die App, hell und dunkel nach Systemeinstellung. */
:root {
  --bg: #f5f4ed;
  --surface: #ffffff;
  --border: #dedcd1;
  --text: #141413;
  --muted: #5e5d58;
  --accent: #b55636;
  --accent-hover: #9e4a2e;
  --accent-text: #ffffff;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #262624;
    --surface: #30302e;
    --border: #4a4945;
    --text: #faf9f5;
    --muted: #c2c0b6;
    --accent: #d97757;
    --accent-hover: #e48a6c;
    --accent-text: #141413;
  }
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
a {
  color: inherit;
}
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  font-size: 20px;
  text-decoration: none;
}
.button {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.button:hover {
  background: var(--accent-hover);
}
.button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.button.big {
  padding: 14px 28px;
  font-size: 19px;
  border-radius: 12px;
  white-space: normal;
}
main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px 48px;
}
.hero {
  text-align: center;
  padding: 40px 0 24px;
}
h1 {
  font-size: clamp(30px, 6vw, 48px);
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
h2 {
  font-size: 24px;
  margin: 48px 0 16px;
}
.lead {
  font-size: 20px;
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto 24px;
}
.small {
  color: var(--muted);
  font-size: 15px;
}
.preview {
  margin: 16px 0 8px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(20, 20, 19, 0.1);
  text-align: center;
}
.preview img {
  max-width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
}
.features {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}
.features li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px 14px 44px;
  position: relative;
  font-size: 16px;
}
.features li::before {
  content: '✓';
  position: absolute;
  inset-inline-start: 16px;
  top: 13px;
  color: var(--accent);
  font-weight: 700;
}
[dir='rtl'] .features li {
  padding: 14px 44px 14px 16px;
}
.types {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.types a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 550;
}
.types a:hover {
  border-color: var(--accent);
}
.types img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #ffffff;
  border-radius: 8px;
}
footer {
  border-top: 1px solid var(--border);
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 16px 40px;
  color: var(--muted);
  font-size: 15px;
}
.languages {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
.languages a {
  text-decoration: none;
}
.languages a:hover,
.languages a[aria-current] {
  color: var(--text);
  text-decoration: underline;
}
.styles {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.styles a {
  padding: 12px;
  font-size: 16px;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.styles a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(20, 20, 19, 0.12);
}
.styles img {
  aspect-ratio: 1 / 1;
  padding: 6px;
}
@media (prefers-reduced-motion: reduce) {
  .styles a {
    transition: none;
  }
  .styles a:hover {
    transform: none;
  }
}
.features.three {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
@media (min-width: 900px) {
  .features.three {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 560px) {
  .styles {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .styles a {
    padding: 8px;
    font-size: 14px;
  }
}
