/* Globale Styles und Variablen */
:root {
    --brand-navy: #104471;
    --brand-gold: #F5BD1F;
    --brand-slate: #587580;
    --brand-lightBlue: #E6F0F8;
    --brand-red: #C5192D;
    --brand-pink: #E11484;
    --brand-brown: #BF8B2E;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quicksand', system-ui, -apple-system, sans-serif;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navbar */
/* Login-Button – jetzt kleiner & perfekt integriert */
.navbar {
    background-color: white;
    border-bottom: 4px solid var(--brand-navy);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

body {
    padding-top: 5rem; /* Platz für fixe Navbar */
}

/* Login-Button (klein & gold) */
.action-button.nav-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.4rem;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--brand-gold), #d4a017);
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 189, 31, 0.3);
    white-space: nowrap;
    margin-left: 0.8rem;
}

.action-button.nav-action:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 8px 25px rgba(245, 189, 31, 0.5);
    background: linear-gradient(135deg, #ffd700, var(--brand-gold));
}

/* Nav-Links */
.nav-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: flex-end;      /* Alles nach rechts schieben */
    align-items: center;
    height: 5rem;
    gap: 2rem;                      /* Abstand zwischen Login und Links-Gruppe reduzieren */
}

.nav_rechts {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;                    /* Abstand zwischen den normalen Links – etwas enger */
}

.nav-link {
    font-size: 1.05rem;
    font-weight: 600;
    padding: 0.4rem 0.6rem;
    text-decoration: none;
    color: var(--brand-navy);
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand-gold);
}

/* Mobile: Login-Button bleibt oben rechts */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 1rem;
    }

    .nav_rechts {
        width: 100%;
        justify-content: flex-end;
        margin-bottom: 0.8rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .action-button.nav-action {
        padding: 0.5rem 1.2rem;
        font-size: 0.95rem;
        
    }
}

.hero-header {
    padding-top: 6rem; /* etwas mehr Abstand oben, weil Navbar fixed ist */
}

@media (min-width: 768px) {
    .nav-links {
        justify-content: flex-end;
    }

    .hero-content {
        align-items: flex-end;
    }
}

.nav-link {
    font-size: 1.125rem;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    text-decoration: none;
    transition: color 150ms;
    color: var(--brand-navy);
}

.nav-link:hover {
    color: var(--brand-gold);
}

.nav-link.active {
    color: var(--brand-gold);
}

/* Main Content */
main {
    flex-grow: 1;
}

/* Home Page Styles */
.hero-header {
    background-color: var(--brand-navy);
    position: relative;
    padding: 3rem 1rem;
    overflow: hidden;
}

.hero-content {
    max-width: 56rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.logo-container {
    width: 16rem;
    height: 16rem;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 8px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    margin-bottom: 2.5rem;
    overflow: hidden;
}

.logo {
    width: 18rem;
    height: 18rem;;
    padding: 0.5rem;
    object-fit: contain;
    display: block;
}

.star {
    position: absolute;
    color: var(--brand-gold);
}

.star1 {
    top: 2.5rem;
    left: 2.5rem;
    font-size: 1.5rem;
    animation: pulse 2s infinite;
}

.star2 {
    top: 5rem;
    right: 5rem;
    font-size: 1.25rem;
    animation: pulse 2s infinite;
}

.star3 {
    bottom: 2.5rem;
    left: 25%;
    font-size: 1.875rem;
    animation: pulse 2s infinite;
}

.star4 {
    top: 50%;
    right: 2.5rem;
    font-size: 1.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.content-section {
    max-width: 72rem;
    margin: 0 auto;
    padding: 4rem 1rem;
}

.cards-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .cards-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card {
    padding: 2rem;
    border-radius: 0.125rem;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
}

.card-navy {
    background-color: var(--brand-navy);
}

.card-slate {
    background-color: var(--brand-slate);
}

.card-slate1 {
    background-color: var(--brand-slate);
    align-items: center;
}

.card-gold {
    background-color: var(--brand-gold);
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.card p {
    font-size: 0.875rem;
    font-weight: 300;
}

.text-center {
    text-align: center;
    margin-bottom: 3rem;
}

.main-text {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--brand-navy);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .main-text {
        font-size: 1.875rem;
    }
}

.divider {
    width: 100%;
    height: 2px;
    background-color: var(--brand-navy);
    max-width: 56rem;
    margin: 0 auto;
}

.button-container {
    display: flex;
    justify-content: center;
}

.action-button {
    background-color: var(--brand-navy);
    color: white;
    padding: 1rem 2rem;
    border-radius: 999px;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: background-color 150ms;
}

.action-button:hover {
    background-color: rgba(16, 68, 113, 0.9);
}

.button-container-small {
    display: flex;
    justify-content: center;
}

.action-button-small {
    background-color: var(--brand-navy);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: background-color 150ms;
}

.action-button-small:hover {
    background-color: rgba(16, 68, 113, 0.9);
}

/* Projektübersicht Styles */
.projekt-container {
    max-width: 64rem;
    margin: 0 auto;
    padding: 4rem 1rem;
}

.genie-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .genie-section {
        flex-direction: row;
    }
}

.genie-image {
    width: 16rem;
    height: 22rem;
    flex-shrink: 0;
    position: relative;
}

.genie-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
    border: none;
    display: block;
    max-width: 100%;
    max-height: 100%;
}

.genie-stars {
    position: absolute;
    top: -1rem;
    right: -1rem;
    color: var(--brand-gold);
    font-size: 1.875rem;
}

.genie-text {
    background-color: var(--brand-navy);
    color: white;
    padding: 2.5rem;
    border-radius: 3rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    line-height: 1.625;
}

.genie-text p {
    font-size: 1.125rem;
}

.quotes-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.quote {
    padding: 2rem;
    border-radius: 2rem;
    color: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.bubble-slate {
    background-color: var(--brand-slate);
}

.bubble-gold {
    background-color: var(--brand-gold);
}

.features-section {
    padding-top: 2rem;
}

.features-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 2rem;
}

.features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.125rem;
    color: #374151;
}

.feature-icon {
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
}

.feature-icon.navy {
    background-color: var(--brand-navy);
}

.feature-icon.slate {
    background-color: var(--brand-slate);
}

.feature-icon.gold {
    background-color: var(--brand-gold);
}

.conclusion-section {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid #f3f4f6;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.conclusion-text {
    font-size: 1.25rem;
    color: #4b5563;
}

.highlight-text {
    font-size: 1.25rem;
    color: var(--brand-navy);
    font-weight: 600;
}

/* Team Page Styles */
.team-container {
    max-width: 72rem;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    padding: 4rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.team-member:last-child {
    border-bottom: none;
}

@media (min-width: 768px) {
    .team-member {
        flex-direction: row;
    }
    
    .team-member.reverse {
        flex-direction: row-reverse;
    }
}

.member-image {
    width: 20rem;
    height: 20rem;
    flex-shrink: 0;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 8px solid #f3f4f6;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.member-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.member-header {
    border-bottom-width: 4px;
    display: inline-block;
    padding-bottom: 0.25rem;
}

.navy-border {
    border-color: var(--brand-navy);
}

.slate-border {
    border-color: var(--brand-slate);
}

.gold-border {
    border-color: var(--brand-gold);
}

.member-header h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1f2937;
}

.member-role {
    color: #6b7280;
    font-weight: 500;
}

.member-bio {
    color: #4b5563;
    line-height: 1.625;
    font-size: 1.125rem;
    white-space: pre-line;
}

.member-quote {
    padding-top: 1rem;
}

.member-quote blockquote {
    font-style: italic;
    color: #6b7280;
    border-left: 4px solid var(--brand-navy);
    padding-left: 1rem;
}

.member-quote p {
    color: #9ca3af;
    margin-top: 0.5rem;
}

/* SDGs Page Styles */
.sdgs-container {
    max-width: 64rem;
    margin: 0 auto;
    padding: 4rem 1rem;
}

.sdgs-container h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-navy);
    text-align: center;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .sdgs-container h1 {
        font-size: 1.875rem;
    }
}

.sdg-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 5rem;
    justify-items: center;
}

@media (min-width: 768px) {
    .sdg-grid {
        grid-template-columns: repeat(3, 12rem);
        justify-content: center;
    }
}

.sdg-card {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    width: 12rem;
    height: 12rem;
    border-radius: 0.5rem;
}

.bg-red {
    background-color: var(--brand-red);
}

.bg-pink {
    background-color: var(--brand-pink);
}

.bg-brown {
    background-color: var(--brand-brown);
}


.sdg_icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.sdg-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    color: #374151;
    line-height: 1.625;
}

.sdg-content section h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.sustainability-section {
    background-color: var(--brand-lightBlue);
    padding: 2rem;
    border-radius: 0.75rem;
}

.sustainability-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 1.5rem;
}

.measures-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.measure-item {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.measure-color {
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
}

.measure-item p {
    color: #1f2937;
}

/* Datenschutz Styles */
.datenschutz-container {
    max-width: 56rem;
    margin: 0 auto;
    padding: 4rem 1rem;
    color: #374151;
    line-height: 1.625;
    font-size: 0.875rem;
}

.datenschutz-container h1 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 2rem;
}

.date {
    margin-bottom: 1rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.intro-text {
    margin-bottom: 2rem;
}

.datenschutz-container section {
    margin-bottom: 2rem;
}

.datenschutz-container section h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.datenschutz-container ul {
    list-style-type: disc;
    padding-left: 1.25rem;
    margin-top: 0.5rem;
}

.note {
    font-size: 0.75rem;
    font-style: italic;
    color: #6b7280;
    margin-top: 3rem;
}

/* Impressum Styles */
.impressum-container {
    max-width: 64rem;
    margin: 0 auto;
    padding: 4rem 1rem;
}

.impressum-container h1 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 3rem;
}

.impressum-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 5rem;
    color: #374151;
}

@media (min-width: 768px) {
    .impressum-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.impressum-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.label {
    font-weight: 700;
    display: inline-block;
    width: 12rem;
}

.contact-form-section {
    background-color: #f9fafb;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
}

.contact-form-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--brand-navy);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background-color: #e5e7eb;
    padding: 0.75rem;
    border-radius: 0.375rem;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    box-shadow: 0 0 0 2px rgba(16, 68, 113, 0.2);
}

.form-submit {
    display: flex;
    justify-content: flex-end;
}

.submit-button {
    background-color: var(--brand-navy);
    color: white;
    padding: 0.75rem 3rem;
    border-radius: 9999px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background-color 150ms;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.submit-button:hover {
    background-color: rgba(16, 68, 113, 0.9);
}

/* Footer */
footer {
    background-color: white;
    padding-top: 4rem;
    padding-bottom: 2rem;
    border-top: 1px solid #f3f4f6;
}

.footer-content {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3rem;
}

.stars {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.stars .star {
    color: var(--brand-gold);
    font-size: 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.625;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-column h4 {
    font-weight: 700;
    color: #374151;
    margin-bottom: 1rem;
}

.team-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--brand-slate);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brand-navy);
}