/**
 * Grill Immobilien – Website
 *
 * Gemeinsames Stylesheet
 */


/* --------------------------------------------------
   Basis
-------------------------------------------------- */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family:
        "Source Sans Pro",
        Arial,
        Helvetica,
        sans-serif;

    color: #333;
    background: #fff;

    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-main {
    min-height: 40vh;
}


/* --------------------------------------------------
   Header
-------------------------------------------------- */

.site-header {
    background: #fff;
    border-bottom: 1px solid #e6e6e6;
}

.site-header__inner {
    width: min(1180px, calc(100% - 40px));

    margin: 0 auto;
    padding: 22px 0 16px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;
}

.site-logo {
    display: block;
    flex-shrink: 0;
}

.site-logo img {
    display: block;

    width: 250px;
    height: auto;
}


/* --------------------------------------------------
   Hauptnavigation
-------------------------------------------------- */

.main-navigation {
    margin-left: auto;
}

.main-navigation>ul {
    list-style: none;

    margin: 0;
    padding: 0;

    display: flex;
    align-items: center;

    gap: 26px;
}

.main-navigation li {
    position: relative;
}

.main-navigation a,
.submenu-toggle {
    display: flex;
    align-items: center;
    gap: 5px;

    padding: 8px 0;

    border: 0;
    background: transparent;

    color: #15b6b8;

    font-family: inherit;
    font-size: 16px;
    font-weight: 600;

    cursor: pointer;

    transition:
        color 0.2s ease,
        opacity 0.2s ease;
}

.main-navigation a:hover,
.submenu-toggle:hover {
    color: #333;
}


/* --------------------------------------------------
   Dropdowns
-------------------------------------------------- */

.submenu-arrow {
    font-size: 16px;
    line-height: 1;

    transition: transform 0.2s ease;
}

.has-submenu:hover>.submenu-toggle .submenu-arrow {
    transform: rotate(180deg);
}

.submenu {
    list-style: none;

    position: absolute;

    top: calc(100% + 4px);
    left: -16px;

    z-index: 100;

    min-width: 230px;

    margin: 0;
    padding: 8px 0;

    background: #fff;

    border: 1px solid #e3e3e3;
    border-top: 3px solid #15b6b8;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);

    opacity: 0;
    visibility: hidden;

    transform: translateY(-5px);

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;
}

.has-submenu:hover>.submenu {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}

.submenu li {
    display: block;
}

.submenu a {
    display: block;

    padding: 10px 18px;

    color: #333;

    font-size: 15px;
    font-weight: 400;
}

.submenu a:hover {
    background: #f4f8f9;
    color: #15b6b8;
}

.submenu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* --------------------------------------------------
   Mobiler Menü-Button
-------------------------------------------------- */

.mobile-menu-toggle {
    display: none;

    width: 46px;
    height: 46px;

    padding: 8px;

    border: 1px solid #d8d8d8;
    border-radius: 4px;

    background: #fff;

    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;

    width: 100%;
    height: 2px;

    margin: 6px 0;

    background: #15b6b8;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}


/* --------------------------------------------------
   Startseite
-------------------------------------------------- */

.home-hero {
    width: min(1000px, calc(100% - 40px));

    margin: 45px auto 55px;
}

.home-hero__image {
    width: 100%;
}

.home-hero__image img {
    display: block;

    width: 100%;
    height: auto;

    border-radius: 2px;
}


/* --------------------------------------------------
   Allgemeiner Inhalt
-------------------------------------------------- */

.content-section {
    width: min(1180px, calc(100% - 40px));

    margin: 0 auto;

    padding: 50px 0;
}

.content-section h1,
.content-section h2 {
    color: #15b6b8;
}


/* --------------------------------------------------
   Footer
-------------------------------------------------- */

.site-footer {
    margin-top: 40px;

    background: #15b6b8;
    color: #fff;
}

.site-footer__inner {
    width: min(1180px, calc(100% - 40px));

    margin: 0 auto;
    padding: 45px 0;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 50px;
}

.site-footer strong {
    display: block;

    margin-bottom: 12px;

    font-size: 18px;
}

.site-footer p {
    margin: 0 0 16px;
}

.site-footer a {
    color: #fff;

    text-decoration: underline;
}

.site-footer a:hover {
    opacity: 0.8;
}

.site-footer ul {
    list-style: none;

    margin: 0;
    padding: 0;
}

.site-footer li {
    margin-bottom: 8px;
}

.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.25);

    padding: 16px 20px;

    text-align: center;
}

.site-footer__bottom p {
    margin: 0;
}


/* --------------------------------------------------
   Tablet
-------------------------------------------------- */

@media (max-width: 950px) {

    .site-header__inner {
        gap: 20px;
    }

    .site-logo img {
        width: 220px;
    }

    .main-navigation>ul {
        gap: 17px;
    }

    .main-navigation a,
    .submenu-toggle {
        font-size: 15px;
    }

}


/* --------------------------------------------------
   Mobile
-------------------------------------------------- */

@media (max-width: 768px) {

    .site-header__inner {
        width: min(100% - 30px, 600px);

        padding: 15px 0;

        flex-wrap: wrap;
    }

    .site-logo img {
        width: 200px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .main-navigation {
        display: none;

        width: 100%;

        margin: 10px 0 0;
    }

    .main-navigation.is-open {
        display: block;
    }

    .main-navigation>ul {
        display: block;

        border-top: 1px solid #e5e5e5;
    }

    .main-navigation>ul>li {
        border-bottom: 1px solid #e5e5e5;
    }

    .main-navigation a,
    .submenu-toggle {
        width: 100%;

        justify-content: space-between;

        padding: 13px 4px;

        font-size: 16px;
    }

    .submenu {
        position: static;

        min-width: 0;

        padding: 0;

        border: 0;

        box-shadow: none;

        background: #f7f9fa;

        opacity: 0;
        visibility: hidden;

        display: none;

        transform: none;
    }

    .submenu.is-open {
        display: block;

        opacity: 1;
        visibility: visible;
    }

    .submenu a {
        padding: 11px 20px;

        font-size: 15px;
    }

    .home-hero {
        width: calc(100% - 30px);

        margin: 25px auto 35px;
    }

    .content-section {
        width: calc(100% - 30px);

        padding: 35px 0;
    }

    .site-footer {
        margin-top: 25px;
    }

    .site-footer__inner {
        width: calc(100% - 30px);

        grid-template-columns: 1fr;

        gap: 30px;

        padding: 35px 0;
    }

}


/* --------------------------------------------------
   Sehr kleine Displays
-------------------------------------------------- */

@media (max-width: 420px) {

    .site-logo img {
        width: 175px;
    }

    .mobile-menu-toggle {
        width: 42px;
        height: 42px;
    }

}

/* --------------------------------------------------
   Unternehmensseite
-------------------------------------------------- */

.page-header {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 45px 0 25px;
}

.page-header__inner {
    border-bottom: 1px solid #e3e3e3;
    padding-bottom: 18px;
}

.page-header h1 {
    margin: 0;

    color: #15b6b8;

    font-size: clamp(32px, 4vw, 46px);
    font-weight: 400;
    line-height: 1.2;
}


.page-content {
    width: min(1000px, calc(100% - 40px));

    margin: 0 auto;
    padding: 25px 0 60px;
}


/* Einleitung */

.page-content__intro {
    max-width: 850px;

    margin: 0 auto 40px;

    font-size: 19px;
    line-height: 1.8;
}


/* Zitat */

.quote {
    max-width: 820px;

    margin: 0 auto 60px;
    padding: 30px 40px;

    border-left: 4px solid #15b6b8;

    background: #f5f8f9;

    text-align: center;
}

.quote p {
    margin: 0 0 12px;

    color: #444;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    font-style: italic;
    line-height: 1.6;
}

.quote cite {
    color: #15b6b8;

    font-size: 15px;
    font-style: normal;
}


/* Ansprechpartner */

.company-contact {
    display: grid;

    grid-template-columns: minmax(280px, 430px) 1fr;

    align-items: center;

    gap: 55px;

    margin-bottom: 65px;
}

.company-contact__image img {
    display: block;

    width: 100%;
    height: auto;

    border-radius: 4px;
}

.company-contact__content h2 {
    margin: 0 0 25px;

    color: #15b6b8;

    font-size: 30px;
    font-weight: 400;
}

.company-contact__content h3 {
    margin: 0;

    color: #333;

    font-size: 27px;
    font-weight: 600;
}

.company-role {
    margin: 5px 0 0;

    color: #777;

    font-size: 18px;
}


/* Unternehmensinformationen */

.company-details {
    max-width: 850px;

    margin: 0 auto;
}

.company-details h2 {
    margin: 0 0 30px;

    color: #15b6b8;

    font-size: 30px;
    font-weight: 400;
}

.company-details h3 {
    margin: 35px 0 8px;

    color: #15b6b8;

    font-size: 21px;
    font-weight: 600;
}

.company-details p {
    margin: 0 0 18px;

    font-size: 17px;
    line-height: 1.8;
}

.company-closing {
    margin-top: 35px !important;
    padding: 25px 30px;

    border-top: 1px solid #dce5e8;
    border-bottom: 1px solid #dce5e8;

    color: #15b6b8;

    font-size: 18px !important;
    font-weight: 600;
}


/* --------------------------------------------------
   Unternehmen – Mobile
-------------------------------------------------- */

@media (max-width: 768px) {

    .page-header {
        width: calc(100% - 30px);

        padding: 30px 0 20px;
    }

    .page-header__inner {
        padding-bottom: 14px;
    }

    .page-header h1 {
        font-size: 34px;
    }

    .page-content {
        width: calc(100% - 30px);

        padding: 20px 0 45px;
    }

    .page-content__intro {
        margin-bottom: 30px;

        font-size: 17px;
        line-height: 1.7;
    }

    .quote {
        margin-bottom: 45px;
        padding: 25px 20px;
    }

    .quote p {
        font-size: 20px;
    }

    .company-contact {
        grid-template-columns: 1fr;

        gap: 25px;

        margin-bottom: 45px;
    }

    .company-contact__image {
        max-width: 500px;

        margin: 0 auto;
    }

    .company-contact__content {
        text-align: center;
    }

    .company-contact__content h2 {
        margin-bottom: 18px;

        font-size: 27px;
    }

    .company-contact__content h3 {
        font-size: 24px;
    }

    .company-details h2 {
        font-size: 27px;
    }

    .company-details h3 {
        margin-top: 30px;

        font-size: 20px;
    }

    .company-details p {
        font-size: 16px;
        line-height: 1.7;
    }

    .company-closing {
        padding: 20px;

        font-size: 17px !important;
    }

}

/* --------------------------------------------------
   Infos
-------------------------------------------------- */

.info-list {
    max-width: 900px;

    margin: 35px auto 0;

    display: flex;
    flex-direction: column;

    gap: 14px;
}

.info-card {
    display: grid;
    grid-template-columns: 58px 1fr auto;
    align-items: center;

    gap: 20px;

    padding: 20px 24px;

    border: 1px solid #e1e7e9;
    border-left: 4px solid #15b6b8;

    background: #fff;

    color: #333;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.info-card:hover {
    transform: translateY(-2px);

    border-color: #15b6b8;

    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.info-card__icon {
    display: flex;

    width: 48px;
    height: 48px;

    align-items: center;
    justify-content: center;

    border-radius: 4px;

    background: #15b6b8;
    color: #fff;

    font-size: 12px;
    font-weight: 700;
}

.info-card__icon--external {
    font-size: 22px;
}

.info-card__content {
    display: flex;
    flex-direction: column;

    gap: 3px;
}

.info-card__content strong {
    color: #15b6b8;

    font-size: 18px;
    font-weight: 600;
}

.info-card__content small {
    color: #777;

    font-size: 14px;
}

.info-card__arrow {
    color: #15b6b8;

    font-size: 24px;

    transition: transform 0.2s ease;
}

.info-card:hover .info-card__arrow {
    transform: translateX(4px);
}


/* --------------------------------------------------
   Infos – Mobile
-------------------------------------------------- */

@media (max-width: 600px) {

    .info-list {
        margin-top: 25px;
    }

    .info-card {
        grid-template-columns: 45px 1fr auto;

        gap: 13px;

        padding: 16px;
    }

    .info-card__icon {
        width: 42px;
        height: 42px;
    }

    .info-card__content strong {
        font-size: 16px;
    }

    .info-card__content small {
        font-size: 13px;
    }

    .info-card__arrow {
        font-size: 20px;
    }

}

/* --------------------------------------------------
   Kontakt
-------------------------------------------------- */

.contact-layout {
    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    gap: 70px;

    align-items: start;

    max-width: 1050px;
    margin: 15px auto 0;
}

.contact-info h2,
.contact-form-wrapper h2 {
    margin: 0 0 22px;

    color: #15b6b8;

    font-size: 30px;
    font-weight: 400;
}

.contact-info>p {
    margin: 0 0 35px;

    font-size: 17px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;

    gap: 22px;
}

.contact-detail {
    display: flex;
    flex-direction: column;

    gap: 3px;

    padding-left: 18px;

    border-left: 3px solid #15b6b8;
}

.contact-detail strong {
    color: #15b6b8;

    font-size: 17px;
}

.contact-detail span,
.contact-detail a {
    font-size: 16px;
}

.contact-detail a {
    color: #15b6b8;
}

.contact-detail a:hover {
    text-decoration: underline;
}


/* Formular */

.contact-form-wrapper {
    padding: 30px;

    background: #f5f8f9;

    border-top: 4px solid #15b6b8;
}

.contact-form {
    display: flex;
    flex-direction: column;

    gap: 18px;
}

.form-field {
    display: flex;
    flex-direction: column;

    gap: 7px;
}

.form-field label {
    color: #444;

    font-size: 15px;
    font-weight: 600;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field textarea {
    width: 100%;

    padding: 11px 13px;

    border: 1px solid #d3dcdf;
    border-radius: 3px;

    background: #fff;

    color: #333;

    font-family: inherit;
    font-size: 16px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-field textarea {
    resize: vertical;
    min-height: 150px;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;

    border-color: #15b6b8;

    box-shadow: 0 0 0 3px rgba(7, 97, 128, 0.1);
}

.form-field--checkbox {
    margin-top: 2px;
}

.form-field--checkbox label {
    display: flex;
    flex-direction: row;

    align-items: flex-start;

    gap: 9px;

    font-weight: 400;
    line-height: 1.5;
}

.form-field--checkbox input {
    margin-top: 4px;
}

.button {
    align-self: flex-start;

    padding: 12px 24px;

    border: 0;
    border-radius: 3px;

    background: #15b6b8;
    color: #fff;

    font-family: inherit;
    font-size: 16px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.button:hover {
    background: #054b63;

    transform: translateY(-1px);
}


/* --------------------------------------------------
   Kontakt – Mobile
-------------------------------------------------- */

@media (max-width: 768px) {

    .contact-layout {
        grid-template-columns: 1fr;

        gap: 40px;

        margin-top: 10px;
    }

    .contact-info h2,
    .contact-form-wrapper h2 {
        font-size: 27px;
    }

    .contact-info>p {
        font-size: 16px;
    }

    .contact-form-wrapper {
        padding: 25px 20px;
    }

    .button {
        width: 100%;
    }

}

/* --------------------------------------------------
   Immobilie verkaufen / vermieten
-------------------------------------------------- */

.service-intro {
    max-width: 850px;
    margin: 0 auto 45px;
}

.service-intro h2,
.service-form-wrapper h2,
.service-steps h2 {
    margin: 0 0 20px;

    color: #15b6b8;

    font-size: 30px;
    font-weight: 400;
}

.service-intro p {
    margin: 0;

    font-size: 18px;
    line-height: 1.8;
}


/* Kontaktformular */

.service-form-wrapper {
    max-width: 850px;

    margin: 0 auto 70px;
    padding: 35px;

    background: #f5f8f9;

    border-top: 4px solid #15b6b8;
}

.service-form-wrapper .contact-form {
    max-width: 100%;
}

.service-form-wrapper .form-field--checkbox {
    margin-top: 2px;
}

.service-form-wrapper .form-field--checkbox a {
    color: #15b6b8;
    text-decoration: underline;
}


/* Die sechs Schritte */

.service-steps {
    max-width: 1050px;

    margin: 0 auto;
}

.service-steps>h2 {
    margin-bottom: 35px;

    text-align: center;
}

.steps-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.step-card {
    position: relative;

    padding: 30px 25px 25px;

    border: 1px solid #e1e7e9;

    background: #fff;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.step-card:hover {
    transform: translateY(-2px);

    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.07);
}

.step-number {
    display: flex;

    width: 38px;
    height: 38px;

    margin-bottom: 18px;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #15b6b8;
    color: #fff;

    font-size: 16px;
    font-weight: 700;
}

.step-card h3 {
    margin: 0 0 12px;

    color: #15b6b8;

    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.step-card p {
    margin: 0;

    color: #555;

    font-size: 16px;
    line-height: 1.7;
}


/* --------------------------------------------------
   Immobilie verkaufen – Mobile
-------------------------------------------------- */

@media (max-width: 850px) {

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 600px) {

    .service-intro h2,
    .service-form-wrapper h2,
    .service-steps h2 {
        font-size: 27px;
    }

    .service-intro p {
        font-size: 16px;
    }

    .service-form-wrapper {
        margin-bottom: 50px;
        padding: 25px 20px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .step-card {
        padding: 25px 20px;
    }

}

/* --------------------------------------------------
   Rechtliche Seiten
-------------------------------------------------- */

.legal-content {
    max-width: 850px;
    margin: 0 auto;
}

.legal-block {
    margin-bottom: 32px;
    padding-bottom: 25px;

    border-bottom: 1px solid #e1e7e9;
}

.legal-block:last-child {
    border-bottom: 0;
}

.legal-block h2 {
    margin: 0 0 10px;

    color: #15b6b8;

    font-size: 21px;
    font-weight: 600;
}

.legal-block p {
    margin: 0 0 8px;

    font-size: 16px;
    line-height: 1.7;
}

.legal-block p:last-child {
    margin-bottom: 0;
}

.legal-block a {
    color: #15b6b8;
}

.legal-block a:hover {
    text-decoration: underline;
}

.legal-block ul {
    margin: 10px 0 0;
    padding-left: 22px;
}

.legal-block li {
    line-height: 1.7;
}

/* --------------------------------------------------
   Immobilienübersicht
-------------------------------------------------- */

.property-intro {
    max-width: 850px;
    margin: 0 auto 45px;
    text-align: center;
}

.property-intro h2 {
    margin-bottom: 15px;
}

.property-intro p {
    margin: 0;
    line-height: 1.7;
}


/* Immobilien-Grid */

.property-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}


/* Immobilienkarte */

.property-card {
    display: flex;
    flex-direction: column;

    overflow: hidden;

    background: #ffffff;
    border: 1px solid #e1e7e9;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.property-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.10);
}


/* Titelbild */

.property-card__image {
    position: relative;

    width: 100%;
    height: 230px;

    overflow: hidden;

    background: #eef2f3;
}

.property-card__image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

.property-card__image-placeholder {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    color: #6d7b80;

    font-size: 15px;
}


/* Karteninhalt */

.property-card__content {
    display: flex;
    flex-direction: column;

    flex: 1;

    padding: 22px;
}


/* Status */

.property-card__status {
    align-self: flex-start;

    margin-bottom: 12px;
    padding: 5px 10px;

    background: #15b6b8;
    color: #ffffff;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}


/* Überschrift */

.property-card__title {
    margin: 0 0 8px;

    color: #15b6b8;

    font-size: 21px;
    line-height: 1.3;
}


/* Lage */

.property-card__location {
    margin: 0 0 18px;

    color: #657277;

    font-size: 15px;
}


/* Eckdaten */

.property-card__details {
    display: flex;
    flex-wrap: wrap;

    gap: 8px 16px;

    margin-bottom: 20px;

    color: #444f53;

    font-size: 14px;
}

.property-card__details span {
    position: relative;
}

.property-card__details span+span::before {
    content: "•";

    position: absolute;
    left: -10px;

    color: #b7c2c5;
}


/* Preis */

.property-card__price {
    margin-top: auto;
    margin-bottom: 20px;

    color: #15b6b8;

    font-size: 20px;
    font-weight: 600;
}


/* Button */

.property-card__button {
    align-self: flex-start;
}


/* Keine Immobilien */

.property-empty {
    max-width: 700px;
    margin: 0 auto;

    padding: 35px;

    text-align: center;

    background: #f5f7f8;
    border: 1px solid #e1e7e9;
}


/* --------------------------------------------------
   Immobilien – Tablet
-------------------------------------------------- */

@media (max-width: 1000px) {

    .property-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* --------------------------------------------------
   Immobilien – Mobile
-------------------------------------------------- */

@media (max-width: 650px) {

    .property-grid {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .property-card__image {
        height: 220px;
    }

    .property-card__content {
        padding: 20px;
    }

    .property-card__title {
        font-size: 20px;
    }

}

/* --------------------------------------------------
   Immobilien – Bildergalerie
-------------------------------------------------- */

.property-gallery {
    width: 100%;
    margin-bottom: 45px;
}

.property-gallery__main {
    position: relative;

    width: 100%;
    height: 600px;

    overflow: hidden;

    background: #eef2f3;
}

.property-gallery__slide {
    display: none;

    width: 100%;
    height: 100%;
}

.property-gallery__slide.is-active {
    display: block;
}

.property-gallery__slide img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}


/* Galerie-Pfeile */

.property-gallery__arrow {
    position: absolute;
    top: 50%;
    z-index: 2;

    width: 48px;
    height: 48px;

    margin: 0;

    transform: translateY(-50%);

    border: 0;
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.45);
    color: #ffffff;

    font-size: 34px;
    line-height: 1;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.property-gallery__arrow:hover {
    background: rgba(0, 0, 0, 0.70);

    transform: translateY(-50%) scale(1.05);
}

.property-gallery__arrow--prev {
    left: 20px;
}

.property-gallery__arrow--next {
    right: 20px;
}


/* Vorschaubilder */

.property-gallery__thumbnails {
    display: flex;

    gap: 10px;

    margin-top: 12px;

    overflow-x: auto;

    padding-bottom: 5px;

    scrollbar-width: thin;
}

.property-gallery__thumbnail {
    flex: 0 0 100px;

    width: 100px;
    height: 70px;

    padding: 0;

    overflow: hidden;

    border: 2px solid transparent;

    background: #eef2f3;

    cursor: pointer;

    opacity: 0.65;

    transition:
        opacity 0.2s ease,
        border-color 0.2s ease;
}

.property-gallery__thumbnail:hover {
    opacity: 0.9;
}

.property-gallery__thumbnail.is-active {
    border-color: #15b6b8;
    opacity: 1;
}

.property-gallery__thumbnail img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* Galerie – Tablet */

@media (max-width: 900px) {

    .property-gallery__main {
        height: 500px;
    }

}


/* Galerie – Mobile */

@media (max-width: 650px) {

    .property-gallery__main {
        height: 300px;
    }

    .property-gallery__arrow {
        width: 42px;
        height: 42px;

        font-size: 29px;
    }

    .property-gallery__arrow--prev {
        left: 10px;
    }

    .property-gallery__arrow--next {
        right: 10px;
    }

    .property-gallery__thumbnail {
        flex-basis: 80px;

        width: 80px;
        height: 60px;
    }

}

/* --------------------------------------------------
   Immobilien – Detailseite
-------------------------------------------------- */

.property-detail {
    max-width: 1100px;
    margin: 0 auto;
}


/* Zurück-Link */

.property-detail__back {
    display: inline-block;

    margin-bottom: 25px;

    color: #15b6b8;
    font-size: 15px;
    text-decoration: none;
}

.property-detail__back:hover {
    text-decoration: underline;
}


/* Kopfbereich */

.property-detail__header {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 40px;

    margin-bottom: 45px;
}

.property-detail__header h2 {
    margin: 12px 0 8px;

    color: #15b6b8;

    font-size: 30px;
    line-height: 1.3;
}

.property-detail__location {
    margin: 0;

    color: #68777c;

    font-size: 16px;
}


/* Status */

.property-detail__status {
    display: inline-block;

    padding: 6px 12px;

    color: #ffffff;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 0.05em;
}

.property-detail__status.property-status--neu {
    background: #15b6b8;
}

.property-detail__status.property-status--aktiv {
    background: #4f777f;
}

.property-detail__status.property-status--reduziert {
    background: #b8792c;
}

.property-detail__status.property-status--reserviert {
    background: #806c48;
}

.property-detail__status.property-status--vermietet {
    background: #657277;
}

.property-detail__status.property-status--verkauft {
    background: #657277;
}

/* Status auf Immobilienkarten */

.property-card__status.property-status--neu {
    background: #15b6b8;
}

.property-card__status.property-status--aktiv {
    background: #4f777f;
}

.property-card__status.property-status--reduziert {
    background: #b8792c;
}

.property-card__status.property-status--reserviert {
    background: #806c48;
}

.property-card__status.property-status--vermietet {
    background: #657277;
}

.property-card__status.property-status--verkauft {
    background: #657277;
}

/* Preis */

.property-detail__price {
    flex-shrink: 0;

    min-width: 220px;

    padding: 20px 25px;

    text-align: right;

    background: #f4f7f8;
    border-left: 4px solid #15b6b8;
}

.property-detail__price strong {
    display: block;

    color: #15b6b8;

    font-size: 25px;
    line-height: 1.3;
}

.property-detail__price span {
    display: block;

    margin-top: 5px;

    color: #68777c;

    font-size: 13px;
}


/* Allgemeine Bereiche */

.property-section {
    margin-bottom: 50px;
}

.property-section h2 {
    margin-bottom: 25px;

    color: #15b6b8;

    font-size: 25px;

    padding-bottom: 12px;

    border-bottom: 1px solid #dce4e6;
}


/* Eckdaten */

.property-facts {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 1px;

    background: #dce4e6;

    border: 1px solid #dce4e6;
}

.property-fact {
    display: flex;
    flex-direction: column;

    gap: 6px;

    min-height: 85px;

    padding: 18px 20px;

    background: #ffffff;
}

.property-fact span {
    color: #68777c;

    font-size: 13px;
}

.property-fact strong {
    color: #27363b;

    font-size: 16px;
    font-weight: 600;
}


/* Objektbeschreibung */

.property-description {
    color: #3e4b4f;

    font-size: 16px;
    line-height: 1.8;
}

.property-description p {
    margin-top: 0;
    margin-bottom: 18px;
}

.property-description p:last-child {
    margin-bottom: 0;
}

.property-description strong {
    color: #27363b;
}

.property-description ul,
.property-description ol {
    margin-top: 0;
    margin-bottom: 20px;

    padding-left: 25px;
}

.property-description li {
    margin-bottom: 7px;
}


/* Kontaktbereich */

.property-contact {
    margin-top: 60px;
    margin-bottom: 20px;

    padding: 40px;

    text-align: center;

    background: #f4f7f8;

    border-top: 4px solid #15b6b8;
}

.property-contact h2 {
    margin-top: 0;
    margin-bottom: 12px;

    color: #15b6b8;
}

.property-contact p {
    max-width: 650px;

    margin: 0 auto 25px;

    color: #526166;

    line-height: 1.7;
}


/* --------------------------------------------------
   Detailseite – Tablet
-------------------------------------------------- */

@media (max-width: 800px) {

    .property-detail__header {
        flex-direction: column;

        gap: 25px;
    }

    .property-detail__price {
        width: 100%;

        text-align: left;
    }

    .property-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* --------------------------------------------------
   Detailseite – Mobile
-------------------------------------------------- */

@media (max-width: 600px) {

    .property-detail__header h2 {
        font-size: 24px;
    }

    .property-facts {
        grid-template-columns: 1fr;
    }

    .property-fact {
        min-height: auto;
    }

    .property-contact {
        padding: 30px 20px;
    }

}

/* --------------------------------------------------
   Kontaktformular
-------------------------------------------------- */

.contact-property-reference {
    margin-bottom: 30px;
    padding: 18px 20px;

    background: #f3f6f7;
    border-left: 4px solid #15b6b8;
}

.contact-property-reference span {
    display: block;

    margin-bottom: 6px;

    color: #68777c;

    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.contact-property-reference strong {
    display: block;

    color: #26383d;

    font-size: 16px;
    line-height: 1.5;
}


/* Fehlermeldungen */

.contact-form-errors {
    margin-bottom: 25px;
    padding: 18px 20px;

    background: #f7eeee;
    border-left: 4px solid #a64b4b;

    color: #4a2929;
}

.contact-form-errors strong {
    display: block;

    margin-bottom: 8px;
}

.contact-form-errors ul {
    margin: 0;
    padding-left: 20px;
}

.contact-form-errors li {
    margin-bottom: 4px;
}

.contact-form-errors li:last-child {
    margin-bottom: 0;
}


/* Erfolgsseite */

.contact-success {
    max-width: 760px;
    margin: 0 auto;
}

.contact-success h2 {
    margin-bottom: 15px;
}

.contact-success p {
    margin-bottom: 30px;
    line-height: 1.7;
}