/* ==========================================================================
   1. BASE & TYPOGRAPHY
   ========================================================================== */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
*:after, *:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    font-size: 10px;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}
html, body {
    margin: 0;
    width: 100%;
    height: 100%;
    font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
    background-color: #fff;
}
a {
    color: #ffffff;
    -webkit-transition: all .35s;
    -moz-transition: all .35s;
    transition: all .35s;
    text-decoration: none;
    background-color: transparent;
}
a:hover, a:focus {
    color: #eeeeee;
    text-decoration: underline;
}
p {
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 1.5;
}
.lead {
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.4;
}
.text-muted {
    color: #999;
}
h1, h2 {
    font-family: inherit;
    font-weight: 500;
    line-height: 1.1;
    color: inherit;
    margin-top: 20px;
    margin-bottom: 10px;
}
b, strong {
    font-weight: 700;
}

.text-muted b {
    color: #999;
}

/* ==========================================================================
   2. GRID SYSTEM (Nur verwendete Container & Spalten)
   ========================================================================== */
.container {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
.row {
    margin-right: -15px;
    margin-left: -15px;
}
.row:before, .row:after, .container:before, .container:after {
    display: table;
    content: " ";
}
.row:after, .container:after {
    clear: both;
}
.col-sm-6, .col-lg-8, .col-lg-offset-2 {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
    width: 100%;
    float: left;
}
@media (min-width: 768px) {
    .container { width: 750px; }
    .col-sm-6 { float: left; width: 50%; }
    .lead { font-size: 21px; }
}
@media (min-width: 992px) {
    .container { width: 970px; }
}
@media (min-width: 1200px) {
    .container { width: 1170px; }
    .col-lg-8 { float: left; width: 66.66666667%; }
    .col-lg-offset-2 { margin-left: 16.66666667%; }
}

/* ==========================================================================
   3. IMAGES
   ========================================================================== */
.img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
}
.img-circle {
    border-radius: 50px;
    transition: all ease 250ms;
}
.img-circle:hover {
    transform: scale(1.08);
    border-radius: 5px;
    transition: all 250ms ease;
}
.center-block {
    display: block;
    margin-right: auto;
    margin-left: auto;
}
@media (max-width: 767px) {
    .img-circle:hover { transform: scale(1); }
}

/* ==========================================================================
   4. NAVBAR
   ========================================================================== */
.navbar {
    position: relative;
    min-height: 50px;
    margin-bottom: 20px;
    border: 1px solid transparent;
}
.navbar-fixed-top {
    top: 0;
    border-width: 0 0 1px;
    position: fixed;
    right: 0;
    left: 0;
    z-index: 1030;
}
.navbar-header {
    width: 100%; /* Zwingt den Header über die volle Breite */
}
.navbar-header:after {
    content: "";
    display: table;
    clear: both;
}
.navbar-brand {
    float: left;
    height: 50px;
    padding: 15px 15px;
    font-size: 18px;
    line-height: 20px;
    font-weight: 1000;
}
.navbar-brand:focus, .navbar-brand:hover {
    text-decoration: none;
}
.navbar-toggle {
    position: relative;
    float: right;
    padding: 9px 10px;
    margin-top: 8px;
    margin-right: 15px;
    margin-bottom: 8px;
    background-color: transparent;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}
.navbar-toggle:focus { outline: 0; }
.navbar-toggle .icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 1px;
    background-color: #888;
}
.navbar-toggle .icon-bar + .icon-bar { margin-top: 4px; }
.navbar-collapse {
    padding-right: 15px;
    padding-left: 15px;
    overflow-x: visible;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid transparent;clear: both; /* Zwingt das Menü in eine neue Zeile UNTER den Header */
    width: 100%; /* Sorgt für die volle Breite */
    background-color: #fff; /* Verhindert Transparenz-Bugs beim Überlappen von Content */
}
.navbar-collapse.in { overflow-y: auto; }
.collapse { display: none; }
.collapse.in { display: block; }
.nav {
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}
.nav > li {
    position: relative;
    display: block;
}
.nav > li > a {
    position: relative;
    display: block;
    padding: 10px 15px;
}
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* Custom Navbar Colors */
.navbar-default {
    border-color: rgba(34,34,34,.5);
    background-color: #fff;
    -webkit-transition: all .35s;
    transition: all .35s;
}
.navbar-default .navbar-brand { color:rgb(34,34,34); }
.navbar-default .navbar-brand:hover, .navbar-default .navbar-brand:focus { color: #eb3812; }
.navbar-default .nav > li > a, .navbar-default .nav > li > a:focus { color: rgb(34,34,34); }
.navbar-default .nav > li > a:hover, .navbar-default .nav > li > a:focus:hover { color: rgb(34,34,34); }

/* Navbar Dropdown */
.dropdown { position: relative; }
.dropdown-toggle:focus { outline: 0; }
.caret {
    display: inline-block; width: 0; height: 0; margin-left: 2px; vertical-align: middle;
    border-top: 4px dashed; border-right: 4px solid transparent; border-left: 4px solid transparent;
}
.dropdown-menu {
    position: absolute; top: 100%; left: 0; z-index: 1000; display: none; float: left;
    min-width: 160px; padding: 5px 0; margin: 2px 0 0; font-size: 14px; text-align: left;
    list-style: none; background-color: #fff; border: 1px solid rgba(0,0,0,.15);
    border-radius: 4px; box-shadow: 0 6px 12px rgba(0,0,0,.175);
}
.dropdown-menu > li > a {
    display: block; padding: 3px 20px; clear: both; font-weight: 400; line-height: 1.42857143; color: #333; white-space: nowrap;
}
.dropdown-menu > li > a:focus, .dropdown-menu > li > a:hover {
    color: #262626; text-decoration: none; background-color: #eee;
}
.open > .dropdown-menu { display: block; }
.open > a { outline: 0; }

@media (min-width: 768px) {
    .navbar { border-radius: 4px; }
    .navbar-header { float: left; width: auto; }
    .navbar-collapse { width: auto; border-top: 0; box-shadow: none; clear: none; background-color: transparent; }
    .navbar-collapse.collapse { display: block !important; height: auto !important; padding-bottom: 0; overflow: visible !important; }
    .navbar-toggle { display: none; }
    .navbar-nav { float: left; margin: 0; }
    .navbar-nav > li { float: left; }
    .navbar-nav > li > a { padding-top: 15px; padding-bottom: 15px; }
    .navbar-right { float: right !important; margin-right: -15px; }

    /* Navbar Custom Desktop */
    .navbar-default {
        border-color: rgba(255, 255, 255, 0.3);
        background-color: #b6b6b670;
        font-weight: 500;
    }
    .navbar-default .navbar-brand {
        color: rgba(255,255,255,.7);
        letter-spacing: 0.5em;
    }
    .navbar-default .navbar-brand:hover, .navbar-default .navbar-brand:focus { color: #ffffff; }
    .navbar-default .nav > li > a { color: rgba(71, 71, 71, 0.8); }
    .navbar-default .nav > li > a:hover { color: #fff; }
    
    /* Affix (Scroll State) */
    .navbar-default.affix {
        border-color: #fff;
        background-color: #fff;
        box-shadow: 0px 7px 20px 0px rgba(0,0,0,0.1);
    }
    .navbar-default.affix .navbar-brand { letter-spacing: 0; color: rgb(34,34,34); }
    .navbar-default.affix .navbar-brand:hover { color: #eb3812; }
    .navbar-default.affix .nav > li > a { color: rgb(34,34,34); }
    .navbar-default.affix .nav > li > a:hover { color: rgb(34,34,34); }
}

.dropdown-divider {
  height: 0;
  margin: .5rem 0;
  overflow: hidden;
  border-top: 1px solid #e9ecef;
}

/* ==========================================================================
   5. BUTTONS
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 10px;
    text-transform: uppercase;
}
.btn-lg {
    padding: 15px 30px;
    font-size: 18px;
    line-height: 1.3333333;
    margin-bottom: 10px;
}
.btn:hover, .btn:focus {
    color: #333;
    text-decoration: none;
}
.btn-default {
    border-color: #fff;
    color: #222;
    background-color: #fff;
    -webkit-transition: all .35s;
    transition: all .35s;
}
.btn-default:hover, .btn-default:focus, .btn-default:active {
    border-color: rgb(255, 255, 255);
    border-width: 2px;
    color: #ffffff;
    background-color: rgb(33, 33, 33);
    outline: 0;
}
@media (max-width: 425px) {
    .btn { border-radius: 5px; }
    .btn-lg { padding: 5px 8px; font-size: 12px; line-height: 1; }
}

/* --- Disabled Button States --- */
.btn.disabled,
.btn[disabled],
fieldset[disabled] .btn {
    cursor: not-allowed;
    opacity: 0.65;
    box-shadow: none;
    pointer-events: none; /* Verhindert zuverlässig weitere Klicks */
}

/* Disabled State für den Default Button (Weiß/Grau) */
.btn-default.disabled,
.btn-default[disabled],
fieldset[disabled] .btn-default {
    border-color: #fff;
    background-color: #fff;
    color: #222; 
}

/* Disabled State für den Primary Button (Grün) */
.btn-primary.disabled,
.btn-primary[disabled],
fieldset[disabled] .btn-primary {
    border-color: #9acd32;
    background-color: #9acd32;
    color: #fff;
}

/* ==========================================================================
   6. SECTIONS & CUSTOM LAYOUT
   ========================================================================== */
header {
    position: relative;
    width: 100%;
    min-height: auto;
    text-align: center;
    color: #ffffff;
    background-image: url('https://luca.rosenloecher.org/wbc/img/header.webp');
    background-position: center;
    background-size: cover;
}
header .header-content {
    position: relative;
    width: 100%;
    padding: 100px 15px 70px;
    text-align: center;
}
header .header-content-inner h1 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 50px;
    font-weight: 300;
    font-family: serif;
}
header .header-content-inner p {
    width: auto;
    margin-bottom: 50px;
    font-size: 16px;
    font-weight: 400;
    color: #dddddd;
    text-shadow: 0px 0px 1px #000000;
    background: linear-gradient(90deg, #00000010 0%, #00000090 30%, #00000090 70%, #00000010 100%);
    border-radius: 7px;
    box-shadow: 0px 0px 5px #00000010;
}

.intro {
    background-color: rgb(34, 34, 34);
    color: rgba(240, 230, 220, .9);
    font-weight: 500;
    padding: 70px 0;
    text-align: center;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.3)
}
.content {
    background-color: rgb(34, 34, 34);
    color: rgba(240, 230, 220, .9);
    border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
    padding: 100px 0;
    z-index: -100;
}
.section-heading, .section-header {
    margin-top: 0;
    margin-bottom: 20px;
}

footer {
    width: 100%;
    font-size: 14px;
    text-align: center;
    background-color: rgb(34, 34, 34);
    color: rgba(240, 230, 220, .5);
}

@media (min-width: 768px) {
    header { min-height: 50%; }
    header .header-content {
        position: absolute;
        top: 50%;
        padding: 0 50px;
        transform: translateY(-50%);
    }
    header .header-content-inner { margin-right: auto; margin-left: auto; max-width: 1000px; }
    header .header-content-inner h1 { font-size: 100px; }
    header .header-content-inner p { max-width: 80%; font-size: 18px; }
}
@media (max-width: 1080px) {
    .content { padding: 30px 0; }
}
@media (max-width: 320px) {
    header .header-content-inner h1 { font-size: 25px; }
}

/* ==========================================================================
   7. CUSTOM SCROLLBAR
   ========================================================================== */
::-webkit-scrollbar {
    width: 0px;
    height: 10px;
}
::-webkit-scrollbar-thumb:window-inactive {
    background: linear-gradient(0deg, #3b6fc7 14%, #6FA7BF 64%);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover:window-inactive {
    background: linear-gradient(0deg, #6FA7BF 36%, #3b6fc7 86%);
}
::-webkit-scrollbar-track:window-inactive {
    background: transparent;
    box-shadow: inset -30px -30px 0px;
}

/* ==========================================================================
   8. MISC
   ========================================================================== */
::selection { text-shadow: none; background: #fff; color: #222; }
::-moz-selection { text-shadow: none; background: #fff; color: #222; }
img::selection { background: transparent; }
img::-moz-selection { background: transparent; }

/* ==========================================================================
   9. JAVASCRIPT STATES (TOGGLE & DROPDOWN)
   ========================================================================== */
/* Mobile Navbar Toggle Animation & Sichtbarkeit */
.navbar-collapse {
    display: none;
    -webkit-transition: height 0.3s ease;
    transition: height 0.3s ease;
}
.navbar-collapse.in {
    display: block !important;
}

/* Dropdown Sichtbarkeit */
.dropdown-menu {
    display: none;
    opacity: 0;
    -webkit-transition: opacity 0.2s ease;
    transition: opacity 0.2s ease;
}
.dropdown.open > .dropdown-menu {
    display: block;
    opacity: 1;
}

/* Caret (Pfeil) Animation im Dropdown */
.dropdown-toggle .caret {
    transition: transform 0.3s ease;
}
.dropdown.open .dropdown-toggle .caret {
    transform: rotate(180deg);
}

/* Verhindern, dass Dropdowns auf großen Screens versehentlich zu bleiben */
@media (min-width: 768px) {
    .navbar-collapse {
        display: block !important;
        height: auto !important;
    }
}
/* ==========================================================================
   10. MOBILE OPTIMIZATIONS (DROPDOWN FIXES)
   ========================================================================== */
@media (max-width: 767px) {
    /* Dropdowns schieben den Content nach unten, anstatt darüber zu schweben */
    .dropdown-menu {
        position: static !important;
        float: none !important;
        width: 100%;
        box-shadow: none !important;
        border: none !important;
        background-color: rgba(0, 0, 0, 0.03) !important; /* Leichte farbliche Abhebung */
        padding-left: 20px !important; /* Einrückung zur besseren Übersicht */
        margin-top: 0;
    }
    
    /* Zwingt das Mobile-Menü dazu, sich sauber an den Header anzuheften */
    .navbar-collapse {
        border-top: 1px solid #eee;
    }
}