html {
    font-family: sans-serif;
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

@media (max-width: 992px) {
    html {
        font-size: 150%;
        -webkit-text-size-adjust: 150%;
        -ms-text-size-adjust: 150%;
    }
}

body {
    margin: 0;
    font-family: Helvetica, Arial, sans-serif;
    line-height: 1.42857143;
    /* Neutraler Darkmode: Dunkelgrau statt Tiefschwarz */
    color: #f5f5f5;
    background-color: #121212;
}

h1 {
    margin: .67em 0;
    font-family: inherit;
    font-weight: 500;
    line-height: 1.2;
    color: #ffffff;
    /* Neutrale Unterlinie (Dunkelgrau) statt Rot */
    border-bottom: 1px solid #444444;
    padding-bottom: 10px;
}

h2 {
    margin: .67em 0;
    font-family: inherit;
    font-weight: 500;
    line-height: 1.1;
    /* Neutrales Weiß/Hellgrau für Unterüberschriften */
    color: #e0e0e0;
}

/* Logo Styling */
.header-logo {
    display: block;
    margin: 20px auto 10px auto;
    max-width: 100px;
    height: auto;
}

hr {
    height: 0;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #333;
}

/* Links: Ein gut lesbares, neutrales Blau (Material Design Blue 200) */
a,
a.btn-default {
    font-weight: bold;
    color: #90CAF9;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

a:hover,
a.btn-default:hover {
    color: #ffffff;
}

.filetime {
    font-weight: normal;
    color: #aaaaaa;
    font-size: 75%;
    text-decoration: none !important;
}

.center {
    text-align: center;
}

.right {
    text-align: right;
}

.inaktiv {
    color: #777777;
}

.area {
    margin: 0px;
    padding: 10px 20px;
    width: calc(100% - 40px);
}

/* Wettkampf Header - Neutrales Dunkelgrau */
.wk {
    font-weight: bold;
    line-height: 1.42857143;
    background-color: #333333;
    color: #ffffff;
    padding: 10px;
    border-radius: 4px;
    border-left: 4px solid #555; /* Dezentere Markierung */
}

/* Panels neutralisieren */
.panel_results, .panel_clubs {
    border: 1px solid #333333; /* Dezenter Rahmen */
    margin-bottom: 20px;
    background-color: #1e1e1e;
    padding: 15px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.btn {
    display: inline-block;
    padding: 8px 16px;
    margin-bottom: 0;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: all 0.2s;
}

/* Button Styling: Neutrales Grau */
.btn-default {
    color: #ffffff !important;
    background-color: #333333;
    border-color: #444444;
}

.btn-default a {
    color: #ffffff !important;
}

.btn-default:hover,
.btn-default:focus {
    background-color: #444444; /* Etwas heller beim Hover */
    border-color: #666666;
    color: #ffffff !important;
}

.btn-default:hover a {
    color: #ffffff !important;
}

.container {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 768px) {
    .container { width: 750px; }
}
@media (min-width: 992px) {
    .container { width: 970px; }
}
@media (min-width: 1200px) {
    .container { width: 1170px; }
}