/* ========== Basis ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a5a2a;
    --secondary-color: #c41e3a;
    --accent-color: #d4a574;
    --light-bg: #f8f9fa;
    --text-dark: #333;
    --text-light: #666;
    --transition: 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== Header & Navigation ========== */
.main-header {
    background: transparent;
    color: white;
    position: relative;
    z-index: 100;
    box-shadow: none;
    padding: 0.6rem 2rem;
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: visible;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2d7a4a 100%);
    background-image: linear-gradient(135deg, rgba(26, 90, 42, 0.75) 0%, rgba(26, 90, 42, 0.75) 100%), url('https://images.unsplash.com/photo-1565704032556-ac41e53a8f8f?w=1200&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    position: relative;
    min-height: 15vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: visible;
    padding: 1rem 2rem;
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 0.5rem;
}

/* Mobile Menu Button - auf Desktop ausblenden */
.mobile-menu-btn {
    display: none;
}

/* Side Menu und Overlay - nur auf Mobile anzeigen */
.side-menu,
.side-menu-overlay {
    display: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--accent-color);
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    list-style: none;
    background-color: rgba(26, 90, 42, 0.95);
    min-width: 180px;
    border-radius: 8px;
    margin-top: 0.5rem;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu .nav-link {
    display: block;
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

.dropdown-menu .nav-link::after {
    display: none;
}

.dropdown-menu .nav-link:hover {
    background-color: rgba(212, 165, 116, 0.2);
}

/* Hero Content */
.hero-content {
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0;
}

.hero-content .logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.hero-content .logo {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: slideInLeft 0.6s ease;
}

.hero-content .guild-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(212, 165, 116, 0.6));
    transition: filter 0.3s ease;
    will-change: filter;
}

.hero-content .guild-logo:hover {
    filter: drop-shadow(0 0 15px rgba(212, 165, 116, 0.9));
}

.hero-text {
    text-align: left;
}

.hero-title {
    font-size: 1.8rem;
    margin-bottom: 0.1rem;
    margin-top: 0;
    animation: fadeInUp 0.8s ease 0.2s backwards;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 0;
    margin-top: 0;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.4s backwards;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition);
    animation: fadeInUp 0.8s ease 0.6s backwards;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
}

.cta-button:hover {
    background-color: #a01a2f;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(196, 30, 58, 0.4);
}

/* Foto-Galerie Slideshow */
.photo-gallery {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    overflow: hidden;
}

.gallery-image {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    opacity: 1;
    animation: heroDrift 18s ease-in-out infinite;
}

.gallery-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 90, 42, 0.75) 0%, rgba(26, 90, 42, 0.65) 100%);
    z-index: 1;
}

/* Hintergrund-Bild für Header - bereits in .hero-header definiert */

/* ========== Kategorien Section ========== */
.kategorien {
    padding: 0.5rem 2rem 5rem 2rem;
    background-color: white;
}

.kategorien h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-top: 3rem;
    animation: fadeIn 0.8s ease;
}

.kategorien-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.kategorien-grid::-webkit-scrollbar {
    display: none;
}

/* Überschreibe für Kategorien-Übersicht in kategorie.html */
#categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    flex-wrap: wrap;
    overflow-x: visible;
    scrollbar-width: auto;
    gap: 1rem;
    padding: 2rem 0;
}

#categories-grid .kategorie-card {
    min-width: auto;
}

#categories-grid .category-overview-card {
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

#categories-grid .category-overview-card:hover {
    background-color: #e8f0eb !important;
    border-color: var(--primary-color) !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(26, 90, 42, 0.15);
}

.kategorie-card {
    background: transparent;
    padding: 0;
    border-radius: 0;
    text-align: center;
    box-shadow: none;
    transition: none;
    animation: none;
    border: none;
    min-width: 200px;
    position: relative;
}

.kategorie-card:hover {
    box-shadow: none;
}

.kategorie-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: white;
    background-color: var(--primary-color);
    padding: 0.9rem 1rem;
    font-size: 1.1rem;
    border-radius: 13px;
    border: 0;
    cursor: pointer;
    font-weight: 600;
    text-align: center;
}

.kategorie-toggle:focus {
    outline: none;
    box-shadow: none;
}

.kategorie-caret {
    font-size: 0.9rem;
    transition: none;
}

.kategorie-card.open .kategorie-caret {
    transform: none;
}

.kategorie-menu {
    list-style: none;
    padding: 0.4rem 0;
    margin-top: 0.6rem;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(26, 90, 42, 0.12);
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    top: calc(100% - 0.3rem);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: none;
    z-index: 5;
}

.kategorie-card.open .kategorie-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.kategorie-menu-link {
    width: 100%;
    text-align: left;
    background: none;
    border: 0;
    padding: 0.6rem 0.9rem;
    color: var(--primary-color);
    font-size: 0.95rem;
    cursor: pointer;
    font-family: inherit;
}

.kategorie-menu-link:hover,
.kategorie-menu-link:focus {
    background-color: rgba(26, 90, 42, 0.08);
    outline: none;
}

/* Photo Gallery Link */
.photo-gallery {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    display: block;
}
.about {
    padding: 5rem 2rem;
    background-color: transparent;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    animation: fadeIn 0.8s ease;
}

.about-text {
    text-align: center;
    max-width: 700px;
    margin: -0.9rem auto 2.5rem;
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

/* ========== News Section ========== */
.news-section {
    padding: 5rem 2rem;
    background-color: var(--light-bg);
}

.news-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

/* Circular Patches Container */
.circular-patches-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: 160px;
    margin: 0 auto 8rem auto;
    padding-top: 20px;
}

/* Center welcome text - positioned below patches */
.center-content {
    position: absolute;
    bottom: -65px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 1;
}

.center-content .welcome-heading {
    margin: 0 0 0.5rem 0;
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 700;
    white-space: nowrap;
}

.center-content .welcome-subtitle {
    margin: 0;
    font-size: 1.2rem;
    color: #555;
}

/* Patches arranged in arc above text */
.patch-circle {
    position: absolute;
    width: 110px;
    height: 110px;
    left: 50%;
    top: 50%;
    margin-left: -55px;
    margin-top: -55px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.patch-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    transition: filter 0.3s ease, transform 0.3s ease;
}

.patch-circle a {
    display: block;
    width: 100%;
    height: 100%;
}

.patch-circle:hover {
    z-index: 10;
    margin-top: -65px;
}

.patch-circle:hover img {
    transform: scale(1.08) rotate(2deg);
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.25));
}

/* Position patches in very wide, very flat arc - 11 patches with SGI in center (symmetrisch) */
/* 5 links + SGI + 5 rechts = 11 sichtbare Patches */
.patch-1  { transform: translate(-580px, -3px); }      /* Far left */
.patch-2  { transform: translate(-470px, -15px); }      /* Left */
.patch-3  { transform: translate(-360px, -30px); }      /* Left */
.patch-4  { transform: translate(-250px, -42px); }      /* Left-center */
.patch-5  { transform: translate(-140px, -48px) rotate(-5deg); }      /* Just left of center - Vorderlader */
.patch-6  { display: none; }                            /* Leer - ausgeblendet */
.patch-7  { transform: translate(0px, -50px); }         /* SGI - Top center */
.patch-8  { transform: translate(140px, -48px); }       /* HeidjerBoeller - just right of center */
.patch-9  { transform: translate(250px, -42px); }       /* Right-center */
.patch-10 { transform: translate(360px, -30px); }       /* Right */
.patch-11 { transform: translate(470px, -15px); }       /* Right */
.patch-12 { transform: translate(580px, -3px); }       /* Far right */

/* SGI Logo größer machen */
.patch-7 {
    width: 154px;
    height: 154px;
    margin-left: -77px;
    margin-top: -77px;
    z-index: 5;
}

.patch-7:hover {
    margin-top: -87px;
}

@media (hover: none) {
    .patch-circle:hover {
        margin-top: -55px;
    }

    .patch-circle:hover img {
        transform: none;
        filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    }

    .patch-7:hover {
        margin-top: -77px;
    }
}

@media (max-width: 768px) {
    .circular-patches-container {
        height: 190px;
        margin-bottom: 5rem;
        padding-top: 10px;
    }

    .center-content {
        bottom: -15px;
    }

    .center-content .welcome-heading {
        font-size: 1.8rem;
        white-space: normal;
    }

    .center-content .welcome-subtitle {
        font-size: 1rem;
    }

    .patch-circle {
        width: 80px;
        height: 80px;
        margin-left: -40px;
        margin-top: -40px;
    }

    .patch-7 {
        width: 110px;
        height: 110px;
        margin-left: -55px;
        margin-top: -55px;
    }

    .patch-1  { transform: translate(-220px, 6px); }
    .patch-2  { transform: translate(-170px, -4px); }
    .patch-3  { transform: translate(-120px, -12px); }
    .patch-4  { transform: translate(-70px, -18px); }
    .patch-5  { transform: translate(-25px, -22px) rotate(-5deg); }
    .patch-8  { transform: translate(25px, -22px); }
    .patch-9  { transform: translate(70px, -18px); }
    .patch-10 { transform: translate(120px, -12px); }
    .patch-11 { transform: translate(170px, -4px); }
    .patch-12 { transform: translate(220px, 6px); }
}

@media (max-width: 480px) {
    .circular-patches-container {
        height: 170px;
        margin-bottom: 4.5rem;
    }

    .center-content {
        bottom: -10px;
    }

    .center-content .welcome-heading {
        font-size: 1.5rem;
    }

    .patch-circle {
        width: 68px;
        height: 68px;
        margin-left: -34px;
        margin-top: -34px;
    }

    .patch-7 {
        width: 96px;
        height: 96px;
        margin-left: -48px;
        margin-top: -48px;
    }

    .patch-1  { transform: translate(-165px, 4px); }
    .patch-2  { transform: translate(-125px, -4px); }
    .patch-3  { transform: translate(-88px, -10px); }
    .patch-4  { transform: translate(-52px, -14px); }
    .patch-5  { transform: translate(-18px, -18px) rotate(-5deg); }
    .patch-8  { transform: translate(18px, -18px); }
    .patch-9  { transform: translate(52px, -14px); }
    .patch-10 { transform: translate(88px, -10px); }
    .patch-11 { transform: translate(125px, -4px); }
    .patch-12 { transform: translate(165px, 4px); }
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.news-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    padding-bottom: 4rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--primary-color);
    position: relative;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.news-card.has-bg {
    background-size: cover;
    background-position: center;
    color: #ffffff;
}

.news-card.has-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.6));
    border-radius: 12px;
    pointer-events: none;
}

.news-card.has-bg > * {
    position: relative;
    z-index: 1;
}

.news-card.has-bg .news-title,
.news-card.has-bg .news-date,
.news-card.has-bg .read-more-btn {
    color: #1a1a1a;
    text-shadow: none;
}

.news-card-with-image {
    padding: 0;
    overflow: hidden;
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.news-card-content {
    padding: 2rem;
    padding-bottom: 4rem;
    position: relative;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.news-date {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 auto 0.75rem;
    width: fit-content;
    min-height: 32px;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(45, 122, 74, 0.14), rgba(45, 122, 74, 0.08));
    border: 1px solid rgba(45, 122, 74, 0.22);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.news-date:empty {
    background: transparent;
    border-color: transparent;
    color: transparent;
    opacity: 0;
    box-shadow: none;
    pointer-events: none;
    min-width: 150px;
}

.news-title {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
    text-align: center;
}

.news-title::after {
    content: '';
    display: block;
    width: 52px;
    height: 3px;
    margin: 0.5rem auto 0;
    border-radius: 99px;
    background: linear-gradient(90deg, #2d7a4a, #5aa56e);
    opacity: 0.9;
}

.news-card.has-bg .news-date {
    background: rgba(255, 255, 255, 0.78);
    border-color: rgba(0, 0, 0, 0.12);
}

.news-card.has-bg .news-title::after {
    background: linear-gradient(90deg, #1a5a2a, #2d7a4a);
}

.news-preview {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.news-content {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
}

/* Bildunterschriften (kursiv + zentriert) im News-Content */
.news-content p[style*="text-align: center"] em,
.news-content p[style*="text-align: center"] i,
.news-content p.ql-align-center em,
.news-content p.ql-align-center i {
    color: #666;
    font-size: 0.9rem;
    display: block;
    margin: 0.5rem 0 1rem 0;
}

.read-more-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    font-size: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
}

.read-more-btn:hover {
    color: #2d7a4a;
    transform: translateX(5px);
}

.news-card {
    cursor: pointer;
}

/* Styling für Full Content in Modal/Card */
.news-full-content {
    overflow: auto;
    clear: both;
}

.news-full-content img {
    max-width: 420px;
    height: auto;
    margin-bottom: 1rem;
}

.news-full-content img.centered {
    float: none;
    display: block;
    margin: 20px auto;
    max-width: 600px;
}

.news-documents {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.news-document-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: #f2f6f3;
    border: 1px solid #cfe3d6;
    border-radius: 6px;
    color: #1a5a2a;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-document-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(26, 90, 42, 0.15);
    text-decoration: none;
}

/* ========== News Modal ========== */
.news-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

.news-modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 3rem;
    border-radius: 12px;
    max-width: 800px;
    width: 90%;
    position: relative;
    animation: slideDown 0.4s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.news-modal-close {
    color: var(--text-light);
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.news-modal-close:hover {
    color: var(--primary-color);
}

.modal-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-right: 2rem;
}

.modal-date {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-content-text {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1.1rem;
}

.modal-content-text p {
    margin-bottom: 0.75rem;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ========== Image Zoom Modal ========== */
.image-zoom-modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
}

.image-zoom-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.image-zoom-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
    z-index: 1002;
}

.image-zoom-close:hover {
    color: var(--accent-color);
}

.image-zoom-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: slideDown 0.4s ease;
}

/* ========== Features Section ========== */
.features {
    padding: 5rem 2rem;
    background-color: white;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    animation: fadeIn 0.8s ease;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: linear-gradient(135deg, var(--light-bg) 0%, #fff 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all var(--transition);
    animation: fadeInUp 0.8s ease backwards;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(26, 90, 42, 0.15);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ========== Contact Section ========== */
.contact {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--light-bg) 0%, #fff 100%);
}

.contact h2 {
    text-align: center;
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    animation: fadeIn 0.8s ease;
}

/* Slim Contact Form */
.contact-slim {
    max-width: 520px;
    margin: 0 auto;
    background: linear-gradient(180deg, #ffffff 0%, #f6faf7 100%);
    border: 1px solid rgba(26, 90, 42, 0.15);
    border-radius: 16px;
    padding: 0.9rem 1rem 0.8rem;
    box-shadow: 0 14px 28px rgba(12, 44, 24, 0.12);
}

.contact-slim-form {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #1a5a2a;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.contact-input {
    width: 100%;
    border: 1px solid #d6e4db;
    border-radius: 12px;
    padding: 0.55rem 0.7rem;
    font-size: 0.85rem;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.contact-input:focus {
    outline: none;
    border-color: #1a5a2a;
    box-shadow: 0 0 0 3px rgba(26, 90, 42, 0.12);
    transform: translateY(-1px);
}

.contact-textarea {
    min-height: 80px;
}

/* CAPTCHA Styles */
.captcha-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.captcha-question {
    width: 100%;
    flex: 0 0 auto;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2d7a4a 100%);
    color: white;
    padding: 0.55rem 0.9rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(26, 90, 42, 0.2);
    user-select: none;
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.captcha-choices {
    flex: 0 1 auto;
    display: flex;
    gap: 0.5rem;
}

.captcha-choice {
    flex: 0 0 auto;
    background: #f2f7f4;
    border: 1px solid #d6e4db;
    border-radius: 8px;
    padding: 0.45rem 0.7rem;
    font-weight: 600;
    color: #1a5a2a;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 52px;
    text-align: center;
    font-size: 0.95rem;
}

.captcha-choice:hover {
    border-color: #1a5a2a;
    background: #e8f2ec;
}

.captcha-choice.active {
    background: #1a5a2a;
    border-color: #1a5a2a;
    color: #fff;
}

.captcha-input {
    flex: 1;
    min-width: 0;
}

.captcha-refresh {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    background: rgba(26, 90, 42, 0.08);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.captcha-refresh:hover {
    background: rgba(26, 90, 42, 0.15);
    transform: rotate(90deg);
}

.captcha-refresh svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 600px) {
    .captcha-wrapper {
        flex-wrap: wrap;
        align-items: center;
    }

    .captcha-question {
        width: 100%;
        text-align: center;
    }

    .captcha-choices {
        flex: 1 1 auto;
        padding-left: 44px;
    }

    .captcha-choice {
        padding: 0.3rem 0.5rem;
        min-width: 44px;
        font-size: 0.85rem;
    }
}

@media (min-width: 601px) {
    .captcha-choices {
        flex: 1 1 auto;
        justify-content: center;
        padding-left: 24px;
    }

    .captcha-refresh {
        margin-left: auto;
    }
}

.contact-submit {
    align-self: center;
    width: 48px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2d7a4a 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 22px rgba(26, 90, 42, 0.25);
}

.contact-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(26, 90, 42, 0.3);
}

.contact-submit-icon {
    width: 1.1rem;
    height: 1.1rem;
}

/* Response Message Styles */
.response-message {
    margin-top: 1rem;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    display: none;
}

.response-message.success {
    display: block;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: 1px solid #c3e6cb;
    box-shadow: 0 2px 8px rgba(21, 87, 36, 0.15);
}

.response-message.error {
    display: block;
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border: 1px solid #f5c6cb;
    box-shadow: 0 2px 8px rgba(114, 28, 36, 0.15);
}

/* Modern Contact Form */
.contact-form-wrapper {
    max-width: 380px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06),
                0 0 0 1px rgba(255, 255, 255, 0.35) inset;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    align-items: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.7rem;
    width: 100%;
    max-width: 300px;
}

.form-group {
    position: relative;
    width: 100%;
    max-width: 300px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0.85rem;
    height: 0.85rem;
    color: #94a3b8;
    transition: all 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.textarea-wrapper .input-icon {
    top: 1.1rem;
    transform: translateY(0);
}

.form-input {
    width: 100%;
    padding: 0.6rem 0.6rem 0.6rem 2.1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.85rem;
    background: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 0;
}

.form-input.auto-grow {
    resize: none;
    overflow: hidden;
}

.form-input:focus {
    outline: none;
    border-color: transparent;
    background: #f8fafc;
    box-shadow: 0 0 0 3px rgba(26, 90, 42, 0.1);
}

.form-input:focus ~ .input-icon {
    color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.textarea-wrapper .form-input:focus ~ .input-icon {
    transform: translateY(0) scale(1.1);
}

.form-label {
    position: absolute;
    left: 2.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.8rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 1;
    background: transparent;
    padding: 0 0.5rem;
}

.textarea-wrapper .form-label {
    top: 1.1rem;
    transform: translateY(0);
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
    top: -0.7rem;
    left: 1.9rem;
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--primary-color);
    background: linear-gradient(to bottom, transparent 50%, #ffffff 50%);
    transform: translateY(0);
}

.textarea-wrapper .form-input:focus ~ .form-label,
.textarea-wrapper .form-input:not(:placeholder-shown) ~ .form-label {
    top: -0.7rem;
}

.input-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #3a9a5a);
    border-radius: 16px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-input:focus ~ .input-border {
    width: 100%;
}

.submit-button {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2d7a4a 100%);
    color: white;
    padding: 0.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 56px;
    height: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(26, 90, 42, 0.25);
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.submit-button:hover::before {
    left: 100%;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(26, 90, 42, 0.35);
}

.submit-button:active {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(26, 90, 42, 0.35);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.button-icon {
    width: 1.1rem;
    height: 1.1rem;
    transition: transform 0.3s ease;
}

.submit-button:hover .button-icon {
    transform: translateX(4px) rotate(-10deg);
}

.response-message {
    text-align: center;
    padding: 0.9rem 1.2rem;
    border-radius: 16px;
    margin-top: 1rem;
    display: none;
    font-weight: 500;
    animation: slideDown 0.4s ease;
}

.response-message.success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: 2px solid #28a745;
    display: block;
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.2);
}

.response-message.error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border: 2px solid #f5c6cb;
    display: block;
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 2rem;
        border-radius: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .submit-button {
        padding: 1.1rem 2rem;
        font-size: 1rem;
    }
}

/* ========== Footer ========== */
footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2d7a4a 100%);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: auto;
}

/* ========== Animationen ========== */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroDrift {
    0% {
        transform: scale(1) translateY(0);
    }
    50% {
        transform: scale(1.05) translateY(-1%);
    }
    100% {
        transform: scale(1) translateY(0);
    }
}

@keyframes slideBackground {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shootArrow {
    0% {
        opacity: 0;
        transform: translateY(-50%) translateX(-100px);
    }
    10% {
        opacity: 1;
    }
    85% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-50%) translateX(200px);
    }
}

@keyframes targetPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(196, 30, 58, 0.3));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 20px rgba(196, 30, 58, 0.6));
    }
}

@keyframes aimBow {
    0%, 100% {
        transform: scale(1) rotateZ(0deg);
    }
    40% {
        transform: scale(1.1) rotateZ(-10deg);
    }
    60% {
        transform: scale(1.2) rotateZ(-20deg);
    }
    80% {
        transform: scale(1) rotateZ(-5deg);
    }
}

@keyframes aimBowReverse {
    0%, 100% {
        transform: scaleX(-1) scale(1) rotateZ(0deg);
    }
    40% {
        transform: scaleX(-1) scale(1.1) rotateZ(10deg);
    }
    60% {
        transform: scaleX(-1) scale(1.2) rotateZ(20deg);
    }
    80% {
        transform: scaleX(-1) scale(1) rotateZ(5deg);
    }
}

@keyframes aimGun {
    0%, 100% {
        transform: scale(1) rotateZ(0deg);
    }
    50% {
        transform: scale(1.15) rotateZ(-15deg);
    }
    75% {
        transform: scale(1) rotateZ(0deg);
    }
}

@keyframes bulletHit {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.5);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes float3d1 {
    0%, 100% {
        transform: rotateX(0deg) rotateY(0deg) translateZ(0px);
    }
    25% {
        transform: rotateX(10deg) rotateY(-15deg) translateZ(30px);
    }
    50% {
        transform: rotateX(0deg) rotateY(20deg) translateZ(60px);
    }
    75% {
        transform: rotateX(-10deg) rotateY(-10deg) translateZ(30px);
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

@keyframes float3d2 {
    0%, 100% {
        transform: translateX(-50%) rotateX(0deg) rotateY(0deg) scale(1);
    }
    50% {
        transform: translateX(-50%) rotateX(15deg) rotateY(10deg) scale(1.1);
    }
}

@keyframes float3d3 {
    0%, 100% {
        transform: rotateX(0deg) rotateY(0deg) translateZ(0px);
    }
    25% {
        transform: rotateX(-10deg) rotateY(15deg) translateZ(40px);
    }
    50% {
        transform: rotateX(0deg) rotateY(-20deg) translateZ(70px);
    }
    75% {
        transform: rotateX(10deg) rotateY(10deg) translateZ(40px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotateZ(0deg);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-30px) rotateZ(15deg);
        opacity: 1;
    }
}

@keyframes particle {
    0% {
        opacity: 0;
        transform: scale(0) translateY(0);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: scale(0) translateY(-60px);
    }
}

@keyframes hitStar {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* ========== Responsive Design ========== */
@media (max-width: 768px) {
    /* Mobile Navigation - reguläres Menü ausblenden */
    .nav-menu {
        display: none;
    }
    
    /* Mobile Menu Button - Hamburger Icon */
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(45, 122, 74, 0.9);
        border: none;
        padding: 0.6rem;
        border-radius: 8px;
        cursor: pointer;
        position: absolute;
        right: 1rem;
        bottom: 0.5rem;
        z-index: 1001;
    }
    
    .hamburger {
        width: 24px;
        height: 2px;
        background: white;
        position: relative;
        transition: all 0.3s ease;
    }
    
    .hamburger::before,
    .hamburger::after {
        content: '';
        position: absolute;
        width: 24px;
        height: 2px;
        background: white;
        transition: all 0.3s ease;
    }
    
    .hamburger::before {
        top: -7px;
    }
    
    .hamburger::after {
        bottom: -7px;
    }
    
    .mobile-menu-btn.open .hamburger {
        background: transparent;
    }
    
    .mobile-menu-btn.open .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }
    
    .mobile-menu-btn.open .hamburger::after {
        transform: rotate(-45deg);
        bottom: 0;
    }
    
    /* Side Menu Overlay */
    .side-menu-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 999;
    }
    
    .side-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Side Menu */
    .side-menu {
        display: block;
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100%;
        background: linear-gradient(135deg, #1a5a2a 0%, #2d7a4a 100%);
        background-image: linear-gradient(135deg, rgba(26, 90, 42, 0.85) 0%, rgba(26, 90, 42, 0.85) 100%), url('https://images.unsplash.com/photo-1565704032556-ac41e53a8f8f?w=1200&q=80');
        background-size: cover;
        background-position: center;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
        transition: left 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
    }
    
    .side-menu.active {
        left: 0;
    }
    
    .side-menu-header {
        padding: 1.5rem 1rem;
        background: rgba(0, 0, 0, 0.2);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .side-menu-user {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
    
    .side-menu-avatar {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: white;
        padding: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .side-menu-avatar img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    
    .side-menu-user-info h3 {
        margin: 0;
        color: white;
        font-size: 0.95rem;
        font-weight: 600;
    }
    
    .side-menu-user-info p {
        margin: 0.2rem 0 0;
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.75rem;
    }
    
    .side-menu-nav {
        padding: 1rem 0;
    }
    
    .side-menu-link {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1rem 1.5rem;
        color: white;
        text-decoration: none;
        transition: background 0.2s ease;
        border-left: 3px solid transparent;
    }
    
    .side-menu-link:hover,
    .side-menu-link.active {
        background: rgba(255, 255, 255, 0.1);
        border-left-color: white;
    }
    
    .side-menu-icon {
        font-size: 1.2rem;
        width: 24px;
        text-align: center;
    }
    
    .side-menu-link span:last-child {
        font-size: 0.95rem;
    }
    
    .hero-section {
        position: relative;
    }
    
    .main-header {
        position: static;
    }
    
    .navbar {
        margin-bottom: 0;
    }
    
    .hero-section {
        min-height: auto;
        padding: 0.8rem 0.5rem 0.4rem;
    }
    
    .hero-content .logo {
        width: 35px;
        height: 35px;
    }
    
    .hero-content {
        gap: 0.4rem;
        padding: 0.5rem 0 0;
        margin-bottom: 0;
    }

    .hero {
        min-height: 400px;
        padding: 4rem 2rem;
    }

    .hero-title {
        font-size: 1.3rem;
        margin-bottom: 0;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 0.6rem;
        margin-top: 0;
    }

    .about h2,
    .features h2,
    .contact h2 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    /* News Grid viel kleiner auf Mobile */
    .news-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        padding: 0 0.5rem;
    }
    
    .news-card {
        padding: 0.8rem;
        padding-bottom: 2.5rem;
        min-height: auto;
    }
    
    .news-card-content {
        padding: 0.8rem;
        padding-bottom: 2.5rem;
    }
    
    .news-title {
        font-size: 1rem;
    }
    
    .news-date {
        font-size: 0.75rem;
    }
    
    .news-excerpt {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .news-image {
        height: 120px;
    }
    
    .news-card img {
        max-width: 100% !important;
        width: 100% !important;
        float: none !important;
        margin: 0 0 8px 0 !important;
    }
    
    /* Responsive Circular Patches */
    .circular-patches-container {
        height: 180px;
        max-width: 320px;
        margin: -2rem auto 5rem auto;
        padding-top: 20px;
    }
    
    .center-content {
        bottom: auto;
        top: 120px;
    }
    
    .center-content .welcome-heading {
        font-size: 1.5rem;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .center-content .welcome-subtitle {
        font-size: 0.9rem;
    }
    
    .patch-circle {
        width: 46px;
        height: 46px;
        margin-left: -23px;
        margin-top: -23px;
    }
    
    /* Patches ohne Unterkategorie auf Mobile ausblenden */
    .patch-5,
    .patch-6,
    .patch-11 {
        display: none;
    }
    
    /* 9 verbleibende Patches symmetrisch angeordnet: 4 links + SGI + 4 rechts */
    .patch-1  { transform: translate(-150px, -2px); }
    .patch-2  { transform: translate(-120px, -10px); }
    .patch-3  { transform: translate(-90px, -18px); }
    .patch-4  { transform: translate(-60px, -22px); }
    .patch-7  { transform: translate(0px, -24px); }
    .patch-8  { transform: translate(60px, -22px); }
    .patch-9  { transform: translate(90px, -18px); }
    .patch-10 { transform: translate(120px, -10px); }
    .patch-12 { transform: translate(150px, -2px); }
    
    /* SGI Logo größer auf Mobile */
    .patch-7 {
        width: 82px;
        height: 82px;
        margin-left: -41px;
        margin-top: -41px;
    }
    
    .patch-7:hover {
        margin-top: -46px;
    }
    
    /* Hover-Effekte auf Mobile deaktivieren */
    .patch-circle:hover {
        z-index: auto;
        margin-top: -23px;
    }
    
    .patch-circle:hover img {
        transform: none;
        filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    }
    
    .center-content .welcome-heading {
        font-size: 1.5rem;
    }
    
    .center-content .welcome-subtitle {
        font-size: 0.9rem;
    }
    
    /* Kategorie-Karten auf Mobile anpassen */
    .kategorie-card {
        min-width: 140px;
    }
    
    .kategorie-toggle {
        font-size: 0.8rem;
        padding: 0.7rem 0.5rem;
        word-break: normal;
        hyphens: none;
    }
    
    .kategorien-grid {
        gap: 0.5rem;
        padding: 0;
    }
    
    #categories-grid {
        gap: 0.5rem;
        padding: 0 5px;
    }
    
    .category-overview-card h3 {
        font-size: 0.85rem !important;
        word-break: break-word;
    }
    
    /* News Modal auf Mobile anpassen */
    .news-modal-content {
        margin: 2% auto;
        padding: 1.5rem;
        width: 95%;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .modal-title {
        font-size: 1.4rem;
        padding-right: 2.5rem;
    }
    
    .modal-content-text {
        font-size: 1rem;
    }
    
    .modal-content-text img,
    .news-modal-content img,
    #modalContent img {
        max-width: 100% !important;
        width: auto !important;
        height: auto !important;
        float: none !important;
        margin: 10px auto !important;
        display: block !important;
    }
    
    .news-modal-close {
        right: 0.8rem;
        top: 0.8rem;
        font-size: 2rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Responsive Circular Patches for Tablets */
    .circular-patches-container {
        height: 140px;
        max-width: 900px;
        margin: 0 auto 4rem auto;
    }
    
    .patch-circle {
        width: 90px;
        height: 90px;
        margin-left: -45px;
        margin-top: -45px;
    }
    
    /* Medium arc radius for tablets: 11 patches symmetrisch */
    .patch-1  { transform: translate(-400px, -8px); }
    .patch-2  { transform: translate(-320px, -24px); }
    .patch-3  { transform: translate(-240px, -38px); }
    .patch-4  { transform: translate(-160px, -50px); }
    .patch-5  { transform: translate(-80px, -58px) rotate(-5deg); }
    .patch-6  { display: none; }
    .patch-7  { transform: translate(0, -62px); }
    .patch-8  { transform: translate(80px, -58px); }
    .patch-9  { transform: translate(160px, -50px); }
    .patch-10 { transform: translate(240px, -38px); }
    .patch-11 { transform: translate(320px, -24px); }
    .patch-12 { transform: translate(400px, -8px); }
    
    /* SGI Logo größer auf Tablets */
    .patch-7 {
        width: 126px;
        height: 126px;
        margin-left: -63px;
        margin-top: -63px;
    }
    
    .patch-7:hover {
        margin-top: -73px;
    }
    
    .center-content .welcome-heading {
        font-size: 2rem;
    }
}

/* Footer Links */
.footer-links a {
    color: white !important;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}
