/*
Theme: Großtagespflege Luma
Clean CSS – Nunito Sans für alle Texte & Überschriften
*/

/* === Google Font === */
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600;700;800&display=swap');

/* === Design-Variablen === */
:root{
  --creme:#FAF9F6;
  --koralle:#F47C6B;
  --koralle-dark:#E36758;
  --sonne:#FBE7B2;
  --text:#3C3C3C;
  --shadow:0 6px 12px rgba(0,0,0,.06);
  --radius:12px;
  --content-width:1200px;  /* Content- und Headerbreite */
}

/* === Basis === */
*{box-sizing:border-box}
html,body{
  margin:0; padding:0;
  background:var(--creme);
  color:var(--text);
  font-family:'Nunito Sans',sans-serif;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  scroll-behavior:smooth;
}

/* ===================================================
   HEADER – bündig mit Contentbreite + Navigation
   =================================================== */
header{
  position:sticky; top:0; z-index:1000;
  width:100%;
  background:#fff;
  border-bottom:1px solid #f3f1eb;
  box-shadow:0 2px 4px rgba(0,0,0,.05);
}
.header-inner{
  max-width:var(--content-width);
  margin:0 auto;
  height:100px;
  padding:0 24px;
  display:flex;
  align-items:center;
  justify-content:center;   /* Menü mittig, da aktuell kein Logo */
}

/* Navigation */
.site-menu{display:flex; align-items:center;}
.site-menu ul{
  margin:0; padding:0; list-style:none;
  display:flex; gap:40px;
}
.site-menu a{
  font-size:17px; font-weight:600;
  color:var(--koralle);
  text-decoration:none;
  transition:color .25s ease;
}
.site-menu a:hover,
.site-menu a:focus{ color:#000; }
.site-menu li.current-menu-item > a,
.site-menu li.current_page_item > a,
.site-menu li.is-active > a{
  color:#000; font-weight:700;
}

/* Burger (mobil) */
.burger{
  display:none;
  background:none; border:0;
  font-size:2rem; line-height:1;
  color:var(--koralle);
  cursor:pointer;
}

/* ===================================================
   MOBILE NAV – Burger rechts, Drawer von rechts
   =================================================== */
@media (max-width: 768px){
  .header-inner{
    height:84px;
    padding:0 16px;
    justify-content:space-between; /* Platz für Burger */
  }
  .burger{ display:block; }

  .site-menu{
    position:fixed; inset:auto 0 0 auto;
    top:84px;               /* unter dem Header beginnen */
    right:-100%;
    width:min(78vw,320px);
    height:calc(100dvh - 84px);
    background:#fff;
    border-left:1px solid rgba(0,0,0,.06);
    box-shadow:0 10px 30px rgba(0,0,0,.15);
    transition:right .32s ease;
    overflow-y:auto; -webkit-overflow-scrolling:touch;
    padding:12px 10px;
    display:flex; align-items:stretch;
  }
  .site-menu.menu-open{ right:0; }

  .site-menu ul{
    flex-direction:column;
    gap:2px;
    width:100%;
  }
  .site-menu li{ margin:0; }
  .site-menu a{
    display:block;
    padding:12px 14px;
    font-size:18px; line-height:1.25;
    color:#333; border-radius:12px;
    border-bottom:1px solid rgba(0,0,0,.05);
  }
  .site-menu a:hover{ background:rgba(0,0,0,.04); }
  .site-menu li.is-active > a,
  .site-menu .current-menu-item > a,
  .site-menu .current_page_item > a{
    color:#000; font-weight:700;
    background:rgba(244,124,104,.14);
  }

  body.no-scroll{ overflow:hidden; touch-action:none; }
}

/* ===================================================
   SECTIONS / KARTEN
   =================================================== */
section{
  max-width:960px;
  margin:2rem auto;
  padding:3rem 1.5rem;
  background:#fff;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  text-align:center;
  color:#3C3C3C;
}

/* Überschriften – NUR Nunito Sans */
h1,h2,h3,h4,h5,h6,
main section h1,
main section h2,
main section h3{
  font-family:'Nunito Sans',sans-serif !important;
  color:var(--koralle);
  font-weight:800;             /* klar lesbar, nicht zu fett */
  letter-spacing:.5px;
  line-height:1.25;
  margin:0 0 1rem;
}
.section h2,
.entry-title,
.page-title{
  font-family:'Nunito Sans',sans-serif !important;
  color:var(--koralle);
  font-weight:800;
  font-size:2.2rem;
}

/* Fließtext */
p{
  font-size:1.05rem;
  color:#333;
  margin:0 auto 1.2rem;
  max-width:850px;
}

/* Buttons im CI */
.btn-primary{
  font:600 1rem 'Nunito Sans',sans-serif;
  background:var(--koralle);
  color:#fff; border:0;
  padding:.75rem 1.6rem; border-radius:26px;
  text-decoration:none; display:inline-block;
  box-shadow:0 4px 8px rgba(0,0,0,.1);
  transition:all .25s ease;
}
.btn-primary:hover{
  background:#ff8573;
  transform:translateY(-2px);
  box-shadow:0 6px 12px rgba(0,0,0,.15);
}

/* ===================================================
   GALERIE (Räume)
   =================================================== */
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:20px;
}
.gallery-grid img{
  width:100%; height:240px;
  object-fit:cover;
  border-radius:12px;
}

/* ===================================================
   KONTAKT – Formular & Captcha
   =================================================== */
.contact-section{ text-align:center; padding:3rem 1rem 4rem; }
.contact-section h2{ font-weight:800; font-size:2.2rem; }

.contact-form{
  display:flex; flex-direction:column; align-items:center;
  gap:1rem; max-width:600px; margin:0 auto 2rem;
}
.contact-form input,
.contact-form textarea{
  font:400 1rem 'Nunito Sans',sans-serif;
  width:100%; padding:.8rem 1rem;
  border:2px solid #f1c7b8; border-radius:10px;
  background:#fffaf7; transition:all .25s ease;
}
.contact-form input:focus,
.contact-form textarea:focus{
  outline:none; border-color:var(--koralle);
  box-shadow:0 0 6px rgba(250,110,90,.4);
}

.captcha-container{
  margin-top:1.2rem; display:flex; flex-wrap:wrap;
  justify-content:center; align-items:center; gap:.6rem;
}
.captcha-box{
  background:var(--sonne);
  border:2px solid var(--koralle);
  border-radius:12px; padding:.6rem 1.4rem;
  font-size:1.4rem; color:var(--koralle); font-weight:700;
  box-shadow:0 2px 6px rgba(0,0,0,.1);
}
.captcha-error{ font-size:.9rem; color:var(--koralle); margin-top:.4rem; }

.contact-form .btn-primary{ padding:.9rem 2rem; font-size:1.05rem; }

/* Kontaktinfos */
.contact-info{ margin-top:1.5rem; line-height:1.8; }
.contact-info a{ color:var(--koralle); text-decoration:none; }
.contact-info a:hover{ color:#ff8573; }

@media (max-width:768px){
  .contact-form{ width:90%; }
  .contact-form input, .contact-form textarea{ font-size:.95rem; }
  .captcha-container{ flex-direction:column; gap:.8rem; }
  .contact-section h2{ font-size:1.8rem; }
}

/* ===================================================
   SCROLL-OFFSET: Anker nicht vom Header verdecken
   =================================================== */
#hero,#ueber-uns,#leistungen,#raeume,#kontakt{
  scroll-margin-top:80px;
}
@media (max-width:768px){
  #hero,#ueber-uns,#leistungen,#raeume,#kontakt{ scroll-margin-top:90px; }
}

/* Sicherheitsnetz (Desktop-Nav) */
@media (min-width:769px){
  .burger{ display:none; }
  .site-menu{
    position:static; transform:none!important; height:auto; width:auto;
    box-shadow:none; border:0; padding:0;
  }
}
/* --- Header Layout --- */
.site-header {
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  position: relative;
  z-index: 100;
  padding: 20px 0;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px; /* Luft oben/unten */
}

/* Logo */
.logo-link {
  display: flex;
  align-items: center;
}

.logo-image {
  height: 75px;
  width: auto;
  object-fit: contain;
}

/* Navigation */
.site-menu ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-menu a {
  font-family: 'Nunito Sans', sans-serif;
  color: #444;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease-in-out;
}

.site-menu a:hover {
  color: #f37b6b;
}

/* --- Mobile --- */
@media (max-width: 768px) {
  .header-inner {
    padding: 16px 20px;
  }

  .burger {
    display: block;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: #f37b6b;
  }

  .site-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 70%;
    height: 100vh;
    background: #fff;
    box-shadow: 2px 0 8px rgba(0,0,0,0.1);
    transition: left 0.3s ease;
    padding-top: 80px;
  }

  .site-menu.menu-open {
    left: 0;
  }

  .site-menu ul {
    flex-direction: column;
    gap: 15px;
    padding: 0 20px;
  }

  .logo-link {
    justify-content: flex-start;
  }

  .logo-image {
    height: 70px;
  }
}
croll-margin-top: 120px; /* Höhe des Headers */
}
html {
  scroll-behavior: smooth;
}
/* Fixierter (Sticky) Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

/* Optional: leicht kleiner beim Scrollen */
.scrolled .site-header {
  padding: 8px 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
/* ===========================
   FOOTER-BEREICH
   =========================== */
.site-footer {
  text-align: center;
  background-color: #fffaf6;
  color: #f47f60;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 15px;
  padding: 30px 10px;
  border-top: 1px solid #f5d7c5;
  line-height: 1.6;
}

.site-footer a {
  color: #f47f60;
  text-decoration: none;
  font-weight: 600;
  margin: 0 6px;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-credit {
  margin-top: 8px;
  font-size: 13px;
  color: #d46d55;
}

/* Mobile Optimierung */
@media (max-width: 768px) {
  .site-footer {
    font-size: 14px;
    padding: 25px 20px;
  }

  .footer-credit {
    font-size: 12px;
  }
}

/* Dekorative Sonne unter allen Hauptüberschriften */
.section h2::after,
.section h1::after {
  content: "";
  display: block;
  margin: 10px auto 0;
  width: 48px;
  height: 48px;
  background: url('/wp-content/themes/luma-theme/assets/favicon.svg') no-repeat center center;
  background-size: contain;
  opacity: 0.8;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,0.1));
}

/* --- Luma Blume Deko --- */
.luma-flower-icon {
  display: block;
  margin: 0 auto 20px auto;
  width: 80px;
  height: auto;
  opacity: 0.95;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.15));
  transition: transform 0.6s ease;
}

.luma-flower-icon:hover {
  transform: scale(1.08) rotate(2deg);
}
@keyframes bloom {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.luma-flower-icon {
  animation: bloom 1.2s ease-out forwards;
}
/* === Sichtbarkeit & Layer-Fix für Luma Blume (Mobile) === */
@media (max-width: 768px) {
  .luma-flower-icon {
    display: block !important;
    position: relative !important;
    z-index: 10 !important;
    margin: 0 auto 20px auto !important;
    width: 70px !important;
    height: auto !important;
    opacity: 1 !important;
  }

  /* verhindert, dass der Header sie überdeckt */
  header, .site-header, .header-inner {
    z-index: 5 !important;
  }

  /* hero soll sichtbar bleiben */
  #hero {
    position: relative !important;
    z-index: 1 !important;
    overflow: visible !important;
  }
}
.luma-flower-icon {
  width: 70px;
  height: auto;
  display: block;
  margin: 0 auto 20px;
}
/* === Cookie-Banner (Luma CI) === */
#cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(95%, 800px);
  background: var(--creme);
  border: 2px solid var(--koralle);
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
  display: none; /* wird per JS auf flex gesetzt */
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 1.2rem 1.6rem;
}

#cookie-banner .cookie-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  color: var(--text);
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.95rem;
}

#cookie-banner a {
  color: var(--koralle);
  text-decoration: none;
  font-weight: 600;
}
#cookie-banner a:hover {
  text-decoration: underline;
}

#cookie-banner #accept-cookies {
  background: var(--koralle);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 26px;
  padding: 0.6rem 1.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
#cookie-banner #accept-cookies:hover {
  background: var(--koralle-dark);
  transform: translateY(-1px);
}

/* Footer-Webdesign-Text CI */
.footer-webdesign {
  color: #f47f60;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 600;
  letter-spacing: 0.3px;
}

@media (max-width: 600px) {
  #cookie-banner { bottom: 10px; padding: 1rem; }
  #cookie-banner .cookie-content p { font-size: 0.9rem; }
}
/* === Footer: Webdesign-Zeile unterhalb von Impressum & Datenschutz === */
.footer-links {
  text-align: center;
  line-height: 1.6;
}

.footer-links p {
  margin: 4px 0;
}

.footer-links a {
  color: #f47f60;
  text-decoration: none;
  font-weight: 600;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 15px;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Webdesign-Zeile unterhalb */
.footer-webdesign {
  color: #f47f60;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 500;
  font-size: 13px; /* etwas kleiner */
  margin-top: 2px;
}

/* Mobile Anpassung */
@media (max-width: 768px) {
  .footer-links a { font-size: 14px; }
  .footer-webdesign { font-size: 12px; }
}
/* === Footer-Zentrierung und CI-Styling === */
.site-footer {
  text-align: center;
  background-color: #fffaf6;
  color: #f47f60;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 15px;
  padding: 30px 10px;
  border-top: 1px solid #f5d7c5;
  line-height: 1.6;
}

.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer-links {
  text-align: center;
  margin-bottom: 6px;
}

.footer-links a {
  color: #f47f60;
  text-decoration: none;
  font-weight: 600;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 15px;
  margin: 0 4px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-webdesign {
  color: #f47f60;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 500;
  font-size: 13px; /* kleiner als Links */
  margin-top: 2px;
}

.footer-credit {
  margin-top: 8px;
  font-size: 13px;
  color: #d46d55;
}

/* Mobile Optimierung */
@media (max-width: 768px) {
  .footer-links a { font-size: 14px; }
  .footer-webdesign { font-size: 12px; }
  .footer-credit { font-size: 12px; }
}
