

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

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

:root {
    --primary-color: #2ED47A;
    --secondary-color: #6EF2C2;
    --dark-bg: #071E21;
    --light-bg: #0F4A4F;
    --text-dark: #ffffff;
    --text-light: #b0b0b0;
    --border-color: #1a5f64;
    --transition: all 0.3s ease;
    --hover-color: #1FAF6A;
    --paper-bg: #F1F8F6;
}

html {
    scroll-behavior: smooth;
}

body {
    padding: 0 !important;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #071E21;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--dark-bg), #2a2a2a);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.navbar-logo .logo-text {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.logo-heading {
    text-decoration: none;
}


.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.nav-link:hover {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 700px;        
    background: linear-gradient(135deg, #050d0f 0%, #091416 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
    padding: 0 20px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    gap: 8rem;
    z-index: 5;
    overflow: visible;
}

.hero-contact {
    width: 360px;
    max-width: 90%;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 10;
    transform: translateX(40px);
    margin-left: auto;
}

.hero-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.hero-logo-img {
    height: 700px;
    width: auto;
    filter: drop-shadow(0 0 20px rgba(46, 212, 122, 0.2));
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0.8) 40%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0.8) 40%, rgba(0,0,0,0) 100%);
}

.button-container {
    display: flex;
    justify-content: center;     
    align-items: center;         
    padding: 40px 100px;        
    width: 100%;
    margin-top: -80px;
}

.cta-button {
    display: inline-block;
    width: fit-content;
    background: linear-gradient(45deg, #2ED47A, #6EF2C2);
    color: #071E21;
    padding: 14px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(46, 212, 122, 0.3);
    
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(46, 212, 122, 0.5);
    background: linear-gradient(45deg, #1FAF6A, #4FE5B3);
}



/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    margin-top: 2rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: white;
    font-weight: bold;
}

/* About Section */
.about {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
}

.about-content p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.05rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    padding: 2rem;
    background: var(--paper-bg);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-light);
}

/* Events Section */
body {
    font-family: Arial, sans-serif;
    padding: 20px;
}

h2 {
    margin-bottom: 20px;
}

.event {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 10px;
    max-width: 500px;
}

.event img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    margin-bottom: 10px;
}

.event a {
    text-decoration: none;
    color: #056839;
    font-size: 18px;
}

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

.event-date {
    font-size: 14px;
    color: #555;
}

.event-description {
    font-size: 14px;
    margin-top: 10px;

    /* Text begrenzen */
    max-height: 4.5em;
    overflow: hidden;
}

/* Past Events Button */
.parent {
    display: flex;
    justify-content: center;  
    align-items: center;        
    width: 100%;
    padding: 40px 10px;
    background: var(--light-bg);     
    margin-top: 10px;
}

/* The Button */
.past-events {
    display: inline-block;
    background: #071E21;
    color: white;
    padding: 14px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 300;
    font-size: smaller;
    transition: var(--transition);
    
    /* No need for margin or transform when using flexbox */
}

.past-events:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(46, 212, 122, 0.5);
    background: linear-gradient(45deg, #1FAF6A, #4FE5B3);
}

/* Speakers Section */
.speakers {
    padding: 5rem 0;
    background: var(--light-bg);
    margin-top: -80px;
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.speaker-card {
    background: var(--paper-bg);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.speaker-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

/* === OPTIMIERTE GLOW VERSION FÜR .speaker-pic === */
.speaker-pic {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(46, 212, 122, 0.3);
  
  /* Glow Basis */
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 0 2px rgba(46, 212, 122, 0.15);
}

.speaker-card:hover .speaker-pic {
  border-color: rgba(46, 212, 122, 0.5);
  box-shadow: 
    0 0 0 5px rgba(46, 212, 122, 0.35),
    0 0 20px rgba(46, 212, 122, 0.65),
    0 0 30px rgba(110, 242, 194, 0.5),
    0 0 40px rgba(110, 242, 194, 0.25);
  transform: scale(1.08);
}

.speaker-card h3 {
    margin-bottom: 0.5rem;
    color: #0f3a22
}

/* Speaker Cards als Links */
.speaker-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}



.speaker-card-link:hover .speaker-card {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

/* Optional: Button-ähnlichen Effekt verhindern */
.speaker-card {
    transition: all 0.3s ease;
    max-height: 320px;
}

.speaker-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    min-height: 30px;
}

.speaker-bio {
    color: var(--text-light);
    font-size: 0.9rem;
    min-height: 80px;
}

.speaker-image-big {
    text-align: center;
}

.speaker-pic {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid rgba(46, 212, 122, 0.3);
}

/* Partners Section */
.partners {
    padding: 5rem 0;
    background: var(--light-bg);
    margin-top: -80px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.partner-logo {
    background: var(--light-bg);
    padding: 1rem;
    text-align: center;
    border-radius: 10px;
    border: none;
    color: #071E21;
    font-weight: 600;
    transition: var(--transition);
    height: 220px;
}

/* Partner Logos - passende Größe */
.partner-logo img {
    max-height: 150px;
    width: auto;
    filter: brightness(0.95);
    transition: all 0.3s ease;
    object-fit: contain;
    filter: grayscale(95%);
}

.partner-logo img[src*="stackandco"] {
    min-height: 70px;     
    margin-top: 65px;
    max-height: 70px;
}

.partner-logo img[src*="tcube"] {
    max-height: 160px;     
    margin-top: 15px;

}

.partner-logo img[src*="techmeetup"] {
    max-height: 150px;    
    margin-top: 15px;
}


.partner-logo:hover img {
    transform: scale(1.08);
    filter: brightness(1.1);
    filter: grayscale(0%)
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: var(--light-bg);
    margin-top: -100px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form {
    background: var(--paper-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 212, 122, 0.2);
}

.submit-btn {
    background: var(--primary-color);
    color: #071E21;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    width: 100%;
}

.submit-btn:hover {
    background: var(--hover-color);
    transform: translateY(-2px);
}

.contact-info {
    background: var(--paper-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: #0f3a22;
}
.contact-info h3{ margin-bottom: 1.5rem;
    color: var(--primary-color);
}
   
.contact-info p {
    margin-bottom: 1rem;
    color: var(--light-bg);
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 9999; 
}

.social-links {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.social-link {
    display: inline-block;
    margin-right: 1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.social-link:hover {
    color: #0052a3;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-bg), #2a2a2a);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

.footer p {
    margin: 0.5rem 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ====================== SPEAKER DETAIL PAGE ====================== */
.single-speaker-page {
    min-height: 80vh;
    background-color: #071E21;
    display: flex;
    align-items: center;
    padding: 60px 0;
}

.speaker-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

/* Echtes Speaker Foto */
.speaker-image-big {
    text-align: center;
}

.speaker-photo {
    width: 500px;
    height: 500px;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid rgba(46, 212, 122, 0.3);
}

/* Rest bleibt gleich */
.speaker-info h1 {
    font-size: 2.8rem;
    color: white;
    margin-bottom: 0.4rem;
}

.speaker-info h3 {
    color: var(--primary-color);
    font-size: 1.35rem;
    margin-bottom: 1.8rem;
}

.speaker-info p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.08rem;
    margin-bottom: 2.2rem;
}

.speaker-social h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.social-links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    background: rgba(255,255,255,0.08);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(46, 212, 122, 0.2);
}

.social-btn:hover {
    background: var(--primary-color);
    color: #071E21;
    transform: translateY(-3px);
    border-color: var(--primary-color);
}

/* Hamburger */
.burger {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* ==================== NAVIGATION FIX ==================== */

/* Desktop: Menü immer horizontal sichtbar */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

/* Mobile: Menü standardmäßig AUSBLENDEN */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, var(--dark-bg), #2a2a2a);
        padding: 1rem 0;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
        z-index: 1000;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-item {
        width: 100%;
        text-align: center;
        padding: 0.3rem 0;
    }

    .nav-link {
        display: block;
        padding: 0.2rem 0;
    }

    /* Burger sichtbar machen */
    .burger {
        display: block;
        font-size: 28px;
        cursor: pointer;
        color: white;
        z-index: 1001;
    }
}


/* Responsive */
@media (max-width: 768px) {
    .speaker-detail-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .speaker-photo {
        width: 220px;
        height: 220px;
    }
}

/* ================= MOBILE FIX ================= */

@media (max-width: 768px) {
    .hero-contact {
        display: none;
    }
}

/* Handy */
@media (max-width: 768px) {

    /* HERO FIX */
    .hero {
        height: auto;
        min-height: 300px;
        padding: 60px 20px;
    }

    .hero-logo-img {
        height: 300px;
        width: auto;
    }

  @media (max-width: 768px) {

    .hero-contact {
        display: none;
    }

    .hero-content {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

    /* BUTTON FIX */
    .button-container {
        padding: 20px;
        margin-top: 0;
    }

    /* CONTACT FIX */
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 480px) {


    .section-header h2 {
        font-size: 1.4rem;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 14px;
    }
}




/* ==================== 2. NAV-LINK: ANIMATED UNDERLINE ====================*/

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}


/* ==================== PARTNER LOGOS ====================*/

.partner-logo img {
    filter: grayscale(100%) brightness(0.85);
    transition: filter 0.4s ease, transform 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%) brightness(1.05);
    transform: scale(1.06);
}


/* ==================== 4. SCROLL REVEAL ========================================*/

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.speaker-card-link:nth-child(1) { transition-delay: 0s; }
.speaker-card-link:nth-child(2) { transition-delay: 0.1s; }
.speaker-card-link:nth-child(3) { transition-delay: 0.2s; }
.speaker-card-link:nth-child(4) { transition-delay: 0.3s; }



.speaker-photo {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.speaker-photo:hover {
    transform: scale(1.04);
    box-shadow:
        0 0 0 6px rgba(46, 212, 122, 0.25),
        0 0 30px rgba(46, 212, 122, 0.4);
}


.stat {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(46, 212, 122, 0.15);
}