:root {
    --primary-color: #8A143B;
    --secondary-color: #f5f5f5;
    --text-color: #333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== BODY & GENERAL STYLING ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    margin: 0;
    font-family: 'Lato', sans-serif;
    font-size: 22px;
    line-height: var(--bs-body-line-height);
    color: var(--bs-body-color);
    text-align: var(--bs-body-text-align);
    background-color: #FFF8FA;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    background-image: url(/images/HG.svg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}


.container {
    background-color: transparent !important;
}

.row {
    background-color: transparent !important;
}

.col-lg-8,
.col-md-4,
.col-md-3,
.col-md-6,
.col-md-9 {
    background-color: transparent !important;
}

/* Cards SOLLEN weiss bleiben */
.card {
    background-color: white !important;
}

.content {
    background-color: transparent !important;
}

section {
    background-color: transparent !important;
}


h1, h2, h3, h4, h5, h6 {
    color: #fff;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ===== NAVBAR STYLING ===== */
nav.navbar {
    background-color: #8A143B !important;
}

.navbar {
    background-color: #8A143B !important;
}

.navbar-nav .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #fff !important;
    text-decoration: underline;
}

.navbar-nav .nav-link.active {
    color: #fff !important;
    font-weight: 700;
}

/* Dropdown Menu */
.dropdown-menu {
    background-color: #8A143B;
    border-top: 3px solid #fff;
    border-radius: 0 0 8px 8px;
}

.dropdown-menu .dropdown-item {
    color: #ffffff;
    transition: background-color 0.3s ease;
}

.dropdown-menu .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.dropdown-menu .dropdown-item.active,
.dropdown-menu .dropdown-item:active {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* Navbar Toggler (Mobile) */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }

    .navbar-nav .nav-link {
        padding: 0.5rem 0;
        margin: 0.25rem 0;
    }

    .dropdown-menu {
        background-color: rgba(138, 20, 59, 0.95);
        border: none;
    }
}


img {
    max-width: 100%;
    height: auto;
}


footer a {
    color: #fff;
}

footer a:hover {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }

    .navbar-nav {
        text-align: center;
    }
}

/* Accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--primary-color);
}

/* ===== FOOTER STYLING ===== */
footer {
    background-color: #8A143B;
}

footer h1,
footer h2,
footer h3,
footer h4,
footer h5,
footer h6 {
    color: white !important;
}

footer p,
footer a,
footer small {
    color: white !important;
}

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

footer ul li a {
    color: white;
    text-decoration: none;
}

footer ul li a:hover {
    color: #fff;
    text-decoration: underline;
}

:root {
    --primary-color: #8A0639;
}

/* Bootstrap Primary Button überschreiben */
.btn-primary {
    background-color: #8A0639;
    border-color: #8A0639;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #70052f; /* leicht dunkler */
    border-color: #70052f;
}

/* Optional: Active / gedrückt */
.btn-primary:active,
.btn-primary.active,
.show > .btn-primary.dropdown-toggle {
    background-color: #5e0427;
    border-color: #5e0427;
}



