:root {
  color: #111;
  background: #f4f5f5;
  font-family: "Lucida Console", monospace;
  font-size: 18px;
  --muted: #666;
  --line: #d4d7d7;
  --surface: #fff;
  --accent: orange;
}

* { box-sizing: border-box; }

body {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 50px;
}

a { color: inherit; text-underline-offset: 4px; }

a:focus-visible { outline: 2px solid #111; outline-offset: 5px; }

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 2px solid lightgrey;
}

.logo { display: block; width: 88px; flex: 0 0 auto; }

.logo svg { display: block; width: 100%; height: auto; }

.menu {
  display: flex;
  justify-content: flex-end;
  gap: 26px;
  padding-top: 16px;
  font-size: 15px;
}

.menu a { color: var(--muted); text-decoration: none; }

.menu a:hover { color: #111; }

.menu a[aria-current="page"] { color: #111; font-weight: bold; }

footer a { text-decoration: none; }

footer a:hover { text-decoration: underline; }

.intro { padding: 54px 0 48px; }

h1 {
  font-size: clamp(28px, 4vw, 36px);
  margin: 0 0 20px;
}

h1 span { color: var(--accent); }

.intro > p:last-child {
  line-height: 1.6;
  margin: 0;
}

h2 { font-size: 24px; margin: 0 0 28px; }

.page {
  max-width: 900px;
  line-height: 1.6;
  padding-bottom: 12px;
}

.page h2 { margin: 2em 0 0.75em; font-size: 20px; }

.page h2:first-child { margin-top: 0; }

.page p { margin: 0 0 1em; }

address { font-style: normal; }

.board-rahmen {
  aspect-ratio: 4;
  margin-top: 44px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.board { display: block; width: 100%; height: 100%; }

.board-platz { fill: var(--accent); }

.board image { transform-box: fill-box; transform-origin: 50%; transition: scale .15s; }

.board a:hover image { scale: 1.08; }

.apps { padding-top: 64px; }

.apps-raster {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.app {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-content: start;
  gap: 6px 18px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  font-size: 15px;
  line-height: 1.55;
  transition: border-color .15s;
}

.app:hover { border-color: var(--muted); }

.app:has(a:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }

.app img { grid-row: span 4; display: block; width: 64px; height: 64px; }

.app h3 { font-size: 18px; margin: 0; }

.app h3 a { text-decoration: none; }

.app h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }

.app h3 a:focus-visible { outline: none; }

.app p { margin: 0; }

.app .app-zeile { font-weight: bold; }

.app-tags { margin-top: 4px; }

.tag {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eceeee;
  color: var(--muted);
  font-size: 12px;
  line-height: 1;
  letter-spacing: .04em;
}

footer {
  display: flex;
  justify-content: flex-end;
  gap: 26px;
  border-top: 2px solid lightgrey;
  margin-top: 72px;
  padding: 26px 0 40px;
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 1000px) {
  body { padding: 0 28px; }
}

@media (max-width: 720px) {
  body { padding: 0 22px; }
  header { padding: 22px 0; }
  .menu { gap: 20px; padding-top: 12px; }
  .intro { padding: 36px 0 30px; }
  .board-rahmen { aspect-ratio: 2.2; margin-top: 30px; }
  .apps { padding-top: 44px; }
  .apps-raster { grid-template-columns: 1fr; }
  footer { margin-top: 42px; flex-wrap: wrap; gap: 20px; }
}
