/* ============================================================
   TRAUMRAUM CMS - Stylesheet
   Luxury Edition | Gold & Bordeaux | Bootstrap 5
   ============================================================ */

/* ============================================================
   FARBEN & VARIABLEN
   ============================================================ */
:root {
    --tr-primary:      #8B1A5E;
    --tr-primary-dark: #5A1040;
    --tr-accent:       #c0397a;
    --tr-gold:         #C9A84C;
    --tr-gold-light:   #e8c96e;
    --tr-gold-dark:    #8B6914;
    --tr-bg-dark:      #1a1a1a;
    --tr-bg-overlay:   rgba(0,0,0,0.80);
    --tr-text-light:   #f0f0f0;
    --tr-text-muted:   #aaaaaa;
}

/* ============================================================
   GLOBAL
   ============================================================ */
* { box-sizing: border-box; }

body {
    background-color: #0f0f0f;
    color: var(--tr-text-light);
    font-family: 'Segoe UI', Arial, sans-serif;
    min-height: 100vh;
}

a { color: var(--tr-accent); text-decoration: none; }
a:hover { color: var(--tr-gold); }

/* ============================================================
   NAVBAR
   ============================================================ */
.tr-navbar {
    background: linear-gradient(180deg, #3d0a28 0%, #2a0618 100%);
    border-bottom: 2px solid var(--tr-gold);
    padding: 0.6rem 0;
}
.tr-navbar .navbar-brand img { max-height: 48px; }
.tr-navbar .nav-link {
    color: #e0d0c0 !important;
    font-size: 0.88rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s;
}
.tr-navbar .nav-link:hover,
.tr-navbar .nav-link.active {
    color: var(--tr-gold-light) !important;
}

/* Sprach-Umschalter DE / EN */
.tr-lang-switch {
    display: inline-flex !important;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: max-content;
    gap: 0.2rem;
    margin-left: 0.75rem;
    border-left: 1px solid rgba(201,168,76,0.25);
    padding-left: 0.75rem;
}
.tr-lang-btn {
    color: #a08060 !important;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    padding: 0.1rem 0.25rem;
    border-radius: 3px;
    transition: color 0.2s;
}
.tr-lang-btn:hover,
.tr-lang-btn.active {
    color: var(--tr-gold-light) !important;
}
.tr-lang-sep {
    color: rgba(201,168,76,0.3);
    font-size: 0.75rem;
}

/* ============================================================
   HERO / STARTSEITE
   ============================================================ */
.tr-hero {
    min-height: 100vh;
    background:
        linear-gradient(rgba(0,0,0,0.82), rgba(0,0,0,0.82)),
        url('/assets/images/bg.jpg') center center / cover no-repeat;
    padding: 2rem 0;
    display: flex;
    align-items: center;
}

.tr-hero-logo {
    max-width: 280px;
    width: 100%;
    filter: drop-shadow(0 0 20px rgba(201,168,76,0.35));
}

.tr-agegate {
    background: rgba(8, 2, 6, 0.92);
    border: 1px solid var(--tr-gold-dark);
    border-radius: 12px;
    backdrop-filter: blur(6px);
    box-shadow:
        0 0 0 1px rgba(201,168,76,0.08),
        0 20px 60px rgba(0,0,0,0.7),
        inset 0 1px 0 rgba(201,168,76,0.12);
    position: relative;
    overflow: hidden;
}

.tr-agegate::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--tr-gold-dark) 20%,
        var(--tr-gold) 50%,
        var(--tr-gold-dark) 80%,
        transparent 100%);
}

.tr-agegate-text {
    font-size: 0.88rem;
    line-height: 1.75;
    color: #cccccc;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.tr-btn-primary {
    background: linear-gradient(135deg, var(--tr-primary), var(--tr-primary-dark));
    border: 1px solid var(--tr-primary);
    color: #fff;
    border-radius: 5px;
    transition: all 0.2s;
}
.tr-btn-primary:hover {
    background: linear-gradient(135deg, var(--tr-accent), var(--tr-primary));
    border-color: var(--tr-accent);
    color: #fff;
    box-shadow: 0 4px 15px rgba(139,26,94,0.4);
}

.tr-btn-outline {
    background: transparent;
    border: 1px solid rgba(201,168,76,0.4);
    color: var(--tr-gold-dark);
    border-radius: 5px;
    transition: all 0.2s;
}
.tr-btn-outline:hover {
    border-color: var(--tr-gold);
    color: var(--tr-gold);
    box-shadow: 0 4px 15px rgba(201,168,76,0.15);
}

/* ============================================================
   SEITENHEADER
   ============================================================ */
.tr-page-header {
    background: linear-gradient(135deg, #2a0618 0%, #111111 60%);
    padding: 2.5rem 0 1.75rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}
.tr-page-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--tr-gold-dark) 20%,
        var(--tr-gold) 50%,
        var(--tr-gold-dark) 80%,
        transparent 100%);
}
.tr-page-header h1 {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-shadow: 0 0 30px rgba(201,168,76,0.15);
    margin-bottom: 0;
}
.tr-page-header p {
    color: var(--tr-text-muted);
    max-width: 700px;
    margin: 0.75rem auto 0;
    font-size: 0.9rem;
}

/* ============================================================
   AKTUELLES
   ============================================================ */
.tr-aktuelles-item {
    background: rgba(10,3,8,0.8);
    border: 1px solid rgba(201,168,76,0.12);
    border-left: 3px solid var(--tr-gold-dark);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
    transition: border-color 0.2s;
}
.tr-aktuelles-item:hover { border-left-color: var(--tr-gold); }
.tr-aktuelles-item h4 {
    color: var(--tr-gold);
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}
.tr-aktuelles-item .tr-datum {
    font-size: 0.78rem;
    color: #665544;
    margin-bottom: 0.4rem;
}
.tr-aktuelles-item p {
    color: #ccc;
    margin-bottom: 0;
    font-size: 0.92rem;
}

/* ============================================================
   LADIES - ÜBERSICHT KARTEN
   ============================================================ */
.tr-lady-card {
    background: #0d0d0d;
    border: 1px solid rgba(201,168,76,0.15);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.tr-lady-card:hover {
    transform: translateY(-5px);
    border-color: var(--tr-gold);
    box-shadow: 0 8px 30px rgba(201,168,76,0.12);
}
.tr-lady-card img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    background: #0a0a0a;
}
.tr-lady-card-body { padding: 0.85rem 1rem; }
.tr-lady-card-body h5 { color: #f0e8d8; margin-bottom: 0.2rem; font-size: 1rem; }
.tr-lady-meta { font-size: 0.82rem; color: #887766; }

/* Badges */
.tr-badge-stammfrau {
    background: linear-gradient(135deg, var(--tr-gold-dark), var(--tr-gold));
    color: #1a1000;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 0.4rem;
    letter-spacing: 0.03em;
    box-shadow: 0 2px 8px rgba(201,168,76,0.25);
}
.tr-badge-anwesend {
    background: linear-gradient(135deg, var(--tr-primary-dark), var(--tr-primary));
    color: #fff;
    font-size: 0.72rem;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 0.4rem;
}

/* ============================================================
   LADIES - DETAIL: THUMBNAILS
   ============================================================ */
.tr-thumb-btn {
    display: block;
    width: 100%;
    padding: 0;
    background: none;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 0.6rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.tr-thumb-btn:hover {
    border-color: var(--tr-gold);
    box-shadow: 0 4px 15px rgba(201,168,76,0.2);
}
.tr-thumb-btn img { width: 100%; display: block; }

/* ============================================================
   LADIES - DETAIL: NAME & ALTER
   ============================================================ */
.tr-dame-name {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}
.tr-dame-age {
    color: var(--tr-gold);
    font-size: 1.1rem;
    font-weight: 400;
}

/* ============================================================
   LADIES - DETAIL: DATENTABELLE
   ============================================================ */
.tr-daten-box {
    background: rgba(8, 2, 6, 0.95);
    border: 1px solid rgba(201,168,76,0.2);
    border-top: 2px solid var(--tr-gold-dark);
    border-radius: 8px;
    overflow: hidden;
}
.tr-daten-zeile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    font-size: 0.88rem;
}
.tr-daten-zeile:last-child { border-bottom: none; }
.tr-daten-label {
    color: var(--tr-gold-dark);
    font-size: 0.78rem;
    flex-shrink: 0;
    margin-right: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}
.tr-daten-wert {
    color: #f0e8d8;
    text-align: right;
}

/* ============================================================
   LADIES - DETAIL: HINWEIS-BOX
   ============================================================ */
.tr-hinweis-box {
    background: rgba(50, 8, 32, 0.45);
    border: 1px solid rgba(192,57,122,0.35);
    border-left: 3px solid var(--tr-accent);
    border-radius: 8px;
    padding: 0.85rem 1rem;
    font-size: 0.8rem;
    color: #bbbbbb;
    line-height: 1.65;
    margin-left: 0.5rem;
}
.tr-hinweis-titel {
    color: var(--tr-accent);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ============================================================
   LADIES - DETAIL: BESCHREIBUNG
   ============================================================ */
.tr-beschreibung {
    color: #cccccc;
    line-height: 1.75;
    font-size: 0.92rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(201,168,76,0.1);
    border-bottom: 1px solid rgba(201,168,76,0.1);
}

/* ============================================================
   LADIES - DETAIL: SERVICES
   ============================================================ */
.tr-services-heading {
    color: var(--tr-gold);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(201,168,76,0.2);
}
.tr-services-columns {
    columns: 3;
    column-gap: 1.25rem;
}
@media (max-width: 992px) { .tr-services-columns { columns: 2; } }
@media (max-width: 576px) { .tr-services-columns { columns: 1; } }

.tr-svc-gruppe {
    break-inside: avoid;
    margin-bottom: 0.85rem;
}
.tr-svc-kat {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--tr-gold-dark);
    margin-bottom: 0.25rem;
    font-weight: 700;
}
.tr-svc-tag {
    display: inline-block;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 3px;
    padding: 0.1rem 0.4rem;
    font-size: 0.78rem;
    margin: 0.1rem 0.1rem 0.1rem 0;
    color: #cccccc;
}
.tr-svc-tag.special {
    border-color: rgba(201,168,76,0.4);
    color: var(--tr-gold);
    font-weight: 600;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
#tr-lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.tr-lb-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
#tr-lb-img {
    max-width: 80vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 60px rgba(0,0,0,0.9);
    display: block;
}
#tr-lb-counter {
    position: absolute;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
    color: #666;
    font-size: 0.78rem;
    white-space: nowrap;
}
.tr-lb-close {
    position: fixed;
    top: 1.25rem;
    right: 1.5rem;
    background: rgba(80,12,50,0.9);
    border: 1px solid rgba(201,168,76,0.3);
    color: #fff;
    font-size: 1.3rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: all 0.2s;
}
.tr-lb-prev {
    position: fixed;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(80,12,50,0.85);
    border: 1px solid rgba(201,168,76,0.3);
    color: #fff;
    font-size: 2.2rem;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: all 0.2s;
    line-height: 1;
}
.tr-lb-next {
    position: fixed;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(80,12,50,0.85);
    border: 1px solid rgba(201,168,76,0.3);
    color: #fff;
    font-size: 2.2rem;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: all 0.2s;
    line-height: 1;
}
.tr-lb-close:hover,
.tr-lb-prev:hover,
.tr-lb-next:hover {
    background: var(--tr-primary);
    border-color: var(--tr-gold);
    box-shadow: 0 0 20px rgba(201,168,76,0.2);
}

/* ============================================================
   FOOTER
   ============================================================ */
.tr-footer {
    background: linear-gradient(180deg, #280616 0%, #150310 100%);
    border-top: 1px solid var(--tr-gold-dark);
    color: var(--tr-text-light);
    position: relative;
}
.tr-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--tr-gold-dark) 20%,
        var(--tr-gold) 50%,
        var(--tr-gold-dark) 80%,
        transparent 100%);
}
.tr-footer h5 {
    color: var(--tr-gold);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}
.tr-footer p { color: #aaa; font-size: 0.88rem; }
.tr-footer a { color: #887766; }
.tr-footer a:hover { color: var(--tr-gold-light); }
.tr-footer-bottom {
    border-top: 1px solid rgba(201,168,76,0.08);
    color: #554433;
    font-size: 0.78rem;
}
.tr-footer-bottom a { color: #665544; }
.tr-footer-bottom a:hover { color: var(--tr-gold-dark); }

/* ============================================================
   CONTENT ZONEN
   ============================================================ */
.tr-zone-top {
    background: linear-gradient(135deg, rgba(90,16,64,0.18), rgba(26,26,26,0.18));
    border: 1px solid rgba(201,168,76,0.18);
    border-left: 3px solid var(--tr-gold-dark);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
}
.tr-zone-bottom {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(201,168,76,0.08);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin-top: 1.5rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .tr-page-header h1 { font-size: 1.6rem; }
    .tr-lady-card img { height: 220px; }
    .tr-agegate { padding: 1.5rem !important; }
    .tr-dame-name { font-size: 1.5rem; }
    .tr-lb-prev { left: 0.5rem; width: 40px; height: 40px; font-size: 1.8rem; }
    .tr-lb-next { right: 0.5rem; width: 40px; height: 40px; font-size: 1.8rem; }
    #tr-lb-img { max-width: 76vw; }
    .tr-hinweis-box { margin-left: 0; margin-top: 0.75rem; }
    .tr-hero-logo { max-width: 220px; }
}
@media (max-width: 480px) {
    .tr-lady-card img { height: 180px; }
    .tr-lb-prev { left: 0.25rem; }
    .tr-lb-next { right: 0.25rem; }
}


/* ============================================================
   STATISCHE SEITEN (Anfahrt, Impressum, Datenschutz)
   An style.css anhängen
   ============================================================ */

.tr-static-box {
    background: rgba(8, 2, 6, 0.85);
    border: 1px solid rgba(201,168,76,0.2);
    border-top: 2px solid var(--tr-gold-dark);
    border-radius: 10px;
    padding: 1.75rem 2rem;
    color: #cccccc;
    line-height: 1.75;
}

.tr-static-heading {
    color: var(--tr-gold);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    margin-bottom: 0.6rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid rgba(201,168,76,0.15);
}

.tr-static-adresse {
    color: #f0e8d8;
    font-size: 1rem;
    line-height: 1.8;
}

.tr-static-text {
    color: #cccccc;
    font-size: 0.9rem;
    line-height: 1.75;
}

.tr-tel-link {
    display: inline-block;
    color: var(--tr-gold);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 0.4rem 0;
    transition: color 0.2s;
}
.tr-tel-link:hover {
    color: var(--tr-gold-light);
}

/* Google Maps */
.tr-map-wrap {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(201,168,76,0.2);
    min-height: 350px;
}
.tr-map-wrap iframe {
    width: 100%;
    height: 450px;
    display: block;
    border: none;
    filter: grayscale(20%) contrast(90%);
}
.tr-map-placeholder {
    background: rgba(8,2,6,0.85);
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-size: 0.9rem;
}

/* Impressum / Datenschutz Texte */
.tr-legal-box h4 {
    color: var(--tr-gold);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid rgba(201,168,76,0.15);
}
.tr-legal-box h4:first-child { margin-top: 0; }
.tr-legal-box p {
    color: #cccccc;
    font-size: 0.9rem;
    line-height: 1.75;
    margin-bottom: 0.75rem;
}
.tr-legal-box a {
    color: var(--tr-gold-dark);
}
.tr-legal-box a:hover {
    color: var(--tr-gold);
}
/* ============================================================
   AMBIENTE - An style.css anhängen
   ============================================================ */

.tr-raum-block { margin-bottom: 1rem; }

.tr-raum-reverse .row { flex-direction: row-reverse; }

.tr-raum-name {
    color: var(--tr-gold);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(201,168,76,0.2);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.tr-raum-beschreibung {
    color: #cccccc;
    line-height: 1.8;
    font-size: 0.95rem;
}

.tr-raum-info {
    padding: 1.5rem;
    background: rgba(8,2,6,0.6);
    border: 1px solid rgba(201,168,76,0.15);
    border-left: 3px solid var(--tr-gold-dark);
    border-radius: 8px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tr-raum-divider {
    border: none;
    border-top: 1px solid rgba(201,168,76,0.1);
    margin: 2rem 0;
}

/* Hauptbild */
.tr-amb-main-wrap { position: relative; }

.tr-amb-main-btn {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    background: none;
    border: 2px solid rgba(201,168,76,0.2);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s;
}
.tr-amb-main-btn:hover { border-color: var(--tr-gold); }

.tr-amb-main-img {
    width:100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: brightness(0.75);
}

.tr-amb-gallery {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 0.5rem;
}

.tr-amb-count {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    background: rgba(0,0,0,0.75);
    color: var(--tr-gold);
    font-size: 0.78rem;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    border: 1px solid rgba(201,168,76,0.3);
}

/* Thumbnail Streifen */
.tr-amb-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.4rem;
}

.tr-amb-thumb-btn {
    padding: 0;
    background: none;
    border: 2px solid transparent;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s;
}
.tr-amb-thumb-btn:hover { border-color: var(--tr-gold); }
.tr-amb-thumb-btn img {
    width: 100%;
    height: 70px;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .tr-raum-reverse .row { flex-direction: row; }
    .tr-amb-main-img { height: 220px; }
    .tr-amb-thumb-btn img { height: 55px; }
    .tr-raum-name { font-size: 1.25rem; }
}