:root{
  /* exakt aus Index */
  --row1-text:    #00492C;
  --row1-outline: #FBBA16;
  --row2-bg:      #9BCCD0;
  --ticker-height: 40px;
}

/* =========================
   FONTS
   ========================= */
@font-face {
  font-family: "Plaster";
  src: url("assets/fonts/plaster-v25-latin_latin-ext-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-Light.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

/* =========================
   RESET
   ========================= */
html, body {
  margin: 0;
  padding: 0;
  background: #FBBA16;
}

* { box-sizing: border-box; }

/* =========================
   MOBILE ONLY
   ========================= */
@media (min-width: 701px){
  body { display: none; }
}

.m-page{
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 300;
  --page-accent: #00492C;
  --page-accent-contrast: #FBBA16;
  --page-bg: #FBBA16;
  --burger-bg: #FBBA16;
  background: var(--page-bg);
  --cookie-bg: var(--page-bg);
  --cookie-text: var(--page-accent);
  --cookie-accent: var(--page-accent);
  --cookie-accent-contrast: var(--page-accent-contrast);
}

.m-page--row1{
  --page-accent: #00492C;
  --page-accent-contrast: #FBBA16;
  --page-bg: #FBBA16;
  --burger-bg: #FBBA16;
}

.m-page--row2{
  --page-accent: #E22028;
  --page-accent-contrast: #9BCCD0;
  --page-bg: #9BCCD0;
  --burger-bg: #9BCCD0;
}

.m-page--row3{
  --page-accent: #1F4381;
  --page-accent-contrast: #E3B2B5;
  --page-bg: #E3B2B5;
  --burger-bg: #E3B2B5;
}

.m-page--row4{
  --page-accent: #E04C26;
  --page-accent-contrast: #B1D8B9;
  --page-bg: #B1D8B9;
  --burger-bg: #B1D8B9;
}

.m-page--row5{
  --page-accent: #FCD46D;
  --page-accent-contrast: #00492C;
  --page-bg: #00492C;
  --burger-bg: #00492C;
}

/* =========================
   HERO (fix, Quadrat)
   ========================= */
.m-hero{
  position: fixed;
  top: var(--ticker-height);
  left: 0;
  right: 0;
  width: 100%;
  background: #ffffff;
  z-index: 10;
}

/* Scroll-Content startet unter Hero */
.m-main{
  padding: 20px;
  padding-top: calc(100vw + 20px + var(--ticker-height));
}

.m-page .ticker{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 25;
  padding: 8px 0;
}

.m-page .ticker__item{
  font-weight: 300;
  font-size: 12px;
  line-height: 16px;
  margin-right: 56px;
}

/* =========================
   CELL – QUADRAT
   ========================= */
.cell{
  position: relative;
  width: 100%;
  background: #ffffff;
  overflow: hidden;
}

.cell::before{
  content: "";
  display: block;
  padding-top: 100%;
}

.content{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

/* =========================
   INSET
   ========================= */
.inset{
  outline: 20px solid transparent;
  outline-offset: -20px;
}

.m-hero-link{
  position: absolute;
  inset: 0;
  z-index: 10;
  display: block;
  text-decoration: none;
  color: inherit;
}

/* =========================
   HEADLINE BLOCK
   ========================= */
.headline-block{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  color: var(--row1-text);
}

.headline{
  margin: 0;
  font-family: "Plaster", system-ui, sans-serif;
  font-size: 90px;
  line-height: 64px;
	  letter-spacing: -0.05em;

}

.subline{
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  line-height: 26px;
}

/* =========================
   TEXTFLOW (Z1 / S3)
   ========================= */
.textflow{
  max-width: 420px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  color: var(--row1-text);
}

.textflow-row2{ color: #E22028; }
.textflow-row3{ color: #1F4381; }
.textflow-row4{ color: #E04C26; }
.textflow-row5{ color: #FCD46D; }

.textflow p{
  margin: 0;
  font-weight: 300;
  font-size: 22px;
  line-height: 26px;
}

.textflow .closing{
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  line-height: 26px;
}

.hand-gif{
  display: block;
  margin: 0 auto;
}

.inline-gif{
  display: block;
  margin: 0 auto;
}

/* =========================
   Farbzuordnung
   ========================= */
.m-row1.inset{
  outline-color: var(--row1-outline);
}

.m-row2.inset{
  outline-color: #9BCCD0;
}

.m-row3.inset{
  outline-color: #E3B2B5;
}

.m-row4.inset{
  outline-color: #B1D8B9;
}

.m-row5.inset{
  outline-color: #00492C;
}

.m-row2 .headline-block{ color: #E22028; }
.m-row3 .headline-block{ color: #1F4381; }
.m-row4 .headline-block{ color: #E04C26; }
.m-row5 .headline-block{ color: #FCD46D; }

/* =========================
   TEXTZELLE (auto Höhe)
   ========================= */
.m-row1-text{
  height: auto;
}

.m-row1-text::before{
  content: none;
}

.m-row1-text .content{
  position: static;
  padding: 0;
}

.m-text{
  height: auto;
}

.m-text::before{
  content: none;
}

.m-text .content{
  position: static;
  padding: 0;
}

/* =========================
   CTA (eckig, Mailto)
   ========================= */
.cta{
  display: block;
  width: 100%;
  margin-top: 20px;
  padding: 18px 24px;

  background: var(--page-accent);
  color: var(--page-accent-contrast);

  text-align: center;
  text-decoration: none;
  font-size: 22px;
  font-weight: 700;

  border-radius: 0; /* bewusst eckig */
  -webkit-tap-highlight-color: transparent;
}

.cta:active{
  opacity: 0.85;
}

.legal-links{
  margin-top: 14px;
  text-align: center;
  font-weight: 300;
  font-size: 16px;
  line-height: 26px;
  color: var(--page-accent);
}

.legal-links a{
  text-decoration: none;
  color: inherit;
}


/* =========================
   NAV-ICON (Logo Button)
   ========================= */
.m-burger{
  position: absolute;
  top: 12px;
  right: 12px;

  width: 60px;
  height: 60px;

  background: var(--burger-bg); /* Body-Hintergrund */
  border: 0;
  padding: 0;
  border-radius: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 25; /* über der Zelle */
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}

.m-burger:focus-visible{
  outline: 2px solid #00492C;
  outline-offset: 2px;
}

.m-burger__icon{
  display: block;
  width: 32px;
  height: 32px;
  fill: currentColor;
  color: var(--page-accent);
}

/* =========================
   MOBILE NAV (Overlay)
   ========================= */
 .m-nav-toggle{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

body.m-nav-open{
  overflow: hidden;
}

.m-nav{
  position: fixed;
  inset: 0;
  z-index: 40;

  background: var(--page-bg);
  padding: 20px;

  display: flex;
  flex-direction: column;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 200ms ease, transform 200ms ease;
}

.m-nav.is-open{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.m-nav-toggle:checked ~ .m-nav{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.m-nav__close{
  align-self: flex-end;
  width: 60px;
  height: 60px;

  border: 0;
  padding: 0;
  border-radius: 0;

  background: transparent;
  color: var(--page-accent);
  font-family: system-ui, sans-serif;
  font-size: 44px;
  line-height: 60px;

  -webkit-tap-highlight-color: transparent;
}

.m-nav__close:focus-visible{
  outline: 2px solid #00492C;
  outline-offset: 2px;
}

.m-nav__list{
  margin: 28px auto 0;
  width: fit-content;
  text-align: left;
}

.m-nav__list a{
  text-decoration: none;
  color: var(--page-accent);
  font-family: "Plaster", system-ui, sans-serif;
  font-weight: 400;
  font-size: 45px;
  line-height: 35px;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  display: inline-block;
  margin-bottom: 26px;
}

.m-nav__list a:active{
  opacity: 0.85;
}

.m-nav__list a[aria-current="page"]{
  color: #ffffff;
}
