/*
Theme Name: Panorama Apartment Bad Goisern
Theme URI: https://www.panorama-apartment-badgoisern.at
Author: CodeOrbit
Author URI: https://codeorbit.at
Description: Custom theme for Panorama Apartment Bad Goisern am Hallstättersee
Version: 1.0.0
Text Domain: panorama
*/

:root {
    --color-primary: #4a5568;
    --color-primary-dark: #2d3748;
    --color-accent: #c8a45c;
    --color-accent-light: #d4b76a;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-bg: #ffffff;
    --color-bg-light: #f7f7f5;
    --color-bg-warm: #faf8f5;
    --color-border: #e2e0dc;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --max-width: 1200px;
    --header-height: 80px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-accent-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary-dark);
    line-height: 1.3;
    font-weight: 600;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.3rem; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section--alt {
    background: var(--color-bg-light);
}

.section__title {
    text-align: center;
    margin-bottom: 1rem;
}

.section__subtitle {
    text-align: center;
    color: var(--color-text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* =====================
   HEADER
   ===================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--color-border);
    height: var(--header-height);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header--scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.site-header--transparent {
    background: transparent;
    border-bottom: none;
}

.site-header--transparent .nav-link,
.site-header--transparent .site-logo__text {
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.header__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.site-logo__img {
    height: 55px;
    width: auto;
    border-radius: 4px;
}


.site-logo__text {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-primary-dark);
    font-weight: 600;
    line-height: 1.2;
}

.site-logo__text small {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--color-text-light);
    letter-spacing: 0.05em;
}

.nav-main {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-primary);
    text-decoration: none;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link--active {
    color: var(--color-accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link--active::after {
    width: 100%;
}

.nav-cta {
    background: var(--color-accent);
    color: #fff !important;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: background 0.3s ease;
    text-shadow: none !important;
}

.nav-cta:hover {
    background: var(--color-accent-light);
    color: #fff !important;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-primary-dark);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* =====================
   HERO
   ===================== */

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
    color: #fff;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    top: var(--header-height);
    z-index: -3;
}

.hero__video {
    position: absolute;
    inset: 0;
    top: var(--header-height);
    width: 100%;
    height: calc(100% - var(--header-height));
    object-fit: cover;
    z-index: -2;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero__video.is-playing {
    opacity: 1;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.05) 0%,
        rgba(0, 0, 0, 0.15) 60%,
        rgba(0, 0, 0, 0.4) 100%
    );
    z-index: -1;
}

.hero__overlay--light {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.35) 0%,
        rgba(0, 0, 0, 0.1) 40%,
        rgba(0, 0, 0, 0.05) 60%,
        rgba(0, 0, 0, 0.4) 100%
    );
}

.hero__content {
    text-align: center;
    max-width: 800px;
    padding: 0 1.5rem 4rem;
    padding-top: calc(var(--header-height) + 1.5rem);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__spacer {
    flex: 1;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero__location {
    font-size: 1.2rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero__tagline {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-style: italic;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero__logo {
    max-width: 650px;
    width: 100%;
    margin-bottom: 2rem;
    filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.5));
}

.hero__cta {
    display: inline-block;
    background: var(--color-accent);
    color: #fff;
    padding: 1rem 2.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 4px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.hero__cta:hover {
    background: var(--color-accent-light);
    color: #fff;
    transform: translateY(-2px);
}

/* =====================
   APARTMENTS OVERVIEW
   ===================== */

.apartments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.apartment-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.apartment-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.apartment-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.apartment-card__image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.apartment-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.apartment-card__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--color-accent);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 600;
}

.apartment-card__body {
    padding: 1.5rem;
}

.apartment-card__title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.apartment-card__meta {
    display: flex;
    gap: 1.5rem;
    color: var(--color-text-light);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.apartment-card__meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.apartment-card__desc {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.apartment-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-accent);
    font-weight: 600;
    font-size: 0.9rem;
}

.apartment-card__link:hover {
    gap: 0.8rem;
}

/* =====================
   HIGHLIGHTS / FEATURES
   ===================== */

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.highlights-grid--features {
    grid-template-columns: repeat(4, 1fr);
}

.highlight-item {
    text-align: center;
    padding: 2rem 1.5rem;
}

.highlight-item--link {
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    color: inherit;
}

.highlight-item--link:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.highlight-item__icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-accent);
}

.highlight-item__title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.highlight-item__text {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.highlight-item__more {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-primary);
    transition: color 0.2s ease;
}

.highlight-item--link:hover .highlight-item__more {
    color: var(--color-accent);
}

/* =====================
   IMAGE GALLERY
   ===================== */

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.gallery__item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery__item:hover img {
    transform: scale(1.08);
}

.gallery__item--wide {
    grid-column: span 2;
}

.gallery__item--tall {
    grid-row: span 2;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox--active {
    display: flex;
}

.lightbox__img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox__close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    padding: 1rem;
}

.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }

/* =====================
   APARTMENT DETAIL
   ===================== */

.apartment-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.apartment-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    z-index: -2;
}

.apartment-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
    z-index: -1;
}

.apartment-hero__content {
    padding: 3rem 0;
    color: #fff;
    width: 100%;
}

.apartment-hero__content h1 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.apartment-detail {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.apartment-detail__features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--color-bg-light);
    border-radius: 6px;
    font-size: 0.9rem;
}

.feature-item__icon {
    color: var(--color-accent);
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Sidebar / Booking Box */
.booking-box {
    position: sticky;
    top: calc(var(--header-height) + 2rem);
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.booking-box__title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
}

.booking-box__info {
    list-style: none;
    margin-bottom: 1.5rem;
}

.booking-box__info li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-bg-light);
    font-size: 0.9rem;
}

.booking-box__info li strong {
    color: var(--color-primary-dark);
}

.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: var(--font-body);
}

.btn--primary {
    background: var(--color-accent);
    color: #fff;
    width: 100%;
}

.btn--primary:hover {
    background: var(--color-accent-light);
    color: #fff;
}

.btn--outline {
    background: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
}

.btn--outline:hover {
    background: var(--color-accent);
    color: #fff;
}

/* =====================
   GUIDE PAGES
   ===================== */

.guide-intro {
    max-width: 800px;
    margin: 0 auto 1rem;
    color: var(--color-text-light);
    text-align: center;
    font-size: 1.05rem;
}

.guide-section {
    margin-top: 3rem;
}

.guide-section__title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-accent);
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.guide-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guide-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.guide-card__image {
    height: 200px;
    overflow: hidden;
}

.guide-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.guide-card:hover .guide-card__image img {
    transform: scale(1.05);
}

.guide-card__body {
    padding: 1.25rem 1.5rem 1.5rem;
}

.guide-card__distance {
    display: inline-block;
    background: var(--color-bg-light);
    padding: 0.25rem 0.75rem;
    border-radius: 3px;
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-bottom: 0.75rem;
}

.guide-card__title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.guide-card__desc {
    color: var(--color-text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

.guide-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.guide-card__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.78rem;
    color: var(--color-text-light);
    background: var(--color-bg-light);
    padding: 0.3rem 0.65rem;
    border-radius: 3px;
}

.guide-card__meta-item strong {
    color: var(--color-primary-dark);
    font-weight: 600;
}

.guide-card__route {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--color-border);
}

.guide-card__route a {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-primary);
    text-decoration: none;
    padding: 0.3rem 0.7rem;
    border: 1px solid var(--color-primary);
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}

.guide-card__route a:hover {
    background: var(--color-primary);
    color: #fff;
}

.guide-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.guide-card__tag {
    background: var(--color-bg-warm);
    padding: 0.2rem 0.6rem;
    border-radius: 3px;
    font-size: 0.75rem;
    color: var(--color-accent);
    font-weight: 500;
}

.guide-card--highlight {
    border-color: var(--color-accent);
    border-width: 2px;
}

.guide-card--full {
    grid-column: 1 / -1;
}

.guide-card--full .guide-card__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.guide-card--full .guide-card__image {
    height: 100%;
    min-height: 250px;
}

.guide-service {
    margin-top: 3rem;
    background: var(--color-bg-light);
    border-radius: 8px;
    padding: 2rem;
}

.guide-service__title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.guide-service__list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.guide-service__list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.guide-service__list li::before {
    content: "\2713";
    color: var(--color-accent);
    font-weight: 700;
    flex-shrink: 0;
}

/* =====================
   IMPRESSIONS GRID
   ===================== */

.impressions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.impressions-grid__item {
    border-radius: 8px;
    overflow: hidden;
}

.impressions-grid__item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.impressions-grid__item:hover img {
    transform: scale(1.05);
}

/* =====================
   SPLIT SECTIONS (Wellness, Frühstück)
   ===================== */

.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.split-section--reverse .split-section__image {
    order: -1;
}

.split-section__desc {
    margin: 1.5rem 0;
    color: var(--color-text-light);
}

.split-section__note {
    font-size: 0.9rem;
    color: var(--color-text-light);
    font-style: italic;
}

.split-section__image {
    border-radius: 8px;
    overflow: hidden;
}

.split-section__image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.check-list {
    list-style: none;
    margin: 1.5rem 0;
}

.check-list li {
    padding: 0.5rem 0;
}

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

.btn--inline {
    width: auto;
    display: inline-block;
}

/* =====================
   BOOKING FORM
   ===================== */

.booking-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group--full {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 0.95rem;
    font-family: var(--font-body);
    transition: border-color 0.3s ease;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-note {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-top: 1rem;
}

.form-success {
    background: #d4edda;
    color: #155724;
    padding: 1.5rem;
    border-radius: 6px;
    text-align: center;
    display: none;
}

/* =====================
   FLOOR PLAN
   ===================== */

.floor-plan {
    margin: 2rem 0;
    text-align: center;
}

.floor-plan img {
    max-width: 400px;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* =====================
   FOOTER
   ===================== */

.site-footer {
    background: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer__col h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
    font-weight: 600;
}

.footer__col p {
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer__col a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    display: block;
    padding: 0.25rem 0;
    transition: color 0.3s ease;
}

.footer__col a:hover {
    color: var(--color-accent);
}

/* Vermieter Impressum Box */
.vermieter-box {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
    background: var(--color-bg-warm);
    border: 1px solid var(--color-border);
    border-radius: 12px;
}

.vermieter-box__label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-light);
    margin-bottom: 0.75rem;
}

.vermieter-box__name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    margin-bottom: 0.25rem;
}

.vermieter-box__address {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}

.vermieter-box__contact {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.vermieter-box__contact a {
    color: var(--color-primary);
    text-decoration: none;
}

.vermieter-box__contact a:hover {
    color: var(--color-accent);
}

.vermieter-box__note {
    font-size: 0.8rem;
    color: var(--color-text-light);
    font-style: italic;
    border-top: 1px solid var(--color-border);
    padding-top: 0.75rem;
    margin-top: 0;
}

.partner-bar {
    background: var(--color-bg-warm);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0;
    text-align: center;
}

.partner-bar p {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin: 0;
}

.partner-bar a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.partner-bar a:hover {
    color: var(--color-accent);
}

.footer__tagline {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--color-accent);
    margin-top: 0.5rem;
    font-size: 0.95rem;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.footer__bottom a {
    display: inline;
    padding: 0;
}

/* =====================
   ANREISE & CHECK-IN
   ===================== */

.checkin-block {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.checkin-block h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary-dark);
}

.checkin-address {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.checkin-map-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn--outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--color-primary);
    color: var(--color-primary-dark);
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.btn--outline:hover {
    background: var(--color-primary);
    color: #fff;
}

.checkin-routes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.checkin-route {
    background: var(--color-bg-warm);
    padding: 2rem;
    border-radius: 12px;
}

.checkin-route__icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.checkin-route h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--color-primary-dark);
}

.checkin-route ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}

.checkin-route ul li {
    padding: 0.4rem 0;
    padding-left: 1.2rem;
    position: relative;
    font-size: 0.95rem;
}

.checkin-route ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

.checkin-route__note {
    font-size: 0.85rem;
    color: var(--color-text-light);
    font-style: italic;
    margin: 0;
}

.checkin-times {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
}

.checkin-time {
    background: var(--color-bg-warm);
    padding: 1.5rem 2.5rem;
    border-radius: 12px;
    text-align: center;
}

.checkin-time__label {
    font-weight: 600;
    color: var(--color-primary-dark);
    margin-bottom: 0.25rem;
}

.checkin-time__value {
    font-size: 1.3rem;
    color: var(--color-primary);
    font-weight: 500;
}

.checkin-note {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.checkin-precheckin {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.checkin-precheckin__card {
    display: block;
    background: var(--color-bg-warm);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 2px solid transparent;
}

.checkin-precheckin__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-color: var(--color-primary);
}

.checkin-precheckin__icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.checkin-precheckin__card h3 {
    font-size: 1.1rem;
    color: var(--color-primary-dark);
    margin-bottom: 0.75rem;
}

.checkin-precheckin__link {
    color: var(--color-primary);
    font-weight: 500;
}

/* =====================
   RESPONSIVE
   ===================== */

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

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

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

    .apartment-detail {
        grid-template-columns: 1fr;
    }

    .booking-box {
        position: static;
    }

    .checkin-routes {
        grid-template-columns: 1fr;
    }

    .checkin-precheckin {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.3rem; }

    .nav-main {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 999;
        background: #fff;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        padding: 2rem;
    }

    .nav-main--open {
        display: flex;
    }

    .nav-main--open .nav-link {
        color: var(--color-primary-dark);
        font-size: 1.3rem;
        text-shadow: none;
    }

    .nav-main--open .nav-cta {
        margin-top: 1rem;
        font-size: 1.1rem;
        padding: 0.75rem 2.5rem;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .site-header--transparent .menu-toggle span {
        background: #fff;
    }

    .hero {
        height: 100vh;
        min-height: 450px;
    }

    .hero__logo {
        max-width: 260px;
        margin-bottom: 1.5rem;
    }

    .hero__title {
        font-size: 2.2rem;
    }

    .hero__tagline {
        font-size: 1.1rem;
    }

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

    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .highlight-item {
        padding: 1.2rem 1.5rem;
    }

    .highlight-item__icon {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .section {
        padding: 2.5rem 0;
    }

    .section__title {
        margin-bottom: 0.5rem;
    }

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

    .gallery__item--wide {
        grid-column: span 1;
    }

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

    .split-section {
        grid-template-columns: 1fr;
    }

    .split-section--reverse .split-section__image {
        order: 0;
    }

    .split-section__image img {
        height: 300px;
    }

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

    .guide-card--full .guide-card__inner {
        grid-template-columns: 1fr;
    }

    .guide-card--full .guide-card__image {
        min-height: 200px;
    }

    .guide-service__list {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .footer__bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .apartment-hero {
        height: 50vh;
    }
}

@media (max-width: 480px) {
    .gallery {
        grid-template-columns: 1fr;
    }

    .apartment-detail__features {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 500px;
    }
}

/* =====================
   ABOUT / ÜBER UNS
   ===================== */

.about-hero {
    max-width: 700px;
    margin: 0 auto 2.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.about-hero__image {
    width: 100%;
    height: auto;
    display: block;
}

.about-text {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text);
}

.about-text p {
    margin-bottom: 1.25rem;
}

/* =====================
   AVAILABILITY CALENDAR
   ===================== */
.avail-calendar {
    max-width: 720px;
    margin: 0 auto;
}

.avail-calendar__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.avail-calendar__nav button {
    background: none;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    font-size: 1rem;
    color: var(--color-primary-dark);
    transition: background 0.2s;
}

.avail-calendar__nav button:hover {
    background: var(--color-bg-light);
}

.avail-calendar__month-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--color-primary-dark);
}

.avail-calendar__months {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.avail-month {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 1rem;
}

.avail-month__title {
    text-align: center;
    font-weight: 600;
    color: var(--color-primary-dark);
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}

.avail-month__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    text-align: center;
    font-size: 0.8rem;
}

.avail-month__grid .day-header {
    font-weight: 600;
    color: var(--color-text-light);
    padding: 0.25rem 0;
    font-size: 0.7rem;
}

.avail-month__grid .day {
    padding: 0.3rem 0;
    border-radius: 4px;
    line-height: 1.6;
}

.avail-month__grid .day--empty {
    visibility: hidden;
}

.avail-month__grid .day--past {
    color: #ccc;
}

.avail-month__grid .day--free {
    background: #e8f5e9;
    color: #2e7d32;
}

.avail-month__grid .day--booked {
    background: #ffebee;
    color: #c62828;
    text-decoration: line-through;
}

.avail-month__grid .day--today {
    font-weight: 700;
    box-shadow: inset 0 0 0 2px var(--color-accent);
}

.avail-legend {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--color-text-light);
}

.avail-legend__item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.avail-legend__dot {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

.avail-legend__dot--free {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
}

.avail-legend__dot--booked {
    background: #ffebee;
    border: 1px solid #ef9a9a;
}

.avail-loading {
    text-align: center;
    padding: 2rem;
    color: var(--color-text-light);
}

@media (max-width: 768px) {
    .avail-calendar__months {
        grid-template-columns: 1fr;
    }
}
