
/* =========================
   HERO
========================= */

.hero { position: relative; overflow: hidden; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 0 20px; color: white; background: linear-gradient(180deg, #d6b4ff 0%, #ffd6ea 100%); user-select: none; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: .35; }
.hero::before { width: 450px; height: 450px; background: #ffffff; top: -150px; left: -150px; }
.hero::after { width: 500px; height: 500px; background: #e9a8ff; bottom: -200px; right: -150px; }
.hero-content { position: relative; z-index: 2; width: 100%; max-width: 1000px; display: flex; justify-content: center; align-items: center; text-align: center; }
.hero-left { display: flex; flex-direction: column; align-items: center; gap: 22px; max-width: 1200px; -webkit-user-select: none; user-select: none; }
.hero-left h1 { margin: 0; max-width: 1200px; font-size: clamp(2.8rem, 6vw, 5rem); line-height: 1.08; font-weight: 450; color: white; text-shadow: 0 8px 25px rgba(120, 80, 180, .25); }
.hero-left p { margin: 0; max-width: 650px; font-size: 1.2rem; line-height: 1.8; font-weight: 400; color: rgba(255, 255, 255, .92); letter-spacing: .2px; }
.hero-btn { margin: 0 auto; text-align: center; display: inline-block; padding: 12px; background: rgba(0, 0, 0, .09); color: white; text-decoration: none; border-radius: 10px; transition: .3s; }
.hero-btn:hover { transform: translateY(-3px); }
.sky-element { position: absolute; pointer-events: none; }
.sun { top: 15%; left: 25%; width: 80px; height: 80px; background: #ffe082; border-radius: 50%; box-shadow: 0 0 15px rgba(255, 224, 130, .5); }
.cloud { width: 160px; height: 50px; top: 25%; right: 18%; background: #ffffff; border-radius: 50px; }
.cloud::before, .cloud::after { content: ''; position: absolute; background: #ffffff; border-radius: 50%; }
.cloud::before { width: 50px; height: 50px; top: -20px; left: 15px; }
.cloud::after { width: 70px; height: 70px; top: -35px; right: 20px; }
.star { color: #fff59d; font-size: 1.8rem; text-shadow: 0 0 4px rgba(255, 245, 157, .4); }
.star-1 { bottom: 30%; left: 25%; }
.star-2 { top: 15%; right: 38%; }
.star-3 { bottom: 35%; right: 28%; }
.star-4 { top: 35%; left: 35%; font-size: 1.4rem; }
.star-5 { bottom: 20%; left: 45%; font-size: 1.5rem; }
.star-6 { top: 45%; right: 32%; }
.dwarf-1 { top: 12%; left: 10%; }
.dwarf-2 { bottom: 12%; right: 22%; }
.toy-fire-car { bottom: 10%; left: 32%; }
.toy-blocks { bottom: 14%; right: 40%; }
.sun { animation: pulseSun 5s ease-in-out infinite alternate; }
.cloud { animation: floatCloud 9s ease-in-out infinite alternate; }
.star-1 { animation: twinkle 2.5s infinite ease-in-out; }
.star-2 { animation: twinkle 1.8s infinite ease-in-out .5s; }
.star-3 { animation: twinkle 3s infinite ease-in-out 1s; }
.star-4 { animation: twinkle 2.2s infinite ease-in-out .3s; }
.star-5 { animation: twinkle 2.8s infinite ease-in-out .7s; }
.star-6 { animation: twinkle 1.5s infinite ease-in-out 1.2s; }
.dwarf-1 { animation: dwarfBob 3.5s ease-in-out infinite; }
.dwarf-2 { animation: dwarfSway 4s ease-in-out infinite; }
.toy-fire-car { animation: driveSubtle 6s ease-in-out infinite alternate; }
.toy-blocks { animation: bounceSubtle 4s ease-in-out infinite; }
@keyframes pulseSun {
  0% { transform: scale(1); box-shadow: 0 0 15px rgba(255, 224, 130, .4); }
  100% { transform: scale(1.05); box-shadow: 0 0 25px rgba(255, 224, 130, .6); }
}
@keyframes floatCloud {
  0% { transform: translate(0, 0); }
  100% { transform: translate(40px, -15px); }
}
@keyframes twinkle {
  0%, 100% { opacity: .4; transform: scale(.8) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.1) rotate(15deg); }
}
@keyframes dwarfBob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(3deg); }
}
@keyframes dwarfSway {
  0%, 100% { transform: rotate(-5deg); }
  50% { transform: rotate(5deg); }
}
@keyframes driveSubtle {
  0% { transform: translateX(0) scaleX(1); }
  45% { transform: translateX(50px) scaleX(1); }
  50% { transform: translateX(50px) scaleX(-1); }
  95% { transform: translateX(0) scaleX(-1); }
  100% { transform: translateX(0) scaleX(1); }
}
@keyframes bounceSubtle {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.05); }
}
section { padding: 4rem 2rem; max-width: 900px; margin: 0 auto 4rem; min-height: 25vh; }
section h2 { text-align: center; user-select: none; color: var(--primary-color); margin-bottom: 3rem; font-size: 2rem; position: relative; -webkit-user-select: none; user-select: none; }
section h2::after { content: ''; position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%); width: 300px; height: 3px; background: linear-gradient(135deg, #f9d1ec, #e4bff8); border-radius: 2px; }
section .description { text-align: center; margin-bottom: 2rem; user-select: none; -webkit-user-select: none; user-select: none; }
section .main-btn { display: flex; align-items: center; gap: 6px; padding: 12px; margin: 0 auto; font-size: 16px; color: #fff; text-decoration: none; background: rgb(198, 172, 255); border: none; border-radius: 6px; transition: .25s ease; }
section .main-btn:hover { background: #b798f0; }
#photos { max-width: 1200px; margin: 40px auto; }
#photos h2 { color: #495867; }
.description { color: #777; margin-bottom: 20px; }
.gallery { position: relative; width: 100%; overflow: hidden; border-radius: 22px; }
.gallery-track { display: flex; gap: 16px; transition: transform .45s ease; }
.gallery-item { min-width: calc((100% - 32px) / 3); height: 430px; position: relative; overflow: hidden; border-radius: 20px; background: #eee; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: .3s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-info { position: absolute; left: 12px; right: 12px; bottom: 12px; background: rgba(255, 255, 255, .7); padding: 10px; border-radius: 12px; backdrop-filter: blur(8px); }
.gallery-title { color: #495867; font-size: 14px; }
.gallery-desc { color: #777; font-size: 12px; margin-top: 3px; }
.gallery-btn, .gallery-fs-btn, .gallery-close { background: rgba(203, 181, 245, .65); backdrop-filter: blur(8px); }
.gallery-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: none; border-radius: 50%; background: rgba(203, 181, 245, .65); backdrop-filter: blur(8px); color: white; cursor: pointer; z-index: 5; display: flex; align-items: center; justify-content: center; transition: .25s; }
.gallery-btn:hover { background: #d6c1fb; transform: translateY(-50%) scale(1.08); }
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }
.gallery-fullscreen { position: fixed; inset: 0; background: rgba(0, 0, 0, .9); display: none; align-items: center; justify-content: center; z-index: 9999; }
.gallery-fullscreen.open { display: flex; }
body:has(.gallery-fullscreen.open) { overflow: hidden; }
.gallery-fullscreen img { width: 95vw; height: 90vh; object-fit: contain; border-radius: 18px; }
.gallery-close { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border: none; border-radius: 50%; background: rgba(203, 181, 245, .65); backdrop-filter: blur(8px); color: white; cursor: pointer; font-size: 22px; }
.gallery-fs-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border: none; border-radius: 50%; background: rgba(203, 181, 245, .65); backdrop-filter: blur(8px); color: white; cursor: pointer; font-size: 22px; display: flex; align-items: center; justify-content: center; }
.gallery-fs-prev { left: 25px; }
.gallery-fs-next { right: 25px; }
.gallery-fs-btn:hover, .gallery-close:hover { background: #d6c1fb; }



.downloads { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; -webkit-user-select: none; user-select: none; }
.dl-card { background: #ffffff; border: 1px solid #eee; border-radius: 14px; padding: 14px 16px; box-shadow: 0 4px 14px rgba(128, 0, 128, .08); transition: all .2s ease; display: flex; flex-direction: column; gap: 12px; }
.dl-left { display: flex; align-items: center; gap: 12px; }
.dl-icon { width: 42px; height: 42px; background: #f3ecff; color: #d6b4de; display: flex; align-items: center; justify-content: center; font-size: 18px; border-radius: 50%; flex-shrink: 0; }
.dl-meta { display: flex; flex-direction: column; }
.dl-title { font-size: 15px; font-weight: 600; color: #495867; }
.dl-desc { font-size: 13px; color: #495867; margin-top: 2px; }
.dl-footer { width: 100%; }
.dl-btn { width: 100%; display: block; text-align: center; background: #d6b4de; color: #ffffff; border: none; padding: 10px 14px; border-radius: 10px; text-decoration: none; transition: all .2s ease; }
.dl-btn:hover { transform: translateY(-2px); }
.dl-btn:active { transform: scale(.98); }



.parent-guide { line-height: 25px; -webkit-user-select: none; user-select: none; }
.parent-guide .block { padding: 0 0 12px 0; }
.parent-guide .arrow { display: flex; letter-spacing: 8px; }
.parent-guide .arrow::before { content: "→ "; }
.parent-guide h3 { line-height: 40px; }
.parent-guide p { letter-spacing: .7px; }
.parent-guide a { text-decoration: underline; text-underline-offset: 6px; }
.parent-guide a:active { color: grey; }



.about { line-height: 25px; -webkit-user-select: none; user-select: none; }
.about h3 { line-height: 40px; }
.about p { letter-spacing: .7px; line-height: 28px; background: #f7f0f9; outline: 2px solid #dabbe1; border-radius: 10px; padding: 16px; }
.about a { text-decoration: underline; text-underline-offset: 6px; }
.about a:active { color: grey; }



.anmeldung { padding: 20px; background: #fff; border: 1px solid #eee; border-radius: 14px; box-shadow: 0 4px 14px rgba(128, 0, 128, .08); color: #495867; -webkit-user-select: none; user-select: none; }
.anmeldung-titel { margin: 0; color: #d6b4de; font-size: 22px; font-weight: 700; line-height: 1.3; }
.anmeldung-subtitel { margin: 6px 0 18px; color: #495867; font-size: 14px; line-height: 1.6; }
.anmeldung-schritt { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-bottom: 1px solid #eee; }
.anmeldung-schritt:last-of-type { border-bottom: none; }
.anmeldung-nummer { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: #d6b4de; color: #fff; border-radius: 50%; font-size: 14px; font-weight: 600; }
.anmeldung-inhalt { flex: 1; min-width: 0; line-height: 1.7; }
.anmeldung-text { margin: 2px 0 0; color: #495867; font-size: 14px; }
.anmeldung-hinweis { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid #eee; color: #777; font-size: 12px; line-height: 1.6; }
.anmeldung-link { color: #d6b4de; font-size: 14px; font-weight: 600; text-decoration: underline; }
.anmeldung-link:hover { color: #c49acb; }



.prog-grid { max-width: 900px; margin: auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; -webkit-user-select: none; user-select: none; }
.prog-item { background: #ffffff; border: 1px solid #eee; border-radius: 14px; padding: 14px 16px; box-shadow: 0 4px 14px rgba(128, 0, 128, .08); transition: all .2s ease; display: flex; flex-direction: column; gap: 14px; }
.prog-item:hover { transform: translateY(-2px); }
.prog-left { display: flex; align-items: center; gap: 12px; }
.prog-icon { width: 42px; height: 42px; border-radius: 50%; background: #f3ecff; display: flex; align-items: center; justify-content: center; color: #6b4fb3; font-size: 18px; flex-shrink: 0; }
.prog-meta { display: flex; flex-direction: column; }
.prog-title { font-size: 15px; font-weight: 600; color: #2b2b2b; }
.prog-desc { font-size: 13px; color: #6b6b6b; margin-top: 2px; }
.contact-container { display: flex; flex-direction: column; width: 100%; margin: 40px auto; background: rgba(255, 255, 255, .85); border-radius: 24px; box-shadow: 0 25px 60px rgba(120, 90, 180, .15); overflow: hidden; backdrop-filter: blur(10px); }
.contact-info { width: 100%; padding: 60px; background: #d6b4de; color: white; text-align: left; }
.contact-info h2 { font-size: 2rem; margin-bottom: 35px; }
.contact-form { width: 100%; padding: 50px; }
.info-item { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; }
.info-item i { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .25); border-radius: 14px; font-size: 1.3rem; flex-shrink: 0; }
.info-item .info-text { min-width: 0; }
.info-item .info-text h3 { margin: 0 0 5px; }
.info-item .info-text p { margin: 0; opacity: .9; overflow-wrap: anywhere; }
.info-item .info-text a { color: white; opacity: .9; text-decoration: underline; overflow-wrap: anywhere; }
.form-group { margin-bottom: 22px; width: 100%; }
.form-group label { display: block; margin-bottom: 8px; color: #333; }
.form-group input, .form-group textarea, .form-group select { box-sizing: border-box; width: 100%; padding: 14px 16px; border: 1px solid #e7e3ef; border-radius: 14px; background: #faf9ff; font-size: 15px; transition: .25s; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: #d6b4de; box-shadow: 0 0 0 3px rgba(214, 180, 222, .25); }
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group a { color: inherit; text-decoration: underline; }
.form-group input[type="checkbox"] { width: 18px; height: 18px; accent-color: #4f46e5; cursor: pointer; }
.checkbox-label { padding-left: 8px; color: #777; }
.submit-btn { border: none; background: #d6b4de; color: white; padding: 14px; border-radius: 14px; cursor: pointer; font-size: 15px; transition: .25s; box-shadow: 0 10px 25px rgba(128, 0, 128, .10); }
.submit-btn i { margin-right: 8px; }
.submit-btn:hover { transform: translateY(-2px); }
.submit-btn:active { transform: scale(.98); }
.captcha-box { display: flex; gap: 7px; }
.captcha-box img { border: 1px solid #ccc; max-width: 100%; }
.captcha-box input { height: 50px; }
.popup { position: fixed; right: 25px; bottom: 25px; background: white; color: #333; padding: 20px 45px 20px 20px; border-radius: 18px; width: 320px; display: none; box-shadow: 0 20px 50px rgba(0, 0, 0, .18); border-left: 5px solid #28a745; }
.popup.show { display: block; }
.popup button.close-btn { background: transparent; border: none; color: #777; font-size: 20px; position: absolute; top: 10px; right: 12px; cursor: pointer; }

@media (max-width: 768px) {
  .cards { flex-direction: column; align-items: center; }
  .hero { padding: 40px 20px; min-height: 100vh; }
  .hero-content { flex-direction: column; text-align: center; gap: 20px; }
  .hero-left { align-items: center; gap: 16px; }
  .hero-left h1 { font-size: clamp(2rem, 10vw, 3rem); line-height: 1.15; }
  .hero-left p { max-width: 90%; font-size: 1rem; line-height: 1.6; }
  .hero-btn { padding: 12px 26px; font-size: .95rem; border-radius: 10px; }
  .gallery-item { min-width: 100%; height: 360px; }
  .gallery-fullscreen img { width: 96vw; height: 82vh; }
  .contact-container { width: calc(100% - 32px); margin: 30px auto; }
  .contact-info { padding: 45px; }
  .contact-form { padding: 40px; }
  .section-title h2 { font-size: 2rem; }
  .info-item .info-text h3, .info-item .info-text p, .info-item .info-text a { font-size: .9rem; }
  .job { flex-direction: column; }
  .job-action { width: 100%; }
  .job-btn { width: 100%; text-align: center; }
}

@media (max-width: 480px) {
  section { padding: 2rem 1rem; }
  section h2 { font-size: 1.8rem; margin-bottom: 2.5rem; }
  section h2::after { width: 200px; }
  .hero { padding: 30px 16px; }
  .hero-left h1 { font-size: clamp(2rem, 10vw, 3rem); }
  .hero-left p { max-width: 100%; font-size: 1rem; }
  .gallery-item { height: 300px; }
  .gallery-btn { width: 38px; height: 38px; }
  .gallery-fs-btn { width: 40px; height: 40px; }
  .contact-container { width: calc(100% - 24px); margin: 20px auto; border-radius: 18px; }
  .contact-info { padding: 35px 24px; }
  .contact-info h2 { font-size: 1.6rem; margin-bottom: 28px; }
  .contact-form { padding: 30px 24px; }
  .info-item { align-items: flex-start; gap: 14px; margin-bottom: 22px; }
  .info-item i { width: 42px; height: 42px; font-size: 1.1rem; }
  .form-group input, .form-group textarea, .form-group select { padding: 13px 14px; font-size: 16px; }
  .form-group textarea { min-height: 120px; }
  .captcha-box { flex-direction: column; }
  .captcha-box input { width: 100%; }
  .submit-btn { width: 100%; }
  .popup { left: 15px; right: 15px; width: auto; }
}

/* =========================
   STICKY NAVBAR OFFSET
   Enable only if navbar is sticky
========================= */

/*
section {
  scroll-margin-top: 50px;
}
*/
