:root {
  --yellow: #FFD600;
  --green: #4CAF50;
  --green-dark: #2E7D32;
  --blue-top: #4FC3F7;
  --blue-mid: #81D4FA;
  --text: #2b2b2b;

  --white-glass: rgba(255, 255, 255, 0.85);
  --white-glass-strong: rgba(255, 255, 255, 0.92);

  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 15px 40px rgba(0, 0, 0, 0.2);
  --shadow-strong: 0 15px 30px rgba(0, 0, 0, 0.35);

  --radius-xl: 25px;
  --radius-lg: 20px;
  --radius-md: 14px;

  --transition-fast: 0.25s ease;
  --transition-normal: 0.3s ease;
  --transition-menu: 0.35s cubic-bezier(.77, 0, .18, 1);

  --container-width: 900px;
  --hero-width: 900px;
  --image-width: 1000px;
  --content-image-width: 500px;

  --z-bee: 1;
  --z-section: 2;
  --z-header: 1000;
  --z-mobile-nav: 1100;
  --z-menu-icon: 1200;
  --z-overlay: 1050;
  --z-dropdown: 1300;
  --z-lightbox: 2000;
}

/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== GLOBAL ===== */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  background: url("../images/landscape.jpg") center center no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
}

/* ===== HEADER ===== */
header {
  position: relative;
  z-index: var(--z-header);
  width: 100%;
  padding: 1rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header h1 {
  font-size: 1.4rem;
}

/* ===== LOGO ===== */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 40px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0;
}

.logo .brand-text {
  font-family: "Chewy", cursive;
  font-size: 2.8rem;
  font-weight: normal;
  line-height: 1;
  letter-spacing: 1px;
  white-space: nowrap;
  color: var(--green-dark);
  text-shadow:
    4px 0 0 var(--yellow),
    -4px 0 0 var(--yellow),
    0 4px 0 var(--yellow),
    0 -4px 0 var(--yellow),
    3px 3px 0 var(--yellow),
    -3px -3px 0 var(--yellow),
    3px -3px 0 var(--yellow),
    -3px 3px 0 var(--yellow),
    0 5px 10px rgba(0, 0, 0, 0.2);
}

.bee-icon svg {
  width: 80px;
  height: 80px;
  transition: transform var(--transition-normal);
}

.bee-icon svg:hover {
  transform: translateY(-2px) scale(1.08);
}

/* ===== HOLZSCHILD NAV ===== */
.nav-board {
  position: relative;
  display: inline-block;
  padding: 1rem 2.2rem;
  border-radius: 40px;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)),
    url("../images/holz.png");
  background-size: cover;
  background-position: center;
  box-shadow:
    var(--shadow-strong),
    inset 0 3px 6px rgba(255, 255, 255, 0.25);
}

/* ===== KORDELN ===== */
.left-rope,
.right-rope {
  position: absolute;
  top: -65px;
  width: 4px;
  height: 65px;
  border-radius: 2px;
  background: linear-gradient(#d2b48c, #8b5a2b);
}

.left-rope {
  left: 40px;
}

.right-rope {
  right: 40px;
}

/* ===== NAVIGATION ===== */
nav {
  display: flex;
  align-items: center;
}

.nav-board nav {
  gap: 1.2rem;
}

.nav-board nav a {
  color: #fff;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  transition:
    color var(--transition-fast),
    transform var(--transition-fast);
}

.nav-board nav a:hover,
.nav-board nav a.active {
  color: var(--yellow);
}

/* ===== DROPDOWN ===== */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: var(--z-dropdown);
  min-width: 220px;
  padding: 0.5rem 0;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition:
    opacity var(--transition-fast),
    transform var(--transition-fast);
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-content a {
  display: block;
  padding: 0.6rem 1.2rem;
  color: var(--text);
  text-shadow: none;
}

.dropdown-content a:hover {
  color: var(--green-dark);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  z-index: var(--z-section);
  max-width: var(--hero-width);
  margin: 0 auto;
  padding: 6rem 2rem 4rem;
  text-align: center;
}

.welcome-title {
  margin-bottom: 1rem;
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: 4px;
  color: var(--yellow);
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-headline {
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--green-dark);
}

.hero-image {
  width: 100%;
  max-width: var(--image-width);
  margin: 0 auto;
  border-radius: var(--radius-xl);
}

/* ===== CONTENT IMAGE ===== */
.content-image {
  width: 100%;
  max-width: var(--content-image-width);
  height: auto;
  margin: 0 auto 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
}

/* ===== SECTIONS ===== */
section {
  position: relative;
  z-index: var(--z-section);
  max-width: var(--container-width);
  margin: 3rem auto;
  padding: 3rem;
  border-radius: var(--radius-xl);
}

h2 {
  margin-bottom: 2rem;
  text-align: center;
  color: var(--green-dark);
}

h3 {
  color: var(--green-dark);
}

/* ===== SECTIONS DIE KEINE BOX SEIN SOLLEN ===== */
.hero,
.lightbox {
  max-width: none;
  margin: 0;
  border-radius: 0;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

/* ===== EINHEITLICHE CONTENT BOX ===== */
/* Neue Klasse + Fallback für bestehendes HTML + generische sections */
.content-box,
section:not(.hero):not(.lightbox),
.ueber-mich,
.eltern-kooperation,
.konzept,
.Konzept,
.leistungen,
.eingewoehnung,
.tagesablauf,
.kontakt,
.impressum,
.datenschutz {
  background: var(--white-glass);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* ===== TEXT IN SECTION ===== */
section p + p {
  margin-top: 1rem;
}

/* ===== BUTTONS ===== */
.cta-button {
  display: inline-block;
  padding: 0.9rem 1.4rem;
  margin-top: 0.5rem;
  border-radius: 999px;
  background: var(--yellow);
  color: #2b2b2b;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
  background: #ffe14a;
}

/* ===== CARDS ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  padding: 1.8rem;
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
}

/* ===== TAGESABLAUF ===== */
.tagesablauf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.ablauf-card {
  padding: 1.4rem 1.2rem;
  text-align: center;
  border-radius: 22px;
  background: var(--white-glass-strong);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.ablauf-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
}

.ablauf-card h3 {
  margin-bottom: 0.7rem;
  font-size: 1.1rem;
  color: var(--green-dark);
}

.ablauf-card p {
  margin: 0;
  line-height: 1.6;
}

/* ===== GALERIE ===== */
.galerie {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.galerie img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal);
}

.galerie img:hover {
  transform: scale(1.05);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-lightbox);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: rgba(0, 0, 0, 0.85);
}

.lightbox:target {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: var(--radius-lg);
}

.lightbox .close {
  position: absolute;
  top: 25px;
  right: 30px;
  font-size: 2rem;
  color: #fff;
}

.lightbox .nav {
  position: absolute;
  top: 50%;
  font-size: 3rem;
  color: #fff;
  transform: translateY(-50%);
}

.lightbox .prev {
  left: 20px;
}

.lightbox .next {
  right: 20px;
}

/* ===== BIENEN ===== */
.bee {
  position: fixed;
  top: 120px;
  left: -40px;
  z-index: var(--z-bee);
  font-size: 22px;
  pointer-events: none;
  will-change: transform;
  animation:
    fly-across 28s linear infinite,
    bee-bob 2.4s ease-in-out infinite;
}

@keyframes fly-across {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(110vw);
  }
}

@keyframes bee-bob {
  0% {
    margin-top: 0;
  }

  25% {
    margin-top: -4px;
  }

  50% {
    margin-top: 2px;
  }

  75% {
    margin-top: -3px;
  }

  100% {
    margin-top: 0;
  }
}

/* ===== FOOTER ===== */
footer {
  position: relative;
  width: 100%;
  margin-top: 4rem;
  padding: 0.8rem;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

footer a {
  color: #fff;
  transition: color var(--transition-fast);
}

footer a:hover {
  color: var(--yellow);
}

.seo-footer {
  margin-top: 10px;
  font-size: 12px;
  color: #ddd;
}

/* ===== MOBILE MENU ===== */
#menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  position: relative;
  z-index: var(--z-menu-icon);
  font-size: 2rem;
  cursor: pointer;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

/* ===== MOBILE ===== */
@media (max-width: 800px) {
  body {
    background-attachment: scroll;
    background-position: center;
  }

  header {
    padding: 1rem 1.2rem;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .menu-icon {
    display: block;
    margin-top: -4px;
    margin-right: 0.3rem;
  }

  .nav-board {
    padding: 0;
    background: none;
    box-shadow: none;
  }

  .left-rope,
  .right-rope {
    display: none;
  }

  .nav-board nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: var(--z-mobile-nav);
    width: 80%;
    max-width: 340px;
    height: 100vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem;
    background: linear-gradient(to bottom, #FFF9C4, #FFECB3);
    box-shadow: -25px 0 60px rgba(0, 0, 0, 0.25);
    transform: translateX(100%) scale(0.97);
    transition: transform var(--transition-menu);
  }

  #menu-toggle:checked ~ .menu-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  #menu-toggle:checked ~ .nav-board nav {
    transform: translateX(0) scale(1);
  }

  .nav-board nav a {
    display: block;
    width: 100%;
    margin: 1rem 0;
    font-size: 1.15rem;
    color: #333;
    text-shadow: none;
  }

  .nav-board nav a.active {
    color: var(--green-dark);
    font-weight: 600;
  }

  .dropdown {
    width: 100%;
  }

  .dropdown-content {
    position: static !important;
    min-width: 100%;
    margin-top: 0.5rem;
    padding: 0 0 0 1rem;
    background: transparent;
    box-shadow: none;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
  }

  .dropdown-content a {
    padding: 0.5rem 0;
  }

  .hero {
    padding: 4rem 1.2rem 3rem;
    margin: 0 auto;
  }

  .welcome-title {
    font-size: 2.4rem;
    letter-spacing: 2px;
  }

  .hero-headline {
    font-size: 1.2rem;
  }

  section:not(.hero):not(.lightbox),
  .content-box,
  .ueber-mich,
  .eltern-kooperation,
  .konzept,
  .Konzept,
  .leistungen,
  .eingewoehnung,
  .tagesablauf,
  .kontakt,
  .impressum,
  .datenschutz {
    margin: 2rem auto;
    padding: 2rem 1.2rem;
  }

  .bee-icon svg {
    width: 60px;
    height: 60px;
  }

  .logo .brand-text {
    font-size: 2rem;
  }

  .brand {
    gap: 0.5rem;
  }

  .tagesablauf-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .ablauf-card {
    padding: 1.2rem 1rem;
  }

  .bee {
    top: 100px;
    font-size: 20px;
  }
}/* ===== KONTAKTSEITE ===== */
.kontakt-intro {
  font-size: 1.08rem;
}

.kontakt-adresse {
  line-height: 1.8;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 2.5rem;
}

.contact-card {
  background: rgba(255, 255, 255, 0.96);
  padding: 2rem 1.5rem;
  border-radius: 22px;
  text-align: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
}

.contact-icon {
  font-size: 2rem;
  margin-bottom: 0.6rem;
}

.contact-card h3 {
  margin-bottom: 1rem;
  color: var(--green-dark);
}

.contact-card p {
  margin: 0.5rem 0;
  line-height: 1.7;
}

.contact-note {
  font-size: 0.95rem;
  color: #666;
}

.contact-link {
  color: var(--green-dark);
  text-decoration: none;
  word-break: break-word;
  transition: color 0.25s ease;
}

.contact-link:hover {
  color: var(--yellow);
}

.contact-card .cta-button {
  margin-top: 0.8rem;
}

@media (max-width: 800px) {
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 1.5rem 1.2rem;
  }
}