
body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #d1d1d1;
    color: #1a1a1a;
}

/* Header (Navbar) */
.navbar {
    height: 60px;
    transition: all 0.3s ease;
    background-color: #f98f35 !important;
    color: #ffffff !important;
    position: relative;
    z-index: 1050;
    border-bottom: 2px solid #ffffff !important;
}

.navbar .container {
    background-color: transparent !important; 
}

.navbar-brand {
    font-weight: 600;
    letter-spacing: 1px;
    color: #000000 !important;
}

.navbar-toggler {
    border-color: #ffffff !important;
    color: #ffffff !important;
}

.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='%23ffffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
    position: relative;
    transition: color 0.3s ease;
    color: #000000 !important;
}

.nav-link:hover {
    color: #454545 !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: #454545;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 50%;
}

main {
    flex: 1 0 auto;
    background-color: #d1d1d1;
    color: #1a1a1a;
}

h1 {
    color: #1a1a1a;
    font-weight: 600;
}

footer {
    background-color: #6a6262 !important;
    color: #ffffff !important;
}

footer .container {
    background-color: transparent !important; 
}

footer a {
    color: #fbbe88 !important;
    text-decoration: none;
}

footer a:hover {
    color: #ffffff !important;
    text-decoration: none;
}

.card, .col, .list-group, .list-group-item {
    background-color: #ebebeb;
    color: #1a1a1a;
    border-color: #ebebeb;
}

.card a, .col a, .list-group a {
    color: #c6732a;
	text-decoration: none;
}

.card a:hover, .col a:hover, .list-group a:hover {
    color: #f98f35;
	text-decoration: none;
}

.mb-3, .my-3, .m-3,
.mb-4, .my-4, .m-4,
.mb-5, .my-5, .m-5 {
    margin-bottom: 1rem !important;
}

.btn-primary {
    background-color: #f98f35 !important;
    color: #000000 !important;
    border-color: #f98f35 !important;
    border-width: 1px !important;
    border-style: solid;
}
.btn-primary:hover {
    background-color: #fbc38e !important;
}

.sticky-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    padding: 10px;
    background-color: #f98f35 !important;
    border-color: #f98f35 !important;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    text-align: center;
    text-decoration: none;
    color: #000000 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 150px;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.sticky-button:hover {
    background-color: #fbc38e !important;
    opacity: 1;
}

.sticky-button img.button-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 8px;
    border-radius: 4px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.sticky-button:hover img.button-image {
    opacity: 1;
}

.sticky-button h2 {
    font-size: 16px;
    margin: 0;
    font-weight: normal;
}

.btn-secondary {
    background-color: #6c757d !important;
    color: #ffffff !important;
    border-color: #6c757d !important;
    border-width: 1px !important;
    border-style: solid;
}
.btn-secondary:hover {
    background-color: #9c9c9c !important;
}

.btn-success {
    background-color: #198754 !important;
    color: #ffffff !important;
    border-color: #198754 !important;
    border-width: 1px !important;
    border-style: solid;
}
.btn-success:hover {
    background-color: #65b38f !important;
}

.btn-danger {
    background-color: #d96873 !important;
    color: #000000 !important;
    border-color: #d96873 !important;
    border-width: 1px !important;
    border-style: solid;
}
.btn-danger:hover {
    background-color: #d5858d !important;
}

.btn-warning {
    background-color: #ffc107 !important;
    color: #000000 !important;
    border-color: #ffc107 !important;
    border-width: 1px !important;
    border-style: solid;
}
.btn-warning:hover {
    background-color: #fddb7c !important;
}

.btn-info {
    background-color: #0dcaf0 !important;
    color: #000000 !important;
    border-color: #0dcaf0 !important;
    border-width: 1px !important;
    border-style: solid;
}
.btn-info:hover {
    background-color: #53e1fd !important;
}

.btn-light {
    background-color: #ffffff !important;
    color: #000000 !important;
    border-color: #c9c9c9 !important;
    border-width: 1px !important;
    border-style: solid;
}
.btn-light:hover {
    background-color: #ebebeb !important;
}

.btn-dark {
    background-color: #000000 !important;
    color: #ffffff !important;
    border-color: #5c5c5c !important;
    border-width: 1px !important;
    border-style: solid;
}
.btn-dark:hover {
    background-color: #5c5c5c !important;
}

.form-control, .form-check-input, .form-switch .form-check-input {
    background-color: #ebebeb !important;
    color: #000000 !important;
    border-color: #f98f35 !important;
}

.form-control:focus, .form-check-input:focus, .form-switch .form-check-input:focus {
    border-color: #f98f35 !important;
    box-shadow: 0 0 0 0.25rem rgba(249,143,53, 0.25) !important;
}

.form-check-input:checked, .form-switch .form-check-input:checked {
    background-color: #f98f35 !important;
    border-color: #f98f35 !important;
}

.form-control::placeholder {
    color: #000000 !important;
    opacity: 1;
}

.page-link {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #ffffff;
    background-color: #6c757d;
    border: 1px solid #6c757d;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-link:hover {
    color: #ffffff;
    background-color: #9c9c9c;
    border-color: #6c757d;
    text-decoration: none;
}

.page-item.active .page-link {
    z-index: 1;
    color: #000000;
    background-color: #f98f35;
    border-color: #f98f35;
}

.page-link:focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.page-link span {
    font-size: 1.2em;
    line-height: 0.9;
}

/* Media Queries - Sortiert von klein nach groß */
@media (max-width: 576px) {
    .navbar-collapse {
        background-color: #f98f35 !important;
        z-index: 1000;
    }
    
    .navbar-collapse.show {
        margin-top: 8px;
        background-color: #f98f35 !important;
    }
    
    .navbar-nav {
        padding: 0.75rem 0;
        text-align: center;
    }
    
    .nav-link {
        padding: 0.5rem 0.75rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 0.875rem;
    }
    
    .card {
        width: 100%;
        border-radius: 0 !important;
        margin-left: 0;
        margin-right: 0;
        box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
    }
    
    .container,
    main.container {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
    }
    
    .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    .page-link {
        padding: 0.375rem 0.5625rem;
        font-size: 0.875rem;
    }
    
    .pagination {
        margin: 15px 0;
    }
}

@media (max-width: 768px) {
    .navbar-collapse {
        background-color: #f98f35 !important;
        z-index: 1000;
    }
    
    .navbar-collapse.show {
        margin-top: 10px;
        background-color: #f98f35 !important;
    }
    
    .navbar-nav {
        padding: 1rem 0;
        text-align: center;
    }
    
    .nav-link {
        padding: 0.75rem 1rem;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .card {
        width: 100%;
        border-radius: 0 !important;
        margin-left: 0;
        margin-right: 0;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }
    
    .container,
    main.container {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
    }
    
    .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    [class*="col-"] {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .navbar-collapse {
        background-color: #f98f35 !important;
        z-index: 1000;
    }
    
    .navbar-collapse.show {
        margin-top: 10px;
        background-color: #f98f35 !important;
    }
    
    .navbar-nav {
        padding: 1rem 0;
        text-align: center;
    }
    
    .nav-link {
        padding: 0.75rem 1rem;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .card {
        width: 100%;
        border-radius: 0 !important;
        margin-left: 0;
        margin-right: 0;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }
    
    .container,
    main.container {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
    }
    
    .row {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (min-width: 769px) and (max-width: 991px) {
    .navbar-collapse {
        background-color: #f98f35 !important;
        z-index: 1000;
    }
    
    .navbar-collapse.show {
        margin-top: 5px;
        background-color: #f98f35 !important;
    }
    
    .navbar-nav {
        padding: 0.5rem 0;
        text-align: center;
    }
    
    .nav-link {
        padding: 0.6rem 0.9rem;
    }
    
    .display-4 {
        font-size: 3rem;
    }
    
    .lead {
        font-size: 1.125rem;
    }
    
    .card {
        width: 100%;
        border-radius: 0.25rem !important;
        margin-left: 0;
        margin-right: 0;
        box-shadow: 0 0 11px rgba(0, 0, 0, 0.1);
    }
    
    .container,
    main.container {
        width: 850px;
        padding-left: 15px;
        padding-right: 15px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .row {
        margin-left: -15px;
        margin-right: -15px;
    }
}

@media (min-width: 992px) {
    .navbar {
        padding: 1.5rem 0;
    }
    
    .navbar.scrolled {
        padding: 1rem 0;
        background-color: rgba(0,0,0,0.95) !important;
    }
    
    .navbar-collapse {
        background-color: #f98f35 !important;
    }
    
    .navbar-collapse.show {
        margin-top: 0;
        background-color: #f98f35 !important;
    }
    
    .navbar-nav {
        padding: 0;
        text-align: left;
    }
    
    .nav-link {
        padding: 0.5rem 1rem;
    }
    
    .display-4 {
        font-size: 3.5rem;
    }
    
    .lead {
        font-size: 1.25rem;
    }
    
    .card {
        width: auto;
        border-radius: 0.25rem !important;
        margin-left: auto;
        margin-right: auto;
        box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
    }
    
    .container,
    main.container {
        width: 1200px;
        padding-left: 15px;
        padding-right: 15px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .row {
        margin-left: -15px;
        margin-right: -15px;
    }
}

.navbar-brand img {
    max-height: 50px;
    width: auto;
    margin-right: 10px;
    vertical-align: middle;
}

.navbar-brand span {
    vertical-align: middle;
}

