.dropdown,
.navbar-toggler {
    position: relative
}

.btn,
.contact-info a,
.dropdown-menu li a,
.legal-links a,
.legal-links a:hover,
.link-item a,
a {
    text-decoration: none
}

.modal,
.navbar-toggler.open span {
    opacity: 0
}

body {
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
    font-family: Roboto, sans-serif;
    color: #333;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh
}

.main-container {
    background-color: #fff;
    margin: 20px;
    max-width: 1000px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .2), 0 6px 20px rgba(0, 0, 0, .19);
    border-radius: 8px;
    overflow: hidden;
    width: auto
}

.content-container {
    padding: 20px
}

@font-face {
    font-family: Roboto;
    src: url('fonts/Roboto-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Roboto;
    src: url('./fonts/Roboto-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


ul {
    list-style-type: none
}

a {
    color: #000
}

.navbar {
    background: linear-gradient(to right, #74c4e9, #8fcf60);
    padding: 1rem
}

/* Macht das Button-Element im Dropdown wie einen normalen Link */
.dropdown-toggle {
    background: none;
    border: none;
    color: #fff;
    transition: color .3s;
    display: inline-block;
    cursor: pointer;
    font: inherit;
    padding: 0;
    margin: 0;
    text-decoration: none;
}

.dropdown-toggle:hover,
.dropdown-toggle:focus {
    color: #f0f0f0;
    /* Beispiel: Hover-Farbe wie die Links */
    outline: none;
}

.navbar-content {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%
}

.navbar-head {
    display: flex;
    align-items: center;
    width: 100%
}

.navbar-brand {
    color: #fff;
    font-size: 1.5rem
}

.logo {
    margin-right: 30px;
    vertical-align: middle
}

.eee-logo,
.gih-logo {
    height: 40px;
    width: auto;
}

.cm-logo {
    height: 60px;
    width: auto;
}


.navbar-toggler {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    background: 0 0;
    border: none;
    margin-right: 5px
}

.navbar-toggler span,
.navbar-toggler::after,
.navbar-toggler::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: .3s
}

.navbar-toggler span {
    top: 9px
}

.navbar-toggler::before {
    top: 0
}

.navbar-toggler::after {
    top: 18px
}

.navbar-toggler.open::before {
    transform: rotate(45deg) translate(5px, 5px)
}

.navbar-toggler.open::after {
    transform: rotate(-45deg) translate(7px, -8px)
}

.navbar-collapse {
    display: flex;
    justify-content: flex-end;
    align-items: center
}

.links-list {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0
}

.link-item {
    margin-left: 20px;
    white-space: nowrap
}

.link-item a {
    color: #fff;
    transition: color .3s;
    display: inline-block
}

.link-item a:hover {
    color: #f0f0f0
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(to right, #74c4e9, #8fcf60);
    list-style: none;
    padding: 0;
    margin: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .1);
    z-index: 2
}

.dropdown-menu li {
    width: 200px
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: #fff;
    transition: background-color .3s
}

.dropdown-menu li a:hover {
    background-color: rgba(0, 0, 0, .1)
}

.dropdown.open .dropdown-menu,
.tab-content.active {
    display: block
}

.hero-section {
    position: relative;
    overflow: hidden;
    color: #fff;
    text-align: center;
    padding: 5rem 1rem
}

.hero-video,
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%
}

.hero-video {
    object-fit: cover;
    z-index: 0
}

.overlay {
    background: rgba(0, 0, 0, .5);
    z-index: 1
}

.hero-content {
    position: relative;
    z-index: 2
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

#scrollToTopBtn,
.modal {
    position: fixed;
    z-index: 1000
}

.btn,
.hero-degree,
.hero-name,
.hero-title,
.lead {
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, .2)
}

.cta-button-wrapper,
.hero-name-container {
    display: flex;
    flex-direction: column;
    align-items: center
}

.hero-degree {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: -.5rem;
    margin-left: -265px;
    text-align: left
}

.hero-name {
    font-size: 2.5rem;
    font-weight: 400;
    margin-top: 0
}

.cta-buttons {
    display: flex;
    justify-content: space-evenly;
    margin: 20px 0;
    text-align: center
}

.cta-button {
    background-color: #74c4e9;
    padding: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color .3s, transform .3s;
    margin-bottom: 10px
}

.cta-button img,
.floating-call-button img,
.floating-email-button img {
    width: 30px;
    height: 30px
}

.cta-button:hover,
.floating-call-button:hover,
.floating-email-button:hover {
    background-color: #8fcf60;
    transform: scale(1.1)
}

.contact-info {
    margin-top: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, .2)
}

.btn,
.price {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, .1)
}

.contact-info a {
    color: #fff
}

.about-me-contact .contact-info a:hover,
.contact-info a:hover {
    text-decoration: underline
}

.btn {
    background: linear-gradient(to right, #74c4e9, #8fcf60);
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    display: inline-block;
    transition: background .3s, transform .3s, box-shadow .3s
}

.btn:hover {
    background: linear-gradient(to right, #8fcf60, #74c4e9);
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, .3)
}

.faq-question:hover,
.read-more-btn:hover,
.tab-button.active,
.tab-button:hover {
    background-color: #8fcf60
}

.btn:active,
.contact-form-container .form-submit button:active {
    transform: scale(.98);
    box-shadow: 0 2px 4px rgba(0, 0, 0, .2)
}

@media (max-width:410px) {
    h1 {
        font-size: 1.8rem
    }

    h2 {
        font-size: 1.3rem
    }

    .eee-logo {
        height: 30px
    }

    .cm-logo {
        height: 50px
    }

    .logo {
        margin-right: 20px;
        vertical-align: middle
    }

    .hero-degree {
        font-size: 1rem;
        font-weight: 400;
        margin-bottom: -.5rem;
        margin-left: -215px;
        text-align: left
    }

    .hero-name {
        font-size: 2rem;
        font-weight: 400;
        margin-top: 0
    }

    .hero-title {
        font-size: 1.6rem
    }

    .navbar-head {
        justify-content: space-between !important
    }
}

@media (max-width:320px) {
    h1 {
        font-size: 1.6rem !important
    }

    h2 {
        font-size: 1.1rem !important
    }

    .hero-title,
    h3 {
        font-size: 1.2rem !important
    }

    .eee-logo {
        height: 25px !important
    }

    .cm-logo {
        height: 45px !important
    }

    .logo {
        margin-right: 10px !important;
        vertical-align: middle
    }

    .hero-degree {
        font-size: .8rem !important;
        font-weight: 400;
        margin-bottom: -0rem;
        margin-left: -140px !important;
        text-align: left
    }

    .hero-name,
    .roadmap-heading {
        font-size: 1.4rem !important
    }

    .hero-name {
        font-weight: 400;
        margin-top: 0
    }

    .faq-content {
        padding: 0 !important
    }

    .faq-answer p,
    .faq-question,
    .legal-links a {
        font-size: .8rem !important
    }

    .faq-item.open .faq-answer {
        padding: 5px !important
    }

    .intro-text {
        margin-left: 5px !important;
        margin-right: 5px !important
    }

    .price-table {
        margin-top: 0 !important
    }

    .text--sm,
    .text--sm .p {
        margin: 3px !important;
        font-size: .9rem !important
    }
}

.close,
.price,
.required {
    font-weight: 700
}

#scrollToTopBtn {
    display: none;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, .8);
    border: none;
    outline: 0;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .2);
    opacity: 0;
    transition: opacity .3s, background-color .3s;
    display: flex;
    align-items: center;
    justify-content: center
}

#scrollToTopBtn img {
    width: 30px;
    height: 27px;
    opacity: .5;
    transition: opacity .3s
}

#scrollToTopBtn:hover img {
    opacity: 1
}

.floating-call-button,
.floating-email-button {
    display: none;
    position: fixed;
    top: calc(100% - 70px);
    right: 20px;
    background-color: #74c4e9;
    padding: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color .3s, transform .3s;
    z-index: 1000;
    animation: 2s infinite bounce;
    transform: translateY(0)
}

@keyframes bounce {

    0%,
    100%,
    20%,
    50%,
    80% {
        transform: translateY(0)
    }

    40% {
        transform: translateY(-10px)
    }

    60% {
        transform: translateY(-5px)
    }
}

@media (max-width:768px) {
    .main-container {
        margin: 10px
    }

    .content-container {
        padding: 10px
    }

    body {
        justify-content: flex-start
    }

    .navbar-content {
        flex-direction: column;
        align-items: flex-start
    }

    .dropdown.open .dropdown-menu,
    .navbar-toggler {
        display: block
    }

    .navbar-collapse {
        overflow: hidden;
        max-height: 0;
        transition: max-height .5s ease-out;
        width: 100%
    }

    .navbar-collapse.show {
        max-height: none
    }

    .links-list {
        flex-direction: column;
        width: 100%
    }

    .link-item {
        margin: 10px 0
    }

    .dropdown-menu {
        position: relative;
        top: auto;
        left: auto;
        box-shadow: none;
        background: 0 0
    }

    .dropdown-menu li a {
        padding: 10px 20px;
        background: linear-gradient(to right, #74c4e9, #8fcf60)
    }

    .floating-call-button {
        display: flex
    }

    .floating-email-button {
        display: none
    }

    .navbar-head {
        justify-content: center;
    }
}

.about-me-image img,
.contact-form-container,
.modeling-image,
.modeling-video,
.service-item {
    box-shadow: 0 4px 8px rgba(0, 0, 0, .1)
}

@media (min-width:769px) {
    .floating-call-button {
        display: none
    }

    .floating-email-button {
        display: flex
    }
}

.roadmap-section {
    padding: 40px 0;
    background-color: #f0f0f0;
    text-align: center
}

.roadmap-heading {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px
}

.roadmap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px
}

.roadmap-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 150px
}

.roadmap-step p {
    font-size: 1rem;
    color: #333;
    margin-top: 10px
}

.roadmap-icon {
    width: 60px;
    height: 60px
}

.roadmap-arrow {
    font-size: 2rem;
    color: #74c4e9
}

.services-section {
    padding: 40px 0;
    background-color: #f9f9f9;
    text-align: center
}

.services-section .section-heading {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px
}

.intro-text {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center
}

.service-item {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    text-align: left;
    border-radius: 8px;
    overflow: hidden
}

.card-footer,
.read-more-btn {
    align-items: center;
    display: flex
}

.service-item-left .service-image {
    order: 1
}

.service-item-left .service-content {
    order: 2;
    margin-left: auto
}

.service-item-right .service-image {
    order: 2
}

.service-item-right .service-content {
    order: 1;
    margin-right: auto
}

.service-image {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    width: 50%;
    height: 400px
}

.service-content {
    width: 50%;
    max-width: 365px;
    padding: 20px;
    margin: 0 auto;
    box-sizing: border-box;
    text-align: left
}

.contact-form-container .form-group,
.modal-section,
.tabs {
    margin-bottom: 20px
}

.service-content h3 {
    font-size: 1.8rem;
    color: #444;
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, .1);
    border-bottom: 2px solid #444;
    display: inline-block;
    padding-bottom: 5px
}

.service-content p {
    font-size: .9rem;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6
}

.card-footer {
    justify-content: flex-start;
    padding-bottom: 15px;
    padding-top: 15px
}

.read-more-btn {
    background-color: #74c4e9;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color .3s, transform .3s;
    text-align: center;
    justify-content: center
}

.read-more-btn:hover {
    transform: scale(1.05)
}

.price {
    border: 2px solid #74c4e9;
    border-left: none;
    color: #8fcf60;
    padding: 4.5px 20px;
    margin-left: -18px;
    border-radius: 0 30px 30px 0;
    font-size: 1.2rem;
    background: 0 0;
    display: flex;
    align-items: center
}

.service-image-1 {
    background: linear-gradient(rgba(0, 0, 0, .3), rgba(0, 0, 0, .3)), url('media/sanierungsfahrplan.webp') center/cover no-repeat
}

.service-image-2 {
    background: linear-gradient(rgba(0, 0, 0, .3), rgba(0, 0, 0, .3)), url('media/energieausweise.webp') center/cover no-repeat
}

.service-image-3 {
    background: linear-gradient(rgba(0, 0, 0, .3), rgba(0, 0, 0, .3)), url('media/energetische-sanierung.webp') center/cover no-repeat
}

.service-image-4 {
    background: linear-gradient(rgba(0, 0, 0, .3), rgba(0, 0, 0, .3)), url('media/heizlastberechnung.webp') center/cover no-repeat
}

.service-image-5 {
    background: linear-gradient(rgba(0, 0, 0, .3), rgba(0, 0, 0, .3)), url('media/energieberatung.webp') center/cover no-repeat
}

.service-image-ablauf {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url('media/energieberater-beratung-vor-ort-isfp.webp') center/cover no-repeat;
}

.service-image-bonus {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url('media/isfp-bonus-foerderung-sanierung.webp') center/cover no-repeat;
}

.service-image-foerdermittel {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url('media/foerdermittel-beratung-energie.webp') center/cover no-repeat;
}

.service-image-ausweis-ablauf {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url('media/energieberater-energieausweis-ablauf.webp') center/cover no-repeat;
}

.service-image-ausweis-arten {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url('media/energieberater-energieausweis-arten.webp') center/cover no-repeat;
}

.service-image-ausweis-nutzen {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url('media/energieberater-energieausweis-nutzen.webp') center/cover no-repeat;
}

.service-image-heizlast-ablauf {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url('media/energieberater-heizlastberechnung-ablauf.webp') center/cover no-repeat;
}

.service-image-heizlast-einsatz {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url('media/energieberater-heizlastberechnung-einsatz.webp') center/cover no-repeat;
}

.service-image-heizlast-leistungen {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url('media/energieberater-heizlastberechnung-leistungen.webp') center/cover no-repeat;
}

.service-image-energieberatung-hauskauf {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url('media/energieberater-energieberatung-hauskauf.webp') center/cover no-repeat;
}

.service-image-energieberatung-heizung {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url('media/energieberater-energieberatung-heizung.webp') center/cover no-repeat;
}

.service-image-energieberatung-pv {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url('media/energieberater-energieberatung-pv.webp') center/cover no-repeat;
}

.service-image-energieberatung-foerdermittel {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url('media/energieberater-energieberatung-foerdermittel.webp') center/cover no-repeat;
}

.service-image-energetische-sanierung-ablauf {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url('media/energieberater-energetische-sanierung-ablauf.webp') center/cover no-repeat;
}

.service-image-energetische-sanierung-massnahmen {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url('media/energieberater-energetische-sanierung-massnahmen.webp') center/cover no-repeat;
}

.service-image-energetische-sanierung-warum {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url('media/energieberater-energetische-sanierung-warum.webp') center/cover no-repeat;
}

.modal {
    display: none;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, .4);
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    transition: opacity .3s ease-in-out
}

.modal.show,
.tab-button,
.tabs {
    display: flex
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    width: 80%;
    max-width: 600px;
    max-height: 95%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(.8);
    transition: transform .3s ease-in-out, opacity .3s ease-in-out
}

.faq-question,
.tab-button {
    transition: background-color .3s;
    cursor: pointer
}

.modal.show .modal-content {
    opacity: 1;
    transform: scale(.9) !important
}

.close {
    align-self: end;
    font-size: 30px;
    color: #333;
    cursor: pointer
}

.modal-heading {
    align-self: center;
    text-align: center
}

.tabs {
    justify-content: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc
}

.tab-button {
    background-color: #74c4e9;
    color: #fff;
    border: none;
    padding: 10px 15px;
    margin-right: 5px;
    border-radius: 5px 5px 0 0;
    align-items: center
}

.modeling-image,
.modeling-video {
    border-radius: 8px
}

.tab-button img {
    margin-right: 5px;
    height: 20px;
    width: 20px
}

.tab-content {
    display: none
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px
}

.price-table .description-cell {
    width: 70%;
    padding: 8px
}

.price-table .price-cell {
    width: 30%;
    padding: 8px;
    text-align: right
}

.line-cell .line {
    border-top: 1px solid #ccc;
    margin: 10px 0
}

.modal-note {
    font-size: .9rem;
    color: #555
}

.modeling-section {
    padding: 5rem 1rem;
    background-color: #f9f9f9;
    text-align: center;
    position: relative
}

.modeling-image {
    width: 100%;
    height: auto;
    margin-bottom: 2rem
}

.modeling-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    text-align: left
}

.modeling-text {
    width: 45%;
    margin: 0 auto
}

.modeling-text .section-heading {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, .1);
    border-bottom: 2px solid #333;
    display: inline-block;
    padding-bottom: 5px
}

.modeling-text p {
    font-size: .9rem;
    color: #555;
    line-height: 1.6
}

.modeling-video {
    width: 45%;
    object-fit: cover;
    object-position: center;
    clip-path: inset(4% 0 4% 0)
}

.about-me-section,
.faq-section {
    padding: 5rem 1rem;
    background-color: #f9f9f9;
    text-align: center
}

.about-me-content .section-heading,
.section-heading {
    padding-bottom: 5px;
    margin-bottom: 20px;
    display: inline-block
}

.faq-content {
    max-width: 1000px;
    margin: auto;
    text-align: left;
    display: flex;
    flex-wrap: wrap;
    gap: 20px
}

.section-heading {
    font-size: 2.5rem;
    color: #8fcf60;
    text-shadow: none
}

.section-divider {
    width: 200px;
    height: 5px;
    background: linear-gradient(to right, #74c4e9, #8fcf60);
    margin: 20px auto 40px;
    border-radius: 5px
}

.faq-column {
    width: 48%;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.faq-item {
    margin-bottom: 0
}

.faq-question {
    width: 100%;
    background-color: #74c4e9;
    color: #fff;
    padding: 15px;
    border: none;
    border-radius: 5px;
    text-align: left;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px
}

.contact-form-container,
.faq-answer {
    background-color: #fff;
    box-sizing: border-box
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .5s, padding .5s, border-color .5s;
    border: 1px solid #f9f9f9;
    border-radius: 5px;
    margin-top: 10px;
    padding: 0 15px
}

.faq-answer p {
    margin: 0;
    padding: 15px 0 30px;
    font-size: 1rem;
    color: #555;
    line-height: 1.6
}

.faq-question::after {
    content: '\002B';
    font-size: 1.5rem
}

.faq-item.open .faq-question::after {
    content: '\2212'
}

.faq-item.open .faq-answer {
    max-height: 1010px;
    padding: 15px 15px 30px;
    border-color: #ccc
}

.about-me-contact,
.about-me-image,
.about-me-text {
    padding: 20px;
    box-sizing: border-box
}

.about-me-content {
    max-width: 1000px;
    margin: auto
}

.about-me-content .section-heading {
    font-size: 2.5rem;
    color: #333;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, .1);
    border-bottom: 2px solid #333
}

.about-me-details {
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
    flex-wrap: wrap
}

.about-me-text {
    max-width: 365px;
    text-align: left
}

.about-me-contact p,
.about-me-text p {
    font-size: .9rem;
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.6
}

.about-me-contact-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    width: 50%;
    box-sizing: border-box
}

.about-me-contact {
    text-align: left;
    width: 100%
}

.about-me-contact .contact-info {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
    text-align: left
}

.contact-form-container .form-submit,
.contact-heading,
.contact-intro,
.footer {
    text-align: center
}

.about-me-contact .contact-info li {
    font-size: 1rem;
    margin-bottom: .5rem;
    display: flex;
    align-items: center
}

.about-me-contact .contact-info a {
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center
}

.about-me-contact .contact-info img {
    margin-right: 10px;
    width: 24px;
    height: 24px;
    transition: filter .3s;
    filter: invert(0)
}

.about-me-contact .contact-info a:hover img {
    filter: invert(.5)
}

.about-me-image {
    width: 50%
}

.about-me-image img {
    width: 100%
}

.icon {
    fill: #180505
}

.icon:hover {
    fill: #555
}

.contact-form-container {
    margin: 40px auto;
    padding: 15px;
    border-radius: 10px
}

.contact-form-container .form-row {
    display: flex;
    justify-content: space-between
}

.contact-form-container .form-column {
    width: 48%
}

.contact-form-container .form-group label {
    display: block;
    margin-bottom: 5px
}

.contact-form-container .form-group input,
.contact-form-container .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #4a6fa5;
    border-radius: 4px;
    margin: auto;
    display: block;
    box-sizing: border-box
}

.contact-form-container .form-group select {
    width: 100%;
    padding: 10px 30px 10px 10px;
    border: 2px solid #4a6fa5;
    border-radius: 4px;
    margin: auto;
    display: block;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    background: url('data:image/svg+xml;utf8,<svg fill="%234A6FA5" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') right 10px center/20px no-repeat
}

.contact-form-container .form-group input:required,
.contact-form-container .form-group textarea:required {
    border-left: 5px solid #e74c3c
}

.contact-form-container .form-group.checkbox-group {
    align-items: center;
    margin-bottom: 20px
}

.contact-form-container .form-group.checkbox-group input[type=checkbox] {
    margin-right: 10px;
    margin-bottom: 10px
}

.contact-form-container .form-group.checkbox-group label {
    font-size: .9rem;
    margin-bottom: 0;
    width: auto;
    display: inline
}

.contact-form-container .form-submit button {
    background: linear-gradient(to right, #74c4e9, #8fcf60);
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: transform .3s, box-shadow .3s;
    font-size: 1rem;
    letter-spacing: .05em;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .2)
}

.contact-form-container .form-submit button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, .4)
}

.contact-form-container .form-group input:hover,
.contact-form-container .form-group select:hover,
.contact-form-container .form-group textarea:hover {
    border-color: #2a3f54
}

.contact-form-container .form-group input:focus,
.contact-form-container .form-group select:focus,
.contact-form-container .form-group textarea:focus {
    border-color: #1c4f47;
    outline: 0
}

.required {
    color: #e74c3c
}

@media (max-width:350px) {
    .contact-form-container .form-row {
        flex-direction: column
    }

    .contact-form-container .form-column {
        width: 100%;
        margin-bottom: 20px
    }
}

.footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 30px 0;
    border-top: 4px solid #74c4e9;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, .1);
    font-size: 16px
}

.text-muted {
    color: rgba(255, 255, 255, .5)
}

.legal-links,
.social-icons {
    margin: 20px 0
}

.social-icons a {
    margin: 0 15px;
    display: inline-block;
    transition: transform .3s
}

.social-icons img {
    width: 30px;
    height: 30px;
    transition: opacity .3s
}

.social-icons a:hover img {
    opacity: .8;
    transform: scale(1.1)
}

.legal-links a {
    color: #fff;
    margin: 0 10px;
    padding: 5px 0;
    transition: color .3s
}

.legal-links a:hover {
    color: #74c4e9
}

@media (max-width:768px) {
    .roadmap {
        flex-direction: column;
        gap: 10px
    }

    .roadmap-arrow {
        transform: rotate(90deg)
    }

    .service-item {
        flex-direction: column
    }

    .about-me-contact,
    .faq-column,
    .modeling-text,
    .modeling-video,
    .service-content,
    .service-image {
        width: 100%
    }

    .service-item-left .service-image,
    .service-item-right .service-image {
        order: 1
    }

    .service-item-left .service-content,
    .service-item-right .service-content {
        order: 2
    }

    .service-image {
        height: 200px
    }

    .read-more-btn {
        border-radius: 30px
    }

    .service-content h3 {
        font-size: 1.4rem
    }

    .modal-content {
        width: 90%;
        padding: 10px
    }

    .tab-button {
        padding: 8px 10px;
        font-size: .8rem
    }

    .price-table .description-cell,
    .price-table .price-cell {
        padding: 5px
    }

    .about-me-details,
    .modeling-content {
        flex-direction: column;
        align-items: center
    }

    .modeling-text .section-heading {
        font-size: 1.5rem
    }

    .about-me-contact .contact-info li,
    .about-me-contact .social-icons,
    .about-me-contact p,
    .about-me-text p,
    .faq-question,
    .modeling-text p {
        font-size: 1rem
    }

    .faq-content {
        padding: 0 10px;
        flex-direction: column
    }

    .faq-question {
        padding: 10px;
        height: auto
    }

    .faq-answer {
        padding: 0 10px
    }

    .faq-answer p {
        padding: 10px 0 20px;
        font-size: .9rem
    }

    .about-me-contact,
    .about-me-contact .contact-info {
        text-align: center
    }

    .about-me-content .section-heading {
        font-size: 2rem
    }

    .about-me-image {
        margin-top: 20px;
        width: 100%
    }

    .about-me-contact-image {
        width: 100%;
        text-align: center
    }

    .social-icons a {
        margin: 0 8px
    }
}

/* Barrierefreiheit – Kontrast-Optimierung */
.read-more-btn,
.faq-question,
.tab-button {
    background-color: #1877c3;
    color: #fff;
}

.read-more-btn:hover,
.faq-question:hover,
.tab-button.active,
.tab-button:hover {
    background-color: #145a96;
}

.price {
    color: #217a1d;
    background: #f4fbf3;
    border-color: #1877c3;
}

.about-me-text a,
.about-me-contact .contact-info a {
    color: #1877c3;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s;
}

.about-me-text a:hover,
.about-me-contact .contact-info a:hover {
    color: #145a96;
}

.text-muted {
    color: #d0e2ef;
}

/* Links im about-me-Bereich: immer gut sichtbar */
.about-me-text a,
.about-me-contact .contact-info a {
    color: #1877c3 !important;
    /* Kräftiges, barrierefreies Blau */
    text-decoration: underline;
    font-weight: 600;
    background-color: transparent;
    transition: color 0.2s;
}

/* Noch stärkerer Hover-Kontrast */
.about-me-text a:hover,
.about-me-contact .contact-info a:hover {
    color: #0d447a !important;
    background-color: #e6f2fa;
}

/* Links in FAQ-Antworten */
.faq-answer a {
    color: #1877c3 !important;
    text-decoration: underline;
    font-weight: 600;
}

.faq-answer a:hover {
    color: #0d447a !important;
    background-color: #e6f2fa;
}

/* Für Telefonnummer und E-Mail in Kontakt */
.contact-info a {
    color: #1877c3 !important;
}

.contact-info a:hover {
    color: #0d447a !important;
}

/* Für den „Über mich“-Titel und alle H2 in .about-me-section */
.about-me-section .section-heading,
#faq-heading.section-heading {
    color: #1877c3 !important;
    /* Gleiche Farbe wie die Links, maximaler Kontrast */
}

.about-me-details {
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 32px;
}

.about-me-image {
    width: 55%;
    min-width: 320px;
    max-width: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-me-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1200 / 628;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.13);
}

.about-me-text {
    flex: 1;
    min-width: 270px;
    max-width: 370px;
    padding: 0 12px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 900px) {
    .about-me-details {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .about-me-image,
    .about-me-text {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        padding: 0;
    }

    .about-me-image img {
        aspect-ratio: 1200 / 628;
        width: 100%;
        height: auto;
    }
}

.price-btn {
    background: none;
    border: 2px solid #74c4e9;
    border-left: none;
    color: #8fcf60;
    padding: 4.5px 20px;
    margin-left: -18px;
    border-radius: 0 30px 30px 0;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background-color .3s;
}

.price-btn:hover {
    background-color: #f0f9ff;
}

/* --- PREISE ALS BUTTON (Barrierefrei & einheitlich) --- */
.price,
.price-btn {
    border: 2px solid #74c4e9;
    border-left: none;
    color: #8fcf60;
    padding: 4.5px 20px;
    margin-left: -18px;
    border-radius: 0 30px 30px 0;
    font-size: 1.2rem;
    background: #f4fbf3;
    display: flex;
    align-items: center;
    font-weight: 700;
    box-shadow: none;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.price-btn {
    background: none;
    cursor: pointer;
    transition: background-color .3s, color .3s;
    border: 2px solid #74c4e9;
    border-left: none;
    outline: none;
}

.price-btn:hover,
.price-btn:focus {
    background-color: #f0f9ff;
    color: #145a96;
}

/* --- DETAILS-BUTTON --- */
.read-more-btn {
    background-color: #74c4e9;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color .3s, transform .3s;
    text-align: center;
    justify-content: center;
    display: flex;
    align-items: center;
}

.read-more-btn:hover,
.read-more-btn:focus {
    background-color: #1877c3;
    transform: scale(1.05);
}

/* --- Card Footer (Buttons nebeneinander) --- */
.card-footer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 15px 0;
}

/* --- Allgemein für Buttons (Einheitlich) --- */
button,
.btn {
    font-family: inherit;
    font-size: inherit;
    outline: none;
    box-shadow: none;
}