:root {
  --grund: #181c1d;
  --creme: #f3f6f4;
  --gedaempft: #b2bdc0;
  --signal: #a1d4e2;
  --papier: #f6f7f6;
  --tinte: #192426;
  --leise: #536368;
}

html { scrollbar-color: #889b9e #181c1d; }
body { font-variation-settings: 'wdth' 100, 'wght' 450; }
::selection { background: #aedbe8; color: #192426; }
a { text-underline-offset: 5px; }
.schein { background: var(--grund); }
.schein::after { background: none; }
.kopf { padding-right: 40px; min-height: 100px; }
.nav { gap: 32px; font-size: 14px; font-variation-settings: 'wdth' 100, 'wght' 550; }
.nav a { padding: 10px 0; }
.fortschritt { height: 2px; background: #a1d4e2; }
.markebild, .markeziel { opacity: 1; }

.studio-intro {
  position: fixed; z-index: 8; left: 56px; top: 30%;
  width: min(540px, 42%); color: var(--creme);
}
.studio-intro h1 {
  font-size: 76px; line-height: 1; font-variation-settings: 'wdth' 100, 'wght' 800;
  margin-bottom: 28px;
}
.studio-intro .studio-title { font-size: 32px; line-height: 1.2; font-weight: 500; }
.studio-intro .studio-description { max-width: 340px; font-size: 17px; line-height: 1.6; color: #b2bdc0; margin-top: 22px; }
.studio-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 34px; }
.studio-actions .knopf { display: inline-flex; gap: 24px; align-items: center; margin: 0; padding: 15px 20px; background: #d2e8ec; color: #17282d; border: 0; border-radius: 3px; font-size: 14px; font-weight: 650; text-transform: none; }
.studio-actions .knopf:hover { background: #edf7f9; }
.studio-actions .studio-link { color: #d7e1e1; font-size: 14px; text-decoration: underline; }
.studio-arrow { display: block; width: 20px; height: 20px; }
.studio-caption {
  position: fixed; z-index: 8; left: 56px; right: 56px; bottom: 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 18px; border-top: 1px solid #617174;
  color: #bdc9cb; font-size: 13px;
}
.studio-caption a { display: inline-flex; align-items: center; gap: 14px; color: #e9eeee; text-decoration: none; }
.studio-caption img { filter: invert(1); }
.scrollen { display: none; }
.t-links { left: 56px; width: min(460px, 37%); }
.t-links h2 { font-size: 58px; line-height: 1.05; text-transform: none; font-variation-settings: 'wdth' 100, 'wght' 650; }
.t-vonlinks h2, .t-unten h2 { font-size: 48px; line-height: 1.08; text-transform: none; font-variation-settings: 'wdth' 100, 'wght' 650; }
.t-vonlinks p, .t-unten p { color: #bcc8cc; font-size: 17px; line-height: 1.6; }
.t-unten { width: min(900px, 90%); bottom: 72px; }

.bahn { max-width: 1240px; padding: 0 56px; }
.hell h2 { font-size: 54px; line-height: 1.07; text-transform: none; font-variation-settings: 'wdth' 100, 'wght' 650; text-wrap: balance; }
.hell h3 { font-size: 28px; line-height: 1.2; font-variation-settings: 'wdth' 100, 'wght' 650; }
.hell p { font-size: 18px; line-height: 1.65; color: #465b60; }
.groessen-text h2 { font-size: 48px; line-height: 1.1; font-variation-settings: 'wdth' 100, 'wght' 650; }
.groessen-text p { font-size: 18px; line-height: 1.6; color: #465b60; }
.groessen-text #gText2 h2, .groessen-text #gText3 h2 { font-size: 42px; }
.groessen-karte { border-color: #c5d0d1; background: transparent; box-shadow: none; border-radius: 0; }
.groessen-karte .stufe { font-size: 20px; text-transform: none; }
.groessen-karte dl { font-variant-numeric: tabular-nums; }
.groessen-karte .fussnote { color: #53666b; font-size: 12px; line-height: 1.5; }
.fern h2 { font-size: 48px; max-width: 780px; }
.fern .vor { font-size: 19px; max-width: 650px; color: #465b60; }
.fernkopf .jetzt { font-size: 64px; font-variation-settings: 'wdth' 100, 'wght' 600; font-variant-numeric: tabular-nums; color: #143b42; }
.fernkopf .wozu { font-size: 13px; color: #526a70; text-transform: none; }
.fernkopf .lauf { color: #53666b; font-size: 14px; }
.fernbild { border-color: #c5d0d1; }
.fernsvg .netz { stroke: #d2dcdb; }
.fernsvg .linie, .fernsvg .probe { stroke: #195965; }
.fernsvg .punkt { fill: #195965; }
.fernsvg .achse { fill: #53676c; }
.fernfuss { color: #53666b; }
.fernfakten h3 { font-size: 22px; }
.fernfakten p { font-size: 16px; }
.strich { background: #c5d0d1; }
.paar { border-color: #c5d0d1; }
.kontakt { border-color: #c5d0d1; }
.kontakt .knopf { background: #153c45; color: #fff; border-radius: 3px; text-transform: none; font-size: 16px; }
.hoch { border-radius: 4px; background: #f6f7f6; box-shadow: none; }
.hoch img { transform: rotate(180deg); }

@media (min-width: 1600px) {
  .studio-intro { left: max(56px, calc((100vw - 1440px) / 2)); }
  .studio-intro h1 { font-size: 88px; }
}
@media (max-width: 1100px) {
  .studio-intro { left: 32px; width: 43%; top: 29%; }
  .studio-intro h1 { font-size: 58px; }
  .studio-intro .studio-title { font-size: 26px; }
  .t-links h2 { font-size: 44px; }
  .t-vonlinks h2 { font-size: 40px; }
  .studio-caption { left: 32px; right: 32px; }
}
@media (max-width: 820px) {
  .kopf { padding: 14px 22px; min-height: 80px; }
  .nav { gap: 18px; font-size: 12px; }
  .nav a { padding: 10px 0; }
  .studio-intro { top: 118px; left: 22px; right: 22px; width: auto; }
  .studio-intro h1 { font-size: 50px; margin-bottom: 16px; }
  .studio-intro .studio-title { font-size: 24px; line-height: 1.25; }
  .studio-intro .studio-description { display: none; }
  .studio-actions { margin-top: 22px; gap: 20px; }
  .studio-actions .knopf { padding: 12px 16px; gap: 16px; font-size: 13px; }
  .studio-actions .studio-link { font-size: 13px; }
  .studio-caption { left: 22px; right: 22px; bottom: 22px; font-size: 12px; padding-top: 14px; }
  .studio-caption > span { max-width: 145px; line-height: 1.4; }
  .studio-caption a span { display: none; }
  .t-links { left: 22px; top: 22%; width: 86%; }
  .t-links h2 { font-size: 36px; }
  .t-vonlinks { top: 112px; left: 22px; width: calc(100% - 44px); --pickup-y: 0px; }
  .t-vonlinks h2 { font-size: 34px; }
  .t-unten h2 { font-size: 30px; }
  .t-vonlinks p, .t-unten p { font-size: 15px; }
  .bahn { padding: 0 22px; }
  .hell h2, .groessen-text h2 { font-size: 34px; }
  .hell h3 { font-size: 24px; }
  .hell p, .groessen-text p { font-size: 16px; }
  .groessen-text #gText2 h2, .groessen-text #gText3 h2 { font-size: 28px; }
  .groessen-text #gText2 p, .groessen-text #gText3 p { font-size: 15px; }
  .groessen-karte .stufe { font-size: 17px; }
  .groessen-karte .fussnote { font-size: 10px; }
  .fern h2 { font-size: 34px; }
  .fern .vor { font-size: 17px; }
  .fernkopf .jetzt { font-size: 52px; }
  .fernfakten h3 { font-size: 22px; }
  .fernfakten p { font-size: 16px; }
}
@media (max-width: 380px) {
  .nav { gap: 13px; font-size: 11px; }
  .studio-intro { top: 106px; }
  .studio-intro h1 { font-size: 42px; }
  .studio-intro .studio-title { font-size: 21px; }
  .studio-actions { gap: 16px; margin-top: 18px; }
  .studio-actions .studio-link { display: none; }
  .studio-caption { font-size: 11px; bottom: 16px; }
  .t-links h2 { font-size: 30px; }
}
@media (max-height: 680px) and (max-width: 820px) {
  .studio-intro { top: 98px; }
  .studio-intro h1 { font-size: 40px; margin-bottom: 10px; }
  .studio-intro .studio-title { font-size: 20px; }
  .studio-actions { margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto; }
}

.size-step { display: contents; }

/* Keep the animated product above readable, scrolling specifications on phones. */
@media (max-width: 820px) {
  #groessen { height: auto; }
  .groessen-fenster { position: relative; height: auto; overflow: visible; padding: 0 0 40px; }
  #groessenBuehne { position: sticky; inset: auto; top: 80px; height: clamp(180px, 32svh, 280px); width: 100%; z-index: 2; background: var(--creme); }
  .groessen-text { position: relative; width: 100%; height: auto; display: block; }
  .size-step { display: block; min-height: 0; padding: 24px 22px 36px; }
  #sizeStepCustom { min-height: 0; }
  .groessen-text .satz, .groessen-text #gText2, .groessen-text #gText3 {
    position: static; width: auto; max-width: none; margin: 0;
    opacity: 1 !important; transform: none !important; will-change: auto;
  }
  .groessen-text .satz h2, .groessen-text #gText2 h2, .groessen-text #gText3 h2 { font-size: 28px; }
  .groessen-text .satz p { font-size: 16px; line-height: 1.5; }
  .groessen-karten { position: static; margin: 32px 0 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; opacity: 1 !important; transform: none !important; will-change: auto; }
  .groessen-karte, .groessen-karte.mitte {
    position: static; width: auto; opacity: 1 !important; transform: none !important; will-change: auto;
  }
  .groessen-karte.mitte { margin: 32px 0 0; }
  .groessen-karte .stufe { font-size: 22px; }
  .groessen-karte dl { font-size: 15px; gap: 10px 16px; }
  .groessen-karte dt { font-size: 12px; }
  .groessen-karte .fussnote { font-size: 12px; line-height: 1.5; }
}
@media (max-height: 480px) and (max-width: 820px) {
  #groessenBuehne { height: 140px; }
  .size-step { padding-left: 32px; padding-right: 32px; }
}
