/* style.css - Externe CSS für Sabines Regenbogen */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quicksand', sans-serif;
    background-color: #fff5f7;
    color: #4a2a3a;
    line-height: 1.5;
    scroll-behavior: smooth;
}

/* FESTES FARBSCHEMA: Rosa/Lila (verspielt) */
:root {
    --primary: #e83e8c;
    --primary-dark: #c2185b;
    --secondary: #f8bbd0;
    --accent: #f06292;
    --bg-light: #fff0f3;
    --bg-dark: #fce4ec;
    --text-dark: #4a2a3a;
    --text-muted: #7a5a6a;
    --white: #ffffff;
    --shadow: 0 8px 20px rgba(0,0,0,0.05);
    --border-radius: 28px;
}

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

section {
    padding: 60px 0;
}

/* Abwechselnde Hintergrundfarben für Sections */
section:nth-child(even) {
    background-color: var(--bg-light);
}

section:nth-child(odd) {
    background-color: transparent;
}

/* Spezifische Hintergründe für bestimmte Sections */
#leistungen, #steckbrief, #galerie {
    background-color: var(--bg-light) !important;
}

h1, h2, h3 {
    font-weight: 600;
    letter-spacing: -0.3px;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    position: relative;
    display: inline-block;
}
h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 4px;
}
.section-sub {
    margin-bottom: 2.5rem;
    color: var(--text-muted);
    font-weight: 500;
}

header {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 16px 0;
}
.logo h1 {
    font-size: 1.6rem;
    color: var(--primary-dark);
}
.logo p {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
    flex-wrap: wrap;
}
.nav-links a {
    text-decoration: none;
    font-weight: 600;
    color: var(--text-dark);
    transition: color 0.2s;
}
.nav-links a:hover {
    color: var(--primary);
}
.mobile-menu {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
}

.hero-banner {
    width: 100%;
    position: relative;
}
.banner-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}
.hero-overlay {
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd0 100%);
    padding: 30px 0 50px;
}

.hero-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}
.hero-text {
    flex: 2;
}
.hero-text h1 {
    font-size: 2.8rem;
    color: var(--primary-dark);
}
.hero-text .tagline {
    font-size: 1.3rem;
    margin: 16px 0;
    font-weight: 500;
}
.contact-badge {
    background: var(--white);
    padding: 16px 20px;
    border-radius: 48px;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    box-shadow: var(--shadow);
}
.contact-badge i {
    color: var(--primary);
    width: 28px;
}
.contact-badge span {
    font-weight: 600;
}
.hero-image {
    flex: 1;
    text-align: center;
}
.profile-pic {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--white);
    box-shadow: var(--shadow);
    background: #f8bbd0;
}

.card-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
}
.card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 28px 22px;
    box-shadow: var(--shadow);
    flex: 1 1 260px;
    transition: transform 0.2s;
}
.card:hover {
    transform: translateY(-5px);
}
.card i {
    font-size: 2.6rem;
    color: var(--primary);
    margin-bottom: 16px;
}
.card h3 {
    margin-bottom: 12px;
    font-size: 1.5rem;
    color: var(--text-dark);
}

.anfahrt-wrapper {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.map-container {
    width: 100%;
    height: 400px;
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
.anfahrt-info {
    padding: 30px;
    background: var(--white);
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
    border-top: 1px solid #f0e0e8;
}
.anfahrt-adresse {
    flex: 1;
}
.anfahrt-adresse i {
    color: var(--primary);
    width: 28px;
    margin-right: 8px;
}
.anfahrt-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}
.map-btn {
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.map-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}
.map-btn.secondary {
    background: var(--bg-light);
    color: var(--primary-dark);
    border: 1px solid var(--primary);
}
.map-btn.secondary:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

.steckbrief-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}
.steckbrief-text {
    flex: 2;
}
.steckbrief-icon {
    flex: 1;
    text-align: center;
    font-size: 6rem;
    color: var(--primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}
.gallery-grid .gallery-item {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-grid .gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.gallery-grid .gallery-item a {
    text-decoration: none;
    display: block;
}
.gallery-grid .gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.gallery-grid .gallery-item:hover img {
    transform: scale(1.02);
}
.gallery-grid .gallery-item span {
    display: block;
    padding: 15px;
    text-align: center;
    font-weight: 600;
    color: var(--text-dark);
    background: var(--white);
}

.form-container {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 36px;
    box-shadow: var(--shadow);
}
.form-group {
    margin-bottom: 20px;
}
input, textarea, select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--secondary);
    border-radius: 60px;
    font-family: inherit;
    background: var(--bg-light);
    transition: 0.2s;
}
textarea {
    border-radius: 28px;
    resize: vertical;
}
input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(232,62,140,0.2);
}
.btn {
    background: var(--primary);
    border: none;
    padding: 12px 32px;
    border-radius: 60px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.2s;
    color: white;
    font-family: inherit;
}
.btn:hover {
    background: var(--primary-dark);
}
.erreichbarkeit {
    background: var(--secondary);
    border-radius: 32px;
    padding: 16px 24px;
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}
.alert {
    padding: 12px 20px;
    border-radius: 60px;
    margin-bottom: 20px;
    font-weight: 500;
    display: none;
}
.alert-success {
    background: #d4edda;
    color: #155724;
    border-left: 5px solid #28a745;
}
.alert-error {
    background: #f8d7da;
    color: #721c24;
    border-left: 5px solid #dc3545;
}
footer {
    background: var(--secondary);
    padding: 32px 0;
    text-align: center;
    font-size: 0.85rem;
    margin-top: 40px;
}
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: #2c1e1a;
    color: #fef0e0;
    padding: 16px 24px;
    border-radius: 60px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    z-index: 1100;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.cookie-banner p {
    font-size: 0.9rem;
    margin: 0;
}
.cookie-btn {
    background: var(--primary);
    border: none;
    padding: 8px 20px;
    border-radius: 40px;
    font-weight: bold;
    cursor: pointer;
    color: #2c1e1a;
}
.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
}

/* Lightbox Anpassungen */
.lightbox .lb-image {
    border-radius: 12px;
}
.lightbox .lb-data .lb-caption {
    font-size: 1rem;
    font-weight: 500;
}

/* ============================================
   NEWS CARD (oberhalb des Willkommensblocks)
   ============================================ */

.news-float-container {
    max-width: 1200px;
    margin: -20px auto 20px;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

.news-card {
    background: linear-gradient(135deg, #ffffff 0%, #fff5f7 100%);
    border-radius: 24px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(232, 62, 140, 0.2);
    overflow: hidden;
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-30px); }
}

.news-card-inner {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 20px 25px;
}

.news-card-icon {
    flex-shrink: 0;
    background: #e83e8c;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(232, 62, 140, 0.3);
}

.news-card-icon i {
    font-size: 1.5rem;
    color: white;
}

.news-card-content {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #3a2a2a;
}

.news-card-close {
    flex-shrink: 0;
    cursor: pointer;
    padding: 8px;
    margin: -8px;
    color: #999;
    transition: color 0.2s ease;
}

.news-card-close:hover {
    color: #e83e8c;
}

@media (max-width: 780px) {
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        background: white;
        padding: 20px 0;
    }
    .nav-links.show {
        display: flex;
    }
    .mobile-menu {
        display: block;
    }
    .hero-text h1 {
        font-size: 2rem;
    }
    .contact-badge {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .banner-img {
        height: 180px;
        object-position: center;
    }
    .profile-pic {
        width: 130px;
        height: 130px;
    }
    .map-container {
        height: 280px;
    }
    .anfahrt-info {
        flex-direction: column;
    }
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }
    .gallery-grid .gallery-item img {
        height: 150px;
    }
    .gallery-grid .gallery-item span {
        padding: 10px;
        font-size: 0.8rem;
    }
    .news-float-container {
        margin: -10px auto 15px;
        padding: 0 16px;
    }
    .news-card-inner {
        padding: 15px;
        gap: 12px;
    }
    .news-card-icon {
        width: 38px;
        height: 38px;
    }
    .news-card-icon i {
        font-size: 1.1rem;
    }
    .news-card-content {
        font-size: 0.85rem;
    }
}