/* TeamCraft Gastro – Designplan siehe AUFGABEN.md (Abschnitt 4) */

:root {
  --tile: #eef3f2;
  --tile-line: #dde6e4;
  --surface: #ffffff;
  --ink: #0e2f38;
  --ink-soft: #3e5a62;
  --steel: #c3cfcd;
  --petrol: #007991;
  --petrol-dark: #005d70;
  --petrol-tint: #d7ecef;
  --paper: #fffef8;
  --paper-ink: #1d2427;
  --tomato: #c8402d;
  --basil: #2f7d4f;
  --tape: #f2cf5b;
  --tape-ink: #2b2410;
  --board: #0e2f38;
  --board-ink: #e9f1ef;
  --board-soft: #a9c0c2;

  --font-display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --font-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --font-marker: 'Permanent Marker', 'Comic Sans MS', cursive;

  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 10px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --tile: #0d1f24;
    --tile-line: #16303a;
    --surface: #132a31;
    --ink: #e6efed;
    --ink-soft: #a9bfc2;
    --steel: #3a5259;
    --petrol: #3fb3c8;
    --petrol-dark: #7fd0de;
    --petrol-tint: #12404b;
    --tomato: #ef7a66;
    --basil: #5fbf86;
    --board: #071519;
    --board-ink: #e6efed;
    --board-soft: #94aeb2;
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --tile: #0d1f24;
  --tile-line: #16303a;
  --surface: #132a31;
  --ink: #e6efed;
  --ink-soft: #a9bfc2;
  --steel: #3a5259;
  --petrol: #3fb3c8;
  --petrol-dark: #7fd0de;
  --petrol-tint: #12404b;
  --tomato: #ef7a66;
  --basil: #5fbf86;
  --board: #071519;
  --board-ink: #e6efed;
  --board-soft: #94aeb2;
  color-scheme: dark;
}

/* ---------- Grundlagen ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 5rem;
}
body {
  margin: 0;
  background: var(--tile);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--petrol);
  text-underline-offset: 0.18em;
}
a:hover {
  color: var(--petrol-dark);
}
h1,
h2,
h3 {
  line-height: 1.1;
  margin: 0 0 0.6em;
}
h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
  letter-spacing: 0.005em;
  max-width: 22ch;
}
h3 {
  font-size: 1.125rem;
  font-weight: 700;
}
p {
  margin: 0 0 1em;
}
:focus-visible {
  outline: 3px solid var(--petrol);
  outline-offset: 3px;
  border-radius: 4px;
}
main:focus {
  outline: none;
}
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--ink);
  color: var(--tile);
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
}
.skip:focus {
  top: 1rem;
}
.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 38rem;
}
.lead--narrow {
  margin-bottom: 2.5rem;
}

/* ---------- Buttons ---------- */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn--primary {
  background: var(--petrol);
  color: #fff;
}
.btn--primary:hover {
  background: var(--petrol-dark);
  color: #fff;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .btn--primary,
  :root:not([data-theme='light']) .btn--primary:hover {
    color: #062027;
  }
}
.btn--secondary {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn--secondary:hover {
  background: var(--ink);
  color: var(--tile);
}
.btn--light {
  background: #fff;
  color: #0e2f38;
}
.btn--light:hover {
  background: var(--tape);
  color: var(--tape-ink);
}
.btn--ghost-light {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}
.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* Kreppband-Etikett */
.tape {
  display: inline-block;
  font-family: var(--font-marker);
  font-size: 1.05rem;
  line-height: 1;
  color: var(--tape-ink);
  background: var(--tape);
  padding: 0.45rem 0.9rem 0.4rem;
  margin-bottom: 1rem;
  transform: rotate(-2deg);
  clip-path: polygon(2% 8%, 10% 0, 22% 6%, 38% 1%, 55% 7%, 72% 0, 88% 6%, 100% 2%, 98% 92%, 86% 100%, 70% 94%, 52% 100%, 34% 93%, 18% 100%, 4% 94%, 0 100%);
}

/* ---------- Kopf ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--tile) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--tile-line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.25rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
}
.brand span {
  white-space: nowrap;
}
.brand em {
  font-style: normal;
  color: var(--petrol);
}
.brand:hover {
  color: var(--ink);
}
.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.site-nav a:not(.btn) {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:not(.btn):hover,
.site-nav a[aria-current='page'] {
  border-bottom-color: var(--petrol);
}
.nav-toggle {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: 2px solid var(--ink);
  color: var(--ink);
  border-radius: 999px;
  min-height: 2.75rem;
  padding: 0 1rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: '';
  position: absolute;
  left: 0;
}
.nav-toggle__bars::before {
  top: -6px;
}
.nav-toggle__bars::after {
  top: 6px;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.25rem;
    background: var(--tile);
    border-bottom: 1px solid var(--tile-line);
  }
  .site-header.is-open .site-nav {
    display: flex;
  }
  .site-nav a:not(.btn) {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--tile-line);
  }
  .site-nav .btn {
    margin-top: 1rem;
  }
}

/* ---------- Hero ---------- */

.hero {
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 5.4vw, 5rem);
  line-height: 0.92;
  letter-spacing: -0.005em;
  margin: 0 0 1.5rem;
}
.hero__title span {
  display: block;
}
@media (min-width: 861px) {
  .hero__title span {
    white-space: nowrap;
  }
}
/* Erledigte Zeilen wie auf einem Bon abgehakt */
.hero__title span::after {
  content: '✓';
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.42em;
  color: var(--basil);
  margin-left: 0.25em;
  vertical-align: 0.55em;
}
.hero__title--single {
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  hyphens: auto;
  overflow-wrap: break-word;
}
.hero__title--single::after,
.hero__title--single span::after {
  content: none;
}
.hero__fit {
  margin-top: 1.25rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.hero--sub {
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.hero--plain {
  padding-bottom: 1rem;
}

/* Bonschiene */
.hero__rail {
  position: relative;
  padding-top: 0.6rem;
  min-height: 34rem;
}
.rail {
  position: absolute;
  top: 0;
  left: -1.5rem;
  right: -3rem;
  height: 18px;
  border-radius: 4px;
  background: linear-gradient(180deg, #f4f7f7 0%, #b9c4c3 45%, #8d9a99 55%, #dfe6e5 100%);
  box-shadow: 0 2px 0 rgba(14, 47, 56, 0.18);
}
.ticket {
  position: relative;
  margin: 0 0 0 1rem;
  width: min(100%, 23rem);
  background: var(--paper);
  color: var(--paper-ink);
  font-family: var(--font-mono);
  font-size: 0.86rem;
  line-height: 1.45;
  padding: 1.6rem 1.3rem 1.8rem;
  transform: rotate(-1.4deg);
  transform-origin: top center;
  box-shadow: 0 18px 30px -18px rgba(14, 47, 56, 0.45), 0 2px 4px rgba(14, 47, 56, 0.08);
  /* gezackte Abrisskante unten */
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat,
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 14px 10px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat,
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 14px 10px repeat-x;
  animation: print 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s both;
}
/* Klemme an der Schiene */
.ticket::before {
  content: '';
  position: absolute;
  top: -0.6rem;
  left: 50%;
  width: 3.2rem;
  height: 1.3rem;
  margin-left: -1.6rem;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(180deg, #9aa7a6, #d5dddc);
}
@keyframes print {
  from {
    clip-path: inset(0 0 100% 0);
    transform: rotate(0deg) translateY(-8px);
  }
  to {
    clip-path: inset(0 0 -20px 0);
    transform: rotate(-1.4deg) translateY(0);
  }
}
.ticket__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.7rem;
  margin-bottom: 0.7rem;
  border-bottom: 1px dashed #9aa4a6;
}
.ticket__head strong {
  letter-spacing: 0.12em;
}
.ticket__lines {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ticket__line {
  display: grid;
  grid-template-columns: 3.4rem 1fr auto 1.2rem;
  gap: 0.3rem;
  padding: 0.28rem 0;
}
.ticket__time {
  color: #6a7476;
}
.ticket__value {
  text-align: right;
  font-weight: 600;
}
.ticket__mark {
  text-align: right;
  font-weight: 600;
  color: #2f7d4f;
}
.ticket__line--dev {
  color: #b0301f;
}
.ticket__line--dev .ticket__time,
.ticket__line--dev .ticket__mark {
  color: #b0301f;
}
.ticket__line--open .ticket__value,
.ticket__line--open .ticket__mark {
  color: #6a7476;
  font-weight: 400;
}
.ticket__note {
  grid-column: 2 / -1;
  font-size: 0.78rem;
  line-height: 1.35;
  padding: 0.15rem 0 0.3rem;
}
.ticket__foot {
  display: flex;
  justify-content: space-between;
  margin-top: 0.7rem;
  padding-top: 0.7rem;
  border-top: 1px dashed #9aa4a6;
  font-weight: 600;
}

/* iOS-Live-Kachel */
.live {
  margin: 0;
  width: min(100%, 22rem);
  background: rgba(22, 28, 30, 0.94);
  color: #f2f5f5;
  border-radius: 22px;
  padding: 1rem 1.1rem 1.05rem;
  font-size: 0.9rem;
  box-shadow: 0 24px 40px -22px rgba(0, 0, 0, 0.6);
}
.hero__rail .live {
  position: absolute;
  right: -1rem;
  bottom: 0;
}
.live__row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.live__row img {
  border-radius: 50%;
}
.live__shift {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.live__shift span,
.live__label {
  color: #a8b3b5;
  font-size: 0.8rem;
}
.live__timer {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 1.35rem;
  color: #5fd0e2;
}
.live__bar {
  height: 5px;
  border-radius: 3px;
  background: #3a4446;
  margin: 0.8rem 0;
}
.live__bar span {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: #5fd0e2;
}
.live__next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-top: 1px solid #333c3e;
  padding-top: 0.75rem;
}
.live__next div {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.live__button {
  flex: none;
  background: #f2cf5b;
  color: #2b2410;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
}

/* App-Erfassung */
.hero__phone {
  display: flex;
  justify-content: center;
}
.phone {
  margin: 0;
  width: min(100%, 20rem);
  border-radius: 36px;
  padding: 10px;
  background: #1a2224;
  box-shadow: 0 30px 50px -28px rgba(14, 47, 56, 0.7);
}
.phone__screen {
  border-radius: 28px;
  overflow: hidden;
  background: #f6f8f8;
  color: #1d2427;
}
.phone__bar {
  background: #007991;
  color: #fff;
  font-weight: 700;
  padding: 2.2rem 1.1rem 0.85rem;
}
.phone__body {
  padding: 1.1rem;
}
.phone__body h3 {
  margin-bottom: 0.25rem;
}
.phone__meta {
  color: #5b6669;
  font-size: 0.85rem;
}
.phone__field {
  display: block;
  margin-bottom: 0.6rem;
}
.phone__field > span:first-child {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #5b6669;
  margin-bottom: 0.2rem;
}
.phone__input {
  display: block;
  background: #fff;
  border: 2px solid #c9d3d2;
  border-radius: 8px;
  padding: 0.5rem 0.7rem;
}
.phone__input--dev {
  border-color: #c8402d;
  font-size: 1.5rem;
  font-weight: 700;
  color: #b0301f;
}
.phone__input--text {
  font-size: 0.88rem;
  line-height: 1.4;
}
.phone__warn {
  color: #b0301f;
  font-size: 0.85rem;
  font-weight: 600;
}
.phone__save {
  display: block;
  text-align: center;
  background: #007991;
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.7rem;
  margin-top: 0.9rem;
}

/* ---------- Abschnitte ---------- */

.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}
.section--first {
  padding-top: 1.5rem;
}
/* Küchenfliesen */
.section--tiles {
  background-color: var(--surface);
  background-image: linear-gradient(var(--tile-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--tile-line) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
}
.section--tiles .wrap > *,
.section--tiles .split > * {
  position: relative;
}
.section--hygiene {
  background: var(--surface);
  border-top: 1px solid var(--tile-line);
  border-bottom: 1px solid var(--tile-line);
}
.price-note {
  font-size: 1.05rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.split--wide-first {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}
.split--top .live {
  margin-top: 1.5rem;
}

/* Punkte mit Linie oben – keine Karten */
.points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 2.5rem;
}
.points li {
  border-top: 3px solid var(--ink);
  padding-top: 1rem;
}
.points p {
  color: var(--ink-soft);
  margin: 0;
}
.section--tiles .points li {
  background: var(--surface);
  padding: 1rem 1rem 1.1rem;
  margin: -0.25rem;
}

/* Tagesablauf */
.day {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 52rem;
  position: relative;
}
.day::before {
  content: '';
  position: absolute;
  left: 4.6rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: var(--steel);
}
.day__entry {
  display: grid;
  grid-template-columns: 3.8rem 1fr auto;
  gap: 0 2.2rem;
  padding: 0 0 1.9rem;
  position: relative;
}
.day__entry::before {
  content: '';
  position: absolute;
  left: 4.6rem;
  top: 0.45rem;
  width: 12px;
  height: 12px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--tile);
  border: 2px solid var(--steel);
}
.day__entry--hygiene::before {
  background: var(--petrol);
  border-color: var(--petrol);
}
.day__entry time {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  color: var(--ink-soft);
}
.day__entry--hygiene time {
  color: var(--petrol);
}
.day__entry h3 {
  margin-bottom: 0.25rem;
}
.day__entry p {
  color: var(--ink-soft);
  margin: 0;
  max-width: 34rem;
}
.day__tag {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  border: 1px solid var(--steel);
  border-radius: 999px;
  padding: 0.15rem 0.65rem;
  align-self: start;
  white-space: nowrap;
}
.day__entry--hygiene .day__tag {
  color: var(--petrol);
  border-color: var(--petrol);
}

/* Speisekarte */
.section--menu {
  background: var(--board);
  color: var(--board-ink);
}
.section--menu .lead {
  color: var(--board-soft);
}
.section--menu .btn--secondary {
  border-color: var(--board-ink);
  color: var(--board-ink);
}
.section--menu .btn--secondary:hover {
  background: var(--board-ink);
  color: var(--board);
}
.menu {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem 3rem;
}
.menu__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.7rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid currentColor;
  margin-bottom: 1.1rem;
}
.menu__items {
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu__item {
  margin-bottom: 1.25rem;
}
.menu__line {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.menu__name {
  font-weight: 700;
}
.menu__dots {
  flex: 1;
  min-width: 1rem;
  border-bottom: 2px dotted var(--steel);
  transform: translateY(-0.3em);
}
.menu__price {
  font-weight: 600;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.menu__price--incl {
  color: var(--basil);
}
.menu__item p {
  margin: 0.3rem 0 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.menu__legend {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0.5rem 0 2rem;
}
.section--menu .menu__item p,
.section--menu .menu__legend {
  color: var(--board-soft);
}
.section--menu .menu__dots {
  border-color: #46646b;
}
.section--menu .menu__price--incl {
  color: #8fd6a9;
}

/* Empfehlung des Hauses */
.feature-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.3rem 2rem;
  align-items: end;
  text-decoration: none;
  color: var(--ink);
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem 1.6rem;
  margin-bottom: 3rem;
}
.feature-hero:hover {
  color: var(--ink);
  border-color: var(--petrol);
}
.feature-hero .tape {
  grid-column: 1 / -1;
  justify-self: start;
}
.feature-hero__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
}
.feature-hero__price {
  grid-row: 2 / 4;
  grid-column: 2;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--petrol);
}
.feature-hero__text {
  color: var(--ink-soft);
  max-width: 44rem;
}

/* Assistent */
.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.25rem 2.5rem;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 3.4rem;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -0.35rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--petrol);
}
.steps p {
  color: var(--ink-soft);
  margin: 0;
}

/* Prüfungstabelle */
.table-scroll {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
}
.checks {
  width: 100%;
  border-collapse: collapse;
  min-width: 40rem;
}
.checks th,
.checks td {
  text-align: left;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--tile-line);
  vertical-align: top;
}
.checks thead th {
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-weight: 600;
  background: var(--tile);
}
.checks tbody tr:last-child > * {
  border-bottom: 0;
}
.checks__limit {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* PDF-Blatt */
.sheet {
  margin: 0;
  background: #fff;
  color: #212529;
  border-radius: 4px;
  padding: 1.6rem 1.5rem;
  font-size: 0.82rem;
  box-shadow: 0 30px 50px -30px rgba(14, 47, 56, 0.55), 0 1px 3px rgba(14, 47, 56, 0.15);
  transform: rotate(1deg);
}
.sheet__title {
  font-weight: 700;
  font-size: 1.3rem;
  color: #007991;
}
.sheet__sub {
  font-weight: 700;
  margin-bottom: 0.8rem;
}
.sheet dl {
  margin: 0;
}
.sheet__meta div,
.sheet__sum div {
  display: flex;
  gap: 0.5rem;
}
.sheet dt {
  font-weight: 700;
}
.sheet dd {
  margin: 0;
}
.sheet__sum {
  margin: 0.9rem 0 1rem !important;
  padding: 0.6rem 0.8rem;
  background: #f3f5f6;
}
.sheet__sum div {
  justify-content: space-between;
}
.sheet__sum dt {
  font-weight: 400;
}
.sheet__sum dd {
  font-weight: 700;
}
.sheet__check {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}
.sheet__rows {
  display: grid;
  grid-template-columns: auto 1fr auto;
  border-top: 1px solid #dee2e6;
}
.sheet__rows span {
  padding: 0.3rem 0.4rem;
  border-bottom: 1px solid #dee2e6;
}
.sheet__rows .dev {
  color: #b02a37;
  font-weight: 700;
}

/* Preise */
.price-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 3rem;
}
.price-band .lead {
  max-width: 44rem;
}
.price-band .actions {
  margin: 0;
}
.price-band--hygiene {
  margin-top: 2.5rem;
  background: var(--petrol-tint);
  border-left: 6px solid var(--petrol);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
}
.price-band--hygiene h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  max-width: none;
  margin-bottom: 0.3rem;
}
.price-band--hygiene p {
  margin: 0;
  max-width: 44rem;
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}
.plan {
  background: var(--surface);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
}
.plan--featured {
  border: 3px solid var(--petrol);
}
.plan .tape {
  align-self: flex-start;
}
.plan h2 {
  font-size: 2.2rem;
  margin-bottom: 0.2rem;
}
.plan__who {
  color: var(--ink-soft);
  min-height: 3.2em;
}
.plan__price strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.8rem;
  line-height: 1;
}
.plan__price span {
  color: var(--ink-soft);
}
.plan .ticks {
  flex: 1;
  margin-bottom: 1.5rem;
}
.terms {
  margin: 2rem 0 0;
  padding-left: 1.2rem;
  color: var(--ink-soft);
}

.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ticks li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.45rem;
}
.ticks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--basil);
}
.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  background: var(--surface);
  padding: 1.5rem;
  border-radius: var(--radius);
}
.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Fragen */
.faq {
  max-width: 52rem;
}
.faq details {
  border-bottom: 1px solid var(--steel);
}
.faq details:first-child {
  border-top: 1px solid var(--steel);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1.1rem 2.5rem 1.1rem 0;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  position: absolute;
  right: 0.25rem;
  top: 0.75rem;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--petrol);
  transition: transform 0.2s;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  color: var(--ink-soft);
  max-width: 44rem;
  padding-bottom: 0.6rem;
}

/* Abschluss */
.cta {
  background: var(--petrol);
  color: #fff;
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .cta {
    background: #00596b;
  }
}
.cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 3rem;
}
.cta h2 {
  margin-bottom: 0.4rem;
}
.cta p {
  margin: 0;
  max-width: 36rem;
  color: #e3f3f5;
}
.cta .actions {
  margin: 0;
}

/* Rechtliches */
.legal {
  max-width: calc(48rem + 2 * var(--gutter));
}
.legal h2 {
  font-size: 1.9rem;
  margin-top: 2rem;
}
.legal h3 {
  margin-top: 1.8rem;
}
.legal p,
.legal li {
  overflow-wrap: anywhere;
}

/* ---------- Fuß ---------- */

.site-footer {
  background: var(--board);
  color: var(--board-soft);
  padding: 3.5rem 0 1.5rem;
  font-size: 0.95rem;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
}
.site-footer h2 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--board-ink);
  margin-bottom: 0.8rem;
}
.site-footer nav a {
  display: block;
  color: var(--board-soft);
  text-decoration: none;
  padding: 0.2rem 0;
}
.site-footer nav a:hover {
  color: #fff;
  text-decoration: underline;
}
.brand--light,
.brand--light:hover {
  color: var(--board-ink);
}
.site-footer__claim {
  margin-top: 0.8rem;
  max-width: 18rem;
}
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #23434b;
  font-size: 0.85rem;
}

/* ---------- Responsiv ---------- */

@media (max-width: 1000px) {
  .menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .hero__grid,
  .split {
    grid-template-columns: 1fr;
  }
  .hero__rail {
    min-height: 0;
    padding-bottom: 0;
  }
  .rail {
    left: 0;
    right: 0;
  }
  .hero__rail .live {
    position: relative;
    right: auto;
    bottom: auto;
    margin: -2rem 0 0 auto;
  }
  .plans {
    grid-template-columns: 1fr;
  }
  .plan__who {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .brand {
    font-size: 1.3rem;
  }
  .points,
  .menu,
  .steps,
  .two-col,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
  .day::before,
  .day__entry::before {
    left: 0.35rem;
  }
  .day__entry {
    grid-template-columns: 1fr;
    padding-left: 1.75rem;
  }
  .day__entry time {
    font-size: 1.25rem;
  }
  .day__tag {
    justify-self: start;
    margin-top: 0.5rem;
  }
  .ticket {
    margin-left: 0;
    font-size: 0.8rem;
  }
  .hero__rail .live {
    margin-top: -1.25rem;
  }
  .feature-hero {
    grid-template-columns: 1fr;
  }
  .feature-hero__price {
    grid-row: auto;
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media print {
  .site-header,
  .cta,
  .site-footer {
    display: none;
  }
}
