@font-face {
    font-family: 'League Spartan';
    src: url('./fonts/LeagueSpartan.ttf') format('truetype');
    font-display: swap;
}

:root {
    --bg-color: #0d0a05;
    --accent-color: #ff9900;
    --text-color: #ffffff;
    --border-color: #3d2e14;
}

html {
    /* Erzwingt saubere Kantenglättung */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'League Spartan', sans-serif;
    margin: 0;
    padding: 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

#content-loader {
    width: 100%;
    max-width: 850px; /* Maximale Breite für die Inhalte ohne Box */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    height: auto;
    max-height: 150px;
    margin-bottom: 10px;
}

h1 {
    color: var(--accent-color);
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    margin: 10px 0 30px 0;
    text-align: center;
}

/* Sektions-Trenner ohne Box-Rand */
.section-divider {
    font-weight: bold;
    display: flex;
    align-items: center;
    width: 100%;
    margin: 10px 0 20px;
    color: var(--accent-color);
    font-size: 0.8rem;
    
    letter-spacing: 3px;
    opacity: 0.8;
}

.section-divider::before, .section-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}
.section-divider:not(:empty)::before { margin-right: 20px; }
.section-divider:not(:empty)::after { margin-left: 20px; }

/* Grid-Anpassung für den freien Look */
.button-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    width: 100%;
    margin-bottom: 40px;
}

.link-button {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: rgba(26, 20, 10, 0.8); /* Leicht transparenter dunkler Hintergrund */
    border: 1px solid var(--accent-color);
    border-radius: 12px;
    padding: 15px 25px;
    text-decoration: none;
    color: var(--accent-color);
    transition: all 0.2s ease-in-out;
    min-height: 90px;
    box-sizing: border-box;
}

.link-button:hover {
    background: rgba(255, 153, 0, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 153, 0, 0.2);
}

.icon-wrapper {
    position: absolute;
    left: 25px;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.link-button img {
    object-fit: contain;
    max-width: 100%;    /* Das Icon füllt die 60px Box aus */
    max-height: 100%;
    display: block;
    box-sizing: border-box;
}

.link-text {
    font-weight: bold;
    font-size: 1.3rem;
    text-align: center;
    width: 100%;
    padding-left: 60px;
    padding-right: 0px;
    box-sizing: border-box;
    
}

/* Accordion ohne Box-Einschränkung */
/* Accordion Container im rahmenlosen Design */
.accordion-item {
    background: rgba(26, 20, 10, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 20px;
    width: 100%; /* Nutzt die volle Breite des #content-loader (max 850px) */
    box-sizing: border-box;
    overflow: hidden;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.accordion-item.active {
    border-color: var(--accent-color);
    background: rgba(35, 28, 15, 0.9);
}

.accordion-header {
    padding: 20px 25px;
    cursor: pointer;
    font-weight: bold;
    color: var(--accent-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.accordion-header .arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease-in-out;
}

.accordion-item.active .arrow {
    transform: rotate(90deg);
}

/* Die Gleit-Animation */
.accordion-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease-in-out;
}

.accordion-item.active .accordion-body {
    grid-template-rows: 1fr;
}

.accordion-content {
    min-height: 0;
    overflow: hidden;
    color: #bbb;
    font-size: 0.95rem;
    padding: 0 25px;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.accordion-item.active .accordion-content {
    padding-bottom: 25px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    opacity: 1;
}

/* Sub-Elemente Styling */
.sub-header {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin: 20px 0 10px 0;
    text-transform: uppercase;
}

.sub-text {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 15px;
}

footer {
    padding: 20px 40px;
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between; 
    align-items: center;
    font-size: 0.75rem;
    font-weight: bold;
    color: #666;
    letter-spacing: 2px;
}

.footer-empty {
    flex: 1; 
}

.footer-middle-left {
    flex: 1;
    text-align: left;
    justify-content: flex-start;

}

.footer-middle-right {
    flex: 1;
    text-align: right;
    justify-content: flex-end;
}

.footer-middle-right a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-middle-right a:hover {
    color: var(--accent-color);
}