:root {
  --grund: #182226;
  --flaeche: #243136;
  --schrift: #E9EFF0;
  --akzent: #33B4A6;
  --gedaempft: #849699;
  --tief: #0F1719;
  --kante: rgba(132, 150, 153, .28);
  --flaeche-hoch: #2B3A40;
  --akzent-weich: rgba(51, 180, 166, .14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  line-height: 1.72;
  background: var(--grund);
  color: var(--schrift);
  min-height: 100dvh;
}

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

a {
  color: var(--akzent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #7FE0D5;
}

:focus-visible {
  outline: 2px solid var(--akzent);
  outline-offset: 3px;
}

h1,
h2,
h3,
.kennzahl__wert,
.preistafel__betrag,
.seitenschiene__marke strong {
  font-family: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  letter-spacing: -0.015em;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 0.55em;
}

h2 {
  font-size: clamp(1.55rem, 1.2rem + 1.1vw, 2.2rem);
  line-height: 1.22;
  margin: 0 0 0.5em;
}

h3 {
  font-size: 1.22rem;
  line-height: 1.3;
  margin: 0 0 0.4em;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.2em;
}

.nur-screenreader {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sprung {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  background: var(--akzent);
  color: var(--tief);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}

.sprung:focus {
  top: 12px;
  color: var(--tief);
}

.sanft-auf {
  opacity: 1;
  transform: none;
}

html.js .sanft-auf {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s ease, transform .5s ease;
}

html.js .sanft-auf.ist-da {
  opacity: 1;
  transform: none;
}

html.no-js .sanft-auf {
  opacity: 1 !important;
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .sanft-auf,
  html.js .sanft-auf {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

.werkstatt__feld {
  margin-left: 268px;
  min-height: 100dvh;
}

.arbeitsflaeche {
  max-width: 1180px;
  padding: 0 40px;
  margin: 0 auto;
}

.seitenschiene {
  position: fixed;
  inset: 0 auto 0 0;
  width: 268px;
  height: 100dvh;
  background: var(--tief);
  border-right: 1px solid var(--kante);
  display: flex;
  flex-direction: column;
  overflow: auto;
  z-index: 40;
  padding: 28px 20px 24px;
}

.seitenschiene__kopf {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}

.seitenschiene__marke {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-decoration: none;
  color: var(--schrift);
  min-height: 44px;
}

.seitenschiene__marke svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  margin-top: 2px;
}

.seitenschiene__marke strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.2;
  font-weight: 800;
}

.seitenschiene__marke span {
  display: block;
  color: var(--gedaempft);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  margin-top: 4px;
}

.schienenknopf {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--kante);
  border-radius: 10px;
  background: var(--flaeche);
  color: var(--schrift);
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.schienenknopf span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--schrift);
  border-radius: 2px;
}

.seitenschiene__koerper {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.seitenschiene__gruppe {
  margin-bottom: 22px;
}

.seitenschiene__gruppe > p {
  margin: 0 0 8px;
  color: var(--gedaempft);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.seitenschiene__link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--schrift);
  text-decoration: none;
  font-weight: 500;
}

.seitenschiene__link:hover {
  background: var(--flaeche);
  color: var(--schrift);
}

.seitenschiene__link.ist-aktiv {
  background: var(--akzent-weich);
  color: #7FE0D5;
}

.seitenschiene__fuss {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--kante);
}

.seitenschiene__fuss p {
  margin: 0 0 6px;
  font-size: 0.92rem;
}

.seitenschiene__fuss a {
  color: var(--schrift);
  text-decoration: none;
}

.seitenschiene__fuss a:hover {
  color: #7FE0D5;
}

.seitenschiene__fuss .knopf {
  width: 100%;
  margin-top: 12px;
}

.seitenschiene__hinweis {
  display: block;
  margin-top: 10px;
  color: var(--gedaempft);
  font-size: 0.78rem;
}

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 10px 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.knopf--voll {
  background: var(--akzent);
  color: var(--tief);
}

.knopf--voll:hover {
  background: #2AA296;
  color: var(--tief);
}

.knopf--rand {
  background: transparent;
  border-color: var(--akzent);
  color: var(--akzent);
}

.knopf--rand:hover {
  background: var(--akzent-weich);
  color: #7FE0D5;
}

.knopf--hell {
  background: #E9EFF0;
  color: #182226;
}

.knopf--hell:hover {
  background: #d5dddf;
  color: #182226;
}

.knoepfe {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.marke-zeile {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--gedaempft);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.marke-zeile::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--akzent);
  flex-shrink: 0;
}

.gold-raster {
  display: grid;
  grid-template-columns: 1.618fr 1fr;
  gap: 48px;
  align-items: center;
}

.kachelfeld {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.lage {
  padding-block: clamp(56px, 6vw, 96px);
}

.lage--eng {
  padding-top: clamp(40px, 5vw, 72px);
}

.tafel {
  background: var(--flaeche);
  border: 1px solid var(--kante);
  border-radius: 16px;
  padding: 28px;
}

.tafel:hover {
  background: var(--flaeche-hoch);
}

.tafel--akzent {
  border-left: 3px solid var(--akzent);
}

.tafel__label {
  margin: 0 0 8px;
  color: var(--gedaempft);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tafel img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 18px;
  object-fit: cover;
}

.buehne {
  padding-top: clamp(48px, 5vw, 80px);
}

.buehne__bild img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  aspect-ratio: 1880 / 1253;
}

.leittext {
  color: var(--gedaempft);
  font-size: 1.05rem;
}

.kennzahl {
  min-height: 100%;
}

.kennzahl__wert {
  display: block;
  font-size: clamp(2rem, 1.4rem + 1.6vw, 2.8rem);
  font-weight: 800;
  color: var(--akzent);
  line-height: 1.1;
  margin-bottom: 8px;
}

.kennzahl__text {
  color: var(--gedaempft);
  margin: 0;
}

.schritt {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
}

.schritt__nr {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--akzent-weich);
  color: var(--akzent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.preistafel__betrag {
  font-size: clamp(2rem, 1.5rem + 1.4vw, 2.6rem);
  font-weight: 800;
  color: var(--akzent);
  margin: 8px 0 16px;
}

.preistafel__liste {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  color: var(--gedaempft);
}

.preistafel__liste li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
}

.preistafel__liste li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--akzent);
}

.zeilentabelle {
  width: 100%;
  border-collapse: collapse;
}

.zeilentabelle th,
.zeilentabelle td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid var(--kante);
  vertical-align: top;
}

.zeilentabelle th {
  color: var(--gedaempft);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

.zeilentabelle td:last-child,
.zeilentabelle th:last-child {
  text-align: right;
  white-space: nowrap;
  font-family: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  letter-spacing: -0.015em;
  font-weight: 600;
}

.frageblock {
  background: var(--flaeche);
  border: 1px solid var(--kante);
  border-radius: 16px;
  padding: 4px 22px;
  margin-bottom: 12px;
}

.frageblock summary {
  min-height: 52px;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.frageblock summary::-webkit-details-marker {
  display: none;
}

.frageblock summary::after {
  content: "+";
  margin-left: auto;
  color: var(--akzent);
  font-size: 1.3rem;
  font-weight: 500;
}

.frageblock[open] summary::after {
  content: "–";
}

.frageblock .frageblock__antwort {
  padding: 0 0 18px;
  color: var(--gedaempft);
}

.hinweisband {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  background: var(--flaeche);
  border: 1px solid var(--kante);
  border-radius: 16px;
  overflow: hidden;
}

.hinweisband img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.hinweisband__text {
  padding: 40px;
}

.inhaltliste {
  list-style: none;
  padding: 0;
  margin: 0;
}

.inhaltliste a {
  display: flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  color: var(--schrift);
  border-bottom: 1px solid var(--kante);
}

.inhaltliste a:hover {
  color: #7FE0D5;
}

.leiste {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.leiste span {
  background: var(--akzent-weich);
  color: #7FE0D5;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 600;
}

.beitrag + .beitrag {
  margin-top: 48px;
}

.beitrag__meta {
  color: var(--gedaempft);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.karte-rahmen {
  border: 0;
  border-radius: 16px;
  width: 100%;
  min-height: 360px;
  background: var(--flaeche);
}

.feld {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.feld label {
  font-weight: 500;
}

.feld input,
.feld select,
.feld textarea {
  min-height: 44px;
  border: 1px solid var(--kante);
  background: var(--tief);
  color: var(--schrift);
  border-radius: 10px;
  padding: 10px 14px;
  font: inherit;
  width: 100%;
}

.feld textarea {
  min-height: 140px;
  resize: vertical;
}

.feld input:focus,
.feld select:focus,
.feld textarea:focus {
  outline: 2px solid var(--akzent);
  outline-offset: 2px;
}

.wahlfeld {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 8px 0 18px;
}

.wahlfeld input {
  width: 22px;
  height: 22px;
  margin-top: 6px;
  accent-color: var(--akzent);
  flex-shrink: 0;
}

.formfehler {
  color: #f0b4a8;
  margin: 0 0 12px;
}

.dankeblock {
  background: var(--akzent-weich);
  border: 1px solid var(--akzent);
  border-radius: 12px;
  padding: 18px 20px;
  margin-top: 16px;
}

.dankeblock[hidden],
.formfehler[hidden] {
  display: none;
}

.fuss {
  background: var(--tief);
  border-top: 1px solid var(--kante);
  margin-top: 24px;
}

.fussform {
  padding-block: clamp(56px, 6vw, 96px);
}

.fussform .gold-raster {
  align-items: start;
}

.fussnetz {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: clamp(40px, 4vw, 64px);
}

.fussnetz h3 {
  font-size: 1rem;
  color: var(--gedaempft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fussnetz ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fussnetz a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--schrift);
  text-decoration: none;
}

.fussnetz a:hover {
  color: #7FE0D5;
}

.fussleiste {
  border-top: 1px solid var(--kante);
  padding: 24px 0 36px;
  color: var(--gedaempft);
  font-size: 0.9rem;
}

.fussleiste p {
  margin: 0 0 10px;
}

.keksband {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  background: var(--flaeche);
  border: 1px solid var(--kante);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 16px 40px rgba(15, 23, 25, .45);
}

.keksband.ist-weg {
  display: none;
}

.keksband p {
  margin: 0;
  max-width: 62ch;
}

.keksband__knoepfe {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

.zeichen-gross {
  width: 72px;
  height: 72px;
  margin-bottom: 24px;
}

.stapel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.stapel--weit {
  gap: 32px;
}

.seite-fehlt .buehne__text {
  max-width: 36ch;
}

@media (max-width: 1080px) {
  .werkstatt__feld {
    margin-left: 0;
    padding-top: 64px;
  }

  .seitenschiene {
    inset: 0 0 auto 0;
    width: 100%;
    height: 64px;
    flex-direction: row;
    align-items: center;
    padding: 0 16px;
    overflow: hidden;
  }

  .seitenschiene__kopf {
    width: 100%;
    margin: 0;
    align-items: center;
  }

  .seitenschiene__marke {
    align-items: center;
  }

  .schienenknopf {
    display: inline-flex;
  }

  .seitenschiene__koerper {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--tief);
    border-bottom: 1px solid var(--kante);
    padding: 12px 16px 24px;
    max-height: calc(100dvh - 64px);
    overflow: auto;
  }

  .seitenschiene.ist-offen {
    height: auto;
    overflow: visible;
  }

  .seitenschiene.ist-offen .seitenschiene__koerper {
    display: flex;
  }

  .gold-raster,
  .hinweisband,
  .fussnetz {
    grid-template-columns: 1fr;
  }

  .hinweisband img {
    min-height: 220px;
    max-height: 280px;
  }
}

@media (max-width: 720px) {
  .arbeitsflaeche {
    padding: 0 20px;
  }

  .kachelfeld {
    grid-template-columns: 1fr;
  }

  .tafel,
  .hinweisband__text {
    padding: 22px;
  }

  .keksband {
    left: 12px;
    right: 12px;
    bottom: 12px;
    flex-direction: column;
    align-items: stretch;
  }

  .zeilentabelle td:last-child,
  .zeilentabelle th:last-child {
    white-space: normal;
  }
}
