/* ============================================================
   GesundeKids.at — Shared Stylesheet
   Modern, clean, nature-inspired design
   ============================================================ */

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

:root {
  --green:       #4a7c59;
  --green-light: #6fa680;
  --green-pale:  #e8f2ec;
  --orange:      #e8824a;
  --orange-light:#f5a97a;
  --cream:       #faf8f4;
  --white:       #ffffff;
  --text:        #2d2d2d;
  --text-muted:  #666;
  --border:      #dde8e1;
  --radius:      12px;
  --radius-sm:   6px;
  --shadow:      0 4px 20px rgba(0,0,0,.08);
  --shadow-lg:   0 8px 40px rgba(0,0,0,.13);
  --transition:  .25s ease;
  --font:        'Segoe UI', system-ui, -apple-system, sans-serif;
  --nav-height:  70px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-light); }

h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* --- Utility --- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 5rem 0; }
.section--pale { background: var(--cream); }
.section--green { background: var(--green); color: #fff; }

.btn {
  display: inline-block;
  padding: .75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  letter-spacing: .02em;
}
.btn--primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.btn--primary:hover {
  background: var(--green-light);
  border-color: var(--green-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(74,124,89,.35);
}
.btn--outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn--outline:hover {
  background: var(--green);
  color: #fff;
  transform: translateY(-2px);
}
.btn--white {
  background: #fff;
  color: var(--green);
  border-color: #fff;
}
.btn--white:hover {
  background: var(--green-pale);
  color: var(--green);
}

.tag {
  display: inline-block;
  background: var(--green-pale);
  color: var(--green);
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .3rem .8rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { margin-bottom: .75rem; }
.section-header p { color: var(--text-muted); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow); }

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--green);
}
.navbar__logo svg { width: 34px; height: 34px; }
.navbar__logo span { line-height: 1.2; }
.navbar__logo .sub { font-size: .72rem; font-weight: 400; color: var(--text-muted); display: block; }

.navbar__links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}
.navbar__links a {
  color: var(--text);
  font-size: .92rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}
.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.navbar__links a:hover, .navbar__links a.active { color: var(--green); }
.navbar__links a:hover::after, .navbar__links a.active::after { transform: scaleX(1); }

.navbar__cta { margin-left: .5rem; }

.navbar__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  color: var(--text);
}

/* Mobile nav */
@media (max-width: 820px) {
  .navbar__links, .navbar__cta { display: none; }
  .navbar__burger { display: block; }

  .navbar__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: #fff;
    padding: 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .navbar__links.open + .navbar__cta {
    display: block;
    padding: 0 1.5rem 1.5rem;
    background: #fff;
    position: fixed;
    top: calc(var(--nav-height) + 260px);
    left: 0; right: 0;
  }
}

/* Page body offset for fixed nav */
body { padding-top: var(--nav-height); }

/* --- Footer --- */
.footer {
  background: #1e2e24;
  color: #b8d0bc;
  padding: 3.5rem 0 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer__brand { color: #fff; font-weight: 700; font-size: 1.1rem; margin-bottom: .75rem; }
.footer__tagline { font-size: .9rem; line-height: 1.6; }
.footer h4 { color: #fff; margin-bottom: 1rem; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: .6rem; }
.footer ul a { color: #b8d0bc; font-size: .9rem; transition: color var(--transition); }
.footer ul a:hover { color: #fff; }
.footer__contact p { font-size: .9rem; margin-bottom: .5rem; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  color: #7a9f80;
  flex-wrap: wrap;
  gap: .75rem;
}
.footer__bottom a { color: #7a9f80; }
.footer__bottom a:hover { color: #fff; }

@media (max-width: 700px) {
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1b3a27 0%, #2d5a3d 60%, #4a7c59 100%);
}
.hero__bg {
  position: absolute; inset: 0;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: .22;
  mix-blend-mode: luminosity;
}
.hero__content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 640px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50px;
  padding: .4rem 1rem;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: #a8dbb5;
}
.hero__title { margin-bottom: 1.25rem; color: #fff; }
.hero__title em { font-style: normal; color: #7ecf95; }
.hero__subtitle { font-size: 1.15rem; opacity: .88; margin-bottom: 2rem; max-width: 500px; }
.hero__buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__scroll {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.5);
  font-size: .8rem;
  text-align: center;
  animation: bounce 2s infinite;
}
.hero__scroll svg { margin: 0 auto .3rem; display: block; }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* --- Service Cards --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__img { width: 100%; height: 200px; object-fit: cover; }
.card__img-placeholder {
  width: 100%; height: 200px;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.card__body { padding: 1.5rem; }
.card__body h3 { margin-bottom: .6rem; color: var(--green); }
.card__body p { color: var(--text-muted); font-size: .93rem; }

/* Icon card variant */
.icon-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--border);
}
.icon-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.icon-card__icon {
  width: 56px; height: 56px;
  background: var(--green-pale);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}
.icon-card h3 { margin-bottom: .6rem; color: var(--green); }
.icon-card p { color: var(--text-muted); font-size: .93rem; }

/* --- Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--green-pale);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item__overlay {
  position: absolute; inset: 0;
  background: rgba(30, 60, 40, .45);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex; align-items: flex-end;
  padding: 1rem;
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item__caption { color: #fff; font-size: .85rem; font-weight: 500; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox__img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius-sm); }
.lightbox__close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  color: #fff; background: rgba(255,255,255,.15);
  border: none; cursor: pointer;
  width: 44px; height: 44px; border-radius: 50%;
  font-size: 1.5rem; display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.lightbox__close:hover { background: rgba(255,255,255,.3); }
.lightbox__prev, .lightbox__next {
  position: absolute; top: 50%; transform: translateY(-50%);
  color: #fff; background: rgba(255,255,255,.15);
  border: none; cursor: pointer;
  width: 50px; height: 50px; border-radius: 50%;
  font-size: 1.4rem; display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.lightbox__prev { left: 1.5rem; }
.lightbox__next { right: 1.5rem; }
.lightbox__prev:hover, .lightbox__next:hover { background: rgba(255,255,255,.3); }
.lightbox__caption {
  position: absolute; bottom: 1.5rem; left: 0; right: 0;
  text-align: center; color: rgba(255,255,255,.8); font-size: .9rem;
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.testimonial {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--green);
}
.testimonial__quote {
  font-size: .95rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1.25rem;
  line-height: 1.75;
}
.testimonial__quote::before { content: '"'; font-size: 1.5rem; color: var(--green); line-height: 0; vertical-align: -.4rem; margin-right: .2rem; }
.testimonial__author { font-weight: 700; color: var(--green); font-size: .9rem; }

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1.25rem; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.contact-detail__icon {
  width: 44px; height: 44px;
  min-width: 44px;
  background: var(--green-pale);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.contact-detail__label { font-size: .8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }
.contact-detail__value { font-weight: 500; color: var(--text); }

.form { background: #fff; border-radius: var(--radius); padding: 2.5rem; box-shadow: var(--shadow); }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: .4rem; color: var(--text); }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: .95rem;
  color: var(--text);
  transition: border-color var(--transition);
  background: #fff;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(74,124,89,.12);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-check { display: flex; align-items: flex-start; gap: .6rem; font-size: .87rem; color: var(--text-muted); margin-bottom: .75rem; }
.form-check input { margin-top: .22rem; accent-color: var(--green); }
.form-check a { color: var(--green); text-decoration: underline; }
.form__success { display: none; background: var(--green-pale); border: 1px solid var(--green); border-radius: var(--radius-sm); padding: 1rem; color: var(--green); font-weight: 600; margin-top: 1rem; }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* --- About page --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: center;
}
.about-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-img img { width: 100%; height: 500px; object-fit: cover; }
.about-content .tag { margin-bottom: 1rem; }
.about-content h2 { margin-bottom: 1.25rem; }
.about-content p { color: var(--text-muted); }
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.pillar {
  text-align: center;
  background: var(--green-pale);
  padding: 1.25rem 1rem;
  border-radius: var(--radius-sm);
}
.pillar__icon { font-size: 1.75rem; margin-bottom: .5rem; }
.pillar__label { font-size: .85rem; font-weight: 600; color: var(--green); }

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-img img { height: 320px; }
}

/* --- Page hero (inner pages) --- */
.page-hero {
  background: linear-gradient(135deg, #1b3a27 0%, #2d5a3d 60%, #4a7c59 100%);
  padding: 4.5rem 0 3.5rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.04) 0%, transparent 70%);
}
.page-hero .tag { background: rgba(255,255,255,.15); color: rgba(255,255,255,.9); }
.page-hero h1 { color: #fff; margin-bottom: .75rem; }
.page-hero p { color: rgba(255,255,255,.8); max-width: 520px; margin: 0 auto; font-size: 1.05rem; }

/* --- Partners --- */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
}
.partner-chip {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: .6rem 1.25rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.partner-chip:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); }

/* --- Legal pages --- */
.legal-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}
.legal-content h2 { font-size: 1.5rem; margin: 2.5rem 0 .75rem; color: var(--green); }
.legal-content h3 { font-size: 1.1rem; margin: 1.75rem 0 .5rem; }
.legal-content p, .legal-content li { color: var(--text-muted); font-size: .95rem; }
.legal-content ul { padding-left: 1.25rem; margin-bottom: 1rem; }
.legal-content ul li { margin-bottom: .4rem; }

/* --- PDF Cards --- */
.pdf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}

.pdf-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.pdf-card:hover { box-shadow: var(--shadow); border-color: var(--green-light); }

.pdf-card__ic