body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #0b0b0b;
    color: #fff;
}

*, *::before, *::after {
    box-sizing: border-box;
}

header {
    background: #000;
    color: #bfa046;
    padding: 1.2rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 4px solid #bfa046;
    letter-spacing: 1px;
}

header h1 {
    color: #bfa046;
    margin: 0;
    font-size: 1.6rem;
    letter-spacing: 1.2px;
}

.logo {
    width: 280px;
    max-height: 120px;
    height: auto;
    display: inline-block;
    object-fit: contain;
}

nav {
    margin-left: auto;
    margin-top: 0.8rem;
}
nav a {
    color: #bfa046;
    text-decoration: none;
    margin: 0 1rem;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    transition: background 0.18s, color 0.18s;
    display: inline-block;
    min-height: 44px;
    line-height: 44px;
}
nav a:hover {
    background: #bfa046;
    color: #000;
}

main {
    max-width: 820px;
    margin: 2.5rem auto 5rem auto;
    background: #121212;
    padding: 2.2rem 2rem;
    border-radius: 12px;
    box-shadow: 0 6px 30px rgba(0,0,0,0.28);
    border: 1.5px solid rgba(191,160,70,0.18);
    box-sizing: border-box;
}

main h2, main h3 {
    color: #bfa046;
    margin-top: 1.6rem;
}

main p, main li {
    color: #e9e6df;
    line-height: 1.6;
}

footer {
    background: #000;
    color: #bfa046;
    text-align: center;
    padding: 0.6rem 0.6rem;
    border-top: 3px solid #bfa046;
    /* footer appears at end of page */
    position: static;
    width: 100%;
    font-size: 1rem;
    letter-spacing: 0.6px;
    z-index: 20;
    margin-top: 2.2rem;
    display: flex;
    flex-direction: column;
}
footer.site-footer { text-align: left; }
.footer-inner {
    max-width: none;
    margin: 0 0 0.2rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0 1rem;
}
.footer-inner > * { flex: 1; }
.footer-logo { flex: 0 0 auto; }
.footer-nav { justify-content: center; }
.footer-address { text-align: left; }
.footer-logo img {
    width: 170px;
    height: auto;
    display: block;
    object-fit: contain;
}
.footer-address {
    margin: 0;
    font-style: normal;
    color: #d9d3b8;
    font-size: 0.88rem;
    line-height: 1.35;
    text-align: left;
}
.footer-address span { display: block; }
.footer-address strong {
    display: block;
    color: #bfa046;
    margin-bottom: 0.2rem;
    font-weight: 700;
}
.footer-nav {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
    justify-content: center;
}
.footer-nav a {
    color: #bfa046;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.2rem 0.4rem;
    border-radius: 6px;
}
.footer-nav a:hover { background: #bfa046; color: #000; }
.footer-bottom {
    max-width: none;
    margin: auto 0 0 0;
    padding: 0 0.8rem; /* horizontal padding */
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: end; /* pin items to bottom */
    gap: 0.8rem;
}
.footer-bottom .footer-logo {
    grid-column: 1;
    justify-self: start;
}
.footer-legal-row {
    grid-column: 2;
    justify-self: center;
    align-self: end;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}
.footer-bottom .footer-address {
    grid-column: 3;
    justify-self: end;
    align-self: end;
    text-align: left;
    margin: 0;
    padding-right: 0.25rem; /* minimal inset from edge */
}
.footer-left {
    grid-column: 1;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    align-self: center;
    white-space: nowrap; /* prevent wrapping next to logo */
}
.footer-left .footer-nav {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    flex-wrap: nowrap; /* keep links on one line */
    justify-content: flex-start;
    margin-left: 0.4rem;
}
.footer-copy {
    font-size: 0.88rem;
    letter-spacing: 0.4px;
    color: #bfa046;
}
.footer-legal {
    margin-left: 0.6rem;
    color: #bfa046;
}
.footer-legal a { color: #bfa046; text-decoration: underline; }
.footer-legal a:hover { color: #fff; }
.footer-legal .sep { margin: 0 0.35rem; color: #bfa046; }


/* Peek-Carousel: zentriertes Hauptbild mit Teasern links/rechts (Endlosschleife) */
.peek-carousel { width: 100%; max-width: 760px; margin: 0 auto; height: 420px; position: relative; overflow: hidden; }
.peek-track { position: relative; width: 100%; height: 100%; }
.peek-track .card { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); transition: transform 0.42s cubic-bezier(.2,.9,.2,.95), opacity 0.36s ease; width: var(--card-w,520px); height: var(--card-h,340px); border-radius: 12px; overflow: hidden; border: 1px solid rgba(191,160,70,0.06); background: linear-gradient(180deg, rgba(18,18,18,0.98), rgba(12,12,12,0.98)); box-shadow: 0 8px 18px rgba(0,0,0,0.24); cursor: pointer; }
.peek-track .card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.peek-track .card .card-overlay {
    position: absolute;
    left: 50%;
    bottom: 12px;
    display: inline-block;
    max-width: calc(100% - 32px);
    padding: 0.42rem 0.72rem;
    background: rgba(28,28,28,0.44);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #f7f4eb;
    font-size: 0.98rem;
    opacity: 0;
    transform: translate(-50%, 8px);
    transition: opacity 0.28s ease, transform 0.28s ease, background 0.18s ease;
    border-radius: 8px;
    border-top: 1px solid rgba(191,160,70,0.04);
    pointer-events: none;
    text-align: center;
}
.peek-track .card .overlay-text { display: inline-block; }
.peek-track .card:hover .card-overlay, .peek-track .card.is-center .card-overlay, .peek-track .card:focus .card-overlay { opacity: 1; transform: translate(-50%, 0); }
.peek-track .card.is-center { box-shadow: 0 28px 60px rgba(0,0,0,0.65); border-color: #bfa046; }
.peek-track .card.prev::after, .peek-track .card.next::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: 12px; }
.peek-track .card.prev::after { background: linear-gradient(to left, rgba(0,0,0,0.52), rgba(0,0,0,0)); }
.peek-track .card.next::after { background: linear-gradient(to right, rgba(0,0,0,0.52), rgba(0,0,0,0)); }
.peek-caption { margin-top: 0.6rem; color: #d9d3b8; text-align: center; min-height: 1.2rem; font-size: 0.95rem; }

/* Optimierungen für Touch-Geräte */
@media (hover: none) and (pointer: coarse) {
    .peek-track .card { transition: transform 0.32s cubic-bezier(.2,.9,.2,.95), opacity 0.28s ease; }
}

/* small screens: fallback to horizontal scroller */
@media (max-width: 900px) {
    .peek-carousel { height: 360px; }
    .peek-track .card { width: 420px; height: 280px; }
}
@media (max-width: 700px) {
    .peek-carousel { height: 300px; }
    .peek-track .card { width: 320px; height: 220px; }
}
@media (max-width: 600px) {
    .peek-carousel { height: 300px; }
}


/* Portrait */
.portrait {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 14px;
    border: 3px solid rgba(191,160,70,0.14);
    box-shadow: 0 8px 20px rgba(0,0,0,0.45);
    display: block;
    margin-bottom: 0.6rem;
}
.portrait-wrap {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}
.portrait + div .bio-text {
    color: #e9e6df;
}
@media (max-width: 600px) {
    .portrait-wrap { 
        flex-direction: column; 
        align-items: flex-start;
    }
    .portrait { 
        width: 140px; 
        height: 140px;
        margin-bottom: 1rem;
    }
}


footer a {
    color: #bfa046;
    text-decoration: underline;
    margin: 0 0.5rem;
}
footer a:hover {
    color: #fff;
}

/* Info-Box für Abschnitte */
.info-box {
    background: linear-gradient(180deg, rgba(34,34,34,0.96), rgba(20,20,20,0.96));
    border-left: 6px solid #bfa046;
    border-radius: 10px;
    margin: 1.6rem 0;
    padding: 1.4rem 1.2rem;
    box-shadow: 0 6px 22px rgba(0,0,0,0.22);
    color: #eae7de;
    transition: box-shadow 0.18s, transform 0.12s;
}
.info-box:hover {
    box-shadow: 0 10px 40px rgba(191,160,70,0.12);
    transform: translateY(-2px);
}


/* Galerie */
.gallery {
    margin-top: 2rem;
}

/* Lightbox (Gallery view) */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.86);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 3000;
}
.lightbox.is-open {
    opacity: 1;
    visibility: visible;
}
.lightbox-content {
    margin: 0;
    max-width: 94vw;
    max-height: 88vh;
    text-align: center;
}
.lightbox img {
    max-width: 94vw;
    max-height: 78vh;
    width: auto;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.6);
}
.lightbox figcaption {
    margin-top: 0.7rem;
    color: #d9d3b8;
    font-size: 0.95rem;
}
.lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 28px;
    line-height: 44px;
    cursor: pointer;
}

/* Booking form */
.booking { margin-top: 1.6rem; }
.booking-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem; align-items: start; }
.booking-form .field { display: flex; flex-direction: column; width: 100%; }
.booking-form .field.full { grid-column: 1 / -1; }
.booking-form label span { color: #d9d3b8; font-weight: 700; margin-bottom: 0.4rem; }
.booking-form input[type="text"],
.booking-form input[type="email"],
.booking-form input[type="tel"],
.booking-form input[type="date"],
.booking-form input[type="time"],
.booking-form input[type="number"],
.booking-form input[type="search"],
.booking-form input[type="url"],
.booking-form input[type="password"],
.booking-form textarea { 
    background: #0e0e0e; 
    border: 1px solid rgba(191,160,70,0.08); 
    color: #efece1; 
    padding: 0.75rem 0.85rem; 
    border-radius: 8px;
    font-size: 16px;
    min-height: 44px;
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
}
.booking-form textarea {
    min-height: auto;
    line-height: 1.5;
}
.booking-form input:focus, .booking-form textarea:focus { 
    outline: 2px solid rgba(191,160,70,0.2); 
    box-shadow: 0 6px 18px rgba(191,160,70,0.04); 
}
.booking-form fieldset.services { 
    grid-column: 1 / -1; 
    border: none; 
    padding: 0; 
    display: flex;
    flex-wrap: wrap;
    gap: 1rem; 
    color: #d9d3b8; 
    width: 100%;
}
.booking-form fieldset.services label {
    display: flex;
    align-items: center;
    cursor: pointer;
    min-height: 44px;
}
.booking-form fieldset.services input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 0.5rem;
    cursor: pointer;
    min-height: 0;
    padding: 0;
    appearance: auto;
}
.form-actions { 
    grid-column: 1 / -1; 
    display: flex;
    flex-direction: column;
    gap: 0.8rem; 
    align-items: stretch;
}
@media (min-width: 601px) {
    .form-actions {
        flex-direction: row;
        align-items: center;
    }
}
.btn-primary { 
    background: #bfa046; 
    color:#000; 
    padding: 0.7rem 1.2rem; 
    border-radius: 8px; 
    border: none; 
    font-weight: 700; 
    cursor: pointer;
    min-height: 44px;
    font-size: 1rem;
    transition: background 0.18s, transform 0.12s;
}
.btn-primary:active {
    transform: scale(0.98);
}
.btn-secondary { 
    background: transparent; 
    color: #d9d3b8; 
    padding: 0.6rem 1rem; 
    border-radius: 8px; 
    border: 1px solid rgba(191,160,70,0.08); 
    cursor: pointer;
    min-height: 44px;
    font-size: 1rem;
    transition: background 0.18s, transform 0.12s;
}
.btn-secondary:active {
    transform: scale(0.98);
}
.form-note { color:#cfc7a7; margin-top:0.6rem; grid-column: 1 / -1; }

/* Kontakt-Links in Buchungsbereich: Gold statt Blau */
.booking a, .booking .form-note a, .booking-form .form-note a { color: #bfa046; text-decoration: underline; }
.booking a:hover, .booking .form-note a:hover { color: #fff; text-decoration: none; }

@media (max-width: 600px) {
    .booking-form { gap: 1.2rem; }
    .form-actions { gap: 0.8rem; }
    .form-actions button { width: 100%; }
}

@media (max-width: 420px) {
    .peek-carousel { height: 260px; }
}

/* date range UI */
.daterange .date-row { display:flex; gap:0.6rem; align-items:center; }
.daterange .date-row input[type="date"] { width: 100%; }
.daterange .date-sep { color: #d9d3b8; font-weight:700; }
@media (max-width: 480px){ .daterange .date-row { flex-direction: column; align-items: stretch; } }

/* Date-range single-widget styles */
.date-widget{ position:relative; display:block; gap:8px; }
.date-widget input[readonly]{ cursor:pointer; background:transparent; border:1px solid rgba(255,255,255,0.04); padding:10px 12px; padding-right:44px; border-radius:8px; color:#eaeaea; width:100%; height:40px; box-sizing:border-box; display:block; }
.calendar-btn{ position:absolute; right:8px; top:50%; transform:translateY(-50%); background:transparent; border:none; padding:6px; display:inline-flex; align-items:center; justify-content:center; cursor:pointer; width:28px; height:28px; border-radius:6px; }
.calendar-btn svg{ display:block; stroke:#bfa046; }
.calendar-btn:focus{ outline:2px solid rgba(191,160,70,0.18); border-radius:6px; }
.calendar-btn:hover{ background: rgba(191,160,70,0.04); }

.calendar-popup{ position:absolute; top:calc(100% + 10px); left:0; z-index:2000; width:320px; max-width:96vw; background: linear-gradient(180deg, rgba(11,11,11,0.96), rgba(18,18,18,0.96)); border:1px solid rgba(191,160,70,0.08); box-shadow:0 18px 48px rgba(0,0,0,0.7); padding:12px; border-radius:12px; backdrop-filter: blur(6px); }
.calendar-header{ display:flex; align-items:center; justify-content:space-between; color:#ddd; margin-bottom:6px; }
.calendar-header .cal-month{ font-weight:700; color:#bfa046; }
.cal-prev, .cal-next{ background:transparent; border:0; color:#bfa046; font-size:18px; padding:6px; cursor:pointer; }
.calendar-weekdays{ display:grid; grid-template-columns: repeat(7, 1fr); gap:6px; font-size:12px; color:#bfbfbf; margin-bottom:8px; }
.calendar-weekdays span{ text-align:center; color:#bfbfbf; font-weight:600; }
.calendar-grid{ display:grid; grid-template-columns: repeat(7, 1fr); gap:6px; }
.cal-cell{ height:36px; border-radius:8px; border:0; background:transparent; color:#ddd; padding:0; display:flex; align-items:center; justify-content:center; font-size:13px; }
.cal-cell.empty{ background:transparent; cursor:default; color:transparent; }
.cal-cell.day{ cursor:pointer; }
.cal-cell.day:hover{ background: rgba(191,160,70,0.08); }
.cal-cell.start, .cal-cell.end{ background:#bfa046; color:#09100a; font-weight:700; }
.cal-cell.in-range{ background: linear-gradient(90deg, rgba(191,160,70,0.12), rgba(191,160,70,0.04)); color:#e7dfc7; }
.calendar-actions{ display:flex; justify-content:flex-end; gap:8px; margin-top:8px; }

@media (max-width: 520px){ .calendar-popup{ width:100%; left:0; right:0; } }


@media (max-width: 800px) {
    header {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }
    header h1 {
        font-size: 1.3rem;
        margin: 0.5rem 0 0 0;
    }
    nav {
        margin-left: 0;
        margin-top: 0.8rem;
        width: 100%;
        display: flex;
        gap: 0.4rem;
        flex-wrap: wrap;
    }
    nav a {
        margin: 0;
        font-size: 0.95rem;
        padding: 0.4rem 0.6rem;
        min-height: 40px;
        line-height: 40px;
    }
    .logo { width: 160px; max-height: 100px; }
}

@media (max-width: 600px) {
    main {
        padding: 1rem;
        margin: 1rem;
        border-radius: 8px;
    }
    main h2, main h3 {
        font-size: 1.3rem;
        margin-top: 1.2rem;
    }
    main p, main li {
        font-size: 0.95rem;
    }
    nav a {
        margin: 0 0.3rem;
        font-size: 0.9rem;
        padding: 0.35rem 0.5rem;
    }
    .logo { width: 180px; max-height: 90px; }
    header h1 { display: none; }
    header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.6rem;
    }
    .logo-link { display: inline-block; margin: 0; }
    nav {
        margin-top: 0;
        width: auto;
        display: flex;
        gap: 0.4rem;
        flex-wrap: nowrap;
        padding-right: 0.4rem;
    }
    nav a {
        margin: 0;
        font-size: 0.88rem;
        padding: 0.3rem 0.5rem;
        min-height: 34px;
        line-height: 34px;
    }
    footer {
        padding: 0.7rem 0.5rem;
        font-size: 0.85rem;
    }
    .footer-inner {
        flex-direction: column;
        align-items: center;
        gap: 0.4rem;
    }
    .footer-logo img { width: 120px; max-height: 48px; }
    .footer-address { font-size: 0.85rem; }
    /* center the footer nav on small screens */
    .footer-nav { width: 100%; justify-content: center; }
    /* stack bottom elements and center them on small screens */
    .footer-bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.6rem;
    }
    .footer-left .footer-nav a { font-size: 0.95rem; }
    .footer-legal-row { align-self: center; }
    .footer-address { text-align: center; align-self: center; }
}
/* Mobile-First Optimierungen */
@media (max-width: 480px) {
    body { font-size: 16px; }
    main {
        margin: 1rem 0.8rem 4rem 0.8rem;
        padding: 1.2rem;
        border-radius: 8px;
    }
    .booking-form label span {
        font-size: 0.95rem;
    }
    .booking-form .field {
        margin-bottom: 0.4rem;
    }
    .info-box {
        padding: 1rem;
        margin: 1.2rem 0;
    }
    .info-box h2 {
        font-size: 1.2rem;
    }
    .info-box h3 {
        font-size: 1.1rem;
    }
}

/* Prevent default zoom on double tap */
@media (hover: none) and (pointer: coarse) {
    button, a, input[type="checkbox"], input[type="radio"] {
        touch-action: manipulation;
    }
}

/* Absolute center for legal row on wide screens (does not affect logo/contact) */
@media (min-width: 700px) {
    .footer-bottom { position: relative; }
    .footer-legal-row {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        grid-column: auto;
        justify-self: center;
    }
}