/* ==============================================
   nuolelo.com - Clean Static CSS
   Font: Roboto (lokal)
   Colors: #03BCF4 (primary), #374450 (dark), #43515D (dark2)
   ============================================== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  color: #fff;
  background: #374450;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
p { font-size: 16px; font-weight: 100; line-height: 1.7; margin-bottom: 18px; }

/* --- Layout --- */
.container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==============================================
   HERO SECTION
   ============================================== */
.hero {
  background-color: #03BCF4;
  padding: 40px 0 90px;
  position: relative;
}

/* --- Language Switcher --- */
.lang-switch {
  position: absolute;
  top: 16px;
  right: 20px;
  display: flex;
  gap: 8px;
  z-index: 10;
}
.lang-switch a,
.lang-switch span {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  transition: opacity 0.2s, transform 0.2s;
}
.lang-switch a img,
.lang-switch span img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lang-switch a {
  opacity: 0.55;
}
.lang-switch a:hover {
  opacity: 1;
  transform: scale(1.1);
}
.lang-switch span {
  opacity: 1;
  cursor: default;
}

.hero__logo {
  display: block;
  width: 340px;
  max-width: 100%;
  margin: 0 0 30px;
}

.hero__title {
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 100;
  line-height: 1em;
  letter-spacing: -1.2px;
  margin-bottom: 20px;
}

.hero__mid {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.hero__left {
  flex: 1;
  min-width: 240px;
}

.hero__right {
  flex: 1;
  min-width: 240px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: flex-start;
  justify-content: center;
}

.hero__subtitle {
  font-weight: 300;
}

.hero__phone {
  display: block;
  width: 100%;
  max-width: 520px;
  margin: 30px auto 0;
}

.btn-store {
  display: inline-block;
  transition: transform 0.2s;
}
.btn-store img { width: 160px; }
.btn-store:hover { transform: scale(1.05); }

.btn-store--disabled {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}
.btn-store--disabled:hover { transform: none; }

.coming-soon-hint {
  width: 100%;
  text-align: center;
  font-size: 16px;
  font-weight: 300;
  color: #374450;
  letter-spacing: 0.5px;
  margin-top: -12px;
  margin-bottom: 0;
}

/* Wave shape divider */
.shape-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.shape-divider svg {
  display: block;
  width: 100%;
  height: 60px;
  margin-bottom: -1px;
}
.shape-divider svg path { fill: #374450; }

/* ==============================================
   FOLGE UNS SECTION
   ============================================== */
.folge-uns {
  background: #374450;
  padding: 30px 0;
  text-align: center;
}

.folge-uns p {
  font-size: 14px;
  margin-bottom: 18px;
}

/* ==============================================
   STATS SECTION
   ============================================== */
.stats {
  background: #43515D;
  padding: 25px 0;
  text-align: center;
}

.stats__number {
  font-size: 69px;
  font-weight: 100;
  line-height: 1;
  color: #fff;
}

.stats__grid {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}

.stats__label {
  font-size: 25px;
  color: #03BCF4;
}

/* Einheitlicher Abstand oben für alle Sektionen */
.about, .kinderbereich, .elternbereich, .preise, .lizenzen, .fingeralphabet {
  padding-top: 60px;
}

/* ==============================================
   WAS IST MIOLELO
   ============================================== */
.about {
  background: #374450;
  padding-bottom: 60px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.section-title {
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 100;
  text-align: center;
  margin-bottom: 40px;
  color: #fff;
}

/* ==============================================
   KINDERBEREICH
   ============================================== */
.kinderbereich {
  background: #35BAF5;
  padding-bottom: 10px;
}

.kinderbereich .section-title {
  margin-bottom: 20px;
}

.kinderbereich__text p {
  font-weight: 300;
}

.kinderbereich__video {
  max-width: 760px;
  margin: 0 auto 15px;
  width: 100%;
  display: block;
  /* Verhaeltnis des iPhone-Rahmens im Video. Das Video enthaelt nur das
     Handy und keine Hintergrundflaeche – das Blau ringsum kommt aus dem
     Abschnitt. So kann kein sichtbarer Rand entstehen, denn eine Farbflaeche
     im Video liesse sich wegen der YUV-Kodierung nicht exakt auf #35BAF5
     bringen. */
  aspect-ratio: 2236 / 1105;
  object-fit: cover;
}

/* ==============================================
   CTA BAR (App Store + Socials)
   ============================================== */
.cta-bar {
  background: #35BAF5;
  padding: 30px 0;
  text-align: center;
  margin-top: 50px;
}

.cta-bar--dark {
  background: inherit;
  padding: 30px 0 50px;
}

.cta-bar__buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.cta-bar__buttons .btn-store img { width: 160px; }

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.social-link:hover { opacity: 1; }
.social-link i { font-size: 18px; }

/* ==============================================
   ELTERNBEREICH
   ============================================== */
.elternbereich {
  background: #374450;
  padding-bottom: 0;
}

.eltern__layout {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  flex-wrap: wrap;
}

.eltern__phone {
  flex: 0 0 auto;
  width: 240px;
  margin: 0 auto;
}

.eltern__phone img {
  width: 100%;
}

.eltern__features {
  flex: 1;
  min-width: 280px;
}

/* ==============================================
   ABO / PREISE
   ============================================== */
.preise {
  background: #43515D;
  padding-bottom: 60px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.preise .section-title {
  margin-bottom: 8px;
}

.preise__subtitle {
  text-align: center;
  font-size: 16px;
  font-weight: 100;
  margin-bottom: 35px;
}

.preise__frei {
  text-align: center;
  font-size: 16px;
  font-weight: 100;
  line-height: 1.5;
  max-width: 640px;
  margin: -20px auto 35px;
}

.preise__frei b {
  display: block;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 640px;
  margin: 0 auto;
}

.pricing-card {
  background: #fff;
  color: #374450;
  border-radius: 30px;
  padding: 20px;
  text-align: center;
}

.pricing-card__title {
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 4px;
}

.pricing-card__monthly {
  font-size: 14px;
  color: #666;
  margin-bottom: 4px;
}

.pricing-card__badge {
  font-size: 48px;
  font-weight: 400;
  color: #03BCF4;
  margin: 4px 0;
  line-height: 1.2;
}

.pricing-card__divider {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 10px 0;
}

.pricing-card__trial {
  font-size: 14px;
  color: #333;
  margin-bottom: 4px;
}

.pricing-card__price {
  font-size: 28px;
  font-weight: 400;
  margin-top: 4px;
}

.preise__note {
  text-align: center;
  font-size: 12px;
  opacity: 0.6;
  margin-top: 20px;
}

/* ==============================================
   LIZENZEN
   ============================================== */
.lizenzen {
  background: #374450;
  padding-bottom: 60px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

.lizenzen .section-title {
  margin-bottom: 8px;
}

.lizenzen__subtitle {
  font-size: 16px;
  font-weight: 100;
  margin-bottom: 20px;
}

.lizenzen a { color: #03BCF4; }

/* ==============================================
   FINGERALPHABET
   ============================================== */
.fingeralphabet {
  background: #43515D;
  padding-bottom: 60px;
}

.fingeralphabet__layout {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.fingeralphabet__left {
  flex: 0 0 auto;
  width: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.fingeralphabet__left img {
  width: 100%;
}

.fingeralphabet__right {
  flex: 1;
  min-width: 280px;
}

.fingeralphabet__social-text {
  margin-top: 30px;
}

.btn-download,
.btn-print {
  display: inline-block;
  background: #03BCF4;
  color: #fff;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  min-height: 44px;
  transition: opacity 0.2s;
  margin-bottom: 10px;
}

.btn-download:hover,
.btn-print:hover { opacity: 0.85; }

/* ==============================================
   FOOTER
   ============================================== */
.footer {
  background: #03BCF4;
  padding: 50px 20px 30px;
  text-align: center;
}

.footer__logo {
  width: 140px;
  margin: 0 auto 25px;
}

.footer__social {
  margin-bottom: 25px;
}

.footer__copyright {
  font-size: 12px;
  opacity: 0.8;
  margin-bottom: 12px;
}

.footer__link a {
  font-size: 13px;
  text-decoration: underline;
  opacity: 0.9;
  transition: opacity 0.2s;
}
.footer__link a:hover { opacity: 1; }

/* ==============================================
   BACK TO TOP
   ============================================== */
#backToTop {
  position: fixed;
  bottom: 20px;
  right: 15px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 42px;
  z-index: 999;
  transition: opacity 0.3s;
  padding: 0;
  line-height: 1;
}
#backToTop:hover { opacity: 0.75; }

/* ==============================================
   IMPRESSUM PAGE
   ============================================== */
.impressum-header {
  background: #03BCF4;
  padding: 40px 0 60px;
  position: relative;
}

.impressum-header .hero__logo {
  width: 240px;
  margin-bottom: 20px;
}

.impressum-header h1 {
  font-size: 36px;
  font-weight: 100;
}

/* Back to site button */
#backToSite {
  position: fixed;
  bottom: 20px;
  left: 15px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 42px;
  z-index: 999;
  transition: opacity 0.3s;
  padding: 0;
  line-height: 1;
  text-decoration: none;
}
#backToSite:hover { opacity: 0.75; }

.impressum-content {
  background: #374450;
  padding: 60px 20px;
}

.impressum-content h2 {
  font-size: 22px;
  font-weight: 400;
  color: #03BCF4;
  margin: 40px 0 12px;
}

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

.impressum-content p,
.impressum-content li {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  margin-bottom: 12px;
}

.impressum-content ul {
  padding-left: 20px;
  margin-bottom: 15px;
}

.impressum-content a { color: #03BCF4; }

/* ==============================================
   RESPONSIVE – 768px
   ============================================== */
@media (max-width: 768px) {
  .hero__mid { flex-direction: column; gap: 20px; }
  .hero__right { width: 100%; justify-content: center; }
  .eltern__layout { flex-direction: column; }
  .eltern__phone { width: 180px; }

  .fingeralphabet__layout { flex-direction: column; }
  .fingeralphabet__left { width: 100%; max-width: 280px; margin: 0 auto; }
  .fingeralphabet__right { min-width: 0; width: 100%; }

  .stats__number { font-size: 50px; }
}

/* ==============================================
   RESPONSIVE – 480px
   ============================================== */
@media (max-width: 480px) {
  .hero__title { font-size: 32px; }
  .section-title { font-size: 30px; }
  .shape-divider svg { height: 30px; }
  .hero { padding-bottom: 50px; }

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

  .hero__right { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .btn-store img { width: 160px; }

  .social-links { gap: 14px; }

  .cta-bar__buttons { gap: 14px; }

  .stats__number { font-size: 42px; }
  .stats__grid {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}

.stats__label { font-size: 20px; }

  .about,
  .kinderbereich,
  .elternbereich,
  .preise,
  .lizenzen,
  .fingeralphabet { padding-top: 50px; padding-bottom: 40px; }

  .elternbereich { padding-top: 50px; padding-bottom: 0; }

  .eltern__features { min-width: 0; }
}
