.navbar,
header.sticky-top {
    z-index: 1020
}

#kontaktbereich .section-title,
.section-title {
    font-size: 2rem;
    font-weight: 700
}

body,
html {
    max-width: 100%;
    overflow-x: hidden
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f8f8f8;
    color: #333;
    line-height: 1.6;
    margin: 0
}

.final-cta-soft-actions .btn,
h1,
h2 {
    font-weight: 600
}

.section-title {
    color: #333;
    display: inline-block;
    padding-bottom: .3rem;
    margin-bottom: 2rem;
    text-align: left;
    text-decoration: underline;
    text-decoration-color: #f39c12;
    text-decoration-thickness: 3px;
    text-underline-offset: 6px
}

.final-cta-soft-contact a,
.process-inline-link {
    color: #4682B4;
    font-weight: 600;
    text-underline-offset: 3px;
    text-decoration: underline;
    transition: color .2s
}

.process-inline-link:hover,
.process-inline-link:focus-visible {
    color: #0a1f3c;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: .85rem 1.25rem;
}

@media (max-width: 576px) {
    .navbar {
        padding: .45rem .9rem;
        min-height: 62px;
    }

    .navbar-brand img {
        max-height: 56px;
    }

    .navbar-toggler {
        padding: .25rem .5rem;
    }
}

footer {
    font-size: .9rem;
    background-color: #fff;
    color: #666;
    border-top: 1px solid #ddd;
    padding-top: 1rem
}

.footer-icon {
    height: 22px;
    width: 22px;
    display: inline-block;
}

header img {
    margin-top: 10px;
    margin-bottom: 0;
    max-height: 60px
}

.list-group-item {
    font-size: 1.05rem
}

[data-aos].aos-animate {
    opacity: 1
}

.col-md-4,
.container {
    padding-left: 1rem;
    padding-right: 1rem
}

.row.g-4 {
    margin-left: 0;
    margin-right: 0
}

.nav-link:hover,
.text-orange {
    color: #f39c12
}

.invalid-feedback {
    font-size: .875rem;
    color: #d9534f
}

.list-unstyled i {
    font-size: 1.2rem;
    vertical-align: middle
}

.text-box {
    background-color: rgba(255, 255, 255, .9);
    padding: 1.5rem;
    border-radius: .75rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .05)
}

.icon-box {
    background-color: #fef3e0;
    padding: .5rem;
    border-radius: .5rem;
    font-size: 1.5rem;
    color: #f39c12;
    display: flex;
    align-items: center;
    justify-content: center
}

.btn-warning,
.dot-indikator .dot.active {
    background-color: #f39c12
}

.karte-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .1)
}

#vorteile .row {
    margin-bottom: 4rem
}

.nav-link.active {
    border-bottom: 3px solid #f39c12;
    font-weight: 600;
    color: #f39c12 !important
}

.nav-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    color: #f39c12
}

.nav-icon-link:hover {
    opacity: .8
}

.nav-cta {
    font-weight: 600;
    border-radius: 999px;
    padding-inline: 1.5rem
}

.btn-warning {
    border: none;
    transition: background-color .2s
}

.btn-warning:hover {
    background-color: #d35400
}

form input:focus,
form textarea:focus {
    box-shadow: 0 0 5px rgba(243, 156, 18, .5)
}

.service-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .1)
}

.service-title {
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: .5rem;
    color: #333;
    text-align: center
}

.service-description {
    font-size: .95rem;
    color: #666;
    text-align: center
}

.service-tile:hover .service-icon {
    transform: scale(1.1);
    filter: grayscale(0%) brightness(1) sepia(1) hue-rotate(-20deg) saturate(500%) brightness(1.1)
}

.card {
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .05)
}

[data-aos] {
    opacity: 0;
    transition-property: opacity, transform
}

.modern-card {
    border-radius: 15px;
    overflow: hidden;
    background-color: #fff;
    transition: transform .4s cubic-bezier(.4, 0, .2, 1), box-shadow .4s;
    display: flex;
    flex-direction: column;
    height: 100%
}

.modern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .1)
}

.card-image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px
}

.card-image,
.card-image-container img,
.stapel-bild {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.card-image-container img {
    transition: transform .3s
}

.card-title-over-image {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .7)
}

.card-body {
    padding: 1.5rem;
    border-top: none
}

.card-group-hover:hover .modern-card {
    opacity: .92;
    transform: scale(.99)
}

.card-group-hover .modern-card:hover {
    opacity: 1 !important;
    transform: scale(1.015) !important;
    z-index: 10
}

.service-title::after {
    content: '';
    display: block;
    margin: .25rem auto 0;
    width: 40px;
    height: 3px;
    background: #f39c12;
    border-radius: 2px
}

.service-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: .5rem
}

.service-list li {
    font-size: .95rem;
    color: #555;
    margin-bottom: .25rem;
    position: relative;
    padding-left: 1.2rem
}

.service-list li::before {
    content: 'Ã¢â‚¬Âº';
    color: #f39c12;
    position: absolute;
    left: 0
}

.hover-description {
    opacity: 0;
    transform: translateY(5px);
    font-size: .9rem;
    color: #999;
    transition: .3s;
    max-height: 0;
    overflow: hidden
}

.modern-card:hover .hover-description {
    opacity: 1;
    max-height: 150px
}

form label {
    font-weight: 500
}

form input,
form select,
form textarea {
    border-radius: .375rem;
    border: 1px solid #ccc;
    transition: border-color .2s, box-shadow .2s
}

form input:focus,
form select:focus,
form textarea:focus {
    border-color: #f39c12;
    box-shadow: 0 0 5px rgba(243, 156, 18, .3)
}

.projekt-img {
    transition: transform .3s
}

.projekt-img:hover {
    transform: scale(1.05)
}

.stapel-bild {
    position: absolute;
    border-radius: 12px;
    opacity: 0;
    transform: scale(.95) rotate(-2deg);
    transition: .6s;
    z-index: 1;
    cursor: pointer;
    margin-bottom: 2rem
}

.gallery-arrow,
.slider-navigations button {
    top: 50%;
    cursor: pointer;
    transform: translateY(-50%)
}

.stapel-bild.active {
    opacity: 1;
    transform: scale(1) rotate(0);
    z-index: 10
}

.stapel-bild.next-1 {
    opacity: .8;
    transform: translateY(12px) scale(.95) rotate(3deg);
    z-index: 5
}

.stapel-bild.next-2 {
    opacity: .6;
    transform: translateY(24px) scale(.9) rotate(-2deg);
    z-index: 3
}

.dot-indikator {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    gap: 8px;
    margin-bottom: 2rem
}

.card-cta-link,
.modern-card .hover-description {
    margin-top: 10px
}

.dot-indikator .dot {
    width: 10px;
    height: 10px;
    background-color: #ccc;
    border-radius: 50%;
    transition: background-color .3s
}

#kontaktbereich {
    background-color: #f5f6f8
}

#kontaktbereich .section-subline {
    max-width: 720px;
    margin: 0 auto;
    font-size: .98rem;
    color: #2f343a
}

#kontaktbereich .contact-card-wrapper {
    max-width: 1120px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 24px;
    padding: 2.25rem 1.75rem;
    box-shadow: 0 14px 30px rgba(15, 23, 42, .06)
}

#kontaktbereich .contact-form-card,
#kontaktbereich .contact-info-card {
    background-color: #fff
}

#kontaktbereich .contact-info-card {
    border-left: 1px solid rgba(0, 0, 0, .04);
    padding-left: 1.75rem
}

#kontaktbereich .contact-list i {
    font-size: 1.1rem
}

#kontaktbereich .btn-warning {
    border-radius: 999px;
    padding-inline: 1.75rem
}

.card-cta-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 6px;
    font-weight: 600;
    color: #f39c12;
    font-size: .95rem;
    text-decoration: none;
    transition: .25s
}

.card-cta-link i {
    font-size: 1.2rem;
    transition: transform .25s
}

.card-cta-link:hover {
    color: #d98107
}

.card-cta-link:hover i {
    transform: translateX(3px)
}

@media (max-width:767.98px) {
    #kontaktbereich .section-title {
        font-size: 1.6rem
    }

    #kontaktbereich .section-subline,
    #kontaktbereich input:not([type=radio]):not([type=checkbox]),
    #kontaktbereich select,
    #kontaktbereich textarea {
        font-size: .9rem
    }

    #kontaktbereich .form-check-label,
    #kontaktbereich label {
        font-size: .85rem
    }

    #kontaktbereich .btn-warning {
        width: 100%;
        text-align: center
    }
}

.section-subline {
    margin-top: .5rem;
    color: #343a40
}

.trust-card-m {
    background: #fff;
    border-radius: 18px;
    padding: 2.2rem 1.8rem;
    box-shadow: 0 8px 26px rgba(0, 0, 0, .05);
    transition: transform .25s, box-shadow .25s;
    position: relative;
    overflow: hidden
}

.trust-card-m:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .08)
}

.trust-card-m::after {
    content: "";
    position: absolute;
    width: 70px;
    height: 70px;
    bottom: -15px;
    right: -15px;
    background-size: cover;
    opacity: .06
}

.fliesen-gallery,
.process-card,
.process-steps>[class*=col-] {
    position: relative
}

.trust-icon-m {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(243, 156, 18, .12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem
}

.trust-icon-m img {
    width: 28px;
    height: 28px
}

.trust-card-m-title {
    font-size: 1.12rem;
    font-weight: 700;
    margin-bottom: .85rem;
    position: relative
}

.trust-card-m-title::after {
    content: "";
    width: 32px;
    height: 3px;
    background: #f39c12;
    border-radius: 2px;
    display: block;
    margin: .45rem auto 0
}

.process-card-text,
.trust-card-m-text {
    font-size: .95rem;
    color: #555;
    line-height: 1.55
}

.process-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem 1.6rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .04);
    border: 1px solid rgba(0, 0, 0, .02);
    transition: transform .22s, box-shadow .22s;
    height: 100%
}

.process-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .08)
}

.process-step-number {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(243, 156, 18, .12);
    color: #f39c12;
    font-weight: 700;
    font-size: 1.05rem
}

.process-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: .7rem
}

@media (min-width:992px) {
    .process-steps>[class*=col-]::after {
        content: "›";
        position: absolute;
        top: 50%;
        right: -10px;
        transform: translateY(-50%);
        font-size: 1.6rem;
        color: #f39c12;
        font-weight: 700
    }

    .process-steps>[class*=col-]:last-child::after {
        content: none
    }
}

@media (max-width:991.98px) {
    #kontaktbereich .contact-card-wrapper {
        padding: 1.75rem 1.25rem;
        border-radius: 18px
    }

    #kontaktbereich .contact-info-card {
        border-left: none;
        border-top: 1px solid rgba(0, 0, 0, .04);
        padding-left: 0;
        padding-top: 1.5rem;
        margin-top: .5rem
    }

    .process-steps>[class*=col-]::after {
        content: "↓";
        position: absolute;
        left: 50%;
        bottom: -14px;
        transform: translateX(-50%);
        font-size: 1.1rem;
        color: #f39c12;
        opacity: .75
    }

    .process-steps>[class*=col-]:last-child::after {
        content: none
    }
}

.process-inline-link:hover {
    text-decoration: underline;
    color: #c7780e
}

.gallery-section {
    background: #f8f9fa
}

.fliesen-gallery {
    max-width: 960px;
    margin: 0 auto
}

.gallery-track-wrapper {
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .05)
}

.gallery-track {
    display: flex;
    align-items: stretch;
    transition: transform .3s;
    will-change: transform
}

.gallery-slide {
    min-width: 100%;
    flex: 0 0 100%;
    margin: 0;
    display: flex;
    flex-direction: column
}

.gallery-slide img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center
}

@supports not (aspect-ratio: 4 / 3) {
    .gallery-slide img {
        min-height: 420px;
    }
}

.gallery-slide figcaption {
    padding: .9rem 1.2rem 1.2rem;
    font-size: .95rem;
    color: #555
}

.gallery-arrow {
    position: absolute;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: background .2s, transform .2s
}

.gallery-arrow-prev {
    left: 12px
}

.gallery-arrow-next {
    right: 12px
}

.gallery-arrow:hover {
    background: rgba(0, 0, 0, .75);
    transform: translateY(-50%) scale(1.03)
}

.process-inline-cta {
    font-size: 1rem;
    color: #0a1f3c
}

.process-inline-link {
    font-weight: 600;
    color: #4682B4;
    text-decoration-color: #4682B4;
    margin-left: 4px
}

.service-tile {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    transition: transform .3s, box-shadow .3s;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .05);
    height: 100%;
    cursor: pointer;
    text-align: center
}

.service-icon {
    height: 48px;
    width: 48px;
    margin-bottom: 1rem;
    transition: transform .3s, filter .3s;
    filter: grayscale(100%) brightness(.7)
}

.projekt-stapel-wrapper {
    position: relative;
    max-width: 320px;
    margin: 0 auto;
    height: 480px;
    perspective: 1500px
}

.projekt-stapel {
    position: relative;
    width: 100%;
    height: 100%
}

.kachel-bild-wrapper {
    text-align: center;
    padding: 1rem
}

.kachel-logo {
    max-width: 250px;
    border-radius: 50%;
    border: 3px solid #f39c12;
    padding: 10px;
    background-color: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .1)
}

.kachel-text {
    background: #fff;
    border-left: 5px solid #f39c12;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .06);
    margin-top: 2rem;
    margin-bottom: 2rem;
    text-align: center
}

.kachel-icon {
    font-size: 2rem;
    color: #f39c12;
    margin-bottom: .5rem
}

.kachel-title {
    font-weight: 700;
    margin-bottom: .5rem
}

.kachel-subtext {
    color: #666
}

.prozess-container {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 1rem;
    align-items: center
}

.prozess-schritt {
    background: #fff;
    border-left: 4px solid #f39c12;
    padding: 1rem;
    border-radius: .5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .05);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    width: 100%
}

.prozess-schritt>a {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
    color: inherit;
    text-decoration: none
}

.go-top-btn,
.karte-label {
    align-items: center;
    display: flex
}

.prozess-text h5 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600
}

.prozess-text p {
    margin: 0;
    font-size: .9rem;
    color: #555
}

.prozess-pfeil {
    text-align: center;
    font-size: 1.25rem;
    color: #ccc;
    align-self: center
}

.karte-label {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background-color: rgba(255, 255, 255, .85);
    padding: .5rem 1rem;
    border-radius: 1.5rem;
    font-weight: 500;
    color: #333;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .1)
}

.karte-label i {
    color: #f39c12;
    font-size: 1.2rem
}

.prozess-box,
.vorteil-box {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem
}

.go-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background-color: #f39c12;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    padding: 12px;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
    color: #fff;
}

.go-top-btn span {
    font-size: 28px;
    color: #fff
}

.go-top-btn.show {
    opacity: 1;
    pointer-events: auto
}

.go-top-icon {
  width: 22px;
  height: 22px;
  pointer-events: none;
  color: #fff;
}

.quick-call-btn {
    position: fixed;
    bottom: 90px;
    right: 30px;
    z-index: 1100;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.quick-call-btn img {
    width: 20px;
    height: 20px;
    pointer-events: none;
}

.quick-call-btn:active,
.quick-call-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .18);
    background-color: rgba(243, 156, 18, .12);
}

@media (min-width: 768px) {
    .quick-call-btn {
        display: none;
    }
}

.btn-mobile-cta {
    border-radius: 999px;
    font-size: .85rem;
    padding: .35rem .85rem !important;
    line-height: 1.1;
    white-space: nowrap;
}

@media (max-width: 400px) {
    .btn-mobile-cta {
        font-size: .78rem;
        padding: .35rem .65rem !important;
    }
}

@media (max-width: 350px) {
    .btn-mobile-cta {
        font-size: .72rem;
        padding: .3rem .55rem !important;
    }
}

@media (max-width: 576px) {
    .prozess-schritt,
    .prozess-schritt>a {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .prozess-schritt .prozess-text {
        text-align: center;
    }

    .prozess-schritt .icon,
    .prozess-schritt .icon-box {
        margin-bottom: .35rem;
    }
}

.footer-dark {
    background-color: #1b1b1d;
    color: #ccc
}

.footer-dark h6 {
    color: #f1f1f1
}

.footer-dark .footer-link {
    color: #d7d7d7;
    text-decoration: none;
    transition: color .3s
}

.footer-dark .footer-link:hover {
    color: #f39c12;
    text-decoration: none
}

.footer-dark .text-success {
    color: #4cd97b !important;
    font-weight: 600
}

.footer-dark .bi-whatsapp {
    font-size: 1.1rem;
    vertical-align: text-bottom
}

.kontakt-zeile {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .5rem
}

.kontakt-zeile .icon {
    font-size: 1.2rem;
    line-height: 1;
    display: inline-block;
    width: 1.5rem
}

@media (max-width:767px) {
    .kontakt-zeile {
        justify-content: center
    }
}



/* .subpage-hero-fliesen {
    background: url("../assets/images/Fliesenarbeiten_2.webp") center center/cover no-repeat
} */

.subpage-hero-maler {
    background: url("../assets/images/Malerarbeiten_bunt.webp") center center/cover no-repeat
}

.subpage-hero-wohnung {
    background: url("../assets/images/Wohnung_1.webp") center center/cover no-repeat
}

.subpage-hero-trockenbau {
    background: url("../assets/images/Trockenbau_1.webp") center center/cover no-repeat
}

.subpage-hero-boden {
    background: url("../assets/images/Bodenarbeiten.webp") center center/cover no-repeat
}

.subpage-hero-abbruch {
    background: url("../assets/images/Abbrucharbeiten.webp") center center/cover no-repeat
}

.subpage-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  justify-content: center;   /* horizontal zentriert */
  align-items: center;       /* vertikal zentriert */
  text-align: center;
  color: #fff;
  padding: 4rem 1.5rem;      /* etwas Luft zum Rand */
  overflow: hidden;
}

/* Hintergrundbild */
.subpage-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.subpage-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Abdunkelung */
.subpage-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.65) 100%
  );
  z-index: 1;
}

/* Inhalt */
.subpage-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 750px;
  margin: 0 auto;
  max-width: 650px
}

.subpage-hero-kicker {
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  opacity: 0.9;
  color: #f39c12;
}

.subpage-hero-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.subpage-hero-subline {
  font-size: 1.1rem;
  opacity: 0.95;
  margin-bottom: 1.5rem;
}

.subpage-hero-cta {
  margin-top: 1rem;
}

.subpage-hero-note {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  opacity: 0.85;
}

.final-cta-soft {
    background: #eef2f7;
    color: #333
}

.final-cta-soft-panel {
    border-radius: 22px;
    padding: 2.2rem 2rem;
    background: #fff;
    box-shadow: 0 6px 22px rgba(0, 0, 0, .05);
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: center
}

.final-cta-soft-title {
    font-size: clamp(1.8rem, 2.4vw, 2.2rem);
    font-weight: 700;
    margin-bottom: .6rem
}

.final-cta-soft-subline {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #555
}

.final-cta-soft-note {
    font-size: .95rem;
    margin-bottom: .4rem
}

.final-cta-soft-contact a {
    color: #333;
    text-decoration-color: #c0c7d3
}

:root {
    --limani-orange: #f39c12
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Montserrat, sans-serif
}

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

.slider-wrapper .slider-item {
    position: relative;
    width: 100%;
    height: 90vh;
    display: flex;
    align-items: center
}

.slider-wrapper .slider-item {
  position: relative;
  overflow: hidden;
}

.slider-wrapper .slider-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg-img);
  background-size: cover;
  background-position: center;
  filter: grayscale(20%);
  transition: opacity .3s ease;
  opacity: 0;
}

.slider-wrapper .slider-item.bg-loaded::before {
  opacity: 1;
}

.slider-wrapper .slider-item .slide-content {
    opacity: 1;
    color: #fff;
    z-index: 2;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px 10px;
    max-width: 1400px;
    position: relative
}

.slider-wrapper .slider-item::before {
    background-color: rgba(0, 0, 0, .262);
    background-blend-mode: darken
}

.slider-item.swiper-slide-active .slide-content {
    animation: .8s linear .6s forwards animate_opacity
}

@keyframes animate_opacity {
    100% {
        opacity: 1
    }
}

.slider-wrapper .slider-item .slide-content>* {
    max-width: 35%
}

.slider-item .slide-content .slide-subtitle {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0;
    transform: translateY(60%)
}

.hero-main-heading-wrapper {
    position: absolute;
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    z-index: 30;
    pointer-events: none;
    opacity: 0;
    animation: 1.2s ease-out forwards fadeInHero
}

@keyframes fadeInHero {
    0% {
        opacity: 0;
        transform: translate(-50%, 20px)
    }

    100% {
        opacity: 1;
        transform: translate(-50%, 0)
    }
}

.hero-main-heading {
    display: inline-block;
    position: relative;
    font-size: clamp(26px, 3.2vw, 46px);
    font-weight: 700;
    color: rgba(255, 255, 255, .97);
    padding: 18px 30px;
    line-height: 1.2;
    backdrop-filter: blur(4px);
    border-radius: 12px
}

.hero-main-heading .hero-subline {
    font-size: .7em;
    font-weight: 500;
    opacity: .9
}

.hero-main-heading::after,
.hero-main-heading::before {
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    border-width: 4px;
    border-radius: 3px
}

.hero-main-heading::before {
    top: 0;
    left: 0;
    border-top: 4px solid var(--limani-orange);
    border-left: 4px solid var(--limani-orange)
}

.hero-main-heading::after {
    bottom: 0;
    right: 0;
    border-bottom: 4px solid var(--limani-orange);
    border-right: 4px solid var(--limani-orange)
}

.slider-item .slide-content .slide-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 5px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(60%)
}

.slider-item.swiper-slide-active :where(.slide-subtitle, .slide-title) {
    animation: .6s linear .6s forwards animate_text
}

@keyframes animate_text {
    100% {
        opacity: 1;
        transform: translateY(0)
    }
}

.slider-item .slide-content .slide-description {
    line-height: 25px;
    margin-top: 25px;
    opacity: 0;
    transform: translateY(60%)
}

.slider-item.swiper-slide-active .slide-description {
    animation: .6s linear 1s forwards animate_text
}

.slider-item .slide-content .slide-button {
    color: #fff;
    opacity: 0;
    width: 0;
    padding: 13px 0;
    display: block;
    margin-top: 45px;
    font-size: .8rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: 1px;
    white-space: nowrap;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid #fff;
    transition: .5s
}

.slider-item .slide-content .slide-button span {
    opacity: 0
}

.slider-item.swiper-slide-active .slide-button span {
    animation: .6s linear 1.5s forwards animate_opacity
}

.slider-item.swiper-slide-active .slide-button {
    animation: .6s linear 1.3s forwards animate_button
}

@keyframes animate_button {
    100% {
        opacity: 1;
        width: 250px
    }
}

.slider-item .slide-content .slide-button:hover {
    color: #000;
    background: #fff
}

.slider-container .slider-controls {
    position: absolute;
    bottom: 45px;
    z-index: 20;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none
}

.slider-controls .slider-pagination {
    display: flex;
    margin: 0 auto;
    padding: 0 20px;
    max-width: 1400;
    list-style: none;
    justify-content: space-between
}

.slider-controls .slider-indicator {
    position: absolute;
    bottom: 0;
    border-bottom: 2px solid #f39c12;
    transition: .4s ease-in-out;
    list-style: none;
    pointer-events: none
}

.slider-pagination .slider-tab {
    color: #fff;
    text-align: center;
    cursor: pointer;
    font-size: .85rem;
    padding: 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, .35);
    background-color: transparent
}

.slider-navigations button {
    position: absolute;
    height: 40px;
    width: 40px;
    z-index: 20;
    color: #fff;
    border: none;
    background: #202022;
    transition: .4s
}

.slider-navigations button.swiper-button-disabled {
    display: none
}

.slider-navigations button:hover {
    background: #323235
}

.slider-navigations button#slide-prev {
    left: 20px
}

.slider-navigations button#slide-next {
    right: 20px
}

/* Standard: Desktop – Mobile-Hero aus, Slider an */
.hero-mobile {
  display: none;
}

/* Mobile-Version */
@media (max-width: 767.98px) {
  .hero-mobile {
    position: relative;
    display: flex;               /* <– wichtig: sichtbar machen */
    align-items: center;       /* Content nach unten, wirkt moderner */
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 6rem 1.5rem 3.5rem; /* Platz für Navbar + Button */
    color: #fff;
    overflow: hidden;
  }

  /* dunkles Overlay über dem Bild */
  .hero-mobile::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.25),
      rgba(0, 0, 0, 0.75)
    );
    z-index: 0;
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;                 /* Bild hinter Overlay + Text */
  }

  .hero-mobile-inner {
    position: relative;
    z-index: 1;
    max-width: 32rem;
    text-align: center;
  }

  .hero-kicker {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    opacity: 0.95;
  }

  .hero-title {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.2;
  }

  .hero-subline {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    opacity: 0.95;
  }

  .hero-mobile .btn {
    font-size: 0.95rem;
  }

  /* Slider auf Mobile ausblenden */
  .slider-show {
    display: none;
  }
}




@media (max-width:1536px) {

    .slider-controls .slider-pagination .slider-indicator,
    .slider-wrapper .slider-item .slide-content {
        width: 85%
    }
}

@media (max-width:1024px) {

    .slider-controls .slider-pagination .slider-indicator,
    .slider-wrapper .slider-item .slide-content {
        width: 85%
    }

    .slider-wrapper .slider-item .slide-content>* {
        max-width: 66%
    }

    .slider-navigations button {
        top: unset;
        bottom: -15px;
        background: 0 0
    }

    .slider-navigations button:hover {
        background: 0 0
    }
}

@media (max-width:768px) {
    .gallery-slide img {
        aspect-ratio: 3 / 2;
    }

    .gallery-arrow {
        width: 30px;
        height: 30px;
        font-size: .85rem
    }

    .subpage-hero {
        padding: 6rem 0 3.5rem;
        min-height: 100vh;
        min-height: 100dvh
    }

    .final-cta-soft-panel {
        grid-template-columns: 1fr;
        padding: 1.8rem 1.4rem
    }

    .slider-wrapper .slider-item .slide-content>* {
        max-width: 100%
    }

    .slider-pagination .slider-indicator {
        width: 85%
    }

    .slider-wrapper {
        height: 85vh
    }

    .slider-show .slide-content {
        margin-top: 40px
    }
}

@media (min-width:1200px) {
    .container {
        padding-left: 4rem;
        padding-right: 4rem
    }
}

@media (min-width:768px) {

    .container,
    .formular-abstand {
        padding-left: 2rem
    }

    .container {
        padding-right: 2rem
    }
}

@media (max-width:576px) {

    /* Slider NICHT mehr reaktivieren */
    .subpage-hero {
        min-height: 100vh;
        min-height: 100dvh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-top: 5rem;
        padding-bottom: 3rem;
    }

    /* Slider explizit aus */
    .slider-show {
        display: none !important;
        min-height: 0;
    }

    .gallery-slide img {
        aspect-ratio: 4 / 3;
    }

    .form-label {
        font-size: .9rem;
        margin-bottom: .2rem;
    }

    .form-control,
    .form-select {
        font-size: .9rem;
        padding: .4rem .6rem;
        height: auto;
    }

    .form-check {
        margin-bottom: .5rem
    }

    .form-check-input {
        margin-top: .1rem
    }

    .btn {
        font-size: .95rem;
        padding: .5rem 1rem
    }

    .form-group,
    .mb-3 {
        margin-bottom: .75rem !important
    }

    #kontaktbereich .row {
        flex-direction: column !important
    }

    #kontaktbereich .col-md-6 {
        width: 100% !important;
        max-width: 100%;
        flex: 0 0 100%
    }

    #kontaktbereich .form-control,
    #kontaktbereich .form-select,
    .slider-item .slide-title {
        font-size: 1rem
    }

    #kontaktbereich .form-label,
    .prozess-box p,
    .vorteil-box p {
        font-size: .95rem
    }

    #kontaktbereich .form-row {
        display: flex;
        gap: 1rem
    }

    #kontaktbereich .form-col {
        flex: 1
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
        max-width: 100%
    }

    .kachel-bild-wrapper,
    .kachel-text,
    .projekt-stapel-wrapper,
    .prozess-container {
        width: 95%;
        margin-left: auto;
        margin-right: auto
    }

    .hero-main-heading-wrapper {
        top: 40px;
        width: 90%
    }

    .hero-main-heading {
        font-size: clamp(18px, 5vw, 24px);
        padding: 8px 10px;
        max-width: 90vw
    }

    .hero-main-heading .hero-subline {
        font-size: .7em;
        display: none
    }

    .hero-main-heading::after,
    .hero-main-heading::before {
        width: 14px;
        height: 14px;
        border-width: 3px
    }

    .slider-show {
        padding-top: 0;
        margin-top: 1rem
    }

    .slider-item .slide-description {
        font-size: .9rem
    }

    .slider-item .slide-button {
        font-size: .85rem;
        padding: 10px 20px
    }

    body,
    html {
        max-width: 100%;
        overflow-x: hidden
    }

    .prozess-container {
        align-items: center;
        justify-content: center;
        text-align: center;
        margin-bottom: 7rem
    }

    .prozess-box,
    .section-title,
    .vorteil-box,
    .vorteil-text {
        text-align: center;
        align-items: center;
        line-height: 1.5
    }

    .projekt-stapel,
    .prozess-box .icon,
    .vorteil-box .icon {
        margin: 0 auto
    }

    .prozess-box,
    .vorteil-box {
        padding: 1rem;
        margin: 2rem 0
    }

    .dot-indikator,
    .kachel-text,
    .stapel-bild,
    .vorteil-section .section-title,
    .vorteil-section .stapel-bild,
    .vorteil-section .stapel-bild+.dot-indikator {
        margin-bottom: 2rem
    }

    .prozess-box h4,
    .vorteil-box h3 {
        font-size: 1.1rem
    }

    .vorteil-section .card {
        padding-top: 2rem;
        padding-bottom: 2rem
    }

    .vorteil-section .prozess-schritt {
        margin-top: 1.5rem;
        margin-bottom: 1.5rem
    }

    .vorteils-bild,
    .vorteils-kachel {
        margin-top: 2rem;
        margin-bottom: 2rem
    }

    #vorteile .row {
        margin-bottom: 3rem
    }

    .kachel-text {
        margin-top: 2rem;
        text-align: center
    }

    .kachel-icon {
        justify-content: center
    }

    .kachel-subtext,
    .kachel-title,
    .process-inline-cta {
        text-align: center
    }

    .prozess-schritt {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem 0
    }

    .prozess-pfeil {
        align-self: center
    }

    .projekt-stapel-wrapper {
        margin-bottom: 7rem;
        margin-left: auto;
        margin-right: auto;
        display: block;
        padding: 0
    }

    .modern-card {
        margin-bottom: 1rem
    }

    .card {
        height: 300px;
        display: flex;
        flex-direction: column
    }

    .card-body {
        max-height: 70%;
        overflow-y: auto;
        padding: 1rem .5rem
    }

    .card-body .hover-description {
        display: block;
        margin-top: 1rem
    }

    .card-image {
        object-fit: contain;
        background: #f8f8f8
    }

    body {
        font-size: .85rem
    }

    .section-title {
        font-size: 1.35rem
    }

    .gallery-slide img {
        width: 100%;
        height: auto;
        max-height: 70vh;
        object-fit: cover
    }

    .process-inline-cta a {
        display: block;
        margin-top: 4px
    }
}

/* ============================
   SEO-Text-Passagen / Typografie
   ============================ */

/* Gemeinsames Verhalten für Content-Section-Titel */
.section-title {
  text-align: left;
}

/* Subline/Erklärtexte unter Überschriften */
.section-subline {
  text-align: left;
  max-width: 48rem;
  margin: 0 auto;
}

/* ============================
   SEO-Text-Sektionen / Typografie
   ============================ */

/* Wrapper für Textsektionen mit Fokus auf Inhalt */
.seo-section {
  padding-block: 3rem;
}

/* Innerer Container: begrenzte Breite für bessere Lesbarkeit */
.seo-section-inner {
  max-width: 52rem;  /* ~830px */
  margin: 0 auto;
}

/* Überschrift: Desktop linksbündig, mobil zentriert */
.seo-section .section-title {
  font-size: clamp(1.6rem, 2vw + 1rem, 2.1rem);
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: left;
  position: relative;
}



/* Haupt-Textkörper */
.seo-body {
  font-size: 1rem;
  line-height: 1.8;
  color: #222;
  text-align: left;
}

/* Optional dezente Betonung: nur eine schmale Linie links, kein Card-Look */
.seo-body--accent {
  border-left: 3px solid rgba(243, 156, 18, 0.4);
  padding-left: 1.25rem;
  color: #0f2e5a;
}

.partner-section {
    background: #f8f9fb
}

.partner-header {
    max-width: 640px
}

.partner-grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem
}

.partner-card {
    background: #fff;
    border: 1px solid rgba(15, 46, 90, .08);
    border-radius: 16px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
    transition: transform .2s ease, box-shadow .2s ease;
    text-decoration: none;
    color: inherit;
    text-align: center
}

.partner-card:hover {
    transform: translateY(-4px);
    border-color: #f39c12;
}

.partner-logo-wrap {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem
}

.partner-logo {
    max-height: 60px;
    max-width: 140px;
    object-fit: contain
}

.partner-text {
    flex-grow: 1;
    font-size: .95rem;
    color: #5c6573;
    margin-bottom: 1.25rem
}

.partner-link {
    font-weight: 600;
    color: #0f2e5a;
    text-decoration: none
}

.partner-link:hover {
    color: #f39c12
}

  


/* Mehrere Absätze hintereinander: saubere Abstände */
.seo-body + .seo-body {
  margin-top: 0.9rem;
}

/* MOBILE: Überschrift zentriert, Text linksbündig */
@media (max-width: 767.98px) {
  .section-title {
    text-align: center;
  }

  .section-subline {
    text-align: left;
  }

  .seo-section .section-title {
    text-align: center;
  }

  .seo-section .section-title::before {
    margin-inline: auto;
  }

  .seo-body {
    text-align: left;
  }
  
  .partner-card {
    text-align: center;
  }

  #main-content h1,
  #main-content h2,
  #main-content h3,
  #main-content h4,
  #main-content h5,
  #main-content h6,
  #main-content .section-title {
    text-align: center;
  }
}


/* DESKTOP: alles klar linksbündig, saubere Breite */
@media (min-width: 768px) {
  .seo-section {
    padding-block: 3.5rem;
  }
}

