/*
Theme Name: Sabine Kinderbetreuung
Theme URI: https://nanny-in.de
Author: Sabine Loichinger
Author URI: https://nanny-in.de
Description: Premium WordPress Theme fuer Sabine Kinderbetreuung - nanny-in.de. Exklusive Kinderbetreuung mit Herz und Kompetenz in Ingolstadt und Umgebung. SEO-optimiert, responsive, mit WhatsApp-Integration und Download-Bereich.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nanny-in
Domain Path: /languages
Tags: kinderbetreuung, tagespflege, ingolstadt, responsive, seo, accessibility-ready
*/

/* === CSS RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Source Sans 3', 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #3D3D3D;
  background: #FDFCFA;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background-color: rgba(196, 162, 101, 0.3); }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* === TYPOGRAPHY === */
.font-display { font-family: 'Cormorant Garamond', Georgia, serif; }
.section-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #8FA97E;
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
  color: #3D3D3D;
  line-height: 1.2;
}

/* === COLORS === */
:root {
  --cream: #FAF7F2;
  --warmwhite: #FDFCFA;
  --sage: #8FA97E;
  --sage-light: #A8C497;
  --sage-dark: #6B7F5D;
  --gold: #C4A265;
  --gold-light: #D4B87A;
  --gold-dark: #A6894F;
  --charcoal: #3D3D3D;
  --charcoal-light: #5A5A5A;
  --charcoal-muted: #7A7A7A;
  --blush: #F5E6DC;
}

/* === LAYOUT === */
.content-max {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.section-padding { padding: 60px 0; }

/* === BUTTONS === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--gold);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 8px;
  transition: all 0.3s;
}
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(196,162,101,0.25); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: 2px solid var(--charcoal);
  color: var(--charcoal);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 8px;
  transition: all 0.3s;
}
.btn-outline:hover { background: var(--charcoal); color: #fff; }

/* === HEADER === */
.top-bar {
  background: var(--sage);
  color: #fff;
  padding: 8px 0;
  font-size: 12px;
}
.top-bar a { color: #fff; opacity: 0.9; }
.top-bar a:hover { opacity: 1; color: var(--gold-light); }
.site-header {
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.06); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo img {
  height: 44px;
  width: 44px;
  object-fit: cover;
  border-radius: 50%;
}
.logo-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.1;
}
.logo-sub {
  font-size: 10px;
  color: var(--charcoal-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal-light);
  border-radius: 6px;
  transition: all 0.2s;
}
.main-nav a:hover, .main-nav a.current { color: var(--sage-dark); background: rgba(143,169,126,0.08); }
.nav-cta {
  margin-left: 12px;
  padding: 10px 20px !important;
  background: var(--gold) !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 8px !important;
}
.nav-cta:hover { background: var(--gold-dark) !important; }

/* Mobile Menu */
.menu-toggle { display: none; background: none; border: none; padding: 8px; }
.menu-toggle svg { width: 24px; height: 24px; stroke: var(--charcoal); }

/* === FOOTER === */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}
.footer-main { padding: 60px 0 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
}
.footer-logo img {
  height: 56px;
  width: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  padding: 4px;
}
.footer-desc {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.5);
  max-width: 280px;
}
.footer-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold-light); }
.footer-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
  font-size: 14px;
}
.footer-contact a:hover { color: var(--gold-light); }
.footer-contact svg { width: 14px; height: 14px; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: rgba(255,255,255,0.35); transition: color 0.2s; }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }

/* === HERO === */
.hero {
  background: var(--cream);
  padding: 60px 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-overline {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--sage);
  margin-bottom: 16px;
}
.hero h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 3.5rem;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.15;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}
.hero-text {
  font-size: 17px;
  color: var(--charcoal-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 32px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image { position: relative; }
.hero-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.hero-badge {
  position: absolute;
  bottom: -16px;
  left: -16px;
  background: #fff;
  border-radius: 12px;
  padding: 16px 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  animation: gentleFloat 4s ease-in-out infinite;
}
.hero-badge .num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--sage-dark);
}
.hero-badge .label { font-size: 12px; color: var(--charcoal-muted); }

/* === CARDS === */
.card-grid { display: grid; gap: 24px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  transition: all 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(143,169,126,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background 0.3s;
}
.card:hover .card-icon { background: rgba(143,169,126,0.2); }
.card-icon svg { width: 22px; height: 22px; stroke: var(--sage-dark); fill: none; stroke-width: 1.5; }
.card h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 12px;
}
.card p { font-size: 14px; color: var(--charcoal-muted); line-height: 1.6; }

/* === PRICING === */
.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  margin-bottom: 12px;
}
.price-label { font-weight: 500; color: var(--charcoal); }
.price-desc { font-size: 13px; color: var(--charcoal-muted); }
.price-value {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--sage-dark);
  white-space: nowrap;
}
.price-unit { font-size: 12px; color: var(--charcoal-muted); margin-left: 6px; }

/* === FORM === */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  background: var(--warmwhite);
  font-size: 14px;
  transition: all 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(143,169,126,0.15);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.checkbox-group { display: flex; flex-wrap: wrap; gap: 16px; }
.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--charcoal-light);
  cursor: pointer;
}
.checkbox-group input[type="checkbox"],
.checkbox-group input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--sage-dark);
}

/* === WHATSAPP FLOAT === */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: all 0.3s;
  animation: gentleFloat 3s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.45);
}
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }

/* === DOWNLOADS === */
.download-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  transition: all 0.3s;
}
.download-card:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,0,0,0.08); }
.download-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.download-icon svg { width: 24px; height: 24px; stroke: #fff; fill: none; stroke-width: 2; }
.download-info h4 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 18px; font-weight: 600; color: var(--charcoal); margin-bottom: 4px; }
.download-info p { font-size: 13px; color: var(--charcoal-muted); margin-bottom: 8px; }
.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--sage-dark);
  transition: color 0.2s;
}
.download-btn:hover { color: var(--sage); }
.download-btn svg { width: 14px; height: 14px; }

/* === ANIMATIONS === */
@keyframes gentleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in {
  animation: fadeInUp 0.7s ease-out forwards;
}

/* === PAGE HEADER === */
.page-header {
  background: var(--sage);
  padding: 40px 0;
}
.page-header h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 500;
  color: #fff;
}
.page-header p {
  color: rgba(255,255,255,0.8);
  margin-top: 8px;
  max-width: 600px;
}
.page-header .overline {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
}

/* === TIMELINE === */
.timeline-row {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}
.timeline-time {
  font-size: 12px;
  font-weight: 600;
  color: var(--sage-dark);
  background: rgba(143,169,126,0.1);
  padding: 4px 12px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  width: 110px;
  text-align: center;
}
.timeline-activity { font-size: 14px; color: var(--charcoal-light); }

/* === STAR RATING === */
.star-rating { display: flex; gap: 2px; }
.star-rating svg { width: 14px; height: 14px; fill: var(--gold); stroke: var(--gold); }

/* === NOTICE BOX === */
.notice-box {
  background: var(--cream);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.notice-box svg { width: 18px; height: 18px; stroke: var(--gold); flex-shrink: 0; margin-top: 2px; }
.notice-box h4 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 16px; font-weight: 600; color: var(--charcoal); margin-bottom: 4px; }
.notice-box p { font-size: 13px; color: var(--charcoal-muted); line-height: 1.5; }

/* === BADGE === */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
}
.badge-sage { background: rgba(143,169,126,0.12); color: var(--sage-dark); }
.badge-gold { background: rgba(196,162,101,0.12); color: var(--gold-dark); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero h1 { font-size: 2.8rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero { padding: 40px 0; }
  .hero h1 { font-size: 2.2rem; }
  .card-grid.cols-2,
  .card-grid.cols-3,
  .card-grid.cols-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .section-padding { padding: 40px 0; }
  .section-title { font-size: 1.6rem; }
  .page-header h1 { font-size: 1.8rem; }
  .price-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .header-inner { height: 64px; }
  .mobile-menu {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #fff;
    z-index: 200;
    padding: 80px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .mobile-menu a {
    padding: 16px;
    font-size: 18px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    color: var(--charcoal);
    border-radius: 8px;
  }
  .mobile-menu a:hover { background: var(--cream); }
  .mobile-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    padding: 8px;
  }
}

/* === ACCESSIBILITY === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* === SCROLL TO TOP === */
.scroll-top {
  position: fixed;
  bottom: 96px;
  right: 24px;
  z-index: 998;
  width: 44px;
  height: 44px;
  background: var(--charcoal);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { background: var(--sage-dark); }
.scroll-top svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
