h2[id] {
    scroll-margin-top: 100px;
	display: block;
}

:root {
    --bg-dark: #0a0e12;
    --card-bg: rgba(255, 255, 255, 0.05);
    --accent-gold: #c5a059;
    --text-main: #e0e0e0;
    --text-muted: #a0a0a0;
}

/* Basis */
body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    line-height: 1.6;
	scroll-behavior: smooth !important;
}
p a,
li a,
span a {
    position: relative;
    color: var(--accent-gold) !important;
    text-decoration: none;
}

p a::after,
li a::after,
span a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

p a:hover::after,
li a:hover::after,
span a:hover::after {
    width: 100%;
    transform: scaleX(1);
}

/* Navigation */
.main-nav {
    background: rgba(5, 8, 12, 0.50); /* Deckkraft auf 75% reduziert für echten Transparenz-Effekt */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);     /* Leicht erhöht für einen weicheren, moderneren Blur */
    -webkit-backdrop-filter: blur(12px); /* Safari-Support, ganz wichtig */
    padding: 15px 0;
    width: 100%;
    display: flex;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav nav {
    max-width: 1200px;
    width: 100%;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.main-nav a {
    color: var(--text-muted);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-right: 30px;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--accent-gold);
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.main-nav a:hover::after {
    transform: scaleX(1);
}

.btn-discord-small {
    margin-left: auto;
    background: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 10px 20px;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-discord-small:hover {
    background: var(--accent-gold);
    color: #000;
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.3);
}

/* Hero */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    background:
        linear-gradient(
            90deg,
            rgba(5,8,12,0.92) 0%,
            rgba(5,8,12,0.70) 35%,
            rgba(5,8,12,0.35) 60%,
            rgba(5,8,12,0.55) 100%
        ),
        linear-gradient(
            180deg,
            rgba(5,8,12,0.2) 0%,
            rgba(5,8,12,0.85) 100%
        ),
        url('header.jpg') center center / cover no-repeat;
    overflow: hidden;
}

.hero-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    padding: 0 40px;
    gap: 40px;
}

.hero-text {
    text-align: left;
    flex: 1;
}

.hero-title-industrial {
    font-family: 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(3rem, 10vw, 3rem);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin: 0;
    padding: 0px 0;

    background: linear-gradient(
        to bottom,
        #FFF7E3 0%,
        #F5E9C8 14%,
        #F5DDB4 30%,
        #D8C3A0 44%,
        #FFF1CF 52%,
        #BFA98A 66%,
        #F5DDB4 84%,
        #AA9A86 100%
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.12),
        0 3px 10px rgba(0, 0, 0, 0.45);
}

.hero-title-industrial::after {
    content: "Friendly-Helpers";
    position: absolute;
    left: 0;
    top: 20px;
    width: 100%;
    z-index: -1;
    opacity: 0.1;
    background-image: url('https://www.transparenttextures.com/patterns/asfalt-light.png');
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--accent-gold);
    letter-spacing: 2px;
    margin: 10px 0 30px 0;
}

.logo-plate {
    flex: 1;
    display: grid;
    place-items: center;
    max-width: 800px;
    aspect-ratio: 1;
    transform: perspective(900px) rotateY(-15deg) rotateX(2deg);
}

.logo-plate img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 22px 40px rgba(0,0,0,.7));
}

/* Buttons */
.btn {
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 3px;
    font-weight: bold;
    margin: 10px;
    display: inline-block;
}

.primary {
    background: var(--accent-gold);
    color: #000;
}

.secondary {
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
}

.card-btn {
    display: inline-block;
    width: fit-content;
    padding: 6px 14px;
    font-family: monospace;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
    background: rgba(30, 31, 34, 0.9);
    border: 1px solid rgba(197, 160, 89, 0.2);
    color: #fff;
    margin-top: 10px;
    margin-bottom: 15px;
    align-self: flex-start;
    transition: all 0.3s ease;
}

.card-btn:hover {
    color: var(--accent-gold);
    border-color: var(--accent-gold);
    background: rgba(30, 31, 34, 1);
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.2);
    text-decoration: none;
}

.btn-read-more {
    display: inline-block;
    font-family: 'Consolas', 'Monaco', 'Andale Mono', 'Ubuntu Mono', monospace;
    background: rgba(30, 31, 34, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 5px 12px;
    font-size: 0.9rem;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.btn-read-more:hover {
    color: var(--accent-gold);
    font-family: 'Consolas', 'Monaco', 'Andale Mono', 'Ubuntu Mono', monospace;
    border-color: rgba(197, 160, 89, 0.3);
    background-color: rgba(30, 31, 34, 1);
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.1);
}

/* Layout */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: -50px auto 50px;
    padding: 0 20px;
}

.section-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.section-divider {
    max-width: 1200px;
    margin: 80px auto 40px auto;
    padding: 0 40px;
}

.divider-content {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.divider-content h2 {
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
}

.divider-content svg {
    color: var(--accent-gold);
    width: 28px;
    height: 28px;
}

.divider-line {
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, 
        var(--accent-gold) 0%, 
        rgba(197, 160, 89, 0.5) 50%, 
        transparent 100%
    );
    position: relative;
}

.info-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 30px;
    margin-top: 50px;
    align-items: start;
}

/* Cards */
.card {
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 5px;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}

.card h3 {
    text-transform: uppercase;
    border-bottom: 1px solid var(--accent-gold);
    padding-bottom: 10px;
    display: inline-block;
}

.card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.card-head::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, var(--accent-gold), transparent);
}

.card-head h3 {
    margin: 0;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 1px;
    color: #fff;
    border: none;
    padding: 0;
}

.card-head i,
.card-head svg {
    width: 22px;
    height: 22px;
    color: var(--accent-gold);
    stroke-width: 2px;
}

.head-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.img-placeholder {
    margin-top: auto;
    padding-top: 20px;
}

.img-placeholder::before {
    content: " ";
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%), 
                linear-gradient(90deg, rgba(255, 0, 0, 0.02), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.02));
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
    z-index: 2;
    border-radius: 2px;
}

.card-img {
    width: 100%;
    border-radius: 4px;
    border: 1px solid rgba(197, 160, 89, 0.3);
    background: rgba(0, 0, 0, 0.2);
    padding: 4px;
    box-sizing: border-box;
    filter: saturate(0.8) brightness(0.6);
    transition: all 0.4s ease;
}

.card:hover .card-img {
    filter: saturate(1) brightness(1);
    border-color: var(--accent-gold);
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.3);
}

/* Listen */
.check-list {
    list-style: none;
    padding: 0;
    color: var(--text-muted);
}

.check-list li::before {
    content: "✓ ";
    color: var(--accent-gold);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
    color: #ddd;
    font-size: 0.95rem;
    transition: transform 0.2s ease;
}

.feature-list i,
.feature-list svg {
    color: var(--accent-gold);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 5px rgba(197, 160, 89, 0.2));
}

.feature-list li:hover {
    transform: translateX(5px);
    color: #fff;
}

.feature-list li:hover i,
.feature-list li:hover svg {
    filter: drop-shadow(0 0 8px rgba(197, 160, 89, 0.5));
}

/* Bot-Befehle */
.bot-commands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.command-category {
    margin-bottom: 20px;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 10px;
}

.category-header h3 {
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 2px;
    color: var(--accent-gold);
    margin: 0;
}

.category-header svg {
    width: 24px;
    height: 24px;
    color: var(--accent-gold);
}

.command-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-radius: 4px;
    transition: transform 0.2s ease, background 0.2s ease;
    cursor: default;
}

.command-card:hover {
    background: rgba(255, 255, 255, 0.07);
}

.cmd-info strong {
    display: block;
    font-family: 'Consolas', monospace;
    color: #fff;
    font-size: 0.95rem;
}

.cmd-info strong span {
    color: var(--accent-gold);
    font-weight: normal;
    opacity: 0.8;

}

.cmd-info span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Accordion */
.accordion {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.accordion-header {
    width: 100%;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    padding: 15px 10px;
    cursor: pointer;
    text-align: left;
    transition: background 0.3s;
}

.accordion-header:hover {
    background: rgba(255, 255, 255, 0.02);
}

.date-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 5px 12px;
    font-family: monospace;
    font-size: 0.8rem;
    margin-right: 20px;
    border-radius: 2px;
}

.summary {
    color: var(--text-muted);
    flex: 1;
    font-size: 0.9rem;
}

.arrow {
    color: var(--text-muted);
    width: 18px;
    transition: transform 0.3s;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: rgba(0, 0, 0, 0.1);
}

.accordion-inner {
    padding: 15px 15px 18px 120px;
    font-size: 0.85rem;
    color: #bbb;
    line-height: 1.65;
}

.accordion-inner p {
    margin: 0 0 12px 0;
}

.accordion-inner p:last-child,
.accordion-inner ul:last-child,
.accordion-inner ol:last-child {
    margin-bottom: 0;
}

.accordion-inner ul,
.accordion-inner ol {
    margin: 10px 0 14px 0;
    padding-left: 20px;
}

.accordion-inner li {
    margin-bottom: 6px;
}

.accordion-inner code {
    background-color: rgba(30, 31, 34, 0.8);
    color: var(--accent-gold);
    font-family: 'Consolas', 'Monaco', 'Andale Mono', 'Ubuntu Mono', monospace;
    font-size: 0.9em;
    padding: 2px 5px;
    border-radius: 4px;
    border: 1px solid rgba(197, 160, 89, 0.3);
    white-space: normal;
    word-break: break-word;
}

.accordion-item.active .accordion-content {
    max-height: 20000px;
}

.accordion-item.active .arrow {
    transform: rotate(180deg);
    color: var(--accent-gold);
}

/* Labor-Accordion */
.labor-accordion-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-bottom: 20px;
    padding: 20px;
    position: relative;
    transition: all 0.4s ease;
}

.accordion-preview {
    position: relative;
    max-height: 180px;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.read-more-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(
        to bottom, 
        transparent 0%, 
        rgba(15, 20, 25, 0.7) 50%,
        #0E1216 100%
    );
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 10px;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.labor-accordion-item.expanded .accordion-preview {
    max-height: 2000px;
}

.labor-accordion-item.expanded .read-more-overlay {
    opacity: 0;
    pointer-events: none;
}

.content-inner code {
    background-color: rgba(30, 31, 34, 0.8);
    color: var(--accent-gold);
    font-family: 'Consolas', 'Monaco', 'Andale Mono', 'Ubuntu Mono', monospace;
    font-size: 0.9em;
    padding: 2px 4px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-color: rgba(197, 160, 89, 0.3);
    white-space: pre-wrap;
}

/* Footer */
.main-footer {
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 100px;
    padding: 60px 20px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 150px 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.footer-logo img {
    width: 100%;
    filter: grayscale(1) opacity(0.5);
}

.footer-info h4 {
    color: var(--text-main);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.footer-info p,
.footer-disclaimer p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 5px 0;
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.2);
}

.command-category .bot-commands-grid {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.command-category.command-category-open .bot-commands-grid {
    max-height: 600px;
    opacity: 1;
    margin-top: 20px;
}

.command-category-toggle {
    width: 100%;
    background: transparent;
    border: none;
    padding: 0 0 14px 0;
    cursor: pointer;
    font-family: inherit;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.category-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.category-arrow {
    transition: transform 0.3s ease;
}

.command-category.command-category-open .category-arrow {
    transform: rotate(180deg);
}

/* Responsive */
@media (max-width: 900px) {
    .hero-layout {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 50px;
    }

    .hero-text {
        text-align: center;
    }

    .logo-plate {
        max-width: 250px;
        transform: none;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .footer-logo {
        margin: 0 auto;
    }
}
.labor-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
}

.labor-grid .labor-accordion-item {
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .labor-grid {
        grid-template-columns: 1fr;
    }
}
.about-img {
    float: left;            /* Bild nach links, Text nach rechts */
    width: 300px;           /* Feste Breite, damit es nicht zu groß ist */
    margin-right: 20px;     /* Abstand zum Text rechts */
    margin-bottom: 10px;    /* Abstand zum Text darunter */
}

/* Da die Effekte bereits auf .card-img liegen, 
   funktionieren sie automatisch auch hier. 
   Falls der Hover-Effekt auf der ganzen Box triggern soll: */

.about-box:hover .about-img {
    filter: saturate(1) brightness(1);
    border-color: var(--accent-gold);
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.3);
    transform: translateY(-2px);
}

.commands-summary {
    margin-bottom: 32px;
    padding: 28px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    background: rgba(255,255,255,0.03);
}

.commands-summary .eyebrow {
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.78rem;
    color: var(--accent);
    font-weight: 700;
}

.commands-summary h2 {
    margin: 0 0 14px;
}

.commands-summary p {
    color: var(--text-muted);
    line-height: 1.7;
}

.commands-count-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin: 24px 0;
}

.count-card {
    padding: 18px 14px;
    border-radius: 14px;
    background: rgba(0,0,0,0.22);
    border: 1px solid rgba(255,255,255,0.07);
    text-align: center;
}

.count-card strong {
    display: block;
    font-size: 1.7rem;
    line-height: 1;
    color: var(--accent);
    margin-bottom: 8px;
}

.count-card span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.commands-total {
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .commands-count-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .commands-count-grid {
        grid-template-columns: 1fr;
    }
}
/* ========================================
   SCROLL TO TOP BUTTON
========================================
*/
#toTopBtn {
    display: none;               /* Startet unsichtbar */
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;                 /* Liegt über fast allem */
    border: 1px solid var(--accent-gold);
    background-color: var(--discord-dark);
    color: var(--accent-gold);
    cursor: pointer;
    padding: 12px;
    border-radius: 4px;          /* Passt zum Kachel-Design */
    transition: all 0.3s ease;
}

#toTopBtn:hover {
    background-color: var(--accent-gold);
    color: #000;
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.4);
    transform: translateY(-3px); /* Kleiner Hopser nach oben */
}

#toTopBtn svg {
    width: 20px;
    height: 20px;
    display: block;              /* Verhindert komische Abstände */
}