/* Kindertagespflege – globale Styles */
:root {
  /* Sonnenschein: dezentes Gelb + Pastellrosa */
  --cream: #fffdf8;
  --white: #ffffff;
  --rose-light: #fff5f3;
  --rose: #ffe8e4;
  --rose-border: rgba(255, 201, 192, 0.55);
  --coral: #c17a6e;
  --coral-soft: #ffc9c0;
  --mint: #d4b84a;
  --mint-mid: #b89a3a;
  --mint-light: #faf3d4;
  --sky: #e8d294;
  --sky-light: #fff9ed;
  --sun: #f3e5a5;
  /* Primär-Buttons (z. B. „Kontakt aufnehmen“): klareres Sonnengelb */
  --btn-gold: #f0d24a;
  --btn-gold-deep: #d4a812;
  --text: #3f3428;
  --text-soft: #6b5f4a;
  --shadow: rgba(61, 48, 30, 0.07);
  --radius: 1.25rem;
  --radius-lg: 2rem;
  --font-body: "Montserrat", system-ui, sans-serif;
  /* Überschriften: klassisch-edel, in der Art von TT Ricordi (Cormorant ≈ Renaissance/Inschrift) */
  --font-heading: "Cormorant", "Georgia", serif;
  --font-display: var(--font-heading);
  --max: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Überschriften: Cormorant (siehe --font-heading) */

/* Dekorativer Hintergrund */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 75% 45% at 92% 8%, rgba(254, 243, 199, 0.35) 0%, transparent 52%),
    radial-gradient(ellipse 65% 50% at 8% 95%, rgba(255, 228, 220, 0.4) 0%, transparent 50%),
    var(--cream);
  pointer-events: none;
}

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

a {
  color: #a16207;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  color: #9a5848;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 250, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rose-border);
  box-shadow: 0 4px 24px var(--shadow);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
}

.logo-inner {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.logo-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  letter-spacing: 0.03em;
}

.logo-tagline {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-top: 0.2rem;
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sun), var(--coral-soft));
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 12px var(--shadow);
}

.nav-toggle {
  display: none;
  background: var(--white);
  border: 2px solid rgba(212, 184, 74, 0.35);
  border-radius: var(--radius);
  padding: 0.5rem 0.75rem;
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  color: var(--text);
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  align-items: center;
}

.nav-list a {
  display: block;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text);
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: background 0.2s, color 0.2s;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  background: var(--rose-light);
  color: #6b4423;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--rose-border);
    padding: 1rem;
    box-shadow: 0 12px 32px var(--shadow);
    display: none;
  }

  .nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-list a {
    border-radius: var(--radius);
  }
}

/* Layout */
main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.hero {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem 0 3rem;
}

@media (min-width: 768px) {
  .hero:not(.hero--image-bg) {
    grid-template-columns: 1fr 1fr;
    padding: 3rem 0 4rem;
  }
}

/* Hero mit Bild im Hintergrund (Startseite) */
.hero--image-bg {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  min-height: min(70vh, 520px);
  padding: 0;
  margin-bottom: 0.5rem;
  box-shadow: 0 16px 48px var(--shadow);
  border: 1px solid var(--rose-border);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.hero-bg__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(255, 253, 250, 0.96) 0%,
    rgba(255, 249, 240, 0.82) 40%,
    rgba(255, 245, 228, 0.38) 65%,
    rgba(255, 236, 220, 0.12) 100%
  );
}

@media (max-width: 767px) {
  .hero--image-bg {
    min-height: min(85vh, 560px);
  }

  .hero-bg__overlay {
    background: linear-gradient(
      180deg,
      rgba(255, 253, 250, 0.94) 0%,
      rgba(255, 248, 242, 0.78) 50%,
      rgba(255, 242, 230, 0.45) 100%
    );
  }
}

.hero--image-bg .hero-text {
  position: relative;
  z-index: 1;
  max-width: 38rem;
  padding: 2rem 1.5rem 2.25rem;
}

@media (min-width: 768px) {
  .hero--image-bg .hero-text {
    padding: 3rem 2.5rem 3.25rem;
  }
}

.hero-bg-caption {
  margin: 1.25rem 0 0;
  font-size: 0.82rem;
  color: var(--text-soft);
  opacity: 0.95;
}

.hero-kicker {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 0 0 0.4rem;
}

.hero-text h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0.02em;
  margin: 0 0 1rem;
  color: var(--text);
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-soft);
  margin: 0 0 1.5rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--btn-gold), var(--btn-gold-deep));
  color: #3f3428;
  box-shadow: 0 4px 16px rgba(212, 168, 18, 0.32);
}

.btn-primary:hover {
  color: #3f3428;
  background: linear-gradient(135deg, #f5dc5c, #e0b820);
  box-shadow: 0 6px 20px rgba(212, 168, 18, 0.38);
}

.btn-secondary {
  background: var(--white);
  color: var(--text);
  border: 2px solid var(--coral-soft);
  box-shadow: 0 4px 16px var(--shadow);
}

.btn-secondary:hover {
  background: var(--coral-soft);
  color: var(--text);
}

.hero-visual {
  position: relative;
  min-height: 260px;
}

.blob-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 12px 40px var(--shadow);
  border: 1px solid var(--rose-border);
  text-align: center;
}

.blob-card .emoji-big {
  font-size: 4rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.blob-card p {
  margin: 0;
  font-weight: 600;
  color: var(--text-soft);
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.6;
  z-index: -1;
}

.floating-shape.s1 {
  width: 120px;
  height: 120px;
  background: var(--sun);
  top: -20px;
  right: -10px;
}

.floating-shape.s2 {
  width: 80px;
  height: 80px;
  background: var(--coral-soft);
  bottom: 10px;
  left: -15px;
}

/* Sections */
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 2.9vw, 2.1rem);
  font-weight: 600;
  letter-spacing: 0.025em;
  margin: 0 0 1rem;
  color: var(--text);
}

.section-intro {
  color: var(--text-soft);
  max-width: 52ch;
  margin: 0 0 2rem;
}

.card-grid {
  display: grid;
  gap: 1.25rem;
}

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

  .card-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.35rem;
  border: 2px solid transparent;
  box-shadow: 0 8px 28px var(--shadow);
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: var(--rose-border);
  transform: translateY(-2px);
}

.card h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.08rem;
  margin: 0 0 0.5rem;
}

.card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.98rem;
}

/* Page header (Unterseiten) */
.page-hero {
  padding: 2rem 0 2.5rem;
  border-bottom: 1px dashed rgba(212, 184, 74, 0.35);
  margin-bottom: 2.5rem;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.4vw, 2.45rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 0.5rem;
}

.page-hero p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.1rem;
}

.content-block {
  margin-bottom: 2.5rem;
}

.content-block h2 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.2rem;
  margin: 0 0 0.75rem;
  color: #7c6238;
}

.content-block ul {
  padding-left: 1.25rem;
}

.content-block li {
  margin-bottom: 0.4rem;
}

.highlight-box {
  background: linear-gradient(135deg, var(--sky-light), var(--rose-light));
  border-left: 3px solid var(--coral-soft);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.highlight-box p:last-child {
  margin-bottom: 0;
}

/* Hinweis-Popup (Startseite) */
.notice-dialog {
  border: none;
  border-radius: var(--radius-lg);
  padding: 0;
  max-width: min(26rem, calc(100vw - 2rem));
  background: var(--white);
  box-shadow: 0 24px 48px rgba(61, 48, 30, 0.18);
}

.notice-dialog:focus {
  outline: none;
}

.notice-dialog::backdrop {
  background: rgba(61, 48, 30, 0.42);
  backdrop-filter: blur(2px);
}

.notice-dialog__inner {
  padding: 1.75rem 1.5rem 1.5rem;
  text-align: center;
}

.notice-dialog__text {
  margin: 0 0 1.25rem;
  font-size: 1.1rem;
  line-height: 1.55;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--text);
}

.notice-dialog__close {
  width: 100%;
  justify-content: center;
}

.notice-dialog__close:focus {
  outline: none;
}

.notice-dialog__close:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--coral-soft), 0 4px 14px rgba(184, 154, 58, 0.22);
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(212, 184, 74, 0.25);
  background: var(--white);
  margin: 1rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}

th,
td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 201, 192, 0.35);
}

th {
  background: var(--mint-light);
  font-family: var(--font-body);
  font-weight: 700;
}

tr:last-child td {
  border-bottom: none;
}

/* Beispielbilder */
.figure-photo {
  margin: 0;
}

.figure-photo img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 28px var(--shadow), 0 0 0 1px var(--rose-border);
  object-fit: cover;
}

.figure-photo figcaption {
  margin-top: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.4;
}

.photo-strip {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.photo-strip .figure-photo img {
  height: 240px;
  width: 100%;
  object-fit: cover;
}

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

  .photo-strip .figure-photo img {
    height: 260px;
  }
}

.about-photo-row {
  display: grid;
  gap: 1.5rem;
  align-items: start;
  margin: 1.25rem 0 0;
}

@media (min-width: 720px) {
  .about-photo-row.has-image {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
}

.about-photo-row .figure-photo img {
  height: 320px;
}

.room-photos {
  display: grid;
  gap: 1.25rem;
  margin-top: 1rem;
}

@media (min-width: 600px) {
  .room-photos {
    grid-template-columns: repeat(2, 1fr);
  }
}

.room-photos .figure-photo img {
  height: 220px;
}

.contact-visual {
  margin: 0 0 1.5rem;
}

.contact-visual img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--rose-border);
  box-shadow: 0 10px 32px var(--shadow);
}

.contact-visual figcaption {
  margin-top: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-soft);
}

/* Footer – dezent, Gelb + Hauch Rosa */
.site-footer {
  background: linear-gradient(180deg, #faf8f4 0%, #fff9f2 42%, #fff5f0 100%);
  border-top: 1px solid var(--rose-border);
  padding: 2rem 1.25rem 2.25rem;
  margin-top: auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 600px) {
  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

.footer-brand {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.05rem, 1.9vw, 1.25rem);
  margin-bottom: 0.35rem;
  line-height: 1.28;
  letter-spacing: 0.03em;
}

.footer-meta {
  font-size: 0.9rem;
  color: #7a6d62;
  margin: 0;
  line-height: 1.55;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-nav a {
  color: #5c4d42;
  font-weight: 400;
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-nav a:hover {
  color: #9a5848;
  text-decoration: underline;
}

.footer-copy {
  grid-column: 1 / -1;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 201, 192, 0.35);
  font-size: 0.85rem;
  color: #8a7d72;
  margin: 0;
}

/* Layout wrapper */
.page-wrap {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
