/* ==========================================================================
   Learning Zone – Modern Redesign
   Brand palette: primary #1696e7 (sky blue from original main.css), grays from original theme
   ========================================================================== */

:root {
  --lz-primary: #1696e7;
  --lz-primary-dark: #0E7CC2;
  --lz-primary-light: #E3F1FD;
  --lz-ink: #212529;
  --lz-slate: #343a40;
  --lz-muted: #495057;
  --lz-gray: #868e96;
  --lz-line: #e9ecef;
  --lz-bg: #ffffff;
  --lz-bg-alt: #f8f9fa;
  --lz-radius: 18px;
  --lz-shadow-sm: 0 2px 10px rgba(33, 37, 41, .06);
  --lz-shadow-md: 0 10px 30px rgba(33, 37, 41, .10);
  --lz-shadow-lg: 0 24px 60px rgba(33, 37, 41, .16);
  --lz-font-head: "Nunito", "Segoe UI", Arial, sans-serif;
  --lz-font-body: "Open Sans", "Segoe UI", Arial, sans-serif;
  --lz-header-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--lz-font-body);
  color: var(--lz-muted);
  background: var(--lz-bg);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lz-primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--lz-primary-dark); }

h1, h2, h3, h4, h5 {
  font-family: var(--lz-font-head);
  color: var(--lz-ink);
  line-height: 1.25;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(1.7rem, 3.6vw, 3rem); font-weight: 900; }
h2 { font-size: clamp(1.45rem, 2.6vw, 2.1rem); font-weight: 800; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: min(1160px, 92%); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--alt { background: var(--lz-bg-alt); }
.section--tint { background: linear-gradient(180deg, var(--lz-primary-light), var(--lz-bg)); }
.text-center { text-align: center; }

/* Section heading kit */
.sec-head { max-width: 720px; margin: 0 auto clamp(32px, 5vw, 56px); }
.sec-head .eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lz-primary);
  background: var(--lz-primary-light);
  border: 1px solid #BBDCF9;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.sec-head p { color: var(--lz-gray); font-size: 1.05rem; }
.rule {
  width: 64px; height: 4px; border: 0; border-radius: 4px;
  background: linear-gradient(90deg, var(--lz-primary), #63bfcd);
  margin: 18px auto;
}

/* ======================= Buttons ======================= */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--lz-font-body);
  font-weight: 700; font-size: .95rem;
  padding: 13px 26px; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--lz-primary); color: #fff; box-shadow: 0 8px 20px rgba(22, 150, 231, .35); }
.btn--primary:hover { background: var(--lz-primary-dark); color: #fff; }
.btn--ghost { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: #fff; color: var(--lz-primary); }
.btn--outline { border-color: var(--lz-primary); color: var(--lz-primary); background: transparent; }
.btn--outline:hover { background: var(--lz-primary); color: #fff; }
.btn--sm { padding: 9px 18px; font-size: .85rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row .btn { margin: 0; }

/* ======================= Header ======================= */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--lz-line);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--lz-header-h); width: min(1280px, 94%); margin-inline: auto;
}
.brand { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.brand img { height: 52px; width: auto; }
.brand-tag { width: 165px; text-align: center; font-size: .75rem; line-height: 1.2; font-family: var(--lz-font-head); font-weight: 800; letter-spacing: .02em; color: var(--lz-primary-dark); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav li { position: relative; }
.nav a.nav-link {
  display: inline-flex; align-items: center;
  padding: 10px 13px; border-radius: 999px;
  color: var(--lz-slate); font-weight: 600; font-size: .93rem; white-space: nowrap;
}
.nav a.nav-link:hover, .nav li.active > a.nav-link {
  color: var(--lz-primary); background: var(--lz-primary-light);
}
.has-sub > a::after {
  content: ""; display: inline-block; margin-left: 6px;
  border: 4px solid transparent; border-top-color: currentColor; transform: translateY(2px);
}
.submenu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px);
  min-width: 250px; background: #fff; border-radius: 14px;
  box-shadow: var(--lz-shadow-md); border: 1px solid var(--lz-line);
  list-style: none; margin: 0; padding: 8px;
  opacity: 0; visibility: hidden; transition: all .22s ease;
}
.has-sub:hover .submenu, .has-sub:focus-within .submenu {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.submenu a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: 10px;
  color: var(--lz-slate); font-weight: 600; font-size: .92rem;
}
.submenu a:hover { background: var(--lz-primary-light); color: var(--lz-primary-dark); }
.submenu img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; }
.submenu small { display: block; font-weight: 400; color: var(--lz-gray); }

.nav-tools { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: flex; border: 1px solid var(--lz-line); border-radius: 999px; overflow: hidden; }
.lang-switch a { padding: 7px 11px; display: flex; align-items: center; }
.lang-switch img { width: 20px; height: 14px; border-radius: 2px; }
.lang-switch a.active { background: var(--lz-primary-light); }
.social-mini { display: flex; gap: 6px; }
.social-mini a {
  width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--lz-bg-alt); transition: all .2s ease;
}
.social-mini a:hover { background: var(--lz-primary); transform: translateY(-2px); }
.social-mini img { width: 17px; height: 17px; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2.6px; border-radius: 2px; background: var(--lz-ink); transition: all .25s ease; }

@media (max-width: 1180px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: var(--lz-header-h) 0 auto 0;
    background: #fff; flex-direction: column; align-items: stretch;
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
    box-shadow: var(--lz-shadow-md); border-bottom: 1px solid var(--lz-line);
  }
  body.nav-open .nav { max-height: calc(100vh - var(--lz-header-h)); overflow-y: auto; }
  .nav > ul { flex-direction: column; align-items: stretch; padding: 14px; gap: 2px; }
  .nav a.nav-link { display: flex; justify-content: space-between; padding: 13px 16px; border-radius: 12px; }
  .submenu {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: 0; padding: 0 0 6px 14px; display: none; min-width: 0;
  }
  .has-sub.open .submenu { display: block; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.6px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.6px) rotate(-45deg); }
  .social-mini { display: none; }
}
@media (max-width: 480px) { .lang-switch { display: none; } }

/* ======================= Hero ======================= */
.hero {
  position: relative; min-height: clamp(520px, 78vh, 760px);
  display: flex; align-items: center;
  background: var(--lz-slate) url("../assets/img/hero-collage.jpg") center/cover no-repeat fixed;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(33,37,41,.82) 0%, rgba(33,37,41,.55) 45%, rgba(22,150,231,.45) 100%);
}
.hero-inner { position: relative; z-index: 1; width: min(1160px, 92%); margin-inline: auto; padding: 90px 0; }
.hero h1 { color: #fff; max-width: 850px; text-wrap: balance; }
.hero .hero-sub {
  color: rgba(255,255,255,.92); font-size: clamp(1.02rem, 1.6vw, 1.28rem);
  max-width: 780px; font-weight: 400;
}
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 34px; }
.badge-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35);
  color: #fff; font-size: .84rem; font-weight: 600;
  padding: 8px 16px; border-radius: 999px; backdrop-filter: blur(4px);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.page-hero {
  position: relative; padding: clamp(70px, 10vw, 120px) 0;
  background: var(--lz-slate) url("../assets/img/hero-collage.jpg") center/cover no-repeat fixed;
  color: #fff;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(33,37,41,.82) 0%, rgba(33,37,41,.55) 45%, rgba(22,150,231,.45) 100%);
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.85); max-width: 760px; font-size: 1.06rem; }
.crumbs { font-size: .85rem; margin-bottom: 14px; color: rgba(255,255,255,.75); }
.crumbs a { color: rgba(255,255,255,.85); }
.crumbs a:hover { color: #fff; }

/* ======================= Cards & grids ======================= */
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }

.card {
  background: #fff; border: 1px solid var(--lz-line);
  border-radius: var(--lz-radius); overflow: hidden;
  box-shadow: var(--lz-shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--lz-shadow-md); }
.card-img { aspect-ratio: 16 / 10; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.tag {
  font-size: .74rem; font-weight: 700; letter-spacing: .04em;
  color: var(--lz-primary-dark); background: var(--lz-primary-light);
  border: 1px solid #BBDCF9; padding: 4px 12px; border-radius: 999px;
}
.card-body p { color: var(--lz-muted); font-size: .95rem; }
.card-body .btn { margin-top: auto; align-self: flex-start; }

/* Split feature */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.split--flip > :first-child { order: 2; }
.split-img { border-radius: var(--lz-radius); overflow: hidden; box-shadow: var(--lz-shadow-lg); }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--flip > :first-child { order: 0; }
}

/* Feature checklist */
.checklist { list-style: none; margin: 18px 0 26px; padding: 0; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; color: var(--lz-ink); font-weight: 600; }
.checklist li::before {
  content: "✓"; flex: 0 0 auto;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--lz-primary-light); color: var(--lz-primary-dark);
  font-weight: 800; font-size: .8rem;
  display: inline-flex; align-items: center; justify-content: center; margin-top: 2px;
}

/* Stat band */
.stats-band {
  background: linear-gradient(120deg, var(--lz-primary) 0%, #41ADEF 100%);
  color: #fff; border-radius: var(--lz-radius);
  padding: clamp(30px, 5vw, 50px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px;
  box-shadow: var(--lz-shadow-md);
}
.stat b { display: block; font-family: var(--lz-font-head); font-size: clamp(1.7rem, 3vw, 2.4rem); }
.stat span { opacity: .92; font-size: .92rem; }

/* Info panels (Kalender / Preise) */
.panel {
  background: #fff; border: 1px solid var(--lz-line); border-left: 5px solid var(--lz-primary);
  border-radius: 14px; padding: 22px 26px; box-shadow: var(--lz-shadow-sm);
}
.panel h4 { margin-bottom: 4px; }
.panel p { margin: 0; color: var(--lz-muted); font-size: .95rem; }
.stack { display: grid; gap: 16px; }

/* Price cards */
.price-card { text-align: left; }
.price-card .price {
  font-family: var(--lz-font-head); font-size: 2rem; font-weight: 900; color: var(--lz-primary);
  margin: 6px 0 2px;
}
.price-card .price small { font-size: .95rem; color: var(--lz-gray); font-weight: 600; }
.price-card ul { list-style: none; margin: 14px 0 20px; padding: 0; font-size: .93rem; }
.price-card ul li { padding: 7px 0 7px 26px; position: relative; border-bottom: 1px dashed var(--lz-line); }
.price-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--lz-primary); font-weight: 800; }
.price-note { background: var(--lz-primary-light); border: 1px dashed #8FC4EF; border-radius: 14px; padding: 18px 22px; font-size: .92rem; color: var(--lz-primary-dark); }

/* Reviews carousel */
.rev-carousel { position: relative; max-width: 560px; margin-inline: auto; }
.rev-track { position: relative; aspect-ratio: 3 / 4; }
.rev-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.rev-slide.is-active { opacity: 1; pointer-events: auto; }
.rev-slide img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(var(--lz-shadow-md)); }
.rev-nav { display: flex; justify-content: center; gap: 14px; margin-top: 22px; }
.rev-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--lz-line);
  background: #fff; cursor: pointer; font-size: 1.1rem; color: var(--lz-slate);
  box-shadow: var(--lz-shadow-sm); transition: all .2s ease;
}
.rev-btn:hover { background: var(--lz-primary); color: #fff; border-color: var(--lz-primary); }

/* Gallery */
.gal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.gal-item { border-radius: 14px; overflow: hidden; box-shadow: var(--lz-shadow-sm); aspect-ratio: 4 / 3; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gal-item:hover img { transform: scale(1.07); }

/* CTA banner */
.cta-banner {
  background: linear-gradient(120deg, var(--lz-primary) 0%, #41ADEF 100%);
  border-radius: var(--lz-radius); color: #fff;
  padding: clamp(36px, 6vw, 60px); text-align: center;
  box-shadow: var(--lz-shadow-lg);
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,.92); max-width: 640px; margin-inline: auto; }
.cta-banner .btn { background: #fff; color: var(--lz-primary-dark); }
.cta-banner .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(33,37,41,.2); }

/* News list */
.news-item { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; }
.news-item + .news-item { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--lz-line); }
.news-item img { border-radius: 12px; aspect-ratio: 4/3; object-fit: cover; }
.news-date { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lz-primary); }
@media (max-width: 680px) { .news-item { grid-template-columns: 1fr; } .news-item img { max-height: 210px; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  display: flex; gap: 18px; align-items: flex-start;
  background: #fff; border: 1px solid var(--lz-line); border-radius: 16px;
  padding: 22px 24px; box-shadow: var(--lz-shadow-sm); margin-bottom: 16px;
}
.contact-card .ico {
  flex: 0 0 auto; width: 52px; height: 52px; border-radius: 14px;
  background: var(--lz-primary-light); display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
}
.contact-card h4 { margin-bottom: 2px; }
.contact-card p { margin: 0; color: var(--lz-gray); font-size: .93rem; }
.map-frame { border-radius: var(--lz-radius); overflow: hidden; box-shadow: var(--lz-shadow-md); min-height: 380px; }
.map-frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* Legal prose */
.prose { max-width: 820px; margin-inline: auto; }
.prose h2 { margin-top: 1.6em; }

/* ======================= Footer ======================= */
.site-footer { background: var(--lz-slate); color: #adb5bd; margin-top: 0; }
.footer-main {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 56px); padding: clamp(48px, 7vw, 72px) 0 40px;
}
.site-footer h4 { color: #fff; font-family: var(--lz-font-body); font-weight: 700; font-size: .95rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 20px; }
.site-footer img.flogo { height: 58px; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul a { color: #ced4da; font-size: .94rem; }
.site-footer ul a:hover { color: #fff; padding-left: 4px; transition: padding .2s; }
.footer-contact li { display: flex; gap: 12px; font-size: .94rem; }
.footer-contact .fi { color: var(--lz-primary); font-weight: 800; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.08); display: inline-flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: var(--lz-primary); }
.footer-social img { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; }
.footer-bottom .container { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; font-size: .86rem; }
.footer-bottom a { color: #ced4da; margin-right: 18px; }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 960px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-main { grid-template-columns: 1fr; } }

/* Floating WhatsApp */
.float-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 999;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
  transition: transform .2s ease;
}
.float-wa:hover { transform: scale(1.08); }
.float-wa img { width: 30px; height: 30px; }

/* Floating phone (Kontakt) */
.float-wa.float-phone { background: var(--lz-primary); box-shadow: 0 10px 26px rgba(22, 150, 231, .45); }
.float-wa.float-phone:hover { background: var(--lz-primary-dark); }
.float-wa.float-phone svg { width: 30px; height: 30px; fill: #fff; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* FAQ accordion */
.faq { display: grid; gap: 14px; max-width: 860px; margin-inline: auto; }
.faq details { background: var(--lz-bg); border: 1px solid var(--lz-line); border-radius: calc(var(--lz-radius) - 4px); box-shadow: var(--lz-shadow-sm); overflow: hidden; transition: box-shadow .2s ease; }
.faq details[open] { box-shadow: var(--lz-shadow-md); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 18px 22px; font-family: var(--lz-font-head); font-weight: 700; font-size: 1.05rem; color: var(--lz-ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--lz-primary); }
.faq details[open] summary { color: var(--lz-primary-dark); }
.faq summary::after { content: "+"; flex-shrink: 0; font-size: 1.5rem; line-height: 1; font-weight: 600; color: var(--lz-primary); transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 22px 20px; color: var(--lz-muted); }
.faq-answer p { margin: 0; }
.faq-answer a { font-weight: 600; }
.faq-more { margin-top: 30px; color: var(--lz-muted); }
