/* hotelPAD – Mobile Gästemappe (BYOD 07/2026).
 * Portierung des Mobil-Designs (design\Digitale Gästemappe auf Mobil\Mobil Hochformat)
 * in externe Klassen: die CSP verbietet Inline-Styles ('style-src self', kein unsafe-inline).
 * Tokens identisch zur Tablet-Version; Layout fluid statt fixem 390×844-Canvas. */

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: #F0ECEB;
  font-family: 'Mulish', sans-serif;
  color: #20201E;
  overscroll-behavior-y: none;
}

.hidden { display: none !important; }

button, a.svc-cta {
  transition: transform .12s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button:active, a.svc-cta:active { transform: scale(0.972); }
a { color: #83677F; text-decoration: none; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 16px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes scrollHintAnim { 0%,100% { transform: translateY(0); opacity: .55; } 50% { transform: translateY(7px); opacity: 1; } }

.app {
  height: 100%;
  height: 100dvh;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background: #F0ECEB;
}

/* ===== Header ===== */
.topbar {
  flex: none;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: env(safe-area-inset-top) 16px 0;
  background: rgba(240,236,235,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(32,32,30,0.08);
  z-index: 20;
}
.topbar-left { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 8px 0; }
.back-btn {
  width: 38px; height: 38px; flex: none;
  border: 1px solid rgba(32,32,30,0.12);
  background: #FBFAF9; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: #83677F; padding: 0;
}
.topbar-titles { min-width: 0; }
.kicker {
  font-size: 9px; letter-spacing: 2.5px; text-transform: uppercase;
  color: #9A8C95; font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.page-title {
  font-family: 'Spectral', serif; font-size: 19px; font-weight: 500; line-height: 1.1;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.topbar-right { display: flex; align-items: center; gap: 7px; flex: none; padding: 8px 0; }
.weather-chip {
  display: flex; align-items: center; gap: 7px;
  padding: 6px 11px; background: #FBFAF9;
  border: 1px solid rgba(32,32,30,0.08); border-radius: 100px;
  font-size: 12px; font-weight: 700; color: #4A424A;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #83677F; flex: none; }
.dot.green { width: 7px; height: 7px; background: #657A76; }
.dot.sage { width: 7px; height: 7px; background: #B1B4A1; }
.lang-toggle {
  display: flex; background: #FBFAF9;
  border: 1px solid rgba(32,32,30,0.08); border-radius: 100px; padding: 3px;
}
.lang-btn {
  border: none; background: transparent; border-radius: 100px;
  font-family: 'Mulish', sans-serif; font-size: 11px; font-weight: 700;
  color: #9A8C95; padding: 4px 9px; cursor: pointer; letter-spacing: 0.4px;
}
.lang-btn.active { background: #83677F; color: #fff; }

/* ===== Scrollbereich / Seiten ===== */
.scroll { flex: 1; overflow-y: auto; position: relative; -webkit-overflow-scrolling: touch; }
.scroll::-webkit-scrollbar { width: 0; height: 0; }
.page { animation: fadeUp .4s ease; }
.pad { padding: 20px 16px 26px; }
.pad-v { padding: 18px 0 26px; }
.pad-h { padding-left: 16px; padding-right: 16px; }
.intro { font-size: 13.5px; line-height: 1.6; color: #5C554F; margin: 0 0 16px; }
.h2 { font-family: 'Spectral', serif; font-weight: 500; font-size: 20px; margin: 0; }
.h2.small { font-size: 19px; }
.row-between { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }

/* ===== Home ===== */
.home-kicker { font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: #83677F; font-weight: 700; }
.home-h1 { font-family: 'Spectral', serif; font-weight: 500; font-size: 29px; line-height: 1.1; margin: 6px 0 0; }
.home-motto { font-family: 'Spectral', serif; font-style: italic; font-size: 16px; color: #657A76; margin-top: 8px; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 18px; }
.fact {
  background: #FBFAF9; border: 1px solid rgba(32,32,30,0.07);
  border-radius: 14px; padding: 13px 12px; display: flex; flex-direction: column;
}
.fact-lbl { font-size: 10.5px; color: #9A8C95; line-height: 1.3; }
.fact-row { display: flex; align-items: baseline; gap: 3px; margin-top: 3px; flex-wrap: wrap; }
.fact-val { font-family: 'Spectral', serif; font-size: 19px; color: #83677F; }

.hero { height: 176px; border-radius: 16px; overflow: hidden; margin-top: 16px; position: relative; }
.hero, .er-hero {
  background: linear-gradient(135deg, #D8CBD3 0%, #B29FAC 55%, #83677F 100%);
}
.hero img, .er-hero img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}

.card {
  background: #FBFAF9; border: 1px solid rgba(32,32,30,0.07);
  border-radius: 16px; padding: 18px;
}
.weather-card { margin-top: 16px; }
.card-kicker {
  display: flex; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700;
}
.card-kicker.green { color: #657A76; }
.weather-text { font-size: 13.5px; line-height: 1.6; color: #5C554F; margin: 10px 0 0; }

.discover-head { margin: 26px 0 14px; }
.tap-hint { font-size: 11px; color: #9A8C95; letter-spacing: 1px; text-transform: uppercase; }
.tile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.tile {
  text-align: left; border: 1px solid rgba(32,32,30,0.07); background: #FBFAF9;
  border-radius: 15px; padding: 16px 15px 15px; cursor: pointer;
  font-family: 'Mulish', sans-serif; display: flex; flex-direction: column; gap: 7px;
}
.tile-index { font-family: 'Spectral', serif; font-size: 13px; color: #B29FAC; letter-spacing: 1px; }
.tile-label { font-family: 'Spectral', serif; font-size: 17px; color: #20201E; line-height: 1.15; }
.tile-desc { font-size: 11.5px; color: #8C837D; line-height: 1.45; }

.today-card { margin-top: 24px; background: #657A76; border-radius: 16px; padding: 20px; color: #EEF1ED; }
.today-head { font-family: 'Spectral', serif; font-size: 18px; color: #FBFCFA; }
.today-btn {
  border: 1px solid rgba(238,241,237,0.35); background: transparent; color: #EEF1ED;
  font-family: 'Mulish', sans-serif; font-size: 11px; font-weight: 700;
  padding: 6px 12px; border-radius: 100px; cursor: pointer; letter-spacing: 0.4px; flex: none;
}
.today-list { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
.today-item { border-left: 2px solid #CBD2C2; padding-left: 13px; }
.today-time { font-family: 'Spectral', serif; font-size: 16px; color: #FBFCFA; }
.today-title { font-size: 13px; font-weight: 600; margin-top: 2px; color: #EEF1ED; }
.today-place { font-size: 11.5px; color: #D3DACD; margin-top: 2px; }
.today-empty { font-size: 12.5px; color: #D3DACD; }

/* ===== Gäste-ABC ===== */
.search {
  display: flex; align-items: center; gap: 11px;
  background: #FBFAF9; border: 1px solid rgba(32,32,30,0.1);
  border-radius: 12px; padding: 13px 15px; margin-bottom: 16px;
}
.search-dot { width: 8px; height: 8px; border-radius: 50%; border: 2px solid #9A8C95; flex: none; }
.search input {
  border: none; background: transparent; outline: none;
  font-family: 'Mulish', sans-serif; font-size: 15px; color: #20201E;
  width: 100%; padding: 1px 0; -webkit-appearance: none; appearance: none;
}
.abc-list { display: flex; flex-direction: column; gap: 9px; }
.abc-item { background: #FBFAF9; border: 1px solid rgba(32,32,30,0.07); border-radius: 13px; overflow: hidden; }
.abc-head {
  width: 100%; display: flex; align-items: center; gap: 13px; padding: 14px 15px;
  border: none; background: transparent; cursor: pointer; text-align: left;
  font-family: 'Mulish', sans-serif;
}
.abc-letter {
  width: 34px; height: 34px; flex: none; border-radius: 9px; background: #F0ECEB;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Spectral', serif; font-size: 17px; color: #83677F;
}
.abc-term { flex: 1; font-size: 14.5px; font-weight: 600; color: #20201E; line-height: 1.2; }
.abc-chev {
  font-family: 'Spectral', serif; font-size: 22px; color: #B29FAC; line-height: 1;
  transition: transform .2s ease;
}
.abc-item.open .abc-chev { transform: rotate(45deg); }
.abc-body { padding: 0 15px 15px 62px; font-size: 13px; line-height: 1.6; color: #5C554F; }
.abc-empty { text-align: center; padding: 44px 16px; color: #9A8C95; }
.abc-empty-title { font-family: 'Spectral', serif; font-size: 18px; color: #5C554F; }
.abc-empty-text { font-size: 12.5px; margin-top: 7px; }

/* ===== Wochenprogramm ===== */
.week-tabs {
  display: flex; gap: 8px; padding: 0 16px 4px; margin-bottom: 18px;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.week-tabs::-webkit-scrollbar { display: none; }
.week-tab {
  min-width: 52px; min-height: 50px; flex: none; padding: 8px 12px;
  border-radius: 12px; border: 1px solid rgba(32,32,30,0.1);
  background: #FBFAF9; color: #6A625C; cursor: pointer;
  font-family: 'Mulish', sans-serif; text-align: center;
  font-weight: 700; font-size: 14px;
}
.week-tab.active { border-color: #83677F; background: #83677F; color: #fff; }
.week-day { font-family: 'Spectral', serif; font-size: 21px; font-weight: 500; margin-bottom: 6px; }
.week-list { display: flex; flex-direction: column; }
.week-item {
  display: grid; grid-template-columns: 64px 1fr; gap: 14px;
  padding: 15px 0; border-top: 1px solid rgba(32,32,30,0.08);
}
.week-time { font-family: 'Spectral', serif; font-size: 18px; color: #83677F; }
.week-item-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.week-title { font-size: 15px; font-weight: 600; color: #20201E; line-height: 1.25; }
.week-place { font-size: 12px; color: #8C837D; margin-top: 4px; }
.week-empty { font-size: 13px; color: #9A8C95; padding: 18px 0; }
.evt-tag {
  display: inline-block; font-size: 9px; letter-spacing: 1.1px; text-transform: uppercase;
  font-weight: 700; padding: 3px 8px; border-radius: 100px; flex: none;
}
.evt-tag.aktiv     { color: #657A76; background: rgba(101,122,118,0.10); }
.evt-tag.genuss    { color: #83677F; background: rgba(131,103,127,0.10); }
.evt-tag.kulinarik { color: #B0714E; background: rgba(176,113,78,0.10); }
.evt-tag.wellness  { color: #636D7C; background: rgba(99,109,124,0.10); }
.evt-tag.familie   { color: #8A7A55; background: rgba(138,122,85,0.10); }

/* ===== Erleben ===== */
.seg-tabs { display: flex; gap: 6px; padding: 16px 16px 4px; }
.seg-tab {
  flex: 1; padding: 11px 6px; border-radius: 11px;
  border: 1px solid rgba(32,32,30,0.1); background: #FBFAF9; color: #6A625C;
  font-family: 'Mulish', sans-serif; font-size: 13.5px; font-weight: 700; cursor: pointer;
}
.seg-tab.active { border-color: #83677F; background: #83677F; color: #fff; }

.er-hero { position: relative; height: 184px; margin: 12px 16px 0; border-radius: 16px; overflow: hidden; }
.er-hero.winter { background: linear-gradient(135deg, #C9D0DB 0%, #8E99AB 55%, #636D7C 100%); }
.er-hero.wellness { height: 170px; background: linear-gradient(135deg, #8A7484 0%, #55414F 55%, #332631 100%); }
.er-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(51,38,49,0.78) 0%, rgba(51,38,49,0.12) 60%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 16px 18px;
}
.er-hero-overlay.winter { background: linear-gradient(0deg, rgba(48,55,66,0.80) 0%, rgba(48,55,66,0.14) 60%, transparent 100%); }
.er-hero-kick { font-size: 9.5px; letter-spacing: 2.5px; text-transform: uppercase; color: #D8CBD3; font-weight: 700; }
.er-hero-kick.winter { color: #C9D0DB; }
.er-hero-title { font-family: 'Spectral', serif; font-size: 22px; color: #fff; margin-top: 4px; line-height: 1.12; }
.er-hero-title.big { font-size: 24px; line-height: 1.1; }

.season-cards { display: flex; flex-direction: column; gap: 13px; padding: 18px 16px 26px; }
.season-card { background: #FBFAF9; border: 1px solid rgba(32,32,30,0.07); border-radius: 15px; overflow: hidden; }
.season-card-img {
  height: 140px; position: relative;
  background: linear-gradient(135deg, #D3DACD 0%, #9DABA2 55%, #657A76 100%);
}
.season-card.winter .season-card-img { background: linear-gradient(135deg, #C9D0DB 0%, #8E99AB 55%, #636D7C 100%); }
.season-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.season-card-body { padding: 14px 16px 16px; }
.season-tag {
  display: inline-block; font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase;
  font-weight: 700; color: #657A76; background: rgba(101,122,118,0.1);
  padding: 3px 8px; border-radius: 100px;
}
.season-card.winter .season-tag { color: #636D7C; background: rgba(99,109,124,0.12); }
.season-title { font-family: 'Spectral', serif; font-size: 18px; margin-top: 9px; color: #20201E; }
.season-text { font-size: 12.5px; line-height: 1.55; color: #7A726C; margin-top: 5px; }

.sauna-card { background: #332631; border-radius: 16px; padding: 20px; color: #E9E2E6; }
.sauna-head { font-family: 'Spectral', serif; font-size: 19px; color: #F3EEF1; }
.sauna-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 9px;
  background: rgba(233,226,230,0.1); border: 1px solid rgba(233,226,230,0.14);
  border-radius: 100px; padding: 6px 13px 6px 10px;
}
.sauna-hours { font-size: 12.5px; font-weight: 700; color: #EDE7EA; letter-spacing: 0.2px; }
.sauna-daily { font-size: 11px; color: #B29FAC; }
.sauna-list { display: flex; flex-direction: column; margin-top: 14px; }
.sauna-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid rgba(233,226,230,0.1);
}
.sauna-name { font-size: 13.5px; color: #E9E2E6; }
.sauna-temp { font-family: 'Spectral', serif; font-size: 14px; color: #B1B4A1; }
.sauna-note { font-size: 11.5px; color: #B29FAC; margin-top: 14px; line-height: 1.5; }

.treat-head { margin: 24px 2px 4px; }
.treat-sub { font-size: 11.5px; color: #9A8C95; margin: 0 2px 6px; }
.treat-list { display: flex; flex-direction: column; }
.treat-row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 14px 2px; border-top: 1px solid rgba(32,32,30,0.08);
}
.treat-name { font-size: 14.5px; font-weight: 600; color: #20201E; line-height: 1.2; }
.treat-dur { font-size: 12px; color: #8C837D; margin-top: 2px; }
.treat-price { font-family: 'Spectral', serif; font-size: 17px; color: #83677F; flex: none; }

/* ===== Service ===== */
.svc-hours {
  display: flex; align-items: flex-start; gap: 11px;
  background: rgba(101,122,118,0.09); border: 1px solid rgba(101,122,118,0.25);
  border-radius: 13px; padding: 14px 15px; margin-bottom: 18px;
}
.svc-hours-ico { width: 19px; height: 19px; flex: none; color: #657A76; margin-top: 1px; }
.svc-hours-text { font-size: 12.5px; line-height: 1.55; color: #4A524E; }
.svc-hours-text strong { color: #20201E; font-weight: 700; }

.svc-cta {
  display: flex; align-items: center; gap: 15px; text-decoration: none;
  border-radius: 16px; padding: 18px; margin-bottom: 12px;
}
.svc-cta.call { background: #83677F; color: #F3EEF1; }
.svc-cta.mail { border: 1px solid rgba(32,32,30,0.07); background: #FBFAF9; margin-bottom: 22px; }
.svc-cta.stay { background: #657A76; color: #EEF1ED; padding: 20px; margin-bottom: 0; }
.svc-cta-ico {
  width: 48px; height: 48px; flex: none; border-radius: 13px;
  background: rgba(255,255,255,0.16); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.svc-cta-ico.mail { background: rgba(101,122,118,0.12); color: #657A76; }
.svc-cta-ico.stay { background: rgba(255,255,255,0.15); }
.svc-cta-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.svc-cta-title { font-family: 'Spectral', serif; font-size: 19px; color: #FBFCFA; line-height: 1.12; }
.svc-cta-title.dark { color: #20201E; }
.svc-cta-sub { font-size: 13px; color: #E7DDE4; margin-top: 3px; }
.svc-cta-sub.grey { color: #8C837D; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.svc-cta-sub.green { font-size: 12.5px; color: #D3DACD; line-height: 1.4; }
.svc-cta-go { font-size: 12.5px; font-weight: 700; color: #E7DDE4; flex: none; }
.svc-cta-go.plum { color: #83677F; }
.svc-cta-go.white { color: #fff; }

.fb-kicker {
  font-size: 10.5px; letter-spacing: 2.5px; text-transform: uppercase;
  color: #83677F; font-weight: 700; margin-bottom: 12px;
}
.fb-card { padding: 20px; margin-bottom: 14px; }
.fb-title { font-family: 'Spectral', serif; font-size: 18px; color: #20201E; }
.fb-label { font-size: 12.5px; color: #8C837D; line-height: 1.5; margin-top: 4px; }
.fb-stars { display: flex; gap: 6px; margin-top: 14px; }
.fb-star { border: none; background: transparent; cursor: pointer; padding: 3px; line-height: 0; }
.fb-star svg { transition: fill .18s ease; }

/* ===== Scrollhinweis ===== */
.scroll-hint {
  position: absolute; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 40;
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  border: none; background: #332631; color: #fff; border-radius: 100px;
  padding: 8px 16px 6px; cursor: pointer;
  box-shadow: 0 10px 30px rgba(32,32,30,0.32); font-family: 'Mulish', sans-serif;
}
.scroll-hint-label { font-size: 9.5px; letter-spacing: 1.8px; text-transform: uppercase; color: #EBE3E8; font-weight: 600; }
.scroll-hint-arrow { display: block; width: 18px; height: 18px; color: #fff; animation: scrollHintAnim 1.6s ease-in-out infinite; }

/* ===== Tab-Bar ===== */
.tabbar {
  flex: none; display: flex; align-items: stretch;
  background: #332631; border-top: 1px solid rgba(233,226,230,0.12);
  padding: 8px 6px calc(12px + env(safe-area-inset-bottom)); z-index: 20;
}
.tab {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px;
  border: none; background: transparent; cursor: pointer; padding: 4px 2px;
  font-family: 'Mulish', sans-serif; color: #9A8794;
}
.tab.active { color: #F5EFF2; }
.tab-label { font-size: 10px; font-weight: 700; letter-spacing: 0.2px; }

/* ===== Feedback-Bottom-Sheet ===== */
.fb-backdrop {
  position: absolute; inset: 0; background: rgba(32,32,30,0.42);
  backdrop-filter: blur(2px);
  display: flex; align-items: flex-end; justify-content: center;
  z-index: 60; animation: fadeUp .25s ease;
}
.fb-sheet {
  width: 100%; background: #F6F3F1; border-radius: 22px 22px 0 0;
  padding: 26px 22px calc(30px + env(safe-area-inset-bottom));
  box-shadow: 0 -14px 50px rgba(32,32,30,0.3);
}
.fbm-kicker { font-size: 10.5px; letter-spacing: 2.5px; text-transform: uppercase; color: #83677F; font-weight: 700; }
.fbm-title { font-family: 'Spectral', serif; font-size: 23px; color: #20201E; margin-top: 7px; line-height: 1.2; }
.fbm-text { font-size: 13.5px; color: #5C554F; line-height: 1.6; margin-top: 8px; }
.fbm-input {
  width: 100%; box-sizing: border-box;
  border: 1px solid rgba(32,32,30,0.15); background: #fff; border-radius: 12px;
  padding: 13px 15px; font-family: 'Mulish', sans-serif; font-size: 14px; color: #20201E;
  resize: none; height: 96px; outline: none; line-height: 1.55; margin-top: 15px;
}
.fbm-actions { display: flex; gap: 10px; margin-top: 15px; }
.fbm-btn {
  flex: 1; font-family: 'Mulish', sans-serif; font-size: 14px;
  padding: 13px 20px; border-radius: 100px; cursor: pointer;
}
.fbm-btn.ghost { border: 1px solid rgba(32,32,30,0.18); background: transparent; color: #5C554F; font-weight: 600; }
.fbm-btn.solid { border: none; background: #83677F; color: #fff; font-weight: 700; }

/* ===== Toast ===== */
.toast {
  position: absolute; bottom: 96px; left: 50%; transform: translateX(-50%);
  background: #20201E; color: #F3EEF1; padding: 13px 22px; border-radius: 100px;
  font-size: 13.5px; font-weight: 500;
  box-shadow: 0 14px 40px rgba(32,32,30,0.3);
  animation: toastIn .3s ease; z-index: 50;
  display: flex; align-items: center; gap: 10px; max-width: 340px;
}

/* ===== iOS-Hinweis ===== */
.ios-hint {
  position: absolute; left: 12px; right: 12px; bottom: calc(84px + env(safe-area-inset-bottom));
  z-index: 45; background: #332631; color: #EBE3E8;
  border-radius: 14px; padding: 13px 40px 13px 16px;
  font-size: 12.5px; line-height: 1.5;
  box-shadow: 0 10px 30px rgba(32,32,30,0.32);
  animation: fadeUp .3s ease;
}
.ios-hint-close {
  position: absolute; top: 6px; right: 8px;
  border: none; background: transparent; color: #B29FAC;
  font-size: 20px; line-height: 1; cursor: pointer; padding: 4px 8px;
}
