/* Self-hosted fonts (latin subset covers DE/EN/ES) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('/assets/fonts/fredoka-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('/assets/fonts/caveat-latin.woff2') format('woff2');
}

:root {
  --purple: #5A17E0;
  --purple-deep: #350C9E;
  --ink: #1E1233;
  --lime: #A9DE3B;
  --lime-deep: #82B924;
  --terracotta: #CE7C5C;
  --cream: #FBF7FF;
  --paper: #FFFFFF;
  --purple-10: rgba(90, 23, 224, 0.08);
  --shadow: 0 18px 40px -18px rgba(30, 18, 51, 0.35);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-pill: 999px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.display {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.01em;
}

.script {
  font-family: 'Caveat', cursive;
  font-weight: 700;
}

p {
  line-height: 1.6;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

/* width/height attributes reserve space; keep the aspect ratio when CSS only sets a width */
img {
  height: auto;
}

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

section {
  position: relative;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-lime {
  background: var(--lime);
  color: var(--ink);
}

.btn-lime:hover {
  box-shadow: 0 10px 24px -8px rgba(169, 222, 59, 0.7);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  box-shadow: 0 10px 24px -8px rgba(30, 18, 51, 0.5);
}

/* ---------- Nav ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(90, 23, 224, 0.96);
  backdrop-filter: blur(6px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  max-width: 1160px;
  margin: 0 auto;
}

.nav-right {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: #fff;
  letter-spacing: 0.02em;
}

.logo span {
  color: var(--lime);
}

.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(30, 18, 51, 0.35);
  display: block;
}

.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
  font-size: 0.96rem;
  white-space: nowrap;
  transition: color .15s;
}

.nav-links a:hover {
  color: var(--lime);
}

.nav-cta {
  background: var(--lime);
  color: var(--ink);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 5px;
}

.lang-link {
  color: rgba(255, 255, 255, 0.5);
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  transition: color .15s;
}

.lang-link:hover,
.lang-link.active {
  color: var(--lime);
}

.lang-sep {
  color: rgba(255, 255, 255, 0.22);
  font-size: 0.75rem;
  user-select: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--purple);
  color: #fff;
  padding: 96px 0 130px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.1rem);
  color: #fff;
}

.hero h1 em {
  font-style: normal;
  color: var(--lime);
}

.hero .sub {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  color: var(--lime);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-top: 6px;
  display: block;
}

.hero p.lead {
  margin-top: 22px;
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 44px;
  flex-wrap: wrap;
}

.hero-stats div strong {
  display: block;
  font-family: 'Fredoka', sans-serif;
  font-size: 1.6rem;
  color: var(--lime);
}

.hero-stats div span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

/* bubble stack illustration */
.bubble-stack {
  position: relative;
  height: 420px;
}

.bubble {
  position: absolute;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px 22px;
  border-radius: 26px;
  box-shadow: var(--shadow);
  line-height: 1.15;
}

.bubble::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 0 0 0 22px;
}

.b1 {
  background: var(--lime);
  color: var(--ink);
  top: 0;
  right: 20px;
  width: 200px;
  font-size: 1.15rem;
  transform: rotate(-4deg);
}

.b1::after {
  background: var(--lime);
  bottom: -8px;
  left: 38px;
  transform: rotate(45deg);
}

.b2 {
  background: #fff;
  color: var(--purple-deep);
  top: 130px;
  left: 0;
  width: 190px;
  font-size: 1.05rem;
  transform: rotate(3deg);
}

.b2::after {
  background: #fff;
  bottom: -8px;
  right: 44px;
  transform: rotate(-45deg);
}

.b3 {
  background: var(--terracotta);
  color: #fff;
  top: 250px;
  right: 40px;
  width: 170px;
  font-size: 1.05rem;
  transform: rotate(-2deg);
}

.b3::after {
  background: var(--terracotta);
  top: -8px;
  left: 38px;
  transform: rotate(45deg);
}

.b4 {
  background: var(--purple-deep);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  top: 330px;
  left: 30px;
  width: 160px;
  font-size: 0.95rem;
  transform: rotate(5deg);
}

.b4::after {
  display: none;
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  line-height: 0;
}

/* ---------- Struggle section ---------- */
.struggle {
  background: var(--cream);
  padding: 100px 0 90px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 52px;
}

.section-head .kicker {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.82rem;
  margin-bottom: 10px;
  display: block;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  color: var(--ink);
}

.section-head p {
  margin-top: 16px;
  color: #514868;
  font-size: 1.05rem;
}

.feel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feel-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 26px 20px;
  text-align: center;
  box-shadow: 0 10px 26px -16px rgba(30, 18, 51, 0.18);
  border: 1px solid rgba(90, 23, 224, 0.08);
}

.feel-card .emoji {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.feel-card strong {
  font-family: 'Fredoka', sans-serif;
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 1.02rem;
}

.feel-card span {
  font-size: 0.9rem;
  color: #6b6183;
}

.struggle-quote {
  margin-top: 56px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 38px 42px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.struggle-quote .script {
  color: var(--lime);
  font-size: 1.9rem;
  flex: 1;
  min-width: 260px;
}

.struggle-quote p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 380px;
}

/* ---------- Event formats ---------- */
.event-types {
  background: var(--cream);
  padding: 100px 0 30px;
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.format-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(90, 23, 224, 0.08);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.format-card.featured {
  background: var(--ink);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
}

.format-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--purple-10);
  font-size: 1.45rem;
}

.format-card.featured .format-icon {
  background: rgba(255, 255, 255, 0.12);
}

.format-day {
  display: inline-flex;
  align-self: flex-start;
  background: var(--lime);
  color: var(--ink);
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

.format-card h3 {
  font-size: 1.3rem;
}

.format-card p {
  color: #5c5375;
  font-size: 0.96rem;
}

.format-card.featured p {
  color: rgba(255, 255, 255, 0.76);
}

.event-note {
  margin-top: 28px;
  background: rgba(90, 23, 224, 0.08);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.event-note p {
  color: #514868;
  max-width: 680px;
}

.event-note strong {
  color: var(--ink);
}

/* ---------- What happens ---------- */
.approach {
  background: var(--purple);
  color: #fff;
  padding: 100px 0;
  position: relative;
}

.approach .section-head .kicker {
  color: var(--lime);
}

.approach .section-head h2 {
  color: #fff;
}

.approach .section-head p {
  color: rgba(255, 255, 255, 0.78);
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.approach-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 28px 24px;
}

.approach-card .tag {
  display: inline-block;
  background: var(--lime);
  color: var(--ink);
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.approach-card h3 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 10px;
}

.approach-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.games-panel {
  position: relative;
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 40px 40px 34px;
  box-shadow: 0 26px 60px -28px rgba(30, 18, 51, 0.6);
  margin-bottom: 56px;
  overflow: hidden;
}

/* playful speech-bubble accent, echoing the site's throughline motif */
.games-panel::before {
  content: "";
  position: absolute;
  top: -46px;
  right: -30px;
  width: 150px;
  height: 150px;
  background: var(--purple-10);
  border-radius: 50% 50% 50% 8px;
  transform: rotate(12deg);
  pointer-events: none;
}

.games-panel h3 {
  position: relative;
  font-size: 1.55rem;
  margin-bottom: 10px;
}

.games-panel>p {
  position: relative;
  color: #5c5375;
  max-width: 720px;
  margin-bottom: 26px;
}

.game-levels {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.game-level {
  --accent: var(--purple);
  --accent-soft: var(--purple-10);
  --fill: 26px;
  position: relative;
  background: #fff;
  border: 1px solid rgba(90, 23, 224, 0.10);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 22px 20px 20px;
  box-shadow: 0 12px 28px -22px rgba(30, 18, 51, 0.55);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.game-level:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 38px -22px rgba(30, 18, 51, 0.6);
}

.game-level-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.game-level strong {
  display: inline-flex;
  align-items: center;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 13px;
  border-radius: var(--radius-pill);
}

/* intensity meter — 4 dots, filled up to the tier's level */
.game-dots {
  position: relative;
  flex: none;
  width: 47px;
  height: 8px;
  background-image: radial-gradient(circle at 4px 50%, rgba(30, 18, 51, 0.15) 3.2px, transparent 3.6px);
  background-size: 13px 8px;
  background-repeat: repeat-x;
}

.game-dots::before {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--fill);
  background-image: radial-gradient(circle at 4px 50%, var(--accent) 3.2px, transparent 3.6px);
  background-size: 13px 8px;
  background-repeat: repeat-x;
}

.game-level span {
  color: #6b6183;
  font-size: 0.9rem;
  line-height: 1.55;
}

.game-level.lv1 {
  --accent: var(--lime-deep);
  --accent-soft: rgba(169, 222, 59, 0.22);
  --fill: 13px;
}

.game-level.lv2 {
  --accent: var(--purple);
  --accent-soft: var(--purple-10);
  --fill: 26px;
}

.game-level.lv3 {
  --accent: var(--terracotta);
  --accent-soft: rgba(206, 124, 92, 0.18);
  --fill: 39px;
}

.game-level.lv4 {
  --accent: var(--purple-deep);
  --accent-soft: rgba(53, 12, 158, 0.12);
  --fill: 47px;
}

.inclusion-head {
  margin-top: 0;
}

/* ---------- How it looks (photo gallery) ---------- */
.howitlooks {
  background: var(--paper);
  padding: 90px 0;
}

.gallery-credit {
  font-size: 0.72rem;
  color: #b3aec2;
  text-align: right;
  margin-top: 10px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.gallery-item {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--purple-10);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 38px -22px rgba(30, 18, 51, 0.6);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  background: rgba(30, 18, 51, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-figure {
  margin: 0;
  max-width: 90vw;
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 78vh;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.6);
}

.lightbox-caption {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  text-align: center;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-close {
  top: 24px;
  right: 24px;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

body.no-scroll {
  overflow: hidden;
}

/* ---------- Testimonials ---------- */
.testimonials {
  background: var(--cream);
  padding: 100px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 28px 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 5px solid var(--purple);
}

.testimonials-grid .testimonial-card:nth-child(3n+2) {
  border-top-color: var(--lime);
}

.testimonials-grid .testimonial-card:nth-child(3n+3) {
  border-top-color: var(--terracotta);
}

.testimonial-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(30, 18, 51, 0.15);
}

.testimonial-name {
  display: block;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
}

.testimonial-meta {
  display: block;
  font-size: 0.78rem;
  color: #7a6f94;
  margin-top: 2px;
}

.testimonial-quote {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #3c3450;
  flex: 1;
}

.testimonial-link {
  align-self: flex-start;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--purple);
  text-decoration: none;
}

.testimonial-link:hover {
  text-decoration: underline;
}

/* ---------- Offerings ---------- */
.offerings {
  background: var(--cream);
  padding: 100px 0;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.offer-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 6px solid var(--lime);
}

.offer-card.alt {
  border-top-color: var(--terracotta);
}

.offer-card.alt2 {
  border-top-color: var(--purple);
}

.offer-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--purple-10);
  font-size: 1.5rem;
}

.offer-card h3 {
  font-size: 1.3rem;
}

.offer-card p {
  color: #5c5375;
  font-size: 0.98rem;
  flex: 1;
}

.offer-card .btn {
  align-self: flex-start;
  padding: 11px 22px;
  font-size: 0.92rem;
}

/* ---------- Meet the team ---------- */
.team {
  background: var(--cream);
  padding: 20px 0 40px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 8px;
}

.prose .team-grid {
  grid-template-columns: repeat(2, 1fr);
  margin: 22px 0 8px;
}

.team-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 16px 16px 20px;
  text-align: center;
}

.team-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  display: block;
}

.team-card h3 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--ink);
  margin: 0 0 4px;
}

.team-card .team-role {
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--ink);
  opacity: 0.68;
  margin: 0 0 10px;
}

.team-card .team-email {
  margin-top: auto;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--purple);
  overflow-wrap: anywhere;
}

.team-card .team-email:hover {
  color: var(--purple-deep);
}

@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .team-grid,
  .prose .team-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ---------- Join the team CTA ---------- */
.jointeam {
  background: var(--purple);
  color: #fff;
  padding: 100px 0;
}

.jointeam-inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.jointeam .section-head {
  margin-bottom: 0;
}

.jointeam .section-head .kicker {
  color: var(--lime);
}

.jointeam .section-head h2 {
  color: #fff;
}

.jointeam .section-head p {
  color: rgba(255, 255, 255, 0.82);
}

.jointeam-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.jointeam-media img {
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: block;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .jointeam-inner {
    grid-template-columns: 1fr;
  }

  .jointeam-media {
    order: -1;
  }
}

/* ---------- Proof band ---------- */
.proof {
  background: var(--lime);
  padding: 56px 0;
}

.proof-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.proof-stat strong {
  font-family: 'Fredoka', sans-serif;
  font-size: 2.6rem;
  color: var(--ink);
  display: block;
}

.proof-stat span {
  color: #3b4a12;
  font-weight: 600;
  font-size: 0.95rem;
}

.proof-quote {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--purple-deep);
  max-width: 420px;
}

.proof-quote span {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  color: #3b4a12;
  margin: 8px 0 14px;
}

.proof-quote .btn {
  font-size: 0.92rem;
  padding: 11px 22px;
}

/* ---------- Blog ---------- */
.blog {
  background: var(--cream);
  padding: 100px 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  display: block;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 26px -16px rgba(30, 18, 51, 0.18);
  border: 1px solid rgba(90, 23, 224, 0.08);
  transition: transform .18s ease, box-shadow .18s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px -16px rgba(30, 18, 51, 0.28);
}

.blog-thumb {
  height: 150px;
  background: linear-gradient(135deg, var(--purple), var(--purple-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fredoka', sans-serif;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.blog-card .body {
  padding: 22px;
}

.blog-card .cat {
  color: var(--purple);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.blog-card h3 {
  font-size: 1.08rem;
  margin-top: 8px;
  margin-bottom: 8px;
}

.blog-card p {
  font-size: 0.9rem;
  color: #655c7c;
}

/* ---------- CTA ---------- */
.cta {
  background: var(--ink);
  color: #fff;
  padding: 90px 0;
  text-align: center;
}

.cta h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  color: #fff;
  margin-bottom: 16px;
}

.cta p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 480px;
  margin: 0 auto 30px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-cta {
  background: var(--cream);
  color: var(--ink);
  padding: 82px 0;
  text-align: center;
}

.contact-cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin: 12px auto 16px;
  max-width: 680px;
}

.contact-cta p {
  color: #655c7c;
  max-width: 560px;
  margin: 0 auto 30px;
}

/* ---------- Blog listing + post pages ---------- */
.page-header {
  background: var(--purple);
  color: #fff;
  padding: 70px 0 60px;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 18px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
}

.breadcrumb a:hover {
  color: var(--lime);
}

.page-header h1 {
  font-size: clamp(2rem, 4.4vw, 3rem);
  color: #fff;
}

.page-header p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 520px;
  font-size: 1.05rem;
}

.post-meta {
  margin-top: 20px;
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.post-meta .cat {
  background: var(--lime);
  color: var(--ink);
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
}

.post-meta .date {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
}

.listing {
  background: var(--cream);
  padding: 70px 0 100px;
}

.article {
  background: var(--cream);
  padding: 70px 0 100px;
}

.prose {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 48px 52px;
  box-shadow: var(--shadow);
}

.prose h2 {
  font-size: 1.5rem;
  margin-top: 36px;
  margin-bottom: 14px;
  color: var(--ink);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  font-size: 1.03rem;
  color: #3a3350;
  margin-bottom: 16px;
}

.prose ul,
.prose ol {
  margin: 0 0 16px;
  padding-left: 22px;
  color: #3a3350;
}

.prose li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.prose strong {
  color: var(--ink);
}

.prose a[href] {
  color: var(--purple);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(90, 23, 224, 0.35);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

.prose a[href]:hover {
  color: var(--purple-deep);
  text-decoration-color: var(--purple);
}

.prose .callout {
  background: var(--purple-10);
  border-left: 4px solid var(--purple);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 22px 0;
  font-size: 0.98rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  color: var(--purple);
  font-size: 0.94rem;
  margin-bottom: 24px;
}

.back-link:hover {
  color: var(--purple-deep);
}

.post-footer-cta {
  max-width: 700px;
  margin: 36px auto 0;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.post-footer-cta h3 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 6px;
}

.post-footer-cta p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

@media (max-width: 700px) {
  .prose {
    padding: 32px 24px;
  }
}

/* ---------- Footer ---------- */
footer {
  background: var(--purple-deep);
  color: rgba(255, 255, 255, 0.8);
  padding: 50px 0 30px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
}

.footer-logo-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  display: block;
}

.footer-logo span {
  color: var(--lime);
}

.footer-links {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-links h4 {
  font-family: 'Fredoka', sans-serif;
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
}

.footer-links a:hover {
  color: var(--lime);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Nav collapse ----------
   The full link row needs ~1330px in Spanish (longest labels, incl. donate button), ~1250px in
   German. Collapse into the hamburger menu below 1360px so it never wraps
   or overlaps the logo, independent of the 900px layout breakpoint. */
@media (max-width: 1360px) {
  .nav-links {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    left: auto;
    min-width: 230px;
    background: var(--purple);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 14px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links .nav-cta {
    align-self: stretch;
    text-align: center;
    margin-top: 6px;
  }

  .menu-toggle {
    display: block;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .bubble-stack {
    height: 280px;
    margin-top: 20px;
  }

  .feel-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .format-grid {
    grid-template-columns: 1fr;
  }

  .game-levels {
    grid-template-columns: 1fr 1fr;
  }

  .approach-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .offer-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .feel-grid {
    grid-template-columns: 1fr 1fr;
  }

  .event-types {
    padding-top: 70px;
  }

  .games-panel {
    padding: 26px 20px;
  }

  .game-levels {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 70px 0 90px;
  }

  .struggle-quote {
    padding: 28px 24px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .lightbox {
    padding: 20px;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover {
    transform: none;
  }

  .game-level {
    transition: none;
  }

  .game-level:hover {
    transform: none;
  }

  .gallery-item {
    transition: none;
  }

  .gallery-item:hover {
    transform: none;
  }

  .gallery-item:hover img {
    transform: none;
  }
}

/* ---------- Game library ---------- */
.game-lib-intro {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  font-size: 1.02rem;
}

.game-cat {
  margin-bottom: 60px;
  scroll-margin-top: 92px;
}

.game-cat:last-child {
  margin-bottom: 0;
}

.game-cat-head {
  max-width: 660px;
  margin-bottom: 24px;
}

.game-cat-head h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  color: var(--ink);
}

.game-cat-head p {
  margin-top: 10px;
  color: #655c7c;
  font-size: 0.98rem;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(156px, 1fr));
  gap: 16px;
}

.game-cell {
  display: flex;
  flex-direction: column;
}

/* per-category accent */
#warmup .game-card {
  --cat: var(--lime-deep);
  --cat-soft: rgba(169, 222, 59, 0.20);
}

#easy .game-card {
  --cat: var(--purple);
  --cat-soft: var(--purple-10);
}

#medium .game-card {
  --cat: var(--terracotta);
  --cat-soft: rgba(206, 124, 92, 0.16);
}

#advanced .game-card {
  --cat: var(--purple-deep);
  --cat-soft: rgba(53, 12, 158, 0.12);
}

.game-card {
  --cat: var(--purple);
  --cat-soft: var(--purple-10);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  flex: 1;
  padding: 18px 16px;
  text-align: left;
  background: var(--paper);
  border: 1px solid rgba(90, 23, 224, 0.10);
  border-top: 3px solid var(--cat);
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 10px 26px -18px rgba(30, 18, 51, 0.20);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  font: inherit;
  color: inherit;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px -18px rgba(30, 18, 51, 0.30);
}

.game-card:focus-visible {
  outline: 3px solid var(--cat);
  outline-offset: 3px;
}

.game-card-emoji {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--cat-soft);
  font-size: 1.7rem;
  line-height: 1;
}

.game-card-title {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.3;
  color: var(--ink);
}

.game-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--cat-soft);
  color: var(--cat);
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
}

/* Game library: games that can be played online (data-play). The card starts the game,
   the small "i" in the corner opens the rules card in the lightbox. */
.game-cell {
  position: relative;
}

.game-card-play {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--lime);
  color: var(--ink);
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

.game-card-rules {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(90, 23, 224, 0.18);
  background: var(--paper);
  color: var(--purple);
  font: italic 700 0.95rem/1 'Fredoka', sans-serif;
  cursor: pointer;
  z-index: 1;
}

.game-card-rules:hover,
.game-card-rules:focus-visible {
  background: var(--purple);
  color: #fff;
  outline: none;
}

.game-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin: 0 0 32px;
  padding: 14px 18px;
  background: var(--paper);
  border: 1px solid rgba(90, 23, 224, 0.10);
  border-radius: var(--radius-md);
}

.game-filter[hidden],
.game-cat[hidden],
.game-cell[hidden] {
  display: none;
}

.game-filter-note {
  flex: 1 1 260px;
  margin: 0;
  color: #655c7c;
  font-size: 0.9rem;
}

.game-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  min-height: 44px;
}

.game-switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.game-switch-track {
  position: relative;
  width: 46px;
  height: 26px;
  border-radius: var(--radius-pill);
  background: rgba(30, 18, 51, 0.18);
  transition: background 0.18s ease;
  flex: none;
}

.game-switch-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(30, 18, 51, 0.3);
  transition: transform 0.18s ease;
}

.game-switch input:checked + .game-switch-track {
  background: var(--purple);
}

.game-switch input:checked + .game-switch-track::after {
  transform: translateX(20px);
}

.game-switch input:focus-visible + .game-switch-track {
  outline: 3px solid var(--lime);
  outline-offset: 2px;
}

.lightbox-play-btn {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  background: var(--lime);
  color: var(--ink);
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

.lightbox-play-btn[hidden] {
  display: none;
}

/* Deck request lives in the lightbox, under the card image.
   It does NOT open a mailto: it closes the lightbox and scrolls to #deck-request. */
.lightbox-deck-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius-pill);
  background: var(--lime);
  color: var(--ink);
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.lightbox-deck-btn[hidden] {
  display: none;
}

.quiet-mail {
  color: var(--purple);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lightbox-deck-btn::before {
  content: "\2709\FE0F";
}

.lightbox-deck-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -8px rgba(169, 222, 59, 0.7);
}

/* Homepage: category tiles inside .games-panel */
.games-panel > p a {
  color: var(--purple);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

a.game-level {
  display: block;
  color: inherit;
  text-decoration: none;
}

.game-level-emoji {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-soft);
  font-size: 1.7rem;
  line-height: 1;
  margin-bottom: 14px;
}

.game-level .game-level-link {
  display: inline-block;
  margin-top: 10px;
  font-weight: 600;
  color: var(--accent);
  font-size: 0.86rem;
}

@media (max-width: 560px) {
  .game-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .game-card {
    padding: 16px 13px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .game-card,
  .lightbox-deck-btn {
    transition: none;
  }

  .game-card:hover,
  .lightbox-deck-btn:hover {
    transform: none;
  }
}

/* ---------- Worksheets (Arbeitsblätter) overview ---------- */
.worksheet-intro {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  font-size: 1.02rem;
}

.worksheet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.worksheet-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 22px 22px 24px;
  text-align: left;
  background: var(--paper);
  border: 1px solid rgba(90, 23, 224, 0.10);
  border-top: 3px solid var(--lime);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 26px -18px rgba(30, 18, 51, 0.20);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  text-decoration: none;
  color: inherit;
}

.worksheet-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px -18px rgba(30, 18, 51, 0.30);
}

.worksheet-card:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
}

.worksheet-card-title {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1.12rem;
  line-height: 1.3;
  color: var(--ink);
}

.worksheet-card-topic {
  font-size: 0.92rem;
  color: #655c7c;
  line-height: 1.45;
}

.level-badge {
  display: inline-flex;
  align-items: center;
  background: var(--ink);
  color: #fff;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
}

.worksheet-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.tag-chip {
  background: var(--purple-10);
  color: var(--purple);
  font-size: 0.76rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.worksheet-empty {
  color: #655c7c;
  font-size: 0.98rem;
}

@media (prefers-reduced-motion: reduce) {
  .worksheet-card {
    transition: none;
  }

  .worksheet-card:hover {
    transform: none;
  }
}
/* ---------- Erstes Mal im Sprachcafé: hero teaser + Mittwoch section ---------- */
.hero-video {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 10px 0 24px;
}

.phone-frame {
  position: relative;
  width: min(260px, 100%);
  aspect-ratio: 9 / 16;
  border-radius: 34px;
  border: 6px solid #fff;
  background: var(--ink);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: rotate(2deg);
}

.phone-frame video,
.phone-frame .video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-video .bubble {
  z-index: 2;
  font-size: 1rem;
}

.hero-video .hv-1 {
  top: 24px;
  left: 0;
  width: 150px;
  background: var(--lime);
  color: var(--ink);
  transform: rotate(-5deg);
}

.hero-video .hv-1::after {
  background: var(--lime);
  bottom: -8px;
  right: 30px;
  transform: rotate(-45deg);
}

.hero-video .hv-2 {
  bottom: 70px;
  right: 0;
  width: 150px;
  background: #fff;
  color: var(--purple-deep);
  transform: rotate(4deg);
}

.hero-video .hv-2::after {
  background: #fff;
  top: -8px;
  left: 30px;
  transform: rotate(45deg);
}

.hero-video-btn {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  white-space: nowrap;
  font-size: 0.9rem;
  padding: 10px 20px;
}

.mittwoch {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.8);
  padding: 100px 0;
}

.mittwoch .section-head .kicker {
  color: var(--lime);
}

.mittwoch .section-head h2 {
  color: #fff;
}

.mittwoch .section-head p {
  color: rgba(255, 255, 255, 0.78);
}

.mittwoch-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: center;
}

.mittwoch-player {
  width: 100%;
  transform: rotate(-2deg);
}

.mittwoch-player .phone-frame {
  width: 100%;
  transform: none;
}

.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 28px;
  border: 0;
  cursor: pointer;
  background: linear-gradient(to top, rgba(30, 18, 51, 0.55), transparent 45%);
  z-index: 1;
}

.video-play span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lime);
  color: var(--ink);
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow);
}

.video-play:hover span {
  background: var(--lime-deep);
}

.mittwoch-player.playing .video-play {
  display: none;
}

.mittwoch-steps {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 16px;
}

.mittwoch-steps li {
  position: relative;
  background: rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 18px 22px 18px 74px;
}

.mittwoch-steps .step-num {
  position: absolute;
  left: 18px;
  top: 16px;
  width: 40px;
  height: 40px;
  border-radius: 14px 14px 14px 4px;
  background: var(--lime);
  color: var(--ink);
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mittwoch-steps li:nth-child(2) .step-num {
  background: #fff;
}

.mittwoch-steps li:nth-child(3) .step-num {
  background: var(--terracotta);
  color: #fff;
}

.mittwoch-steps h3 {
  color: #fff;
  font-size: 1.1rem;
  margin: 0 0 4px;
}

.mittwoch-steps p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}

.mittwoch-quote {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--lime);
  margin: 0 0 24px;
  line-height: 1.2;
}

.mittwoch-actions {
  margin-top: 32px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.mittwoch-note {
  margin: 18px 0 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 900px) {
  .hero-video {
    margin-top: 10px;
  }

  .mittwoch {
    padding: 70px 0;
  }

  .mittwoch-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .mittwoch-player {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    transform: none;
  }
}

@media (max-width: 560px) {
  .mittwoch .wrap {
    padding-left: 10px;
    padding-right: 10px;
  }

  .mittwoch .section-head {
    padding: 0 8px;
  }

  .mittwoch-grid > div:last-child {
    padding: 0 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .phone-frame,
  .mittwoch-player {
    transform: none;
  }
}

.event-note-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- Calendar teaser (homepage) ---------- */
.cal-teaser {
  margin-top: 28px;
  margin-bottom: 70px;
  background: var(--paper);
  border-radius: var(--radius-lg);
  border-top: 5px solid var(--lime);
  box-shadow: var(--shadow);
  padding: 30px 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cal-teaser-text {
  max-width: 680px;
}

.cal-teaser .kicker {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.82rem;
  display: block;
  margin-bottom: 8px;
}

.cal-teaser h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.cal-teaser p {
  color: #514868;
}

/* ---------- Sprachmut App (Spielevorschau auf der Spielebibliothek) ---------- */
.app-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: center;
  gap: 40px;
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 36px 40px;
  margin-bottom: 56px;
}

.app-feature-tag {
  display: inline-block;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
  background: var(--purple-10);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  margin-bottom: 12px;
}

.app-feature h2 {
  margin-bottom: 10px;
}

.app-feature p {
  color: #655c7c;
  margin-bottom: 14px;
}

.app-feature ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 0.95rem;
}

.app-feature li::before {
  content: "✓";
  color: var(--lime-deep);
  font-weight: 700;
  margin-right: 8px;
}

.app-feature-demo {
  position: relative;
  margin: 0;
  justify-self: center;
  width: 100%;
  max-width: 380px;
  border-radius: 28px;
  overflow: hidden;
  background: var(--purple);
  box-shadow: var(--shadow);
}

.app-feature-demo video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
}

@media (max-width: 760px) {
  .app-feature {
    grid-template-columns: 1fr;
    padding: 28px 22px;
    gap: 28px;
  }

  .app-feature-demo {
    order: -1;
    max-width: 340px;
  }
}

/* ---------- Spenden-Baustein (donation call-to-action, all locales) ----------
   Banner: homepage, about, calendar. Line: footer of every page + under the
   Sprachcafé. All of them link to the locale's donation page. */
.smd-section {
  padding: 0 0 70px;
  background: var(--cream);
}

.smd-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  background: var(--purple);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  box-shadow: 0 6px 18px rgba(53, 12, 158, 0.18);
}

.smd-banner .smd-icon {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #fff;
  padding: 5px;
  transform: rotate(-6deg);
}

.smd-banner .smd-text {
  flex: 1 1 220px;
  min-width: 0;
  display: grid;
  gap: 2px;
}

.smd-banner .smd-title {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1.1;
}

.smd-banner .smd-title span {
  color: var(--lime);
}

.smd-banner .smd-sub {
  font-size: 0.92rem;
  opacity: 0.9;
}

.smd-btn {
  display: inline-flex;
  align-items: center;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  background: var(--lime);
  color: var(--ink);
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease;
}

.smd-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -8px rgba(169, 222, 59, 0.7);
}

.smd-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  font-size: 0.92rem;
  margin: 0;
}

.smd-line .smd-chip {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px 10px 10px 10px;
  background: var(--lime);
}

.smd-line a {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  color: var(--purple);
  border-bottom: 2px solid var(--lime);
}

.smd-line a:hover {
  border-bottom-color: var(--purple);
}

.smd-on-dark {
  color: rgba(255, 255, 255, 0.8);
}

.smd-on-dark a {
  color: var(--lime);
  border-bottom-color: transparent;
}

.smd-on-dark a:hover {
  border-bottom-color: var(--lime);
}

footer .smd-line {
  padding: 22px 0 0;
}

@media (max-width: 560px) {
  .smd-banner .smd-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .smd-btn {
    transition: none;
  }

  .smd-btn:hover {
    transform: none;
  }
}

.smd-section-tight {
  padding-top: 20px;
}

.smd-in-cafe {
  margin-top: 8px;
}

/* Quiet outline donate button in the nav, next to the lime event button */
.nav-donate {
  border: 2px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
}

.nav-links a.nav-donate:hover {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
}

@media (max-width: 1360px) {

  /* Both buttons: full menu width, same size, with room above and between */
  .nav-links li:has(> .nav-donate),
  .nav-links li:has(> .nav-cta) {
    align-self: stretch;
  }

  .nav-links li:has(> .nav-donate) {
    margin-top: 10px;
  }

  .nav-links .nav-donate,
  .nav-links .nav-cta {
    display: block;
    text-align: center;
    margin-top: 0;
    padding: 12px 20px;
  }
}

/* The full link row (incl. donate button) is wider than the 1160px content
   column, so give the nav a little more room once the hamburger is off. */
@media (min-width: 1361px) {
  .nav {
    max-width: 1340px;
  }
}
