@font-face {
  font-family: 'Manrope';
  src: url('schriften/manrope.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --sand: #fff6e6;
  --creme: #fffdf8;
  --mint: #cfeadd;
  --mint-tief: #9fd4c0;
  --petrol: #0f4c4a;
  --petrol-leise: #46706d;
  --koralle: #ff7a59;
  --koralle-tief: #d9512f;
  --sonne: #ffd98a;
  --gut: #1f8a5b;
  --nm-blau: #41a9e0;
  --nm-tinte: #061a29;
  --rund: 28px;
  --schrift: 'Manrope', 'Segoe UI', system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  overflow-x: clip;
  background: var(--sand);
  color: var(--petrol);
  font-family: var(--schrift);
  font-size: 17px;
  font-weight: 480;
  line-height: 1.6;
  hyphens: manual;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration-color: var(--koralle);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
a:hover {
  color: var(--koralle-tief);
}
:focus-visible {
  outline: 3px solid var(--koralle);
  outline-offset: 3px;
}
h1,
h2,
h3 {
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 0.45em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.5rem, 7vw, 5.2rem);
}
h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
}
h3 {
  font-size: 1.3rem;
}
h1 em,
h2 em {
  font-style: normal;
  color: var(--koralle-tief);
}
p {
  margin: 0 0 1em;
  max-width: 60ch;
}
.unsichtbar {
  position: absolute;
  left: -9999px;
}
.unsichtbar:focus {
  left: 12px;
  top: 12px;
  z-index: 60;
  background: var(--petrol);
  color: var(--creme);
  padding: 8px 14px;
  border-radius: 12px;
}

.leiste {
  position: sticky;
  top: 14px;
  z-index: 30;
  width: min(100% - 28px, 880px);
  margin: 14px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  padding: 8px 10px 8px 12px;
  box-shadow: 0 8px 30px rgba(15, 76, 74, 0.14);
}
.marke {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.12rem;
  white-space: nowrap;
}
.marke svg {
  width: 36px;
  height: 36px;
  animation: drehen 14s linear infinite;
}
.marke b {
  font-weight: 800;
  letter-spacing: -0.02em;
}
.leiste nav {
  display: flex;
  gap: 2px;
}
.leiste nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 650;
  padding: 9px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.leiste nav a:hover,
.leiste nav a[aria-current] {
  background: var(--mint);
  color: var(--petrol);
}

main {
  width: min(100% - 28px, 1080px);
  margin-inline: auto;
}
.nr {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--koralle-tief);
  margin-bottom: 12px;
}
.vorspann {
  font-size: clamp(1.1rem, 1.9vw, 1.35rem);
  line-height: 1.5;
  color: var(--petrol-leise);
  max-width: 46ch;
}
.knopf {
  display: inline-flex;
  align-items: center;
  background: var(--koralle);
  color: var(--nm-tinte);
  font-weight: 750;
  font-size: 1rem;
  text-decoration: none;
  padding: 15px 26px;
  border-radius: 999px;
  border: 0;
  box-shadow: 0 6px 0 var(--koralle-tief);
  transition:
    transform 0.16s,
    box-shadow 0.16s;
  cursor: pointer;
}
.knopf:hover {
  color: var(--nm-tinte);
  transform: translateY(3px);
  box-shadow: 0 3px 0 var(--koralle-tief);
}
.knopf.leise {
  background: var(--creme);
  box-shadow: 0 6px 0 var(--mint-tief);
}
.knopf.leise:hover {
  box-shadow: 0 3px 0 var(--mint-tief);
}

.auftakt {
  position: relative;
  text-align: center;
  padding: clamp(48px, 9vw, 110px) 10px clamp(60px, 9vw, 110px);
}
.auftakt h1,
.auftakt .vorspann {
  margin-inline: auto;
}
.chip {
  display: inline-block;
  max-width: none;
  background: var(--creme);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.86rem;
  margin-bottom: 30px;
  box-shadow: 0 2px 0 var(--mint-tief);
}
.auftakt .knopf {
  margin-top: 14px;
}
.bojen i {
  position: absolute;
  border-radius: 50%;
  animation: schaukeln 5s ease-in-out infinite;
}
.bojen i:nth-child(1) {
  left: 4%;
  top: 34%;
  width: 54px;
  height: 54px;
  background: var(--koralle);
  box-shadow:
    inset 0 0 0 14px var(--creme),
    inset 0 0 0 22px var(--koralle);
}
.bojen i:nth-child(2) {
  right: 6%;
  top: 22%;
  width: 38px;
  height: 38px;
  background: var(--sonne);
  animation-delay: -1.6s;
}
.bojen i:nth-child(3) {
  right: 14%;
  bottom: 16%;
  width: 70px;
  height: 70px;
  background: var(--mint-tief);
  animation-delay: -3s;
}

.faelle {
  display: grid;
  gap: 26px;
}
.fall {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  background: var(--creme);
  border-radius: var(--rund);
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(15, 76, 74, 0.1);
}
.fall:nth-child(even) {
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
}
.fall:nth-child(even) figure {
  order: 2;
}
.fall figure {
  margin: 0;
  background: var(--mint);
}
.fall figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fall-text {
  padding: clamp(22px, 3.6vw, 44px);
}
.antworten {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.antworten button {
  font: inherit;
  font-weight: 650;
  text-align: left;
  color: var(--petrol);
  background: var(--sand);
  border: 2px solid transparent;
  border-radius: 18px;
  padding: 14px 18px 14px 50px;
  cursor: pointer;
  position: relative;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.antworten button::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 50%;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  border-radius: 50%;
  border: 2px solid var(--mint-tief);
  background: var(--creme);
}
.antworten button:hover:not(:disabled) {
  background: var(--mint);
  transform: translateX(4px);
}
.antworten button:disabled {
  cursor: default;
  color: var(--petrol-leise);
}
.antworten button.richtig {
  background: #dff3e7;
  border-color: var(--gut);
  color: var(--petrol);
}
.antworten button.richtig::before {
  background: var(--gut);
  border-color: var(--gut);
  box-shadow: inset 0 0 0 4px var(--creme);
}
.antworten button.falsch {
  background: #ffe6de;
  border-color: var(--koralle-tief);
}
.antworten button.falsch::before {
  background: var(--koralle-tief);
  border-color: var(--koralle-tief);
}
.loesung {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 2px dashed var(--mint-tief);
}
.js .fall:not(.beantwortet) .loesung {
  display: none;
}
.fall.beantwortet .loesung {
  animation: aufgehen 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.urteil {
  display: inline-block;
  font-weight: 800;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.urteil:empty {
  display: none;
}
.urteil.gut {
  background: var(--gut);
  color: #fff;
}
.urteil.daneben {
  background: var(--sonne);
  color: var(--nm-tinte);
}
.fund {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--petrol-leise);
  margin: 0;
}

.ergebnis {
  margin-top: 26px;
  background: var(--petrol);
  color: var(--creme);
  border-radius: var(--rund);
  padding: clamp(28px, 5vw, 60px);
  text-align: center;
}
.ergebnis .nr {
  color: var(--sonne);
}
.ergebnis p {
  margin-inline: auto;
  color: #d5ebe4;
}
.ergebnis h2 {
  font-size: clamp(2rem, 5vw, 3.6rem);
}

.schutz {
  padding: clamp(50px, 8vw, 96px) 6px 30px;
}
.drei {
  list-style: none;
  padding: 0;
  margin: 26px 0 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: schritt;
}
.drei li {
  counter-increment: schritt;
  background: var(--mint);
  border-radius: 22px;
  padding: 58px 22px 22px;
  position: relative;
}
.drei li::before {
  content: counter(schritt);
  position: absolute;
  left: 20px;
  top: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--petrol);
  color: var(--creme);
  font-weight: 800;
  display: grid;
  place-content: center;
}
.drei b {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
}
.preis {
  margin-top: 34px;
  background: var(--creme);
  border-radius: var(--rund);
  padding: clamp(22px, 4vw, 44px);
  box-shadow: 0 14px 40px rgba(15, 76, 74, 0.1);
}
.preis form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 14px 0 20px;
}
.preis label {
  display: grid;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  color: var(--petrol-leise);
}
.preis select,
.preis input {
  font: inherit;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--petrol);
  background: var(--sand);
  border: 2px solid var(--mint-tief);
  border-radius: 16px;
  padding: 12px 16px;
  width: 100%;
}
.preise {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.preise div {
  background: var(--sand);
  border-radius: 20px;
  padding: 18px 12px;
  text-align: center;
}
.preise div:nth-child(2) {
  background: var(--sonne);
}
.preise span {
  display: block;
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.preise b {
  display: block;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.preise.laedt b {
  opacity: 0.35;
}
.hinweis {
  font-size: 0.86rem;
  color: var(--petrol-leise);
  margin: 16px 0 0;
  max-width: none;
}
.zeile {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 24px 0 0;
  max-width: none;
}

.seite {
  background: var(--creme);
  border-radius: var(--rund);
  padding: clamp(26px, 5vw, 64px);
  margin-top: 30px;
  box-shadow: 0 14px 40px rgba(15, 76, 74, 0.1);
}
.seite h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
}
.pille {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--koralle-tief);
  margin-bottom: 12px;
}
.text {
  padding-block: 24px;
  border-top: 2px dashed var(--mint-tief);
}
.text h2 {
  font-size: 1.45rem;
}
.text ul {
  max-width: 60ch;
  padding-left: 1.2em;
  margin: 0 0 1em;
}
.text li {
  margin-bottom: 0.5em;
}

.fuss {
  width: min(100% - 28px, 1080px);
  margin: 46px auto 22px;
  background: var(--petrol);
  color: #d5ebe4;
  border-radius: var(--rund);
  padding: clamp(24px, 4vw, 44px);
  font-size: 0.9rem;
}
.fuss-innen {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 30px;
}
.fuss p {
  max-width: 58ch;
}
.fuss ul {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
}
.fuss li {
  margin-bottom: 8px;
  break-inside: avoid;
}
.fuss a {
  color: var(--creme);
}
.fuss a:hover {
  color: var(--sonne);
}
.nm-marke {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--creme);
  margin-bottom: 12px;
}
.nm-marke img {
  width: 24px;
  height: 24px;
}
.stand-zeile {
  border-top: 1px solid rgba(255, 253, 248, 0.22);
  padding-top: 16px;
  margin: 20px 0 0;
  max-width: none;
  font-size: 0.82rem;
}

.js .rein {
  opacity: 0;
  transform: translateY(26px) scale(0.985);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.js .rein.da {
  opacity: 1;
  transform: none;
}

@keyframes drehen {
  to {
    transform: rotate(360deg);
  }
}
@keyframes schaukeln {
  0%,
  100% {
    transform: translateY(0) rotate(-6deg);
  }
  50% {
    transform: translateY(-14px) rotate(6deg);
  }
}
@keyframes aufgehen {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 820px) {
  .fall,
  .fall:nth-child(even) {
    grid-template-columns: 1fr;
  }
  .fall:nth-child(even) figure {
    order: 0;
  }
  .fall figure img {
    aspect-ratio: 16 / 10;
  }
  .drei,
  .fuss-innen {
    grid-template-columns: 1fr;
  }
  .bojen {
    display: none;
  }
  .leiste nav a:nth-child(2) {
    display: none;
  }
}
@media (max-width: 560px) {
  body {
    font-size: 16px;
  }
  .leiste nav a {
    padding: 8px 10px;
    font-size: 0.8rem;
  }
  .leiste nav a:nth-child(1) {
    display: none;
  }
  .marke b {
    font-size: 0.98rem;
  }
  .preis form {
    grid-template-columns: 1fr;
  }
  .preise {
    gap: 6px;
  }
  .preise div {
    padding: 14px 4px;
  }
  .preise span {
    font-size: 0.66rem;
  }
  .fuss ul {
    columns: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
  .js .rein {
    opacity: 1;
    transform: none;
  }
}
