/* ===================================
   Niebuhr Stahlglastechnik - Custom CSS
   Relaunch 2026 - Original Farben & Modern Design
   =================================== */

:root {
    /* Kern-Farben */
    --primary: #198BC6;
    /* --primary: #e84c3d; */
    /* --primary-hover: #cd3c2e; */
    --primary-hover: #38afea;
    --dark: #102d3c;
    --dark-light: #1a3a4d;
    --text: #666666;
    --text-dark: #343434;
    --text-light: #999999;
    --light: #fafafa;
    --lighter: #f1f1f1;
    --white: #ffffff;
    --border: #eaeaea;

    /* Accent (Alias) */
    /* --accent: #e84c3d; */
    --accent: #38afea;
    --accent-hover: #cd3c2e;

    /* Bootstrap Semantische Farben (bleiben) */
    --success: #28a745;
    --warning: #ffc107;

    /* Fonts */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;

    /* Transitions */
    --transition: all 0.3s ease;
}

/* Global Styles – nur was Bootstrap NICHT abdeckt */
html {
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.3;
}

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

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

/* Section Padding */
.section-padding {
    padding: 80px 0;
}

/* Section Headers */
.section-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text);
    max-width: 650px;
    margin: 0 auto;
    white-space: nowrap;
}

@media (max-width: 991.98px) {
    .section-subtitle {
        white-space: normal;
    }
}

.text-accent {
    color: var(--accent) !important;
}

/* ===================================
   Header Top
   =================================== */
.header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: var(--dark);
}

.header-top {
    background: var(--dark);
    color: var(--white);
    padding: 12px 0;
    font-size: 0.9rem;
}

/* Spacer für fixed Header */
.header-spacer {
    height: 110px;
    background: var(--dark);
}

@media (max-width: 991.98px) {
    .header-spacer {
        height: 140px;
    }
}

.header-contact a,
.header-contact span {
    color: var(--white);
    text-decoration: none;
    margin-right: 20px;
    display: inline-flex;
    align-items: center;
}

.header-contact a:hover {
    color: var(--primary);
    text-decoration: none;
}

.header-contact i {
    color: var(--primary);
    margin-right: 8px;
}

.header-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    margin-left: 8px;
    transition: var(--transition);
}

.header-social a:hover {
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    transform: translateY(-2px);
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    top: 0;
    z-index: 1000;
    background: var(--dark) !important;
}

.navbar .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

.navbar .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");
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: var(--dark-light);
        margin-top: 10px;
        padding: 15px;
        border-radius: 5px;
    }
}

.navbar-brand {
    display: flex;
    align-items: center;
    background: rgba(16, 45, 60, 0.85);
    border-radius: 4px;
    padding: 8px 20px 8px 14px;
}

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

.logo-fallback {
    display: none;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

.logo-text small {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-light);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.navbar-nav .nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--white) !important;
    padding: 0.5rem 1rem !important;
    position: relative;
    font-size: 0.95rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.nav-cta {
    background: var(--primary) !important;
    color: var(--white) !important;
    border-radius: 5px;
    margin-left: 10px;
    padding: 0.5rem 1.5rem !important;
}

.nav-cta:hover {
    background: var(--primary-hover) !important;
    color: var(--white) !important;
}

.navbar-nav .nav-link.nav-cta.active {
    color: var(--white) !important;
}

.nav-cta::after {
    display: none;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 0.5rem 0;
    margin-top: 0;
}

.dropdown-item {
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.dropdown-item:hover {
    background: var(--light);
    color: var(--primary);
    padding-left: 2rem;
    border-left-color: var(--primary);
}

/* ===================================
   Hero Section
   =================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: -110px;
}

@media (max-width: 991.98px) {
    .hero-section {
        margin-top: -140px;
    }
}

.hero-section .carousel,
.hero-section .carousel-inner,
.hero-section .carousel-item {
    height: 100%;
}

.hero-section .carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

/* Hero Text Container - absolut über dem Carousel */
.hero-text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.hero-text-overlay .container {
    pointer-events: none;
}

.hero-text-overlay .container .row {
    width: 100%;
    margin: 0;
}

.hero-text-overlay .container .row > * {
    pointer-events: auto;
}

.hero-section .carousel-indicators {
    bottom: 20px;
    z-index: 10;
}

.hero-section .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--white);
    background: transparent;
    opacity: 0.7;
    transition: var(--transition);
}

.hero-section .carousel-indicators [data-bs-target].active {
    background: var(--primary);
    border-color: var(--primary);
    opacity: 1;
}

/* Carousel Pfeile */
.hero-section .carousel-control-prev,
.hero-section .carousel-control-next {
    width: 60px;
    opacity: 0.7;
    transition: var(--transition);
    z-index: 11;
}

.hero-section .carousel-control-prev:hover,
.hero-section .carousel-control-next:hover {
    opacity: 1;
}

.hero-section .carousel-control-prev-icon,
.hero-section .carousel-control-next-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(16, 45, 60, 0.6);
    border-radius: 50%;
    background-size: 50%;
    transition: var(--transition);
}

.hero-section .carousel-control-prev:hover .carousel-control-prev-icon,
.hero-section .carousel-control-next:hover .carousel-control-next-icon {
    background-color: var(--primary);
}

/* Hero Content */
.hero-content {
    background: rgba(16, 45, 60, 0.5);
    padding: 40px 45px;
    border-radius: 8px;
    max-width: 650px;
}

.hero-badge {
    display: inline-block;
    background: rgba(232, 76, 61, 0.9);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.hero-badge i {
    margin-right: 8px;
}

.hero-content h1 {
    color: var(--white);
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content .lead {
    font-size: 1.25rem;
    font-weight: 300;
    max-width: 650px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    margin-top: 30px;
}

.btn-hero {
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
    font-weight: 600;
    padding: 14px 35px;
    border-radius: 5px;
    transition: var(--transition);
}

.btn-hero:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.btn-hero-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    font-weight: 600;
    padding: 14px 35px;
    border-radius: 5px;
    transition: var(--transition);
}

.btn-hero-outline:hover {
    background: var(--white);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

/* ===================================
   Leistungen Section
   =================================== */
.leistungen-section {
    background: var(--white);
}

.leistung-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 40px 30px;
    transition: var(--transition);
    height: 100%;
}

.leistung-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-10px);
    border-color: var(--primary);
}

.leistung-icon {
    width: 70px;
    height: 70px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition);
}

.leistung-icon i {
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition);
}

.leistung-card:hover .leistung-icon {
    background: var(--primary);
}

.leistung-card:hover .leistung-icon i {
    color: var(--white);
}

.leistung-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.leistung-text {
    color: var(--text);
    margin-bottom: 20px;
    line-height: 1.7;
}

.btn-leistung {
    color: var(--primary);
    font-weight: 600;
    padding: 0;
    background: transparent;
    border: none;
}

.btn-leistung:hover {
    color: var(--primary-hover);
    background: transparent;
    text-decoration: none;
    padding-left: 5px;
}

.btn-leistung i {
    transition: var(--transition);
}

.btn-leistung:hover i {
    transform: translateX(5px);
}

/* ===================================
   About Section
   =================================== */
.about-section {
    background: var(--light);
}

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-experience {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--primary);
    color: var(--white);
    padding: 20px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.experience-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.experience-text {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 5px;
}

.about-list li {
    font-size: 1.05rem;
    font-weight: 500;
}

.about-list i {
    font-size: 1.2rem;
}

.btn-accent {
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 5px;
    transition: var(--transition);
}

.btn-accent:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

/* ===================================
   Referenzen Section
   =================================== */
.referenzen-section {
    background: var(--white);
}

.referenz-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    height: 100%;
}

.referenz-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-10px);
}

.referenz-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.referenz-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.referenz-card:hover .referenz-image img {
    transform: scale(1.1);
}

.referenz-content {
    padding: 25px;
}

.referenz-tag {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.referenz-tag.tag-warn {
    background: var(--warning);
    color: var(--dark);
}

.referenz-tag.tag-success {
    background: var(--success);
}

.referenz-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.referenz-text {
    color: var(--text);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ===================================
   Partner Section
   =================================== */
.partner-section {
    background: var(--light);
}

.partner-logo {
    text-align: center;
    padding: 20px;
    transition: var(--transition);
}

.partner-logo:hover {
    transform: scale(1.05);
}

.partner-logo i {
    color: var(--text-light);
    transition: var(--transition);
}

.partner-logo:hover i {
    color: var(--primary);
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></svg>');
    opacity: 0.3;
}

.cta-section > .container {
    position: relative;
    z-index: 2;
}

.cta-title {
    color: var(--white);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.btn-cta {
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
    font-weight: 600;
    padding: 14px 35px;
    border-radius: 5px;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-cta:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

/* ===================================
   Kontakt Section
   =================================== */
.kontakt-section {
    background: var(--white);
}

.kontakt-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 35px 30px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.kontakt-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.kontakt-icon {
    width: 70px;
    height: 70px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.kontakt-icon i {
    font-size: 1.8rem;
    color: var(--primary);
    transition: var(--transition);
}

.kontakt-card:hover .kontakt-icon {
    background: var(--primary);
}

.kontakt-card:hover .kontakt-icon i {
    color: var(--white);
}

.kontakt-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.kontakt-text {
    color: var(--text);
    margin-bottom: 10px;
}

.kontakt-text a {
    color: var(--primary);
    font-weight: 500;
}

.kontakt-text a:hover {
    color: var(--primary-hover);
}

.kontakt-hours {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--dark);
    color: var(--white);
}

.footer-main {
    padding: 60px 0 40px;
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-logo-img {
    max-height: 100%;
    width: auto;
    margin-bottom: 15px;
}

.footer-logo-text {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-logo-text small {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    text-decoration: none;
}

.footer-widget-title {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

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

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
    text-decoration: none;
}

.footer-links a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 8px;
    color: var(--primary);
    opacity: 0;
    transition: var(--transition);
}

.footer-links a:hover::before {
    opacity: 1;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

.footer-contact li i {
    color: var(--primary);
    margin-right: 12px;
    margin-top: 5px;
    min-width: 16px;
}

.footer-contact li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact li a:hover {
    color: var(--primary);
    text-decoration: none;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--primary);
    text-decoration: none;
}

.footer-bottom-links #themeToggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    vertical-align: middle;
}

.footer-bottom-links #themeToggle:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-bottom-links #themeToggle i {
    font-size: 0.85rem;
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    animation: fadeInUp 0.6s ease forwards;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 991.98px) {
    .hero-section {
        height: 50vh;
        min-height: 350px;
        padding: 0;
        margin-top: 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .navbar {
        padding: 8px 0;
    }

    .navbar-collapse {
        margin-top: 10px;
        padding: 15px;
        border-radius: 5px;
        background: var(--dark-light);
    }

    .nav-cta {
        margin-left: 0;
        margin-top: 10px;
        display: inline-block;
    }

    .section-padding {
        padding: 60px 0;
    }

    .header-top {
        display: none;
    }

    .header-spacer {
        height: 60px;
    }
}

@media (max-width: 767.98px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content .lead {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: flex-start;
        margin-top: 10px;
    }

    /* Navigation & Service im Footer mobil ausblenden */
    .footer-main .col-lg-2:nth-of-type(1),
    .footer-main .col-lg-2:nth-of-type(2) {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .section-title {
        font-size: 1.5rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .section-padding {
        padding: 50px 0;
    }
}

/* ===================================
   Utilities
   =================================== */

/* Container 80% bei Desktop */
@media (min-width: 1200px) {
    .container {
        max-width: 80%;
    }
}

html {
    scroll-behavior: smooth;
}

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

/* ===================================
   Page Header (Unterseiten)
   =================================== */
.page-header {
    background: #e8e8e8;
    padding: 60px 0 50px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><rect width="60" height="60" fill="none" stroke="rgba(0,0,0,0.03)" stroke-width="1"/></svg>');
    opacity: 0.5;
}

.page-header > .container {
    position: relative;
    z-index: 2;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 15px;
    margin-top: 15px;
}

.breadcrumb-item a {
    color: #444;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--primary);
}

.breadcrumb-item.active {
    color: #777;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #999;
}

.page-title {
    color: var(--text-dark);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-subtitle {
    color: #555;
    font-size: 1.15rem;
    font-weight: 400;
}

.page-header .text-accent {
    color: var(--primary);
}

.page-header .opacity-25 {
    opacity: 0.8 !important;
}

/* ===================================
   Timeline
   =================================== */
.timeline {
    position: relative;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: var(--border);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.marker-inner {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary);
}

.marker-future {
    border-color: var(--success);
    background: var(--white);
}

.marker-future .marker-inner {
    color: var(--success);
    font-size: 1.5rem;
}

.timeline-content {
    width: calc(50% - 50px);
    background: var(--white);
    border-radius: 8px;
    padding: 25px 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border);
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: calc(50% + 45px);
    margin-right: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 0;
    margin-right: calc(50% + 45px);
}

.timeline-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.timeline-text {
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 0;
}

.timeline-future .timeline-content {
    background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
    border-color: var(--success);
}

.blockquote-future {
    padding: 20px;
    border-left: 4px solid var(--primary);
    background: var(--white);
    border-radius: 0 8px 8px 0;
}

.stat-box {
    border: 2px solid var(--border);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-heading);
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ===================================
   Werte Cards
   =================================== */
.werte-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.werte-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 35px 30px;
    text-align: center;
    transition: var(--transition);
}

.werte-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    border-color: var(--primary);
}

.werte-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--border);
    transition: var(--transition);
}

.werte-card:hover .werte-icon {
    border-color: var(--primary);
    transform: scale(1.05);
}

.werte-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.werte-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.werte-card p {
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 0;
}

/* ===================================
   Produkte Cards
   =================================== */
.produkt-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.produkt-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
    border-color: var(--primary);
}

.produkt-image {
    height: 220px;
    overflow: hidden;
    background: var(--lighter);
}

.produkt-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.produkt-card:hover .produkt-image img {
    transform: scale(1.08);
}

.produkt-content {
    padding: 25px;
}

.produkt-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.produkt-desc {
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 0;
}

/* ===================================
   Presse Cards
   =================================== */
.presse-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.presse-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
    border-color: var(--primary);
}

.presse-image {
    height: 180px;
    overflow: hidden;
}

.presse-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.presse-card:hover .presse-image img {
    transform: scale(1.05);
}

.presse-content {
    padding: 20px;
    flex: 1;
}

.presse-video {
    overflow: hidden;
}

.presse-tag {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.presse-tag.tag-video {
    background: #dc3545;
}

.presse-tag.tag-auszeichnung {
    background: var(--success);
}

.presse-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.presse-title a {
    color: var(--text-dark);
    text-decoration: none;
}

.presse-title a:hover {
    color: var(--primary);
}

.presse-excerpt {
    color: var(--text);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.presse-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
}

.presse-link:hover {
    color: var(--primary-hover);
}

.presse-link i {
    transition: var(--transition);
}

.presse-link:hover i {
    transform: translateX(3px);
}

/* ===================================
   Stellenangebote
   =================================== */
.job-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 25px 30px;
    transition: var(--transition);
}

.job-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.job-department {
    display: inline-block;
    background: var(--light);
    color: var(--primary);
    padding: 3px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.job-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.job-location {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.job-location i {
    margin-right: 5px;
}

.job-card {
    display: flex;
    flex-direction: column;
}

.job-pdf a {
    color: var(--primary);
    font-size: 0.9rem;
    text-decoration: none;
}

.job-pdf a:hover {
    text-decoration: underline;
}

.job-actions {
    margin-top: auto;
    padding-top: 15px;
}

.job-actions .btn {
    width: 100%;
    justify-content: center;
}

/* ===================================
   Kontaktformular
   =================================== */

/* Neutraler Fokus-Ring – kein roter Glow */
input.form-control:focus,
select.form-control:focus,
textarea.form-control:focus {
    box-shadow: none !important;
    outline: none !important;
    border-color: #999 !important;
}

.form-select:focus {
    box-shadow: none !important;
    outline: none !important;
    border-color: #999 !important;
}

.kontakt-form-wrapper {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 35px;
}

.kontakt-info-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    height: 100%;
    transition: var(--transition);
}

.kontakt-info-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.kontakt-info-icon {
    width: 60px;
    height: 60px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.kontakt-info-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.kontakt-info-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.kontakt-info-text {
    color: var(--text);
    font-size: 0.95rem;
}

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

.kontakt-info-text a:hover {
    text-decoration: underline;
}

.firmendaten-card {
    background: var(--dark);
    color: var(--white);
    border-radius: 8px;
    padding: 30px;
}

.firmendaten-card h5 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
}

.firmendaten-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.firmendaten-card ul li {
    color: rgba(255, 255, 255, 0.8);
    padding: 5px 0;
    font-size: 0.95rem;
}

.firmendaten-card ul li strong {
    color: var(--white);
}

/* ===================================
   Referenzen Filter
   =================================== */
.referenz-filter-bar {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.filter-btn {
    background: var(--light);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.referenz-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 15px;
    transition: var(--transition);
    cursor: pointer;
}

.referenz-item:hover {
    border-color: var(--primary);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.referenz-item-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.referenz-item-location {
    color: var(--text-light);
    font-size: 0.9rem;
}

.referenz-item-location i {
    margin-right: 5px;
    color: var(--primary);
}

/* ===================================
   Impressum / Datenschutz
   =================================== */
.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 35px;
    margin-bottom: 15px;
    color: var(--text-dark);
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border);
}

.legal-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.legal-content p {
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 15px;
}

.legal-content ul {
    color: var(--text);
    padding-left: 20px;
}

.legal-content ul li {
    margin-bottom: 8px;
    line-height: 1.7;
}

/* ===================================
   Partner Logos (Originalbilder)
   =================================== */
.partner-logo-img {
    max-height: 100%;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
}

.partner-logo:hover .partner-logo-img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Partner Marquee (Endlos-Scroll) */
.partner-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.partner-marquee-wrapper::before,
.partner-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.partner-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--light), transparent);
}

.partner-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--light), transparent);
}

.partner-marquee-track {
    display: flex;
    gap: 14px;
    animation: partnerMarquee 40s linear infinite;
    width: max-content;
}

.partner-marquee-track:hover {
    animation-play-state: paused;
}

@keyframes partnerMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.partner-slide-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    min-height: 175px;
    flex-shrink: 0;
}

.partner-slide-item img {
    max-width: 150px;
    max-height: 150px;
    width: 150px;
    height: 150px;
    object-fit: contain;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 2px;
    margin: 2px;
    background: var(--white);
    transition: var(--transition);
}

.partner-slide-item img:hover {
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* ===================================
   Responsive: Timeline
   =================================== */
@media (max-width: 767.98px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-marker {
        left: 30px;
        width: 60px;
        height: 60px;
    }

    .marker-inner {
        font-size: 0.8rem;
    }

    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
        margin-right: 0 !important;
        padding: 20px;
    }

    .werte-grid {
        grid-template-columns: 1fr;
    }

    .page-title {
        font-size: 2rem;
    }
}

/* ===================================
   Produkte - Detail Sektionen
   =================================== */
.produkt-sektion {
    scroll-margin-top: 100px;
}

.produkt-sektion + .produkt-sektion {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.produkt-titel {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
}

h4.produkt-untertitel {
    font-size: 1.15rem;
    font-weight: bold !important;
    color: var(--text-secondary);
    line-height: 1.4;
}

.produkt-text {
    color: var(--text);
    line-height: 1.8;
    white-space: pre-line;
}

.produkt-image {
    overflow: hidden;
    border-radius: 8px;
    background: var(--lighter);
    width: 100%;
    max-width: 540px;
    height: 540px;
    margin: 0 auto;
}

.produkt-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: var(--transition);
}

.produkt-sektion:hover .produkt-image img {
    transform: scale(1.02);
}

/* Responsive Anpassungen */
@media (max-width: 991.98px) {
    .produkt-titel {
        font-size: 1.5rem;
    }

    h4.produkt-untertitel {
        font-size: 1rem;
    }

    .produkt-image {
        width: 100%;
        max-width: 540px;
        height: 540px;
        margin: 0 auto;
    }

    /* Mobil: Bild immer zuerst anzeigen */
    .produkt-sektion .row {
        display: flex;
        flex-direction: column;
    }
    .produkt-sektion .col-lg-5 {
        order: 1;
    }
    .produkt-sektion .col-lg-7 {
        order: 2;
    }
}

@media (max-width: 575.98px) {
    .produkt-image {
        max-width: 100%;
        aspect-ratio: 1 / 1;
    }
}
