:root {
  --grund: #0f0e0d;
  --flaeche: #1a1816;
  --flaeche-hell: #24211e;
  --text: #f5f1ea;
  --leise: #aaa39a;
  --linie: #35302b;
  --orange: #ff6a00;
  --auf-orange: #140b04;
  --raster: rgba(255, 255, 255, .035);
  --raster-stark: rgba(255, 255, 255, .05);
  --vorschau: #141210;
  --schrift: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background-color: var(--grund);
  background-image:
    radial-gradient(60rem 30rem at 85% -10%, rgba(255, 106, 0, .2), transparent 70%),
    linear-gradient(var(--raster) 1px, transparent 1px),
    linear-gradient(90deg, var(--raster) 1px, transparent 1px);
  background-size: auto, 2.5rem 2.5rem, 2.5rem 2.5rem;
  background-repeat: no-repeat, repeat, repeat;
  color: var(--text);
  font-family: var(--schrift);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.seite {
  max-width: 68rem;
  margin: 0 auto;
  padding: 2rem 1rem;
}

p { margin: 0; }

.marke {
  font-family: var(--mono);
  font-size: .95rem;
  font-weight: 700;
  color: var(--orange);
}

.kopf { padding: clamp(3.5rem, 12vw, 8rem) 0 clamp(3rem, 9vw, 6rem); }

h1 {
  max-width: 14ch;
  margin: 1rem 0 1.5rem;
  font-size: clamp(2.75rem, 11vw, 6.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.035em;
}

.punkt { color: var(--orange); }

.einleitung {
  max-width: 34rem;
  font-size: clamp(1.125rem, 2.5vw, 1.3rem);
  color: var(--leise);
}

.block { margin-bottom: clamp(3.5rem, 9vw, 6rem); }

h2 {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 1.5rem;
  font-family: var(--mono);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--leise);
}

h2::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--linie);
}

.projekte {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.projekt {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: 1rem;
  transition: border-color .2s ease, transform .2s ease;
}

.projekt:hover {
  border-color: var(--orange);
  transform: translateY(-3px);
}

.vorschau {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background-color: var(--vorschau);
  background-image:
    linear-gradient(var(--raster-stark) 1px, transparent 1px),
    linear-gradient(90deg, var(--raster-stark) 1px, transparent 1px);
  background-size: 2rem 2rem;
  border-bottom: 1px solid var(--linie);
  border-radius: calc(1rem - 1px) calc(1rem - 1px) 0 0;
}

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

.route-gelaende {
  fill: none;
  stroke: #3f3831;
  stroke-width: 1.5;
}

.route-kreuz {
  fill: none;
  stroke: #6b6157;
  stroke-width: 1.5;
}

.route-weg {
  fill: none;
  stroke: var(--orange);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 5 9;
}

.route-punkt {
  fill: var(--vorschau);
  stroke: var(--orange);
  stroke-width: 3;
}

.route-hof {
  fill: none;
  stroke: var(--orange);
  stroke-width: 1;
  opacity: .4;
}

.route-ziel { fill: var(--orange); }

.inhalt {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: clamp(1.25rem, 3vw, 2.5rem);
}

.etikett {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem .75rem;
  margin-bottom: 1.25rem;
  font-size: .875rem;
  color: var(--leise);
}

.art {
  padding: .15rem .6rem;
  border: 1px solid #7a4520;
  border-radius: .3rem;
  font-family: var(--mono);
  font-size: .8rem;
  font-weight: 600;
  color: var(--orange);
}

h3 {
  margin: 0 0 .75rem;
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.03em;
  overflow-wrap: anywhere;
}

.text {
  max-width: 48ch;
  margin-bottom: 2rem;
  color: var(--leise);
}

.art--status {
  border-color: var(--linie);
  color: var(--text);
}

.aktionen {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: auto;
}

.knopf {
  display: inline-block;
  padding: .7rem 1.15rem;
  background: var(--orange);
  color: var(--auf-orange);
  border-radius: .5rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s ease;
}

.knopf:hover { background: #ff8a33; }

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

.mehr {
  margin-top: 1.25rem;
  font-family: var(--mono);
  font-size: .875rem;
  color: var(--leise);
}

.mehr span { color: var(--orange); }

.ueber p {
  max-width: 40rem;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  line-height: 1.45;
  letter-spacing: -.01em;
}

.fuss {
  padding-top: 1.25rem;
  border-top: 1px solid var(--linie);
  font-size: .875rem;
  color: var(--leise);
}

@media (min-width: 48rem) {
  .projekt--vorschau:only-child {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  }

  .projekt--vorschau:only-child .vorschau {
    min-height: 22rem;
    aspect-ratio: auto;
    border-right: 1px solid var(--linie);
    border-bottom: 0;
    border-radius: calc(1rem - 1px) 0 0 calc(1rem - 1px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .projekt, .knopf { transition: none; }
  .projekt:hover { transform: none; }
}
