: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 Button */
.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 Section */
.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-pretitle {
    font-size: 1.3em;
    color: var(--ocean);
    font-weight: 600;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2em;
    color: var(--text-light);
    margin-bottom: 30px;
}

.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;
}

.hero-visual .tree {
    width: 280px;
    bottom: 0;
    right: 10%;
    animation: none;
}

.hero-visual .sign {
    width: 350px;
    top: -15%;
    left: -5%;
    animation-delay: 2s;
}

@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 */
.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 - Unterwasser */
.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 - Wald */
.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 - Geometrisch */
.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 .motifs {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.jugend .motifs img {
    height: 169px;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.15));
    transition: transform 0.3s ease;
}

.jugend .motifs img:hover {
    transform: scale(1.05);
}

.jugend .geometric-visual {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.jugend .geometric-visual img {
    height: 195px;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.2));
}

.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 .motifs {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.angebote .motifs img {
    height: 182px;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.15));
    transition: transform 0.3s ease;
}

.angebote .motifs img:hover {
    transform: scale(1.05);
}

.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-row.top {
    flex-direction: row;
}

.philosophie-row.bottom {
    flex-direction: row;
}

.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;
}

@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

.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;
}

/* 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;
}

.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;
}

.emergency h4 {
    color: var(--sunset);
    margin-bottom: 10px;
}

.emergency a {
    color: var(--sunset);
    font-weight: 600;
}

.emergency a:hover {
    text-decoration: underline;
}

/* Hospitals Section */
.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;
}

@media (max-width: 600px) {
    .hospital-grid {
        grid-template-columns: 1fr;
    }
}

/* 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;
}

/* Responsive - Tablet */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: 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;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    /* Navigation - Mobile Menu */
    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 */
    .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-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;
    }
    
    /* Sections general */
    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 - hide motifs on mobile */
    .section-header-with-motifs {
        gap: 20px;
    }
    
    .header-motif {
        height: 60px;
    }
    
    .jugend .header-motif {
        height: 50px;
    }
    
    .angebote .header-motif {
        height: 70px;
    }
    
    /* Baby/Kleinkind motifs - smaller */
    .baby .motifs,
    .kleinkind .motifs {
        gap: 15px;
        margin-bottom: 25px;
    }
    
    .baby .motifs img,
    .kleinkind .motifs img {
        height: 60px;
    }
    
    /* Info cards */
    .info-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .info-card {
        padding: 20px;
    }
    
    .info-card h3 {
        font-size: 1.1em;
    }
    
    /* Philosophie - major changes */
    .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 */
    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .team-photo {
        width: 120px;
        height: 120px;
    }
    
    .team-card {
        padding: 20px;
    }
    
    /* Kontakt */
    .kontakt-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .kontakt-item .icon {
        font-size: 2em;
    }
    
    /* Emergency/Hospitals */
    .emergency {
        padding: 20px 15px;
    }
    
    .hospital-grid {
        grid-template-columns: 1fr;
    }
    
    .hospital-card {
        padding: 15px;
    }
}

/* Responsive - 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;
    }
    
    /* Hide header motifs completely on very small screens */
    .header-motif {
        display: none;
    }
    
    /* Smaller motifs */
    .baby .motifs img,
    .kleinkind .motifs img {
        height: 45px;
    }
    
    .section-header h2 {
        font-size: 1.3em;
    }
    
    /* Philosophie - hide large sign on very small screens */
    .philosophie-schild {
        height: 150px;
    }
    
    .philosophie-motif {
        height: 70px;
    }
    
    /* Footer */
    footer {
        padding: 25px 15px;
        font-size: 0.9em;
    }
}

/* Mobile 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;
}

/* 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);
}

@media (max-width: 600px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}
