/* ==========================================================================
   24h-nanny.de — überarbeitetes Stylesheet
   Farben, Schriftarten und Bildwelt entsprechen bewusst dem bisherigen Auftritt.
   Struktur wurde neu (mobile-first, ohne Bootstrap/jQuery-Ballast) aufgebaut.
   ========================================================================== */

/* ---- Selbst gehostete Schriften (statt Google-Fonts-CDN: schneller, DSGVO-freundlicher) ---- */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/opensans-var.woff2") format("woff2");
}

@font-face {
  font-family: "Pacifico";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/pacifico.woff2") format("woff2");
}

:root {
  --color-rose: #e75d5d;
  --color-orange: #f1a733;
  --color-teal: #5eb28f;
  --color-dark: #222;
  --color-grey: #888;
  --color-light-grey: #eee;
  --color-border: #ddd;
  --color-white: #fff;
  --font-body: "Open Sans", Arial, sans-serif;
  --max-width: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  color: var(--color-dark);
  overflow-x: hidden;
  line-height: 1.6;
}

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

a {
  color: var(--color-rose);
  transition: color .3s ease;
}

a:hover,
a:focus {
  color: var(--color-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--color-dark);
  margin: 0 0 .6em;
}

h2 {
  font-size: 1.65rem;
  text-align: center;
}

h3 {
  font-size: 1.4rem;
}

.section-subtitle {
  display: block;
  text-align: center;
  color: var(--color-grey);
  letter-spacing: .05em;
  margin: -0.4em 0 2em;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.text-center {
  text-align: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-white);
  color: var(--color-dark);
  padding: 12px 20px;
  z-index: 2000;
}

.skip-link:focus {
  left: 0;
}

/* ---- Navigation ---- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
}

.logo {
  display: block;
  padding: 8px 0;
}

.logo img {
  height: 48px;
  width: auto;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--color-dark);
  border-radius: 2px;
}

.main-nav {
  display: none;
}

.main-nav.is-open {
  display: block;
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--color-white);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.08);
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 10px 20px 20px;
}

.main-nav > ul > li {
  border-top: 1px solid var(--color-light-grey);
}

.main-nav a {
  display: block;
  padding: 14px 4px;
  text-decoration: none;
  color: var(--color-dark);
  font-weight: 700;
  letter-spacing: .03em;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--color-rose);
}

.main-nav .submenu {
  padding-left: 16px;
}

.main-nav .submenu a {
  font-weight: 400;
  padding: 10px 4px;
}

/* ---- Hero ---- */

.hero {
  position: relative;
  height: 100vh;
  min-height: 480px;
  overflow: hidden;
  color: var(--color-white);
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
}

.hero-slide.is-active {
  opacity: 1;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

.hero-content h1 {
  color: var(--color-white);
  font-size: 2.1rem;
  margin-bottom: .4em;
}

.hero-content p {
  font-size: 1.2rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 0 0 1em;
}

.hero-content .scroll-down {
  color: var(--color-white);
  font-size: 2rem;
  text-decoration: none;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(10px); }
  60% { transform: translateY(5px); }
}

/* ---- Angebot / Kacheln ---- */

.offer {
  padding: 60px 0 20px;
}

.offer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 20px;
}

.offer-card {
  border-radius: 6px;
  padding: 50px 26px 30px;
  color: var(--color-white);
  text-align: center;
  position: relative;
}

.offer-card--babys { background-color: var(--color-rose); }
.offer-card--kleinkinder { background-color: var(--color-orange); }
.offer-card--schulkinder { background-color: var(--color-teal); }

.offer-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 16px;
  background: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.offer-card h3 {
  color: var(--color-white);
}

.offer-card .offer-age {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .85rem;
  margin-bottom: 1em;
}

/* ---- Allgemeine Sections ---- */

section {
  padding: 60px 0;
}

.section-alt {
  background: var(--color-light-grey);
}

.notice-box {
  background: #fff7e6;
  border: 1px solid var(--color-orange);
  border-radius: 6px;
  padding: 20px 24px;
  margin-bottom: 2em;
  text-align: center;
}

.notice-box p {
  margin: .3em 0;
}

.info-list {
  max-width: 420px;
  margin: 1.5em auto;
  padding-left: 1.4em;
  text-align: left;
}

.info-list li {
  margin-bottom: .5em;
}

.gallery-strip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 20px 0 8px;
  scroll-snap-type: x mandatory;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
}

.gallery-strip img {
  scroll-snap-align: start;
  border-radius: 6px;
  flex: 0 0 auto;
  height: 220px;
  width: auto;
}

.anfrage-text {
  max-width: 560px;
  margin: 0 auto;
}

/* ---- Über mich ---- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: start;
}

.about-grid img {
  border-radius: 6px;
  margin: 0 auto;
  max-width: 280px;
}

/* ---- Referenzen ---- */

.testimonial-block {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-block img {
  margin: 1.5em auto;
  border-radius: 6px;
}

.review-cta {
  margin-top: 2em;
  padding: 24px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  text-align: center;
}

.review-cta p {
  margin: 0 0 .6em;
}

.btn-review {
  display: inline-block;
  margin-top: .4em;
  padding: 12px 28px;
  border-radius: 30px;
  background: var(--color-teal);
  color: var(--color-white);
  text-decoration: none;
  font-weight: 700;
}

.btn-review:hover {
  background: var(--color-dark);
  color: var(--color-white);
}

/* ---- Kontakt ---- */

.contact-section {
  background-color: var(--color-rose);
  color: var(--color-white);
  text-align: center;
}

.contact-section h2,
.contact-section a {
  color: var(--color-white);
}

.contact-section .btn-mail {
  display: inline-block;
  margin-top: 1em;
  padding: 14px 32px;
  border: 2px solid var(--color-white);
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .03em;
}

.contact-section .btn-mail:hover {
  background: var(--color-white);
  color: var(--color-rose);
}

/* ---- Karte (Consent-gated) ---- */

.map-section {
  padding-bottom: 60px;
}

.map-placeholder {
  max-width: var(--max-width);
  margin: 0 auto;
  min-height: 320px;
  background: var(--color-light-grey);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
}

.map-placeholder button {
  background: var(--color-teal);
  color: var(--color-white);
  border: 0;
  padding: 12px 26px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 700;
}

.map-placeholder button:hover {
  background: var(--color-dark);
}

.map-frame {
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: 6px;
}

/* ---- Footer ---- */

.site-footer {
  background: var(--color-dark);
  color: var(--color-light-grey);
  text-align: center;
  padding: 40px 0;
}

.site-footer a {
  color: var(--color-light-grey);
}

.site-footer a:hover {
  color: var(--color-white);
}

.footer-legal {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
  padding: 0;
  margin: 1em 0 0;
}

/* ---- Cookie-Banner ---- */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  background: var(--color-white);
  border-top: 3px solid var(--color-rose);
  box-shadow: 0 -4px 16px rgba(0,0,0,.15);
  padding: 20px;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.cookie-banner h2 {
  font-size: 1.1rem;
  text-align: left;
  margin-bottom: .4em;
}

.cookie-banner p {
  margin: 0 0 1em;
  font-size: .95rem;
}

.cookie-banner__options {
  margin: 0 0 1em;
  display: none;
}

.cookie-banner__options.is-open {
  display: block;
}

.cookie-banner__option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: .8em;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-banner__actions button {
  border-radius: 30px;
  padding: 10px 22px;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid var(--color-dark);
  background: var(--color-white);
  color: var(--color-dark);
}

.cookie-banner__actions .btn-primary {
  background: var(--color-rose);
  border-color: var(--color-rose);
  color: var(--color-white);
}

.cookie-settings-link {
  background: none;
  border: 0;
  padding: 0;
  text-decoration: underline;
  cursor: pointer;
  color: inherit;
  font: inherit;
}

/* ---- Responsive: Tablet & Desktop ---- */

@media (min-width: 700px) {
  .offer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-grid {
    grid-template-columns: 280px 1fr;
  }

  .about-grid img {
    margin: 0;
  }
}

@media (min-width: 900px) {
  h2 {
    font-size: 2rem;
  }

  .nav-toggle {
    display: none;
  }

  .main-nav {
    display: block;
  }

  .main-nav.is-open,
  .main-nav {
    position: static;
    box-shadow: none;
    background: none;
  }

  .main-nav ul {
    display: flex;
    align-items: center;
    padding: 0;
  }

  .main-nav > ul > li {
    border-top: 0;
    position: relative;
  }

  .main-nav .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-white);
    box-shadow: 0 6px 10px rgba(0,0,0,.1);
    min-width: 220px;
    padding: 10px 0;
  }

  .main-nav li:hover .submenu,
  .main-nav li:focus-within .submenu {
    display: block;
  }

  .main-nav .submenu a {
    padding: 10px 20px;
  }

  .hero-content h1 {
    font-size: 3rem;
  }
}

@media (min-width: 700px) {
  .cookie-banner__inner {
    display: flex;
    align-items: flex-start;
    gap: 30px;
  }

  .cookie-banner__text {
    flex: 1;
  }
}
