/* Schriften lokal eingebunden (kein Abruf bei Google): Montserrat (Überschriften), Open Sans (Text). Lizenz: SIL Open Font License. */
@font-face { font-family: 'Montserrat'; font-weight: 500; font-style: normal; font-display: swap; src: url('fonts/montserrat-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 600; font-style: normal; font-display: swap; src: url('fonts/montserrat-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-weight: 400; font-style: normal; font-display: swap; src: url('fonts/open-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-weight: 500; font-style: normal; font-display: swap; src: url('fonts/open-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-weight: 600; font-style: normal; font-display: swap; src: url('fonts/open-sans-latin-600-normal.woff2') format('woff2'); }

/* ---------------------------------------------------------------------
   Design: Bodensee-Sauna — Holzton, Seewasser, Dampf.
   Palette «Morgentau & Kaltguss»: klares Petrol, Terracotta, Kieselgrau, kühles Weiss.
   --------------------------------------------------------------------- */

:root {
    --color-lake:       #0F6670;   /* klares Petrol */
    --color-lake-dark:  #0A464E;
    --color-cedar:      #B65A3C;   /* Terracotta / Warmakzent (Klickelemente) */
    --color-cedar-dark: #984730;
    --color-stone:      #E8ECEC;   /* kühles Kieselgrau als Hintergrund */
    --color-steam:      #F8FAFA;   /* Kartenhintergrund */
    --color-ink:        #1E292C;   /* Text */
    --color-ink-soft:   #546064;
    --color-line:       #D0D8D9;
    --radius: 14px;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--color-stone);
    color: var(--color-ink);
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand {
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.page {
    max-width: 720px;
    margin: 0 auto;
    padding: 32px 20px 80px;
}
.page-narrow { max-width: 520px; padding-top: 64px; }

/* --- Header mit Wellenmotiv (Untersee) --- */
header.hero {
    position: relative;
    padding: 40px 20px 56px;
    background: linear-gradient(180deg, var(--color-lake) 0%, var(--color-lake-dark) 100%);
    color: var(--color-steam);
    text-align: center;
    overflow: hidden;
}
header.hero h1 {
    font-size: clamp(28px, 5vw, 40px);
    margin: 0 0 8px;
}
header.hero p {
    margin: 0;
    color: rgba(248,250,250,0.85);
    font-size: 15px;
}
.wave-divider {
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 28px;
    background: var(--color-stone);
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'><path d='M0,30 C150,60 350,0 600,30 C850,60 1050,0 1200,30 L1200,60 L0,60 Z'/></svg>") bottom/100% 100% no-repeat;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'><path d='M0,30 C150,60 350,0 600,30 C850,60 1050,0 1200,30 L1200,60 L0,60 Z'/></svg>") bottom/100% 100% no-repeat;
}

/* --- Karten --- */
.card {
    background: var(--color-steam);
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    padding: 28px;
    margin-top: 24px;
}

/* --- Datumsauswahl --- */
.date-picker {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 20px;
}
.date-chip {
    flex: 0 0 auto;
    border: 1px solid var(--color-line);
    background: var(--color-steam);
    border-radius: 10px;
    padding: 10px 14px;
    text-align: center;
    cursor: pointer;
    font-size: 13px;
    color: var(--color-ink-soft);
    transition: all .15s ease;
}
.date-chip strong { display: block; font-size: 16px; color: var(--color-ink); }
.date-chip.active {
    background: var(--color-lake);
    border-color: var(--color-lake);
    color: var(--color-steam);
}
.date-chip.active strong { color: var(--color-steam); }

/* --- Slot-Kacheln (Holzbrett-Optik) --- */
.slot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
    gap: 10px;
}
.slot-tile {
    border: 1px solid var(--color-cedar);
    background: #FFF9F2;
    color: var(--color-cedar-dark);
    border-radius: 10px;
    padding: 12px 6px;
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    transition: transform .1s ease, background .15s ease;
}
.slot-tile:hover { background: var(--color-cedar); color: #fff; }
.slot-tile.selected {
    background: var(--color-cedar);
    color: #fff;
    transform: scale(1.03);
}
.slot-empty {
    color: var(--color-ink-soft);
    font-size: 14px;
    padding: 12px 0;
    grid-column: 1 / -1;
    margin: 0;
}

/* --- Formular --- */
label { display: block; font-size: 13px; color: var(--color-ink-soft); margin: 14px 0 4px; }
input[type=text], input[type=email], input[type=tel], input[type=password] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--color-line);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    background: #fff;
}
input:focus { outline: 2px solid var(--color-lake); outline-offset: 1px; }

.summary-box {
    margin-top: 20px;
    padding: 14px 16px;
    background: var(--color-stone);
    border-radius: 10px;
    font-size: 14px;
}
.summary-box strong { color: var(--color-lake); }

.btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    margin-top: 20px;
    padding: 14px 20px;
    background: var(--color-cedar);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
}
.btn:disabled { background: #C9BFAE; cursor: not-allowed; }
.btn:hover:not(:disabled) { background: var(--color-cedar-dark); }

.error-box {
    margin-top: 16px;
    padding: 12px 14px;
    background: #FBE9E7;
    border: 1px solid #E8998C;
    color: #8B2E1F;
    border-radius: 10px;
    font-size: 14px;
}

.hint { font-size: 13px; color: var(--color-ink-soft); }

.status-card { text-align: center; }
.status-success h1 { color: var(--color-lake); }
.status-cancel h1 { color: var(--color-cedar-dark); }

footer.note {
    text-align: center;
    margin-top: 28px;
    font-size: 12px;
    color: var(--color-ink-soft);
}

/* --- Rechtstexte --- */
.legal h1 { margin-top: 0; }
.legal h2 { font-size: 18px; margin: 26px 0 6px; }
.legal p { line-height: 1.6; margin: 6px 0; }
.legal a, footer.note a { color: var(--color-lake); }

.consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.45;
    cursor: pointer;
}

/* --- Admin --- */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px 20px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.admin-header h1 { margin: 0; }
.admin-nav-list { display: flex; flex-wrap: wrap; gap: 6px; }
.admin-nav-toggle { display: none; }
.admin-nav-list a {
    color: var(--color-ink-soft); font-size: 14px; text-decoration: none;
    padding: 7px 12px; border-radius: 999px; border: 1px solid var(--color-line); background: #fff; white-space: nowrap;
}
.admin-nav-list a.active { background: var(--color-lake); border-color: var(--color-lake); color: #fff; }
.admin-nav-list a.logout { background: transparent; border-color: transparent; text-decoration: underline; }

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.admin-table th, .admin-table td {
    text-align: left;
    padding: 10px 8px;
    border-bottom: 1px solid var(--color-line);
    vertical-align: top;
}
.admin-table th { color: var(--color-ink-soft); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .03em; }

.badge {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}
.badge-paid { background: #E1EEE9; color: var(--color-lake); }
.badge-pending { background: #FDF3D9; color: #8A6D1D; }
.badge-failed, .badge-expired { background: #FBE9E7; color: #8B2E1F; }
.badge-muted { background: #ECE8DF; color: var(--color-ink-soft); }

.mini-btn {
    display: inline-block;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 6px;
    border: 1px solid var(--color-line);
    background: #fff;
    color: var(--color-ink);
    cursor: pointer;
    margin-right: 4px;
    text-decoration: none;
}
.mini-btn:hover { background: var(--color-stone); }

.filter-bar { margin-bottom: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.filter-bar a {
    margin-right: 0;
    font-size: 13px;
    color: var(--color-ink-soft);
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 8px;
}
.filter-bar a.active { background: var(--color-lake); color: #fff; }

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; }
}

/* --- Startseite / Infoseiten --- */
.site-nav {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
    padding: 12px 20px; background: var(--color-lake-dark); color: var(--color-steam);
    position: sticky; top: 0; z-index: 10;
}
.site-brand img { display: block; height: 45px; width: auto; }
.site-brand { display: flex; align-items: center; gap: 10px; color: var(--color-steam); text-decoration: none;
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif; font-weight: 600; font-size: 18px; }
.site-links { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.site-links a { color: rgba(248,250,250,.85); text-decoration: none; font-size: 14px; padding: 6px 10px; border-radius: 8px; }
.site-links a:hover { background: rgba(255,255,255,.1); }
.site-links a.nav-cta { background: var(--color-cedar); color: #fff; font-weight: 600; }
.site-links a.nav-cta:hover { background: var(--color-cedar-dark); }
.lang-switch { display: inline-flex; align-items: center; gap: 2px; margin-left: 8px; font-size: 13px; letter-spacing: .04em; }
.lang-switch a { padding: 6px 7px; }
.lang-switch a.active { color: #fff; font-weight: 600; background: rgba(255,255,255,.14); }
.lang-switch .lang-sep { color: rgba(248,250,250,.4); }
.site-menu { display: contents; }
.nav-toggle { display: none; }
@media (max-width: 720px) {
    /* Handy: Links als Drop-down, Buchen-Button und Sprache bleiben in der Kopfzeile */
    .site-nav { flex-wrap: nowrap; padding: 10px 14px; gap: 8px; }
    .site-brand { gap: 6px; min-width: 0; }
    .site-brand img { height: 36px; }
    .site-brand span { font-size: 13px; line-height: 1.15; }
    .site-links a.nav-cta { padding: 7px 8px; font-size: 12.5px; }
    .site-nav .lang-switch { font-size: 12px; }
    .site-nav .lang-switch a { padding: 6px 4px; }
    .site-nav .lang-switch { gap: 0; }
    .site-links { flex-wrap: nowrap; gap: 6px; margin-left: auto; }
    .site-nav .lang-switch { margin: 0; }
    .site-links a.nav-cta { white-space: nowrap; }
    .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 4px; width: 36px; height: 36px;
        padding: 0 8px; background: rgba(255,255,255,.1); border: 0; border-radius: 8px; cursor: pointer; }
    .nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
    .nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
    .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
    .site-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; padding: 6px 14px 12px;
        background: var(--color-lake-dark); border-top: 1px solid rgba(255,255,255,.12); box-shadow: 0 10px 20px rgba(0,0,0,.25); }
    .nav-open .site-menu { display: flex; }
    .site-menu a { font-size: 16px; padding: 12px 10px; border-bottom: 1px solid rgba(255,255,255,.08); border-radius: 0; }
    .site-menu a:last-child { border-bottom: 0; }
}


.home-hero {
    position: relative; padding: 88px 20px 110px; text-align: center; color: var(--color-steam);
    background: linear-gradient(180deg, var(--color-lake) 0%, var(--color-lake-dark) 100%);
    background-size: cover; background-position: center 35%; overflow: hidden;
}
.home-hero-inner { max-width: 680px; margin: 0 auto; }
.home-hero h1 { font-size: clamp(34px, 7vw, 56px); line-height: 1.1; margin: 8px 0 16px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; color: rgba(248,250,250,.75); margin: 0; }
.lead { font-size: 18px; line-height: 1.55; color: rgba(248,250,250,.92); }
.btn-hero { width: auto; padding: 14px 32px; font-size: 17px; }
.hero-note { font-size: 13px; color: rgba(248,250,250,.75); margin-top: 12px; }

.home { max-width: 980px; margin: 0 auto; padding: 8px 20px 40px; }
.section { padding: 36px 0 8px; }
.section h2 { font-size: clamp(24px, 4vw, 32px); margin: 0 0 18px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.step { background: var(--color-steam); border: 1px solid var(--color-line); border-radius: var(--radius); padding: 20px; }
.step h3 { margin: 10px 0 6px; font-size: 18px; }
.step p { margin: 0; font-size: 14px; color: var(--color-ink-soft); line-height: 1.5; }
.step-no { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center;
    border-radius: 50%; background: var(--color-cedar); color: #fff; font-weight: 600; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; align-items: start; }
.two-col .card { margin-top: 0; }
.price { font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif; font-size: 48px; margin: 4px 0; color: var(--color-lake); }
.price small { font-size: 18px; }
.share-hint { margin: 0 0 18px; padding: 10px 14px; border-left: 3px solid var(--color-cedar); background: #FFF9F2; border-radius: 0 10px 10px 0; font-size: 14px; color: var(--color-ink); }
.share-title { font-weight: 600; margin: 14px 0 6px; color: var(--color-lake-dark); }
.share-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 0 0 8px; }
.share-table th, .share-table td { padding: 6px 4px; border-bottom: 1px solid var(--color-line); text-align: right; }
.share-table th:first-child, .share-table td:first-child { text-align: left; }
.share-table th { font-weight: 600; color: var(--color-ink-soft); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
table.hours { border-collapse: collapse; font-size: 15px; margin-bottom: 12px; }
table.hours td { padding: 3px 18px 3px 0; }
.season-title { margin: 14px 0 2px; }
.photo { min-height: 220px; border-radius: var(--radius); background: linear-gradient(135deg, #1B7F8A, var(--color-lake-dark));
    background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center;
    color: rgba(248,250,250,.7); font-size: 13px; }
details { background: var(--color-steam); border: 1px solid var(--color-line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 0; line-height: 1.55; color: var(--color-ink-soft); }
.cta { text-align: center; padding-bottom: 24px; }
.site-footer { text-align: center; font-size: 13px; color: var(--color-ink-soft); padding: 28px 20px 48px; border-top: 1px solid var(--color-line); }
.site-footer a { color: var(--color-lake); }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.home a:not(.btn) { color: var(--color-lake); }

/* --- Dauer-Auswahl --- */
.slot-title { margin: 6px 0 10px; font-size: 1.05rem; }
.duration-picker { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.duration-chip {
    flex: 1 1 140px; border: 1px solid var(--color-line); background: var(--color-steam); border-radius: 10px;
    padding: 12px 14px; text-align: center; cursor: pointer; font-family: inherit; font-size: 14px; color: var(--color-ink-soft);
    transition: all .15s ease;
}
.duration-chip strong { display: block; font-size: 16px; color: var(--color-ink); margin-top: 2px; }
.duration-chip.active { background: var(--color-lake); border-color: var(--color-lake); color: var(--color-steam); }
.duration-chip.active strong { color: var(--color-steam); }

/* --- Gutschein-Shop --- */
.qty-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--color-line); }
.qty-label strong { display: block; font-size: 17px; }
.qty-control { display: flex; align-items: center; gap: 8px; }
.qty-control input[type=number] { width: 64px; text-align: center; padding: 10px 6px; border: 1px solid var(--color-line); border-radius: 10px; font-size: 16px; font-family: inherit; background: #fff; }
.qty-btn { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--color-line); background: #fff; font-size: 20px; line-height: 1; cursor: pointer; color: var(--color-ink); }
.qty-btn:hover { background: var(--color-stone); }
.btn-ghost { background: transparent; border: 1px solid rgba(248,250,250,.6); color: var(--color-steam); margin-left: 8px; }
.btn-ghost:hover:not(:disabled) { background: rgba(255,255,255,.12); }
.btn-ghost-dark { background: transparent; border: 1px solid var(--color-lake); color: var(--color-lake); margin-left: 8px; }
.btn-ghost-dark:hover:not(:disabled) { background: rgba(15,102,112,.08); }

/* --- Logo --- */
.hero-logo { display: block; width: 190px; max-width: 55%; height: auto; margin: 0 auto 22px; }
.hero-symbol { display: block; width: 78px; height: auto; margin: 0 auto 10px; }
.login-logo { text-align: center; margin: 8px 0 18px; }
.login-logo img { width: 150px; max-width: 55%; height: auto; }
.footer-logo { display: block; width: 64px; height: auto; margin: 0 auto 14px; opacity: .9; }

.rec-form { display: flex; gap: 6px; align-items: center; margin: 0; }
.rec-input { padding: 7px 9px; border: 1px solid var(--color-line); border-radius: 8px; background: #fff; font: inherit; font-size: 13px; min-width: 150px; width: 100%; }
.rec-form .mini-btn { margin: 0; white-space: nowrap; }

/* --- Admin auf dem Handy --- */
@media (max-width: 720px) {
    .page { padding: 20px 14px 60px; }
    .admin-header { display: block; }
    .admin-header h1 { font-size: 28px; margin-bottom: 12px; }
    /* Navigation: Drop-down hinter einem Menü-Button */
    .admin-nav { position: relative; margin-bottom: 6px; }
    .admin-nav-toggle { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 14px; font: inherit; font-size: 15px;
        background: #fff; border: 1px solid var(--color-line); border-radius: 12px; color: var(--color-ink); cursor: pointer; text-align: left; }
    .admin-nav-toggle .nav-label { font-weight: 600; }
    .admin-nav-toggle .nav-current { margin-left: auto; color: var(--color-lake); font-weight: 600; }
    .nav-burger { display: inline-flex; flex-direction: column; gap: 4px; }
    .nav-burger i { display: block; width: 18px; height: 2px; background: var(--color-lake-dark); border-radius: 2px; transition: transform .2s, opacity .2s; }
    .nav-open .nav-burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .nav-open .nav-burger i:nth-child(2) { opacity: 0; }
    .nav-open .nav-burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
    .admin-nav-list { display: none; position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 20; flex-direction: column; gap: 0;
        padding: 6px; background: #fff; border: 1px solid var(--color-line); border-radius: 12px; box-shadow: 0 10px 24px rgba(0,0,0,.18); }
    .nav-open .admin-nav-list { display: flex; }
    .admin-nav-list a { font-size: 16px; padding: 12px 12px; border: 0; border-radius: 8px; background: transparent; }
    .admin-nav-list a.active { background: var(--color-lake); color: #fff; }
    .admin-nav-list a.logout { margin-top: 4px; border-top: 1px solid var(--color-line); border-radius: 0 0 8px 8px; }
    .filter-bar { gap: 5px; }
    .filter-bar a { border: 1px solid var(--color-line); background: #fff; padding: 8px 9px; font-size: 13px; }
    .filter-bar a.active { border-color: var(--color-lake); }
    /* Eingaben mindestens 16 px, sonst zoomt iOS beim Antippen */
    input, select, textarea { font-size: 16px; }
    .card { padding: 16px; }
    .card:has(> .admin-table) { background: transparent; border: 0; box-shadow: none; padding: 0; }
    /* Tabellen als Karten: je Zeile eine Karte, Beschriftung links, Wert rechts */
    .admin-table, .admin-table tbody { display: block; width: 100%; }
    .admin-table thead { display: none; }
    .admin-table tr { display: block; border: 1px solid var(--color-line); border-radius: 12px; margin-bottom: 10px; padding: 4px 12px; background: #fff; overflow: hidden; }
    .admin-table td { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; border: 0; padding: 7px 0; font-size: 14px; text-align: right; }
    .admin-table td + td { border-top: 1px solid rgba(0,0,0,.05); }
    .admin-table td::before { content: attr(data-label); flex: 0 0 34%; text-align: left; color: var(--color-ink-soft); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; padding-top: 2px; }
    .admin-table td[data-label=""]::before { display: none; }
    .admin-table td > .cell { flex: 1 1 auto; min-width: 0; word-break: break-word; }
    .admin-table td[colspan] { display: block; text-align: left; }
    .admin-table tr.plan-free, .admin-table tr.plan-pending { border-color: transparent; }
    .mini-btn { padding: 8px 12px; font-size: 13px; margin-bottom: 4px; }
    .rec-form { width: 100%; }
    .rec-input { font-size: 16px; }
}

/* Sprachumschalter im Kopf der Buchungsseite */
.hero { position: relative; }
.hero-lang { position: absolute; top: 14px; right: 14px; }
.hero-lang .lang-switch { margin: 0; color: var(--color-steam); }
.hero-lang .lang-switch a { color: var(--color-steam); text-decoration: none; }
.page-lang { text-align: right; margin-bottom: 8px; }
.page-lang .lang-switch { margin: 0; }
.page-lang .lang-switch a { color: var(--color-lake); text-decoration: none; }
.page-lang .lang-switch a.active { color: var(--color-lake-dark); background: rgba(15,102,112,.1); }
.page-lang .lang-switch .lang-sep { color: rgba(15,102,112,.4); }

/* Typografie: Überschriften in Montserrat, auf den öffentlichen Seiten in Grossbuchstaben mit Abstand */
html, body { line-height: 1.6; }
:where(.public) :is(h1, h2, h3, .brand) { text-transform: uppercase; letter-spacing: .06em; font-weight: 500; }
:where(.public) h1 { font-size: .82em; }
:where(.public) .price { letter-spacing: 0; }
:where(.public) h2 { font-size: .92em; }
.consent a { color: var(--color-lake); }


/* Prüfen und bestätigen (Buchung, Gutschein-Kauf) */
.review-intro { margin: 0 0 14px; }
.review-list { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0 0 14px; padding: 14px 16px; background: var(--color-steam, #F8FAFA); border: 1px solid var(--color-line); border-radius: 10px; }
.review-list dt { color: var(--color-ink-soft); font-size: 14px; }
.review-list dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.review-note { font-size: 14px; color: var(--color-ink-soft); margin: 0 0 16px; }
.review-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.review-actions .btn { margin-left: 0; }
@media (max-width: 520px) {
    .review-list { grid-template-columns: 1fr; gap: 2px; }
    .review-list dd { margin-bottom: 8px; }
    .review-actions .btn { width: 100%; }
}

/* --- Buchungsnummer / Umbuchung --- */
.booking-ref { font-family: Consolas, Menlo, 'Courier New', monospace; font-size: 1.25em; letter-spacing: .08em; }
#confirm-box { margin-top: 18px; }

/* --- Impressionen (öffentlich) --- */
.section h1.gallery-title { font-size: clamp(28px, 5vw, 40px); margin: 0 0 10px; }
.gallery-intro { max-width: 760px; color: var(--color-ink-soft); }
.gallery-section h2 { margin-bottom: 6px; }
.gallery-text { margin: 0 0 14px; color: var(--color-ink-soft); max-width: 760px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin: 14px 0 8px; }
.gallery-grid a { display: block; border-radius: 12px; overflow: hidden; background: var(--color-stone); aspect-ratio: 4 / 3; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.gallery-grid a:hover img, .gallery-grid a:focus-visible img { transform: scale(1.04); }
.gallery-empty { color: var(--color-ink-soft); padding: 24px 0; }

.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(8, 24, 26, .94); display: none; align-items: center; justify-content: center; flex-direction: column; padding: 16px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: 6px; touch-action: pan-y; }
.lightbox-caption { color: #E8ECEC; font-size: 15px; margin-top: 12px; text-align: center; max-width: 720px; min-height: 22px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 46px; height: 46px; border-radius: 50%; font-size: 22px; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.28); }
.lightbox .lb-close { top: 14px; right: 14px; }
.lightbox .lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; top: 22px; left: 18px; color: #C9D3D4; font-size: 13px; }
@media (max-width: 600px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
    .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 18px; transform: none; }
}

/* --- Admin: Bilder --- */
.ok-box { margin: 12px 0; padding: 12px 14px; background: #E6F2EC; border: 1px solid #9CC9B3; color: #1F5A3F; border-radius: 10px; font-size: 14px; }
.gal-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.gal-row input[type=text] { flex: 1 1 240px; min-width: 0; }
.gal-album h2 { margin-top: 0; }
.gal-default { position: absolute; left: -9999px; width: 1px; height: 1px; }
.gal-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; margin: 14px 0; }
.gal-photo { border: 1px solid var(--color-line); border-radius: 10px; padding: 8px; background: #fff; }
.gal-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; display: block; margin-bottom: 6px; }
.gal-photo input[type=text] { width: 100%; margin: 0 0 6px; font-size: 13px; padding: 7px 8px; }
.gal-photo-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.gal-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.gal-upload { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--color-line); }
.mini-danger { color: #8B2E1F; border-color: #E8998C; }

/* --- Team --- */
.team-intro { display: grid; grid-template-columns: minmax(180px, 280px) 1fr; gap: 32px; align-items: start; max-width: 960px; }
.team-photo { aspect-ratio: 4 / 5; border-radius: 16px; background: var(--color-lake) center / cover no-repeat; display: flex; align-items: center; justify-content: center; color: rgba(248,250,250,.55); font: 600 56px var(--font-head, inherit); letter-spacing: .06em; }
.team-text h2 { margin-top: 0; }
.team-text p { max-width: 62ch; }
.team-sign { margin-top: 22px; }
.team-more-title { margin: 8px 0 22px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 28px; max-width: 960px; }
.team-card h3 { margin: 14px 0 2px; }
.team-card .team-tagline { margin: 0 0 6px; font-weight: 600; line-height: 1.35; }
.team-card .team-role { margin: 0; color: var(--color-ink-soft); font-size: .88em; text-transform: uppercase; letter-spacing: .06em; }
.team-card .team-link { margin: 6px 0 0; }
@media (max-width: 700px) {
    .team-intro { grid-template-columns: 1fr; gap: 20px; }
    .team-intro .team-photo { max-width: 260px; }
    .team-grid { grid-template-columns: 1fr; gap: 28px; }
    .team-card .team-photo { max-width: 260px; }
}
.steps-note { margin: 18px 0 0; color: var(--color-ink-soft); max-width: 760px; }

/* Bot-Schutz: Honigtopf-Feld, für Menschen unsichtbar */
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Anrede (Herr/Frau) und Vor-/Nachname nebeneinander */
fieldset.salutation { border: 0; margin: 14px 0 6px; padding: 0; display: flex; gap: 6px 22px; flex-wrap: wrap; align-items: center; }
fieldset.salutation legend { font-size: 13px; color: var(--color-ink-soft); padding: 0; margin: 0 0 6px; float: left; width: 100%; }
label.radio { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 15px; color: var(--color-ink); cursor: pointer; }
label.radio input { width: auto; margin: 0; accent-color: var(--color-lake); }
.name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .name-row { grid-template-columns: 1fr; gap: 0; } }

/* News */
.news-list { max-width: 720px; margin-left: auto; margin-right: auto; }
.news-item { padding: 22px 0; border-bottom: 1px solid var(--color-line, #D0D8D9); }
.news-item { display: flow-root; }
.news-item:first-child { padding-top: 0; }
.news-img { float: right; width: 42%; max-width: 300px; height: auto; margin: 4px 0 10px 20px; border-radius: 12px; }
@media (max-width: 560px) { .news-img { float: none; width: 100%; max-width: none; margin: 0 0 14px; } }
.news-item:last-child { border-bottom: 0; }
.news-date { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--color-ink-soft); margin-bottom: 4px; }
.news-item h2 { margin: 0 0 10px; font-size: 22px; line-height: 1.3; }
.news-text p { margin: 0 0 12px; }
.news-text h3 { font-size: 17px; margin: 18px 0 6px; }
.news-text ul { margin: 0 0 12px; padding-left: 22px; }
.news-text li { margin: 0 0 4px; }

/* Newsletter: Auswahlfeld im Formular und Abmeldeseite */
.newsletter-opt { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; font-size: 14px; line-height: 1.45; cursor: pointer; }
/* Einheitliche Kästchen für AGB- und Newsletter-Zeile */
.consent input, .newsletter-opt input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--color-lake); flex: 0 0 auto; }
.newsletter-opt small { display: block; color: var(--color-ink-soft); margin-top: 2px; }
input[type=date], input[type=number].wide, textarea {
    width: 100%; padding: 12px 14px; border: 1px solid var(--color-line); border-radius: 10px;
    font-size: 16px; font-family: inherit; background: #fff; color: var(--color-ink);
}
textarea { resize: vertical; line-height: 1.5; }
textarea:focus, input[type=date]:focus { outline: 2px solid var(--color-lake); outline-offset: 1px; }

/* Admin → Newsletter: News als Blöcke wählen und anordnen */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.nl-news-list { list-style: none; margin: 10px 0 0; padding: 0; border: 1px solid var(--color-line); border-radius: 12px; background: #fff; overflow: hidden; }
.nl-news-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-top: 1px solid var(--color-line); }
.nl-news-item:first-child { border-top: 0; }
.nl-news-item.is-selected { background: #EAF3F4; }
.nl-news-pick { display: flex; align-items: center; gap: 12px; flex: 1 1 auto; min-width: 0; margin: 0; cursor: pointer; }
.nl-news-pick input[type="checkbox"] { width: 20px; height: 20px; flex: 0 0 auto; margin: 0; accent-color: var(--color-lake); }
.nl-news-thumb { width: 48px; height: 48px; flex: 0 0 auto; border-radius: 8px; object-fit: cover; background: var(--color-stone); }
.nl-news-text { display: flex; flex-direction: column; min-width: 0; }
.nl-news-title { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nl-news-meta { font-size: 13px; color: var(--color-ink-soft); }
.nl-news-move { display: flex; gap: 4px; flex: 0 0 auto; }
.nl-news-move .mini-btn { margin: 0; min-width: 40px; min-height: 40px; padding: 4px 10px; font-size: 18px; line-height: 1; }
.nl-news-move .mini-btn:disabled { opacity: .35; cursor: default; }
.nl-news-item:not(.is-selected) .nl-news-move { visibility: hidden; }
.nl-news-fixed { margin: 8px 0 0; padding-left: 22px; }
@media (max-width: 520px) { .nl-news-title { white-space: normal; } .nl-news-thumb { width: 40px; height: 40px; } }

/* Feedbacks: ausgewählte Google-Rezensionen */
.feedback-list { max-width: 720px; margin-left: auto; margin-right: auto; }
.feedback-item { margin: 0 0 18px; padding: 20px 22px; background: #fff; border: 1px solid var(--color-line, #D0D8D9); border-left: 6px solid var(--color-cedar, #B65A3C); border-radius: 12px; }
.feedback-stars { color: var(--color-cedar, #B65A3C); font-size: 20px; letter-spacing: .12em; margin-bottom: 8px; }
.feedback-text { margin: 0 0 12px; padding: 0; font-size: 17px; line-height: 1.6; }
.feedback-meta { font-size: 14px; color: var(--color-ink-soft); }
