:root {
  --bg: #fcfaf6;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --text: #4a4340;
  --muted: #7a726d;
  --line: rgba(180, 168, 160, 0.22);
  --shadow: 0 20px 45px rgba(103, 88, 81, 0.08);
  --radius: 28px;
  --max: 1160px;
  --accent: #c2105a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Quicksand", Arial, sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

/* NAVIGATION */

.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 30px));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  height: 80px; 
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(180, 168, 160, 0.2);
  border-radius: 999px;
  z-index: 1000;
  box-shadow: 0 10px 20px rgba(103, 88, 81, 0.05);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  cursor: pointer;
  text-decoration: none;
}

.logo {
  width: clamp(84px, 14vw, 200px);
  height: clamp(84px, 14vw, 200px);
  object-fit: contain;
  position: relative;
  top: 20px; /* lässt es nach unten raushängen */
  margin-left: -20px;
  transition: transform 0.3s ease;
}
.logo:hover {
  transform: scale(1.05) rotate(-2deg);
}
.nav-left {
  gap: 8px;
}

.brand-name {
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  min-width: 0;
}

.nav-menu a {
  color: #6f6762;
  font-weight: 600;
  font-size: 0.96rem;
  position: relative;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-menu a:hover {
  color: var(--accent);
}

.nav-menu a:hover::after {
  transform: scaleX(1);
}

.nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.nav-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(93, 85, 80, 0.15);
}

/* HERO */

.site-shell {
  position: relative;
  min-height: 100vh;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 8rem 4rem 6rem;
  color: white;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("images/Home.jpg") center/cover no-repeat;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.site-title {
  margin: 0;
  font-family: "Quicksand", Arial, sans-serif;
  font-size: clamp(3.5rem, 8vw, 6.8rem);
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeInUp 0.9s ease-out 0.3s forwards;
  color:antiquewhite
}

.site-subtitle {
  margin: 1rem 0 0;
  font-family: "Quicksand", Arial, sans-serif;
  font-size: clamp(1.3rem, 3vw, 2.1rem);
  font-weight: 600;
  color: #adecf1;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeInUp 0.9s ease-out 0.7s forwards;
}

.scroll-invite {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: #ffffff;
  font-size: 0.92rem;
  opacity: 0;
  transform: translateX(-50%) translateY(16px);
  animation: fadeInUp 0.9s ease-out 1.1s forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-invite {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: #ffffff;
  font-size: 0.92rem;
}

.scroll-line {
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.9));
}

/* HERO FLOWERS */

.flowers {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.flower {
  position: absolute;
  opacity: 0.7;
}

.flower svg {
  display: block;
}

.flower-top-left {
  top: 1.5rem;
  left: 0;
  width: min(34vw, 360px);
}

.flower-top-right {
  top: 2rem;
  right: 0;
  width: min(30vw, 310px);
}

.flower-bottom-left {
  bottom: 0;
  left: 0;
  width: min(30vw, 320px);
}

.flower-bottom-right {
  bottom: 0;
  right: 0;
  width: min(36vw, 380px);
}

.flower-center-bottom {
  bottom: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(34vw, 360px);
  opacity: 0.6;
}

/* CONTENT */

.content {
  position: relative;
  z-index: 2;
  padding: 4rem 0 5rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.96;
  font-weight: 500;
  margin: 0 0 1rem;
}

p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1rem;
  margin: 0 0 1rem;
}

/* ABOUT */

.about-card {
  position: relative;
  max-width: 1100px;
  margin: 1rem auto 0;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.about-card-content {
  position: relative;
  z-index: 2;
  padding: 48px;
}

.about-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.about-text p {
  max-width: 62ch;
}

.about-image {
  display: flex;
  justify-content: center;
}

.about-image-inner {
  width: 100%;
  min-height: 320px;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(194,16,90,0.07), rgba(194,16,90,0.02));
  border: 1px solid rgba(194,16,90,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  color: #9c6a7f;
  font-weight: 600;
}

.about-image-inner img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: 22px;
}

/* BETREUUNG */

.betreuung-section {
  margin-top: 4rem;
}

.section-heading {
  margin-bottom: 1.4rem;
}

.section-heading h2 {
  margin-bottom: 0.4rem;
}

.betreuung-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.betreuung-card {
  background: white;
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.betreuung-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 36px rgba(103, 88, 81, 0.12);
}

.betreuung-card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.9rem;
  font-weight: 500;
}

/* GALERIE */

.gallery-section {
  margin-top: 4rem;
}

.gallery-slider {
  position: relative;
  overflow: hidden;
}

.slider-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 0.5rem 0 1rem;
}

.slider-track::-webkit-scrollbar {
  display: none;
}

.slider-img {
  flex: 0 0 calc((100% - 2rem) / 3);
  height: 260px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.slider-btn:hover {
  transform: translateY(-50%) scale(1.08);
}

.slider-btn.prev {
  left: 10px;
}

.slider-btn.next {
  right: 10px;
}

@media (max-width: 800px) {
  .slider-img {
    flex: 0 0 80%;
  }
}

/* KONTAKT */

.kontakt-section {
  margin-top: 4rem;
}

.kontakt-box {
  text-align: center;
  padding: 3rem;
  background: white;
  border-radius: 32px;
  box-shadow: var(--shadow);
}

/* MAP */

.map-section {
  margin-top: 4rem;
}

.map-card {
  background: white;
  border-radius: 28px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.map-frame {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: 28px;
  box-shadow: 0 20px 40px rgba(103, 88, 81, 0.12);
  transition: transform 0.3s ease;
}

.map-frame:hover {
  transform: scale(1.01);
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.95rem 1.25rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 12px 22px rgba(93, 85, 80, 0.14);
}

.btn-secondary {
  background: white;
  color: var(--accent);
  border: 1px solid rgba(194, 16, 90, 0.18);
  box-shadow: var(--shadow);
}

/* LIGHTBOX */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 15, 15, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 3000;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img {
  max-width: 90%;
  max-height: 85%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 2.5rem;
  color: white;
  cursor: pointer;
}

/* CURSOR EFFECT */

.cursor-flower {
  position: fixed;
  top: 0;
  left: 0;
  width: 80px;
  height: 80px;
  pointer-events: none;
  z-index: 2500;
  transform: translate(-50%, -50%);
}

.cursor-flower::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194,16,90,0.15) 0%, rgba(194,16,90,0) 70%);
  filter: blur(6px);
}

.cursor-flower::after {
  content: "✿";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 20px;
  color: var(--accent);
  opacity: 0.8;
}

/* FOOTER */

.site-footer {
  position: relative;
  margin-top: 10rem;
  min-height: 620px;
  overflow: hidden;
}

.footer-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(252, 250, 246, 0.68);
  z-index: 1;
}

.footer-overlay {
  position: relative;
  z-index: 2;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8rem 0 1.5rem;
}

.footer-inner {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

.footer-title {
  display: flex;
  align-items: center;
  gap: 0px; /* Reduzierter Abstand zwischen Logo und Text */
}

.footer-logo {
  width: clamp(120px, 18vw, 250px);
  height: clamp(120px, 18vw, 250px);
  object-fit: contain;
}

.footer-brand {
  margin-top: 100px;
  margin-left: -70px;
}

.footer-subtitle {
  margin: 0.25rem 0 0;
  margin-left: -10px;
  font-weight: 700;
  color: var(--accent);
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 100px;
}

.footer-column h4 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  color: #45a1a7;
}

.footer-column a,
.footer-column p {
  margin: 0;
  color: #6f6762;
  font-weight: 600;
}

.footer-column a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-contact p {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 0.5rem;
}

.footer-contact i {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.footer-mini-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}

.footer-mini-gallery a {
  display: block;
  transition: transform 0.3s ease;
}

.footer-mini-gallery a:hover {
  transform: scale(1.05);
}

.footer-mini-gallery img {
  height: 78px;
  width: 100%;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(103, 88, 81, 0.1);
  transition: box-shadow 0.3s ease;
}

.footer-mini-gallery a:hover img {
  box-shadow: 0 15px 30px rgba(103, 88, 81, 0.2);
}

.footer-bottom {
  width: min(var(--max), calc(100% - 2rem));
  margin: 2rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(74, 67, 64, 0.18);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.footer-bottom p,
.footer-bottom a {
  margin: 0;
  color: #6f6762;
  font-weight: 700;
}

.footer-bottom div {
  display: flex;
  gap: 1.2rem;
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* RESPONSIVE */
 
@media (max-width: 980px) {
  .navbar {
    top: 12px;
    width: min(720px, calc(100% - 20px));
    height: auto;
    padding: 10px 12px;
    border-radius: 28px;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem 0.8rem;
  }

  .nav-menu {
    order: 3;
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    gap: 18px;
    overflow-x: auto;
    padding: 0.35rem 0.1rem 0.2rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .nav-menu::-webkit-scrollbar {
    display: none;
  }

  .nav-menu a {
    flex: 0 0 auto;
    font-size: 0.9rem;
  }

  .logo {
    width: 78px;
    height: 78px;
    top: 0;
    margin-left: -8px;
  }

  .brand-name {
    font-size: 0.92rem;
    white-space: normal;
    line-height: 1.2;
  }

  .nav-button {
    padding: 9px 14px;
    font-size: 0.92rem;
  }

  .content {
    padding-top: 3rem;
  }

  .betreuung-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .slider-img {
    flex-basis: calc((100% - 1rem) / 2);
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }

  .footer-brand,
  .footer-column {
    margin-top: 0;
    margin-left: 0;
  }

  .footer-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .footer-bottom div {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }
}

@media (max-width: 900px) {
  .about-layout,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 7rem 2rem 5rem;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1rem, var(--max));
  }

  .navbar {
    width: calc(100% - 16px);
    top: 8px;
    padding: 8px 10px 10px;
  }

  .nav-left {
    flex: 1 1 auto;
    max-width: calc(100% - 112px);
  }

  .nav-menu {
    gap: 14px;
  }

  .nav-menu a {
    font-size: 0.86rem;
  }

  .hero {
    min-height: 92svh;
    padding: 9.5rem 1rem 4rem;
  }

  .site-title {
    font-size: clamp(2.75rem, 15vw, 3.6rem);
  }

  .site-subtitle {
    font-size: 1.25rem;
  }

  .brand-name {
    display: block;
    font-size: 0.78rem;
  }

  .logo {
    width: 58px;
    height: 58px;
  }

  .about-card-content,
  .kontakt-box {
    padding: 1.5rem;
  }

  .about-card,
  .kontakt-box,
  .map-card,
  .anfrage-form,
  .legal-content {
    border-radius: 20px;
  }

  .about-image-inner {
    min-height: 230px;
    padding: 0.75rem;
    border-radius: 20px;
  }

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

  .betreuung-card {
    border-radius: 18px;
    padding: 1.2rem;
  }

  .slider-img {
    flex-basis: 86%;
    height: 220px;
    border-radius: 18px;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
  }

  .map-frame {
    height: 300px;
    border-radius: 18px;
  }

  .cursor-flower {
    display: none;
  }

  .site-footer {
    margin-top: 5rem;
    min-height: auto;
  }

  .footer-overlay {
    min-height: auto;
    padding: 5rem 0 1.5rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .footer-logo {
    width: 110px;
    height: 110px;
  }

  .footer-mini-gallery {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-mini-gallery img {
    height: 64px;
    border-radius: 12px;
  }

  .footer-bottom {
    font-size: 0.88rem;
  }

}

/* ANFRAGE */

.anfrage-section {
  padding: 8rem 0 4rem;
}

/* BETREUUNG PAGE */

.betreuung-page {
  padding-bottom: 2rem;
}

.betreuung-hero {
  padding: 9rem 0 4rem;
}

.betreuung-hero-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.betreuung-hero-text h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.98;
  font-weight: 500;
  margin: 0 0 1rem;
}

.betreuung-hero-text p {
  max-width: 64ch;
  font-size: 1.08rem;
}

.betreuung-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.betreuung-hero-image {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
  min-height: 430px;
}

.betreuung-hero-image img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.betreuung-facts,
.betreuung-content-section,
.daily-section,
.pedagogy-section,
.parents-section,
.info-band,
.betreuung-cta {
  margin-top: 4rem;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.fact-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.35rem;
  box-shadow: var(--shadow);
}

.fact-card i,
.care-icon i,
.info-band-grid i {
  width: 26px;
  height: 26px;
  color: var(--accent);
}

.fact-card span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.fact-card strong {
  color: var(--text);
  font-size: 1.05rem;
}

.care-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.care-card {
  background: white;
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(180, 168, 160, 0.12);
}

.care-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  margin-bottom: 1.1rem;
  background: rgba(194, 16, 90, 0.08);
}

.care-card h3,
.timeline-item h3,
.pedagogy-grid h3,
.info-band-grid h3 {
  margin: 0 0 0.55rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--text);
}

.care-card p,
.timeline-item p,
.pedagogy-grid p,
.info-band-grid p {
  margin: 0;
}

.daily-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  align-items: start;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.daily-intro {
  position: sticky;
  top: 8rem;
}

.daily-intro h2,
.parents-layout h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  line-height: 1;
  font-weight: 500;
  margin: 0 0 1rem;
}

.daily-timeline {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  padding: 1rem;
  background: #fcfaf6;
  border: 1px solid rgba(180, 168, 160, 0.18);
  border-radius: 18px;
}

.timeline-item time {
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
}

.pedagogy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.pedagogy-grid article {
  padding: 1.4rem;
  border-radius: 20px;
  background: white;
  box-shadow: var(--shadow);
  border: 1px solid rgba(180, 168, 160, 0.12);
}

.parents-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(194, 16, 90, 0.08), rgba(69, 161, 167, 0.09));
  border: 1px solid rgba(180, 168, 160, 0.18);
}

.parents-list {
  display: grid;
  gap: 0.8rem;
}

.parents-list div {
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.parents-list strong {
  color: var(--accent);
}

.parents-list span {
  color: var(--muted);
  line-height: 1.55;
}

.info-band-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.info-band-grid article {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.info-band-grid i {
  margin-bottom: 0.9rem;
}

.anfrage-content {
  max-width: 800px;
  margin: 0 auto;
}

.anfrage-header {
  text-align: center;
  margin-bottom: 3rem;
}

.anfrage-header .eyebrow {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: block;
}

.anfrage-header h1 {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 1rem;
  font-family: "Cormorant Garamond", serif;
}

.anfrage-header p {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.anfrage-form {
  background: var(--surface);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(180, 168, 160, 0.1);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.875rem 1rem;
  border: 2px solid rgba(180, 168, 160, 0.2);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: white;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(194, 16, 90, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.botcheck {
  display: none;
}

.checkbox-group {
  position: relative;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(180, 168, 160, 0.3);
  border-radius: 4px;
  position: relative;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: var(--accent);
  border-color: var(--accent);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.checkbox-label a {
  color: var(--accent);
  text-decoration: none;
}

.checkbox-label a:hover {
  text-decoration: underline;
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(194, 16, 90, 0.2);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(194, 16, 90, 0.3);
}

.submit-btn i {
  width: 18px;
  height: 18px;
}

/* Responsive */
@media (max-width: 768px) {
  .anfrage-section,
  .raeume-section {
    padding: 10rem 0 3rem;
  }

  .anfrage-header h1 {
    font-size: 2rem;
  }

  .anfrage-form {
    padding: 2rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .submit-btn {
    width: 100%;
  }
}

/* RÄUMLICHKEITEN */

.raeume-section {
  padding: 8rem 0 4rem;
}

.raeume-header {
  text-align: center;
  margin-bottom: 4rem;
}

.raeume-header .eyebrow {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: block;
}

.raeume-header h1 {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 1rem;
  font-family: "Cormorant Garamond", serif;
}

.raeume-header p {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.raeume-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.raum-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.raum-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(103, 88, 81, 0.15);
}

.raum-image {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.raum-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.raum-card:hover .raum-image img {
  transform: scale(1.05);
}

.raum-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  padding: 2rem 1.5rem 1.5rem;
  color: white;
}

.raum-overlay h3 {
  margin: 0 0 0.5rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.raum-overlay p {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.4;
}

.raeume-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--surface);
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(180, 168, 160, 0.1);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent), #e8457a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
}

.feature-icon i {
  width: 28px;
  height: 28px;
}

.feature-card h4 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .raeume-header h1 {
    font-size: 2rem;
  }

  .raeume-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .raum-image {
    height: 240px;
  }

  .raeume-features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .feature-card {
    padding: 1.5rem;
  }
}

/* PAGE SECTIONS (Datenschutz, Impressum) */

.page-section {
  padding: 120px 0 80px;
  min-height: calc(100vh - 200px);
}

.page-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-header {
  text-align: center;
  margin-bottom: 3rem;
}

.page-header .eyebrow {
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.page-header h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 1rem;
}

.page-header p {
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.legal-content {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: var(--shadow);
}

.legal-section {
  margin-bottom: 2.5rem;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
}

.legal-section p {
  line-height: 1.6;
  margin: 0 0 1rem;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.legal-section li {
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.legal-section li:last-child {
  margin-bottom: 0;
}

.legal-section a {
  color: var(--accent);
  text-decoration: underline;
}

.legal-section a:hover {
  text-decoration: none;
}

/* Responsive für rechtliche Seiten */
@media (max-width: 768px) {
  .page-section {
    padding: 170px 0 60px;
  }

  .page-header h1 {
    font-size: 2.25rem;
  }

  .page-header p {
    font-size: 1rem;
  }

  .legal-content {
    padding: 2rem 1.5rem;
  }

  .legal-section h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .nav-button {
    padding: 8px 12px;
    font-size: 0.86rem;
  }

  .brand-name {
    max-width: 11rem;
  }

  .anfrage-form {
    padding: 1.25rem;
  }

  .anfrage-header,
  .raeume-header,
  .page-header {
    margin-bottom: 2rem;
  }

  .anfrage-header h1,
  .raeume-header h1,
  .page-header h1 {
    font-size: 1.9rem;
    line-height: 1.08;
  }

  .legal-content {
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 980px) {
  .betreuung-hero-layout,
  .daily-layout,
  .parents-layout {
    grid-template-columns: 1fr;
  }

  .facts-grid,
  .care-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pedagogy-grid,
  .info-band-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .daily-intro {
    position: static;
  }
}

@media (max-width: 640px) {
  .betreuung-hero {
    padding: 11rem 0 2.5rem;
  }

  .betreuung-hero-layout {
    gap: 1.5rem;
  }

  .betreuung-hero-text h1 {
    font-size: clamp(2.3rem, 12vw, 3.1rem);
  }

  .betreuung-actions .btn {
    width: 100%;
  }

  .betreuung-hero-image,
  .betreuung-hero-image img {
    min-height: 280px;
    border-radius: 20px;
  }

  .facts-grid,
  .care-grid,
  .pedagogy-grid,
  .info-band-grid {
    grid-template-columns: 1fr;
  }

  .daily-layout,
  .parents-layout {
    padding: 1.25rem;
    border-radius: 20px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .betreuung-facts,
  .betreuung-content-section,
  .daily-section,
  .pedagogy-section,
  .parents-section,
  .info-band,
  .betreuung-cta {
    margin-top: 2.75rem;
  }
}
