:root {
    --sky: #E8F4FD;
    --sky-dark: #B8DCF0;
    --ocean: #4ECDC4;
    --ocean-deep: #1A535C;
    --forest: #95BF74;
    --forest-dark: #4A7C3F;
    --earth: #D4A574;
    --sunset: #FF6B6B;
    --cream: #FDF8F3;
    --text: #2D3748;
    --text-light: #718096;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Nunito', sans-serif; color: var(--text); line-height: 1.7; overflow-x: hidden; }
h1, h2, h3 { font-family: 'Quicksand', sans-serif; font-weight: 700; }

/* Navigation */
nav { position: fixed; top: 0; width: 100%; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); z-index: 1000; padding: 15px 0; box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
nav .container { max-width: 1200px; margin: 0 auto; padding: 0 30px; display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: 'Quicksand', sans-serif; font-size: 1.1em; font-weight: 700; color: var(--ocean-deep); display: flex; align-items: center; gap: 10px; }
.logo-img { height: 40px; width: auto; }
.logo-text { display: flex; flex-direction: column; }
.logo-main span { color: var(--ocean); }
.logo-sub { font-size: 0.7em; font-weight: 500; color: var(--text-light); }
nav a { text-decoration: none; color: var(--text); font-weight: 600; font-size: 0.95em; transition: color 0.3s; }
nav a:hover { color: var(--ocean); }

.mobile-menu-btn { display: none; flex-direction: column; justify-content: space-between; width: 28px; height: 20px; background: none; border: none; cursor: pointer; padding: 0; z-index: 1001; }
.mobile-menu-btn span { display: block; width: 100%; height: 3px; background: var(--ocean-deep); border-radius: 2px; transition: all 0.3s ease; }
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
.nav-menu { display: flex; list-style: none; gap: 30px; }

/* Hero */
.hero { min-height: 100vh; background: linear-gradient(180deg, var(--sky) 0%, var(--cream) 100%); display: flex; align-items: center; position: relative; overflow: hidden; padding-top: 80px; }
.hero-content { max-width: 1200px; margin: 0 auto; padding: 60px 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero h1 { font-size: 3.2em; color: var(--ocean-deep); margin-bottom: 10px; line-height: 1.2; }
.hero-subtitle { font-size: 2.2em; color: var(--ocean-deep); margin-bottom: 20px; line-height: 1.3; }
.hero-subtitle span { color: var(--ocean); }
.hero p { font-size: 1.2em; color: var(--text-light); margin-bottom: 30px; }

/* Hero Info (Tel + Oeffnungszeiten) */
.hero-info { display: flex; gap: 25px; margin-bottom: 30px; flex-wrap: wrap; }
.hero-info-item { display: flex; align-items: flex-start; gap: 12px; background: rgba(255,255,255,0.85); padding: 15px 20px; border-radius: 14px; box-shadow: 0 4px 15px rgba(0,0,0,0.06); flex: 1; min-width: 200px; }
.hero-info-icon { font-size: 1.5em; line-height: 1; flex-shrink: 0; }
.hero-info-item strong { color: var(--ocean-deep); font-size: 0.9em; text-transform: uppercase; letter-spacing: 0.5px; }
.hero-info-item a { color: var(--ocean-deep); text-decoration: none; font-weight: 700; font-size: 1.1em; }
.hero-info-item a:hover { color: var(--ocean); }
.hero-info-item div { font-size: 0.95em; line-height: 1.5; }
.closed-info { color: var(--sunset); font-weight: 600; font-size: 0.9em; }

.hero-visual { position: relative; height: 500px; }
.hero-visual img { position: absolute; filter: drop-shadow(0 10px 30px rgba(0,0,0,0.1)); animation: float 6s ease-in-out infinite; }
.hero-visual .welcome-sign { width: 500px; top: 50%; left: 50%; transform: translate(-50%, -50%); animation: none; filter: drop-shadow(0 15px 40px rgba(0,0,0,0.15)); }
.hero-visual .bird1 { width: 200px; top: -5%; right: -5%; animation-delay: 0s; }
.hero-visual .bird2 { width: 180px; bottom: 5%; left: -10%; animation-delay: 1s; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

.cta-btn { display: inline-block; background: var(--ocean); color: white; padding: 16px 36px; border-radius: 50px; text-decoration: none; font-weight: 700; font-size: 1.1em; transition: all 0.3s; box-shadow: 0 4px 20px rgba(78, 205, 196, 0.4); }
.cta-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(78, 205, 196, 0.5); }

/* Sections */
section { padding: 100px 30px; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-header h2 { font-size: 2.5em; margin-bottom: 15px; }
.section-header p { color: var(--text-light); font-size: 1.15em; }

.section-header-with-motifs { display: flex; justify-content: center; align-items: center; gap: 40px; margin-bottom: 60px; flex-wrap: wrap; }
.section-header-with-motifs .section-header { margin: 0; }
.header-motif { height: 156px; filter: drop-shadow(0 8px 20px rgba(0,0,0,0.15)); }
.jugend .header-motif { height: 112px; }
.angebote .header-motif { height: 187px; }
.header-motif.left { order: -1; }
.header-motif.right { order: 1; }

/* Baby Section */
.baby { background: linear-gradient(180deg, #E0F7FA 0%, #B2EBF2 50%, #80DEEA 100%); position: relative; }
.baby h2 { color: var(--ocean-deep); }
.baby .motifs { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; margin-bottom: 50px; }
.baby .motifs img { height: 156px; filter: drop-shadow(0 8px 20px rgba(0,0,0,0.15)); animation: swim 4s ease-in-out infinite; }
.baby .motifs img:nth-child(2) { animation-delay: 0.5s; }
.baby .motifs img:nth-child(3) { animation-delay: 1s; }
.baby .motifs img:nth-child(4) { animation-delay: 1.5s; }
@keyframes swim { 0%, 100% { transform: translateX(0) rotate(-2deg); } 50% { transform: translateX(10px) rotate(2deg); } }

.info-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; max-width: 1000px; margin: 0 auto; }
.info-card { background: rgba(255,255,255,0.9); border-radius: 20px; padding: 30px; box-shadow: 0 10px 40px rgba(0,0,0,0.08); }
.info-card h3 { color: var(--ocean-deep); margin-bottom: 12px; font-size: 1.3em; }

/* Kleinkind Section */
.kleinkind { background: linear-gradient(180deg, #E8F5E9 0%, #C8E6C9 50%, #A5D6A7 100%); }
.kleinkind h2 { color: var(--forest-dark); }
.kleinkind .motifs { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; margin-bottom: 50px; }
.kleinkind .motifs img { height: 156px; filter: drop-shadow(0 8px 20px rgba(0,0,0,0.15)); animation: bounce 3s ease-in-out infinite; }
.kleinkind .motifs img:nth-child(2) { animation-delay: 0.3s; }
.kleinkind .motifs img:nth-child(3) { animation-delay: 0.6s; }
.kleinkind .motifs img:nth-child(4) { animation-delay: 0.9s; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.kleinkind .info-card h3 { color: var(--forest-dark); }

/* Jugend Section */
.jugend { background: linear-gradient(135deg, #F5F5F5 0%, #EEEEEE 50%, #E0E0E0 100%); position: relative; }
.jugend::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(45deg, transparent 48%, rgba(100,100,100,0.03) 50%, transparent 52%), linear-gradient(-45deg, transparent 48%, rgba(100,100,100,0.03) 50%, transparent 52%); background-size: 60px 60px; }
.jugend .content { position: relative; z-index: 1; }
.jugend h2 { color: #37474F; }
.jugend .info-card { border-left: 4px solid #607D8B; }
.jugend .info-card h3 { color: #37474F; }

/* Angebote Section */
.angebote { background: linear-gradient(180deg, #FFF8E1 0%, #FFECB3 50%, #FFE082 100%); }
.angebote h2 { color: #F57C00; }
.angebote .info-card { border-left: 4px solid #FFB74D; }
.angebote .info-card h3 { color: #E65100; }

/* Philosophie Section */
.philosophie { background: linear-gradient(180deg, #E8F5E9 0%, #C8E6C9 100%); }
.philosophie h2 { color: var(--forest-dark); }
.philosophie-layout { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }
.philosophie-row { display: flex; align-items: center; gap: 40px; justify-content: center; }
.philosophie-motif { height: 218px; filter: drop-shadow(0 8px 20px rgba(0,0,0,0.15)); }
.philosophie-schild { height: 520px; filter: drop-shadow(0 15px 40px rgba(0,0,0,0.15)); }
.philosophie-card { background: rgba(255,255,255,0.9); border-radius: 20px; padding: 35px; box-shadow: 0 10px 40px rgba(0,0,0,0.08); max-width: 500px; }
.philosophie-card h3 { color: var(--forest-dark); margin-bottom: 15px; font-size: 1.4em; }
.philosophie-card p { line-height: 1.8; }
.sprachen { margin-top: 20px; display: grid; gap: 15px; }
.sprache-item { background: rgba(149, 191, 116, 0.2); padding: 15px 20px; border-radius: 10px; border-left: 4px solid var(--forest); }
.sprache-item strong { color: var(--forest-dark); }

/* Team Section */
.team { background: linear-gradient(180deg, #ECEFF1 0%, #CFD8DC 100%); }
.team h2 { color: #37474F; }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; max-width: 700px; margin: 0 auto; }
.team-card { background: white; border-radius: 20px; padding: 30px; text-align: center; box-shadow: 0 10px 40px rgba(0,0,0,0.08); }
.team-photo { width: 150px; height: 150px; border-radius: 50%; margin: 0 auto 20px; object-fit: cover; box-shadow: 0 5px 20px rgba(0,0,0,0.15); }
.team-card h3 { color: var(--ocean-deep); margin-bottom: 5px; }
.team-role { color: var(--ocean); font-weight: 600; margin-bottom: 10px; }

/* Termin Section (OneDoc) */
.termin { background: linear-gradient(180deg, var(--sky) 0%, #D4EFFC 100%); padding: 80px 30px; }
.termin h2 { color: var(--ocean-deep); }
.onedoc-container { max-width: 1024px; margin: 0 auto; background: white; border-radius: 20px; padding: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.08); overflow: hidden; }
.onedoc-container iframe { border-radius: 12px; }

/* Kontakt Section */
.kontakt { background: var(--ocean-deep); color: white; }
.kontakt h2 { color: white; }
.kontakt .section-header p { color: rgba(255,255,255,0.8); }
.kontakt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; max-width: 1000px; margin: 0 auto; }
.kontakt-item { text-align: center; }
.kontakt-item .icon { font-size: 2.5em; margin-bottom: 15px; }
.kontakt-item h3 { margin-bottom: 10px; font-size: 1.3em; }
.kontakt-item p, .kontakt-item a { color: rgba(255,255,255,0.85); text-decoration: none; }

/* Oeffnungszeiten Box */
.oeffnungszeiten-box { background: rgba(255,255,255,0.1); border: 2px solid rgba(78, 205, 196, 0.4); border-radius: 15px; padding: 25px 35px; margin-top: 40px; max-width: 500px; margin-left: auto; margin-right: auto; text-align: center; }
.oeffnungszeiten-box h4 { color: var(--ocean); margin-bottom: 15px; font-size: 1.2em; }
.oeffnungszeiten-grid { display: flex; flex-direction: column; gap: 8px; }
.oeffnungszeiten-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 8px 0; }
.oeffnungszeiten-row .tag { font-weight: 600; color: rgba(255,255,255,0.9); }
.oeffnungszeiten-row .zeit { color: rgba(255,255,255,0.8); }
.oeffnungszeiten-row.geschlossen .zeit { color: var(--sunset); font-weight: 600; }

.emergency { background: rgba(255,107,107,0.15); border: 2px solid var(--sunset); border-radius: 15px; padding: 25px; margin-top: 30px; max-width: 600px; margin-left: auto; margin-right: auto; text-align: center; }
.emergency h4 { color: var(--sunset); margin-bottom: 10px; }
.emergency a { color: var(--sunset); font-weight: 600; }
.emergency a:hover { text-decoration: underline; }

/* Hospitals */
.hospitals { margin-top: 50px; max-width: 900px; margin-left: auto; margin-right: auto; }
.hospitals h4 { color: white; text-align: center; margin-bottom: 25px; font-size: 1.3em; }
.hospital-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.hospital-card { background: rgba(255,255,255,0.1); border-radius: 12px; padding: 20px; }
.hospital-card h5 { color: white; font-size: 1.1em; margin-bottom: 8px; }
.hospital-card p { color: rgba(255,255,255,0.85); margin-bottom: 5px; font-size: 0.95em; }
.hospital-card a { color: var(--ocean); text-decoration: none; }
.hospital-card a[href^="tel"] { color: var(--sunset); font-weight: 600; }
.hospital-card a:hover { text-decoration: underline; }

/* Footer */
footer { background: #15343A; color: rgba(255,255,255,0.7); padding: 40px 30px; text-align: center; }
footer a { color: var(--ocean); text-decoration: none; }
footer a:hover { text-decoration: underline; }
.footer-credits { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.2); font-size: 0.9em; line-height: 1.8; }

/* Cookie Banner */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--ocean-deep); color: white; padding: 15px 30px; z-index: 9999; box-shadow: 0 -4px 20px rgba(0,0,0,0.15); }
.cookie-content { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cookie-content p { margin: 0; font-size: 0.95em; }
.cookie-content a { color: var(--ocean); text-decoration: underline; }
.cookie-btn { background: var(--ocean); color: white; border: none; padding: 10px 30px; border-radius: 25px; font-weight: 700; font-size: 0.95em; cursor: pointer; transition: all 0.3s; white-space: nowrap; }
.cookie-btn:hover { background: white; color: var(--ocean-deep); }

/* Menu Overlay */
.menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); z-index: 999; }
.menu-overlay.active { display: block; }

/* ============ RESPONSIVE ============ */

/* Tablet */
@media (max-width: 900px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-info { justify-content: center; }
    .hero-visual { height: 280px; }
    .hero-visual .welcome-sign { width: 320px; }
    .hero-visual .bird1 { width: 120px; }
    .hero-visual .bird2 { width: 100px; }
    .philosophie-schild { height: 350px; }
    .philosophie-motif { height: 150px; }
}

/* Mobile */
@media (max-width: 768px) {
    nav .container { padding: 0 15px; }
    .mobile-menu-btn { display: flex; }
    .nav-menu { position: fixed; top: 0; right: -100%; width: 70%; max-width: 280px; height: 100vh; background: white; flex-direction: column; padding: 80px 30px 30px; gap: 0; box-shadow: -5px 0 30px rgba(0,0,0,0.1); transition: right 0.3s ease; }
    .nav-menu.active { right: 0; }
    .nav-menu li { border-bottom: 1px solid #eee; }
    .nav-menu a { display: block; padding: 15px 0; font-size: 1.1em; }
    .logo-text { display: none; }
    .logo-img { height: 35px; }

    .hero { min-height: auto; padding-top: 70px; padding-bottom: 40px; }
    .hero-content { grid-template-columns: 1fr; text-align: center; padding: 30px 20px; gap: 30px; }
    .hero h1 { font-size: 1.6em; }
    .hero-subtitle { font-size: 1.4em; }
    .hero p { font-size: 1em; }
    .hero-info { flex-direction: column; gap: 12px; }
    .hero-info-item { padding: 12px 16px; text-align: left; }
    .hero-visual { height: 180px; order: -1; }
    .hero-visual .welcome-sign { width: 220px; }
    .hero-visual .bird1 { width: 70px; top: 0; right: 5%; }
    .hero-visual .bird2 { width: 60px; bottom: 10%; left: 5%; }
    .cta-btn { padding: 12px 28px; font-size: 1em; }

    section { padding: 50px 15px; }
    .section-header { margin-bottom: 30px; }
    .section-header h2 { font-size: 1.5em; }
    .section-header p { font-size: 1em; }
    .section-header-with-motifs { gap: 20px; }
    .header-motif { height: 60px; }
    .jugend .header-motif { height: 50px; }
    .angebote .header-motif { height: 70px; }

    .baby .motifs, .kleinkind .motifs { gap: 15px; margin-bottom: 25px; }
    .baby .motifs img, .kleinkind .motifs img { height: 60px; }
    .info-cards { grid-template-columns: 1fr; gap: 15px; }
    .info-card { padding: 20px; }
    .info-card h3 { font-size: 1.1em; }

    .philosophie-row { flex-direction: column; gap: 20px; }
    .philosophie-row.bottom { flex-direction: column-reverse; }
    .philosophie-motif { height: 100px; }
    .philosophie-schild { height: 200px; }
    .philosophie-card { padding: 20px; }
    .philosophie-card h3 { font-size: 1.2em; }
    .sprache-item { padding: 12px 15px; font-size: 0.9em; }

    .team-grid { grid-template-columns: 1fr; gap: 20px; }
    .team-photo { width: 120px; height: 120px; }
    .team-card { padding: 20px; }

    .kontakt-grid { grid-template-columns: 1fr; gap: 25px; }
    .kontakt-item .icon { font-size: 2em; }
    .oeffnungszeiten-box { padding: 20px 15px; }
    .oeffnungszeiten-row { flex-direction: column; gap: 4px; text-align: center; }
    .emergency { padding: 20px 15px; }
    .hospital-grid { grid-template-columns: 1fr; }
    .hospital-card { padding: 15px; }

    .termin { padding: 50px 15px; }
    .onedoc-container { padding: 10px; }

    .cookie-content { flex-direction: column; text-align: center; }
}

/* Small Mobile */
@media (max-width: 480px) {
    .logo-text { display: flex; }
    .logo-main { font-size: 0.85em; }
    .logo-sub { font-size: 0.6em; }
    .hero h1 { font-size: 1.3em; }
    .hero-subtitle { font-size: 1.2em; }
    .hero-visual { height: 150px; }
    .hero-visual .welcome-sign { width: 180px; }
    .hero-visual .bird1, .hero-visual .bird2 { display: none; }
    .header-motif { display: none; }
    .baby .motifs img, .kleinkind .motifs img { height: 45px; }
    .section-header h2 { font-size: 1.3em; }
    .philosophie-schild { height: 150px; }
    .philosophie-motif { height: 70px; }
    footer { padding: 25px 15px; font-size: 0.9em; }
}
