/* Extra Styles for Kontakt Page Information and Social Media */

.hero-info-side {
    padding: 40px;
}

/* Contact Card Extra Styling */
.contact-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    padding: 30px;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #e30613, #b89150);
}

.card-title {
    font-size: 2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-title svg {
    fill: #e30613;
    width: 28px;
    height: 28px;
}

.company-name {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: #555;
    font-size: 1.05rem;
}

.contact-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    background: rgba(227, 6, 19, 0.08);
    color: #e30613;
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
    transition: background 0.3s, transform 0.3s;
}

.contact-item:hover .contact-icon {
    background: #e30613;
    color: #fff;
    transform: scale(1.1);
}

.contact-item.gold:hover .contact-icon {
    background: #b89150;
    color: #fff;
}

.contact-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.contact-text p {
    margin: 0 0 5px 0;
    line-height: 1.4;
}

.contact-text a {
    color: #e30613;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: bold;
}

.contact-text a:hover {
    color: #b00510;
    text-decoration: underline;
}

/* Social Promo Box */
.social-promo {
    background: rgba(255, 255, 255, 0.08);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-promo-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #ffffff;
}

.social-promo-title svg {
    width: 22px;
    height: 22px;
    fill: #ffffff;
}

.social-promo>p {
    font-size: 0.95rem;
    color: #ffffff;
    line-height: 1.5;
    margin: 0;
}

/* --------------- Start: Defensive Styles for Joomla Custom HTML --------------- */
/* Force all text inside social-promo to be white and slightly smaller */
.social-promo,
.social-promo p,
.social-promo span,
.social-promo div {
    color: #ffffff !important;
    font-size: 0.95rem;
    line-height: 1.6;
}

.social-promo p {
    margin-bottom: 15px;
}

/* Force any inserted images (like massive social icons) to be small, cleanly aligned, and pure WHITE */
.social-promo img {
    height: 32px !important;
    width: auto !important;
    max-width: 32px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    /* Turns black icons pure white! */
    margin: 5px 15px 5px 0;
    vertical-align: middle;
    transition: transform 0.2s ease;
    display: inline-block;
}

.social-promo img:hover {
    transform: scale(1.15) rotate(-5deg);
}

/* Force standard links (usually blue) to be white, bold, and smaller */
.social-promo a {
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    margin-right: 20px;
    margin-bottom: 10px;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.social-promo a:hover {
    color: #b89150 !important;
    /* Hover gold */
    border-bottom-color: #b89150;
    text-decoration: none !important;
}

/* --------------- End: Defensive Styles --------------- */

.social-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 0.85rem;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none !important;
    margin: 0 !important;
}

.btn-social::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0.2), transparent);
    z-index: -1;
}

.btn-social::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-social:hover::before {
    width: 100%;
}

.btn-social svg {
    width: 18px;
    height: 18px;
    fill: #ffffff;
    transition: transform 0.3s;
}

.btn-social:hover svg {
    transform: scale(1.1) rotate(-5deg);
}

/* Map enhancement */
.map-container {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    border: none;
    position: relative;
}

.map-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 4px solid #fff;
    border-radius: 8px;
    pointer-events: none;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Header Styles - EXACT Replica of Joomla Logic with 2px gaps */
.header {
    width: 100%;
    height: auto;
    background-color: white;
    position: relative;
    z-index: 200;
    padding-bottom: 25px;
}

.linie_schmal {
    width: 100%;
    height: 4px;
    background-color: #ff0000;
    position: relative;
    top: 30px;
    /* Starts at 30px, ends at 34px */
    z-index: 1;
}

.linie_dick {
    width: 100%;
    height: 56px;
    background-color: #ff0000;
    position: relative;
    top: 38px;
    /* Starts at 38px */
    z-index: 1;
}

.headerlogos {
    position: relative;
    z-index: 100;
    margin-top: -58px;
    /* Pulls up. */
}

.logo_header {
    text-align: left;
}

.logo_header img {
    width: 100%;
    max-width: 709px;
    height: auto;
    background-color: #fff;
    padding: 0 15px;
    /* Creates gaps to the red lines */
    display: block;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-container {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 0;
    z-index: 3;
    background: none;
    /* Remove blur/gradient */
}

.hero-overlay-left {
    left: 18%;
    /* Positioned further left */
}

.hero-overlay-right {
    left: 58%;
    /* Positioned relative to width, further left in right section */
    background: none;
    right: auto;
}

.hero-title {
    color: #fff;
    font-size: 2.2rem;
    font-weight: bold;
    text-transform: capitalize;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    /* Stronger shadow for readability without bg */
    margin: 0;
    white-space: nowrap;
}

/* Navigation */
.navigation {
    background-color: #e30613;
    border-bottom: 3px solid #b00510;
    position: relative;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navigation.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Spacer to prevent content jump when nav becomes fixed */
.nav-spacer {
    height: 0;
    transition: height 0.3s ease;
}

/* Navigation and Content Spacer Fix */
.nav-spacer.active {
    height: 65px;
    /* Match actual nav height */
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 100%;
    margin: 0 auto;
}

.nav-item {
    flex: 1;
    min-width: 120px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.nav-item:last-child {
    border-right: none;
}

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    text-decoration: none;
    color: #fff;
    transition: background-color 0.3s ease;
    text-align: center;
    min-height: 65px;
}

.nav-link:hover {
    background-color: rgba(0, 0, 0, 0.15);
}

.nav-item.active .nav-link {
    background-color: rgba(0, 0, 0, 0.1);
}

.nav-text {
    font-size: 0.85rem;
    font-weight: bold;
    letter-spacing: 0.3px;
    display: block;
    margin-bottom: 2px;
}

/* Navigation Dropdown */
.nav-item {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    display: none;
    list-style: none;
    padding: 0;
    z-index: 1000;
}

.bestattungen-theme .dropdown-menu {
    background-color: var(--funeral-gold);
}

.dropdown-menu li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.bestattungen-theme .dropdown-menu li a {
    color: #000;
}

.dropdown-menu li a:hover {
    background-color: #f5f5f5;
}

.bestattungen-theme .dropdown-menu li a:hover {
    background-color: #fff;
}

.nav-item:hover .dropdown-menu {
    display: block;
}

.nav-subtext {
    font-size: 0.7rem;
    font-weight: normal;
    opacity: 0.95;
    display: block;
}

.dropdown-arrow {
    font-size: 0.6rem;
    margin-left: 3px;
}

/* Main Content */
.main-content {
    background-color: #fff;
    padding: 40px 20px;
}

.content-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.main-heading {
    color: #e30613;
    font-size: 1.6rem;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.3;
}

.content-text {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 18px;
    color: #333;
}

/* Quality Statement Section */
.quality-section {
    background-image: url('images/startseite/Fotolia_88075393_XS.jpg.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.quality-overlay {
    background: rgba(0, 0, 0, 0.55);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 50px 40px;
}

.quality-content {
    text-align: left;
    color: #fff;
    max-width: 600px;
    padding-left: 20px;
}

.quality-heading {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
}

.quality-text {
    font-size: 1.5rem;
    line-height: 1.4;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: normal;
}

/* Footer */
.footer {
    background-color: #e30613;
    color: #fff;
    padding: 35px 20px 15px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 25px;
}

.footer-left {
    flex: 1;
    min-width: 250px;
}

.footer-heading {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 12px;
}

.footer-text {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 4px;
}

.footer-right {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-logo {
    height: 55px;
    width: auto;
    background-color: #fff;
    padding: 4px;
    border-radius: 2px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    text-align: center;
}

.footer-copyright {
    font-size: 0.7rem;
    opacity: 0.9;
}

/* Unternehmen Page Styles */
.unternehmen-page {
    background-color: #fff;
    overflow-x: hidden;
}

/* Slider Section */
.slider-section {
    position: relative;
    width: 100%;
    height: 500px;
    background-color: #eee;
    overflow: hidden;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

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

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 10;
    transition: background 0.3s;
}

.slider-btn:hover {
    background: rgba(0, 0, 0, 0.6);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

/* Section Title red */
.section-title-red {
    color: #e30613;
    font-size: 2rem;
    margin-bottom: 25px;
    font-weight: bold;
    text-transform: none;
}

.section-title-red-bg {
    color: #e30613;
    font-size: 2.5rem;
    text-align: center;
    margin: 0 auto 40px;
    background-color: rgba(255, 255, 255, 0.9);
    display: inline-block;
    padding: 10px 40px;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Family Section */
.family-section {
    padding: 60px 20px;
}

.family-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.family-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #444;
}

.family-image .image-frame {
    border: 8px solid #f2f2f2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.family-image img {
    width: 100%;
    display: block;
}

/* Managers Section */
.managers-section {
    background-image: url('images/woodworking-691329_12802.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 80px 20px;
}

.managers-overlay {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.managers-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.manager-card {
    background: white;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.manager-card:hover {
    transform: translateY(-10px);
}

.manager-portrait {
    width: 300px;
    height: 380px;
    overflow: hidden;
    margin-bottom: 15px;
}

.manager-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.manager-name {
    font-size: 1.4rem;
    font-weight: bold;
    color: #333;
    margin: 10px 0;
}

/* Competence Section */
.competence-section {
    padding: 80px 20px;
    background-color: #fff;
}

.intro-text {
    text-align: center;
    font-size: 1.15rem;
    font-style: italic;
    margin-bottom: 40px;
    color: #666;
}

.competence-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    margin-top: 20px;
}

.competence-subtitle {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #e30613;
    display: inline-block;
    padding-bottom: 5px;
}

.certificates-list {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.cert-img {
    height: 180px;
    width: auto;
    border: 1px solid #ddd;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: scale 0.3s;
    cursor: pointer;
}

.cert-img:hover {
    scale: 1.05;
}

.single .cert-img {
    height: 250px;
}

.col-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
    margin-top: 15px;
}

.service-info {
    margin-top: 50px;
    text-align: center;
    padding: 30px;
    background-color: #f9f9f9;
    border-left: 5px solid #e30613;
}

.service-info p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Team Section */
.team-section {
    padding-bottom: 80px;
}

.team-image-container {
    margin-bottom: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.team-photo {
    width: 100%;
    display: block;
}

.team-text {
    max-width: 900px;
    margin: 40px auto 0;
    text-align: center;
}

.team-text p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #444;
}

/* Responsive slider and sections */
@media (max-width: 968px) {
    .slider-section {
        height: 350px;
    }

    .family-grid,
    .competence-grid {
        grid-template-columns: 1fr;
    }

    .manager-portrait {
        width: 260px;
        height: 330px;
    }

    .certificates-list {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .slider-section {
        height: 250px;
    }

    .section-title-red-bg {
        font-size: 1.8rem;
        padding: 8px 20px;
    }

    .manager-card {
        padding: 10px;
    }

    .manager-portrait {
        width: 100%;
        height: auto;
    }

    .nav-list {
        flex-direction: column;
    }

    .nav-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }
}

/* Kontakt Page Styles */
.kontakt-page {
    background-color: #fff;
}

.kontakt-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
    background-color: #2e2e2e;
}

.hero-image-side {
    position: relative;
    overflow: hidden;
}

.aerial-view {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-info-side {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

.info-and-map {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-card {
    background: #fff;
    padding: 25px;
    color: #333;
    border-radius: 2px;
}

.card-title {
    color: #e30613;
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: bold;
}

.company-name {
    font-weight: bold;
    margin-bottom: 15px;
}

.address p,
.communication p {
    margin-bottom: 5px;
    line-height: 1.4;
}

.communication a {
    color: #e30613;
    text-decoration: none;
}

.map-container {
    background: #444;
    border: 4px solid #fff;
    border-radius: 2px;
    height: 250px;
}

.social-promo {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.social-buttons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.btn-red,
.btn-gold {
    display: inline-block;
    padding: 12px 30px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 2px;
    transition: transform 0.2s, background-color 0.2s;
    text-align: center;
    min-width: 140px;
}

.btn-red {
    background-color: #e30613;
}

.btn-red:hover {
    background-color: #c00510;
    transform: translateY(-2px);
}

.btn-gold {
    background-color: #b89150;
}

.btn-gold:hover {
    background-color: #a47f43;
    transform: translateY(-2px);
}

/* Form Section */
.form-section {
    padding: 80px 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.form-intro p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #444;
}

.kontakt-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group input,
.form-group textarea,
.captcha-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 2px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #e30613;
    outline: none;
}

.captcha-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: #666;
}

.captcha-group input {
    width: 120px;
}

.form-submit {
    text-align: right;
    margin-top: 10px;
}

.btn-submit {
    background-color: #e30613;
    color: #fff;
    border: none;
    padding: 12px 40px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 2px;
    transition: background-color 0.2s;
}

.btn-submit:hover {
    background-color: #c00510;
}

/* Responsive Kontakt */
@media (max-width: 1024px) {
    .kontakt-hero-grid {
        grid-template-columns: 1fr;
    }

    .info-and-map {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

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


/* Aktuelles Page Styles */
.aktuelles-page {
    background-color: #fff;
}

.news-hero {
    position: relative;
    width: 100%;
    height: 400px;
    background-image: url('images/slider8/final.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.news-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-hero-content {
    text-align: center;
    color: #fff;
}

.news-hero-sub {
    display: block;
    font-size: 1.2rem;
    font-style: italic;
    opacity: 0.9;
    margin-bottom: 5px;
}

.news-hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    text-transform: none;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.news-section {
    padding: 80px 20px;
}

.news-article {
    margin-bottom: 60px;
}

.article-heading {
    color: #e30613;
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.3;
}

.news-article p {
    margin-bottom: 18px;
    line-height: 1.8;
    color: #444;
}

.highlight-box {
    background-color: #fff;
    border: 2px solid #e30613;
    padding: 25px;
    margin: 30px 0;
    box-shadow: 0 5px 20px rgba(227, 6, 19, 0.1);
}

.highlight-box h3 {
    color: #e30613;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.highlight-box .tel {
    font-size: 1.4rem;
    font-weight: bold;
    color: #333;
}

.highlight-box-grey {
    background-color: #f5f5f5;
    border-left: 5px solid #e30613;
    padding: 20px;
    margin: 25px 0;
}

.info-card {
    background: #fff;
    padding: 30px;
    border: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.article-list {
    list-style: none;
    margin: 20px 0;
}

.article-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.article-list li::before {
    content: "■";
    position: absolute;
    left: 0;
    color: #e30613;
}

.article-list-simple {
    list-style-type: square;
    margin: 20px 0 20px 20px;
    color: #555;
}

.article-list-simple li {
    margin-bottom: 8px;
}

.signature {
    margin-top: 20px;
    font-style: italic;
    color: #666;
}

.source-tag {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

.emphasized-text {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-top: 30px;
}

.testimonial-box {
    background: #fdfdfd;
}

.testimonial-content {
    background: #fff;
    padding: 40px;
    border: 1px solid #eee;
    font-style: italic;
    position: relative;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.02);
}

.testimonial-sig {
    margin-top: 30px;
    border-top: 1px solid #eee;
    padding-top: 20px;
    font-style: normal;
}

.testimonial-sig span {
    font-size: 0.9rem;
    color: #888;
}

.article-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 50px;
    align-items: start;
}

.article-img {
    width: 100%;
    height: auto;
    border: 8px solid #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.article-divider {
    border: 0;
    border-top: 1px solid #eee;
    margin: 50px 0;
}

/* Responsive News */
@media (max-width: 968px) {
    .article-grid {
        grid-template-columns: 1fr;
    }

    .news-hero-title {
        font-size: 2.5rem;
    }
}


/* Leistungen Page Styles */
.leistungen-page {
    background-color: #fff;
    overflow-x: hidden;
}

.leistungen-intro-section {
    padding: 60px 20px;
    background-color: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.service-item {
    text-align: center;
    padding: 30px;
    background: #f9f9f9;
    border-top: 4px solid #e30613;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item .section-title-red {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.service-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

/* Bottom Slider Section */
.bottom-slider-section {
    padding: 60px 20px 100px;
    background-color: #f2f2f2;
}

.bottom-sliders-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.bottom-slider-item {
    background: white;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.bottom-slider-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #e30613;
    margin-bottom: 20px;
    height: 3rem;
    /* Keep titles aligned */
    display: flex;
    align-items: center;
}

.small-slider {
    height: 350px !important;
    margin-bottom: 20px;
}

.slider-description {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #666;
    font-style: italic;
}

/* Responsive adjustments */
@media (max-width: 968px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .bottom-sliders-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .bottom-slider-title {
        height: auto;
    }
}