/* ==========================================================================
   RESET & BASICS
   ========================================================================== */
html {
    position: relative;
    min-height: 100%;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Calibri, Carlito, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    padding-bottom: 5rem;
    height: 100%;
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale;
}

h1, .h2 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 300; /* Hier auf 300 geändert */
    line-height: 1.2;
}

h1 { font-size: 2.5rem; }
.h2 { font-size: 2rem; }
p { margin-top: 0; margin-bottom: 1rem; }
b, strong, label { font-weight: bold; }

hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

a {
    color: #b91e23;
    text-decoration: none;
    background-color: transparent;
}

a:hover {
    color: #771317;
    text-decoration: underline;
}

/* ==========================================================================
   GRID & LAYOUT
   ========================================================================== */
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col, .col-6, .col-12, .col-sm-12, .col-md-7, .col-md-8, .col-lg-4, .col-lg-7 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.col { flex-basis: 0; flex-grow: 1; max-width: 100%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

@media (min-width: 576px) {
    .container { max-width: 540px; }
    .col-sm-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 768px) {
    .container { max-width: 720px; }
    .col-md-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
    .col-md-8 { flex: 0 0 90%; max-width: 90%; }
}

@media (min-width: 992px) {
    .container { max-width: 960px; }
    .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .col-lg-7 { flex: 0 0 70%; max-width: 70%; }
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.my-5 { margin-top: 3rem !important; margin-bottom: 3rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }

@media (min-width: 576px) {
    .mb-sm-0 { margin-bottom: 0 !important; }
}

.d-block { display: block !important; }
.d-none { display: none !important; }
.text-center { text-align: center !important; }
.img-fluid { max-width: 100%; height: auto; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* ==========================================================================
   COMPONENTS
   ========================================================================== */
/* Card */
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 0 solid rgba(0, 0, 0, 0.125);
    border-radius: 0;
}
.card-body {
    flex: 1 1 auto;
    padding: 2rem;
}
.card-title {
    margin-bottom: 2rem;
}

/* Alerts */
.alert {
    position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 0 solid transparent;
    border-radius: 0;
}
.alert-danger {
    color: #721c24;
    background-color: #f0a6ad;
    border-color: #f5c6cb;
}

/* Forms */
.form-group {
    margin-bottom: 1rem;
}
.form-control {
    font-family: inherit;
    font-weight: inherit;
    display: block;
    width: 100%;
    height: calc(2.25rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;

}
.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #e86f73;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(185, 30, 35, 0.25);
}
.input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}
.input-group > .form-control {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    margin-bottom: 0;
}
.input-group > .btn {
    position: relative;
    margin-left: -1px;
}

/* Buttons */
.btn {
    font-family: inherit;
    display: inline-block;
    font-weight: 300;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0;
    transition: color 0.15s, background-color 0.15s, border-color 0.15s, box-shadow 0.15s;
    cursor: pointer;
}
.btn:hover, .btn:focus { text-decoration: none; }
.btn:focus { outline: 0; box-shadow: 0 0 0 0.2rem rgba(185, 30, 35, 0.25); }
.btn-block { display: block; width: 100%; }

.btn-primary { color: #fff; background-color: #b91e23; border-color: #b91e23; }
.btn-primary:hover, .btn-primary:focus { color: #fff; background-color: #98191d; border-color: #8d171b; }

.btn-secondary { color: #fff; background-color: #868e96; border-color: #868e96; }
.btn-secondary:hover, .btn-secondary:focus { color: #fff; background-color: #727b84; border-color: #6c757d; }

.btn-light { color: #212529; background-color: #ced4da; border-color: #ced4da; }
.btn-light:hover, .btn-light:focus { color: #212529; background-color: #b8c1ca; border-color: #b1bbc4; }

.btn-link { font-weight: 300; color: #b91e23; background-color: transparent; }
.btn-link:hover, .btn-link:focus { color: #771317; text-decoration: underline; }

/* Collapse (Bootstrap Polyfill) */
.collapse { display: none; }
.collapse.show { display: block; }

/* ==========================================================================
   CUSTOM / PAGE-SPECIFIC
   ========================================================================== */
#footer-area {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background-color: #f5f5f5;
}

iframe {
    padding: 1em;
    min-height: 12.5em;
    max-width: 100%;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.bku-area button img {
    display: block;
    margin-top: 0.4em;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0.4em;
}

/* ==========================================================================
   ICONS (FontAwesome Replacements)
   ========================================================================== */
.fa {
    display: inline-block;
    font: normal normal normal 14px/1 sans-serif;
    width: 1.125em;
    height: 1.125em;
    vertical-align: -0.125em;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.fa-lg {
    width: 1.333em;
    height: 1.333em;
    vertical-align: -0.225em;
}
.fa-eye {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23212529" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M2 12c0 0 4-8 10-8s10 8 10 8-4 8-10 8-10-8-10-8Z"/><circle cx="12" cy="12" r="3"/></svg>');
}

.fa-eye-slash {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23212529" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M2 12c0 0 4-8 10-8s10 8 10 8-4 8-10 8-10-8-10-8Z"/><circle cx="12" cy="12" r="3"/><line x1="3" y1="21" x2="21" y2="3"/></svg>');
}
