/* ============================================================
   GUESTBOOK — guest.html
   Gast-seitige Ansicht des digitalen Zimmerleitfadens
   ============================================================ */

/* ── Basis ─────────────────────────────────────────────────── */
body.guestbook-page {
    background: #f0f5fb;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1a2b3c;
    margin: 0;
    padding: 0;
}

/* ── Header ────────────────────────────────────────────────── */
.guestbook-header {
    background: #0d2137;
    padding: 12px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.guestbook-header .header-inner {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.hotel-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.hotel-logo {
    height: 32px;
    width: auto;
    display: block;
}

/* Sprachschalter */
.lang-switcher {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
    color: rgba(255,255,255,0.70);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.lang-btn:hover  { background: rgba(255,255,255,0.12); color: #fff; }
.lang-btn.active { background: rgba(255,255,255,0.18); color: #fff; font-weight: 600; }

/* ── Hauptinhalt ───────────────────────────────────────────── */
.guestbook-content {
    max-width: 680px;
    margin: 0 auto;
    padding: 24px 16px 40px;
}

/* ── Kategorien ────────────────────────────────────────────── */
.gb-category {
    margin-bottom: 32px;
}

/* Kategorie-Kopfzeile: Icon + Titel auf einer Linie */
.gb-cat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0 12px 0;
    border-bottom: 2px solid #c5d8eb;
    margin-bottom: 10px;
}

.gb-cat-icon {
    font-size: 22px;
    color: #1a5c8a;
    flex-shrink: 0;
    line-height: 1;
}

.gb-cat-title {
    font-size: 22px;
    font-weight: 700;
    color: #0d2137;
    margin: 0;
    line-height: 1.2;
}

/* ── Accordion ─────────────────────────────────────────────── */
.gb-accordion {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.gb-acc-item {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #c5d8eb;
    background: #fff;
}

/* Accordion-Button: volle Breite, grössere Schrift */
.gb-acc-trigger {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 15px 18px;
    background: #e8f2fa;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 17px;
    font-weight: 600;
    color: #0d2137;
    transition: background 0.15s;
    line-height: 1.3;
}

.gb-acc-trigger:hover,
.gb-acc-trigger[aria-expanded="true"] {
    background: #d5e9f7;
}

.gb-acc-icon {
    font-size: 22px;
    color: #1a5c8a;
    flex-shrink: 0;
    width: 28px;
    text-align: center;
}

.gb-acc-title {
    flex: 1;
}

.gb-acc-arrow {
    font-size: 14px;
    color: #5a7a95;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

/* Accordion-Body: weisser Hintergrund */
.gb-acc-body {
    background: #ffffff;
    padding: 18px 20px 18px 60px;  /* links eingerückt = Icon-Breite */
    border-top: 1px solid #e0edf7;
}

.gb-acc-text {
    font-size: 15px;
    line-height: 1.75;
    color: #1a2b3c;
}

.gb-acc-text br {
    display: block;
    content: '';
    margin-top: 6px;
}

/* ── HTML-Formatierungen (aus Rich-Text-Editor) ─────────────── */
.gb-acc-text strong,
.gb-acc-text b        { font-weight: 700; }

.gb-acc-text .gb-small,
.gb-acc-text small    { font-size: 0.82em; }

.gb-acc-text .gb-large { font-size: 1.15em; }

.gb-acc-text ul {
    padding-left: 1.4em;
    margin: 6px 0 6px 0;
    list-style-type: disc;
}

.gb-acc-text li {
    margin: 3px 0;
    list-style-type: disc;
}

.gb-acc-text p { margin: 0 0 8px; }

/* Links */
.gb-acc-text a {
    color: #1a5c8a;
    text-decoration: underline;
    text-underline-offset: 2px;
    word-break: break-all;
}
.gb-acc-text a:hover { color: #0d2137; }

/* ── Footer ────────────────────────────────────────────────── */
.guestbook-footer {
    background: #0d2137;
    color: rgba(255,255,255,0.55);
    font-size: 13px;
    padding: 16px 20px;
    margin-top: 8px;
}

.guestbook-footer .footer-inner {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    justify-content: center;
}

.guestbook-footer a {
    color: rgba(255,255,255,0.70);
    text-decoration: none;
}

.guestbook-footer a:hover { color: #fff; }

/* ── Leerstand ─────────────────────────────────────────────── */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #5a7a95;
}

/* ── RTL-Unterstützung (Arabisch) ──────────────────────────── */
body.rtl .gb-acc-body {
    padding: 18px 60px 18px 20px;
}

body.rtl .gb-acc-trigger {
    text-align: right;
}

/* ── Mobile (bis 480px) ────────────────────────────────────── */
@media (max-width: 480px) {
    .gb-cat-title      { font-size: 19px; }
    .gb-acc-trigger    { font-size: 15px; padding: 13px 14px; gap: 10px; }
    .gb-acc-icon       { font-size: 18px; width: 22px; }
    .gb-acc-body       { padding: 14px 16px 14px 48px; }
    .lang-btn .lang-label { display: none; }   /* Nur Flagge auf kleinen Screens */
}

/* ── Wetter-Widget ──────────────────────────────────────────── */
.gb-weather {
    background: #fff;
    border: 1px solid #c5d8eb;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 32px;
}

.gb-weather-current {
    display: flex;
    align-items: center;
    gap: 16px;
}

.gb-weather-current-icon {
    font-size: 40px;
    color: #1a5c8a;
    flex-shrink: 0;
}

.gb-weather-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #5a7a95;
    margin-bottom: 2px;
}

.gb-weather-temp {
    font-size: 26px;
    font-weight: 700;
    color: #0d2137;
    line-height: 1.2;
}

.gb-weather-label {
    font-size: 15px;
    font-weight: 400;
    color: #5a7a95;
}

.gb-weather-forecast {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #e3ecf5;
    overflow-x: auto;
}

.gb-weather-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1 0 60px;
    padding: 6px 4px;
    border-radius: 8px;
    background: #f0f5fb;
}

.gb-weather-day-name {
    font-size: 12px;
    font-weight: 600;
    color: #5a7a95;
    text-transform: uppercase;
}

.gb-weather-day i {
    color: #1a5c8a;
    font-size: 18px;
}

.gb-weather-day-temp {
    font-size: 12px;
    color: #0d2137;
    white-space: nowrap;
}

body.rtl .gb-weather-current { flex-direction: row-reverse; }

@media (max-width: 480px) {
    .gb-weather           { padding: 14px 16px; }
    .gb-weather-current-icon { font-size: 32px; }
    .gb-weather-temp       { font-size: 22px; }
    .gb-weather-day        { flex: 1 0 52px; }
}

/* ── Anschlagsbrett "Aktuell" ──────────────────────────────────── */
.gb-board {
    background: #fff;
    border: 1px solid #c5d8eb;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 32px;
}

.gb-board-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 2px solid #c5d8eb;
    margin-bottom: 14px;
}

.gb-board-icon {
    font-size: 22px;
    color: #1a5c8a;
    flex-shrink: 0;
    line-height: 1;
}

.gb-board-title {
    font-size: 20px;
    font-weight: 700;
    color: #0d2137;
    margin: 0;
    line-height: 1.2;
}

.gb-board-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.gb-board-item {
    padding: 12px 14px;
    background: #fff8e6;
    border-left: 3px solid #e8a53c;
    border-radius: 4px;
}

.gb-board-item-title {
    font-size: 15px;
    font-weight: 700;
    color: #0d2137;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.gb-board-item-title i { color: #e8a53c; font-size: 14px; }

.gb-board-item-body {
    font-size: 14px;
    color: #3a4a5c;
    line-height: 1.5;
}

.gb-board-item-body ul { padding-left: 1.3em; margin: 4px 0; }
.gb-board-item-body a { color: #1a5c8a; text-decoration: underline; }

body.rtl .gb-board-header { flex-direction: row-reverse; }
body.rtl .gb-board-item { border-left: none; border-right: 3px solid #e8a53c; }

@media (max-width: 480px) {
    .gb-board       { padding: 14px 16px; }
    .gb-board-title { font-size: 18px; }
}

/* ── Podcast-Banner ─────────────────────────────────────────── */
.gb-podcast {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid #c5d8eb;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 32px;
    text-decoration: none;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.gb-podcast:hover {
    border-color: #1a5c8a;
    box-shadow: 0 2px 10px rgba(13, 33, 55, 0.08);
}

.gb-podcast-icon {
    font-size: 34px;
    color: #1a5c8a;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f5fb;
    border-radius: 50%;
}

.gb-podcast-text {
    flex: 1;
    min-width: 0;
}

.gb-podcast-title {
    font-size: 16px;
    font-weight: 700;
    color: #0d2137;
    line-height: 1.3;
}

.gb-podcast-subtitle {
    font-size: 13px;
    color: #5a7a95;
    line-height: 1.3;
    margin-top: 2px;
}

.gb-podcast-btn {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: #1a5c8a;
    padding: 8px 14px;
    border-radius: 20px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.gb-podcast-btn i { font-size: 11px; }

body.rtl .gb-podcast { flex-direction: row-reverse; }

@media (max-width: 480px) {
    .gb-podcast        { padding: 14px 16px; flex-wrap: wrap; }
    .gb-podcast-icon   { font-size: 28px; width: 40px; height: 40px; }
    .gb-podcast-title  { font-size: 15px; }
    .gb-podcast-btn    { margin-left: auto; }
    body.rtl .gb-podcast-btn { margin-left: 0; margin-right: auto; }
}
