@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/InstrumentSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/InstrumentSans-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/InstrumentSerif-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/InstrumentSerif-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/IBMPlexMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --papier: #fbfaf7;
  --tinte: #101f1c;
  --tinte-weich: #35443f;
  --gedaempft: #6e6a61;
  --linie: #e5e2da;
  --petrol: #0e4a40;
  --petrol-tief: #0a352e;
  --petrol-nebel: #b9d3cb;
  --nacht: #04201b;
  --ease-bogen: cubic-bezier(0.16, 1, 0.3, 1);
  --sans: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  --display: "Instrument Serif", ui-serif, Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;
  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

h1,
h2 {
  text-wrap: balance;
}

p,
li,
dd {
  text-wrap: pretty;
}

a {
  color: inherit;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}

:focus-visible {
  outline: 2px solid var(--petrol);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--petrol-nebel);
  color: var(--tinte);
}

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

.sprungmarke {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  border-radius: 999px;
  background: var(--tinte);
  color: var(--papier);
  padding: 0.6rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.sprungmarke:focus {
  top: 1rem;
}

.rahmen {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 40rem) {
  .rahmen {
    padding: 0 1.5rem;
  }
}

.glanz-grund {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--papier);
  background-color: var(--nacht);
  background-image:
    radial-gradient(48rem 32rem at 78% 30%, #0f5a4e 0%, transparent 65%),
    radial-gradient(40rem 30rem at 12% 88%, #0b3f36 0%, transparent 70%),
    radial-gradient(30rem 20rem at 55% 60%, rgb(23 121 107 / 0.33) 0%, transparent 70%);
}

.nebel {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1000ms ease;
}

.nebel[data-bereit] {
  opacity: 1;
}

.kopf {
  padding-top: 1.5rem;
}

.kopf img {
  display: block;
  height: 2.25rem;
  width: auto;
}

.buehne {
  display: grid;
  align-items: center;
  gap: 3rem;
  padding-top: 3.5rem;
  padding-bottom: clamp(5.5rem, 11vw, 10rem);
}

@media (min-width: 64rem) {
  .buehne {
    grid-template-columns: 1.32fr 0.68fr;
    gap: 2.5rem;
    min-height: min(calc(100svh - 3.75rem), 52rem);
    padding-top: 2rem;
  }
}

.text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.etikett {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  border: 1px solid rgb(255 255 255 / 0.25);
  border-radius: 999px;
  padding: 0.3rem 0.85rem 0.3rem 0.7rem;
  font-size: 14px;
  font-weight: 600;
  color: #d3e5df;
}

.etikett::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--petrol-nebel);
  box-shadow: 0 0 0 4px rgb(185 211 203 / 0.18);
}

h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.6rem, 4.9vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.022em;
}

h1 em {
  color: var(--petrol-nebel);
}

.unterzeile {
  margin: 0;
  max-width: 44ch;
  font-size: 17px;
  line-height: 1.6;
  color: #d3e5df;
}

@media (min-width: 40rem) {
  .unterzeile {
    font-size: 18px;
  }
}

.kontakt {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.kontakt p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #c2d9d2;
}

.knopf {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 3rem;
  border-radius: 999px;
  background: var(--papier);
  padding: 0 1.5rem;
  font-size: 16px;
  font-weight: 600;
  color: var(--petrol-tief);
  text-decoration: none;
  box-shadow: 0 10px 30px -12px rgb(0 0 0 / 0.5);
  transition:
    transform 180ms var(--ease-bogen),
    background-color 180ms var(--ease-bogen);
  touch-action: manipulation;
}

.knopf:hover {
  background: #fff;
}

.knopf:active {
  transform: scale(0.98);
}

.knopf:focus-visible {
  outline-color: var(--papier);
}

.knopf svg {
  width: 1.1rem;
  height: 1.1rem;
}

.glas-buehne {
  position: relative;
  width: 100%;
  max-width: 27rem;
  margin: 0 auto;
}

@media (min-width: 64rem) {
  .glas-buehne {
    transform: perspective(1600px) rotateY(-13deg) rotateX(6deg);
  }
}

.glas-karte {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 1.75rem;
  padding: 1.5rem;
  color: var(--papier);
  background: linear-gradient(160deg, rgb(255 255 255 / 0.13), rgb(255 255 255 / 0.04) 45%, rgb(255 255 255 / 0.07));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.28),
    inset 0 0 0 1px rgb(255 255 255 / 0.12),
    0 40px 80px -40px rgb(0 0 0 / 0.8);
}

@media (min-width: 40rem) {
  .glas-karte {
    padding: 1.75rem;
  }
}

.glas-titel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.glas-titel span:first-child {
  font-family: var(--display);
  font-size: 28px;
  line-height: 1;
}

.marke-klein {
  border: 1px solid rgb(255 255 255 / 0.25);
  border-radius: 999px;
  padding: 0.25rem 0.625rem;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--petrol-nebel);
}

.glas-karte dl {
  display: flex;
  flex-direction: column;
  margin: 1.5rem 0 0;
}

.glas-karte dl > div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-top: 1px solid rgb(255 255 255 / 0.12);
  padding: 0.875rem 0;
}

.glas-karte dt {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--petrol-nebel);
}

.glas-karte dd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0;
}

.glas-wert {
  font-family: var(--mono);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

@media (min-width: 40rem) {
  .glas-wert {
    font-size: 15px;
  }
}

.glas-haken {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: rgb(185 211 203 / 0.15);
  color: var(--petrol-nebel);
}

.glas-haken svg {
  width: 0.875rem;
  height: 0.875rem;
}

.glas-fertig {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
  border-radius: 1rem;
  background: var(--papier);
  padding: 0.75rem 1rem;
  color: var(--tinte);
}

.glas-fertig span:first-child {
  font-size: 13px;
  font-weight: 600;
}

.glas-fertig span:last-child {
  border-radius: 999px;
  background: var(--petrol);
  padding: 0.375rem 0.75rem;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--papier);
}

.glas-glanz {
  position: absolute;
  inset: -20% auto -20% -60%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgb(255 255 255 / 0.13) 45%, rgb(255 255 255 / 0.03) 60%, transparent);
  transform: translateX(-30%) skewX(-12deg);
  pointer-events: none;
}

.bogen-kante {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  display: block;
  width: 100%;
  height: clamp(2.75rem, 7vw, 6.5rem);
  pointer-events: none;
}

.bogen-kante-statisch {
  display: none;
}

@keyframes glas-wert-rein {
  from {
    opacity: 0;
    transform: translateY(6px);
    filter: blur(4px);
  }
}

@keyframes glas-haken-rein {
  from {
    opacity: 0;
    transform: scale(0.6) rotate(-12deg);
  }
}

@keyframes glas-glanz-wandern {
  0%,
  60% {
    transform: translateX(-30%) skewX(-12deg);
  }
  100% {
    transform: translateX(420%) skewX(-12deg);
  }
}

@keyframes karte-rein {
  from {
    opacity: 0;
    transform: perspective(1600px) rotateY(-24deg) rotateX(10deg) translateY(28px);
  }
}

@keyframes karte-rein-flach {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .glas-buehne {
    animation: karte-rein-flach 900ms var(--ease-bogen) 150ms both;
  }
  .glas-wert {
    animation: glas-wert-rein 520ms var(--ease-bogen) both;
  }
  .glas-haken {
    animation: glas-haken-rein 420ms var(--ease-bogen) both;
  }
  .glas-karte dl > div:nth-child(1) .glas-wert { animation-delay: 700ms; }
  .glas-karte dl > div:nth-child(2) .glas-wert { animation-delay: 1080ms; }
  .glas-karte dl > div:nth-child(3) .glas-wert { animation-delay: 1460ms; }
  .glas-karte dl > div:nth-child(1) .glas-haken { animation-delay: 1000ms; }
  .glas-karte dl > div:nth-child(2) .glas-haken { animation-delay: 1380ms; }
  .glas-karte dl > div:nth-child(3) .glas-haken { animation-delay: 1760ms; }
  .glas-fertig {
    animation: karte-rein-flach 600ms var(--ease-bogen) 2150ms both;
  }
  .glas-glanz {
    animation: glas-glanz-wandern 7s cubic-bezier(0.77, 0, 0.175, 1) 2.6s infinite;
  }
}

@media (min-width: 64rem) and (prefers-reduced-motion: no-preference) {
  .glas-buehne {
    animation-name: karte-rein;
    animation-duration: 1200ms;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bogen-kante-animiert {
    display: none;
  }
  .bogen-kante-statisch {
    display: inline;
  }
  .knopf {
    transition: none;
  }
}

.fuss {
  padding: 2rem 0 max(2rem, env(safe-area-inset-bottom));
  font-size: 15px;
  color: var(--tinte-weich);
}

.fuss .rahmen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.fuss p {
  margin: 0;
}

.fuss nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fuss nav a {
  display: inline-block;
  padding: 0.5rem 0;
  font-weight: 600;
  color: var(--petrol);
}

.recht-kopf {
  border-bottom: 1px solid var(--linie);
  padding: 1.25rem 0;
}

.recht-kopf a {
  display: inline-block;
}

.recht-kopf img {
  display: block;
  height: 2rem;
  width: auto;
}

.recht {
  max-width: 44rem;
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

.recht h1 {
  font-size: clamp(2.4rem, 6vw, 3.25rem);
  line-height: 1.05;
}

.recht h2 {
  margin: 2.25rem 0 0.5rem;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 600;
}

.recht p,
.recht ul {
  margin: 0.5rem 0;
}

.recht ul {
  padding-left: 1.25rem;
}

.recht .stand {
  margin-top: 0.75rem;
  color: var(--gedaempft);
  font-size: 15px;
}

.recht a {
  color: var(--petrol);
}

.recht-fuss {
  border-top: 1px solid var(--linie);
}

