/* style.css */

/*--------------------------------------------------------------
# Globale Styles & Variablen
--------------------------------------------------------------*/
:root {
    --brand-primary: #df9525; /* Hauptfarbe Orange */
    --brand-primary-darker: #c88420; /* Dunkleres Orange für Hover etc. */
    --brand-secondary: #343a40; /* Dunkles Grau für Footer/Text */
    --brand-light-bg: #f8f9fa; /* Helles Grau für Hintergründe */
    --text-color: #333;
    --text-muted-custom: #6c757d;
    --white: #fff;
    --border-color: #dee2e6;
    --font-family-base: 'Roboto', sans-serif; /* Beispiel: Roboto als Grundschriftart */
}

body {
    font-family: var(--font-family-base);
    color: var(--text-color);
    padding-top: 70px; /* Platz für fixed navbar, Höhe anpassen! */
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700; /* Fetter für Überschriften */
}

a {
    color: var(--brand-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--brand-primary-darker);
    text-decoration: underline;
}

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

.section-title {
    color: var(--brand-secondary);
    margin-bottom: 1rem; /* Standard Bootstrap wäre mb-4 */
    position: relative;
    padding-bottom: 15px;
}
.section-title::after {
    content: '';
    position: absolute;
    display: block;
    width: 60px;
    height: 3px;
    background: var(--brand-primary);
    bottom: 0;
    left: calc(50% - 30px); /* Zentrieren */
}
.section-title-light {
    color: var(--white);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 15px;
}
.section-title-light::after {
    content: '';
    position: absolute;
    display: block;
    width: 60px;
    height: 3px;
    background: var(--white); /* Weisser Unterstrich auf dunklem Grund */
    bottom: 0;
    left: calc(50% - 30px);
}


/*--------------------------------------------------------------
# Navbar
--------------------------------------------------------------*/
.navbar-custom {
    /* background-color: var(--white); Wird durch bg-light gesetzt, kann hier überschrieben werden */
    /* box-shadow: 0 2px 5px rgba(0,0,0,0.1); Ist jetzt durch shadow-sm Klasse gesetzt */
}
.navbar-custom .navbar-brand img {
    transition: transform 0.3s ease;
    width: 250px;
}
.navbar-custom .navbar-brand img:hover {
    transform: scale(1.05);
}
.navbar-custom .nav-link {
    color: var(--brand-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
    margin-left: 5px; /* Kleiner Abstand zwischen Links */
    margin-right: 5px;
}
.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active { /* Aktiven Link hervorheben */
    color: var(--brand-primary);
}


/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/images/header.webp') center/cover no-repeat; /* Pfad anpassen! */
    color: var(--white);
    min-height: 340px; 
    height: 35vh; 
    max-height: 370px; 
}

.hero h1 {
    font-size: calc(1.8rem + 1.5vw); 
    max-width: 800px; 
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: calc(1rem + 0.3vw);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

@media (min-width: 992px) {
     .hero {
         height: 65vh;
         max-height: 350px;
     }
}

/*--------------------------------------------------------------
# USP Leiste
--------------------------------------------------------------*/
.usp-leiste {
    background-color: var(--brand-light-bg);
    color: var(--brand-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); 
}

.usp-item {
    display: inline-flex; 
    align-items: center;
}

.usp-leiste i {
    color: var(--brand-primary);
    font-size: 1.1rem; 
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
#services {
    background-color: var(--white); 
}
.service-item .card {
    border: none; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-item .card:hover {
     transform: translateY(-5px); 
     box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important; 
}
.service-image-wrapper {
    overflow: hidden; /* Verhindert, dass das Bild über den Rand hinaus skaliert */
}
.service-item img {
    transition: transform 0.4s ease;
}
.service-item:hover img {
    transform: scale(1.05); /* Leichter Zoom-Effekt beim Hover über das Item */
}

.alert-custom-info {
    background-color: rgba(223, 149, 37, 0.1); /* Sehr dezenter Hintergrund */
    border-left: 5px solid var(--brand-primary); /* Linker Rand in Akzentfarbe */
    color: var(--brand-secondary);
    border-color: rgba(223, 149, 37, 0.3);
}
.alert-custom-info strong i {
    color: var(--brand-primary);
}

/*--------------------------------------------------------------
# Showroom Section
--------------------------------------------------------------*/
#showroom {
    background-image: url('/images/austellung.webp'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* background-attachment: fixed; <- entfernt */
    min-height: 35vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.showroom-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Dunkleres Overlay für besseren Kontrast */
    z-index: 1;
}

#showroom .container {
    position: relative;
    z-index: 2; /* Inhalt über dem Overlay */
}


/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
#contact {
    background-color: var(--brand-light-bg);
}

/* Styling für Floating Labels (Bootstrap macht das meiste) */
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--brand-primary); /* Farbe des Labels bei Fokus/Ausfüllen */
}

.form-control:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 0.25rem rgba(223, 149, 37, 0.25); /* Fokus-Schatten in Akzentfarbe */
}

/* Honeypot verstecken */
.honeypot-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* Dateifehler Styling */
#file-size-error {
     display: none; /* Wird per JS angezeigt */
     /* text-danger Klasse von Bootstrap wird verwendet */
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
footer {
    background-color: var(--brand-secondary); /* Dunkles Grau */
    color: rgba(255, 255, 255, 0.7); /* Leicht transparenter weißer Text */
    text-align: center;
}

.partner-logo {
    max-width: 100px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    margin: 8px;
}
.partner-logo:hover {
    opacity: 1;
}

.footer-custom hr {
     border-top: 1px solid rgba(255, 255, 255, 0.2);
}


/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/
.btn-custom-primary {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
    color: var(--white);
    padding: 0.6rem 1.5rem; /* Etwas mehr Padding */
    font-weight: 500;
    text-transform: uppercase; /* GROSSBUCHSTABEN (optional) */
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.btn-custom-primary:hover,
.btn-custom-primary:focus {
    background-color: var(--brand-primary-darker);
    border-color: var(--brand-primary-darker);
    color: var(--white);
    transform: translateY(-2px); /* Leichter Lift beim Hover/Fokus */
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
/* Fokus-Schatten explizit für den Button, falls .form-control:focus nicht ausreicht */
.btn-custom-primary:focus {
     box-shadow: 0 0 0 0.25rem rgba(223, 149, 37, 0.5), 0 4px 10px rgba(0,0,0,0.15);
}

/* Spinner im Button anpassen */
.btn .spinner-border {
    vertical-align: middle; /* Bessere vertikale Ausrichtung */
}