/* ========================================
   KARIM HELPS - MODERN CSS STYLESHEET
   ======================================== */

/* ROOT VARIABLES */
:root {
    --primary-color: #00b894;
    --primary-dark: #009975;
    --primary-light: #00d9a8;
    --secondary-color: #2d3436;
    --text-dark: #2d3436;
    --text-gray: #636e72;
    --text-light: #b2bec3;
    --white: #ffffff;
    --light-bg: #f5f6fa;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
    --border-radius: 12px;
}
/* VERHINDERT HORIZONTAL SCROLL */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

* {
    box-sizing: border-box;
}

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* CONTAINER */
/* CONTAINER BREITER */
.container {
    max-width: 1400px; /* War vorher 1200px */
    margin: 0 auto;
    padding: 0 30px; /* War 20px */
}

/* NAV-WRAPPER MEHR PLATZ */
.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    gap: 30px; /* Mehr Abstand zwischen Elementen */
}

/* LOGO GRÖßER */
.logo img {
    height: 45px; /* War 35-40px */
    width: auto;
}

/* NAV-LINKS MEHR ABSTAND */
.nav-list {
    display: flex;
    gap: 35px; /* War 30px */
    align-items: center;
}

/* GOOGLE TRANSLATE KOMPAKTER */
#google_translate_element {
    position: absolute;
    top: auto;
    right: auto;
    box-shadow: none;
    background: transparent;
    padding: 0;
}

.goog-te-combo {
    padding: 8px 12px;
    min-width: 110px; /* Kleiner */
    min-width: 110px; /* Kleiner */
}
/* LOGO GANZ LINKS - SIMPLE VERSION */
.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    gap: 20px;
}

.logo {
    flex-shrink: 0; /* Logo wird nie kleiner */
    margin-right: auto; /* Schiebt alles andere nach rechts */
}

.logo img {
    height: 45px;
    width: auto;
}

.nav {
    flex-grow: 0;
    flex-shrink: 1;
}

#google_translate_element,
.header-buttons,
.mobile-menu-toggle {
    flex-shrink: 0;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 16px;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 184, 148, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 184, 148, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 18px;
}

/* ========================================
   HEADER / NAVIGATION - IMPROVED
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    z-index: 1000;
    transition: var(--transition);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 17px 0;
    gap: 40px;
}

.logo img {
    height: 60px;
    width: 110px;
}

.nav-list {
    display: flex;
    gap: 60px; /* ← MEHR ABSTAND! War 30px */
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 10px 0;
    font-size: 15px; /* ← Etwas größer */
    white-space: nowrap; /* ← Verhindert Umbruch */
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px; /* ← Dicker */
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.btn-donate-header {
    padding: 12px 28px;
    font-size: 15px;
    white-space: nowrap;
}
/* MOBILE ONLY DONATE LINK */
.mobile-only-donate {
    display: none;
}

/* MOBILE MENU TOGGLE */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {

    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .btn-donate-header {
        display: inline-block;
        z-index: 1001;
    }

    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        transition: left 0.3s ease;
        box-shadow: var(--shadow-md);
        overflow-y: auto;
        z-index: 1000;
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        padding: 20px;
    }

    .nav-list li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .nav-link {
        display: block;
        padding: 16px 10px;
        font-size: 16px;
    }

    .nav-link::after {
        display: none;
    }

    .mobile-only-donate {
        display: block;
    }
}

/* DROPDOWN MENU */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .nav-link i {
    font-size: 10px;
    margin-left: 5px;
    transition: var(--transition);
}

.nav-dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 10px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1001;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: var(--light-bg);
    color: var(--primary-color);
    padding-left: 25px;
}
@media (max-width: 768px) {

    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding-left: 15px;
        display: none;
    }

    .nav-dropdown.open .dropdown-menu {
        display: block;
    }

    .nav-dropdown .nav-link i {
        margin-left: auto;
        transition: transform 0.3s ease;
    }

    .nav-dropdown.open .nav-link i {
        transform: rotate(180deg);
    }
}
@media (max-width: 768px) {

    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding-left: 15px;

        /* 🔥 WICHTIG: Desktop-Styles neutralisieren */
        opacity: 1;
        visibility: visible;
        transform: none;

        display: none;
    }

    .nav-dropdown.open .dropdown-menu {
        display: block;
    }
}


/* MOBILE NAV OPEN STATE */
.nav.open {
    display: block;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    width: 100%;
    box-shadow: var(--shadow-md);
}

.nav.open .nav-list {
    flex-direction: column;
    gap: 20px;
    padding: 25px 20px;
}
/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    margin-top: 100px;
    overflow: hidden;
}

.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Bleibt center */
    align-items: flex-start; /* Linksbündig */
    max-width: 800px;
    padding-left: 0; /* Entfernt extra padding falls vorhanden */
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.2;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero .container {
    height: 100%;
    display: flex;
    align-items: center; /* Sorgt für vertikale Zentrierung */
}

.hero-subtitle {
    font-size: 24px;
    color: var(--white);
    margin-bottom: 32px;
    font-style: italic;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 24px;
    color: var(--white);
    margin-bottom: 32px;
    font-style: italic;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.3);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Navigation */
.hero-prev,
.hero-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    transition: var(--transition);
}

.hero-prev {
    left: 30px;
}

.hero-next {
    right: 30px;
}

.hero-prev:hover,
.hero-next:hover {
    background: rgba(255,255,255,0.5);
    transform: translateY(-50%) scale(1.1);
}

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot.active {
    background: var(--primary-color);
    width: 32px;
    border-radius: 6px;
}

/* ========================================
   QUICK ACTION CARDS
   ======================================== */

.quick-actions {
    padding: 80px 0;
    background: var(--light-bg);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.action-card {
    position: relative;
    height: 450px;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.action-card:hover {
    transform: translateY(-10px);
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

.action-card:hover .card-bg {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
}

.card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    text-align: center;
    color: var(--white);
}

.card-icon {
    font-size: 60px;
    margin-bottom: 24px;
    color: var(--primary-color);
}

.card-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 16px;
}

.card-divider {
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 0 auto 20px;
}

.card-text {
    font-size: 16px;
    margin-bottom: 24px;
    opacity: 0.9;
}

.card-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    color: var(--primary-color);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
}

.card-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateX(5px);
}

/* ========================================
   IMPACT STATS
   ======================================== */

.impact-stats {
    padding: 80px 0;
    background: var(--primary-color);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.stat-icon {
    font-size: 48px;
    opacity: 0.9;
}

.stat-number {
    font-size: 56px;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 18px;
    opacity: 0.9;
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about {
    padding: 100px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.title-divider {
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin-bottom: 32px;
}

.about-text {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 32px;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--text-dark);
}

.feature-item i {
    color: var(--primary-color);
    font-size: 20px;
}

.about-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,184,148,0.2) 0%, transparent 100%);
}

/* ========================================
   MISSION / TEAM SECTION
   ======================================== */

.mission {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.mission-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
}

.section-title-white {
    font-size: 42px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.title-divider-white {
    width: 80px;
    height: 4px;
    background: var(--white);
    margin: 0 auto 32px;
}

.mission-text {
    font-size: 18px;
    line-height: 1.8;
    opacity: 0.95;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 24px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.2);
}

.team-member:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-5px);
}

.team-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255,255,255,0.3);
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.team-role {
    font-size: 14px;
    opacity: 0.9;
}

/* ========================================
   TESTIMONIALS - FIXED VERSION
   ======================================== */

.testimonials {
    padding: 100px 0;
    background: var(--light-bg);
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 60px;
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    /* REMOVE min-height - let it be dynamic */
}

.testimonial-item {
    background: var(--white);
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.testimonial-item.active {
    position: relative; /* WICHTIG: Active wird relative! */
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.testimonial-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.testimonial-stars {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    color: #ffc107;
    font-size: 20px;
}

.testimonial-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 32px;
    font-style: italic;
    min-height: 100px; /* Sorgt für konsistente Höhe */
}

.testimonial-author h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.testimonial-author p {
    font-size: 14px;
    color: var(--text-gray);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dot.active {
    background: var(--primary-color);
    width: 32px;
    border-radius: 6px;
}

/* ========================================
   PARTNERS
   ======================================== */

.partners {
    padding: 80px 0;
    background: var(--white);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
    align-items: center;
}

.partner-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    transition: var(--transition);
    filter: grayscale(100%);
    opacity: 0.6;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.partner-logo img {
    max-height: 80px;
    width: auto;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: flex-start;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 18px;
    margin-top: 4px;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.8;
}

/* ========================================
   RESPONSIVE
   ======================================== */

/* ========================================
   MOBILE RESPONSIVE - WORKING VERSION
   ======================================== */

@media (max-width: 768px) {
    /* HEADER HÖHE ANPASSEN */
    .header {
        padding: 10px 0;
    }

    .nav-wrapper {
        padding: 10px 0;
    }

    /* LOGO KLEINER */
    .logo img {
        height: 40px;
    }

    /* MOBILE MENU TOGGLE */
    .mobile-menu-toggle {
        display: flex !important;
        z-index: 1001;
    }

    /* NAVIGATION MOBILE */
    .nav {
        position: fixed;
        top: 70px; /* ← WICHTIG: Header-Höhe anpassen! */
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        transition: left 0.3s ease;
        box-shadow: 0 4px 16px rgba(0,0,0,0.12);
        overflow-y: auto;
        z-index: 1000;
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        padding: 20px;
        gap: 0;
        width: 100%;
    }

    .nav-list li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .nav-link {
        display: block;
        padding: 15px 10px;
        width: 100%;
        font-size: 16px; /* ← Größere Schrift! */
    }

    .nav-link::after {
        display: none; /* Underline-Effekt auf Mobile weg */
    }
    @media (max-width: 768px) {
        /* SPENDEN BUTTON BLEIBT SICHTBAR! */
        .btn-donate-header {
            display: inline-block !important;
            padding: 10px 20px;
            font-size: 14px;
            position: relative;
            z-index: 1001;
        }

        /* NAV-WRAPPER ANPASSEN */
        .nav-wrapper {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
        }

        /* LOGO KLEINER */
        .logo img {
            height: 35px;
        }

        /* HAMBURGER & SPENDEN NEBENEINANDER */
        .mobile-menu-toggle {
            display: flex !important;
            order: 3; /* Nach Logo und Spenden-Button */
        }

        .btn-donate-header {
            order: 2; /* Zwischen Logo und Hamburger */
        }

        .logo {
            order: 1;
        }
    }

    /* CONTAINER PADDING */
    .container {
        padding: 0 15px;
    }
}
/* ========================================
   PROJECT SORTING BAR
   ======================================== */

.projects-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(46, 204, 113, 0.25);
}

.projects-toolbar label {
    font-weight: 600;
    color: var(--text-dark);
}

.projects-toolbar select {
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    border: 2px solid rgba(46, 204, 113, 0.6);
    background: #f8fff9;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
}

.projects-toolbar select:hover {
    border-color: var(--primary-color);
    background: #ffffff;
}

.projects-toolbar select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.25);
}
.projects-toolbar::before {
    content: '';
    width: 6px;
    height: 100%;
    background: var(--primary-color);
    border-radius: 6px;
}
@media (max-width: 768px) {
    .projects-toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .projects-toolbar select {
        width: 100%;
    }
}
/* ========================================
   GOOGLE TRANSLATE WIDGET STYLING
   ======================================== */

/* Widget Position - Oben Rechts in der Navbar */
#google_translate_element {
    display: inline-block;
    position: relative;
}

/* Verstecke Google Branding */
.goog-logo-link {
    display: none !important;
}

.goog-te-gadget {
    color: transparent !important;
    font-size: 0 !important;
}

/* Dropdown Styling */
.goog-te-combo {
    padding: 8px 12px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    background: white;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.goog-te-combo:hover {
    background: var(--light-bg);
    border-color: var(--primary-dark);
}

.goog-te-combo:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0,184,148,0.1);
}

/* Google Banner oben verstecken (optional) */
.goog-te-banner-frame {
    display: none !important;
}

body {
    top: 0 !important;
}

/* Mobile Anpassung */
@media (max-width: 768px) {
    #google_translate_element {
        position: fixed;
        top: 80px;
        right: 15px;
        z-index: 999;
        background: white;
        padding: 10px;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    }
}

/* TRANSLATE IN NAVBAR */
.translate-in-nav {
    display: inline-block;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    gap: 20px;
}

@media (max-width: 768px) {
    .translate-in-nav {
        position: fixed;
        top: 80px;
        right: 15px;
        z-index: 999;
        background: white;
        padding: 10px;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    }
}
/* ========================================
   GOOGLE TRANSLATE WIDGET STYLING
   ======================================== */

/* Widget Position - Oben Rechts in der Navbar */
#google_translate_element {
    display: inline-block;
    position: relative;
}

/* Verstecke Google Branding */
.goog-logo-link {
    display: none !important;
}

.goog-te-gadget {
    color: transparent !important;
    font-size: 0 !important;
}

/* Dropdown Styling */
.goog-te-combo {
    padding: 8px 12px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    background: white;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.goog-te-combo:hover {
    background: var(--light-bg);
    border-color: var(--primary-dark);
}

.goog-te-combo:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0,184,148,0.1);
}

/* Google Banner oben verstecken (optional) */
.goog-te-banner-frame {
    display: none !important;
}

body {
    top: 0 !important;
}

/* Mobile Anpassung */
@media (max-width: 768px) {
    #google_translate_element {
        position: fixed;
        top: 80px;
        right: 15px;
        z-index: 999;
        background: white;
        padding: 10px;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    }
}
/* HEADER BUTTONS GRUPPE */
.header-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-support {
    padding: 10px 24px;
    font-size: 14px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-support:hover {
    background: var(--primary-color);
    color: white;
}

@media (max-width: 768px) {
    .header-buttons {
        display: none; /* Buttons verschwinden auf Mobile */
    }
}
/* FORMULAR ZENTRIEREN */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
}

form {
    width: 100%;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* SUBMIT BUTTON */
.form-submit {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.form-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}


.gtranslate_wrapper {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
}

.gt_float_switcher {
    box-shadow: none !important;
    background: transparent !important;
}
.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

body {
    top: 0 !important;
}
.language-flags {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-left: 10px;
}

.flag-btn {
    background: transparent;
    border: 1px solid #ddd;
    padding: 6px 8px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.2s;
}

.flag-btn:hover {
    border-color: var(--primary-color);
    transform: translateY(-1px);
}