:root {
    --primary-color: #000000;
    --secondary-color: #333333;
    --accent-color: #666666;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --text-color: #333333;
    --border-color: #e0e0e0;
    --shadow: 0 5px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 10px 30px rgba(0,0,0,0.12);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 76px;
    background-color: #ffffff;
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Navigation */
.navbar {
    background-color: var(--primary-color);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.5rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand img {
    height: 50px;
    filter: brightness(0) invert(1);
}

.navbar-nav {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 1.5rem;
}

.nav-link {
    color: white !important;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s;
    display: block;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: white !important;
}

.nav-link:hover:after, .nav-link.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: white;
}

.navbar-toggler {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}



/* Hero Slideshow Styles */
/* Noch dunklere Übergänge mit schwarzem Fade */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000; /* Schwarzer Hintergrund falls kein Bild geladen */
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.6) 100%
    ); /* Dunkler Gradient */
    z-index: 2;
}

.hero-section .container {
    position: relative;
    z-index: 3;
}

/* Slideshow Navigation Dots */
.slideshow-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slide-dot {
    width: 12px;
    height: 12px;
    border: 2px solid white;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slide-dot.active {
    background: white;
}

.slide-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}


/* Hero Section für andere Seiten (Standard) */
.hero-section {
    position: relative;
    height: 70vh;
    min-height: 500px;
    color: white;
    margin-bottom: 50px;
    text-align: center;
    overflow: hidden;
}

.hero-section .container {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 300;
}


.btn-elegant {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 3rem;
    border-radius: 0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid white;
    border-top: 2px solid white !important;
    border-right: 2px solid white !important;
    border-bottom: 2px solid white !important;
    border-left: 2px solid white !important;
    background-color: transparent;
    color: white !important;
    text-transform: none;
    letter-spacing: 1px;
    font-size: 1.1rem;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
    min-width: 220px;
    white-space: nowrap;
}

.btn-elegant:hover {
    background-color: black;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    border: 2px solid white; /* Wichtig: Rahmen bleibt auch beim Hover */
}



.btn-elegant:active {
    transform: translateY(0);
}

/* Secondary Button */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    background-color: transparent;
    color: var(--primary-color);
    text-transform: none;
    letter-spacing: 0.5px;
    font-size: 1rem;
    margin-top: 1rem;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Section Styles */
.section-title {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 15px;
    font-weight: 300;
    font-size: 2rem;
    letter-spacing: 1px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--primary-color);
}

.page-content {
    background: white;
    border-radius: 0;
    box-shadow: var(--shadow);
    padding: 40px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

/* Card Styles */
.card {
    border: 1px solid var(--border-color);
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    background: white;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.card-body {
    padding: 2rem;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--primary-color);
}

.card-text {
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

/* Card List Styles */
.card ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.card ul li {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

/* Image Styles - NEU */
.img-fluid {
    max-width: 100%;
    height: auto;
    display: block;
}

.card-image {
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.card-image:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Text Content */
.text-content {
    padding: 1rem 0;
}

.text-content p {
    margin-bottom: 1.5rem;
}

/* News Items */
.news-item {
    border-left: 2px solid var(--primary-color);
    padding-left: 20px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.news-item:hover {
    border-left-color: var(--accent-color);
    padding-left: 25px;
}

.news-item h4 {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary-color);
}

.text-muted {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.text-muted i {
    margin-right: 0.5rem;
}

/* Auction Dates */
.auction-date {
    background-color: var(--light-color);
    border-radius: 0;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.auction-date:hover {
    border-left-color: var(--accent-color);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary-color);
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0;
    font-size: 1rem;
    transition: all 0.3s;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0,0,0,0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 50px 0 20px;
    margin-top: 50px;
}

footer h5 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 1px;
}

footer ul {
    list-style: none;
}

footer ul li {
    margin-bottom: 0.75rem;
}

footer a {
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    opacity: 0.8;
}

footer a:hover {
    color: white;
    opacity: 1;
}

.social-icons {
    display: flex;
    margin-bottom: 1.5rem;
}

.social-icons a {
    font-size: 1.5rem;
    margin-right: 15px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.social-icons a:hover {
    opacity: 1;
}

.input-group {
    display: flex;
    margin-top: 0.5rem;
}

.input-group input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0;
    border-right: none;
    background: white;
}

.input-group button {
    border-radius: 0;
}

/* Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    padding: 0 15px;
    flex: 1;
}

.col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.col-md-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

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

/* Links in Content */
a:not(.btn):not(.nav-link):not(footer a) {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
}

a:not(.btn):not(.nav-link):not(footer a):hover {
    border-bottom-color: var(--primary-color);
}

/* Services Section Styles */
.services-row {
    display: flex;
    align-items: stretch;
    margin-bottom: 40px;
    gap: 30px;
}

.service-text-block {
    flex: 1;
    display: flex;
}

.service-image-block {
    flex: 1;
    display: flex;
}

.service-text-block .card {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 0;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.service-image:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.scroll-to-top:hover {
    background: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .col-md-4, .col-md-6, .col-md-8 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }
    
    .navbar-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--primary-color);
        padding: 1rem 0;
    }
    
    .navbar-nav.show {
        display: flex;
    }
    
    .navbar-toggler {
        display: block;
    }
    
    .nav-item {
        margin: 0;
    }
    
    .nav-link {
        padding: 0.75rem 1.5rem;
    }
    
    .services-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .service-image {
        height: 300px;
    }
    
    .service-text-block .card {
        margin-bottom: 20px;
    }
    
    .card-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .page-content {
        padding: 30px 20px;
    }
    
    .service-image {
        height: 250px;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .card-image {
        height: 250px;
    }
}

/* Verbesserte Mobile Navigation */
@media (max-width: 992px) {
    .navbar-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--primary-color);
        padding: 1rem 0;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        z-index: 1001;
    }
    
    .navbar-nav.show {
        display: flex !important;
    }
    
    .navbar-toggler {
        display: block;
        z-index: 1002;
    }
    
    .nav-item {
        margin: 0;
        width: 100%;
    }
    
    .nav-link {
        padding: 0.75rem 1.5rem;
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-link:hover:after, .nav-link.active:after {
        display: none;
    }
    
    .nav-link:hover, .nav-link.active {
        background-color: rgba(255,255,255,0.1);
    }
}

/* Verhindert Scrollen wenn Navigation offen */
body.nav-open {
    overflow: hidden;
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-light {
    background-color: var(--light-color) !important;
}

.border {
    border: 1px solid var(--border-color) !important;
}

/* Loading Animation */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design für Hero Section */
@media (max-width: 992px) {
    .hero-section {
        height: 60vh;
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 50vh;
        min-height: 350px;
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 45vh;
        min-height: 300px;
    }
    
    .hero-section h1 {
        font-size: 1.5rem;
    }
}

