:root {
  --page-pad: 28px;
  --ink: #111;
  --muted: #2a2a2a;
  --border: rgba(0, 0, 0, 0.22);
}

/* Header styles are now in head-styles.css */

@font-face {
  font-family: "Tempos Roman Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../font/TemposRomanMono.woff") format("woff");
}

@font-face {
  font-family: "Oficia Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../font/OficiaMONO-Regular.woff") format("woff");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../font/IBMPlexMono-Light.ttf") format("truetype");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../font/IBMPlexMono-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../font/IBMPlexMono-Medium.ttf") format("truetype");
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
}

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

a:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.65);
  outline-offset: 3px;
}

.page {
  min-height: 100svh;
  padding: var(--page-pad);
  padding-top: 120px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding-bottom: calc(var(--page-pad) + 90px);
}

.bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg--top {
  top: 0;
  left: 0;
  right: 0;
  height: 100svh;
}

.bg--scroll {
  inset: 0;
  overflow: visible;
}

.bubble {
  position: absolute;
  width: clamp(180px, 34vw, 360px);
  height: clamp(180px, 34vw, 360px);
  border-radius: 999px;
  filter: blur(clamp(14px, 2.4vw, 22px));
  opacity: 0.8;
  background:
    radial-gradient(circle at 50% 46%, rgba(25, 25, 25, 0.55) 0%, rgba(40, 40, 40, 0.38) 28%, rgba(140, 140, 140, 0.22) 48%, rgba(0, 0, 0, 0) 70%),
    radial-gradient(circle at 52% 52%, rgba(80, 120, 255, 0.38) 42%, rgba(80, 120, 255, 0.0) 76%);
}

.bubble--right {
  width: clamp(240px, 32vw, 360px);
  height: clamp(240px, 32vw, 360px);
  top: clamp(150px, 18vw, 220px);
  right: clamp(50px, 18vw, 170px);
  opacity: 0.85;
  filter: blur(clamp(16px, 2.7vw, 26px));
}

.bubble--right-2 {
  width: clamp(240px, 32vw, 360px);
  height: clamp(240px, 32vw, 360px);
  top: clamp(260px, 28vw, 360px);
  right: clamp(10px, 14vw, 120px);
  opacity: 0.82;
  filter: blur(clamp(16px, 2.7vw, 26px));
  background:
    radial-gradient(circle at 48% 48%, rgba(35, 35, 35, 0.52) 0%, rgba(55, 55, 55, 0.36) 30%, rgba(150, 150, 150, 0.20) 50%, rgba(0, 0, 0, 0) 72%),
    radial-gradient(circle at 50% 52%, rgba(80, 120, 255, 0.36) 44%, rgba(80, 120, 255, 0.0) 78%);
}

.bubble--overlap {
  width: clamp(240px, 34vw, 380px);
  height: clamp(120px, 18vw, 210px);
  top: clamp(235px, 24vw, 300px);
  right: clamp(20px, 16vw, 150px);
  opacity: 0.62;
  filter: blur(clamp(16px, 2.7vw, 26px));
  background:
    radial-gradient(ellipse at 50% 50%, rgba(255, 215, 0, 0.55) 0%, rgba(255, 215, 0, 0.32) 34%, rgba(255, 215, 0, 0.0) 72%);
  mix-blend-mode: multiply;
}

.bubble--corner-ring {
  width: clamp(220px, 30vw, 360px);
  height: clamp(220px, 30vw, 360px);
  top: clamp(-130px, -10vw, -80px);
  right: clamp(-150px, -12vw, -90px);
  opacity: 0.55;
  filter: blur(clamp(10px, 1.9vw, 18px));
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0) 56%, rgba(0, 0, 0, 0.26) 60%, rgba(0, 0, 0, 0.0) 72%);
}

.bubble--scroll-ring {
  width: clamp(260px, 34vw, 420px);
  height: clamp(260px, 34vw, 420px);
  top: clamp(10px, 2vw, 40px);
  left: clamp(-260px, -20vw, -180px);
  opacity: 0.35;
  filter: blur(clamp(10px, 1.9vw, 18px));
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0) 56%, rgba(0, 0, 0, 0.22) 60%, rgba(0, 0, 0, 0.0) 72%);
}

.bubble--scroll-1 {
  width: clamp(220px, 30vw, 340px);
  height: clamp(220px, 30vw, 340px);
  top: clamp(160px, 20vw, 260px);
  left: clamp(40px, 10vw, 160px);
  opacity: 0.75;
  filter: blur(clamp(16px, 2.7vw, 26px));
}

.bubble--scroll-2 {
  width: clamp(220px, 30vw, 340px);
  height: clamp(220px, 30vw, 340px);
  top: clamp(290px, 32vw, 420px);
  right: clamp(40px, 10vw, 180px);
  opacity: 0.72;
  filter: blur(clamp(16px, 2.7vw, 26px));
  background:
    radial-gradient(circle at 50% 46%, rgba(25, 25, 25, 0.50) 0%, rgba(40, 40, 40, 0.34) 28%, rgba(140, 140, 140, 0.20) 48%, rgba(0, 0, 0, 0) 70%),
    radial-gradient(circle at 52% 52%, rgba(80, 120, 255, 0.34) 42%, rgba(80, 120, 255, 0.0) 76%);
}

.bubble--scroll-overlap {
  width: clamp(240px, 34vw, 380px);
  height: clamp(120px, 18vw, 210px);
  top: clamp(280px, 30vw, 360px);
  left: clamp(120px, 26vw, 420px);
  opacity: 0.55;
  filter: blur(clamp(16px, 2.7vw, 26px));
  background:
    radial-gradient(ellipse at 50% 50%, rgba(255, 215, 0, 0.55) 0%, rgba(255, 215, 0, 0.30) 34%, rgba(255, 215, 0, 0.0) 72%);
  mix-blend-mode: multiply;
}

.bubble--left {
  width: clamp(160px, 22vw, 240px);
  height: clamp(160px, 22vw, 240px);
  top: clamp(280px, 36vw, 360px);
  left: clamp(-170px, -14vw, -120px);
  opacity: 0.35;
}

.topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  font-family: "Oficia Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 10pt;
  line-height: 1;
  letter-spacing: 0.01em;
  padding: 6px 6px 0;
  gap: 12px;
}

.topbar__left,
.topbar__right {
  white-space: nowrap;
}

.topbar__left {
  justify-self: start;
}

.topbar__right {
  justify-self: end;
  text-decoration-thickness: 1px;
}

.brand--top {
  justify-self: center;
  align-self: start;
  margin: 0;
  line-height: 1;
}

.main {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.hero {
  text-align: center;
  margin-top: 18px;
}

.brand {
  display: inline-block;
  font-family: "Tempos Roman Mono", "Cormorant Garamond", Georgia, "Times New Roman", Times, serif;
  font-size: 42px;
  letter-spacing: 0.01em;
  margin: 0 0 10px;
  text-decoration: none;
}

.hero__title {
  font-family: "Tempos Roman Mono", "Cormorant Garamond", Georgia, "Times New Roman", Times, serif;
  font-weight: 400;
  font-size: clamp(46px, 6vw, 74px);
  letter-spacing: 0.02em;
  margin: 0;
}

.hero__subtitle {
  font-family: "Tempos Roman Mono", "Cormorant Garamond", Georgia, "Times New Roman", Times, serif;
  font-size: 18pt;
  line-height: .6;
  letter-spacing: 0.02em;
  color: var(--muted);
  margin: 8px 0 0;
  white-space: pre-line;
}

.content {
  position: relative;
  margin-top: calc(72px + 1cm);
  padding: 0 6px 10px;
}

.content__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: calc(74px + 1cm);
  margin: 0 auto;
  max-width: 1120px;
}

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

.block--left {
  justify-self: start;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 8;
  line-clamp: 8;
  overflow: hidden;
}

.block--right {
  justify-self: end;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
}

.mono {
  font-family: "Oficia Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 10pt;
  line-height: 1.45;
  letter-spacing: 0.01em;
  min-width: 170px;
  color: var(--muted);
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
  hyphens: auto;
}

.bottombar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "Oficia Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 10px;
  padding: 10px 6px 6px;
}

.scroll {
  position: relative;
  padding: 46px 6px 80px;
}

.scroll__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: calc(40px + 1cm) 34px;
  margin: 0 auto;
  max-width: 980px;
  padding: 0 34px;
  position: relative;
  z-index: 1;
}

.scroll__small {
  grid-column: 2 / span 3;
}

.scroll__poster {
  grid-column: 6 / span 4;
  justify-self: center;
}

.page--fastfood .fastfood-landscape-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  align-items: start;
}

.page--fastfood .fastfood-landscape-row .scroll__poster {
  grid-column: auto;
  justify-self: stretch;
}

.poster {
  width: 240px;
  aspect-ratio: 3 / 4;
  border-radius: 2px;
  background: linear-gradient(180deg, #f1f1f1, #d8d8d8);
  position: relative;
  overflow: hidden;
}

.poster.poster--landscape {
  aspect-ratio: 4 / 3;
}

@media (min-width: 751px) {
  .poster.poster--landscape {
    width: 320px;
  }
}

.poster--bw::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 25%, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0) 55%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.12));
}

.poster__text {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  text-align: center;
  font-family: "Oficia Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  mix-blend-mode: multiply;
}

.scroll__wide {
  grid-column: 6 / span 6;
  margin-top: 8px;
}

.scroll__wide--second {
  grid-column: 1 / span 5;
  margin-top: 8px;
}

.scroll__center {
  grid-column: 1 / span 4;
  justify-self: center;
  margin-top: 14px;
}

.card {
  width: 280px;
  aspect-ratio: 3 / 4;
  border-radius: 2px;
  background: #f4d400;
  position: relative;
  overflow: hidden;
}

.card__inner {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  display: grid;
  place-items: center;
  padding: 14px;
  text-align: center;
  font-family: "Oficia Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 10px;
}

@media (min-width: 900px) {
  .content__grid {
    gap: 50px;
  }

  .scroll__grid {
    max-width: 1240px;
    padding: 0 clamp(20px, 3vw, 72px);
  }

  .scroll__poster.scroll__poster--img2 {
    grid-column: 1 / span 4;
    justify-self: start;
  }

  .scroll__wide--block2 {
    grid-column: 5 / 12;
  }

  .scroll__poster.scroll__poster--img3 {
    grid-column: 3 / span 4;
    justify-self: center;
    margin-top: 2cm;
  }

  .scroll__poster.scroll__poster--img4 {
    grid-column: 7 / span 4;
    justify-self: center;
    margin-top: 2cm;
  }

  .scroll__poster.scroll__poster--slg3 {
    grid-column: 1 / span 3;
    justify-self: center;
  }

  .scroll__poster.scroll__poster--slg3.scroll__poster--wzf {
    grid-column: 2 / span 3;
  }

  .scroll__poster.scroll__poster--slg4 {
    grid-column: 4 / span 3;
    justify-self: center;
  }

  .scroll__poster.scroll__poster--slg4.scroll__poster--wzf {
    grid-column: 5 / span 3;
  }

  .scroll__poster.scroll__poster--slg5 {
    grid-column: 7 / span 3;
    justify-self: center;
  }

  .scroll__poster.scroll__poster--slg5.scroll__poster--wzf {
    grid-column: 8 / span 3;
  }

  .scroll__poster.scroll__poster--slg6 {
    grid-column: 10 / span 3;
    justify-self: center;
  }

  .scroll__poster.scroll__poster--slg8 {
    grid-column: 4 / span 4;
    justify-self: center;
    margin-top: -3cm;
  }

  .scroll__poster.scroll__poster--slg8.scroll__poster--par-avion-last {
    margin-left: 4cm;
  }

  .scroll__poster.scroll__poster--slg8.scroll__poster--slg8-selbst-verkaufen {
    margin-top: 0cm;
  }

  .scroll__small {
    grid-column: 1 / span 6;
  }

  .scroll__poster {
    grid-column: 8 / span 4;
  }
}

@media (max-width: 750px) {
  .scroll__grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .scroll__small,
  .scroll__poster,
  .scroll__wide,
  .scroll__center,
  .scroll__wide--second {
    grid-column: auto;
  }

  .page--fastfood .fastfood-landscape-row {
    grid-template-columns: 1fr;
    gap: calc(40px + 1cm) 34px;
  }

  .poster,
  .card {
    width: 100%;
    max-width: 400px;
  }
}

@media (max-width: 560px) {
  :root {
    --page-pad: 16px;
  }

  .topbar {
    grid-template-columns: 1fr auto 1fr;
  }

  .topbar__left,
  .topbar__right {
    font-size: 10pt;
  }

  .hero {
    margin-top: 34px;
  }

  .hero__subtitle {
    line-height: 1.15;
  }

  .brand {
    font-size: 34px;
    margin-bottom: 8px;
  }


  .content__grid {
    max-width: 100%;
    grid-template-columns: 1fr;
    gap: calc(38px + 1cm);
    margin-top: 16px;
  }

  .cta {
    margin-top: 22px;
  }

  .block {
    max-width: 100%;
  }

  .scroll {
    padding: 34px 6px 60px;
  }

  .scroll__grid {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .scroll__small,
  .scroll__poster,
  .scroll__wide,
  .scroll__center,
  .scroll__wide--second{
    grid-column: auto;
  }

  .poster,
  .card {
    width: 100%;
  }

  .bubble--right {
    right: 20px;
    top: 200px;
    opacity: 0.6;
  }
}

@media (max-width: 360px) {
  .topbar {
    font-size: 10pt;
  }

  .hero__subtitle {
    font-size: 10pt;
    line-height: 1.15;
  }

  .mono {
    font-size: 10pt;
  }
}
