:root{
  --max: 980px;
  --pad: 16px;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(0,0,0,.08);
}

*{ box-sizing: border-box; }
body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.5;
}

img{ max-width: 100%; height: auto; display: block; }

.container{
  width: min(var(--max), 100% - 2*var(--pad));
  margin: 0 auto;
}

.skip-link{
  position: absolute;
  left: -999px;
  top: 8px;
  background: white;
  padding: 8px 12px;
}
.skip-link:focus{ left: 8px; }

.site-header{
  position: sticky;
  top: 0;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.08);
  z-index: 20;
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
}

.brand{
  text-decoration: none;
  color: inherit;
  font-weight: 700;
}

.nav-toggle{
  border: 1px solid rgba(0,0,0,.2);
  background: white;
  padding: 8px 10px;
  border-radius: 10px;
}

.site-nav{
  display: none;
  flex-wrap: wrap;
  gap: 10px;
}
.site-nav a{
  text-decoration: none;
  color: inherit;
  padding: 8px 10px;
  border-radius: 10px;
}
.site-nav a:focus,
.site-nav a:hover{
  background: rgba(0,0,0,.06);
}

.hero{
  padding: 56px 0 26px;
}
.kicker{
  margin: 0 0 8px;
  opacity: .7;
}
.lead{
  font-size: 1.05rem;
  max-width: 60ch;
}

.facts{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0;
}
.fact{
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--radius);
  padding: 10px 12px;
}
.fact span{ display: block; opacity: .7; font-size: .9rem; }

.cta{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.button{
  display: inline-block;
  text-decoration: none;
  color: white;
  background: black;
  padding: 10px 12px;
  border-radius: 12px;
}
.button.secondary{
  background: white;
  color: black;
  border: 1px solid rgba(0,0,0,.2);
}

.section{ padding: 34px 0; }

.grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 12px;
}

.card{
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
  background: white;
}

.link-card{
  display: block;
  color: inherit;
  text-decoration: none;
}

.timeline{
  padding-left: 18px;
}

.stack{ display: grid; gap: 12px; }
.step{ border-left: 4px solid rgba(0,0,0,.15); padding-left: 12px; }
.hint{ opacity: .75; }

.details{
  margin-top: 12px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--radius);
  padding: 10px 12px;
}

.video{
  margin-top: 14px;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: var(--shadow);
}
.video iframe{
  width: 100%;
  height: 100%;
  border: 0;
}

.site-footer{
  padding: 26px 0;
  border-top: 1px solid rgba(0,0,0,.08);
  opacity: .85;
}

/* Ab ca. 760px etwas luftiger */
@media (min-width: 760px){
  .facts{ grid-template-columns: repeat(4, 1fr); }
  .grid{ grid-template-columns: repeat(3, 1fr); }
  .gallery{ grid-template-columns: repeat(2, 1fr); }
  .site-nav{ display: flex; }
  .nav-toggle{ display: none; }
}
