:root {
    --bg-color: #090909;
    --bg-color-brighter: #0f0f0f;
    --header-gradient: linear-gradient(to bottom, #000, #0f0f0f);
    --box-gradient: linear-gradient(to bottom, #000000, #0a0a0a);
    --linear-gradient: linear-gradient(135deg, #000000 0%, #0f0f0f 33%, #000000 66%, #0f0f0f 100%);
    --very-dark-grey: #0f0f0f;
    --text-color: #e0e0e0;
    --text-color-darker: #777;

    --accent-color: #2d758e;
    --accent-color-darker: #1e404a;
    --accent-color2: #f8731d;
    --accent-color2-lighter: #e59529;

    --link-color: #9C928E;
    --link-hover-color: #c3b6b1;

    --border: #333;

    --font-family: Roboto, sans-serif;
    --font-size-base: 16px;
    --title-font: 'soulburn', Georgia, serif;
    --line-height: 1.6;
    --font-size-sm: 0.8rem;

    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 32px;

    --border-radius: 8px;
    --box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

@font-face {
    font-family: 'soulburn';
    src: url('../fonts/soulburn2.ttf') format('truetype');
}


/* === CSS RESET === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* === BASE ELEMENTS === */
html, body {

    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-family), serif;
    font-size: var(--font-size-base);
    line-height: var(--line-height);
}

body {
    /*background-image: url('../img/bg-page.png');*/
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--link-hover-color);
}

header {
    margin-bottom: 20px;
    font-family: var(--font-family), serif;
}

header .bg {
    background: url('../img/header-sb.jpg') no-repeat center;
    background-size: cover;
}

header .innerBg {
    /* maybe a dark transparency pic to overlay the graphical image */
}

header .head {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

header .head h1, header .head h2 {
    color: #000;
    text-shadow: 0 0 30px var(--accent-color);
    font-family: var(--title-font), serif;
}

header .head h1 {
    padding: 5px 20px;
    font-size: 5.5rem;
    line-height: 5rem;
}

header .head.var05 h1 {
    font-size: 4rem;
}

header .head h2 {
    /*color: var(--accent-color2);*/
    /*opacity: 100%;*/
    font-size: 1.8rem;
}

.catImage {
    padding: 3vw;
    border: 1px solid var(--very-dark-grey);
    box-shadow: 5px 5px 15px #000;
    margin-bottom: 30px;
    max-width: 100%;
    width: 100%;
    background: var(--linear-gradient);
}

.catImage h3 {
    font-family: var(--title-font), serif;
    font-size: 4vw;
    padding: 0 20px;
    margin: 0;
    line-height: normal;
    color: #444;
    /*text-shadow: 2px 2px 2px #333;*/
    text-align: center;
}

.catImage img {
    max-width: 100%;
    width:100%;
    margin-bottom: 10px;
}


.wrapper01 {
    background-image: var(--header-gradient);
    box-shadow: var(--box-shadow);
}

.innerWrapper {
    max-width: 1120px;
    margin: auto;
}

/* == NAV == */
header nav.navbar {
    text-align: center;
    padding: 10px 0;
    display: flex;
}

header nav.navbar ul {
}

header nav.navbar li:before {
    content: "";
}


/* == BREADCRUMB == */
div.breadcrumb {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    padding-inline-start: 0;
    font-weight: bold;
}

div.breadcrumb ul {
    display: flex;
}

div.breadcrumb li {
}

div.breadcrumb li::before {
}

div.breadcrumb li::after {
    padding-right: 10px;
}

.breadcrumb a {
    color: #aaa;
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease;
    font-size: 1.1rem;
}

.breadcrumb a:hover {
    color: #fff;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
}

.breadcrumb li::after {
    content: "›";
    padding-left: 0.5rem;
    color: #888;
}

.breadcrumb li:last-child::after {
    content: "";
}

.box01 {
    margin-bottom: 30px;
}

.box01 > .title {
    color: var(--accent-color);
    font-family: var(--title-font), serif;
}

.box01 .title h3 {
    font-size: 1.5rem;

}

.box01.rules > .title h3 {
    font-size: 1.5rem;
    padding: 10px 0;
    color: var(--text-color-darker);

}

.box01 .txt {
}

.box01.var04 {
    background: var(--box-gradient);
    box-shadow: 5px 5px 15px #000;
    font-size: 0.9rem;
    color: #999;
}

.box01.var04 > .txt {
    padding: 25px;
}

.box01 .txt p {
    padding-bottom: 15px;
}


.box01.rules .txt {
    font-size: 1.1rem;
}

.box01 .txt::after {
    content: "";
    display: table;
    clear: both;
}

.box01.var2 {
    box-shadow: var(--box-shadow);
    border: 1px solid #222;
    background: #111;
}

.box01.var2 > .title {
    background-image: var(--header-gradient);
    padding: 15px;
    box-shadow: var(--box-shadow);
}

.box01 > .title h3 {
}

.box01 > .title h4 {
    color: var(--text-color);
}

.box01.var3 > .title h2 {
    color: var(--accent-color2);
    padding:30px;
    font-size: 2.2rem;
    text-shadow: 0 0 10px rgba(255, 172, 59, 0.5);
}

.box01.var3 > .title h2 a {
    color: var(--accent-color2);
}

.box01.var3 > .title h2 a:hover {
    text-shadow: 0 0 40px var(--accent-color);
}

.box01.var2 .txt {
    padding: 20px;
    color: var(--text-color);
}


/* if we need some grid */
.con {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.con_33 {
    flex: 0 0 calc((100% - 4rem) / 3);
    box-sizing: border-box;
    min-width: 0;
}

.con_66 {
    flex: 3;
}

.box01 .txt .image img {
    max-width: 100%;
}

/* the little videocards */
.card {
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 0 20px var(--accent-color);
    transform: scale(1.05);
}


.card .image img {
    width: 100%;
    height: auto;
    display: block;
}

.card .info {
    text-align: center;
    background: #000;
    padding: 10px;

}

.card .info .title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: block;
    font-size: 1.1rem;
}

.card .info .date {
    font-size: var(--font-size-sm);
}

.card a .info .date {
    color: var(--text-color-darker);
}


/* Youtube Video wrapper */
.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9-Verhältnis (9/16 = 0.5625 = 56.25%) */
    margin-bottom: 1rem; /* optional Abstand nach unten */
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* END Youtube Video wrapper */


.yt-button {
    display: inline-flex;
    align-items: center;
    background-color: var(--accent-color-darker); /* YouTube-Blau oder dein Farbschema */
    color: white;
    font-weight: bold;
    text-decoration: none;
    padding: 0.4em 0.9em;
    margin-right: 0.5em;
    border-radius: 5px;
    font-size: 1rem;
    transition: background-color 0.2s ease;
}

.yt-button span {
    padding-left: 5px;
}

.yt-button:hover {
    background-color: var(--accent-color);
    text-decoration: none;
    color: #fff;
}


.table-responsive {
    overflow-x: auto;
}

.table-responsive {
    overflow-x: auto;
}

.table-responsive::-webkit-scrollbar {
    height: 8px;
}

.table-responsive::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.table-responsive::-webkit-scrollbar-thumb {
    background-color: #444;
    border-radius: 4px;
    border: 1px solid #111;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background-color: #666;
}


#videos {
    width: 100%;
    border-collapse: collapse;
    color: #eee;
    background-color: #1b1b1b;
    font-family: var(--font-family, 'Segoe UI', sans-serif), serif;
    border: 1px solid #2b2b2b;
}

#videos thead {
    background: var(--header-gradient);
    text-transform: uppercase;
    letter-spacing: 1px;
}

#videos th,
#videos td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid #272727;
}

#videos tbody tr:nth-child(even) {
    background-color: #0a0a0a;
}

#videos tbody tr:nth-child(odd) {
    background-color: #101010;
}

#videos tbody tr:hover {
    background-color: var(--accent-color-darker);
}

#videos a {
    color: var(--accent-color2);
    text-decoration: none;
    transition: color 0.2s ease;
}

#videos a:hover {
    color: var(--accent-color2-lighter);
    text-shadow: 0 0 5px var(--accent-color2-lighter);
}


/* NAV */
.navbar > ul > li {
    display: block;
    float: left;
    position: relative;
}

.navbar > ul > li ul {
    position: relative;
    top: 50px;
    left: 0px;
    display: none;
}

.navbar.open > ul > li ul {
    display: block;
}

.navbar > ul > li > ul li {
    display: none;
    float: left;
    position: relative;
}

.navbar > ul > li:hover ul li {
    display: block;
    float: left;
    position: relative;
}

.navbar > ul > li > ul li:hover {
    display: block;
}


main {
    min-height: 500px;
}

footer {
    font-size: 0.9em;
    color: var(--text-color-darker);
}

footer .bg {
    background: var(--header-gradient);
}

footer .innerBg {
    /* maybe a dark transparency pic to overlay the graphical image */
}


footer .innerWrapper {
    text-align: center;
    padding: 10px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
    color: #ccc;
}

footer .innerWrapper span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Trennstrich nur zwischen Spans */
footer .innerWrapper span:not(:last-child)::after {
    content: "–";
    margin-left: 0;
    color: #666;
}

.textCenter {
    text-align: center;
}


ul {
    flex: 2;
    list-style: none;
    padding: 0;
    border-radius: 6px;
}

ul li {
    padding: 0.5rem 0 0.5rem 2rem;
    position: relative;
    color: #ccc;
    font-weight: 400;
}

ul li:last-child {
    border-bottom: none;
}

ul > li::before {
    content: "⚔️";
    position: absolute;
    left: 0;
    color: #f0a500;
}

ul > li > ul > li {
    padding: 0.5rem 0 0.5rem 1rem;
    font-size: 0.9rem;
}

ul > li > ul > li::before {
    content: "➤";
    position: absolute;
    left: 0;
    color: #f0a500;
}


ol {
    counter-reset: section;
    list-style: none;
}

ol > li {
    counter-increment: section;
    position: relative;
    padding-left: 1.3rem;
}

ol > li::before {
    content: counter(section) ".";
    position: absolute;
    left: 0;
    color: #f0a500;
    font-weight: bold;
}

blockquote {
    position: relative;
    background: #151515;
    border-left: 4px solid #f0a500;
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #bbb;
    box-shadow: 5px 5px 0.5rem #00000055;
    font-family: "Crimson Text", Georgia, serif;
}

blockquote::before {
    content: "❝";
    font-size: 3rem;
    color: #f0a500;
    position: absolute;
    top: -1.2rem;
    left: 0.6rem;
    font-family: serif;
    line-height: 1;
}


hr {
    border: 0;
    height: 1px;
    background-color: #444;
    box-shadow: 0 0 4px #000;
    margin: 2rem 0;
}


@media only screen and (max-width: 768px) {


    .con > div {
        flex: 0 0 100%;
    }

    footer .innerWrapper {
        flex-direction: column;
        gap: 0.3rem;
    }

    footer .innerWrapper span:not(:last-child)::after {
        content: "";
        margin: 0;
    }

    .innerWrapper {
        margin: 0 20px;
    }

    div.breadcrumb ul, div.breadcrumb ul li {
        display: block;
    }

    div.breadcrumb ul li:after {
        content: "";
    }


    header .head h1 {
        font-size: 4rem;
        line-height: 4.5rem;
    }

}






