/* ===== Traversal Website – Ergänzungen zum Liberty-Template ===== */
:root { --tv-accent: #FF1654; --tv-dark: #0d1b2a; }
.navbar-brand { font-weight: 700; }
.header-btn { padding: 8px 18px !important; font-size: 15px; }
.user-menu-img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; margin-right: 6px; vertical-align: -7px; }
.user-menu .dropdown-menu { border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.12); border: 0; padding: .5rem; }
.user-menu .dropdown-item { border-radius: 6px; padding: .5rem .9rem; font-size: 15px; }
.user-menu .dropdown-item button, .user-menu form .dropdown-item { background: none; border: 0; width: 100%; text-align: left; }

/* Seitenkopf (Breadcrumb) mit echtem Bild */
.page-hero { position: relative; background-size: cover; background-position: center; padding: 170px 0 70px; color: #fff; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.35)); }
.page-hero .container { position: relative; }
.page-hero h2 { color: #fff; font-size: 42px; font-weight: 700; }
.page-hero p { color: rgba(255,255,255,.9); max-width: 640px; margin-top: 10px; font-size: 18px; }
.page-hero .breadcrumbs-custom-path { padding: 0; margin: 12px 0 0; list-style: none; display: flex; }
.page-hero .breadcrumbs-custom-path li, .page-hero .breadcrumbs-custom-path a { color: #fff; }

/* Reiseziel-Karten */
.dest-grid .dest-item { background: var(--bg-color, #fff); border-radius: 14px; overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,.07); height: 100%; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.dest-grid .dest-item:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(0,0,0,.12); }
.dest-grid .dest-img { position: relative; display: block; overflow: hidden; }
.dest-grid .dest-img img { width: 100%; height: 230px; object-fit: cover; transition: transform .4s; }
.dest-grid .dest-item:hover .dest-img img { transform: scale(1.05); }
.dest-grid .dest-badge { position: absolute; top: 14px; left: 14px; background: rgba(0,0,0,.65); color: #fff; font-size: 13px; padding: 4px 12px; border-radius: 30px; }
.dest-grid .dest-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.dest-grid .dest-body h4 { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.dest-grid .dest-body h4 a { color: var(--heading-color, #111); }
.dest-grid .dest-body p { font-size: 15px; line-height: 24px; flex: 1; }
.dest-grid .dest-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.dest-grid .dest-price small { display: block; font-size: 12px; opacity: .7; text-transform: uppercase; letter-spacing: .05em; }
.dest-grid .dest-price strong { font-size: 22px; color: var(--tv-accent); }
.filter-bar { background: var(--bg-color, #fff); border-radius: 14px; box-shadow: 0 8px 30px rgba(0,0,0,.06); padding: 18px; margin-top: -40px; position: relative; z-index: 2; }
.filter-bar .form-control { height: 48px; border-radius: 8px; }

/* Detailseite */
.dest-facts { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 20px 0 10px; }
.dest-facts span { background: rgba(255,22,84,.08); color: var(--tv-accent); padding: 8px 16px; border-radius: 30px; font-weight: 600; font-size: 15px; }
.booking-box { border-radius: 14px; background: var(--tv-dark); color: #fff; padding: 28px; margin: 40px 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.booking-box h4 { color: #fff; margin: 0; font-size: 24px; }
.booking-box p { color: rgba(255,255,255,.75); margin: 4px 0 0; }
.booking-box .price { font-size: 32px; font-weight: 700; color: #ffd166; }
.related-title { font-size: 26px; font-weight: 700; margin: 50px 0 20px; }

/* Kommentare */
.comments-block { margin-top: 40px; }
.comments-block .comment-card { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(0,0,0,.07); }
.comments-block .comment-card img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.comments-block .comment-card h6 { font-weight: 700; margin: 0; font-size: 16px; }
.comments-block .comment-card .date { font-size: 13px; opacity: .6; }
.comments-block .comment-card p { margin: 6px 0 0; font-size: 16px; }
.comment-form textarea { width: 100%; border-radius: 10px; border: 1px solid #ddd; padding: 14px; min-height: 110px; background: var(--bg-color, #fff); color: inherit; }
.comment-login { background: rgba(0,0,0,.03); border-radius: 12px; padding: 20px; text-align: center; }

/* Guides */
.guide-card { text-align: center; }
.guide-card img { width: 100%; height: 320px; object-fit: cover; border-radius: 14px; }
.guide-card h4 { margin-top: 16px; font-weight: 700; }
.guide-card p { font-size: 15px; }

/* Vorteile */
.feature-box { padding: 28px; border-radius: 14px; background: var(--bg-color, #fff); box-shadow: 0 8px 30px rgba(0,0,0,.06); height: 100%; }
.feature-box .fa { font-size: 28px; color: var(--tv-accent); margin-bottom: 14px; }
.feature-box h4 { font-weight: 700; font-size: 20px; }

/* Kontakt */
.contact-card { border-radius: 14px; box-shadow: 0 8px 30px rgba(0,0,0,.06); padding: 30px; background: var(--bg-color, #fff); }
.contact-input, .signin-form textarea { width: 100%; }
.field-error { color: #dc3545; font-size: 14px; display: block; margin-top: 4px; }
.alert-site { border-radius: 10px; padding: 14px 18px; margin-bottom: 20px; }
.alert-site.success { background: #e8f8ee; color: #1d7a3c; }
.alert-site.error { background: #fdecee; color: #a4232f; }

/* Demo-Box unten rechts */
.demo-float { position: fixed; right: 20px; bottom: 90px; z-index: 1030; width: 230px; background: #fff; color: #222; border-radius: 14px;
  box-shadow: 0 14px 40px rgba(0,0,0,.2); padding: 18px 18px 16px; font-size: 14px; animation: demoIn .5s ease-out; }
.demo-float-title { font-weight: 700; font-size: 16px; margin-bottom: 4px; color: #111; }
.demo-float p { margin: 0 0 10px; font-size: 14px; line-height: 20px; color: #555; }
.demo-float .btn { padding: 8px 12px !important; font-size: 14px; }
.demo-float-close { position: absolute; top: 6px; right: 10px; background: none; border: 0; font-size: 22px; line-height: 1; color: #999; cursor: pointer; }
@keyframes demoIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@media (max-width: 575px) { .demo-float { left: 16px; right: 16px; width: auto; bottom: 16px; } }

.newsletter-msg { color: #ffd166 !important; font-weight: 600; }
.empty-hint { text-align: center; padding: 60px 0; opacity: .7; }
.text-pre { white-space: pre-line; }
.legal-box { max-width: 820px; margin: 0 auto; }
.legal-box h3 { margin-top: 30px; font-weight: 700; }
.error-page { text-align: center; padding: 180px 0 100px; }
.error-page h1 { font-size: 120px; font-weight: 800; color: var(--tv-accent); line-height: 1; }

/* Deutsche Groß-/Kleinschreibung beibehalten (Template setzte "capitalize") */
.btn-style, .btn-white, a.link-style, .hny-title, .navbar .navbar-brand, .navbar-expand-lg .navbar-nav .nav-link,
.stats_info h4, .best-rooms .maghny-grid figure figcaption, .w3l-about-breadcrumb .breadcrumbs-custom-path li,
.w3l-team .box16 .title a, .w3l-footer .footer-gd-16 li a, .subject-card-header h4 { text-transform: none !important; }
.best-rooms .maghny-grid figure figcaption h4 { font-size: 20px; }
.best-rooms .maghny-grid figure figcaption p { margin-top: 4px; font-weight: 700; color: #ffd166; }
.lead-text { font-size: 19px; line-height: 32px; }
.comments-title { font-size: 28px; font-weight: 700; }

/* ===== Benutzer-Menü im Header ===== */
.user-pill { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 40px;
  background: var(--bg-color, #fff); border: 1px solid rgba(0,0,0,.1); color: var(--heading-color, #1c1c1c);
  font-weight: 700; font-size: 15px; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.06); transition: box-shadow .2s, border-color .2s; }
.user-pill:hover, .user-menu.show .user-pill { border-color: var(--tv-accent); box-shadow: 0 4px 16px rgba(255,22,84,.18); }
.user-pill:focus { outline: none; }
.user-pill::after { display: none !important; }
.user-pill-img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid var(--tv-accent); }
.user-pill-name { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-pill-caret { font-size: 16px; opacity: .6; transition: transform .2s; }
.user-menu.show .user-pill-caret { transform: rotate(180deg); }

.user-menu-panel { width: 290px; padding: 0 !important; border: 0 !important; border-radius: 16px !important; overflow: hidden;
  box-shadow: 0 18px 50px rgba(13,27,42,.18) !important; margin-top: 12px !important; }
.user-menu-head { display: flex; align-items: center; gap: 14px; padding: 18px; background: linear-gradient(135deg, #0d1b2a, #274060); color: #fff; }
.user-menu-head img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,255,255,.85); }
.user-menu-info { display: flex; flex-direction: column; min-width: 0; }
.user-menu-info strong { font-size: 16px; color: #fff; }
.user-menu-info small { font-size: 13px; opacity: .75; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-menu-role { align-self: flex-start; margin-top: 6px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 20px; background: rgba(255,255,255,.18); }
.user-menu-role.admin { background: var(--tv-accent); }
.user-menu-body { padding: 8px; }
.user-menu-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 10px; border-radius: 10px; border: 0; background: none;
  color: #333 !important; font-size: 15px; font-weight: 600; text-align: left; text-decoration: none !important; cursor: pointer; transition: background .15s, transform .15s; }
.user-menu-item:hover { background: #f4f5f9; transform: translateX(2px); }
.user-menu-item .ico { width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.ico-purple { background: #efeafe; color: #7c4dff; } .ico-blue { background: #e7f1ff; color: #2f80ed; }
.ico-orange { background: #fff3e2; color: #f2994a; } .ico-green { background: #e5f8ee; color: #27ae60; }
.ico-red { background: #fdecee; color: #e0344b; }
.user-menu-foot { margin: 0; padding: 8px; border-top: 1px solid #f0f0f4; }
.user-menu-item.logout { color: #e0344b !important; }
.user-menu-item.logout:hover { background: #fdecee; }

/* ===== Anmelde-Button (nicht angemeldet) ===== */
.login-pill { display: inline-flex; align-items: center; gap: 10px; padding: 5px 18px 5px 5px; border-radius: 40px;
  border: 1.5px solid var(--tv-accent); color: var(--tv-accent) !important; background: transparent; font-weight: 700; font-size: 15px;
  text-decoration: none !important; transition: background .2s, color .2s, box-shadow .2s, transform .15s; white-space: nowrap; }
.login-pill-icon { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--tv-accent); color: #fff; font-size: 14px; transition: background .2s, color .2s; }
.login-pill:hover { background: var(--tv-accent); color: #fff !important; box-shadow: 0 6px 18px rgba(255,22,84,.3); transform: translateY(-1px); }
.login-pill:hover .login-pill-icon { background: #fff; color: var(--tv-accent); }
.nav-portfolio { color: var(--tv-accent) !important; font-weight: 700; }
.nav-portfolio .fa { font-size: 12px; margin-left: 3px; }
