/* ==========================================================
   HAFENKOJEN — CINEMATIC DARK REDESIGN
   Deep navy · gold accents · modern maritime
   ========================================================== */

@font-face {
    font-family: 'gopetter';
    src: url('../fonts/GopetterRegular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Futura';
    src: url('../fonts/Futura-Std-Medium.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Outfit';
    src: url('../fonts/Outfit-VariableFont_wght.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    /* ── Dark maritime palette ── */
    --ink:        #0E2540;   /* deepest background */
    --ink-2:      #F0EBE1;   /* alternating section — warm beige */
    --navy:       #0E2540;   /* mid navy */
    --beige:      #F0EBE1;   /* warm sand beige */
    --navy-soft:  #12304F;   /* card surfaces */
    --navy-glass: rgba(12, 30, 52, 0.72);
    --line:       rgba(160, 126, 50, 0.18);  /* gold hairline */
    --line-soft:  rgba(255, 255, 255, 0.08);

    /* ── Gold ── */
    --gold:       #A07E32;
    --gold-light: #C9A24B;
    --gold-deep:  #A07E32;

    /* ── Maritime accent ── */
    --sea:        #6BA6CC;
    --sea-deep:   #4B86AA;

    /* ── Text ── */
    --text:       #ECF2F8;
    --text-soft:  #C3D2E0;
    --text-muted: #8DA1B5;
    --white:      #FFFFFF;

    /* ── Type ── */
    --font-display: 'Futura', system-ui, sans-serif;
    --font-body:    'Outfit', 'Futura', system-ui, -apple-system, sans-serif;
    --font-script:  'gopetter', 'Brush Script MT', cursive;

    /* ── Spacing ── */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-xxl: 9rem;

    --radius-sm: 8px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --radius-pill: 50px;

    --transition-fast: 0.3s ease;
    --transition-smooth: 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    --shadow-soft:  0 20px 55px rgba(0, 0, 0, 0.45);
    --shadow-hover: 0 34px 80px rgba(0, 0, 0, 0.6);
    --shadow-gold:  0 14px 38px rgba(160, 126, 50, 0.32);

    --maxw: 1320px;
}

/* ==========================================================
   RESET & BASE
   ========================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    color: var(--text);
    background-color: var(--ink);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--gold); color: var(--ink); }

/* Subtle film grain over the whole page for a cinematic finish */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.05;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Backgrounds (getauscht: ink=beige, ink-2=navy) ── */
.bg-ink    { background-color: var(--ink-2); }
.bg-ink-2  { background-color: var(--ink); }
.bg-navy   { background-color: var(--navy); }
.bg-white  { background-color: var(--ink-2); }  /* legacy hooks → beige */
.bg-shell  { background-color: var(--ink); }
.bg-sand   { background-color: var(--ink); }
.bg-dune   { background-color: var(--navy); color: var(--text); }
.text-white { color: var(--white); }

/* ── Beige-Sektionen (jetzt bg-ink): Textfarben auf dunkel + Wellenübergänge ── */
.bg-ink {
    color: var(--navy);
    position: relative;
    z-index: 1;
}

/* Wellen-Trennlinie oben und unten auf Beige-Sektionen */
.bg-ink::before,
.bg-ink::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 72px;
    pointer-events: none;
    z-index: 2;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

/* Obere Welle: Navy-Form am Beginn der Beige-Sektion */
.bg-ink::before {
    top: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 72' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,0 H1440 V38 C1320,62 1200,14 1080,46 C960,68 840,14 720,44 C600,68 480,14 360,44 C240,66 120,16 0,42 Z' fill='%230E2540'/%3E%3C/svg%3E");
}

/* Untere Welle: Navy-Form am Ende der Beige-Sektion */
.bg-ink::after {
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 72' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,72 H1440 V34 C1320,10 1200,58 1080,26 C960,4 840,58 720,28 C600,4 480,58 360,28 C240,6 120,56 0,30 Z' fill='%230E2540'/%3E%3C/svg%3E");
}

/* Nur Gopetter-Überschriften + Fließtexte in Beige-Sektionen: dunkelblau */
.bg-ink .font-gopetter,
.bg-ink .gopetter-heading,
.bg-ink h1,
.bg-ink h2,
.bg-ink h3 {
    color: var(--navy);
}
.bg-ink p {
    color: var(--navy);
}
/* „bleiben." Span in Gopetter-Überschriften bleibt gold */
.bg-ink h2 span.font-gopetter,
.bg-ink h2 .script {
    color: var(--gold-deep);
}
/* Overrides: intro-text / split-text haben eigene Farbregeln → auf dunkelblau erzwingen */
.bg-ink .intro-text p,
.bg-ink .split-text p,
.bg-ink .statement .lead,
.bg-ink .statement p {
    color: var(--navy);
}
.bg-ink .split-text h2 { color: var(--navy); }
/* Kontakt-Info Überschriften: gold */
.bg-ink .contact-info h3,
body.interior-page .bg-ink .contact-info h3 { color: var(--gold) !important; }
/* Wave-Divider (Linienelement zwischen Hero und Sektion) verstecken */
.wave-divider { display: none; }
.bg-ink .subtitle {
    color: var(--gold-deep);
}
.bg-ink .subtitle::before {
    background: var(--gold-deep);
}
/* Dunkle Karten in Beige-Sektionen: helle Texte wiederherstellen */
.bg-ink .review-card        { color: var(--text); }
.bg-ink .review-card h3     { color: var(--text); }
.bg-ink .review-text        { color: var(--text-soft); }
.bg-ink .review-name        { color: var(--text); }
.bg-ink .review-source      { color: var(--text-muted); }
.bg-ink .cta-inner                    { color: var(--text); }
.bg-ink .cta-inner h2,
body.interior-page .bg-ink .cta-inner h2 { color: var(--white) !important; }
.bg-ink .cta-inner p                  { color: var(--text-soft); }
.bg-ink .apt-card           { color: var(--text); }
.bg-ink .apt-card h3        { color: var(--text); }
.bg-ink .apt-card p         { color: var(--text-soft); }
.text-light { color: var(--text-soft); }
.text-center { text-align: center; }

.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section { padding: var(--space-xl) 0; position: relative; }

@media (min-width: 768px) {
    .section { padding: var(--space-xxl) 0; }
}

/* ==========================================================
   TYPOGRAPHY
   ========================================================== */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 380;
    line-height: 1.08;
    letter-spacing: -0.015em;
    margin-bottom: var(--space-sm);
    color: var(--text);
}

h1 { font-size: clamp(2.6rem, 6.5vw, 6rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.9rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 420; }
h4 { font-size: 1.1rem; }

p { color: var(--text-soft); }

.script {
    font-family: var(--font-script);
    color: var(--gold);
    font-weight: 400;
    letter-spacing: 0;
}

.italic { font-style: italic; font-weight: 400; }

/* Section kicker / eyebrow */
.subtitle {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-family: var(--font-body);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--gold);
}

.subtitle::before {
    content: '';
    width: 34px;
    height: 1px;
    background: var(--gold);
    opacity: 0.8;
}

.subtitle.centered { justify-content: center; }

.lead {
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    color: var(--text-soft);
    line-height: 1.8;
}

/* ==========================================================
   BUTTONS & LINKS
   ========================================================== */
.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2.3rem;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--ink);
    border: none;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.98rem;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 48px rgba(160, 126, 50, 0.45);
    filter: brightness(1.05);
}

.btn-gold svg { width: 18px; height: 18px; }

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.95rem 2.2rem;
    border: 1px solid var(--gold);
    color: var(--gold);
    background: transparent;
    border-radius: var(--radius-pill);
    font-weight: 500;
    font-size: 0.98rem;
    transition: var(--transition-fast);
    margin-top: var(--space-md);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--ink);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.btn-outline svg { width: 18px; height: 18px; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--gold);
    position: relative;
    transition: var(--transition-fast);
}

.link-arrow svg { width: 20px; height: 20px; transition: transform var(--transition-fast); }
.link-arrow:hover svg { transform: translateX(6px); }
.link-arrow::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0;
    width: 0; height: 1px;
    background-color: var(--gold);
    transition: width var(--transition-fast);
}
.link-arrow:hover::after { width: 100%; }

/* ==========================================================
   NAVIGATION
   ========================================================== */
.navbar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem var(--space-lg);
    transition: var(--transition-smooth);
    background: transparent;
    color: var(--white);
}

.navbar.scrolled {
    background: rgba(240, 235, 225, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--navy);
    padding: 0.3rem var(--space-lg);
    box-shadow: 0 1px 0 rgba(14, 37, 64, 0.08), 0 10px 40px rgba(0,0,0,0.1);
}

.navbar.menu-open { background: var(--beige); color: var(--navy); }

.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo-img {
    height: 84px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: var(--transition-smooth);
}

.navbar.scrolled .logo-img {
    filter: brightness(0) saturate(100%) invert(12%) sepia(35%) saturate(3020%) hue-rotate(198deg) brightness(93%) contrast(97%);
}

.nav-links { display: flex; align-items: center; gap: 2.4rem; }

.nav-links a {
    font-weight: 500;
    font-size: 0.92rem;
    letter-spacing: 0.04em;
    position: relative;
    opacity: 0.92;
    transition: var(--transition-fast);
}

.nav-links a:hover, .nav-links a.active { opacity: 1; color: var(--gold-light); }

.nav-links a:not(.nav-book-btn)::after {
    content: '';
    position: absolute;
    bottom: -6px; left: 0;
    width: 0; height: 1.5px;
    background-color: var(--gold-light);
    transition: width var(--transition-fast);
}
.nav-links a:not(.nav-book-btn):hover::after,
.nav-links a:not(.nav-book-btn).active::after { width: 100%; }

.nav-book-btn {
    padding: 0.6rem 1.5rem;
    border: 1px solid var(--gold-light);
    border-radius: var(--radius-pill);
    color: var(--gold-light) !important;
    font-weight: 600 !important;
    opacity: 1 !important;
    transition: var(--transition-fast);
}
.nav-book-btn:hover {
    background: var(--gold-light);
    color: var(--ink) !important;
    box-shadow: var(--shadow-gold);
}

.mobile-menu-btn {
    display: none;
    background: none; border: none; cursor: pointer;
    z-index: 1001; color: inherit;
    width: 30px; height: 20px; position: relative;
}
.mobile-menu-btn span {
    display: block; position: absolute; height: 2px; width: 100%;
    background: currentColor; border-radius: 9px; left: 0;
    transition: .25s ease-in-out;
}
.mobile-menu-btn span:nth-child(1) { top: 0; }
.mobile-menu-btn span:nth-child(2) { top: 9px; }
.mobile-menu-btn span:nth-child(3) { top: 18px; }
.mobile-menu-btn.active span:nth-child(1) { top: 9px; transform: rotate(135deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; left: -60px; }
.mobile-menu-btn.active span:nth-child(3) { top: 9px; transform: rotate(-135deg); }

@media (max-width: 980px) {
    .navbar { padding: var(--space-sm) var(--space-md); }
    .navbar.scrolled { padding: var(--space-xs) var(--space-md); }
    .logo-img { height: 64px; }
    .mobile-menu-btn { display: block; }

    .nav-links {
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100vh;
        background: var(--beige);
        flex-direction: column;
        justify-content: center;
        gap: var(--space-md);
        transform: translateY(-100%);
        transition: transform var(--transition-smooth);
        visibility: hidden;
    }
    .nav-links.active { transform: translateY(0); visibility: visible; }
    .nav-links a { font-size: 1.7rem; font-family: var(--font-display); color: var(--navy); }
    .nav-links a.active, .nav-links a:hover { color: var(--gold-light); }
    .nav-book-btn { font-size: 1.2rem !important; padding: 0.7rem 2rem; }
}

/* ==========================================================
   HERO
   ========================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 720px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-bg {
    position: absolute;
    top: -8%; left: 0;
    width: 100%; height: 118%;
    overflow: hidden;
    z-index: -2;
    will-change: transform;
    animation: heroZoom 19s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1); }
    to   { transform: scale(1.10); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(120% 80% at 50% 0%, rgba(6,18,31,0) 35%, rgba(6,18,31,0.2) 100%),
        linear-gradient(180deg, rgba(6,18,31,0.25) 0%, rgba(6,18,31,0.15) 32%, rgba(6,18,31,0.25) 70%, rgba(6,18,31,0.6) 100%);
}

.hero-content {
    color: var(--white);
    padding: 0 var(--space-lg);
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding-top: 26vh;
    text-align: center;
}

.hero-content .subtitle { color: var(--white); justify-content: center; margin-bottom: var(--space-md); }
.hero-content .subtitle::before { background: var(--white); }

.hero-content h1 {
    font-family: var(--font-display);
    font-weight: 350;
    line-height: 1.02;
    text-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

.hero-gopetter, .hero-script {
    font-family: var(--font-script);
    color: var(--gold-light);
    font-size: 1.15em;
    font-weight: 400;
}

.hero-content p {
    font-size: 1.15rem;
    max-width: 540px;
    margin: var(--space-md) auto 0;
    font-weight: 500;
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(6, 18, 31, 0.95), 0 1px 3px rgba(6, 18, 31, 0.95), 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* ── Search mask container ── */
.search-mask-container {
    width: 100%;
    padding: 0 var(--space-md) var(--space-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.search-headline {
    font-family: var(--font-display);
    color: var(--white);
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    font-weight: 400;
    line-height: 1.1;
    text-align: center;
    margin-bottom: var(--space-md);
    text-shadow: 0 2px 12px rgba(6, 18, 31, 0.95), 0 1px 3px rgba(6, 18, 31, 0.95), 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* ── Guesty API search bar (dark glass + gold) ── */
.api-search-bar {
    display: flex;
    align-items: center;
    background: var(--beige);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid rgba(14, 37, 64, 0.1);
    border-radius: var(--radius-pill);
    box-shadow: 0 30px 70px rgba(0,0,0,0.35);
    padding: 8px 8px 8px 28px;
    gap: 0;
    width: 100%;
    max-width: 1000px;
}

.api-search-field {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 10px 18px;
    cursor: pointer;
    border-radius: 40px;
    transition: background 0.2s;
    min-width: 0;
}
.api-search-field:hover { background: rgba(160, 126, 50, 0.08); }

.api-search-field label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--gold);
    margin-bottom: 4px;
    cursor: pointer;
    white-space: nowrap;
}

.api-search-field input,
.api-search-field select {
    font-family: var(--font-body);
    font-size: 0.96rem;
    font-weight: 500;
    color: var(--navy);
    border: none;
    background: transparent;
    outline: none;
    cursor: pointer;
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
}

.api-search-field input::placeholder { color: rgba(14, 37, 64, 0.45); }
.api-search-field input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0; position: absolute; width: 100%; cursor: pointer;
}

.api-search-divider {
    width: 1px; height: 38px;
    background: rgba(14, 37, 64, 0.12);
    flex-shrink: 0;
}

.api-search-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--ink);
    border: none;
    border-radius: 40px;
    padding: 15px 30px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    white-space: nowrap;
    flex: 1 0 auto;
    justify-content: center;
}
.api-search-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: var(--shadow-gold);
    filter: brightness(1.05);
}
.api-search-btn:disabled { opacity: 0.7; cursor: wait; }
.api-search-btn svg { width: 18px; height: 18px; }

/* Guest stepper */
.api-stepper-field { flex-shrink: 0; }
.api-stepper {
    display: flex; align-items: center; justify-content: space-between;
    gap: 8px; width: 100%;
}
.api-stepper span {
    font-family: var(--font-body); font-size: 0.96rem; font-weight: 500;
    color: var(--navy); white-space: nowrap;
}
.api-guests-select {
    display: none;
}
.api-search-field .cust-select {
    display: none;
}
.api-stepper-btns { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.api-step-btn {
    width: 28px; height: 28px; border-radius: 50%;
    border: 1.5px solid var(--gold); background: transparent; color: var(--gold);
    font-size: 18px; font-weight: 300; line-height: 1; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.15s, color 0.15s; padding: 0; flex-shrink: 0;
}
.api-step-btn:hover { background: var(--gold); color: var(--ink); }
.api-step-btn:disabled { border-color: var(--text-muted); color: var(--text-muted); cursor: default; }
.api-step-btn:disabled:hover { background: transparent; color: var(--text-muted); }

/* Pets toggle */
.api-pets-toggle { cursor: pointer; user-select: none; transition: background 0.2s; flex: 0 0 auto; }
.api-pets-toggle #api-pets-value {
    font-family: var(--font-body); font-size: 0.96rem; font-weight: 500;
    color: rgba(14, 37, 64, 0.5); transition: color 0.2s;
}
.api-pets-toggle.active #api-pets-value { color: var(--gold); font-weight: 600; }
.api-pets-toggle.active { background: rgba(160, 126, 50, 0.1); border-radius: 40px; }

.api-search-status {
    margin-top: 14px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 500;
    text-align: center;
    color: var(--text-soft);
    min-height: 20px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
.api-search-status.error { color: #ff9b9b; }

.hero-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--beige);
    border: 1px solid rgba(14, 37, 64, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 50px;
    padding: 8px 20px;
    margin-top: 18px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--navy);
    text-shadow: none;
    cursor: default;
}
.hero-rating-stars {
    color: var(--gold);
    font-size: 1rem;
    letter-spacing: 1px;
}
.hero-rating-text {
    font-weight: 600;
    color: var(--navy);
}
.hero-rating-dot {
    color: rgba(14, 37, 64, 0.4);
    font-size: 1.1rem;
    line-height: 1;
}
.hero-rating-label {
    color: rgba(14, 37, 64, 0.6);
}

.search-note {
    margin-top: 18px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    text-align: center;
    color: var(--text-soft);
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
    max-width: 600px;
    line-height: 1.5;
}
.search-note a {
    color: var(--gold-light) !important;
    text-decoration: underline !important;
    font-weight: 500;
    transition: var(--transition-fast);
}
.search-note a:hover {
    color: var(--gold) !important;
}

.api-row-mobile { display: contents; }

@media (max-width: 768px) {
    .api-search-bar {
        flex-direction: column;
        border-radius: 22px;
        padding: 14px;
        align-items: stretch;
    }
    .api-search-field { padding: 12px 10px; border-radius: 12px; }
    .api-search-divider { width: 100%; height: 1px; margin: 0; }
    .api-row-mobile { display: flex; gap: 0; width: 100%; }
    .api-row-mobile .api-search-field { flex: 1; }
    .api-row-mobile .api-search-divider { width: 1px; height: auto; }
    .api-search-btn { width: 100%; justify-content: center; margin-top: 12px; border-radius: 12px; padding: 16px; }
    .api-stepper { flex-direction: row; justify-content: space-between; }
}

/* ── Litepicker dark theme ── */
.litepicker {
    --litepicker-font-family: 'Outfit', sans-serif;
    --litepicker-container-months-color-bg: #0E2540;
    --litepicker-container-months-box-shadow: 0 24px 70px rgba(0,0,0,0.6);
    --litepicker-day-color: #ECF2F8;
    --litepicker-day-color-hover: #06121F;
    --litepicker-is-today-color: #C9A24B;
    --litepicker-is-in-range-color: rgba(160, 126, 50, 0.16);
    --litepicker-is-in-range-color-bg: rgba(160, 126, 50, 0.16);
    --litepicker-is-start-color: #06121F;
    --litepicker-is-end-color: #06121F;
    --litepicker-is-start-color-bg: #A07E32;
    --litepicker-is-end-color-bg: #A07E32;
    --litepicker-month-header-color: #ECF2F8;
    --litepicker-month-button-color: #A07E32;
    --litepicker-button-prev-month-color: #A07E32;
    --litepicker-button-next-month-color: #A07E32;
    font-family: 'Outfit', sans-serif;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--line) !important;
    box-shadow: 0 24px 70px rgba(0,0,0,0.6) !important;
}
.litepicker .container__months { border-radius: 16px; background: #0E2540; }
.litepicker .month-item-header { color: #ECF2F8; font-weight: 600; }
.litepicker .month-item-weekdays-row > div { color: #8DA1B5; }
.litepicker .day-item:hover { background-color: #A07E32 !important; color: #06121F !important; box-shadow: none !important; }
.litepicker .day-item.is-today { color: #C9A24B; font-weight: 700; }
.litepicker .day-item.is-locked { color: #4a5b6d; }
.litepicker .container__tooltip { color: var(--ink) !important; }

/* ==========================================================
   DIVIDER (refined hairline wave)
   ========================================================== */
.wave-divider {
    width: 100%;
    height: 1px;
    border: none;
    margin: 0 auto;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.4;
    display: block;
}
svg.wave-divider { height: 60px; background: none; opacity: 0.5; overflow: visible; }

/* ==========================================================
   STATS STRIP
   ========================================================== */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: var(--space-lg) 0;
}
.stat { text-align: center; }
.stat-num {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    font-weight: 380;
    color: var(--gold);
    line-height: 1;
}
.stat-label {
    display: block;
    margin-top: 0.6rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
}
@media (max-width: 768px) {
    .stats-strip { grid-template-columns: repeat(2, 1fr); gap: var(--space-lg) var(--space-md); }
}

/* ==========================================================
   STATEMENT BLOCK
   ========================================================== */
.statement {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}
.statement h2 { margin-bottom: var(--space-md); }
.statement .lead { max-width: 760px; margin: 0 auto; }

/* ==========================================================
   FEATURES
   ========================================================== */
.section.features { padding-top: var(--space-xl); }

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-lg) var(--space-md);
    background: none;
    border: none;
    transition: transform var(--transition-fast);
}
.feature-card:hover {
    transform: translateY(-6px);
}

.feature-icon {
    width: 110px; height: 110px;
    border-radius: 50%;
    background: rgba(160, 126, 50, 0.08);
    border: none;
    display: flex; justify-content: center; align-items: center;
    margin-bottom: var(--space-md);
    transition: var(--transition-fast);
}
.feature-card:hover .feature-icon { background: rgba(160, 126, 50, 0.16); }
.feature-icon img {
    width: 58px; height: 58px; object-fit: contain;
    filter: brightness(0) saturate(100%) invert(47%) sepia(52%) saturate(1067%) hue-rotate(10deg) brightness(97%) contrast(92%);
    transition: filter 0.35s ease;
}
.feature-card:hover .feature-icon { animation: iconSwitch 0.35s ease forwards; }
.feature-card:hover .feature-icon img { animation: iconImgSwitch 0.35s ease forwards; }

@keyframes iconSwitch {
    0%   { background: rgba(160, 126, 50, 0.08); }
    50%  { background: var(--gold); }
    100% { background: var(--gold); }
}
@keyframes iconImgSwitch {
    0%   { filter: brightness(0) saturate(100%) invert(47%) sepia(52%) saturate(1067%) hue-rotate(10deg) brightness(97%) contrast(92%); }
    50%  { filter: brightness(0) invert(1); }
    100% { filter: brightness(0) invert(1); }
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 420;
    margin-bottom: var(--space-sm);
    color: var(--text);
}
.feature-card p {
    color: var(--text-muted);
    font-size: 1.08rem;
    margin-bottom: var(--space-md);
    flex-grow: 1;
}

@media (max-width: 900px) {
    .features-grid { grid-template-columns: 1fr; gap: var(--space-md); }
}

/* ==========================================================
   SECTION HEADER
   ========================================================== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--space-xl);
    gap: var(--space-md);
}
.section-header .header-text { max-width: 640px; }

@media (max-width: 900px) {
    .section-header { flex-direction: column; align-items: flex-start; gap: var(--space-md); }
}

/* ==========================================================
   APARTMENT / FEATURE CARDS (homepage featured)
   ========================================================== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.card { display: block; }

.card-img-wrapper {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-soft);
}
.card-img-wrapper img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform var(--transition-smooth);
}
.card-img-wrapper::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(6,18,31,0) 55%, rgba(6,18,31,0.45) 100%);
    pointer-events: none;
}
.card:hover .card-img-wrapper img { transform: scale(1.05); }

.card-badge {
    position: absolute;
    top: var(--space-sm); right: var(--space-sm);
    background: var(--navy-glass);
    backdrop-filter: blur(8px);
    color: var(--gold-light);
    border: 1px solid var(--line);
    padding: 0.5rem 1.05rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.82rem;
    z-index: 2;
}

.card-content h3 { margin-bottom: 0.3rem; color: var(--text); transition: color var(--transition-fast); }
.card:hover .card-content h3 { color: var(--gold); }
.card-title-large { font-size: clamp(1.9rem, 3vw, 2.8rem); font-family: var(--font-display); }
.card-details {
    font-size: 0.85rem; color: var(--gold); margin-bottom: var(--space-sm);
    font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase;
}
.card-desc { color: var(--text-muted); font-size: 1rem; }

@media (min-width: 900px) { .mt-offset { margin-top: var(--space-xl); } }
@media (max-width: 900px) { .cards-grid { grid-template-columns: 1fr; } }

/* ==========================================================
   APARTMENTS LISTING (wohnungen.html)
   ========================================================== */
.apt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: var(--space-md);
    padding-bottom: var(--space-xl);
}

.apt-card {
    background: linear-gradient(170deg, var(--navy-soft), var(--navy));
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.apt-card:hover {
    transform: translateY(-8px);
    border-color: var(--line);
    box-shadow: var(--shadow-hover);
}
.apt-card .apt-photo {
    height: 270px;
    position: relative;
    overflow: hidden;
}
.apt-card .apt-photo img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform var(--transition-smooth);
}
.apt-card:hover .apt-photo img { transform: scale(1.06); }
.apt-card .apt-photo::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(6,18,31,0) 50%, rgba(14,37,64,0.85) 100%);
}
.apt-cat-badge {
    position: absolute;
    top: 14px; left: 14px;
    z-index: 2;
    background: var(--navy-glass);
    backdrop-filter: blur(8px);
    border: 1px solid var(--line);
    color: var(--gold-light);
    padding: 0.4rem 0.95rem;
    border-radius: var(--radius-pill);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.apt-body {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.apt-body h3 {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 420;
    color: var(--text);
    margin-bottom: 0.5rem;
    transition: color var(--transition-fast);
}
.apt-card:hover .apt-body h3 { color: var(--gold); }
.apt-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.9rem;
    font-size: 0.84rem;
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
}
.apt-specs span { display: inline-flex; align-items: center; gap: 0.35rem; }
.apt-specs .dot { color: var(--gold); }
.apt-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: var(--space-sm); }
.apt-tag {
    display: inline-flex; align-items: center; gap: 4px;
    border-radius: var(--radius-pill);
    padding: 3px 11px;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.apt-tag.barrier { background: rgba(107,166,204,0.14); color: var(--sea); border: 1px solid rgba(107,166,204,0.3); }
.apt-tag.dogs { background: rgba(160, 126, 50, 0.14); color: var(--gold-light); border: 1px solid var(--line); }
.apt-desc { color: var(--text-muted); font-size: 0.92rem; line-height: 1.6; flex-grow: 1; }
.apt-cta {
    display: inline-flex; align-items: center; gap: 0.4rem;
    margin-top: var(--space-md);
    color: var(--gold);
    font-weight: 600;
    font-size: 0.92rem;
}
.apt-cta svg { width: 17px; height: 17px; transition: transform var(--transition-fast); }
.apt-card:hover .apt-cta svg { transform: translateX(5px); }

/* ── Filter bar ── */
.apt-filter-wrap { display: flex; justify-content: center; margin-bottom: var(--space-xl); overflow: visible; position: relative; z-index: 200; }
.apt-filter-bar {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    background: var(--navy-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-soft);
    padding: 8px 8px 8px 26px;
    white-space: nowrap;
    position: relative;
    z-index: 200;
}
.apt-filter-bar .fld { display: flex; flex-direction: column; padding: 6px 18px; }
.apt-filter-bar .fld-toggle { justify-content: center; gap: 8px; }
.fld-label {
    font-family: var(--font-body); font-size: 0.68rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold);
    margin-bottom: 4px; white-space: nowrap;
}

/* ── Custom Select Dropdown ── */
.cust-select { position: relative; }
.cust-select-btn {
    display: flex; align-items: center; gap: 8px;
    background: none; border: none; cursor: pointer;
    font-family: var(--font-body); font-size: 0.94rem; font-weight: 500;
    color: var(--navy); padding: 0; white-space: nowrap; min-width: 110px;
}
.cust-chevron {
    width: 14px; height: 14px; color: var(--gold); flex-shrink: 0;
    transition: transform 0.25s ease;
}
.cust-select.open .cust-chevron { transform: rotate(180deg); }
.cust-select.open .cust-select-panel { display: block; }
.cust-select-panel {
    display: none;
    position: absolute;
    top: calc(100% + 14px); left: 50%;
    transform: translateX(-50%);
    background: var(--navy-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    min-width: 160px;
    overflow: hidden;
    z-index: 9999;
    animation: dropDown 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.cust-select.open .cust-select-panel { display: block; }
@keyframes dropDown {
    from { opacity: 0; transform: translateX(-50%) translateY(-8px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.cust-option {
    padding: 10px 18px;
    font-family: var(--font-body); font-size: 0.92rem;
    color: var(--text-soft); cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.cust-option:hover { background: rgba(160, 126, 50, 0.1); color: var(--text); }
.cust-option.active { color: var(--gold); font-weight: 600; }
.cust-option + .cust-option { border-top: 1px solid var(--line-soft); }

/* ── Toggle Switch ── */
.toggle-switch { display: flex; align-items: center; cursor: pointer; }
.toggle-switch input { display: none; }
.toggle-track {
    width: 42px; height: 24px;
    background: rgba(255,255,255,0.1);
    border: 1px solid var(--line-soft);
    border-radius: 50px;
    position: relative;
    transition: background 0.25s, border-color 0.25s;
    flex-shrink: 0;
}
.toggle-thumb {
    position: absolute;
    top: 3px; left: 3px;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--text-muted);
    transition: transform 0.25s cubic-bezier(0.22,1,0.36,1), background 0.25s;
}
.toggle-switch input:checked ~ .toggle-track {
    background: rgba(160, 126, 50, 0.2);
    border-color: var(--gold);
}
.toggle-switch input:checked ~ .toggle-track .toggle-thumb {
    transform: translateX(18px);
    background: var(--gold);
}
.apt-filter-row-mobile { display: flex; align-items: center; gap: 0; }
.apt-divider-h, .apt-divider-v { width: 1px; height: 38px; background: var(--line-soft); flex-shrink: 0; }
.apt-reset-btn {
    display: flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--ink); border: none; border-radius: var(--radius-pill);
    padding: 12px 26px; font-family: var(--font-body); font-size: 0.92rem;
    font-weight: 600; cursor: pointer; transition: var(--transition-fast);
    white-space: nowrap; flex-shrink: 0; margin-left: 6px;
}
.apt-reset-btn:hover { box-shadow: var(--shadow-gold); transform: translateY(-1px); }

.apt-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--space-xl) 0;
    color: var(--text-muted);
    font-size: 1.1rem;
    display: none;
}

@media (max-width: 768px) {
    .apt-filter-bar {
        display: flex !important; flex-direction: column !important;
        border-radius: 20px !important; padding: 16px !important; width: 100%;
    }
    .apt-filter-bar .fld { padding: 10px 4px !important; width: 100%; }
    .apt-divider-h, .apt-divider-v { display: none !important; }
    .apt-filter-row-mobile { display: flex !important; width: 100%; gap: 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
    .apt-filter-row-mobile > .fld { flex: 1; }
    .apt-filter-bar .fld + .fld { border-top: 1px solid var(--line-soft); }
    .apt-filter-row-mobile > .fld + .fld { border-top: none; }
    .apt-reset-btn { width: 100% !important; justify-content: center !important; border-radius: 12px !important; margin-left: 0 !important; margin-top: 10px !important; padding: 14px 24px !important; }
    .apt-filter-bar select { min-width: unset !important; width: 100% !important; }
}

/* ==========================================================
   SPLIT / INTRO SECTION
   ========================================================== */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}
.intro-text p { font-size: 1.05rem; color: var(--text-soft); }

.intro-images { position: relative; height: 600px; }
.img-wrapper {
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}
.img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s ease; }
.img-wrapper:hover img { transform: scale(1.06); }
.main-img { position: absolute; top: 0; right: 0; width: 80%; height: 80%; z-index: 1; }
.secondary-img {
    position: absolute; bottom: 0; left: 0; width: 52%; height: 52%; z-index: 2;
    border: 6px solid var(--ink);
}

@media (max-width: 900px) {
    .intro-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
    .intro-images { height: 420px; margin-top: var(--space-md); }
}

/* ── Generic two-column (über uns) ── */
.split-grid { display: grid; gap: var(--space-xl); align-items: center; }
.split-grid.main  { grid-template-columns: 1fr 1.15fr; }
.split-grid.flip  { grid-template-columns: 1.15fr 1fr; }
.split-grid img { width: 100%; border-radius: var(--radius-md); box-shadow: var(--shadow-soft); }
.split-text h2 { color: var(--text); margin-bottom: var(--space-md); }
.split-text p { color: var(--text-soft); font-size: 1.06rem; line-height: 1.85; margin-bottom: var(--space-md); }
.split-text p:last-child { margin-bottom: 0; }
@media (max-width: 820px) {
    .split-grid.main, .split-grid.flip { grid-template-columns: 1fr; }
    .split-grid .split-img { order: 1; }
    .split-grid .split-text { order: 2; }
}

/* ==========================================================
   FULL-BLEED CINEMATIC BAND
   ========================================================== */
.cinematic-band {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}
.cinematic-band::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(6,18,31,0.75) 0%, rgba(6,18,31,0.5) 60%, rgba(6,18,31,0.15) 100%);
}
.cinematic-inner { position: relative; z-index: 2; max-width: 880px; padding: var(--space-xl) var(--space-md); }
.cinematic-inner h2 {
    font-family: var(--font-display);
    font-weight: 350;
    font-size: clamp(2rem, 4.5vw, 4rem);
    color: var(--white);
    text-shadow: 0 8px 40px rgba(0,0,0,0.5);
}
.cinematic-inner h2.gopetter-heading,
.cinematic-inner h2.gopetter-heading span {
    font-family: 'gopetter' !important;
    font-weight: 400;
}
.cinematic-inner p { color: rgba(255,255,255,0.88); font-size: 1.15rem; margin-top: var(--space-md); }
@media (max-width: 768px) { .cinematic-band { background-attachment: scroll; } }

/* Wenn eine Beige-Sektion (bg-ink) direkt über dem Bild (cinematic-band) liegt:
   Beige-Welle ragt ins Bild — kein Navy-Band dazwischen */
.bg-ink:has(+ .cinematic-band)::after {
    bottom: -88px;
    height: 90px;
    z-index: 100;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 90' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,0 H1440 V42 C1320,70 1200,18 1080,52 C960,88 840,14 720,50 C600,88 480,14 360,50 C240,85 120,22 0,56 Z' fill='%23F0EBE1'/%3E%3C/svg%3E");
}

/* bg-ink-2 (navy) direkt nach cinematic-band: obere Welle verstecken, nahtloser Übergang */
.cinematic-band + .bg-ink-2::before {
    display: none;
}

/* Kein Wellenmuster direkt unter dem Herobild (Startseite + Unterseiten)
   wave-divider SVG liegt zwischen page-header und bg-ink → beide Varianten abdecken */
.hero + .bg-ink::before,
.page-header + .bg-ink::before,
.wave-divider + .bg-ink::before {
    display: none;
}

/* ==========================================================
   REVIEWS
   ========================================================== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.review-card {
    background: linear-gradient(165deg, var(--navy-soft), var(--navy));
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-md);
    padding: 36px 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
    position: relative;
}
.review-card::before {
    content: '\201C';
    position: absolute;
    top: 8px; right: 24px;
    font-family: var(--font-display);
    font-size: 5rem;
    color: var(--gold);
    opacity: 0.18;
    line-height: 1;
}
.review-card:hover { transform: translateY(-6px); border-color: var(--line); box-shadow: var(--shadow-soft); }
.review-stars { font-size: 1.25rem; color: var(--gold); letter-spacing: 3px; }
.review-text { font-size: 0.97rem; color: var(--text-soft); line-height: 1.75; flex-grow: 1; margin: 0; }
.review-title-em { font-style: italic; font-weight: 600; font-size: 1.1rem; color: var(--gold-light); margin-bottom: -8px; font-family: var(--font-display); }
.review-author { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line-soft); padding-top: 16px; margin-top: auto; }
.review-author-info { display: flex; flex-direction: column; gap: 4px; }
.review-name { font-size: 0.95rem; font-weight: 600; color: var(--text); }
.review-source { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--text-muted); }
.google-icon { width: 16px; height: 16px; flex-shrink: 0; }
.booking-icon { width: 18px; height: 18px; flex-shrink: 0; border-radius: 3px; }
.reviews-scroll-hint { display: none; }
.reviews-cta { text-align: center; margin-top: 48px; }
.reviews-btn { display: inline-flex; align-items: center; gap: 8px; }
.reviews-btn svg { width: 18px; height: 18px; }

@media (max-width: 1024px) {
    .reviews-grid {
        display: flex; flex-direction: row; overflow-x: auto;
        scroll-snap-type: x mandatory; gap: 18px; padding-bottom: 16px;
        scrollbar-width: none; -ms-overflow-style: none;
    }
    .reviews-grid::-webkit-scrollbar { display: none; }
    .review-card { flex: 0 0 80%; max-width: 420px; scroll-snap-align: start; }
    .reviews-scroll-hint { display: flex; justify-content: center; gap: 6px; margin-top: 20px; }
    .reviews-scroll-hint span { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); opacity: 0.35; }
    .reviews-scroll-hint span:first-child { opacity: 1; }
}
@media (max-width: 640px) { .review-card { flex: 0 0 88%; padding: 28px 24px 22px; } }

/* ==========================================================
   CTA BAND
   ========================================================== */
.cta-band { text-align: center; }
.cta-inner {
    max-width: 820px; margin: 0 auto;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-md);
    background: radial-gradient(120% 130% at 50% 0%, rgba(160, 126, 50, 0.1), transparent 60%), linear-gradient(160deg, var(--navy-soft), var(--navy));
}
.cta-inner h2 { margin-bottom: var(--space-sm); }
.cta-inner p { color: var(--text-soft); max-width: 560px; margin: 0 auto var(--space-md); }

/* ==========================================================
   PAGE HEADER (interior pages)
   ========================================================== */
.page-header {
    position: relative;
    height: 64vh;
    min-height: 520px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    padding-bottom: 6rem;
}
.page-header .ph-overlay {
    position: absolute; inset: 0;
    background:
        radial-gradient(120% 80% at 50% 0%, rgba(6,18,31,0.05) 30%, rgba(6,18,31,0.2) 100%),
        linear-gradient(180deg, rgba(6,18,31,0.2) 0%, rgba(6,18,31,0.06) 40%, rgba(6,18,31,0.5) 100%);
}
.page-header .ph-inner { position: relative; z-index: 10; width: 100%; text-align: center; padding: 0 var(--space-md); }
.page-header h1 {
    font-family: var(--font-display);
    font-weight: 350;
    color: var(--white);
    font-size: clamp(3rem, 8vw, 7rem);
    text-shadow: 0 8px 40px rgba(0,0,0,0.5);
    margin-bottom: 0.6rem;
}
.page-header .ph-sub {
    font-size: 0.92rem; color: var(--gold-light);
    font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase;
}
@media (max-width: 768px) {
    .page-header {
        height: 42vh;
        min-height: 280px;
        padding-bottom: 3.5rem;
    }
}

/* ==========================================================
   CONTACT
   ========================================================== */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-xl); }
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.contact-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form input, .contact-form textarea {
    padding: 1rem 1.1rem;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.96rem;
    outline: none;
    background: var(--navy-soft);
    color: var(--text);
    transition: border-color var(--transition-fast);
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--text-muted); }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--gold); }
.contact-form textarea { min-height: 160px; resize: vertical; }
.contact-form button { margin-top: 0.4rem; align-self: flex-start; }

.contact-info {
    background: linear-gradient(165deg, var(--navy-soft), var(--navy));
    border: 1px solid var(--line-soft);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    display: flex; flex-direction: column; gap: 1.8rem;
}
.contact-info h3 { color: var(--gold); font-family: var(--font-display); font-weight: 420; margin-bottom: 0.4rem; }
.contact-info p { color: var(--text-soft); }
.contact-info a { color: var(--text); transition: color var(--transition-fast); }
.contact-info a:hover { color: var(--gold); }
.contact-map {
    flex-grow: 1; border-radius: var(--radius-sm); overflow: hidden;
    min-height: 230px; border: 1px solid var(--line-soft);
}
.contact-map iframe { width: 100%; height: 100%; min-height: 230px; border: 0; filter: grayscale(0.3) invert(0.9) hue-rotate(180deg) contrast(0.9); }
@media (max-width: 820px) {
    .contact-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
    .contact-form .row2 { grid-template-columns: 1fr; gap: 1.1rem; }
    .contact-form input, .contact-form textarea {
        padding: 0.8rem 1rem;
        font-size: 0.92rem;
    }
}

/* ==========================================================
   FOOTER
   ========================================================== */
.footer { padding: var(--space-xl) 0 var(--space-md); background: var(--navy); border-top: none; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--space-xl); margin-bottom: var(--space-xl); }
.footer .logo { margin-bottom: var(--space-md); }
.footer-logo-img { height: 110px; width: auto; object-fit: contain; filter: brightness(0) saturate(100%) invert(47%) sepia(52%) saturate(1067%) hue-rotate(10deg) brightness(97%) contrast(92%); opacity: 0.92; }
.footer-brand p { color: var(--text-muted); font-size: 1.02rem; }
.footer h4,
body .footer h4 {
    font-family: var(--font-display) !important;
    font-size: 2.05rem;
    color: var(--gold-light) !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    margin-bottom: var(--space-md);
    font-weight: 400 !important;
}
.footer-links a { display: block; color: var(--text-muted); margin-bottom: 0.6rem; transition: var(--transition-fast); }
.footer-links a:hover { color: var(--gold); transform: translateX(5px); }
.footer-contact p { color: var(--text-muted); margin-bottom: 1rem; }
.footer-contact a { color: var(--text-soft); transition: var(--transition-fast); }
.footer-contact a:hover { color: var(--gold); }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: var(--space-md); border-top: 1px solid var(--line-soft);
    color: var(--text-muted); font-size: 0.85rem;
}
.legal-links { display: flex; gap: var(--space-md); }
.legal-links a:hover { color: var(--gold); }

@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
    .footer-bottom { flex-direction: column; gap: var(--space-sm); text-align: center; }
}

/* ── Overrides for light footer (über uns page) ── */
.footer-light {
    background: var(--ink-2) !important;
    color: var(--navy) !important;
}
.footer-light .footer-logo-img {
    filter: brightness(0) saturate(100%) invert(12%) sepia(35%) saturate(3020%) hue-rotate(198deg) brightness(93%) contrast(97%) !important;
    opacity: 1 !important;
}
.footer-light .footer-brand p,
.footer-light .footer-links a,
.footer-light .footer-contact p,
.footer-light .footer-contact a,
.footer-light .footer-bottom,
.footer-light .footer-bottom p,
.footer-light .legal-links a {
    color: var(--navy) !important;
}
.footer-light .footer-links a:hover,
.footer-light .footer-contact a:hover,
.footer-light .legal-links a:hover {
    color: var(--gold) !important;
}
.footer-light .footer-bottom {
    border-top: 1px solid rgba(14, 37, 64, 0.15) !important;
}
.footer-light h4,
body .footer-light h4 {
    color: var(--gold) !important;
}

/* Helper to remove bottom wave */
.no-bottom-wave::after {
    display: none !important;
}

/* ==========================================================
   INTERIOR PAGES — Gopetter headings, Futura body
   ========================================================== */
body.interior-page {
    font-family: 'Futura', system-ui, -apple-system, sans-serif;
}

body.interior-page h1,
body.interior-page h2,
body.interior-page h3,
body.interior-page h4 {
    font-family: 'gopetter';
    font-weight: 400;
    letter-spacing: 0.01em;
}


/* Wohnungen tile headings stay in Futura */
body.interior-page .apt-body h3 {
    font-family: 'Futura', system-ui, -apple-system, sans-serif;
    font-weight: 500;
    letter-spacing: -0.01em;
}

/* ==========================================================
   ANIMATIONS
   ========================================================== */
.fade-up {
    opacity: 0;
    transform: translateY(34px);
    animation: fadeUp 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.45s; }
.delay-3 { animation-delay: 0.7s; }

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

.reveal {
    opacity: 0;
    transform: translateY(44px);
    transition: opacity 1s ease-out, transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    .hero-bg { animation: none; }
    .fade-up, .reveal { animation: none; transition: none; opacity: 1; transform: none; }
}

/* ── Mobile Hero Layout Optimizations (Dunkelblau + Beige Suchkarte) ── */
@media (max-width: 768px) {
    .hero {
        height: auto !important;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 1.2rem;
        background: var(--navy) !important; /* Deep navy background on mobile */
        padding-bottom: 4rem; /* Safe area for page flow */
    }
    
    .hero-overlay {
        display: none !important; /* Hide overlay on mobile */
    }
    
    .hero-bg {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 280px !important; /* Picture card height */
        border-radius: 0 0 0 40px !important; /* Rounded bottom-left corner */
        transform: none !important; /* Disable scroll translate */
        animation: heroZoom 19s ease-in-out infinite alternate !important; /* Keep zoom animation */
        z-index: 1 !important;
        overflow: hidden !important;
    }
    
    .hero-content {
        padding-top: 1.5rem !important; /* Flow naturally below image card */
        padding-bottom: 0 !important;
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
        max-width: 100% !important;
        text-align: left !important; /* Left aligned layout */
        color: var(--white) !important; /* White text on navy bg */
        margin: 0 !important;
        width: 100% !important;
    }
    
    .hero-content .subtitle {
        color: var(--gold-light) !important; /* Light gold on navy bg */
        justify-content: flex-start !important;
        margin-bottom: 0.6rem !important;
    }
    .hero-content .subtitle::before {
        background: var(--gold-light) !important;
    }
    
    .hero-content h1 {
        color: var(--white) !important;
        font-size: clamp(2rem, 8vw, 2.7rem) !important;
        text-shadow: none !important;
        line-height: 1.15 !important;
    }
    
    .hero-content .hero-gopetter,
    .hero-content .hero-script {
        color: var(--gold-light) !important;
    }
    
    .hero-content p {
        font-size: 1rem !important;
        color: var(--text-soft) !important; /* Soft white/gray on navy bg */
        font-weight: 400 !important;
        margin-top: 0.8rem !important;
        text-shadow: none !important;
        max-width: 100% !important;
        padding: 0 !important;
    }
    
    .search-mask-container {
        padding: 0 1.2rem 1.5rem !important;
        width: 100% !important;
    }
    
    /* Search Bar as Beige Card Box */
    .hero .api-search-bar {
        background: var(--ink-2) !important; /* Beige card background */
        border: 1px solid rgba(14, 37, 64, 0.1) !important;
        border-radius: 18px !important;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3) !important; /* Darker shadow for depth on dark background */
        padding: 1.2rem !important;
        gap: 0.8rem !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }
    
    /* Hide dividers as fields have borders */
    .hero .api-search-divider {
        display: none !important;
    }
    
    /* Input Fields styling (white fields on beige card) */
    .hero .api-search-field {
        border: 1px solid rgba(14, 37, 64, 0.15) !important;
        border-radius: 8px !important;
        padding: 0.8rem 1.1rem !important;
        background: var(--white) !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        cursor: pointer;
    }
    
    .hero .api-search-field label {
        color: var(--gold-deep) !important;
        font-size: 0.72rem !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.06em !important;
        margin-bottom: 3px !important;
    }
    
    .hero .api-search-field input {
        color: var(--navy) !important;
        font-size: 0.95rem !important;
        font-weight: 500 !important;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
    }
    
    .hero .api-row-mobile {
        display: flex !important;
        gap: 0.8rem !important;
        width: 100% !important;
    }
    
    .hero .api-row-mobile .api-search-field {
        flex: 1 !important;
    }
    
    /* Stepper & Select adjustments */
    .hero .api-stepper {
        display: none !important;
    }
    
    .hero .cust-select {
        display: block !important;
        width: 100% !important;
    }
    
    .hero .cust-select-btn {
        display: flex !important;
        width: 100% !important;
        justify-content: space-between !important;
        align-items: center !important;
        color: var(--navy) !important;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        font-size: 0.95rem !important;
        font-weight: 500 !important;
        font-family: var(--font-body) !important;
    }
    
    .hero .cust-chevron {
        color: var(--gold-deep) !important;
        width: 16px !important;
        height: 16px !important;
        margin-left: 8px !important;
    }
    
    .hero .cust-select-panel {
        background: var(--navy-soft) !important;
        border: 1px solid var(--line) !important;
        border-radius: var(--radius-md) !important;
        box-shadow: 0 10px 30px rgba(14, 37, 64, 0.25) !important;
        width: 100% !important;
        left: 0 !important;
        transform: none !important;
        top: calc(100% + 8px) !important;
        z-index: 9999 !important;
    }
    
    .hero .cust-option {
        color: var(--text-soft) !important;
        background: transparent !important;
        padding: 12px 18px !important;
        border-top: 1px solid var(--line-soft) !important;
        font-size: 0.92rem !important;
    }
    
    .hero .cust-option:first-child {
        border-top: none !important;
    }
    
    .hero .cust-option:hover {
        background: rgba(160, 126, 50, 0.1) !important;
        color: var(--white) !important;
    }
    
    .hero .cust-option.active {
        color: var(--gold) !important;
        font-weight: 600 !important;
    }
    
    /* Pets Toggle */
    .hero .api-pets-toggle {
        color: var(--navy) !important;
        background: none !important;
        border: 1px solid rgba(14, 37, 64, 0.15) !important;
    }
    .hero .api-pets-toggle.active {
        border-color: var(--gold-deep) !important;
        background: rgba(160, 126, 50, 0.08) !important;
    }
    .hero .api-pets-toggle.active #api-pets-value {
        color: var(--gold-deep) !important;
    }
    
    /* Search Button (Dark Navy Button on Beige Card) */
    .hero .api-search-btn {
        background: var(--navy) !important;
        color: var(--white) !important;
        font-weight: 600 !important;
        border: none !important;
        border-radius: 8px !important;
        padding: 1rem !important;
        margin-top: 0.4rem !important;
        box-shadow: 0 4px 15px rgba(14, 37, 64, 0.2) !important;
    }
    
    /* Search note */
    .hero .search-note {
        color: var(--text-soft) !important;
        text-shadow: none !important;
        margin-top: 14px !important;
        font-size: 0.8rem !important;
    }
    
    .hero .search-note a {
        color: var(--gold-light) !important;
    }
    
    /* Solid, sticky navbar only on mobile homepage */
    body.home-page .navbar {
        position: sticky !important;
        top: 0 !important;
        background: var(--beige) !important;
        box-shadow: 0 1px 0 rgba(14, 37, 64, 0.08), 0 10px 40px rgba(0,0,0,0.1) !important;
        padding: var(--space-sm) var(--space-md) !important;
        color: var(--navy) !important;
    }
    
    body.home-page .navbar .logo-img {
        filter: brightness(0) saturate(100%) invert(12%) sepia(35%) saturate(3020%) hue-rotate(198deg) brightness(93%) contrast(97%) !important;
    }
}

/* ==========================================================
   TRUSTBAR (HOMEPAGE ONLY)
   ========================================================== */
.trustbar {
    background-color: var(--beige);
    border-bottom: 1px solid rgba(14, 37, 64, 0.1);
    color: var(--navy);
    font-family: var(--font-body);
    position: relative;
    z-index: 1001;
    width: 100%;
}

.trustbar-container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 8px var(--space-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.trustbar-top {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

.trustbar-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--navy);
    letter-spacing: 0.02em;
}

.trustbar-icon {
    width: 14px;
    height: 14px;
    color: var(--gold-deep);
    flex-shrink: 0;
}

.trustbar-divider {
    width: 1px;
    height: 12px;
    background-color: var(--line);
}

.trustbar-bottom {
    font-size: 0.72rem;
    color: var(--gold-deep);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Navbar Anpassung für Startseite (Desktop ab 981px) */
@media (min-width: 981px) {
    body.home-page .navbar {
        top: 56px; /* Höhe der Trustbar */
    }
    body.home-page .navbar.scrolled {
        top: 0;
    }
}

/* Responsive Anpassungen für die Trustbar (Mobil/Tablet) */
@media (max-width: 980px) {
    .trustbar-top {
        flex-wrap: wrap;
        gap: 0.6rem 1rem;
    }
    .trustbar-divider {
        display: none; /* Keine vertikalen Striche auf kleineren Screens */
    }
    .trustbar-item {
        font-size: 0.76rem;
    }
}

@media (max-width: 480px) {
    .trustbar-top {
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px 1rem;
    }
    .trustbar-top .trustbar-item:first-child {
        width: 100%;
        justify-content: center;
    }
    .trustbar-item {
        font-size: 0.74rem;
    }
}


/* ===== FAQ Section ===== */
.faq-section {
    /* padding handled by .section */
}
.faq-header {
    text-align: center;
    margin-bottom: 48px;
}
.faq-list {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.faq-item {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(201,162,75,0.18);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.25s ease;
}
.faq-item:hover {
    border-color: rgba(201,162,75,0.35);
}
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 22px 28px;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    text-align: left;
    line-height: 1.4;
    transition: color 0.2s ease;
}
.faq-question:hover {
    color: var(--gold-light);
}
.faq-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--gold);
    transition: transform 0.3s ease;
}
.faq-item.open .faq-icon {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 28px;
}
.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 28px 22px;
}
.faq-answer p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-soft);
    line-height: 1.7;
    margin: 0;
}
.faq-answer a {
    color: var(--gold-light);
    text-decoration: underline;
    transition: color 0.2s ease;
}
.faq-answer a:hover {
    color: var(--gold);
}

@media (max-width: 768px) {
    .faq-question {
        padding: 18px 20px;
        font-size: 0.97rem;
    }
    .faq-answer {
        padding: 0 20px;
    }
    .faq-item.open .faq-answer {
        padding: 0 20px 18px;
    }
}

/* ── Responsive Region Background ── */
.region-bg {
    background-image: url('../img/hero/hero-region-1609.webp');
}

@media (min-width: 769px) and (max-width: 1280px) and (max-resolution: 1dppx) {
    .region-bg { background-image: url('../img/hero/hero-region-1280.webp'); }
}

@media (max-width: 768px) {
    .region-bg {
        background-image: url('../img/hero/hero_region-mobile.webp');
    }
}
