/* Snooffle: gemeinsame Pink-Matcha-Grundlage für alle Unterseiten. */
@font-face {
  font-family: "Snoo";
  src: url("../fonts/fredoka.woff2") format("woff2");
  font-weight: 300 700;
  font-stretch: 75% 125%;
  font-display: swap;
}

@font-face {
  font-family: "Snoo Display";
  src: url("../fonts/bagelfatone.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --pink: #f4a8cc;
  --pink-soft: #f8c0dc;
  --pink-pale: #fbd8e9;
  --matcha: #a8bf69;
  --matcha-deep: #536426;
  --cream: #fff9e9;
  --ink: #263017;
  --line: rgba(38, 48, 23, 0.22);
  --radius-card: 28px;
  --radius-pill: 999px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --stack: "Snoo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --olive: var(--matcha-deep);
}

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

html {
  background: var(--pink);
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  background: var(--pink);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  font-family: var(--stack);
  font-size: 17px;
  font-variation-settings: "wdth" 103, "wght" 430;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--matcha-deep);
  color: var(--cream);
}

a {
  color: inherit;
}

:focus-visible {
  outline: 4px solid var(--cream);
  outline-offset: 4px;
  box-shadow: 0 0 0 7px var(--ink);
}

.grain {
  display: none;
}

.wrap {
  width: min(100% - 32px - env(safe-area-inset-left) - env(safe-area-inset-right), 820px);
  margin-inline: auto;
}

.bar {
  position: sticky;
  top: max(12px, env(safe-area-inset-top));
  z-index: 10;
  padding-top: 12px;
}

.bar .wrap {
  width: min(100% - 32px - env(safe-area-inset-left) - env(safe-area-inset-right), 1240px);
  min-height: 66px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 249, 233, .48);
  border-radius: var(--radius-pill);
  background: rgba(244, 168, 204, .93);
  box-shadow: 0 12px 40px rgba(75, 48, 65, .13);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  display: flex;
  align-items: center;
}

.brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.brand img,
.brand svg {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.brand span,
.brand b {
  font-family: "Snoo Display", "Snoo", sans-serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links > a:not(.btn) {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.nav-links .btn {
  min-height: 46px;
}

.nav-short {
  display: none;
}

main {
  flex: 1;
  padding: clamp(50px, 7vw, 96px) 0 clamp(54px, 8vw, 104px);
}

.kick {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.tagbox {
  display: inline-block;
  padding: 8px 13px 7px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  background: var(--matcha);
  color: var(--ink);
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  max-width: 12ch;
  margin: 20px 0 26px;
  font-family: "Snoo Display", "Snoo", sans-serif;
  font-size: clamp(52px, 6vw, 88px);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: .9;
}

h1 em,
.oliv {
  color: var(--matcha-deep);
  font-style: normal;
}

.cream {
  color: var(--ink);
}

p {
  max-width: 65ch;
  margin: 0 0 1.1em;
  font-size: clamp(16px, 1.7vw, 19px);
  text-wrap: pretty;
}

p b {
  color: var(--ink);
  font-variation-settings: "wdth" 108, "wght" 650;
}

.rule {
  margin: clamp(24px, 3.4vw, 40px) 0;
  border-top: 3px solid var(--ink);
}

ol {
  max-width: 65ch;
  margin: 0 0 1.4em;
  padding-left: 0;
  list-style: none;
  counter-reset: step;
}

ol li {
  position: relative;
  margin-bottom: 1em;
  padding-left: 52px;
  counter-increment: step;
  font-size: clamp(16px, 1.7vw, 19px);
}

ol li::before {
  content: counter(step);
  position: absolute;
  top: -2px;
  left: 0;
  color: var(--matcha-deep);
  font-family: "Snoo Display", "Snoo", sans-serif;
  font-size: 30px;
  line-height: 1;
}

.btn {
  min-height: 46px;
  padding: 0 22px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 650;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

@media (hover:hover) and (pointer:fine){.btn:hover{
  transform: translateY(-3px) rotate(-1deg);
  box-shadow: 0 8px 0 var(--matcha-deep);
}}

.btn:active {
  transform: translateY(0) scale(.98);
  box-shadow: none;
}

footer {
  padding: 0 0 calc(clamp(30px, 5vw, 52px) + env(safe-area-inset-bottom));
}

/* Footer-Links der Unterseiten: 44-pt-Trefferfläche, lesbare Größe */
footer .kick {
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 4px;
}

footer .kick a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 6px;
}

footer .wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-underline-offset: 3px;
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 84px;
  }

  .wrap,
  .bar .wrap {
    width: min(100% - 24px - env(safe-area-inset-left) - env(safe-area-inset-right), 820px);
  }

  .bar {
    top: max(8px, env(safe-area-inset-top));
    padding-top: 8px;
  }

  .bar .wrap {
    min-height: 58px;
    padding: 7px 14px;
  }

  .brand span,
  .brand b {
    font-size: 21px;
  }

  .nav-links {
    gap: 0;
  }

  .nav-links > a:not(.btn) {
    display: none;
  }

  .nav-links .btn {
    min-height: 44px;
    padding-inline: 18px;
    font-size: 15px;
  }

  .nav-long {
    display: none;
  }

  .nav-short {
    display: inline;
  }

  main {
    padding-top: 54px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(49px, 15vw, 66px);
  }
}

@media (prefers-reduced-transparency: reduce) {
  .bar .wrap {
    background: var(--pink);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}
