/* ===== Ferienwohnungen Sonnenseite ===== */

/* Schriften lokal (keine Verbindung zu Google Fonts) */
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/inter-latin-400-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("fonts/inter-latin-500-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("fonts/inter-latin-600-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Playfair Display";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("fonts/playfair-display-latin-500-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Playfair Display";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("fonts/playfair-display-latin-600-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Playfair Display";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("fonts/playfair-display-latin-700-normal.woff2") format("woff2");
}

:root {
    --ss-green: #1f4e46;
    --ss-green-dark: #163a34;
    --ss-green-light: #e6efec;
    --ss-sun: #f2b84b;
    --ss-terracotta: #a84f2b;
    --ss-cream: #faf6ef;
    --ss-text: #22302d;
    --ss-muted: #5f6d69;
    --ss-border: #e4ded3;
    --ss-radius: 16px;
    --ss-shadow: 0 10px 30px rgba(31, 78, 70, .10);
    --bs-primary: var(--ss-green);
    --bs-primary-rgb: 31, 78, 70;
    --bs-link-color: var(--ss-green);
    --bs-link-hover-color: var(--ss-terracotta);
    --bs-body-color: var(--ss-text);
    --bs-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

body {
    background: #fff;
    color: var(--ss-text);
    font-size: 1.02rem;
    line-height: 1.65;
}

h1, h2, h3, .h1, .h2, .h3, .h4, .h5 {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 600;
    color: var(--ss-green-dark);
}

    h1:focus {
        outline: none;
    }

a {
    color: var(--ss-green);
}

    a:hover {
        color: var(--ss-terracotta);
    }

.btn {
    border-radius: 999px;
    font-weight: 500;
    padding: .55rem 1.3rem;
}

.btn-lg {
    padding: .75rem 1.7rem;
    font-size: 1.02rem;
}

.btn-sm {
    padding: .3rem .8rem;
}

.btn-primary {
    --bs-btn-bg: var(--ss-green);
    --bs-btn-border-color: var(--ss-green);
    --bs-btn-hover-bg: var(--ss-green-dark);
    --bs-btn-hover-border-color: var(--ss-green-dark);
    --bs-btn-active-bg: var(--ss-green-dark);
    --bs-btn-disabled-bg: var(--ss-green);
    --bs-btn-disabled-border-color: var(--ss-green);
}

.btn-outline-primary {
    --bs-btn-color: var(--ss-green);
    --bs-btn-border-color: var(--ss-green);
    --bs-btn-hover-bg: var(--ss-green);
    --bs-btn-hover-border-color: var(--ss-green);
    --bs-btn-active-bg: var(--ss-green-dark);
}

.btn-light {
    --bs-btn-color: var(--ss-green-dark);
}

.form-control, .form-select {
    border-radius: 10px;
    border-color: var(--ss-border);
    padding: .6rem .85rem;
}

    .form-control:focus, .form-select:focus, .form-check-input:focus {
        border-color: var(--ss-green);
        box-shadow: 0 0 0 .2rem rgba(31, 78, 70, .15);
    }

.form-check-input:checked {
    background-color: var(--ss-green);
    border-color: var(--ss-green);
}

.form-label {
    font-weight: 500;
    font-size: .93rem;
    margin-bottom: .3rem;
}

.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .78rem;
    font-weight: 600;
    color: var(--ss-terracotta);
    margin-bottom: .6rem;
}

.icon {
    flex-shrink: 0;
    vertical-align: -3px;
}

/* ----- Header ----- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--ss-border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
}

.brand {
    display: flex;
    align-items: center;
    gap: .65rem;
    text-decoration: none;
    color: var(--ss-green-dark);
}

    .brand span {
        display: flex;
        flex-direction: column;
        line-height: 1.15;
    }

    .brand strong {
        font-family: "Playfair Display", serif;
        font-size: 1.3rem;
    }

    .brand small {
        font-size: .74rem;
        color: var(--ss-muted);
        letter-spacing: .04em;
    }

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

    .site-nav a:not(.btn), .btn-link-nav {
        color: var(--ss-text);
        text-decoration: none;
        font-weight: 500;
        font-size: .95rem;
    }

        .site-nav a:not(.btn):hover, .site-nav a.active:not(.btn), .btn-link-nav:hover {
            color: var(--ss-terracotta);
        }

.btn-link-nav {
    background: none;
    border: 0;
    padding: 0;
}

.nav-admin {
    color: var(--ss-terracotta) !important;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
}

@media (max-width: 991.98px) {
    .nav-toggle-label {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        cursor: pointer;
    }

        .nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after {
            display: block;
            width: 24px;
            height: 2px;
            background: var(--ss-green-dark);
            position: relative;
            transition: .2s;
        }

            .nav-toggle-label span::before, .nav-toggle-label span::after {
                content: "";
                position: absolute;
            }

            .nav-toggle-label span::before {
                top: -7px;
            }

            .nav-toggle-label span::after {
                top: 7px;
            }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #fff;
        border-bottom: 1px solid var(--ss-border);
        padding: .5rem 1.25rem 1rem;
        display: none;
        box-shadow: var(--ss-shadow);
    }

        .site-nav > a, .site-nav > form {
            padding: .7rem 0;
            border-bottom: 1px solid var(--ss-border);
        }

        .site-nav .nav-cta {
            margin-top: .8rem;
            border: 0;
        }

    .nav-toggle:checked ~ .site-nav {
        display: flex;
    }

    .nav-toggle:checked + .nav-toggle-label span {
        background: transparent;
    }

        .nav-toggle:checked + .nav-toggle-label span::before {
            top: 0;
            transform: rotate(45deg);
        }

        .nav-toggle:checked + .nav-toggle-label span::after {
            top: 0;
            transform: rotate(-45deg);
        }
}

/* ----- Hero ----- */
.hero {
    background: linear-gradient(180deg, var(--ss-cream) 0%, #fff 100%);
    padding: 3.5rem 0 4rem;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: 3.5rem;
    align-items: center;
}

.hero h1 {
    font-size: clamp(2.1rem, 3.6vw, 3.2rem);
    line-height: 1.12;
    margin-bottom: 1.1rem;
}

.hero .lead {
    font-size: 1.15rem;
    color: var(--ss-muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: 1.8rem;
}

.hero-photo {
    position: relative;
    margin: 0;
}

    .hero-photo::before {
        content: "";
        position: absolute;
        inset: 1.4rem -1.4rem -1.4rem 1.4rem;
        border-radius: 24px;
        background: var(--ss-green-light);
        z-index: 0;
    }

    .hero-photo img {
        position: relative;
        z-index: 1;
        display: block;
        width: 100%;
        height: auto;
        border-radius: 24px;
        box-shadow: 0 24px 60px rgba(31, 78, 70, .22);
    }

@media (max-width: 991.98px) {
    .hero {
        padding: 1.5rem 0 3rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-photo {
        order: -1;
    }

        .hero-photo::before {
            inset: .8rem -.6rem -.8rem .8rem;
            border-radius: 18px;
        }

        .hero-photo img {
            border-radius: 18px;
        }
}

@media (max-width: 575.98px) {
    .hero-actions .btn {
        flex: 1 1 100%;
    }
}

.usp-strip {
    background: var(--ss-green);
    color: #fff;
}

    .usp-strip ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: .6rem 2rem;
        list-style: none;
        margin: 0;
        padding: 1.1rem 0;
        font-size: .95rem;
    }

    .usp-strip li {
        display: flex;
        align-items: center;
        gap: .5rem;
    }

    .usp-strip .icon {
        color: var(--ss-sun);
    }

/* ----- Sections ----- */
.section {
    padding: 5rem 0;
}

.section-alt {
    background: var(--ss-cream);
}

.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
}

    .section-head h2, .section h2 {
        font-size: clamp(1.8rem, 3vw, 2.5rem);
    }

    .section-head p {
        color: var(--ss-muted);
    }

/* ----- Apartment cards ----- */
.apartment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.apartment-card {
    background: #fff;
    border-radius: var(--ss-radius);
    overflow: hidden;
    box-shadow: var(--ss-shadow);
    border: 1px solid var(--ss-border);
    display: flex;
    flex-direction: column;
    transition: transform .25s, box-shadow .25s;
}

    .apartment-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 40px rgba(31, 78, 70, .16);
    }

.apartment-card-img {
    position: relative;
    display: block;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

    .apartment-card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .5s;
    }

.apartment-card:hover .apartment-card-img img {
    transform: scale(1.04);
}

.price-badge {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    background: rgba(255, 255, 255, .95);
    color: var(--ss-green-dark);
    padding: .4rem .9rem;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}

    .price-badge small {
        font-weight: 400;
        color: var(--ss-muted);
    }

.apartment-card-body {
    padding: 1.6rem 1.7rem 1.8rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

    .apartment-card-body h3 {
        font-size: 1.6rem;
        margin-bottom: .2rem;
    }

    .apartment-card-body .tagline {
        color: var(--ss-terracotta);
        font-weight: 500;
        font-size: .95rem;
    }

    .apartment-card-body > p:last-of-type {
        color: var(--ss-muted);
    }

.card-actions {
    margin-top: auto;
    display: flex;
    gap: .7rem;
    flex-wrap: wrap;
}

    .card-actions .btn {
        flex: 1;
    }

.facts {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.2rem;
    list-style: none;
    padding: 0;
    margin: .4rem 0 1rem;
    font-size: .92rem;
    color: var(--ss-muted);
}

    .facts li {
        display: flex;
        align-items: center;
        gap: .4rem;
    }

    .facts .icon {
        color: var(--ss-green);
    }

.facts-lg {
    gap: 1rem;
    margin: 0;
}

    .facts-lg li {
        background: var(--ss-cream);
        border-radius: 12px;
        padding: .8rem 1.1rem;
        gap: .7rem;
        flex: 1 1 140px;
    }

        .facts-lg li span {
            display: flex;
            flex-direction: column;
            line-height: 1.2;
            font-size: .85rem;
        }

        .facts-lg li strong {
            color: var(--ss-green-dark);
            font-size: 1.05rem;
        }

    .facts-lg .icon {
        width: 26px;
        height: 26px;
    }

/* ----- Region ----- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1.2rem;
}

.feature {
    background: #fff;
    border-radius: var(--ss-radius);
    padding: 1.4rem;
    border: 1px solid var(--ss-border);
}

    .feature .icon {
        width: 30px;
        height: 30px;
        color: var(--ss-terracotta);
        margin-bottom: .6rem;
    }

    .feature h3 {
        font-size: 1.1rem;
        margin-bottom: .3rem;
    }

    .feature p {
        font-size: .9rem;
        color: var(--ss-muted);
        margin: 0;
    }

.cta-section {
    background: linear-gradient(135deg, var(--ss-green) 0%, #2d6a5e 100%);
    color: #fff;
}

    .cta-section h2 {
        color: #fff;
    }

/* ----- Detail / Page head ----- */
.detail-hero {
    position: relative;
    height: 56vh;
    min-height: 360px;
    overflow: hidden;
}

    .detail-hero > img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.detail-hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(0deg, rgba(22, 58, 52, .85) 0%, rgba(22, 58, 52, 0) 65%);
    color: #fff;
    padding-bottom: 2.5rem;
}

.detail-hero h1 {
    color: #fff;
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    margin-bottom: .3rem;
}

.detail-hero p {
    font-size: 1.15rem;
    margin: 0;
    opacity: .95;
}

.crumbs {
    font-size: .85rem;
    margin-bottom: .6rem;
}

    .crumbs a {
        color: inherit;
    }

.detail-hero .crumbs a {
    color: #fff;
}

.page-head {
    background: var(--ss-cream);
    padding: 3.2rem 0 2.6rem;
    border-bottom: 1px solid var(--ss-border);
}

    .page-head h1 {
        font-size: clamp(2rem, 4vw, 3rem);
    }

    .page-head p {
        color: var(--ss-muted);
        max-width: 680px;
        margin: 0;
    }

    .page-head .crumbs {
        color: var(--ss-muted);
    }

.page-head-admin {
    background: var(--ss-green-light);
}

.feature-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: .6rem 1.5rem;
}

    .feature-list li {
        display: flex;
        gap: .55rem;
        align-items: flex-start;
    }

    .feature-list .icon {
        color: var(--ss-green);
        margin-top: 3px;
    }

.booking-box {
    background: #fff;
    border: 1px solid var(--ss-border);
    border-radius: var(--ss-radius);
    box-shadow: var(--ss-shadow);
    padding: 1.7rem;
    top: 90px;
}

.booking-box-price .amount {
    font-family: "Playfair Display", serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--ss-green-dark);
}

.booking-box-price .unit {
    color: var(--ss-muted);
    margin-left: .3rem;
}

.booking-box-info {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.4rem;
    font-size: .93rem;
}

    .booking-box-info li {
        padding: .45rem 0;
        border-bottom: 1px dashed var(--ss-border);
    }

.booking-box-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.price-table {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .45rem 1rem;
    margin: 1rem 0 .4rem;
}

    .price-table dt {
        font-weight: 400;
        color: var(--ss-muted);
    }

    .price-table dd {
        margin: 0;
        text-align: right;
    }

    .price-table .total {
        border-top: 1px solid var(--ss-border);
        padding-top: .6rem;
        font-weight: 700;
        color: var(--ss-green-dark);
        font-size: 1.15rem;
    }

/* ----- Forms ----- */
.form-card {
    background: #fff;
    border: 1px solid var(--ss-border);
    border-radius: var(--ss-radius);
    padding: 1.8rem;
    margin-bottom: 1.6rem;
}

    .form-card h2 {
        display: flex;
        align-items: center;
        gap: .7rem;
        margin-bottom: 1.3rem;
    }

.step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--ss-green);
    color: #fff;
    font-family: "Inter", sans-serif;
    font-size: .95rem;
}

.success-box {
    background: var(--ss-green-light);
    border-radius: var(--ss-radius);
    padding: 3rem 2rem;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.success-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--ss-green);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

    .success-icon .icon {
        width: 36px;
        height: 36px;
    }

.contact-box {
    background: var(--ss-cream);
    border-radius: var(--ss-radius);
    padding: 1.8rem;
}

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

    .contact-list li {
        display: flex;
        gap: .8rem;
        padding: .55rem 0;
    }

    .contact-list .icon {
        color: var(--ss-terracotta);
        margin-top: 4px;
    }

/* ----- Admin ----- */
.admin-tabs .nav-link {
    border-radius: 999px;
    color: var(--ss-green-dark);
    font-weight: 500;
}

    .admin-tabs .nav-link.active {
        background: var(--ss-green);
    }

.admin-table {
    background: #fff;
    border: 1px solid var(--ss-border);
    border-radius: var(--ss-radius);
    padding: .5rem 1rem;
}

    .admin-table table {
        margin: 0;
    }

.admin-msg {
    white-space: pre-line;
    max-width: 420px;
}

.message-card {
    background: #fff;
    border: 1px solid var(--ss-border);
    border-radius: 12px;
    padding: 1.1rem 1.3rem;
    margin-bottom: .9rem;
}

    .message-card.unread {
        border-left: 4px solid var(--ss-terracotta);
        background: #fffaf5;
    }

    .message-card .admin-msg {
        max-width: none;
    }

.legal h2 {
    font-size: 1.35rem;
    margin-top: 2rem;
}

.legal {
    max-width: 820px;
}

/* ----- Footer ----- */
.site-footer {
    background: var(--ss-green-dark);
    color: rgba(255, 255, 255, .8);
    padding: 3.5rem 0 1.5rem;
    font-size: .93rem;
}

    .site-footer h6 {
        color: #fff;
        text-transform: uppercase;
        letter-spacing: .1em;
        font-size: .78rem;
        margin-bottom: 1rem;
    }

    .site-footer a {
        color: rgba(255, 255, 255, .8);
        text-decoration: none;
    }

        .site-footer a:hover {
            color: var(--ss-sun);
        }

    .site-footer li {
        padding: .2rem 0;
    }

.brand-footer, .brand-footer strong {
    color: #fff;
}

    .brand-footer small {
        color: rgba(255, 255, 255, .65);
    }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    margin-top: 2.5rem;
    padding-top: 1.2rem;
    font-size: .83rem;
    color: rgba(255, 255, 255, .6);
}

    .footer-bottom strong {
        color: #fff;
        font-weight: 600;
    }

.footer-credit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

    .footer-credit a {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: #fff;
        text-decoration: none;
        font-weight: 600;
        transition: color .2s ease;
    }

        .footer-credit a:hover {
            color: #ff7a00;
        }

.webolar-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 5px;
    background: linear-gradient(135deg, #ff9a1f, #ff6500);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

@media (max-width: 576px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}
/* ----- Identity (Login) ----- */
.auth-body {
    background: linear-gradient(160deg, var(--ss-cream) 0%, var(--ss-green-light) 100%);
    min-height: 100vh;
}

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    gap: 1.4rem;
}

.auth-brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-family: "Playfair Display", serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--ss-green-dark);
    text-decoration: none;
}

.auth-card {
    background: #fff;
    width: 100%;
    max-width: 420px;
    border-radius: var(--ss-radius);
    box-shadow: var(--ss-shadow);
    padding: 2.2rem;
}

.auth-back {
    font-size: .9rem;
    color: var(--ss-muted);
}

/* ----- Blazor-Standard ----- */
.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
    font-size: .875rem;
}

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, .2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: .6rem 1.25rem .7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 2000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: .75rem;
        top: .5rem;
    }

.blazor-error-boundary {
    background: #b32121;
    padding: 1rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "Es ist ein Fehler aufgetreten.";
    }

@media (max-width: 575.98px) {
    .section {
        padding: 3.5rem 0;
    }

    .card-actions .btn {
        flex: 1 1 100%;
    }

    .form-card, .booking-box {
        padding: 1.3rem;
    }
}

/* ----- Ausstattung mit Icons ----- */
.amenity-groups {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem 2rem;
}

.amenity-group h3 {
    font-family: "Inter", sans-serif;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--ss-terracotta);
    font-weight: 600;
    margin-bottom: .7rem;
}

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

    .amenity-list li {
        display: flex;
        align-items: center;
        gap: .7rem;
        padding: .35rem 0;
    }

.amenity-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--ss-green-light);
    color: var(--ss-green);
    flex-shrink: 0;
}

    .amenity-icon .icon {
        width: 20px;
        height: 20px;
    }

.amenity-admin {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
    background: var(--ss-cream);
    border-radius: 12px;
    padding: 1rem 1.2rem;
}

    .amenity-admin legend {
        font-size: .78rem;
        text-transform: uppercase;
        letter-spacing: .08em;
        font-weight: 600;
        color: var(--ss-terracotta);
        margin-bottom: .4rem;
    }

    .amenity-admin .form-check-label .icon {
        color: var(--ss-green);
        margin-right: .2rem;
    }

/* ----- Galerie & Lightbox ----- */
.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .6rem;
}

    .gallery a {
        display: block;
        overflow: hidden;
        border-radius: 12px;
        aspect-ratio: 4 / 3;
    }

        .gallery a.gallery-main {
            grid-column: span 2;
            grid-row: span 2;
        }

    .gallery img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .4s;
    }

    .gallery a:hover img {
        transform: scale(1.05);
    }

@media (max-width: 575.98px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(10, 20, 18, .92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
}

    .lightbox img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        border-radius: 8px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
    }

    .lightbox button {
        position: absolute;
        background: rgba(255, 255, 255, .12);
        color: #fff;
        border: 0;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        font-size: 1.8rem;
        line-height: 1;
        cursor: pointer;
    }

        .lightbox button:hover {
            background: rgba(255, 255, 255, .25);
        }

    .lightbox .lb-close {
        top: 1rem;
        right: 1rem;
    }

    .lightbox .lb-prev {
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
    }

    .lightbox .lb-next {
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
    }

    .lightbox .lb-count {
        position: absolute;
        bottom: 1rem;
        left: 0;
        right: 0;
        text-align: center;
        color: rgba(255, 255, 255, .8);
        font-size: .9rem;
    }

/* ----- Kontakt ----- */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.contact-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--ss-border);
    border-radius: var(--ss-radius);
    padding: 1.8rem;
    text-decoration: none;
    color: var(--ss-text);
    box-shadow: var(--ss-shadow);
    transition: transform .2s, box-shadow .2s;
}

    .contact-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 16px 36px rgba(31, 78, 70, .15);
        color: var(--ss-text);
    }

    .contact-card h2 {
        font-size: 1.3rem;
        margin: .9rem 0 .4rem;
    }

    .contact-card p {
        font-size: 1.05rem;
        margin-bottom: 1rem;
        word-break: break-word;
    }

.contact-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: var(--ss-green-light);
    color: var(--ss-green);
}

    .contact-card-icon .icon {
        width: 26px;
        height: 26px;
    }

.contact-card-link {
    margin-top: auto;
    color: var(--ss-terracotta);
    font-weight: 600;
    font-size: .92rem;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}

.booking-cta {
    margin-top: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    background: linear-gradient(135deg, var(--ss-green) 0%, #2d6a5e 100%);
    color: #fff;
    border-radius: var(--ss-radius);
    padding: 2rem 2.2rem;
}

    .booking-cta h2 {
        color: #fff;
    }

.footer-contact li {
    padding: .25rem 0;
}

.legal ul {
    padding-left: 1.2rem;
}

.img-preview {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem;
    margin-top: .4rem;
}

    .img-preview img {
        width: 64px;
        height: 48px;
        object-fit: cover;
        border-radius: 6px;
        border: 1px solid var(--ss-border);
    }

/* ----- Logo ----- */
.brand img {
    height: 62px;
    width: auto;
    display: block;
}

.brand-footer img {
    height: 64px;
}

.auth-brand img {
    height: 64px;
    width: auto;
}

@media (max-width: 991.98px) {
    .brand img {
        height: 64px;
    }

    .header-inner {
        min-height: 80px;
    }
}

/* ----- Blog / Pfronten-Tipps ----- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
}

.blog-grid-small {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--ss-border);
    border-radius: var(--ss-radius);
    overflow: hidden;
    box-shadow: var(--ss-shadow);
    transition: transform .25s, box-shadow .25s;
}

    .blog-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 40px rgba(31, 78, 70, .16);
    }

.blog-card-img {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--ss-cream);
}

    .blog-card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .5s;
    }

.blog-card:hover .blog-card-img img {
    transform: scale(1.04);
}

.blog-card-body {
    padding: 1.4rem 1.5rem 1.6rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

    .blog-card-body h3 {
        font-size: 1.25rem;
        line-height: 1.3;
        margin: .4rem 0 .6rem;
    }

        .blog-card-body h3 a {
            color: var(--ss-green-dark);
            text-decoration: none;
        }

            .blog-card-body h3 a:hover {
                color: var(--ss-terracotta);
            }

    .blog-card-body p {
        color: var(--ss-muted);
        font-size: .95rem;
    }

.blog-more {
    margin-top: auto;
    font-weight: 600;
    font-size: .92rem;
    color: var(--ss-terracotta);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}

.blog-meta {
    font-size: .85rem;
    color: var(--ss-muted);
}

.blog-cat {
    color: var(--ss-terracotta);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: .75rem;
}

.container.narrow {
    max-width: 820px;
}

.blog-article .page-head h1 {
    font-size: clamp(1.8rem, 3.6vw, 2.6rem);
    line-height: 1.2;
}

.blog-hero {
    width: 100%;
    height: auto;
    border-radius: var(--ss-radius);
    box-shadow: var(--ss-shadow);
}

.blog-section {
    margin-top: 2.2rem;
}

    .blog-section h2 {
        font-size: 1.5rem;
        margin-bottom: .8rem;
    }

    .blog-section ul {
        padding-left: 1.2rem;
    }

    .blog-section li {
        margin-bottom: .4rem;
    }

.blog-cta {
    margin-top: 3rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    background: linear-gradient(135deg, var(--ss-green) 0%, #2d6a5e 100%);
    color: #fff;
    border-radius: var(--ss-radius);
    padding: 1.8rem 2rem;
}

    .blog-cta h2 {
        color: #fff;
    }

.apartment-card-body h3 a {
    color: inherit;
    text-decoration: none;
}

    .apartment-card-body h3 a:hover {
        color: var(--ss-terracotta);
    }

.apartment-card-img img {
    object-position: center 60%;
}

/* Fokus sichtbar für Tastaturnutzer (Barrierefreiheit) */
a:focus-visible, button:focus-visible, .btn:focus-visible {
    outline: 3px solid var(--ss-sun);
    outline-offset: 2px;
}

/* Footer-Überschriften & größere Klickflächen (Mobil) */
.footer-heading {
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: .78rem;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    margin-bottom: .8rem;
}

.site-footer li a, .crumbs a {
    display: inline-block;
    padding: .35rem 0;
    min-height: 24px;
}

.footer-contact li {
    padding: 0;
}
