body {
    padding-top: 0;
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Bebas Neue', cursive;
    font-weight: 400;
    line-height: 1.2;
}

h2 {
    font-size: 3rem !important;
}

h3 {
    font-size: 3rem !important;
}

h4 {
    font-size: 2.2rem !important;
}

h5 {
    font-size: 1.6rem !important;
}

/* Größen-Klassen für SEO-optimierte Überschriften-Hierarchie */
/* Ermöglicht es, semantisch korrekte Tags (z. B. h3 statt h5) mit ursprünglicher Optik zu verwenden */
.h2-size { font-size: 3rem !important; }
.h3-size { font-size: 3rem !important; }
.h4-size { font-size: 2.2rem !important; }
.h5-size { font-size: 1.6rem !important; }

.btn-shop {
    background-color: #007bff !important;
    color: #fff !important;
}

.btn-shop .button-text {
    color: #fff !important;
}

.btn-shop .button-icon .raute {
    background-color: #fff !important;
}

.info-box p {
    margin-bottom: 1.5rem;
}

.col-md-3 {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
}

.info-box {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.info-box a.button {
    margin-top: auto;
}

.info-box {
    background-color: #fff;
    border-radius: 0.8rem;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    margin-bottom: .6rem;
}

/* Seminar Meta auf der Startseite */
.seminar-meta-home {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin: 0.75rem 0 1rem;
    font-size: 0.9rem;
    color: var(--bs-secondary-color);
}
.seminar-meta-home span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

/* Status Badge in Info-Box (unten) */
.seminar-card {
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
}
.seminar-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
    border-color: #ffeb3b;
}
.seminar-status {
    font-size: 0.7rem;
    padding: 0.35rem 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    align-self: flex-start;
    margin-bottom: 0;
}

/* Status-Badge und Button immer am unteren Rand der Info-Box ausrichten,
   egal wie viel Inhalt (Titel/Meta) davor steht – genauso wie der Button allein. */
.seminar-bottom {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.seminar-footer {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Button-Element-Reset (Bootstrap/Browser-Defaults entfernen, damit .button Styles greifen) */
button.button {
    border: none;
    background: none;
    padding: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
    outline: none;
}

/* Globale Button-Stile */
a.button,
.button {
    display: flex;
    align-items: center;
    margin-top: 0;
    padding: .8rem 1.5rem;
    background-color: #fff;
    color: #333;
    border-radius: 2rem;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

a.button:hover,
.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.button-text {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    margin-left: .75rem;
    font-size: 14px;
    color: #5f5f5f;
}

.button-icon {
    width: 24px;
    height: 24px;
    position: relative;
}

.button-icon .raute {
    position: absolute;
    width: 24px;
    height: 24px;
    background-color: #ffeb3b;
    transform: rotate(45deg);
    border-radius: 6px;
}

.button-icon .play {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 8px solid #333;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    left: 9px;
    top: 33%;
    border-radius: 3px;
}

/* Spezielle Anpassung für Buttons in der gelben CTA-Box */
.yellow-box a.button {
    background-color: #333;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin-top: 1rem;
}

.yellow-box a.button:hover {
    background-color: #222;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.yellow-box a.button .button-text {
    color: #fff;
}

.yellow-box a.button .button-icon .raute {
    background-color: #fff;
}

.yellow-box a.button .button-icon .play {
    border-left-color: #333;
}

/* Schriftart-Korrektur für Absätze in der gelben Box */
.yellow-box p {
    font-family: 'Roboto', sans-serif;
    color: #333 !important;
    font-size: 0.88rem;
}

.nav-link.active {
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 36px;
    height: 36px;
    background-color: #ffeb3b;
    border-radius: 5px;
    z-index: -1;
}

.section-title {
    position: relative;
    display: inline-block;
}

.section-title::before {
    content: '';
    position: absolute;
    width: 6.5rem;
    height: 6.5rem;
    background-color: #ffeb3b;
    border-radius: 15px;
    transform: rotate(45deg);
    left: -1.2rem;
    top: -0.6rem;
    z-index: -1;
}

body {
    padding-top: 0;
}

.hero-section {
    overflow: visible;
    position: relative;
}

.verkauf-hero {
    padding-bottom: 1rem !important;
    margin-bottom: -3rem !important;
}

.raute-container {
    width: 40vw;
    height: 40vw;
    max-width: 600px;
    max-height: 600px;
    position: absolute;
    top: -15vh;
    right: 0;
    overflow: hidden;
    transform: rotate(45deg);
    border-radius: 30px;
    z-index: -2;
    box-shadow: -43px 30px 0px #ffeb3b;
}

.raute-yellow {
    background-color: #ffeb3b;
    box-shadow: none;
    top: -260%;
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%) rotate(45deg);
}

.raute-home-image {
    top: 150%;
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%) rotate(45deg);
}

.raute-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: rotate(-45deg) scale(1.414);
}

.sidebar {
    width: 250px;
    position: absolute;
    left: 0;
    top: 0;
    height: 100vh;
    background-color: #f8f9fa;
    padding: 20px;
}

.content {
    margin-left: 250px;
}

.row {
    align-items: stretch;
}

.box-carousel {
    position: relative;
    overflow: hidden;
    padding: 40px 0;
}

.box-carousel::before,
.box-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 5;
    pointer-events: none;
}

.box-carousel::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.box-carousel::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.box-carousel .box-wrapper {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 40px 20px;
    margin: -40px -20px 0 -20px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.box-carousel .box-wrapper::-webkit-scrollbar {
    display: none;
}

.box-carousel .scroll-btn {
    background: #ffeb3b;
    color: #000;
    border: none;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 1.5rem;
    transform: rotate(45deg);
}

.box-carousel .scroll-btn::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 0.45rem solid #000;
    border-top: 0.28rem solid transparent;
    border-bottom: 0.28rem solid transparent;
    transform: rotate(-45deg);
}

.box-carousel .scroll-btn.left::before {
    transform: rotate(135deg);
}

.carousel-nav {
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
    margin-left: 0.5rem;
    position: relative;
    z-index: 10;
}

.box-carousel .info-box {
    flex: 0 0 calc(25% - 0.75rem);
    min-width: 250px;
}

.align-with-box {
    margin-left: 0.9rem;
}

.sem-box-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.6rem;
    margin: 0;
    color: #000;
    text-align: center;
}

.yellow-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    background-color: #ffeb3b;
    border-radius: 6px;
    font-family: 'Bebas Neue', cursive;
    color: #000;
}

.yellow-box .sem-box-title,
.yellow-box .sem-box-title-small {
    font-family: 'Bebas Neue', cursive !important;
}

.same-height-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    display: block;
}

.col-md-2 .same-height-img,
.col-md-4 .same-height-img {
    flex: 1;
    max-height: 100%;
}

.navbar {
    padding-left: 0;
    padding-right: 0;
}

.navbar .navbar-brand {
    margin-right: 2rem;
}

.navbar .navbar-brand img {
    max-height: 70px;
    width: auto;
}

.navbar .navbar-text {
    padding: 0;
    margin: 0;
    line-height: 50px;
    font-size: 0.9rem;
    color: #fff !important;
    text-shadow: 0px 0px 21px rgba(0, 0, 0, 0.9);
}

@media (max-width: 768px) {
    .sidebar {
        position: relative;
        width: 100%;
        height: auto;
        padding: 20px;
    }

    .content {
        margin-left: 0;
    }
}

.phone-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-left: 2rem;
    position: relative;
    z-index: 1;
}

.phone-label {
    font-weight: 400;
    font-size: 1rem;
    line-height: 1;
    color: #fff !important;
    margin-bottom: 0.2rem;
}

.phone-number {
    font-family: 'Bebas Neue', cursive;
    font-weight: 400;
    font-size: 3rem;
    line-height: 1;
    color: #fff !important;
}

@media (max-width: 768px) {
    .phone-block {
        align-items: flex-start;
        margin-top: 0.5rem;
        margin-left: 0;
    }

    .raute-container {
        display: none !important;
    }
}

.raute-icon-container {
    width: 80px;
    height: 80px;
    background-color: #ffeb3b;
    border-radius: 15px;
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px;
    flex-shrink: 0;
}

.raute-icon-container.large {
    width: 224px;
    height: 224px;
    border-radius: 21px;
    margin: 40px auto;
}

/* Homepage specific diamond size for Telefonische Beratung & Beratung vor Ort */
.raute-icon-container.home-diamond {
    width: 120px;
    height: 120px;
    border-radius: 18px;
    margin: 20px auto;
}

.raute-icon-container.home-diamond .raute-icon-wrapper i {
    font-size: 2.5rem;
}

.raute-overlay {
    position: absolute;
    top: 50%;
    left: 90%;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none;
}

.raute-overlay.raute-top {
    top: 15%;
    transform: translate(-50%, -15%);
}

/* Verkauf-Seite: Diamond zentriert zum Bild */
.raute-overlay.verkauf-diamond {
    top: 50%;
    left: 90%;
    transform: translate(-50%, -50%);
}

.raute-overlay.verkauf-diamond .raute-icon-container.large {
    margin: 0 auto;
}

.raute-icon-wrapper {
    transform: rotate(-45deg);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.raute-icon-wrapper i {
    font-size: 4rem;
}

.sem-1,
.sem-2,
.sem-2 h3 {
    margin-bottom: 0px !important;
}

.sem-3 {
    margin-top: 0px !important;
}

.info-box p {
    -moz-hyphens: auto;
    -o-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    hyphenate-limit-chars: auto 5 5;
}

.sem-box-title-small {
    font-family: 'Bebas Neue', cursive;
    font-size: 1rem !important;
    line-height: 1.2 !important;
}

.img-cover {
    object-fit: cover !important;
}

/* Dezenter Zurück-Link auf der Stellenangebot-Detailseite und Leistungs-Unterseiten */
.back-link {
    display: inline-flex;
    align-items: center;
    color: #aaa;
    text-decoration: none;
    font-size: 0.95rem;
    margin-top: 1rem;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: #888;
    text-decoration: underline;
}

/* Contact Cards Section */
.contact-card {
    position: relative;
    overflow: hidden;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex: 1;
    align-items: center;
    padding: 1.5rem 1rem 1.5rem 6.2rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.row.contact-row {
    display: flex;
    flex-wrap: wrap;
    margin: -0.75rem;
    align-items: stretch;
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.contact-card::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 105px;
    height: 105px;
    background-color: #ffeb3b;
    border-radius: 14px;
    z-index: 1;
}

.contact-card-icon {
    position: absolute;
    left: 26px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.contact-card-icon svg {
    width: 100%;
    height: 100%;
}

.contact-card-info {
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.contact-card-name {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.7rem;
    color: #000;
    margin: 0 0 0.1rem 0;
    line-height: 1.1;
    text-transform: uppercase;
}

.contact-card-role {
    font-family: 'Bebas Neue', cursive;
    font-size: 0.9rem;
    color: #5f5f5f;
    margin: 0 0 1.2rem 0;
    letter-spacing: 0.5px;
    line-height: 1.1;
    text-transform: uppercase;
}

.contact-card-phone {
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    color: #5f5f5f;
    margin: 0;
    white-space: nowrap;
}

/* Footer Styles */
.footer-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.2rem;
    color: #000;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.footer-text {
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    color: #000;
    line-height: 1.5;
}

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

.footer-links li {
    margin-bottom: 0.4rem;
}

.footer-link {
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #000;
    text-decoration: underline;
}

.footer-map {
    height: 280px;
    width: 100%;
    border-radius: 8px;
}

/* Aspect Ratio Utilities */
.aspect-square {
    aspect-ratio: 1 / 1;
}

.object-fit-cover {
    object-fit: cover;
}

/* Gallery Styles */
.gallery-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.gallery-row-fixed {
    height: 250px;
}

.gallery-img {
    flex: 1;
    min-width: 0;
    height: 100%;
    object-fit: cover;
}

/* Gallery Styles */
.gallery-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.gallery-img {
    flex: 1;
    min-width: 0;
    height: 100%;
    object-fit: cover;
}

/* Utility Classes for Inline Style Replacements */
.no-bg-image::before {
    display: none !important;
}

.text-robot {
    font-family: 'Roboto', sans-serif;
}

.text-robot-small {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
}

.sem-box-title-lg {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.2rem;
    margin: 0;
    color: #000;
    text-align: center;
}

/* Button Variants */
.button-yellow {
    background-color: #ffeb3b;
    color: #333;
    border: none;
}

.button-yellow:hover {
    background-color: #fdd835;
    color: #333;
}

.button-yellow .button-text {
    color: #333;
}

.button-yellow .button-icon .raute {
    background-color: #fff;
}

.button-yellow .button-icon .play {
    border-left-color: #333;
}

.button-pdf {
    background-color: #fff;
    color: #333;
    border: 1px solid #ddd;
}

.button-pdf:hover {
    background-color: #f5f5f5;
}

.button-pdf .button-icon i {
    font-size: 1rem;
    color: #dc3545;
}

.button-pdf .button-text {
    color: #333;
}

.button-disabled {
    background-color: #e0e0e0;
    color: #999;
    cursor: not-allowed;
    pointer-events: none;
}

.button-disabled .button-icon .raute {
    background-color: #ccc;
}

.button-disabled .button-icon .play {
    border-left-color: #999;
}

.button-disabled .button-text {
    color: #999;
}

/* Modal Styles */
.modal-header-yellow {
    background-color: #ffeb3b;
    color: #333;
}

.btn-close-white {
    filter: invert(1);
}

/* Category tile background with data-bg attribute */
.category-tile-bg[data-bg] {
    background-image: attr(data-bg url);
}

/* Fallback for browsers not supporting attr() */
.category-tile-bg[style*="background-image"] {
    /* Keep existing inline style support */
}

/* Contact Info Box Styles */
.contact-info-box {
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.contact-info-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 0.5rem;
}

/* Button Newsletter Subscribe */
.btn-newsletter-subscribe {
    max-width: 300px;
}

.img-fluid-rounded {
    border-radius: 0.5rem;
}

/* Responsive Image Helpers */
img.aspect-square {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* Seminar Cards */
.seminar-card {
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
}

.seminar-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
    border-color: #ffeb3b;
}

.seminar-card-header {
    padding: 1rem 1.25rem 0;
}

.seminar-card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.seminar-titel {
    margin-bottom: 0.75rem;
    color: var(--bs-heading-color);
}

.seminar-meta {
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.seminar-meta .meta-row {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    padding: 0.25rem 0;
    border-bottom: 1px solid var(--bs-border-color-translucent);
}

.seminar-meta .meta-row:last-child {
    border-bottom: none;
}

.seminar-meta .meta-label {
    flex: 0 0 140px;
    color: var(--bs-secondary-color);
    font-weight: 500;
    white-space: nowrap;
}

.seminar-meta .meta-value {
    flex: 1;
    min-width: 0;
    word-break: break-word;
}

.seminar-beschreibung {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--bs-body-color);
    flex: 1;
}

.seminar-card-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--bs-border-color);
    background: var(--bs-tertiary-bg);
}

/* Modal responsive */
@media (max-width: 576px) {
    .seminar-card-footer .d-flex {
        flex-direction: column;
        align-items: stretch !important;
    }

    .seminar-card-footer .btn {
        width: 100%;
        justify-content: center;
    }

    .seminar-meta .meta-row {
        flex-direction: column;
        gap: 0.125rem;
    }

    .seminar-meta .meta-label {
        flex: unset;
    }
}

/* Contact Info Box Styles */
.contact-info-box {
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.contact-info-title {
    font-size: 1.2rem !important;
    font-family: 'Bebas Neue', cursive;
    color: #000;
    margin-bottom: 0.5rem;
}

.contact-info-box p {
    font-family: 'Roboto', sans-serif;
    color: #000;
    line-height: 1.5;
}

.my-4,
.my-5 {
    margin-top: 6rem !important;
}

.sem-1 {
    margin-bottom: 0 !important;
    margin-top: 2rem !important;
}

.text-start {
    margin-bottom: 0 !important;
}

.carousel-nav {
    z-index: 100;
    margin-top: -27px;
}

.tel-ber {
    margin-top: 3rem !important;
}

.less-margin.no-bg-image::before {
    display: none;
}

.less-margin {
    margin-top: 100px !important;
    position: relative;
}

/* Hintergrundbild hinter den Leistungsboxen - am linken viewport-Rand, aber an Section gebunden */
.less-margin::before {
    content: '';
    position: absolute;       /* relativ zum .less-margin Container (position: relative) */
    top:-100px;               /* Abstand vom oberen Rand der Section */
    left: calc(-50vw + 50%);  /* reicht bis zum linken Viewport-Rand (Container ist zentriert) */
    width: 55vw;              /* Breite relativ zur Viewport-Breite (55%) */
    height: 450px;            /* feste Höhe */
    max-width: 800px;         /* maximale Breite */
    background-image: url('../img/test.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;              /* hinter den Boxen */
    opacity: 1;               /* 100% Deckkraft */
    border-radius: 0 12px 12px 0;  /* abgerundet nur rechts */
    pointer-events: none;
}

/* Hintergrundbild für die Leistungen-Seite: Mitarbeiter der Prüfstelle */
.less-margin-mitarbeiter {
    margin-top: 100px !important;
    position: relative;
}
.less-margin-mitarbeiter::before {
    content: '';
    position: absolute;
    top: -100px;
    left: calc(-50vw + 50%);
    width: 55vw;
    height: 450px;
    max-width: 800px;
    background-image: url('../img/pruefstelle_balgengaszaehler_mitarbeiter.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    opacity: 1;
    border-radius: 0 12px 12px 0;
    pointer-events: none;
}

/* Hintergrundbild für die Shop-Seite: Lagerhalle */
.less-margin-shop {
    margin-top: 100px !important;
    position: relative;
}
.less-margin-shop::before {
    content: '';
    position: absolute;
    top: -100px;
    left: calc(-50vw + 50%);
    width: 55vw;
    height: 250px;
    max-width: 800px;
    background-image: url('../img/shop_lagerhalle.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    opacity: 1;
    border-radius: 0 12px 12px 0;
    pointer-events: none;
}

.highlights {
    padding-bottom: 100px !important;
    margin-top: 0px !important;
}

.button-shop {
    background-color: #007bff;
    padding: 0.8rem 2rem 0.8rem 2rem;
    color: #fff;
    border-radius: 100px;
    text-decoration: none;
    font-size: 1.5rem;
    font-family: 'Bebas Neue';
    margin-top: 40px;
    display: inline-block;
}

/* Advantage Boxes - "Die wichtigsten Vorteile im Überblick" */
.advantage-box {
    background-color: #f5f5f5;
    border-radius: 0.8rem;
    padding: 1.5rem;
    display: flex;
    align-items: stretch;
    gap: 1rem;
    height: 100%;
    transition: background-color 0.3s ease;
}

.advantage-box:hover {
    background-color: #ebebeb;
}

.advantage-icon {
    flex-shrink: 0;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-icon i {
    font-size: 2.5rem;
    line-height: 1;
}

.advantage-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.advantage-title {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #666;
    line-height: 1.3;
    margin-bottom: 0.25rem;
}

.advantage-desc {
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    color: #888;
    line-height: 1.4;
}

/* Styling für die Shop-Kategoriekacheln */
.category-tile {
    height: 280px;
    /* Feste Höhe für einheitliche Optik */
    isolation: isolate;
    /* Stellt sicher, dass Z-Index und Border-Radius sauber greifen */
}

/* Hintergrundbild mit Zoom-Animation */
.category-tile-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
    z-index: 1;
}

/* Semi-transparent Overlay für Lesbarkeit der Schrift (immer sichtbar, keine Gradient mehr) */
.category-tile-overlay {
    z-index: 2;
    background: rgba(0, 0, 0, 0.1);
    
    transition: background 0.4s ease;
    opacity: 1;
}

.category-tile-overlay h3{
    filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.9)) !important;
}

.category-tile-overlay p{
    filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, 1)) !important;
}


/* Hover-Zustand: einheitlich dunkles Unteroverlay (hinter dem gelben, keine Gradient mehr) */
.category-tile:hover .category-tile-overlay {
    background: rgba(0, 0, 0, 0.9);
}

/* Gelber Overlay-Container - anfangs unsichtbar */
.category-tile-yellow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffeb3b;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    box-sizing: border-box;
}

/* Hover-Zustand: gelber Overlay blendet ein */
.category-tile:hover .category-tile-yellow-overlay {
    opacity: 1;
}

/* Liste im gelben Overlay - keine sichtbaren Bulletpoints */
.category-tile-yellow-overlay ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.category-tile-yellow-overlay ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    color: #000;
}

.category-tile-yellow-overlay ul li:last-child {
    border-bottom: none;
}

/* Stellenangebote-Section: reduzierter Abstand nur auf dieser Seite (10% des vorherigen my-5 = ca. 0.3rem) */
.jobs-section {
    margin-top: 0.3rem !important;
    margin-bottom: 0.3rem !important;
}

/* Stellenangebot-Detail: Abstand zwischen Beschreibung und Job-Details auf 0rem */
.jobs-detail-section {
    margin-top: 0rem !important;
    margin-bottom: 0rem !important;
}

/* Stellenangebote-Karten: Abstand zwischen Beschreibung und Buttons reduzieren */
.jobs-home-buttons {
    margin-top: auto !important;
}

.jobs-home-buttons .button {
    margin-top: 0 !important;
}

.jobs-home-buttons .button + .button {
    margin-left: 0.5rem;
}

/* ── Cookie Consent Banner ── */
.cookie-consent-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 1rem;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cookie-consent-overlay.show {
  opacity: 1;
  visibility: visible;
}

.cookie-consent-overlay[hidden] {
  display: none !important;
}

.cookie-consent-dialog {
  background: #fff;
  border-radius: 1rem;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  padding: 2rem 2rem 1.5rem;
  box-sizing: border-box;
  animation: cc-slide-up 0.35s ease;
}

@keyframes cc-slide-up {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.cookie-consent-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  color: #666;
  cursor: pointer;
  padding: 0.2rem;
  z-index: 2;
}

.cookie-consent-close:hover {
  color: #333;
}

.cookie-consent-header h2 {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  font-family: 'Bebas Neue', cursive;
  color: #000;
}

.cookie-consent-header p {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

.cookie-consent-categories {
  margin: 1.5rem 0;
}

.cookie-consent-categories h3 {
  margin: 0 0 1rem;
  font-size: 1.3rem;
  font-family: 'Bebas Neue', cursive;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  border-bottom: 1px solid #eee;
}

.cookie-category:last-child {
  border-bottom: none;
}

.cookie-category-info strong {
  display: block;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  color: #000;
  margin-bottom: 0.25rem;
}

.cookie-category-info p {
  margin: 0;
  font-size: 0.85rem;
  color: #666;
  line-height: 1.45;
}

.cookie-service-details {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 0.6rem;
  font-size: 0.8rem;
  color: #555;
  line-height: 1.5;
}

.cookie-service-details.collapsed {
  display: none;
}

.cookie-service-details a {
  color: #333;
  text-decoration: underline;
}

.cookie-service-details a:hover {
  color: #000;
}

.service-toggle-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #333;
  text-decoration: underline;
  cursor: pointer;
}

.service-toggle-link:hover {
  color: #000;
}

.service-detail-row {
  display: flex;
  margin-bottom: 0.35rem;
  flex-wrap: wrap;
}

.service-detail-label {
  flex: 0 0 auto;
  width: 120px;
  font-weight: 600;
  color: #333;
  margin-right: 0.5rem;
}

.service-detail-value {
  flex: 1;
  color: #555;
}

.service-detail-value a {
  color: #333;
  text-decoration: underline;
}

.service-detail-value a:hover {
  color: #000;
}

.service-detail-note {
  font-style: italic;
  color: #777;
}

.service-block {
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #eee;
}

.service-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.service-block-title {
  font-weight: 700;
  color: #000;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.cookie-category-toggle {
  flex-shrink: 0;
  margin-left: 1.5rem;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  vertical-align: middle;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.toggle-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ccc;
  border-radius: 26px;
  cursor: pointer;
  transition: background 0.25s;
}

.toggle-slider:before {
  position: absolute;
  content: '';
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.25s;
}

.toggle-switch input:checked + .toggle-slider {
  background: #ffeb3b;
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(22px);
}

.toggle-switch input:disabled + .toggle-slider {
  background: #e0e0e0;
  cursor: not-allowed;
}

.cookie-consent-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.cc-btn {
  flex: 1 1 auto;
  min-width: 110px;
  padding: 0.85rem 1.2rem;
  border: none;
  border-radius: 2rem;
  font-size: 0.95rem;
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: all 0.2s ease;
}

.cc-btn-primary {
  background: #333;
  color: #fff;
}

.cc-btn-primary:hover {
  background: #555;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cc-btn-secondary {
  background: #fff;
  color: #333;
  border: 2px solid #ccc;
}

.cc-btn-secondary:hover {
  background: #f7f7f7;
  border-color: #999;
}

.cc-btn-outline {
  background: #fff;
  color: #333;
  border: 2px solid #ccc;
}

.cc-btn-outline:hover {
  background: #f7f7f7;
  border-color: #999;
}

.cookie-consent-details {
  margin-top: 1.25rem;
}

.cookie-consent-details a {
  color: #555;
  text-decoration: underline;
  font-size: 0.85rem;
  font-family: 'Roboto', sans-serif;
}

.cookie-consent-details a:hover {
  color: #000;
}

.cookie-consent-details .cc-separator {
  margin: 0 0.5rem;
  color: #bbb;
  user-select: none;
}

.cookie-consent-details-extended {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
  display: none;
}

/* Permanenter Widerruf-Button (fix rechts unten) */
.cc-settings-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 10000;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 2rem;
  padding: 0.7rem;
  font-size: 0.85rem;
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  overflow: hidden;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cc-settings-icon {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 1.2rem;
  transition: opacity 0.15s ease;
}

.cc-settings-text {
  white-space: nowrap;
  opacity: 0;
  width: 0;
  overflow: hidden;
  transition: opacity 0.25s ease, width 0.25s ease, margin-left 0.25s ease;
}

.cc-settings-float:hover {
  background: #555;
  transform: translateY(-2px);
  width: auto;
  padding: 0.7rem 1rem 0.7rem 0.7rem;
}

.cc-settings-float:hover .cc-settings-text {
  opacity: 1;
  width: auto;
  margin-left: 0.5rem;
}

@media (max-width: 576px) {
  .cookie-consent-dialog {
    padding: 1.5rem 1.25rem 1.25rem;
    margin: 0.5rem;
  }

  .cc-btn {
    min-width: 100px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .cc-settings-float {
    bottom: 1rem;
    right: 1rem;
    font-size: 0.8rem;
    width: 2.6rem;
    height: 2.6rem;
    padding: 0.6rem;
  }

  .cc-settings-float:hover {
    padding: 0.6rem 1rem 0.6rem 0.6rem;
    width: auto;
  }
}