/* ===========================
   Tagespflege Schmetterlinge
   style.css
   =========================== */

:root {
  --sun: #F5A623;
  --sun-light: #FDE9C4;
  --sun-dark: #D4881A;
  --green: #5BAD6A;
  --green-light: #E6F4E9;
  --rose: #F08080;
  --sky: #6BBDE3;
  --sky-light: #E3F4FC;
  --cream: #FFFBF3;
  --text: #2C2C2C;
  --text-muted: #6B6B6B;
  --white: #FFFFFF;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 8px 32px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3 { line-height: 1.2; }
h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 800; }
em { font-style: italic; color: var(--sun-dark); }

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sun-dark);
  background: var(--sun-light);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 100px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn-primary {
  background: var(--sun);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(245,166,35,0.4);
}
.btn-primary:hover { background: var(--sun-dark); }
.btn-outline {
  background: transparent;
  color: var(--sun-dark);
  border: 2.5px solid var(--sun);
}
.btn-white {
  background: var(--white);
  color: var(--sun-dark);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* ---- HEADER / NAV ---- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,251,243,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(245,166,35,0.15);
  transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 600;
}
.logo-icon { font-size: 1.5rem; }
.logo strong { font-weight: 800; color: var(--sun-dark); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 14px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover, .nav-link.active {
  color: var(--sun-dark);
  background: var(--sun-light);
}
.nav-cta {
  background: var(--sun);
  color: var(--white) !important;
  margin-left: 8px;
}
.nav-cta:hover { background: var(--sun-dark); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ---- HERO ---- */
.hero {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 80px 24px 80px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.hero-shapes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}
.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.4;
  filter: blur(60px);
}
.shape-1 { width: 500px; height: 500px; background: var(--sun-light); top: -100px; right: -100px; }
.shape-2 { width: 350px; height: 350px; background: var(--sky-light); bottom: 0; left: -80px; }
.shape-3 { width: 200px; height: 200px; background: var(--green-light); top: 50%; right: 20%; }

.hero-content { flex: 1; max-width: 560px; animation: fadeUp 0.8s ease both; }
.badge {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 24px;
  animation: fadeUp 0.8s 0.1s ease both;
}
.hero-content h1 { margin-bottom: 20px; animation: fadeUp 0.8s 0.2s ease both; }
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  animation: fadeUp 0.8s 0.3s ease both;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; animation: fadeUp 0.8s 0.4s ease both; }

.hero-image { flex: 1; max-width: 440px; animation: fadeIn 1s 0.3s ease both; }
.hero-img-frame {
  position: relative;
  border-radius: 30px 60px 30px 60px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--sun-light);
}
.hero-img-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-frame.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}
.hero-img-deco {
  position: absolute;
  bottom: 20px;
  right: -10px;
  background: var(--white);
  border-radius: 50%;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: var(--shadow);
  animation: bounce 2s infinite ease-in-out;
}

/* ---- HIGHLIGHTS ---- */
.highlights {
  background: var(--white);
  padding: 80px 0;
}
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.highlight-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.highlight-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.highlight-icon { font-size: 2.8rem; margin-bottom: 16px; display: block; }
.highlight-card h3 { margin-bottom: 10px; }
.highlight-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ---- ABOUT TEASER ---- */
.about-teaser { padding: 96px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.about-image { position: relative; }
.about-img-wrap {
  border-radius: 40px 20px 40px 20px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--sun-light);
}
.about-img-wrap.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute;
  bottom: 24px;
  right: -20px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.3;
}
.about-badge span:first-child { font-size: 1.8rem; }
.about-content h2 { margin-bottom: 20px; }
.about-content p { color: var(--text-muted); margin-bottom: 16px; }
.about-content .btn { margin-top: 8px; }

/* ---- CONTACT TEASER ---- */
.contact-teaser {
  background: var(--sun);
  padding: 80px 0;
}
.contact-box {
  display: grid;
  grid-template-columns: 2fr 1fr auto;
  gap: 40px;
  align-items: center;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 48px;
  backdrop-filter: blur(10px);
}
.contact-text h2 { color: var(--white); margin-bottom: 10px; }
.contact-text p { color: rgba(255,255,255,0.85); }
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.contact-item { display: flex; align-items: flex-start; gap: 12px; color: var(--white); font-weight: 600; font-size: 0.9rem; }
.contact-icon { font-size: 1.2rem; flex-shrink: 0; }
.contact-item a { color: var(--white); text-decoration: underline; }

/* ---- FOOTER ---- */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.footer-logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-nav { display: flex; gap: 24px; }
.footer-nav a { font-weight: 600; transition: color 0.2s; }
.footer-nav a:hover { color: var(--sun); }
.footer-copy { font-size: 0.85rem; }

/* ---- SUBPAGE HERO ---- */
.page-hero {
  background: linear-gradient(135deg, var(--sun-light) 0%, var(--sky-light) 100%);
  padding: 80px 0 60px;
  text-align: center;
}
.page-hero h1 { margin-bottom: 16px; }
.page-hero p { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* ---- CONTENT SECTIONS ---- */
.content-section { padding: 80px 0; }
.content-section:nth-child(even) { background: var(--white); }
.content-section .container { max-width: 800px; }
.content-section h2 { margin-bottom: 20px; }
.content-section p { color: var(--text-muted); margin-bottom: 16px; }
.content-section ul { color: var(--text-muted); padding-left: 24px; }
.content-section ul li { margin-bottom: 8px; }

/* ---- CONTACT FORM ---- */
.contact-form-section { padding: 80px 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-weight: 700; font-size: 0.9rem; }
.form-group input,
.form-group textarea,
.form-group select {
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  padding: 14px 18px;
  border: 2px solid #E8E0D0;
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--sun); }
.form-group textarea { resize: vertical; min-height: 140px; }

/* ---- COST TABLE ---- */
.cost-table { width: 100%; border-collapse: collapse; margin-top: 24px; }
.cost-table th {
  background: var(--sun);
  color: var(--white);
  padding: 14px 20px;
  text-align: left;
  font-weight: 800;
}
.cost-table td { padding: 14px 20px; border-bottom: 1px solid #F0E8D8; }
.cost-table tr:last-child td { border-bottom: none; }
.cost-table tr:nth-child(even) td { background: var(--cream); }

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero { flex-direction: column; min-height: auto; padding: 60px 24px; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-buttons { justify-content: center; }
  .hero-image { max-width: 340px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image { max-width: 360px; margin: 0 auto; }
  .about-badge { right: 0; }
  .contact-box { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: 1; }
}

@media (max-width: 640px) {
  .nav { 
    display: none; 
    flex-direction: column; 
    gap: 4px;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }
  .nav.open { display: flex; }
  .nav-link { width: 100%; text-align: center; }
  .burger { display: flex; }
  .contact-box { padding: 32px 24px; }
}
