/* =============================================
   HEUREKA KIDS - Stylesheet
   Sauber strukturiert und fehlerfrei
   ============================================= */

/* =====================
   1. LOCAL FONTS (DSGVO-konform)
   ===================== */

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Poppins Regular'), local('Poppins-Regular'),
         url('../fonts/poppins-v24-latin_latin-ext-regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: local('Poppins Medium'), local('Poppins-Medium'),
         url('../fonts/poppins-v24-latin_latin-ext-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: local('Poppins SemiBold'), local('Poppins-SemiBold'),
         url('../fonts/poppins-v24-latin_latin-ext-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: local('Poppins Bold'), local('Poppins-Bold'),
         url('../fonts/poppins-v24-latin_latin-ext-700.woff2') format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: local('Poppins ExtraBold'), local('Poppins-ExtraBold'),
         url('../fonts/poppins-v24-latin_latin-ext-800.woff2') format('woff2');
}

/* =====================
   2. CSS VARIABLES
   ===================== */

:root {
    --orange: #FF6B35;
    --yellow: #FFB800;
    --cyan: #00B4D8;
    --blue: #0077B6;
    --dark: #2D3436;
    --gray: #636E72;
    --light-gray: #B2BEC3;
    --light: #FFF8F0;
    --white: #FFFFFF;
    --green: #00B894;
    --purple: #6C5CE7;
    --pink: #E84393;
}

/* =====================
   3. RESET & BASE
   ===================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
}

/* =====================
   4. NAVIGATION
   ===================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.navbar.transparent {
    background: transparent;
    box-shadow: none;
}

.navbar.transparent .nav-logo span {
    color: white;
}

.navbar.transparent .nav-links a {
    color: white;
}

.navbar.transparent .nav-links a:hover {
    color: var(--yellow);
}

.navbar.transparent .hamburger span {
    background: white;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.nav-logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--orange), var(--yellow));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    font-weight: 800;
}

.nav-logo span {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    transition: color 0.3s;
}

.nav-logo span em {
    font-style: normal;
    color: var(--cyan);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--dark);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: var(--orange);
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: linear-gradient(135deg, var(--orange), var(--yellow)) !important;
    color: white !important;
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    font-weight: 600 !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,107,53,0.3);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Navigation */
.nav-mobile {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem;
    z-index: 999;
}

.nav-mobile.active {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.nav-mobile a {
    color: var(--dark);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s;
}

.nav-mobile a:hover {
    background: var(--light);
    color: var(--orange);
}

.nav-mobile .nav-cta {
    text-align: center;
    margin-top: 1rem;
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
}

/* =====================
   5. HERO SECTION
   ===================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 3rem;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.4) 0%,
        rgba(0,0,0,0.5) 50%,
        rgba(0,0,0,0.7) 100%
    );
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    color: white;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero .tagline {
    color: rgba(255,255,255,0.9);
}

.hero .hero-text {
    color: rgba(255,255,255,0.85);
}

.hero .scroll-hint {
    color: rgba(255,255,255,0.6);
}

.logo-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--orange), var(--yellow));
    border-radius: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    font-weight: 800;
    box-shadow: 0 15px 50px rgba(255,107,53,0.35);
    margin-bottom: 2rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

h1 span {
    color: var(--cyan);
}

.tagline {
    color: var(--gray);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--orange), var(--yellow));
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 20px rgba(255,107,53,0.3);
    margin-bottom: 2rem;
}

.hero-text {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.scroll-hint {
    margin-top: 2rem;
    color: var(--light-gray);
    font-size: 0.9rem;
}

.scroll-hint span {
    display: block;
    margin-top: 0.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

/* =====================
   6. REGION INTRO SECTION
   ===================== */

.region-intro {
    background: linear-gradient(135deg, var(--orange), var(--yellow));
    padding: 4rem 2rem;
    text-align: center;
}

.region-intro-content {
    max-width: 800px;
    margin: 0 auto;
}

.region-intro-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.region-intro h2 {
    color: white;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.region-intro p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.region-intro-locations {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.region-intro-locations .location {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.3s;
}

.region-intro-locations .location:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.region-intro-locations .location.primary {
    background: white;
    color: var(--orange);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* =====================
   7. SECTION STYLES (Global)
   ===================== */

section {
    padding: 5rem 2rem;
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    display: inline-block;
    background: var(--light);
    color: var(--orange);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
}

.note-box {
    background: rgba(255,107,53,0.08);
    border-left: 4px solid var(--orange);
    padding: 1.25rem 1.5rem;
    border-radius: 0 12px 12px 0;
    max-width: 750px;
    margin: 1.5rem auto 0;
    text-align: left;
}

.note-box p {
    color: var(--dark);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

/* =====================
   8. IMAGE GALLERY
   ===================== */

.gallery-section {
    background: var(--dark);
    padding: 5rem 0;
    overflow: hidden;
    width: 100%;
}

.gallery-section .section-header {
    padding: 0 2rem;
}

.gallery-section .section-header h2 {
    color: var(--white);
}

.gallery-section .section-header p {
    color: rgba(255,255,255,0.7);
}

.gallery-section .section-label {
    background: rgba(255,255,255,0.1);
    color: var(--yellow);
}

.gallery-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 1rem 2rem 2rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar {
    display: none;
}

.gallery-item {
    flex: 0 0 400px;
    height: 300px;
    background: linear-gradient(135deg, #3d3d3d, #2d2d2d);
    border-radius: 20px;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.4);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, 
        rgba(255,107,53,0.1) 0%, 
        rgba(0,180,216,0.1) 50%, 
        rgba(255,184,0,0.1) 100%);
}

.gallery-item:nth-child(odd) {
    background: linear-gradient(135deg, #4a4a4a, #3a3a3a);
}

.gallery-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    z-index: 1;
}

.gallery-placeholder .icon {
    font-size: 3.5rem;
    opacity: 0.6;
}

.gallery-placeholder span:last-child {
    font-weight: 500;
}

.gallery-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 0 2rem;
}

.gallery-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-btn:hover {
    background: var(--orange);
    border-color: var(--orange);
}

/* =====================
   9. TOPICS / THEMENFELDER
   ===================== */

.topics {
    background: var(--light);
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    width: 100%;
    max-width: 2000px;
    margin: 0 auto;
}

.topic-card {
    background: var(--white);
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.topic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border-color: var(--orange);
}

.topic-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.topic-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

/* Color variations for topic icons */
.topic-card:nth-child(8n+1) .topic-icon { background: linear-gradient(135deg, var(--orange), var(--yellow)); }
.topic-card:nth-child(8n+2) .topic-icon { background: linear-gradient(135deg, var(--cyan), var(--blue)); }
.topic-card:nth-child(8n+3) .topic-icon { background: linear-gradient(135deg, #A29BFE, #6C5CE7); }
.topic-card:nth-child(8n+4) .topic-icon { background: linear-gradient(135deg, #55EFC4, #00B894); }
.topic-card:nth-child(8n+5) .topic-icon { background: linear-gradient(135deg, #FD79A8, #E84393); }
.topic-card:nth-child(8n+6) .topic-icon { background: linear-gradient(135deg, var(--yellow), var(--orange)); }
.topic-card:nth-child(8n+7) .topic-icon { background: linear-gradient(135deg, #74B9FF, #0984E3); }
.topic-card:nth-child(8n+8) .topic-icon { background: linear-gradient(135deg, #FFEAA7, #FDCB6E); }

.topic-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
}

.topic-card p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

.topic-tag {
    display: inline-block;
    background: var(--light);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--gray);
    margin-top: 0.75rem;
}

/* Topic Cards with Gallery */
.topic-card.has-gallery {
    cursor: pointer;
    position: relative;
}

.topic-card.has-gallery::after {
    content: "🔍";
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--orange), var(--yellow));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(255,107,53,0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.topic-card.has-gallery:hover::after {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255,107,53,0.4);
}

.topic-card.has-gallery .topic-tag.gallery-hint {
    background: linear-gradient(135deg, var(--orange), var(--yellow));
    color: white;
}
/* === KURSE MIT GALERIE-INHALT === */

/* Sanfte farbliche Hervorhebung für Kurse MIT echten Bildern */
.topic-card.has-gallery.has-images {
    background: linear-gradient(135deg, #FFF8F0 0%, #FFF3E6 100%);
    border: 2px solid rgba(255, 107, 53, 0.15);
}

/* Hover-Effekt NUR für Kurse mit echten Bildern */
.topic-card.has-gallery.has-images:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.15);
    border-color: var(--orange);
    cursor: pointer;
}

/* === KURSE MIT/OHNE GALERIE-INHALT === */

/* Kurse MIT echten Bildern: Normal weiß, voller Hover */
.topic-card.has-gallery.has-images {
    background: var(--white);
    cursor: pointer;
}

.topic-card.has-gallery.has-images:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.15);
    border-color: var(--orange);
}

/* Kurse OHNE echte Bilder: Sanfter Orangeton, kein Hover */
.topic-card.has-gallery:not(.has-images) {
    background: linear-gradient(135deg, #FFF8F0 0%, #FFF3E6 100%);
    border: 2px solid rgba(255, 107, 53, 0.1);
    cursor: default;
}

.topic-card.has-gallery:not(.has-images):hover {
    transform: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border-color: rgba(255, 107, 53, 0.1);
}

/* "Eindrücke ansehen" nur bei echten Bildern */
.topic-card.has-gallery:not(.has-images) .gallery-hint {
    display: none;
}

/* "Eindrücke folgen" Badge für Kurse ohne Bilder */
.topic-card.has-gallery {
    position: relative;
}

.topic-card.has-gallery:not(.has-images)::after {
    content: 'Eindrücke folgen';
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 107, 53, 0.15);
    color: var(--orange);
    font-size: 0.65rem;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-weight: 500;
}
/* =====================
   10. REGION SECTION
   ===================== */

.region {
    background: var(--light);
}

.region-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.region-locations {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.location-tag {
    background: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.location-tag.primary {
    background: linear-gradient(135deg, var(--orange), var(--yellow));
    color: white;
}

.format-info {
    margin-top: 2.5rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.format-info h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.format-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.format-tag {
    background: var(--light);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    color: var(--dark);
}

/* =====================
   11. SIGNUP / ANMELDUNG
   ===================== */

.signup {
    background: linear-gradient(135deg, var(--dark) 0%, #1a1a2e 100%);
    color: var(--white);
}

.signup .section-label {
    background: rgba(255,255,255,0.1);
    color: var(--yellow);
}

.signup .section-header h2 {
    color: var(--white);
}

.signup .section-header p {
    color: rgba(255,255,255,0.7);
}

.signup-container {
    max-width: 850px;
    margin: 0 auto;
}

.signup-form {
    background: rgba(255,255,255,0.05);
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid rgba(255,255,255,0.1);
}

.form-section {
    margin-bottom: 2rem;
}

.form-section-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--yellow);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-section-title .number {
    width: 28px;
    height: 28px;
    background: var(--yellow);
    color: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group input[type="text"],
.form-group input[type="email"] {
    width: 100%;
    padding: 0.9rem 1.1rem;
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--cyan);
    background: rgba(255,255,255,0.1);
}

.form-group input::placeholder {
    color: rgba(255,255,255,0.4);
}

.form-group textarea {
    width: 100%;
    padding: 1rem 1.1rem;
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    color: var(--white);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s;
    resize: vertical;
    min-height: 100px;
}

.form-group textarea:focus {
    outline: none;
    border-color: var(--cyan);
    background: rgba(255,255,255,0.1);
}

.form-group textarea::placeholder {
    color: rgba(255,255,255,0.4);
}

/* Compact checkbox grid for interests */
.interests-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.5rem;
}

.interest-item-compact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid rgba(255,255,255,0.05);
    font-size: 0.85rem;
}

.interest-item-compact:hover {
    background: rgba(255,255,255,0.08);
}

.interest-item-compact input[type="checkbox"] {
    display: none;
}

.interest-item-compact .checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.interest-item-compact input:checked + .checkmark {
    background: linear-gradient(135deg, var(--orange), var(--yellow));
    border-color: var(--orange);
}

.interest-item-compact input:checked + .checkmark::after {
    content: "✓";
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
}

.interest-item-compact span:last-child {
    color: rgba(255,255,255,0.8);
}

.interest-item-compact:has(input:checked) {
    background: rgba(255,107,53,0.15);
    border-color: rgba(255,107,53,0.3);
}

.interest-item-compact:has(input:checked) span:last-child {
    color: var(--white);
}

/* Frequency options */
.frequency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.6rem;
}

.frequency-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.9rem;
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid rgba(255,255,255,0.05);
}

.frequency-item:hover {
    background: rgba(255,255,255,0.08);
}

.frequency-item input[type="checkbox"] {
    display: none;
}

.frequency-item .checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.frequency-item input:checked + .checkmark {
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    border-color: var(--cyan);
}

.frequency-item input:checked + .checkmark::after {
    content: "✓";
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
}

.frequency-item span:last-child {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}

.frequency-item:has(input:checked) {
    background: rgba(0,180,216,0.15);
    border-color: rgba(0,180,216,0.3);
}

.frequency-item:has(input:checked) span:last-child {
    color: var(--white);
}

.submit-btn {
    width: 100%;
    padding: 1.1rem 2rem;
    background: linear-gradient(135deg, var(--orange), var(--yellow));
    color: white;
    border: none;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1rem;
    box-shadow: 0 4px 20px rgba(255,107,53,0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(255,107,53,0.4);
}

.form-note {
    text-align: center;
    margin-top: 1.25rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

/* =====================
   12. MITMACHEN SECTION
   ===================== */

.mitmachen {
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    color: var(--white);
}

.mitmachen .section-label {
    background: rgba(255,255,255,0.2);
    color: var(--white);
}

.mitmachen .section-header h2 {
    color: var(--white);
}

.mitmachen .section-header p {
    color: rgba(255,255,255,0.9);
}

.mitmachen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.mitmachen-card {
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.15);
    transition: all 0.3s;
}

.mitmachen-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-5px);
}

.mitmachen-icon {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.mitmachen-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.mitmachen-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* =====================
   13. TEAM SECTION
   ===================== */

.team {
    background: var(--white);
}

.team-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto 4rem;
}

.team-card {
    background: var(--light);
    border-radius: 24px;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.team-card.organizer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--orange), var(--yellow));
}

.team-card.contributor::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    overflow: hidden;
    position: relative;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.team-avatar .initials {
    z-index: 1;
}

.team-card.organizer .team-avatar {
    background: linear-gradient(135deg, var(--orange), var(--yellow));
}

.team-card.contributor .team-avatar {
    background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.team-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.team-card .role {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.team-card.organizer .role {
    color: var(--orange);
}

.team-card.contributor .role {
    color: var(--cyan);
}

.team-card .bio {
    color: var(--gray);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.team-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.team-contact a {
    color: var(--dark);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.team-contact a:hover {
    color: var(--orange);
}

/* =====================
   14. CONTACT SECTION
   ===================== */

.contact {
    background: var(--white);
    text-align: center;
    padding: 4rem 2rem;
}

.contact-email {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-email a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-email a:hover {
    color: var(--orange);
}

.contact-status {
    display: inline-block;
    background: var(--light);
    color: var(--gray);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-top: 1rem;
}

/* =====================
   15. IMPRESSUM
   ===================== */

.impressum {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 4rem 2rem 2rem;
}

.impressum-content {
    max-width: 1000px;
    margin: 0 auto;
}

.impressum h2 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-align: center;
}

.impressum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.impressum-card {
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(255,255,255,0.1);
}

.impressum-card h3 {
    color: var(--yellow);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.impressum-card p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.impressum-card a {
    color: var(--cyan);
    text-decoration: none;
}

.impressum-card a:hover {
    text-decoration: underline;
}

/* =====================
   16. DATENSCHUTZ SECTION
   ===================== */

.datenschutz {
    background: var(--white);
    padding: 5rem 2rem;
}

.datenschutz-content {
    max-width: 900px;
    margin: 0 auto;
}

/* Datenschutz Accordion - Preview */
.datenschutz-preview {
    max-width: 900px;
    margin: 0 auto;
}

.datenschutz-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.datenschutz-summary .summary-item {
    background: var(--light);
    padding: 1rem 1.25rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark);
}

.datenschutz-summary .summary-item .icon {
    font-size: 1.25rem;
}

.datenschutz-toggle,
.datenschutz-collapse {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem 2rem;
    background: var(--light);
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    transition: all 0.3s;
}

.datenschutz-toggle:hover,
.datenschutz-collapse:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: white;
}

.datenschutz-toggle .toggle-icon,
.datenschutz-collapse .toggle-icon {
    transition: transform 0.3s;
}

.datenschutz-toggle.active .toggle-icon {
    transform: rotate(180deg);
}

/* Datenschutz - Full Content (Hidden by default) */
.datenschutz-full {
    display: none;
    max-width: 900px;
    margin: 0 auto;
    animation: slideDown 0.4s ease;
}

.datenschutz-full.active {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.datenschutz-full .legal-text {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.datenschutz-collapse {
    background: transparent;
    border-color: rgba(0,0,0,0.1);
}

.datenschutz-preview.hidden {
    display: none;
}

/* Legal Text Styles */
.legal-text {
    background: var(--light);
    border-radius: 20px;
    padding: 2.5rem;
    margin-top: 2rem;
}

.legal-text .last-updated {
    color: var(--gray);
    font-size: 0.85rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.legal-text h3 {
    font-size: 1.15rem;
    color: var(--dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.legal-text h3:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-text h4 {
    font-size: 1rem;
    color: var(--orange);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-text p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-text ul {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-text li {
    margin-bottom: 0.5rem;
}

.legal-text a {
    color: var(--cyan);
    text-decoration: underline;
}

.legal-text a:hover {
    color: var(--orange);
}

.legal-text strong {
    color: var(--dark);
}

.responsible-parties {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 1rem 0 1.5rem;
}

.responsible-parties .party {
    background: var(--white);
    padding: 1.25rem;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--gray);
}

.responsible-parties .party strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.legal-text .authority {
    background: var(--white);
    padding: 1.25rem;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.8;
}

/* =====================
   17. FOOTER
   ===================== */

footer {
    background: var(--dark);
    color: rgba(255,255,255,0.5);
    text-align: center;
    padding: 2rem;
    font-size: 0.85rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

footer a {
    color: var(--cyan);
    text-decoration: none;
}

/* =====================
   18. COOKIE BANNER
   ===================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark);
    color: white;
    padding: 1.25rem 2rem;
    z-index: 9998;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    display: none;
}

.cookie-banner.show {
    display: block;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 280px;
}

.cookie-text h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--yellow);
}

.cookie-text p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
    margin: 0;
}

.cookie-text a {
    color: var(--cyan);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.cookie-btn.accept {
    background: linear-gradient(135deg, var(--orange), var(--yellow));
    color: white;
}

.cookie-btn.accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,107,53,0.4);
}

.cookie-btn.decline {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
}

.cookie-btn.decline:hover {
    background: rgba(255,255,255,0.2);
}

/* =====================
   19. LIGHTBOX
   ===================== */

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 1200px;
    width: 95%;
    max-height: 90vh;
    position: relative;
}

.lightbox-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
}

.lightbox-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lightbox-title .icon {
    font-size: 1.75rem;
}

.lightbox-close {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.75rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: var(--orange);
    transform: rotate(90deg);
}

.lightbox-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    max-height: 70vh;
    overflow-y: auto;
    padding: 0 1rem 1rem;
}

.lightbox-gallery::-webkit-scrollbar {
    width: 8px;
}

.lightbox-gallery::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
}

.lightbox-gallery::-webkit-scrollbar-thumb {
    background: var(--orange);
    border-radius: 4px;
}

.lightbox-item {
    position: relative;
    background: linear-gradient(135deg, #3d3d3d, #2d2d2d);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s;
    height: 0;
    padding-bottom: 75%; /* 4:3 Ratio Fallback */
}

@supports (aspect-ratio: 4/3) {
    .lightbox-item {
        height: auto;
        padding-bottom: 0;
        aspect-ratio: 4/3;
    }
}

.lightbox-item:hover {
    transform: scale(1.02);
}

.lightbox-item .placeholder,
.lightbox-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.lightbox-item .placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.4);
    gap: 0.5rem;
}

.lightbox-item .placeholder .icon {
    font-size: 2.5rem;
    opacity: 0.6;
}

.lightbox-item img {
    object-fit: cover;
}

.lightbox-item .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    font-size: 0.85rem;
}

.lightbox-description {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    padding: 0 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* =====================
   20. RESPONSIVE
   ===================== */

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 3rem 1rem;
    }
    
    .gallery-item {
        flex: 0 0 300px;
        height: 220px;
		position: relative;
    }
    .gallery-caption {
		position: absolute;
		bottom: 0;
		left: 0;
		right: 0;
		padding: 1rem;
		background: linear-gradient(transparent, rgba(0,0,0,0.7));
		color: white;
		font-size: 0.9rem;
		font-weight: 500;
	}
    .interests-grid-compact {
        grid-template-columns: 1fr 1fr;
    }
    
    .frequency-grid {
        grid-template-columns: 1fr;
    }
    
    .lightbox-gallery {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.5rem 1rem;
        max-height: 65vh;
    }
    
    .lightbox-item {
        padding-bottom: 75%;
    }
    
    .lightbox-content {
        width: 98%;
        padding: 0.5rem;
    }
    
    .lightbox-header {
        padding: 0 0.5rem;
        margin-bottom: 1rem;
    }
    
    .lightbox-title {
        font-size: 1.1rem;
    }
    
    .lightbox-description {
        font-size: 0.85rem;
        padding: 0 0.5rem;
        margin-bottom: 1rem;
    }
    
    .lightbox-close {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .region-intro h2 {
        font-size: 1.75rem;
    }
    
    .region-intro-locations .location {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .datenschutz-summary {
        grid-template-columns: 1fr 1fr;
    }
    
    .datenschutz-summary .summary-item {
        padding: 0.75rem;
        font-size: 0.8rem;
    }
    
    .legal-text {
        padding: 1.5rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .interests-grid-compact {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1600px) {
    .topics-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}

@media (min-width: 2000px) {
    .topics-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}


/* =====================================================
   GALLERY STATUS - EINFACHE LÖSUNG
   Standard = Orange, has-gallery = Weiß
   Füge diesen Code AM ENDE deiner style.css ein!
   ===================================================== */

/* Standard: ALLE topic-cards bekommen sanften Orangeton */
.topics .topics-grid .topic-card {
    background: linear-gradient(135deg, #FFF8F0 0%, #FFF3E6 100%) !important;
    border: 2px solid rgba(255, 107, 53, 0.15) !important;
}

/* Standard Hover: Kein Lift-Effekt */
.topics .topics-grid .topic-card:hover {
    transform: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border-color: rgba(255, 107, 53, 0.2);
}

/* "Eindrücke folgen" Badge für ALLE Karten ohne has-gallery */
.topics .topics-grid .topic-card:not(.has-gallery) {
    position: relative;
}

.topics .topics-grid .topic-card:not(.has-gallery)::after {
    content: 'Eindrücke folgen';
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 107, 53, 0.15);
    color: #FF6B35;
    font-size: 0.65rem;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-weight: 500;
}

/* ===== MIT has-gallery: Weiß und interaktiv ===== */

.topics .topics-grid .topic-card.has-gallery {
    background: #FFFFFF !important;
    border: 2px solid transparent !important;
    cursor: pointer;
}

.topics .topics-grid .topic-card.has-gallery:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.15);
    border-color: #FF6B35 !important;
}

/* Lupen-Icon für Karten MIT has-gallery */
.topics .topics-grid .topic-card.has-gallery::after {
    content: "🔍";
    position: absolute;
    bottom: 1rem!important;
    right: 1rem!important;
    width: 36px!important;
    height: 36px;
    background: linear-gradient(135deg, #FF6B35, #FFB800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(255,107,53,0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.topics .topics-grid .topic-card.has-gallery:hover::after {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255,107,53,0.4);
}

/* =====================================================
   LIGHTBOX GALLERY - iOS/Mobile Fix
   Füge diesen Code AM ENDE deiner style.css ein!
   ===================================================== */

/* Lightbox Items - Padding-Bottom Trick für iOS */
.lightbox-item {
    position: relative !important;
    background: linear-gradient(135deg, #3d3d3d, #2d2d2d);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s;
    /* Feste Höhe als Fallback */
    height: 0 !important;
    padding-bottom: 75% !important; /* 4:3 Ratio */
    aspect-ratio: unset !important; /* aspect-ratio deaktivieren */
}

/* Inhalt absolut positionieren */
.lightbox-item .placeholder,
.lightbox-item img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.lightbox-item .placeholder {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    color: rgba(255,255,255,0.4);
    gap: 0.5rem;
}

.lightbox-item .placeholder .icon {
    font-size: 2.5rem;
    opacity: 0.6;
}

.lightbox-item img {
    object-fit: cover !important;
}

/* Caption auch absolut */
.lightbox-item .caption {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    font-size: 0.85rem;
    z-index: 2;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .lightbox-gallery {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        padding: 0 0.5rem 1rem !important;
        max-height: 65vh;
        overflow-y: auto;
    }
    
    .lightbox-item {
        padding-bottom: 75% !important;
        min-height: 0 !important;
    }
    
    .lightbox-content {
        width: 98% !important;
        padding: 0.5rem !important;
    }
    
    .lightbox-header {
        padding: 0 0.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    .lightbox-title {
        font-size: 1.1rem !important;
    }
    
    .lightbox-description {
        font-size: 0.85rem !important;
        padding: 0 0.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    .lightbox-close {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.5rem !important;
    }
}


/* =====================================================
   HORIZONTAL GALLERY (Image Gallery Section) - Fix
   Füge diesen Code AM ENDE deiner style.css ein!
   ===================================================== */

/* Gallery Item Container */
.gallery-section .gallery-item {
    position: relative !important;
    flex: 0 0 400px;
    height: 280px;
    background: linear-gradient(135deg, #3d3d3d, #2d2d2d);
    border-radius: 20px;
    overflow: hidden;
    scroll-snap-align: start;
    transition: transform 0.3s;
}

/* Bild: Füllt die Box, zentriert */
.gallery-section .gallery-item img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
}

/* Caption: Überlagert das Bild unten */
.gallery-section .gallery-item .gallery-caption {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    padding: 1.5rem 1rem 1rem !important;
    background: linear-gradient(transparent, rgba(0,0,0,0.8)) !important;
    color: white !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    z-index: 2 !important;
    text-align: left !important;
}

/* Placeholder (wenn kein Bild) */
.gallery-section .gallery-item .gallery-placeholder {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    color: rgba(255,255,255,0.3);
    gap: 1rem;
}

/* Mobile Anpassung */
@media (max-width: 768px) {
    .gallery-section .gallery-item {
        flex: 0 0 300px;
        height: 220px;
    }
    
    .gallery-section .gallery-item .gallery-caption {
        font-size: 0.9rem !important;
        padding: 1rem 0.75rem 0.75rem !important;
    }
}


/* =====================
   MOTIVATION SECTION
   ===================== */

.motivation-section {
    background: var(--light);
    padding: 4rem 2rem;
}

.motivation-content {
    max-width: 1000px;
    margin: 0 auto;
}

.motivation-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.motivation-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.motivation-intro h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
}

.motivation-lead {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.motivation-lead strong {
    color: var(--dark);
}

/* Motivation Cards */
.motivation-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.motivation-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.motivation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.motivation-card.highlight {
    background: linear-gradient(135deg, var(--orange), var(--yellow));
    color: white;
}

.motivation-card.highlight h4,
.motivation-card.highlight p {
    color: white;
}

.motivation-card.highlight strong {
    color: white;
    text-decoration: underline;
    text-decoration-style: wavy;
    text-underline-offset: 3px;
}

.motivation-card .card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.motivation-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.motivation-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gray);
}

/* Personal Stories (NEU) */
.motivation-personal {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.motivation-personal h3 {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.personal-stories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.personal-story {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--light);
    border-radius: 12px;
    border-left: 4px solid var(--orange);
}

.personal-story .story-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.personal-story p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--dark);
    margin: 0;
    font-style: italic;
}

.personal-story strong {
    font-style: normal;
    color: var(--orange);
}

/* Motivation Quote */
.motivation-quote {
    background: var(--dark);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
}

.motivation-quote blockquote {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.9);
    font-style: italic;
    margin: 0;
}

.motivation-quote .quote-highlight {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    font-weight: 600;
    color: var(--yellow);
    font-size: 1.25rem;
}


/* =====================
   TEAM / ÜBER UNS SECTION
   ===================== */

.team-section {
    background: var(--white);
    padding: 4rem 2rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.team-card {
    background: var(--light);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.team-avatar {
    text-align: center;
}

.team-avatar .avatar-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange), var(--yellow));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 8px 30px rgba(255,107,53,0.3);
}

.team-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.team-info {
    flex: 1;
}

.team-info h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--dark);
    text-align: center;
}

.team-role {
    text-align: center;
    color: var(--orange);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.team-background,
.team-expertise,
.team-motivation {
    margin-bottom: 1.25rem;
}

.team-background h4,
.team-expertise h4,
.team-motivation h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.team-background p,
.team-motivation p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--dark);
}

.team-background strong {
    color: var(--orange);
}

.team-motivation p {
    font-style: italic;
    background: var(--white);
    padding: 1rem;
    border-radius: 12px;
    border-left: 4px solid var(--orange);
}

/* Expertise List (NEU) */
.expertise-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.expertise-list li {
    font-size: 0.85rem;
    color: var(--dark);
    padding: 0.4rem 0.75rem;
    background: var(--white);
    border-radius: 8px;
    position: relative;
    padding-left: 1.5rem;
}

.expertise-list li::before {
    content: "✓";
    position: absolute;
    left: 0.5rem;
    color: var(--orange);
    font-weight: 600;
}

/* Team Local (NEU) */
.team-local {
    background: linear-gradient(135deg, rgba(255,107,53,0.1), rgba(255,184,0,0.1));
    border-radius: 12px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.local-badge {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}

.local-info {
    font-size: 0.85rem;
    color: var(--gray);
}

/* Team Tags */
.team-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.team-tags .tag {
    background: var(--white);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray);
    border: 1px solid rgba(0,0,0,0.05);
}

/* Team Synergy (NEU) */
.team-synergy {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--orange), var(--yellow));
    border-radius: 20px;
    color: white;
}

.team-synergy .synergy-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.team-synergy h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.team-synergy p {
    font-size: 1rem;
    line-height: 1.8;
    margin: 0;
    opacity: 0.95;
}

.team-synergy strong {
    color: white;
    text-decoration: underline;
    text-decoration-style: wavy;
    text-underline-offset: 3px;
}

/* Team CTA */
.team-cta {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--light);
    border-radius: 20px;
    border: 2px solid rgba(0,0,0,0.05);
}

.team-cta p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark);
    margin: 0;
}


/* =====================
   RESPONSIVE
   ===================== */

@media (max-width: 768px) {
    .motivation-section,
    .team-section {
        padding: 3rem 1rem;
    }
    
    .motivation-intro h3 {
        font-size: 1.5rem;
    }
    
    .motivation-lead {
        font-size: 1rem;
    }
    
    .personal-stories {
        grid-template-columns: 1fr;
    }
    
    .personal-story {
        flex-direction: column;
        text-align: center;
    }
    
    .motivation-quote {
        padding: 1.5rem;
    }
    
    .motivation-quote blockquote {
        font-size: 1rem;
    }
    
    .motivation-quote .quote-highlight {
        font-size: 1.1rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-card {
        padding: 1.5rem;
    }
    
    .team-avatar .avatar-placeholder,
    .team-avatar img {
        width: 80px;
        height: 80px;
        font-size: 1.5rem;
    }
    
    .team-info h3 {
        font-size: 1.2rem;
    }
    
    .expertise-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .motivation-cards {
        grid-template-columns: 1fr;
    }
    
    .team-tags {
        justify-content: center;
    }
    
    .team-synergy {
        padding: 1.5rem;
    }
}

/* =====================
   INSTAGRAM BUTTON - NAVIGATION
   ===================== */

/* Nur Icon */
.nav-instagram {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #833AB4, #FD1D1D, #F77737);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-left: 1rem;
}

.nav-instagram:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(131, 58, 180, 0.4);
}

.nav-instagram svg {
    width: 20px;
    height: 20px;
}

/* Mit Text */
.nav-instagram-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    background: linear-gradient(135deg, #833AB4, #FD1D1D, #F77737);
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-left: 1rem;
}

.nav-instagram-text:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(131, 58, 180, 0.4);
}

.nav-instagram-text svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}


/* =====================
   INSTAGRAM - KONTAKT BEREICH
   ===================== */

/* Große Variante mit Label */
.contact-social {
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link.instagram {
    background: linear-gradient(135deg, rgba(131, 58, 180, 0.1), rgba(253, 29, 29, 0.1));
    border: 2px solid rgba(131, 58, 180, 0.2);
}

.social-link.instagram:hover {
    background: linear-gradient(135deg, #833AB4, #FD1D1D, #F77737);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(131, 58, 180, 0.3);
}

.social-link.instagram:hover .social-icon,
.social-link.instagram:hover .social-label,
.social-link.instagram:hover .social-handle {
    color: white;
}

.social-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #833AB4, #FD1D1D, #F77737);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.social-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.social-label {
    font-size: 0.85rem;
    color: var(--gray);
    transition: color 0.3s ease;
}

.social-handle {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    transition: color 0.3s ease;
}

/* Kompakte Variante */
.contact-instagram {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    background: linear-gradient(135deg, #833AB4, #FD1D1D, #F77737);
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(131, 58, 180, 0.4);
}

.contact-instagram svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}


/* =====================
   RESPONSIVE
   ===================== */

@media (max-width: 768px) {
    .nav-instagram-text span {
        display: none;
    }
    
    .nav-instagram-text {
        width: 40px;
        height: 40px;
        padding: 0;
        justify-content: center;
        border-radius: 12px;
    }
    
    .social-link {
        padding: 0.75rem 1rem;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .social-handle {
        font-size: 1rem;
    }
}