@charset "UTF-8";

/* =========================================
   Global Typography and Brand Colors
   ========================================= */
:root {
    --dom-red: #d3102f;
}

body, html {
    font-family: 'Source Sans 3', sans-serif;
    height: 100%;
}

/* Ensure sticky footer if needed */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .display-5 {
    font-family: 'Source Sans 3', sans-serif;
}

/* =========================================
   Header & Logo (Standardized)
   ========================================= */
.header-logo {
    height: auto;
    margin-right: 8px; /* Kleinerer Abstand auf Mobile */
}
@media (min-width: 768px) {
    .header-logo {
        width: 97px !important;
        height: 97px !important;
        object-fit: contain;
        padding-right: 0 !important;
        margin-right: 18px !important; /* Ursprünglicher Abstand auf Desktop */
    }
}

/* =========================================
   Buttons Customization
   ========================================= */
.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--dom-red);
    --bs-btn-border-color: var(--dom-red);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #a70c24;
    --bs-btn-hover-border-color: #9a0b21;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #a70c24;
    --bs-btn-active-border-color: #9a0b21;
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--dom-red);
    --bs-btn-disabled-border-color: var(--dom-red);
    --bs-btn-focus-shadow-rgb: 230, 89, 110;
}

.btn-outline-primary {
    --bs-btn-color: var(--dom-red);
    --bs-btn-border-color: var(--dom-red);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--dom-red);
    --bs-btn-hover-border-color: var(--dom-red);
}

/* =========================================
   Global Cards & Links
   ========================================= */
footer a, main a {
    color: var(--dom-red);
}

footer a:hover, main a:hover {
    color: #a70c24;
}

.card-link {
    color: var(--dom-red);
    text-decoration: none;
    font-weight: bold;
}

.card-link:hover {
    text-decoration: underline;
}

.card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.card .btn + .btn {
    margin-left: 0.5rem;
}

/* =========================================
   Opening Hours Table
   ========================================= */
.opening-hours-table td {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

/* =========================================
   Index Page: Product Highlights
   ========================================= */
.product-highlight img {
    aspect-ratio: 4 / 3;
    object-fit: scale-down;
}

.product-highlight .card-body {
    display: flex;
    flex-direction: column;
}

.product-highlight .card-text {
    flex-grow: 1;
    margin-bottom: 1rem;
}

.product-highlight .mt-auto {
    margin-top: auto;
}

.product-highlight .card {
    border: var(--bs-border-width) solid var(--bs-border-color-translucent);
    transition: transform .2s ease-in-out, box-shadow .2s ease-in-out;
}

.product-highlight .card:hover {
    transform: translateY(-5px);
    box-shadow: var(--bs-box-shadow);
}

/* =========================================
   Index Page: Info Sections
   ========================================= */
.news-link-section {
    background-color: #f8f9fa;
    border: 0px solid #dee2e6;
    transition: box-shadow .2s ease-in-out;
}

.news-link-section:hover {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
}

.news-link-section .btn-outline-primary {
    color: var(--dom-red);
    border-color: var(--dom-red);
}

.news-link-section .btn-outline-primary:hover {
    background-color: var(--dom-red);
    color: #fff;
}

.info-downloads-section {
    background-color: #f8f9fa;
    border-radius: 0.375rem;
}

/* =========================================
   News Page
   ========================================= */
.newsletter-card {
    transition: transform .2s ease-in-out, box-shadow .2s ease-in-out;
}

.newsletter-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15);
}

.intro-section-with-form .intro-text {
    text-align: left;
}

.intro-section-with-form .intro-text h2,
.intro-section-with-form .intro-text p {
    text-align: left;
}

.newsletter-signup-iframe-compact {
     border: 1px solid #dee2e6;
     border-radius: 0.375rem;
     overflow: hidden;
}

.newsletter-signup-iframe-compact iframe {
    display: block;
    width: 100%;
    height: 588px;
    border: none;
}

@media (min-width: 768px) {
    .newsletter-signup-iframe-compact iframe {
        height: 308px;
    }
}

@media (max-width: 767.98px) {
    .intro-section-with-form .intro-text h2,
    .intro-section-with-form .intro-text p {
        text-align: center;
    }
    .newsletter-signup-iframe-compact {
        margin-top: 1.5rem;
    }
}
