/* Grundlegende Einstellungen */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #1a1a1a;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Farbvariablen */
:root {
    --primary-color: #91e205;
    --background-color: #1a1a1a;
    --secondary-bg: #2a2a2a;
    --card-bg: #2a2a2a;
    --text-color: #ffffff;
    --text-secondary: #cccccc;
}

/* Text-Highlight */
.text-highlight {
    color: var(--primary-color);
}

.logo-highlight {
    color: var(--primary-color);
}

/* Logo SVG */
.logo-svg {
    width: 50px;
    height: 50px;
    margin-right: 15px;
}

.logo-svg svg {
    width: 100%;
    height: 100%;
    fill: var(--primary-color);
}

.logo-svg.small {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

/* Navigation */
.navbar {
    background-color: rgba(26, 26, 26, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary-color);
    padding: 10px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    letter-spacing: 1px;
    color: var(--text-color);
    line-height: 1;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-family: 'Bebas Neue', sans-serif;
    font-weight: normal;
    font-size: 20px;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background-color: var(--primary-color);
    color: #1a1a1a !important;
    padding: 12px 30px !important;
    border-radius: 5px;
    font-weight: 700 !important;
}

.nav-cta:hover {
    background-color: #7bc800;
    color: #1a1a1a !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(145, 226, 5, 0.3);
}

.nav-cta::after {
    display: none;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    color: var(--text-color);
    cursor: pointer;
}

.mobile-nav {
    display: none;
    background-color: var(--secondary-bg);
    padding: 20px 40px;
    flex-direction: column;
    gap: 15px;
    border-top: 1px solid #333;
}

.mobile-nav a {
    color: var(--text-color);
    text-decoration: none;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
}

.mobile-nav a:hover {
    background-color: #333;
}

/* Hero Section */
.hero {
    padding: 200px 0 150px;
    background-color: var(--background-color);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.hero-content {
    width: 100%;
}

.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 12rem;
    margin-bottom: 10px;
    letter-spacing: 6px;
    line-height: 1;
    text-transform: uppercase;
    color: var(--primary-color);
    text-align: center;
    width: 100%;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.hero-subtitle {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text-color);
    font-weight: normal;
    letter-spacing: 2px;
}

.hero-text {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 50px;
    color: var(--text-secondary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 18px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #1a1a1a;
}

.btn-primary:hover {
    background-color: #7bc800;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(145, 226, 5, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #1a1a1a;
    transform: translateY(-5px);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 50px;
}

/* Sections allgemein */
section {
    padding: 100px 0;
}

h2 {
    text-align: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 8rem;
    margin-bottom: 1px;
    color: var(--text-color);
    letter-spacing: 2px;
}

/* Section Subtitles */
.section-subtitle {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 60px;
    letter-spacing: 1.5px;
}

/* Warum 29/1? Section */
.jobs {
    background-color: var(--background-color);
    padding: 100px 0;
}

.mission-statement {
    max-width: none;
    margin: 0 auto;
}

.mission-goal {
    text-align: center;
    margin-bottom: 80px;
}

.mission-goal h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 40px;
    letter-spacing: 1.5px;
}

.goal-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.goal-number {
    background: var(--card-bg);
    padding: 40px 50px;
    border-radius: 15px;
    min-width: 250px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}

.goal-number:hover {
    transform: translateY(-5px);
}

.goal-number.current {
    border: 2px solid var(--primary-color);
}

.number-large {
    display: block;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 6rem;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 10px;
}

.number-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.goal-arrow {
    font-size: 3rem;
    color: var(--primary-color);
}

.mission-content {
    background: var(--card-bg);
    padding: 60px 50px;
    border-radius: 15px;
    border-left: 5px solid var(--primary-color);
}

.mission-text {
    margin-bottom: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.mission-text p {
    font-size: 1.3rem;
    line-height: 1.7;
    margin-bottom: 25px;
    color: var(--text-color);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.bos-explanation {
    background: rgba(145, 226, 5, 0.1);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    margin: 30px auto;
    max-width: 900px;
}

.bos-explanation strong {
    color: var(--primary-color);
}

.mission-highlight {
    text-align: center;
    font-size: 1.6rem !important;
    margin-top: 40px !important;
}

.highlight-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    color: var(--primary-color);
    display: block;
    margin-top: 15px;
    letter-spacing: 1.5px;
}

.mission-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.detail-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.detail-item:hover {
    transform: translateY(-5px);
    background: rgba(145, 226, 5, 0.1);
}

.detail-item i {
    color: var(--primary-color);
    font-size: 2rem;
    margin-top: 5px;
    flex-shrink: 0;
}

.detail-item p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
}

/* Warum zur Feuerwehr? Section */
.about {
    background-color: var(--background-color);
    padding: 100px 0;
}

.features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin: 0 auto;
}

.feature {
    text-align: center;
    flex: 1;
    min-width: 350px;
    max-width: 450px;
    padding: 50px 40px;
    background: var(--card-bg);
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid transparent;
    margin: 0 auto;
}

.feature:hover {
    transform: translateY(-10px);
    border-top: 4px solid var(--primary-color);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 100px;
    height: 100px;
    background: rgba(145, 226, 5, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.feature i {
    font-size: 3rem;
    color: var(--primary-color);
}

.feature h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
    letter-spacing: 1.5px;
}

.feature p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1.1rem;
    max-width: 400px;
    margin: 0 auto;
}

/* Contact Section */
.contact {
    background-color: var(--secondary-bg);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 80px;
    margin: 0 auto;
}

.contact-info, .contact-form {
    flex: 1;
    min-width: 350px;
}

.contact-info h3, .contact-form h3 {
    margin-bottom: 30px;
    text-align: left;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: var(--text-color);
    letter-spacing: 1px;
}

.contact-info p {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.contact-info i {
    margin-right: 15px;
    color: var(--primary-color);
    width: 20px;
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--card-bg);
    border-radius: 50%;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.3rem;
}

.social-links a:hover {
    background: var(--primary-color);
    color: #1a1a1a;
    transform: translateY(-3px);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-form input,
.contact-form textarea {
    padding: 20px;
    background: var(--card-bg);
    border: 1px solid #333;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: var(--text-color);
    transition: border-color 0.3s;
    width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #666;
}

.contact-form button {
    margin-top: 10px;
    align-self: flex-start;
}

/* Footer */
.footer {
    background-color: #111;
    padding: 20px 0 30px;
    border-top: 2px solid var(--primary-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 5px;
    gap: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo h2 {
    font-size: 2.5rem;
    margin-bottom: 0px;
    text-align: left;
    display: flex;
    align-items: center;
}

.footer-logo p {
    color: var(--text-secondary);
    margin-left: 40px;
    font-size: 1.1rem;
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    color: #666;
    font-size: 14px;
    padding-top: 5px;
    border-top: 1px solid #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-nav.active {
        display: flex;
    }
    
    .navbar .container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 4.5rem;
        letter-spacing: 3px;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    h2 {
        font-size: 3.5rem;
    }
    
    .section-subtitle {
        font-size: 1.2rem;
        margin-bottom: 40px;
    }
    
    .goal-numbers {
        gap: 30px;
    }
    
    .goal-number {
        min-width: 180px;
        padding: 30px;
    }
    
    .number-large {
        font-size: 4rem;
    }
    
    .mission-content {
        padding: 40px 30px;
    }
    
    .mission-text p {
        font-size: 1.1rem;
    }
    
    .highlight-text {
        font-size: 2.2rem;
    }
    
    .mission-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .detail-item {
        padding: 20px;
    }
    
    .feature {
        width: 100%;
        max-width: 400px;
        min-width: unset;
    }
    
    .contact-content {
        gap: 40px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo h2 {
        text-align: center;
        justify-content: center;
    }
    
    .footer-logo p {
        margin-left: 0;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .logo h1 {
        font-size: 22px;
    }
    
    .logo-svg {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 3.5rem;
        letter-spacing: 2px;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .goal-numbers {
        flex-direction: column;
        gap: 20px;
    }
    
    .goal-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }
    
    .number-large {
        font-size: 3.5rem;
    }
    
    .mission-goal h3 {
        font-size: 2rem;
    }
    
    .feature {
        padding: 30px 20px;
    }
    
    .feature h3 {
        font-size: 2rem;
    }
    
    .contact-info, .contact-form {
        min-width: 100%;
    }
    
    .logo h1 {
        font-size: 18px;
    }
    
    .logo-svg {
        width: 35px;
        height: 35px;
        margin-right: 10px;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .logo h1 {
        font-size: 16px;
    }
}

/* Optimierungen für sehr große Bildschirme */
@media (min-width: 1600px) {
    .container {
        max-width: 1500px;
        padding: 0 60px;
    }
    
    .hero-title {
        font-size: 14rem;
    }
    
    .goal-number {
        min-width: 300px;
        padding: 50px 60px;
    }
    
    .number-large {
        font-size: 7rem;
    }
    
    .feature {
        max-width: 500px;
        padding: 60px 50px;
    }
}

@media (min-width: 1920px) {
    .container {
        max-width: 1800px;
    }
    
    .feature {
        max-width: 500px;
        padding: 60px 50px;
    }
}
@media (max-width: 768px) {
    .hero-img {
        max-height: 300px;
    }
    
    .vehicles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .image-placeholder.medium {
        height: 200px;
    }
    
    .image-placeholder.large {
        height: 250px;
    }
    
    .humor-note {
        padding: 30px 20px;
    }
    
    .humor-note h4 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .vehicles-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-item {
        padding: 20px;
    }
    
    .image-placeholder i {
        font-size: 2rem;
    }
}
/* Bild-Styling */
.hero-img, .contact-image img, .about-image-grid, .about-image-grid2, .image-placeholder {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.hero-img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 20px;
    margin: 40px auto;
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.5);
}

/* Platzhalter für Bilder (wenn noch keine echten Bilder vorhanden) */
.image-placeholder {
    background: var(--card-bg);
    border: 2px dashed var(--primary-color);
    border-radius: 10px;
    padding: 40px 20px;
    text-align: center;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 20px auto;
}

.image-placeholder i {
    font-size: 3rem;
    color: var(--primary-color);
}

.image-placeholder.small {
    width: 150px;
    height: 150px;
    padding: 20px;
}

.image-placeholder.medium {
    width: 100%;
    max-width: 600px;
    height: 300px;
}

.image-placeholder.large {
    width: 100%;
    max-width: 800px;
    height: 400px;
}

/* Bild-Grids */
.about-image-grid {
    display: flex;
    justify-content: center;
    gap: 50    px;
    flex-wrap: wrap;
    margin-top: 20px;
}
.about-image-grid2 {
    display: grid;
     grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 120    px;
    flex-wrap: wrap;
    margin-top: 20px;
}


/* Fahrzeuge Grid */
.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.vehicle-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.vehicle-item:hover {
    transform: translateY(-5px);
    background: rgba(145, 226, 5, 0.1);
}

.vehicle-item h5 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 15px 0 5px;
}

.vehicle-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 60px auto;
}

.team-member {
    text-align: center;
}

.member-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 3px solid var(--primary-color);
}

.member-image i {
    font-size: 4rem;
    color: var(--primary-color);
}

.team-member h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 5px;
}

.team-member p {
    color: var(--text-secondary);
}

/* Humor Note */
.humor-note {
    background: rgba(145, 226, 5, 0.1);
    padding: 40px;
    border-radius: 15px;
    border-left: 5px solid var(--primary-color);
    margin: 60px 0;
}

.humor-note h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.humor-note p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.humor-note em {
    color: var(--primary-color);
    font-style: normal;
    font-weight: bold;
}
@media (max-width: 768px) {
    .details-list h3 {
        font-size: 2.5rem;
    }
    
    .detail-item {
        flex-direction: column;
        padding: 30px;
        gap: 20px;
    }
    
    .detail-icon i {
        font-size: 2rem;
    }
    
    .detail-content h4 {
        font-size: 1.8rem;
    }
}
/* Details List für Über uns Section */
.details-list {
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 0 20px;
}

.details-list h3 {
    text-align: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.5rem;
    color: var(--text-color);
    margin-bottom: 50px;
    letter-spacing: 2px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 60px;
    background: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.detail-icon {
    flex-shrink: 0;
}

.detail-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.detail-content {
    flex: 1;
}

.detail-content h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    color: var(--text-color);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.detail-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.detail-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.detail-content li {
    color: var(--text-secondary);
    margin-bottom: 10px;
    line-height: 1.5;
}

.detail-content strong {
    color: var(--primary-color);
}
.content-img {
    width: 100%;
    max-width: 600px;
    height: auto; /* Höhe automatisch basierend auf Breite */
    aspect-ratio: 2 / 1; /* 2:1 Verhältnis beibehalten */
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    border: 2px solid var(--primary-color);
    margin: 20px auto;
    display: block;
}
.small-img {
    width: 150px;
    height: 150px;              ← Quadratisch 1:1
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--primary-color);
    }
@import url("https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/** Variables **/

:root {
  --color-background: #e7e7e7;
  --color-background-alt: #888888;
  --color-border-active: #91e205;
  --color-border-default: #d1d1d1;
  --color-highlight: #fdcf4c;
  --color-primary: #91e205;
  --color-primary-active: #659608;
  --color-text-default: #8a8a8a;
  --color-text-muted: #6a6a6a;

  --font-family-body: "Figtree", system-ui, sans-serif;
  --font-family-display: "Poppins", system-ui, sans-serif;
}

/** Base **/

*,
::before,
::after {
  box-sizing: border-box;
}

* {
  border: 0;
  margin: 0;
  padding: 0;
}

body {
  -webkit-font-smoothing: antialiased;
  font-family: var(--font-family-body);
  font-optical-sizing: auto;
  font-style: normal;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}

[type="checkbox"],
[type="radio"],
[type="range"] {
  appearance: none;
  flex-shrink: 0;
  padding: 0;
  user-select: none;
}

[type="checkbox"]:focus,
[type="radio"]:focus,
[type="range"]:focus {
  outline: none;
}

/** Components **/

.fs-form {
  display: grid;
  row-gap: 1.5rem;
}

.fs-form:where(.fs-layout__2-column) {
  column-gap: 1.5rem;
  grid-template-columns: 1fr 1fr;
}

fieldset {
  display: grid;
  margin: 1.5rem 0;
  row-gap: 1.5rem;
}

.fs-form:where(.fs-layout__2-column) fieldset {
  column-gap: 1.5rem;
  grid-template-columns: 1fr 1fr;
  grid-column: 1 / -1;
}

.fs-fieldset-title {
  color: var(--color-text-default);
  font-family: var(--font-family-display);
  font-size: 1.25rem;
  line-height: 1.75rem;
  margin-bottom: 1.5rem;
  grid-column: 1 / -1;
}

.fs-field {
  display: flex;
  flex-direction: column;
  row-gap: 0.5rem;
}

.fs-label {
  color: var(--color-text-default);
  display: block;
  font-family: var(--font-family-display);
  font-size: 1rem;
  line-height: 1.25rem;
}

.fs-description {
  color: var(--color-text-muted);
  display: block;
  font-size: 1rem;
  line-height: 1.25rem;
}

.fs-button-group {
  display: flex;
  flex-direction: row-reverse;
  column-gap: 1.5rem;
}

.fs-form:where(.fs-layout__2-column) .fs-button-group {
  grid-column: 1 / -1;
}

.fs-button {
  background-color: var(--color-primary);
  border-radius:5px;
  color: #000000;
  cursor: pointer;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.5rem;
  padding: 0.75rem 2rem;
  transition-duration: 200ms;
  transition-property: background-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.fs-button:hover {
  background-color: var(--color-primary-active);
}

.fs-button:focus-visible {
  background-color: var(--color-primary-active);
  outline: 4px solid var(--color-highlight);
}

.fs-input,
.fs-select {
  appearance: none;
  border-radius: 9999px;
  border-width: 0;
  box-shadow: var(--color-border-default) 0 0 0 1px inset;
  color: var(--color-text-default);
  font-size: 1rem;
  height: 3rem;
  line-height: 1.5rem;
  outline: none;
  padding-left: 1rem;
  padding-right: 1rem;
}

.fs-input:focus-visible,
.fs-select:focus-visible {
  box-shadow: var(--color-border-active) 0 0 0 1px inset;
}

.fs-input::placeholder {
  color: var(--color-text-muted);
}

.fs-checkbox-group,
.fs-radio-group {
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
}

.fs-checkbox-field,
.fs-radio-field {
  column-gap: 0.5rem;
  display: flex;
}

:is(.fs-checkbox-field, .fs-radio-field) .fs-label + .fs-description {
  margin-top: 0.25rem;
}

.fs-checkbox-wrapper,
.fs-radio-wrapper {
  align-items: center;
  display: flex;
  height: 1.25rem;
}

.fs-checkbox,
.fs-radio {
  background-color: #fff;
  border: 1px solid var(--color-border-default);
  height: 1.25rem;
  width: 1.25rem;
}

.fs-checkbox {
  border-radius: 0.25rem;
}

.fs-radio {
  border-radius: 100%;
}

.fs-checkbox:checked,
.fs-radio:checked {
  background-color: var(--color-primary);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  border-color: transparent;
}

.fs-checkbox:checked {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
}

.fs-radio:checked {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");
}

.fs-checkbox:focus-visible,
.fs-radio:focus-visible {
  border-color: var(--color-border-active);
  outline: 4px solid var(--color-highlight);
  outline-offset: 0;
}

.fs-checkbox:checked:focus-visible,
.fs-radio:checked:focus-visible {
  border-color: transparent;
}

.fs-select {
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1.625em 1.625em;
  padding-right: 2.875rem;
}

.fs-slider {
  background: transparent;
  cursor: pointer;
  height: 1.25rem;
  width: 100%;
}

.fs-slider::-moz-range-track {
  background-color: var(--color-background);
  border-radius: 0.5rem;
  height: 0.5rem;
}

.fs-slider::-webkit-slider-runnable-track {
  background-color: var(--color-background);
  border-radius: 0.5rem;
  height: 0.5rem;
}

.fs-slider::-moz-range-thumb {
  background-color: var(--color-primary);
  border: none; /* Removes extra border that FF applies */
  border-radius: 50%;
  height: 1.25rem;
  width: 1.25rem;
}

.fs-slider::-webkit-slider-thumb {
  appearance: none;
  background-color: var(--color-primary);
  border-radius: 50%;
  height: 1.25rem;
  margin-top: -0.375rem; /* Centers thumb on the track */
  width: 1.25rem;
}

.fs-slider:focus-visible::-moz-range-thumb {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.fs-slider:focus-visible::-webkit-slider-thumb {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.fs-switch {
  background-color: var(--color-background-alt);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2.75' fill='white'/%3e%3c/svg%3e");
  background-position: left center;
  background-repeat: no-repeat;
  border-radius: 1.25rem;
  cursor: pointer;
  height: 1.25rem;
  transition-duration: 200ms;
  transition-property: background-color, background-position;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  width: 2.5rem;
}

.fs-switch:checked {
  background-color: var(--color-primary);
  background-position: right center;
}

.fs-switch:focus-visible {
  outline: 4px solid var(--color-highlight);
  outline-offset: 0;
}

.fs-textarea {
  appearance: none;
  border-radius: 0.75rem;
  border-width: 0;
  box-shadow: var(--color-border-default) 0 0 0 1px inset;
  color: var(--color-text-default);
  font-size: 1rem;
  line-height: 1.5rem;
  outline: none;
  padding: 0.5rem 0.75rem;
  resize: vertical;
}

.fs-textarea:focus-visible {
  box-shadow: var(--color-border-active) 0 0 0 1px inset;
}

.fs-textarea::placeholder {
  color: var(--color-text-muted);
}

/** Utilities **/

.col-span-full {
  grid-column: 1 / -1;
}

.fs-textarea::placeholder {
  color: var(--color-text-muted);
}

.slider-label-container {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 0.25rem;
}

.slider-label-text {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-align: center;
  white-space: nowrap;
}
/* Popup Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popup-overlay.active {
    display: flex;
    opacity: 1;
}

/* Popup Content */
.popup-content {
    background-color: var(--card-bg);
    border-radius: 15px;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--primary-color);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.popup-overlay.active .popup-content {
    transform: translateY(0);
}

/* Popup Header */
.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid #333;
    background-color: rgba(145, 226, 5, 0.05);
    border-radius: 15px 15px 0 0;
}

.popup-header h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 0;
    letter-spacing: 1px;
}

.popup-close {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 2.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
    padding: 0;
    line-height: 1;
}

.popup-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
}

/* Popup Body */
.popup-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
}

.popup-body h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    color: var(--text-color);
    margin: 25px 0 10px;
    letter-spacing: 1px;
}

.popup-body h4:first-child {
    margin-top: 0;
}

.popup-body p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 1rem;
}

.popup-body strong {
    color: var(--primary-color);
}

.popup-note {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-style: italic;
    color: #888 !important;
    font-size: 0.9rem !important;
}

/* Scrollbar Styling */
.popup-body::-webkit-scrollbar {
    width: 8px;
}

.popup-body::-webkit-scrollbar-track {
    background: #222;
}

.popup-body::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.popup-body::-webkit-scrollbar-thumb:hover {
    background: #7bc800;
}

/* Responsive */
@media (max-width: 768px) {
    .popup-content {
        width: 95%;
        max-height: 85vh;
    }
    
    .popup-header {
        padding: 20px;
    }
    
    .popup-header h3 {
        font-size: 2rem;
    }
    
    .popup-body {
        padding: 20px;
    }
    
    .popup-body h4 {
        font-size: 1.5rem;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
}
/* Legal Pages Styling */
.legal-page {
    padding: 150px 0 100px;
    min-height: 100vh;
    background-color: var(--background-color);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 50px;
    border-radius: 15px;
    border-left: 5px solid var(--primary-color);
}

.legal-content h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.legal-content h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    color: var(--text-color);
    margin: 30px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(145, 226, 5, 0.3);
}

.legal-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.contact-box {
    background: rgba(145, 226, 5, 0.1);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.contact-box h4 {
    color: var(--primary-color);
    margin-top: 0;
    border: none;
}

.contact-box p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.contact-box i {
    color: var(--primary-color);
    width: 20px;
}

.legal-section {
    margin-bottom: 30px;
}

.back-button {
    text-align: center;
    margin-top: 50px;
}

/* Responsive */
@media (max-width: 768px) {
    .legal-page {
        padding: 120px 0 60px;
    }
    
    .legal-content {
        padding: 30px 20px;
    }
    
    .legal-content h3 {
        font-size: 2rem;
    }
    
    .legal-content h4 {
        font-size: 1.5rem;
    }
}
.checkbox-group {
    margin: 20px 0;
    padding: 10px 0;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-group a {
    color: #e63946; /* Rot-Ton der Feuerwehr anpassen */
    text-decoration: underline;
    margin: 0 3px;
}

.checkbox-group a:hover {
    color: #ff6b6b; /* Hellerer Rot-Ton für Hover */
}

.checkbox-group .error-message {
    color: #e63946;
    font-size: 0.8rem;
    margin-top: 5px;
    display: none;
}
/* Modernes Checkbox-Styling */
.checkbox-group {
    position: relative;
}

.checkbox-group input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    width: 0;
    height: 0;
}

.checkbox-group label {
    padding-left: 30px;
    position: relative;
    cursor: pointer;
}

.checkbox-group label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    border: 2px solid #333;
    border-radius: 3px;
    background: white;
}

.checkbox-group input[type="checkbox"]:checked + label::after {
    content: '✓';
    position: absolute;
    left: 5px;
    top: 2px;
    color: #e63946;
    font-weight: bold;
    font-size: 16px;
}

.checkbox-group input[type="checkbox"]:focus + label::before {
    box-shadow: 0 0 3px 2px rgba(230, 57, 70, 0.5);
}
/* Team Slideshow Styling */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.team-member {
    text-align: center;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

/* Slideshow Container */
.person-slideshow {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    margin: 0 auto 20px;
    border: 3px solid var(--primary-color);
    background: var(--card-bg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Alle Bilder */
.person-slideshow img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: slideshow 16s infinite;
}

/* Animation Timing für 4 Bilder */
.person-slideshow img:nth-child(1) { animation-delay: 0s; }
.person-slideshow img:nth-child(2) { animation-delay: 4s; }
.person-slideshow img:nth-child(3) { animation-delay: 8s; }
.person-slideshow img:nth-child(4) { animation-delay: 12s; }

/* Animation Keyframes */
@keyframes slideshow {
    0% { opacity: 1; }
    20% { opacity: 1; }
    25% { opacity: 0; }
    95% { opacity: 0; }
    100% { opacity: 1; }
}

/* Pause Animation bei Hover (Desktop) */
@media (hover: hover) {
    .person-slideshow:hover img {
        animation-play-state: paused;
    }
}

/* Für reduzierte Motion (Barrierefreiheit) */
@media (prefers-reduced-motion: reduce) {
    .person-slideshow img {
        animation: none;
    }
    .person-slideshow img:first-child {
        opacity: 1;
    }
}

/* Team Member Text */
.team-member h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    color: var(--text-color);
    margin: 15px 0 5px;
    letter-spacing: 1px;
}

.team-member p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
}

/* Responsive Anpassungen */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .person-slideshow {
        width: 180px;
        height: 180px;
    }
    
    .team-member h4 {
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        gap: 40px;
    }
    
    .person-slideshow {
        width: 200px;
        height: 200px;
    }
    
    .team-member h4 {
        font-size: 1.8rem;
    }
}

/* Optional: Loading Animation */
.person-slideshow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(145, 226, 5, 0.1), 
        transparent);
    animation: loading-shine 3s infinite;
    z-index: 1;
    opacity: 0;
}

@keyframes loading-shine {
    0% { opacity: 0; transform: translateX(-100%); }
    10% { opacity: 0.3; }
    20% { opacity: 0; transform: translateX(100%); }
    100% { opacity: 0; }
}

/* Entferne Loading Animation wenn Bilder geladen */
.person-slideshow.loaded::before {
    display: none;
}