@font-face {
  font-family: "Astroph";
  src: url("assets/astroph-rough.otf") format("opentype");
  font-display: swap;
}

:root {
  --ink: #162919;
  --forest: #093d24;
  --moss: #69904c;
  --yellow: #ffe82d;
  --sky: #b9dfe6;
  --paper: #f6eedc;
  --pink: #ea8ca1;
  --blue: #6cc7d2;
  --line: rgba(22, 41, 25, .34);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  background-image: linear-gradient(rgba(246,238,220,.90), rgba(246,238,220,.94)), url("assets/himmel.jpg");
  background-size: auto, 850px auto;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: -4rem;
  background: white;
  padding: .75rem 1rem;
}

.skip-link:focus { top: 1rem; }

.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;
}

.hero {
  min-height: 760px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(2rem, 6vw, 5rem) 1.25rem 12rem;
  background: url("assets/himmel.jpg") center 60% / cover no-repeat;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(to bottom, rgba(255,255,255,.12), rgba(255,255,255,0) 70%, rgba(246,238,220,.45));
}

.logo {
  width: min(760px, 92vw);
  height: auto;
  filter: drop-shadow(0 5px 0 rgba(255,255,255,.65));
  transform: rotate(-1.5deg);
}

.hero-copy {
  max-width: 710px;
  margin: 1rem auto 1.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 3vw, 2.25rem);
  line-height: 1.12;
  text-wrap: balance;
}

.listen-button {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .9rem 1.25rem;
  color: var(--yellow);
  background: var(--forest);
  border: 2px solid var(--ink);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 4px 5px 0 var(--ink);
  transition: transform .18s ease, box-shadow .18s ease;
}

.listen-button:hover,
.listen-button:focus-visible {
  transform: translate(3px, 3px) rotate(-1deg);
  box-shadow: 1px 2px 0 var(--ink);
}

.hero-figures {
  position: absolute;
  z-index: -1;
  inset: auto 0 1.5rem;
  height: 300px;
  width: min(1180px, 100%);
  margin: 0 auto;
  pointer-events: none;
}

.figure {
  position: absolute;
  bottom: 0;
  height: auto;
  filter: drop-shadow(0 4px 2px rgba(17, 38, 22, .12));
}

.figure-marius {
  z-index: 4;
  left: 9%;
  width: clamp(120px, 15vw, 190px);
  transform: rotate(-3deg);
}

.figure-dachs {
  z-index: 3;
  left: 23%;
  width: clamp(250px, 32vw, 390px);
}

.figure-seichhoernli {
  z-index: 5;
  left: 53%;
  width: clamp(100px, 12vw, 150px);
  transform: rotate(4deg);
}

.figure-fuchs {
  z-index: 2;
  right: -1%;
  width: clamp(240px, 29vw, 360px);
  opacity: .92;
  transform: rotate(3deg) translateY(12px);
}

.hero-grass {
  position: absolute;
  z-index: -2;
  bottom: -2px;
  left: -2%;
  width: 104%;
  height: clamp(130px, 20vw, 240px);
  object-fit: cover;
}

.page-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.intro {
  max-width: 790px;
  margin: 0 0 3.5rem;
}

.eyebrow,
.stamp {
  display: inline-block;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.intro h2,
.tile h2 {
  margin: .35rem 0 .7rem;
  font-family: "Astroph", "Arial Narrow", sans-serif;
  font-weight: 400;
  letter-spacing: .015em;
  line-height: .98;
  text-wrap: balance;
}

.intro h2 { font-size: clamp(3.4rem, 9vw, 6.9rem); }
.intro p:last-child { max-width: 680px; font-size: clamp(1.05rem, 2vw, 1.28rem); }

.tiles {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}

.tile {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  padding: clamp(1.35rem, 3vw, 2.35rem);
  border: 2px solid var(--ink);
  border-radius: 28px 23px 31px 20px;
  box-shadow: 5px 7px 0 var(--ink);
}

.tile:nth-child(even) { border-radius: 22px 34px 21px 29px; }
.tile h2 { font-size: clamp(2.3rem, 5vw, 4.4rem); }
.tile p { max-width: 58ch; margin: 0 0 1.4rem; }

.text-link {
  font-weight: 900;
  text-underline-offset: .24em;
  text-decoration-thickness: 2px;
}

.tile-latest {
  grid-column: span 8;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 1.5rem;
  align-items: center;
  background: var(--yellow);
}

.tile-latest img {
  width: 100%;
  height: auto;
  justify-self: center;
  align-self: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  transform: rotate(4deg);
}

.tile-question {
  grid-column: span 4;
  background: var(--pink);
  padding-bottom: 7rem;
}
.tile-question h2 {
  font-size: clamp(2.1rem, 3.2vw, 3.4rem);
  line-height: 1.02;
  overflow-wrap: break-word;
  hyphens: auto;
}


.tile-question img {
  position: absolute;
  right: -1rem;
  bottom: -1rem;
  width: 46%;
  height: auto;
  transform: rotate(-8deg);
}

.tile-about {
  grid-column: span 7;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 1rem;
  align-items: end;
  background: var(--blue);
}

.tile-about img { width: 100%; height: auto; align-self: end; }

.tile-platforms {
  grid-column: span 5;
  min-height: 390px;
  color: var(--yellow);
  background: var(--forest);
}

.big-arrow {
  position: absolute;
  right: 1.5rem;
  bottom: .35rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 8rem;
  line-height: 1;
  text-decoration: none;
  transition: transform .2s ease;
}

.big-arrow:hover,
.big-arrow:focus-visible { transform: translate(5px, -5px); }

.tile-marius {
  grid-column: span 5;
  background: #d7d89d;
}

.tile-newsletter {
  grid-column: span 7;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  background: #f6c87c;
}

.tile-newsletter img { width: min(39%, 240px); height: auto; transform: rotate(-4deg); }

footer {
  padding: 5rem 1rem 3rem;
  color: var(--yellow);
  background: var(--forest);
  text-align: center;
}

footer img { width: min(320px, 70vw); height: auto; }
footer p { margin: .45rem 0; }

@media (max-width: 820px) {
  .hero { min-height: 720px; padding-bottom: 16rem; }
  .hero-figures { height: 250px; bottom: 1.7rem; }
  .figure-marius { left: 2%; width: 135px; }
  .figure-dachs { left: 20%; width: 300px; }
  .figure-seichhoernli { left: 57%; width: 112px; }
  .figure-fuchs { right: -10%; width: 270px; opacity: .78; }
  .tiles { grid-template-columns: 1fr; }
  .tile { grid-column: auto; }
  .tile-latest { grid-template-columns: 1fr; }
  .tile-latest img { width: min(72%, 360px); justify-self: center; }
  .tile-about { grid-template-columns: .8fr 1.2fr; }
}

@media (max-width: 540px) {
  .hero { min-height: 690px; padding-bottom: 15rem; }
  .hero-copy { max-width: 330px; }
  .hero-figures { height: 220px; bottom: 1.4rem; }
  .figure-marius { left: 0; width: 105px; }
  .figure-dachs { left: 16%; width: 230px; }
  .figure-seichhoernli { left: auto; right: 4%; width: 92px; }
  .figure-fuchs { display: none; }
  .page-shell { width: min(100% - 1.2rem, 1180px); }
  .tile { min-height: 300px; border-radius: 22px; }
  .tile-about { display: flex; flex-direction: column-reverse; align-items: stretch; }
  .tile-about img { width: 86%; align-self: center; }
  .tile-newsletter { align-items: flex-start; }
  .tile-newsletter img { position: absolute; right: -1.4rem; bottom: -1.5rem; width: 44%; opacity: .86; }
  .tile-newsletter > div { position: relative; z-index: 1; max-width: 78%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Mehr Platz zwischen Einleitung und Figuren */

.hero {
  min-height: 860px;
}

.hero-copy {
  max-width: 650px;
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  line-height: 1.15;
}
