/* ══════════════════════════════════════
   css/main.css — Spielgruppe Rägeboge
══════════════════════════════════════ */

/* ROOT & RESET */
:root {
  --sun:      #FFD166;
  --sky:      #06B6D4;
  --grass:    #4ADE80;
  --berry:    #F472B6;
  --plum:     #7C3AED;
  --white:    #FFFDF7;
  --dark:     #1E1B2E;
  --mid:      #6B7280;
  --radius:   2rem;
  --lavender: #e8dff5;
  --shadow:   0 6px 28px rgba(100,80,140,.1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', sans-serif;
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--white); }
::-webkit-scrollbar-thumb { background: var(--plum); border-radius: 99px; }

/* ── CURSOR SPARKLE ── */
.sparkle {
  position: fixed; pointer-events: none;
  width: 10px; height: 10px; border-radius: 50%;
  z-index: 9999; animation: sparkle-out .55s ease-out forwards;
}
@keyframes sparkle-out {
  0%   { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0) translateY(-18px); opacity: 0; }
}

/* ── NAV ── */
nav#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,253,247,.93);
  backdrop-filter: blur(14px);
  border-bottom: 2px solid var(--sun);
  padding: .7rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  transition: box-shadow .3s;
}
nav#navbar.scrolled { box-shadow: 0 4px 20px rgba(124,58,237,.14); }
.nav-logo img { height: 42px; width: auto; display: block; }

.nav-links { display: flex; gap: 1.4rem; list-style: none; align-items: center; }
.nav-links a {
  text-decoration: none; color: var(--mid); font-weight: 700; font-size: .88rem;
  transition: color .2s; padding: .25rem .1rem; border-bottom: 2px solid transparent;
}
.nav-links a:hover,
.nav-links a.active { color: var(--plum); border-bottom-color: var(--plum); }
.nav-cta {
  background: var(--plum) !important; color: white !important;
  padding: .4rem 1.1rem !important; border-radius: 2rem !important;
  font-weight: 900 !important; border-bottom: none !important;
  transition: transform .2s, background .2s !important;
}
.nav-cta:hover { background: #5b22c9 !important; transform: scale(1.05); }
.nav-cta.active { background: #5b22c9 !important; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span {
  display: block; width: 26px; height: 3px;
  background: var(--plum); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; top: 65px; left: 0; right: 0;
  background: var(--white); z-index: 999; padding: 1.2rem 1.5rem;
  box-shadow: 0 12px 32px rgba(0,0,0,.1); flex-direction: column; gap: .7rem;
  border-bottom: 2px solid var(--sun);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  text-decoration: none; color: var(--dark); font-weight: 700; font-size: 1rem;
  padding: .7rem 1rem; border-radius: .75rem; transition: background .2s;
}
.mobile-menu a:hover { background: var(--lavender); color: var(--plum); }
.mobile-menu .m-cta {
  background: var(--plum); color: white !important; text-align: center; border-radius: 2rem;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

/* ── BUTTONS ── */
.btn {
  display: inline-block; padding: .82rem 1.85rem; border-radius: 99px;
  font-weight: 800; font-size: .93rem; text-decoration: none;
  font-family: 'Nunito', sans-serif;
  transition: transform .2s, box-shadow .2s; cursor: pointer; border: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.btn-sun           { background: var(--sun);   color: var(--dark); }
.btn-outline-white { background: transparent; border: 2.5px solid rgba(255,255,255,.8); color: var(--white); }
.btn-primary       { background: var(--plum);  color: #fff; }
.btn-white         { background: var(--white); color: var(--plum); }
.btn-sky           { background: var(--sky);   color: #fff; }
.btn-outline       { background: transparent; border: 2px solid var(--plum); color: var(--plum); }
.btn-outline:hover { background: var(--plum); color: white; }

/* ── LAYOUT ── */
section { padding: 5rem 1.5rem; }
.container { max-width: 900px; margin: 0 auto; }
.section-label {
  display: inline-block; font-size: .68rem; font-weight: 800;
  letter-spacing: .2em; text-transform: uppercase; color: var(--plum); margin-bottom: .5rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 700;
  line-height: 1.15; color: var(--dark); margin-bottom: 1.25rem;
}
.section-title em { font-style: italic; color: var(--plum); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── HERO ── */
#hero {
  position: relative; display: flex;
  align-items: flex-end; min-height: 100svh;
}
.hero-image {
  position: absolute; inset: 0;
  background: url('/images/hero.webp') center 25% / cover no-repeat; z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 45%, rgba(0,0,0,.18) 70%, rgba(0,0,0,.30) 100%);
}
.hero-content {
  position: relative; z-index: 3;
  padding: 0 1.5rem 4rem 3rem;
  width: 100%; max-width: 500px;
  will-change: transform, opacity;
}
@media (max-width: 767px) {
  .hero-content { padding: 0 1rem 2.5rem 1rem; max-width: 100%; transform: none !important; opacity: 1 !important; }
}
.hero-textbox {
  background: rgba(255,253,247,.18);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255,255,255,.38); border-radius: 2rem; padding: 2rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.4);
}
.hero-badge {
  display: inline-block; background: var(--sun); color: var(--dark);
  font-size: .73rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  padding: .38rem 1rem; border-radius: 99px; margin-bottom: 1.25rem;
  animation: fadeUp .6s .05s ease both;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 8vw, 4.4rem); font-weight: 700; line-height: 1.05;
  color: var(--dark); animation: fadeUp .6s .12s ease both;
}
.hero-title em { font-style: italic; color: var(--plum); }
.hero-sub {
  margin-top: 1rem; font-size: 1.02rem; color: #374151; line-height: 1.7;
  animation: fadeUp .6s .2s ease both;
}
.hero-ctas { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: .75rem; animation: fadeUp .6s .28s ease both; }
.rainbow-line {
  margin-top: 2.25rem; height: 5px; border-radius: 99px; max-width: 340px;
  background: linear-gradient(90deg, #F472B6, #FB923C, #FBBF24, #4ADE80, #38BDF8, #818CF8, #F472B6);
  background-size: 300% 100%;
  animation: rainbowSlide 5s linear infinite, fadeUp .6s .36s ease both;
}
@keyframes rainbowSlide {
  0%   { background-position: 0% center; }
  100% { background-position: 300% center; }
}
.scroll-hint {
  position: absolute; bottom: 1.2rem; right: 2rem; z-index: 11;
  display: flex; flex-direction: column; align-items: center; gap: .3rem;
  color: rgba(255,255,255,.75); font-size: .78rem; font-weight: 700;
  animation: bounce-hint 2s ease-in-out infinite;
  pointer-events: none; transition: opacity .4s;
}
.scroll-hint svg { width: 18px; height: 18px; }
@keyframes bounce-hint { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (max-width: 767px) { .scroll-hint { display: none; } }

/* ── PHILOSOPHIE ── */
#philosophie { background: var(--dark); color: var(--white); }
#philosophie .section-label { color: var(--sun); }
#philosophie .section-title { color: var(--white); }
#philosophie .section-title em { color: var(--sun); }
.cards-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: 2rem; }
@media (min-width: 560px) { .cards-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 860px) { .cards-grid { grid-template-columns: repeat(3,1fr); } }
.card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 1.75rem; transition: transform .2s, background .2s;
}
.card:hover { transform: translateY(-4px); background: rgba(255,255,255,.11); }
.card-icon { font-size: 2.2rem; margin-bottom: .75rem; }
.card h3 { font-size: 1rem; font-weight: 800; margin-bottom: .5rem; color: var(--white); }
.card p  { font-size: .87rem; color: rgba(255,255,255,.58); line-height: 1.65; }

/* ── ANGEBOT ── */
#angebot { background: #FFF7ED; }
.angebot-grid { margin-top: 2rem; display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .angebot-grid { grid-template-columns: repeat(2,1fr); } }
.angebot-card {
  background: var(--white); border-radius: var(--radius); padding: 1.75rem;
  position: relative; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,.06);
  transition: transform .2s, box-shadow .2s;
}
.angebot-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,.1); }
.angebot-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; }
.angebot-card.col1::before { background: var(--grass); }
.angebot-card.col2::before { background: var(--sky); }
.angebot-card.col3::before { background: var(--berry); }
.angebot-card.col4::before { background: var(--sun); }
.angebot-day  { font-size: .67rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--mid); margin-bottom: .4rem; }
.angebot-time { font-size: 1.45rem; font-weight: 900; color: var(--dark); }
.angebot-desc { font-size: .87rem; color: var(--mid); margin-top: .4rem; line-height: 1.55; }
.neu-badge {
  display: inline-block; background: var(--grass); color: var(--dark);
  font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: .2rem .65rem; border-radius: 99px; margin-bottom: .5rem;
}
.ausflug-box {
  margin-top: 2rem; background: var(--white); border-radius: var(--radius); padding: 1.75rem;
  border: 2px solid #EDE9FE; box-shadow: 0 4px 20px rgba(0,0,0,.05);
  font-size: .93rem; color: #4B5563; line-height: 1.7;
}

/* ── LEITUNG ── */
#leitung { background: linear-gradient(135deg, #EDE9FE 0%, #FAE8FF 100%); }
.leitung-card {
  margin-top: 2rem; background: var(--white); border-radius: var(--radius); padding: 2.5rem;
  display: flex; flex-direction: column; gap: 1.5rem;
  box-shadow: 0 8px 40px rgba(124,58,237,.12);
}
@media (min-width: 600px) { .leitung-card { flex-direction: row; align-items: center; } }
.leitung-avatar {
  width: 120px; height: 120px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--plum), var(--berry));
  display: grid; place-items: center; font-size: 3rem;
  box-shadow: 0 8px 24px rgba(124,58,237,.3);
}
.leitung-name { font-size: 1.6rem; font-weight: 900; color: var(--dark); margin-bottom: .3rem; }
.leitung-role { font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--plum); margin-bottom: .75rem; }
.leitung-bio  { font-size: .93rem; color: #4B5563; line-height: 1.7; }

/* ── FAQ ── */
#faq { background: linear-gradient(160deg, #dbeafe 0%, #d1fae5 100%); }
.faq-list { margin-top: 2rem; display: flex; flex-direction: column; gap: .8rem; }
.faq-item {
  background: rgba(255,255,255,.75); border: 1.5px solid rgba(255,255,255,.9);
  border-radius: 1.1rem; overflow: hidden; transition: background .2s;
  backdrop-filter: blur(8px);
}
.faq-item.open { background: rgba(255,255,255,.95); }
.faq-q {
  width: 100%; background: none; border: none; color: var(--dark);
  font-family: 'Nunito', sans-serif; font-size: .97rem; font-weight: 800;
  padding: 1.05rem 1.3rem; text-align: left; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-icon {
  width: 24px; height: 24px; background: #e8dff5; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1rem; color: var(--plum);
  transition: transform .3s, background .2s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--plum); color: white; }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .3s;
  font-size: .92rem; color: var(--mid); line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 260px; padding: 0 1.3rem 1.1rem; }

/* ── KONTAKT ── */
#kontakt { background: var(--dark); color: var(--white); }
#kontakt .section-label { color: var(--sky); }
#kontakt .section-title { color: var(--white); }
#kontakt .section-title em { color: var(--sky); }
.kontakt-grid { margin-top: 2rem; display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .kontakt-grid { grid-template-columns: repeat(3,1fr); } }
.kontakt-item {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 1.75rem; text-align: center; transition: background .2s;
}
.kontakt-item:hover { background: rgba(255,255,255,.13); }
.kontakt-icon  { font-size: 2rem; margin-bottom: .75rem; }
.kontakt-label { font-size: .67rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.38); margin-bottom: .4rem; }
.kontakt-value { font-size: .93rem; font-weight: 700; color: var(--white); text-decoration: none; display: block; line-height: 1.5; }
.kontakt-value:hover { color: var(--sky); }
.anmeldung-box {
  margin-top: 2.5rem; background: var(--plum); border-radius: var(--radius); padding: 2.5rem; text-align: center;
}
.anmeldung-box h3 { font-size: 1.4rem; font-weight: 900; color: var(--white); margin-bottom: .6rem; }
.anmeldung-box p  { color: rgba(255,255,255,.75); font-size: .92rem; margin-bottom: 1.5rem; line-height: 1.65; }
.links-teaser { margin-top: 2rem; text-align: center; }
.links-teaser p { color: rgba(255,255,255,.45); font-size: .82rem; margin-bottom: .4rem; }
.links-teaser a {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--sky); font-weight: 700; font-size: .95rem; text-decoration: none;
  transition: color .2s; border: 1.5px solid rgba(6,182,212,.35);
  padding: .65rem 1.4rem; border-radius: 99px;
}
.links-teaser a:hover { color: #fff; background: rgba(6,182,212,.15); }

/* ── FOOTER ── */
footer { text-align: center; padding: 2rem 1.5rem; font-size: .82rem; color: var(--mid); border-top: 1px solid #E5E7EB; }
footer a { color: var(--plum); text-decoration: none; }

/* ── SCROLL TO TOP ── */
#scrolltop {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  background: var(--plum); color: white; border: none; border-radius: 50%;
  width: 46px; height: 46px; font-size: 1.2rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(124,58,237,.4); opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .2s; z-index: 900;
}
#scrolltop.visible { opacity: 1; pointer-events: all; }
#scrolltop:hover { transform: scale(1.1); }

/* ── PAGE HERO (subpages) ── */
.page-hero {
  padding: 9rem 1.5rem 4rem; text-align: center;
}
.page-hero .label {
  display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .2em;
  text-transform: uppercase; color: var(--plum); margin-bottom: .75rem;
  background: rgba(124,58,237,.1); padding: .35rem 1rem; border-radius: 99px;
}
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 6vw, 3.2rem); font-weight: 700; line-height: 1.1; color: var(--dark); margin-bottom: 1rem; }
.page-hero h1 em { font-style: italic; color: var(--plum); }
.page-hero p { font-size: 1rem; color: var(--mid); max-width: 540px; margin: 0 auto; line-height: 1.7; }

/* ── ANMELDUNG PAGE ── */
.info-strip { display: grid; gap: 1rem; grid-template-columns: repeat(3,1fr); margin-bottom: 3rem; }
@media (max-width: 600px) { .info-strip { grid-template-columns: 1fr; } }
.info-card {
  background: var(--white); border-radius: 1.25rem; padding: 1.25rem;
  border: 1.5px solid rgba(124,58,237,.12); text-align: center; box-shadow: 0 4px 16px rgba(0,0,0,.05);
}
.info-card .ic-icon { font-size: 1.8rem; margin-bottom: .4rem; }
.info-card .ic-label { font-size: .65rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--mid); margin-bottom: .25rem; }
.info-card .ic-val { font-size: .92rem; font-weight: 800; color: var(--dark); line-height: 1.4; }
.form-card {
  background: var(--white); border-radius: var(--radius); padding: 2.5rem;
  box-shadow: 0 8px 40px rgba(124,58,237,.1); border: 1.5px solid rgba(124,58,237,.1);
}
.form-section-title {
  font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700;
  color: var(--dark); margin: 2rem 0 1.2rem; padding-bottom: .5rem;
  border-bottom: 2px solid var(--lavender); display: flex; align-items: center; gap: .5rem;
}
.form-section-title:first-child { margin-top: 0; }
.form-row { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; margin-bottom: 1rem; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.form-group:last-child { margin-bottom: 0; }
.form-group label { font-size: .8rem; font-weight: 800; color: var(--dark); }
.form-group label .req { color: var(--plum); margin-left: 2px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea {
  font-family: 'Nunito', sans-serif; font-size: .95rem; color: var(--dark);
  background: #F9F7FF; border: 1.5px solid #DDD8F5; border-radius: .85rem;
  padding: .75rem 1rem; width: 100%; transition: border-color .2s, box-shadow .2s;
  outline: none; appearance: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--plum); box-shadow: 0 0 0 3px rgba(124,58,237,.12); }
textarea { resize: vertical; min-height: 100px; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237C3AED' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .85rem center; padding-right: 2.5rem; }
.gruppe-options { display: flex; flex-direction: column; gap: .75rem; margin-top: .2rem; }
.gruppe-option {
  display: flex; align-items: flex-start; gap: .85rem;
  background: #F9F7FF; border: 1.5px solid #DDD8F5; border-radius: 1rem;
  padding: 1rem 1.2rem; cursor: pointer; transition: border-color .2s, background .2s;
}
.gruppe-option:has(input:checked) { border-color: var(--plum); background: rgba(124,58,237,.06); }
.gruppe-option input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--plum); flex-shrink: 0; margin-top: .15rem; cursor: pointer; }
.gruppe-option .go-text .go-time { font-weight: 800; font-size: .95rem; color: var(--dark); }
.gruppe-option .go-text .go-detail { font-size: .82rem; color: var(--mid); margin-top: .15rem; }
.neue-gruppe-badge { display: inline-block; background: var(--grass); color: var(--dark); font-size: .6rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: .15rem .5rem; border-radius: 99px; margin-left: .5rem; vertical-align: middle; }
.consent-group { display: flex; flex-direction: column; gap: .6rem; margin-top: .2rem; }
.consent-item { display: flex; align-items: flex-start; gap: .75rem; padding: .85rem 1rem; background: #F9F7FF; border: 1.5px solid #DDD8F5; border-radius: 1rem; cursor: pointer; transition: border-color .2s; }
.consent-item:has(input:checked) { border-color: var(--plum); background: rgba(124,58,237,.05); }
.consent-item input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--plum); flex-shrink: 0; margin-top: .15rem; cursor: pointer; }
.consent-item span { font-size: .88rem; color: var(--dark); line-height: 1.55; }
.form-footer { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.btn-submit {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--plum); color: white; border: none; border-radius: 99px;
  padding: 1rem 2.5rem; font-family: 'Nunito', sans-serif; font-size: 1rem; font-weight: 900;
  cursor: pointer; transition: transform .2s, box-shadow .2s;
  box-shadow: 0 6px 24px rgba(124,58,237,.35);
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(124,58,237,.45); }
.form-hint { font-size: .8rem; color: var(--mid); text-align: center; line-height: 1.6; }
.form-hint a { color: var(--plum); }
.success-msg { display: none; text-align: center; padding: 3rem 2rem; }
.success-msg .s-icon { font-size: 4rem; margin-bottom: 1rem; }
.success-msg h3 { font-family: 'Playfair Display', serif; font-size: 1.8rem; margin-bottom: .75rem; }
.success-msg p { color: var(--mid); line-height: 1.7; }
.alt-box {
  margin-top: 2.5rem; border-radius: var(--radius); padding: 2rem; text-align: center;
  background: linear-gradient(135deg, #EDE9FE, #FAE8FF);
}
.alt-box h3 { font-size: 1rem; font-weight: 900; margin-bottom: .5rem; color: var(--dark); }
.alt-box p { font-size: .88rem; color: var(--mid); line-height: 1.6; margin-bottom: 1.25rem; }

/* ── LINKS PAGE ── */
.search-wrap { position: relative; margin-bottom: 2.5rem; }
.search-wrap input {
  font-family: 'Nunito', sans-serif; font-size: 1rem; color: var(--dark);
  width: 100%; padding: .9rem 1rem .9rem 3rem; border-radius: 99px;
  border: 2px solid #DDD8F5; background: #F9F7FF; outline: none; transition: border-color .2s, box-shadow .2s;
}
.search-wrap input:focus { border-color: var(--plum); box-shadow: 0 0 0 3px rgba(124,58,237,.12); }
.search-wrap .s-icon { position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%); font-size: 1.1rem; pointer-events: none; }
.category { margin-bottom: 3rem; }
.cat-header { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.25rem; padding-bottom: .6rem; border-bottom: 2px solid; }
.cat-header .cat-icon { font-size: 1.6rem; }
.cat-header h2 { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: var(--dark); }
.cat-header .cat-count { margin-left: auto; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--mid); }
.cat-spielgruppe .cat-header { border-color: var(--plum); }
.cat-erziehung   .cat-header { border-color: var(--sky); }
.cat-gesundheit  .cat-header { border-color: var(--grass); }
.cat-kinder      .cat-header { border-color: var(--berry); }
.cat-region      .cat-header { border-color: var(--sun); }
.links-grid { display: grid; gap: .85rem; grid-template-columns: 1fr; }
@media (min-width: 600px) { .links-grid { grid-template-columns: repeat(2,1fr); } }
.link-card {
  display: flex; align-items: flex-start; gap: 1rem;
  background: var(--white); border: 1.5px solid #E5E1F5; border-radius: 1.25rem;
  padding: 1.1rem 1.25rem; text-decoration: none; color: inherit;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.link-card:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(124,58,237,.12); border-color: var(--plum); }
.link-card .lc-icon { font-size: 1.8rem; flex-shrink: 0; margin-top: .1rem; }
.link-card .lc-body { flex: 1; min-width: 0; }
.link-card .lc-title { font-weight: 800; font-size: .95rem; color: var(--dark); margin-bottom: .25rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.link-card .lc-desc { font-size: .8rem; color: var(--mid); line-height: 1.5; }
.link-card .lc-url { font-size: .72rem; color: var(--plum); margin-top: .3rem; font-weight: 700; opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.link-card .lc-ext { margin-left: auto; flex-shrink: 0; font-size: .9rem; opacity: .35; padding-top: .15rem; }
.no-results { text-align: center; padding: 3rem 1rem; color: var(--mid); display: none; }
.no-results .nr-icon { font-size: 3rem; margin-bottom: .75rem; }
.link-card.hidden, .category.empty { display: none; }
.cta-box {
  background: linear-gradient(135deg, var(--plum) 0%, #9b59ec 100%);
  border-radius: var(--radius); padding: 2.5rem; text-align: center; margin-top: 1rem; color: white;
}
.cta-box h3 { font-family: 'Playfair Display', serif; font-size: 1.4rem; margin-bottom: .6rem; }
.cta-box p { opacity: .8; font-size: .92rem; line-height: 1.65; margin-bottom: 1.5rem; }
.btn-white-solid { display: inline-flex; align-items: center; gap: .4rem; background: white; color: var(--plum); font-weight: 900; font-size: .9rem; padding: .75rem 1.8rem; border-radius: 99px; text-decoration: none; transition: transform .2s; }
.btn-white-solid:hover { transform: scale(1.04); }

/* ── FOOTER GRID ── */
footer { background: var(--dark); color: rgba(255,255,255,.75); padding: 3.5rem 1.5rem 0; }
footer a { color: rgba(255,255,255,.65); text-decoration: none; transition: color .2s; }
footer a:hover { color: white; }
footer h4 { font-size: .78rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--sun); margin-bottom: 1rem; }
footer p  { font-size: .88rem; line-height: 1.7; }
.footer-grid {
  max-width: 900px; margin: 0 auto;
  display: grid; gap: 2.5rem; grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .footer-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 900px)  { .footer-grid { grid-template-columns: repeat(3,1fr); } }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.footer-col ul li a { font-size: .88rem; }
.footer-bottom {
  max-width: 900px; margin: 2.5rem auto 0;
  padding: 1.2rem 0; border-top: 1px solid rgba(255,255,255,.08);
  font-size: .75rem; color: rgba(255,255,255,.3); text-align: center;
}

/* ── MODAL ── */
.modal {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,.55); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 1rem;
}
.modal.show { display: flex; }
.modal-content {
  background: var(--white); border-radius: var(--radius); padding: 2.5rem;
  width: 100%; max-width: 480px; position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,.25);
  animation: fadeUp .3s ease both;
}
.modal-close {
  position: absolute; top: 1rem; right: 1.2rem;
  background: none; border: none; font-size: 1.6rem; cursor: pointer;
  color: var(--mid); line-height: 1; transition: color .2s;
}
.modal-close:hover { color: var(--dark); }
.modal-title { font-family: 'Playfair Display', serif; font-size: 1.5rem; margin-bottom: .25rem; color: var(--dark); }
.modal-subtitle { font-size: .88rem; color: var(--mid); margin-bottom: 1.5rem; }
.modal-form .form-group { margin-bottom: 1rem; }
.modal-form label { font-size: .8rem; font-weight: 800; color: var(--dark); display: block; margin-bottom: .35rem; }
.form-status-success { color: #15803d; font-size: .88rem; margin-top: .75rem; font-weight: 700; }
.form-status-error   { color: #dc2626; font-size: .88rem; margin-top: .75rem; font-weight: 700; }

/* ── CONTACT PAGE ── */
.contact-page { max-width: 720px; margin: 0 auto; padding: 2rem 1.5rem 5rem; }
.contact-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; margin-top: 2.5rem; }
@media (min-width: 640px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-card {
  background: var(--white); border: 1.5px solid rgba(124,58,237,.12);
  border-radius: 1.25rem; padding: 1.75rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.05);
}
.contact-card .cc-icon { font-size: 2rem; margin-bottom: .75rem; }
.contact-card h3 { font-size: 1rem; font-weight: 900; color: var(--dark); margin-bottom: .5rem; }
.contact-card p, .contact-card a { font-size: .9rem; color: var(--mid); line-height: 1.65; text-decoration: none; }
.contact-card a:hover { color: var(--plum); }
.contact-form-card {
  background: var(--white); border-radius: var(--radius); padding: 2.5rem;
  box-shadow: 0 8px 40px rgba(124,58,237,.1); border: 1.5px solid rgba(124,58,237,.1);
  margin-top: 2.5rem;
}
.contact-form-card h3 { font-family: 'Playfair Display', serif; font-size: 1.4rem; margin-bottom: 1.5rem; }