/* ==========================================================================
   thf-custom.css - Zentrale Styles für THF Mediapics (V87 - Animation & Positioning Fixes)
   ========================================================================== */

/* --- 1. FARBVARIABLEN & HINTERGRUND --- */
:root {
    --bg-main: #121212;
    --bg-secondary: #27272a;
    --bg-page: #121212;
    --text-main: #ffffff;
    --text-sub: #a1a1aa;
    --accent-blue: #3b82f6;
    --fg: #f5f5f5;
    --muted: #a0a0a0;
    --panel: #141414;
    --heart-red: #ef4444; 
}
html[data-theme="light"] {
    --bg-main: #ffffff;
    --bg-secondary: #f4f4f5;
    --bg-page: #ffffff;
    --text-main: #18181b;
    --text-sub: #71717a;
    --fg: #1a1a1a;
    --muted: #555555;
    --panel: #f9f9f9;
}

html {
    scroll-padding-top: 100px;
    scroll-behavior: smooth; 
}

body, html {
    background-color: var(--bg-page);
    color: var(--text-main);
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

/* --- 2. TYPOGRAFIE --- */
body, html, p, li, span, div, input, textarea, select, .faq-answer, .section-subtitle {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .section-title, .stage-title, .card-title, .lb-title, .lb-name,
button, .btn, .btn-add, .btn-load, .btn-req, .load-more, .tag-pill, label, .faq-question {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.02em;
    font-weight: 600;
}
button { letter-spacing: 0.01em; }

/* --- 3. ALLGEMEINE BUTTONS --- */
.btn-back {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 8px 16px; background-color: var(--accent-blue); color: #ffffff;
    border: none; border-radius: 6px; font-weight: 700; font-size: 0.85rem;
    text-transform: uppercase; letter-spacing: 0.05em; cursor: pointer;
    transition: all 0.2s ease; text-decoration: none;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3); line-height: 1.2;
}
.btn-back:hover { background-color: #2563eb; transform: translateY(-1px); box-shadow: 0 6px 15px rgba(59, 130, 246, 0.4); }
.btn-back:active { transform: translateY(0); box-shadow: 0 2px 5px rgba(59, 130, 246, 0.3); }
.btn-back svg { width: 16px; height: 16px; stroke-width: 2.5; }

/* --- 4. HEADER (app-header) --- */
.app-header {
    position: fixed; top: 0; left: 0; width: 100%; height: 70px; z-index: 1000;
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex; align-items: center; justify-content: center;
}
.header-inner { transition: opacity 0.2s ease; width: 100%; height: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; max-width: 1200px; }
@media (min-width: 900px) {
    .nav-menu.nav-slider { display: flex; align-items: center; justify-content: center; transition: opacity 0.2s ease; }
    .nav-slider-track { position: relative; display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,0.04); box-shadow: 0 0 0 1px rgba(255,255,255,0.06); overflow: hidden; }
    .nav-slider .nav-link { position: relative; z-index: 1; padding: 6px 18px; border-radius: 999px; font-size: 0.9rem; font-weight: 500; color: var(--text-sub); text-decoration: none; white-space: nowrap; transition: color 0.18s ease; }
    .nav-slider .nav-link:hover, .nav-slider .nav-link:focus-visible, .nav-slider .nav-link.active { color: #ffffff; }
    .nav-slider-indicator { position: absolute; top: 4px; bottom: 4px; left: 4px; width: 0; border-radius: 999px; z-index: 0; background: linear-gradient(90deg, var(--accent-blue), #6366f1); box-shadow: 0 12px 24px rgba(0,0,0,0.35); transition: transform 0.22s ease, width 0.22s ease; }
}
@media (max-width: 899px) { .nav-menu.nav-slider { display: none; } }

#cartTrigger { transition: color 0.2s ease; }
#cartTrigger.cart-filled { color: var(--accent-blue); }

/* --- 5. SEARCH OVERLAY --- */
.header-search-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background-color: rgba(18,18,18,0.98); z-index: 20; opacity: 0; visibility: hidden; pointer-events: none; transition: all 0.2s ease; transform: translateY(-5px); }
.app-header.search-active .header-search-container { opacity: 1; visibility: visible; pointer-events: all; transform: translateY(0); }
.app-header.search-active .header-inner { opacity: 0; pointer-events: none; }
.inline-search-panel { width: 100%; max-width: 820px; padding: 0 20px; display: flex; flex-direction: column; gap: 10px; }
.inline-search-form { display: flex; align-items: center; width: 100%; height: 46px; background-color: #1f1f23; border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 10px; overflow: hidden; box-shadow: 0 6px 24px rgba(0,0,0,0.55); position: relative; }
.inline-search-form:focus-within { border-color: #3b82f6; box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3); }
.search-cat-select { flex: 0 0 auto; height: 100%; background-color: #27272a; color: #fff; border: none; border-right: 1px solid rgba(255, 255, 255, 0.1); font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.78rem; padding: 0 28px 0 14px; cursor: pointer; outline: none; appearance: none; -webkit-appearance: none; min-width: 150px; text-align: left; background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M6 9l6 6 6-6'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 10px center; }
.search-cat-select option { background-color: #18181b; color: white; }
.search-text-input { flex: 1; height: 100%; background: transparent; border: none; color: #fff; font-family: 'Open Sans', sans-serif; font-size: 1rem; padding: 0 14px; outline: none; }
.search-text-input::placeholder { color: #71717a; font-weight: 400; }
.search-icon-btn { width: 44px; height: 100%; background: transparent; border: none; color: #a1a1aa; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.search-icon-btn:hover { color: white; }
.search-icon-btn:focus-visible { outline: 2px solid rgba(59,130,246,0.6); outline-offset: -2px; }
.search-close-btn { border-left: 1px solid rgba(255,255,255,0.06); }
.search-close-btn:hover { color: #ef4444; background-color: rgba(239, 68, 68, 0.10); }
@media (max-width: 600px) { .search-cat-select { min-width: 44px; width: 44px; padding: 0; color: transparent; background-position: center; } .search-cat-select option { color: white; } }

/* --- 6. HERO BEREICH --- */
.hero-header { position: fixed; top: 100px; left: 0; right: 0; text-align: center; padding: 0 20px; max-width: 1200px; margin: 0 auto; z-index: 0; pointer-events: none; animation: fadeIn 1.2s ease-out; }
.hero-spacer { height: 220px; width: 100%; display: block; position: relative; z-index: 1; margin-bottom: -20px !important; }
.scroll-content { position: relative; z-index: 10; background-color: var(--bg-page); padding-bottom: 60px; box-shadow: 0 -20px 40px var(--bg-page); }
.hero-eyebrow { display: block; font-family: 'Montserrat', sans-serif; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.3em; color: var(--text-sub); margin-bottom: 15px; font-weight: 600; }
.hero-title-main { font-family: 'Montserrat', sans-serif; font-size: 3.5rem; font-weight: 800; text-transform: uppercase; line-height: 1.1; margin: 0; margin-top: -20px; color: var(--text-main); letter-spacing: -0.03em; }
[data-theme="light"] .hero-title-main { color: #222; }
.hero-highlight-text { color: var(--accent-blue); background: linear-gradient(135deg, var(--accent-blue), #a78bfa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* --- 7. TEASER --- */
.teaser-content-flex { display: flex; align-items: center; gap: 8px; color: var(--text-sub); }
.teaser-date { font-weight: 700; color: var(--text-main); }
[data-theme="light"] .teaser-date { color: #000; }
.teaser-sep { opacity: 0.5; }

/* --- 8. ALBUM DETAILS (Bühne/Stage) --- */
.stage-keywords-wrap { margin: 0 0 20px 0; padding: 14px 14px 12px; border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; background: rgba(255,255,255,0.03); }
.stage-section-label { margin-bottom: 10px; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-sub); }
.stage-keywords-tags { display: flex; flex-wrap: wrap; gap: 8px; max-height: 112px; overflow: hidden; transition: max-height 0.25s ease; }
.stage-keywords-tags.is-expanded { max-height: 1000px; }
.stage-keyword-pill { display: inline-flex; align-items: center; min-height: 30px; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); color: var(--text-main); font-size: 0.88rem; line-height: 1.25; white-space: normal; word-break: break-word; }
.stage-keywords-toggle { margin-top: 10px; padding: 0; border: 0; background: transparent; color: var(--accent-blue); font-size: 0.82rem; cursor: pointer; }
.stage-keywords-toggle:hover { text-decoration: underline; }

.album-title-row { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.album-title-row .section-title { margin:0; }
.album-share-btn { display:inline-flex; align-items:center; justify-content:center; width:42px; height:42px; border-radius:999px; border:1px solid rgba(255,255,255,.16); background:rgba(255,255,255,.06); color:var(--text-main); cursor:pointer; transition:transform .18s ease, background .18s ease, border-color .18s ease; }
.album-share-btn:hover { transform:translateY(-1px); background:rgba(255,255,255,.1); border-color:rgba(255,255,255,.28); }
.album-hint { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; margin:16px 0 18px; padding:14px 16px; border-radius:14px; border:1px solid rgba(99,102,241,.35); background:rgba(79,70,229,.12); color:#e5e7eb; font-size:.95rem; line-height:1.55; }
.album-hint-close { flex:0 0 auto; display:inline-flex; align-items:center; justify-content:center; width:28px; height:28px; border:none; border-radius:999px; background:transparent; color:#fff; cursor:pointer; font-size:1.1rem; }
.album-loading-state { display:flex; align-items:center; gap:10px; padding:18px 0; color:var(--text-sub); font-weight:600; }
.checkout-package-note { margin-top:12px; padding:10px 12px; border-radius:10px; border:1px solid rgba(59,130,246,.25); background:rgba(59,130,246,.08); color:var(--text-sub); font-size:.92rem; line-height:1.45; }

/* DIEBSTAHLSCHUTZ */
.stage-preview img, .card-img {
    -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -o-user-select: none; user-select: none; -webkit-touch-callout: none;
}

/* --- 9. CHECKOUT / WARENKORB / CONSENTS --- */
.co-consents { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.co-consent { display: flex; align-items: flex-start; gap: 12px; padding: 12px 16px; background: var(--bg-secondary); border: 1px solid rgba(255,255,255,0.05); border-radius: 8px; cursor: pointer; transition: all 0.2s ease; text-align: left; }
.co-consent:hover { border-color: var(--accent-blue); background: rgba(59, 130, 246, 0.05); }
.co-consent input[type="checkbox"] { margin-top: 4px; cursor: pointer; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--accent-blue); }
.co-consent span { font-size: 0.9rem; color: var(--text-sub); line-height: 1.5; }
.co-consent span a { color: var(--accent-blue); text-decoration: none; }
.co-consent span a:hover { text-decoration: underline; }
[data-theme="light"] .co-consent { border: 1px solid rgba(0,0,0,0.1); background-color: #fafafa; }
[data-theme="light"] .co-consent:hover { background-color: rgba(59, 130, 246, 0.05); border-color: var(--accent-blue); }

.search-loading-state { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 26px 22px; color: var(--text-main); font-size: 1rem; border: 1px solid rgba(59,130,246,0.28); border-radius: 14px; background: linear-gradient(180deg, rgba(59,130,246,0.10), rgba(255,255,255,0.03)); margin: 8px 0 4px; }
.search-loading-spinner { width: 26px; height: 26px; border: 3px solid rgba(255,255,255,0.18); border-top-color: #60a5fa; border-right-color: var(--accent-blue); border-radius: 50%; animation: thfSpin 0.7s linear infinite; flex: 0 0 26px; }
@keyframes thfSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }


/* --- Skeleton Loader --- */
.skeleton {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
    border-radius: 18px;
}
.skeleton::after {
    content: '';
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.10), transparent);
    animation: thfSkeleton 1.35s ease-in-out infinite;
}
.skeleton-card {
    aspect-ratio: 4 / 3;
    border-radius: 22px;
    margin-bottom: 14px;
}
.skeleton-text {
    height: 18px;
    border-radius: 999px;
    margin-bottom: 10px;
    width: 88%;
}
.skeleton-text-short {
    height: 14px;
    border-radius: 999px;
    width: 56%;
}
@keyframes thfSkeleton {
    100% { transform: translateX(100%); }
}
[data-theme="light"] .skeleton {
    background: linear-gradient(180deg, rgba(0,0,0,0.07), rgba(0,0,0,0.035));
}
[data-theme="light"] .skeleton::after {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), transparent);
}

/* --- 10. TERMINE GRID & WIZARD --- */
.term-grid { display: grid; gap: 15px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .term-grid { grid-template-columns: 1fr 1fr; } }
.term-card { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; background: rgba(255,255,255,0.02); transition: all 0.2s ease; }
.term-card:hover { border-color: rgba(255,255,255,0.15); background: rgba(255,255,255,0.04); }
[data-theme="light"] .term-card { border: 1px solid #e5e7eb; background: #fafafa; }
[data-theme="light"] .term-card:hover { border-color: #d1d5db; background: #f4f4f5; }
.term-card .info { display: flex; flex-direction: column; gap: 4px; text-align: left; }
.term-card .title { font-size: 1.05rem; color: var(--text-main); line-height: 1.3; }
[data-theme="light"] .term-card .title { color: #18181b; }
.term-card .date { font-size: 0.85rem; color: var(--text-sub); }
.term-card .btn-req { padding: 8px 18px; border-radius: 999px; font-size: 0.75rem; border: 1px solid var(--accent-blue); background: rgba(29, 78, 216, 0.2); color: #fff; cursor: pointer; transition: all 0.2s ease; flex-shrink: 0; margin-left: 15px; }
[data-theme="light"] .term-card .btn-req { color: var(--accent-blue); }
.term-card .btn-req:hover { background: var(--accent-blue); color: #fff; }
.term-card .btn-req.disabled { border: 1px solid rgba(255,255,255,0.12); background: transparent; color: var(--text-sub); cursor: not-allowed; }

.wizard-progress { display: flex; justify-content: space-between; margin-bottom: 25px; position: relative; padding: 0 20px; }
.wizard-progress::before { content: ''; position: absolute; top: 14px; left: 30px; right: 30px; height: 2px; background: var(--bg-secondary); z-index: 0; }
.step-indicator { width: 30px; height: 30px; background: var(--bg-page); border: 2px solid #3f3f46; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; color: var(--text-sub); position: relative; z-index: 1; transition: all 0.3s ease; }
.step-indicator.active { border-color: var(--accent-blue); color: var(--accent-blue); box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1); }
.step-indicator.completed { background: var(--accent-blue); border-color: var(--accent-blue); color: #fff; }
.wizard-step { display: none; animation: fadeIn 0.4s ease; }
.wizard-step.active { display: block; }
.step-title { font-size: 1.2rem; margin-bottom: 15px; text-align: center; color: var(--text-main); }
[data-theme="light"] .wizard-progress::before { background: #e5e7eb; }
[data-theme="light"] .step-indicator { background: #fff; border-color: #d1d5db; }

.customer-type-switch { display: flex; background: rgba(255,255,255,0.05); border-radius: 8px; padding: 4px; margin-bottom: 25px; border: 1px solid rgba(255,255,255,0.1); }
.customer-type-switch label { flex: 1; text-align: center; padding: 10px; cursor: pointer; border-radius: 6px; font-size: 0.9rem; color: var(--text-sub); transition: all 0.2s; }
.customer-type-switch input { display: none; }
.customer-type-switch input:checked + label { background: var(--accent-blue); color: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.2); }
[data-theme="light"] .customer-type-switch { background: #f3f4f6; border-color: #e5e7eb; }

.price-old { text-decoration: line-through; color: var(--text-sub); font-size: 0.8em; margin-right: 8px; font-weight: 500; }
.price-new { color: var(--accent-blue); font-weight: 700; font-size: 1.1rem; }
.pkg-grid { display: flex; flex-direction: column; gap: 12px; }
.req-type-card { display: flex; align-items: flex-start; padding: 16px; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; cursor: pointer; transition: all 0.2s ease; }
.req-type-card:hover { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.04); }
.req-type-card:has(input:checked) { border-color: var(--accent-blue); background: rgba(59, 130, 246, 0.08); }
.req-type-card input[type="radio"] { margin-right: 12px; margin-top: 4px; transform: scale(1.2); accent-color: var(--accent-blue); cursor: pointer; }
.req-type-main { flex: 1; display: flex; flex-direction: column; }
.req-type-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 6px; }
.req-type-name { font-size: 1.05rem; color: var(--text-main); }
.req-type-sub { font-size: 0.85rem; color: var(--text-sub); line-height: 1.4; }
[data-theme="light"] .req-type-card { background: #fafafa; border-color: #e5e7eb; }

.req-submit-inner { display:inline-flex; align-items:center; gap:10px; justify-content:center; }
.req-submit-spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: reqSpin .8s linear infinite; display: none; flex: 0 0 16px; }
.req-btn.primary.is-loading .req-submit-spinner { display:inline-block; }
.req-btn.primary.is-loading { cursor: wait; opacity: .95; }
.req-btn.primary.is-loading .req-submit-label { opacity: .98; }
@keyframes reqSpin { to { transform: rotate(360deg); } }

/* --- 11. FAQ SPECIFIC STYLES --- */
.faq-intro { max-width: 720px; margin-bottom: 24px; color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
.faq-accordion { border-radius: 16px; background: var(--panel); box-shadow: 0 18px 60px rgba(0,0,0,0.45); padding: 12px 8px; }
[data-theme="light"] .faq-accordion { box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.faq-item + .faq-item { border-top: 1px solid rgba(255,255,255,0.04); }
[data-theme="light"] .faq-item + .faq-item { border-top: 1px solid rgba(0,0,0,0.05); }
.faq-question { width: 100%; padding: 16px 18px; background: transparent; border: none; outline: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 1rem; text-align: left; color: var(--fg); transition: background 0.15s ease, color 0.15s ease; }
.faq-question:hover { background: rgba(255,255,255,0.03); }
[data-theme="light"] .faq-question:hover { background: rgba(0,0,0,0.03); }
.faq-question span.faq-label { flex: 1 1 auto; }
.faq-icon { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.16); display: inline-flex; align-items: center; justify-content: center; font-size: 0.9rem; transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease; }
.faq-item.is-open .faq-icon { transform: rotate(90deg); background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.3); }
.faq-answer { padding: 0 18px 16px 18px; font-size: 0.95rem; color: var(--muted); }
.faq-answer p { margin: 4px 0 10px; }
.faq-answer ul { margin: 4px 0 10px 18px; padding: 0; list-style: disc; }
.faq-answer a { color: var(--accent-blue); text-decoration: none; }
.faq-answer a:hover { text-decoration: underline; }
.section-subtitle { margin-top: 10px; padding: 14px 18px; border-radius: 16px; background: radial-gradient(circle at 0 0, rgba(255,255,255,0.04), transparent 55%), linear-gradient(135deg, rgba(255,255,255,0.06), rgba(0,0,0,0.1)); box-shadow: 0 18px 60px rgba(0,0,0,0.55); font-size: 0.95rem; color: var(--muted); max-width: 820px; margin-bottom: 40px; }
[data-theme="light"] .section-subtitle { background: #f9f9f9; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }

/* --- 12. GRID SYSTEM --- */
.grid { display: grid; gap: 20px; width: 100%; }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) and (max-width: 1023px) { .grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); } }
@media (max-width: 767px) { .grid { grid-template-columns: 1fr; } }
#featured-albums-termine { display: grid; gap: 20px; width: 100%; }
@media (min-width: 1024px) { #featured-albums-termine { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) and (max-width: 1023px) { #featured-albums-termine { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); } }
@media (max-width: 767px) { #featured-albums-termine { grid-template-columns: 1fr; } }

#view-impressum,
#view-datenschutz,
#view-agb,
#view-widerruf {
  padding-top: calc(70px + clamp(24px, 2.4vw, 42px));
  scroll-margin-top: calc(var(--header-h, 80px) + 24px);
}

#view-impressum .hero-section,
#view-datenschutz .hero-section,
#view-agb .hero-section,
#view-widerruf .hero-section {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

#view-impressum #teaser.teaser-bar,
#view-datenschutz #teaser.teaser-bar,
#view-agb #teaser.teaser-bar,
#view-widerruf #teaser.teaser-bar {
  margin-top: 0;
}

/* --- 13. SCROLL & HEADER FIX --- */
#view-album-photos,
#view-photo-detail {
    padding-top: 100px !important;
}

.album-sponsor-banner {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 18px;
    padding: 13px 15px;
    border: 1px solid rgba(90,150,255,.22);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(36,80,150,.16), rgba(255,255,255,.035));
}

.album-sponsor-kicker {
    display: inline-flex;
    align-items: center;
    width: max-content;
    min-height: 28px;
    padding: 0 11px;
    border-radius: 999px;
    background: rgba(59,130,246,.16);
    color: #b8d2ff;
    font: 900 .68rem/1 "Montserrat", sans-serif;
    letter-spacing: 0;
    text-transform: uppercase;
    white-space: nowrap;
}

.album-sponsor-copy,
.album-sponsor-inline-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.70);
}

.album-sponsor-item,
.album-sponsor-inline-item {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 34px;
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.07);
    color: #fff;
    font-weight: 800;
}

.album-sponsor-item a,
.album-sponsor-inline-item a {
    color: inherit;
    text-decoration: none;
}

.album-sponsor-inline-logo {
    width: clamp(190px, 14vw, 240px);
    height: clamp(58px, 4.6vw, 74px);
    display: inline-grid;
    place-items: center;
    overflow: hidden;
    border-radius: 0;
    background: transparent;
    border: 0;
}

.album-sponsor-inline-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter:
        brightness(1.28)
        contrast(1.08)
        drop-shadow(0 1px 1px rgba(0,0,0,.72))
        drop-shadow(0 0 1px rgba(255,255,255,.95))
        drop-shadow(0 0 14px rgba(255,255,255,.32));
}

.album-sponsor-inline-logo.is-empty {
    width: auto;
    min-width: 62px;
    padding: 0 8px;
    background: rgba(255,255,255,.10);
    color: rgba(255,255,255,.66);
    font: 850 .62rem/1 "Montserrat", sans-serif;
    text-transform: uppercase;
}

.album-sponsor-inline-card {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(22px, 4vw, 56px);
    margin: 4px 0;
    min-height: 88px;
    padding: 14px 22px;
    border: 1px solid rgba(90,150,255,.16);
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(59,130,246,.08), rgba(255,255,255,.025)),
        rgba(18,18,20,.72);
}

.album-sponsor-inline-card.has-single-sponsor {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
    justify-content: initial;
}

.album-sponsor-inline-side {
    display: inline-grid;
    align-items: center;
}

.album-sponsor-inline-side-left {
    justify-self: end;
}

.album-sponsor-inline-card h2 {
    margin: 8px 0 0;
    font: 850 clamp(1.05rem, 1.8vw, 1.35rem)/1.18 "Montserrat", sans-serif;
    letter-spacing: 0;
}

.album-sponsor-inline-card .album-sponsor-inline-list {
    justify-content: flex-start;
    flex: 0 0 auto;
    justify-self: start;
}

.album-sponsor-inline-card.has-single-sponsor .album-sponsor-inline-copy {
    text-align: center;
}

.album-sponsor-inline-logo-link {
    display: inline-grid;
    place-items: center;
    color: inherit;
    text-decoration: none;
}

.album-sponsor-inline-card .album-sponsor-inline-item {
    min-height: 78px;
    padding: 7px 10px 7px 18px;
    gap: 16px;
    background: rgba(255,255,255,.08);
}

.album-sponsor-inline-name {
    font: 850 .95rem/1.2 "Montserrat", sans-serif;
}

.photo-sponsor-logo-label {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    width: 82px;
    height: 38px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    pointer-events: none;
}

.photo-sponsor-logo-label img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter:
        brightness(1.22)
        contrast(1.06)
        drop-shadow(0 1px 1px rgba(0,0,0,.72))
        drop-shadow(0 0 1px rgba(255,255,255,.90))
        drop-shadow(0 0 11px rgba(255,255,255,.30));
}

@media (max-width: 980px) {
    .album-sponsor-inline-card.has-single-sponsor {
        display: flex;
    }

    .album-sponsor-inline-side-left {
        display: none;
    }
}

@media (max-width: 760px) {
    .album-sponsor-banner,
    .album-sponsor-inline-card {
        align-items: center;
        flex-direction: column;
        text-align: center;
    }

    .album-sponsor-inline-card .album-sponsor-inline-list {
        width: 100%;
        justify-content: center;
    }

    .photo-sponsor-logo-label {
        width: 66px;
        height: 32px;
        top: 10px;
        left: 10px;
    }

    .album-sponsor-inline-logo {
        width: min(180px, 58vw);
        height: 58px;
    }
}

/* --- 14. FLOATING ACTION BUTTONS --- */
.fab-cart, .fab-search, .fab-top {
    position: fixed; 
    width: 56px; height: 56px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 1100;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, opacity 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.fab-cart { bottom: 30px; right: 30px; background-color: var(--bg-secondary); color: var(--text-main); border: 1px solid rgba(255,255,255,0.1); }
.fab-search { bottom: 30px; left: 30px; background-color: var(--bg-secondary); color: var(--text-main); border: 1px solid rgba(255,255,255,0.1); }
.fab-top { bottom: 100px; left: 30px; background-color: var(--bg-secondary); opacity: 0; pointer-events: none; transform: translateY(20px); }
.fab-top.visible { opacity: 1; pointer-events: all; transform: translateY(0); }

[data-theme="light"] .fab-cart, [data-theme="light"] .fab-search, [data-theme="light"] .fab-top { background-color: #fff; border-color: rgba(0,0,0,0.1); color: #000; }
.fab-cart.cart-filled { background-color: var(--accent-blue) !important; color: #fff !important; border: none !important; }
.fab-cart:active, .fab-search:active, .fab-top:active { transform: scale(0.92); }

/* --- 15. EINHEITLICHE WARENKORB-BADGES --- */
.thf-cart-badge, .thf-fav-badge {
    position: absolute;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(0,0,0,0.24);
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
    pointer-events: none;
}
.thf-cart-badge {
    top: -6px;
    right: -6px;
    left: auto;
    background: #ef4444;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    width: 22px;
    height: 22px;
    border: none;
    z-index: 4;
}
#cartBadgeMobile { top: -4px; right: -4px; left: auto; }

.thf-fav-badge {
    top: -6px;
    right: -6px;
    left: auto;
    background: #ef4444;
    color: #fff;
    width: 22px;
    height: 22px;
    border: none;
    z-index: 5;
    filter: none;
}
.thf-fav-badge svg {
    width: 12px;
    height: 12px;
    display: block;
    fill: currentColor;
    flex: 0 0 12px;
    transform: translateY(0.25px);
}
#favBadgeMobile {
    top: -4px;
    right: -4px;
    left: auto;
    width: 22px;
    height: 22px;
}

.fab-cart.has-fav-and-cart .thf-fav-badge,
#cartTrigger.has-fav-and-cart .thf-fav-badge {
    right: -6px;
    left: auto;
}
.fab-cart.has-fav-and-cart .thf-cart-badge,
#cartTrigger.has-fav-and-cart .thf-cart-badge {
    left: -6px;
    right: auto;
}
#cartTriggerMobile.has-fav-and-cart .thf-fav-badge {
    right: -4px;
    left: auto;
}
#cartTriggerMobile.has-fav-and-cart .thf-cart-badge {
    left: -4px;
    right: auto;
}

/* --- 16. GALERIE NAVIGATION & FAVORITEN (HERZ) --- */
.stage-nav-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(18, 18, 18, 0.6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    color: white; border: 1px solid rgba(255,255,255,0.1);
    width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; cursor: pointer; z-index: 50; transition: all 0.2s ease; opacity: 0; 
}
.stage-preview:hover .stage-nav-btn { opacity: 1; }
.stage-nav-btn:hover { background: var(--accent-blue); transform: translateY(-50%) scale(1.1); border-color: rgba(255,255,255,0.3); }
.stage-nav-btn.prev { left: 15px; }
.stage-nav-btn.next { right: 15px; }

/* FIX: Favoriten (Herz) Button auf der Karte - Premium links unten im Bild */
.btn-fav {
    position: absolute;
    left: 14px;
    bottom: 14px;
    right: auto;
    top: auto;
    background: linear-gradient(180deg, rgba(14,14,18,0.82), rgba(8,8,10,0.72));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    z-index: 12;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
    box-shadow: 0 14px 32px rgba(0,0,0,0.26);
}
.btn-fav:hover {
    transform: translateY(-1px) scale(1.06);
    box-shadow: 0 18px 34px rgba(0,0,0,0.34);
}
.btn-fav.active {
    color: #ff5b6d;
    border-color: rgba(255,91,109,0.5);
    background: linear-gradient(180deg, rgba(34,16,20,0.92), rgba(22,10,12,0.86));
}
.btn-fav.active svg { fill: currentColor; }

/* --- Lightbox Tabs --- */
.lb-tabs { display: flex; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 15px; }
.lb-tab { flex: 1; text-align: center; padding: 12px 0; color: var(--text-sub); cursor: pointer; font-weight: 600; border-bottom: 2px solid transparent; transition: all 0.2s ease; }
.lb-tab.active { color: var(--accent-blue); border-bottom-color: var(--accent-blue); }

/* --- 17. MOBILE ANPASSUNGEN (Global) --- */
.show-mobile { display: none; }
@media (max-width: 768px) {
    .show-mobile { display: block !important; }
    .hide-mobile { display: none !important; }
    
    .stage-nav-btn { display: none; }
    
    .btn-back { display: inline-flex !important; background: rgba(255,255,255,0.05); color: var(--text-sub); padding: 6px 12px; font-size: 0.75rem; box-shadow: none; margin-bottom: -5px; border: 1px solid rgba(255,255,255,0.1); }
    html[data-theme="light"] .btn-back { background: rgba(0,0,0,0.05); color: var(--text-sub); border: 1px solid rgba(0,0,0,0.1); }
    .btn-back svg { width: 14px; height: 14px; }

    .section-header.album-header { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 20px; }
    html[data-theme="light"] .section-header.album-header { border-bottom-color: rgba(0,0,0,0.1); }

    .album-title-row { display: flex; flex-direction: row; justify-content: space-between; align-items: flex-start; width: 100%; gap: 15px; }
    .section-header.album-header .section-title { width: auto; flex: 1; line-height: 1.25; white-space: normal; word-break: break-word; font-size: 1.45rem; }

    .album-share-btn { flex: 0 0 42px; background: rgba(59, 130, 246, 0.15); color: var(--accent-blue); border: 1px solid rgba(59, 130, 246, 0.3); margin-top: 2px; }
    
    .hero-header { top: 100px; padding: 0 15px; }
    .hero-spacer { height: 80px; margin-bottom: 0px !important; }
    .hero-title-main { font-size: 2.2rem; }
    .hero-eyebrow { letter-spacing: 0.2em; font-size: 0.7rem; }
    
    .teaser-content-flex { flex-direction: column; align-items: flex-start; gap: 2px; }
    .teaser-sep { display: none; }
    .teaser-date { font-size: 1.05rem; margin-bottom: 2px; }
    .teaser-desc { font-size: 0.95rem; line-height: 1.4; }

    .term-card { flex-direction: column !important; align-items: flex-start !important; text-align: left !important; padding: 16px !important; }
    .term-card .info { text-align: left !important; width: 100%; }
    .term-card .title, .term-card .date { text-align: left !important; display: block; }
    .term-card .btn-req { width: 100% !important; margin-left: 0 !important; margin-top: 15px !important; }
    
    body.modal-open { overflow: auto !important; }
    body.modal-open .scroll-content > .content-wrapper:not(:first-child) { display: none !important; }
    body.modal-open #featured-albums-termine { display: none !important; }
    .req-modal-backdrop.show { display: none !important; }
    .req-modal.show { position: relative !important; top: 0 !important; left: 0 !important; transform: none !important; width: 100% !important; max-width: 100% !important; height: auto !important; max-height: none !important; margin: 0 !important; border-radius: 0 !important; border: none !important; background: transparent !important; box-shadow: none !important; padding: 20px 15px 60px 15px !important; overflow: visible !important; z-index: 10; }
    .req-head { padding-top: 0 !important; }

    .faq-accordion { padding: 8px 4px; border-radius: 14px; }
    .faq-question { padding: 14px 14px; }
    .faq-answer { padding: 0 14px 14px 14px; }
    
    .fab-cart, .fab-search { bottom: 20px; }
    .fab-search { left: 20px; }
    .fab-cart { right: 20px; }
    .fab-top { bottom: 90px; left: 20px; }
}

/* --- 18. TEAM ALERT --- */
.team-alert-box {
    margin-top: 40px; padding: 20px; border-radius: 12px;
    background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.08);
    display: flex; flex-direction: column; gap: 15px; transition: all 0.2s ease;
}
.team-alert-box:hover { border-color: rgba(255,255,255,0.15); background: rgba(255,255,255,0.04); }
[data-theme="light"] .team-alert-box { background: #fafafa; border-color: #e5e7eb; }
[data-theme="light"] .team-alert-box:hover { background: #f4f4f5; border-color: #d1d5db; }
.team-alert-header { text-align: left; }
.team-alert-title { font-size: 1.05rem; color: var(--text-main); font-family: 'Montserrat', sans-serif; font-weight: 600; margin-bottom: 4px; line-height: 1.3; }
[data-theme="light"] .team-alert-title { color: #18181b; }
.team-alert-text { font-size: 0.85rem; color: var(--text-sub); line-height: 1.5; }
.team-alert-form { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.team-alert-input { background: rgba(0,0,0,0.3) !important; border: 1px solid rgba(255,255,255,0.1) !important; color: #fff !important; padding: 10px 14px; border-radius: 8px; outline: none; font-family: 'Open Sans', sans-serif; font-size: 0.9rem; }
.team-alert-input::placeholder { color: #71717a !important; }
[data-theme="light"] .team-alert-input { background: #fff !important; border-color: #d1d5db !important; color: #18181b !important; }
.team-alert-input:focus { border-color: var(--accent-blue) !important; box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2); }

@media (min-width: 769px) {
    .team-alert-box { flex-direction: row; align-items: center; justify-content: space-between; padding: 20px 24px; }
    .team-alert-header { flex: 1; padding-right: 20px; }
    .team-alert-form { flex: 0 0 auto; flex-direction: row; align-items: center; width: auto; }
    .team-alert-input { width: 200px; }
    .team-alert-form .btn-req { margin-left: 5px; margin-top: 0 !important; padding: 9px 18px; }
}

/* --- 19. ANIMATIONS --- */
@keyframes cartShake { 0% { transform: rotate(0deg) scale(1); } 25% { transform: rotate(-10deg) scale(1.1); } 50% { transform: rotate(10deg) scale(1.1); } 75% { transform: rotate(-10deg) scale(1.1); } 100% { transform: rotate(0deg) scale(1); } }
.cart-shake { animation: cartShake 0.4s ease-in-out; }

/* FIX: Sparpaket Progress Bar Animation */
.cart-progress-wrap { background: rgba(255,255,255,0.05); border-radius: 8px; padding: 12px 15px; margin-bottom: 20px; border: 1px solid rgba(59,130,246,0.2); }
[data-theme="light"] .cart-progress-wrap { background: rgba(59,130,246,0.05); }
.cart-progress-text { font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; display: flex; justify-content: space-between; }
.cart-progress-bar-bg { width: 100%; height: 6px; background: rgba(255,255,255,0.1); border-radius: 999px; overflow: hidden; }
[data-theme="light"] .cart-progress-bar-bg { background: rgba(0,0,0,0.1); }
.cart-progress-bar-fill { height: 100%; background: var(--accent-blue); border-radius: 999px; transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.cart-progress-success { color: #10b981; font-weight: 700; display: flex; align-items: center; gap: 6px; }
/* --- DETAILANSICHT: PREMIUM SIDEBAR, 4 KEYWORDS MIT TOGGLE, ACTIONS UNTEREINANDER --- */
#view-photo-detail .content-wrapper {
    max-width: 1440px;
}

#view-photo-detail .stage-area {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: start;
}

#view-photo-detail .stage-preview,
#view-photo-detail .stage-sidebar,
#view-photo-detail .meta-box {
    align-self: start;
}

#view-photo-detail .stage-sidebar {
    display: flex;
    align-items: flex-start;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    min-height: 0;
}

#view-photo-detail .meta-box {
    width: 100%;
    margin: 0;
    padding: 18px 18px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient(180deg, rgba(16,16,18,0.98), rgba(18,18,20,0.94));
    box-shadow: 0 18px 42px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.03);
}

#view-photo-detail .stage-title {
    font-size: 1.05rem;
    line-height: 1.35;
    padding-right: 10px;
}

#view-photo-detail #stageCaption {
    margin: 10px 0 18px 0 !important;
    font-size: 0.96rem !important;
    line-height: 1.62 !important;
}

#view-photo-detail .stage-keywords-wrap {
    margin: 0 0 18px 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

#view-photo-detail .stage-section-label {
    margin-bottom: 10px;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.55);
}

#view-photo-detail .stage-keywords-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-height: none;
    overflow: visible;
}

#view-photo-detail .stage-keyword-pill {
    max-width: 100%;
    padding: 9px 15px;
    min-height: 0;
    font-size: 0.9rem;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    color: rgba(255,255,255,0.94);
    background: linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.045));
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 10px 24px rgba(0,0,0,0.12);
}

#view-photo-detail .stage-keyword-pill.is-hidden {
    display: none;
}

#view-photo-detail .stage-keywords-toggle {
    margin-top: 14px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #7db0ff;
    letter-spacing: 0.01em;
}
#view-photo-detail .stage-keywords-toggle:hover {
    color: #9cc4ff;
}

#view-photo-detail .meta-info-block {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

#view-photo-detail .info-row {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 9px 0;
}

#view-photo-detail .info-row span:first-child {
    color: var(--text-sub);
}

#view-photo-detail .info-val {
    text-align: left;
    justify-self: start;
    word-break: break-word;
}

#view-photo-detail .stage-action-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

#view-photo-detail .btn-stage-secondary,
#view-photo-detail .btn-add-big {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    border-radius: 14px;
    font-weight: 700;
}

#view-photo-detail .btn-stage-secondary {
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.025);
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.2s ease;
}

#view-photo-detail .btn-stage-secondary:hover {
    background: rgba(255,255,255,0.055);
    border-color: rgba(255,255,255,0.18);
}

#view-photo-detail .btn-stage-secondary.active {
    color: var(--heart-red);
    border-color: rgba(239,68,68,0.42);
    background: rgba(239,68,68,0.075);
}

#view-photo-detail .btn-stage-secondary.active svg {
    fill: currentColor;
}

@media (max-width: 1100px) {
    #view-photo-detail .stage-area {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 18px;
    }
}

@media (max-width: 768px) {
    #view-photo-detail .stage-area {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    #view-photo-detail .stage-sidebar {
        margin-top: 0;
    }

    #view-photo-detail .meta-box {
        padding: 16px;
        border-radius: 16px;
        box-shadow: 0 14px 34px rgba(0,0,0,0.12);
    }

    #view-photo-detail .stage-title {
        font-size: 0.98rem;
        line-height: 1.32;
    }

    #view-photo-detail #stageCaption {
        margin: 10px 0 14px 0 !important;
        font-size: 0.92rem !important;
    }

    #view-photo-detail .stage-keywords-tags {
        gap: 8px;
    }

    #view-photo-detail .stage-keyword-pill {
        width: auto;
        max-width: 100%;
        font-size: 0.88rem;
        padding: 7px 12px;
    }

    #view-photo-detail .meta-info-block {
        margin-top: 16px;
        padding-top: 16px;
    }

    #view-photo-detail .info-row {
        grid-template-columns: 78px minmax(0, 1fr);
        gap: 12px;
        padding: 7px 0;
        font-size: 0.92rem;
    }

    #view-photo-detail .stage-action-stack {
        margin-top: 16px;
        gap: 10px;
    }

    #view-photo-detail .btn-stage-secondary,
    #view-photo-detail .btn-add-big {
        min-height: 48px;
        border-radius: 12px;
        font-size: 0.92rem;
    }
}

/* ========================================================================== 
   THF HEADER PREMIUM DESKTOP - Vorschlag 2026-04-28
   Nur Desktop/Tablet quer ab 900px. Mobile bleibt unverändert.
   ========================================================================== */
@media (min-width: 900px) {
    .app-header {
        height: 82px;
        background:
            linear-gradient(180deg, rgba(18,18,18,0.96), rgba(10,10,12,0.92));
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        border-bottom: 1px solid rgba(255,255,255,0.075);
        box-shadow: 0 18px 55px rgba(0,0,0,0.18);
    }

    .header-inner {
        max-width: 1480px;
        padding: 0 clamp(28px, 4vw, 58px);
        gap: clamp(24px, 3vw, 52px);
    }

    .logo {
        display: inline-flex;
        align-items: center;
        flex: 0 0 auto;
        min-width: 245px;
        text-decoration: none;
    }

    .logo img {
        height: 56px;
        width: auto;
        object-fit: contain;
        filter: drop-shadow(0 10px 22px rgba(0,0,0,0.28));
    }

    .nav-menu.nav-slider {
        flex: 1 1 auto;
        justify-content: center;
        min-width: 0;
    }

    .nav-slider-track {
        gap: clamp(18px, 2.2vw, 34px);
        padding: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        overflow: visible;
    }

    .nav-slider .nav-link {
        position: relative;
        padding: 29px 0 27px;
        border-radius: 0;
        font-family: 'Montserrat', sans-serif;
        font-size: 0.82rem;
        font-weight: 700;
        letter-spacing: 0.075em;
        text-transform: uppercase;
        color: rgba(255,255,255,0.58);
        text-decoration: none;
        transition: color 0.18s ease, transform 0.18s ease;
    }

    .nav-slider .nav-link::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: 20px;
        height: 2px;
        border-radius: 999px;
        background: linear-gradient(90deg, var(--accent-blue), #8b5cf6);
        opacity: 0;
        transform: scaleX(0.35);
        transform-origin: center;
        transition: opacity 0.18s ease, transform 0.18s ease;
    }

    .nav-slider .nav-link:hover,
    .nav-slider .nav-link:focus-visible,
    .nav-slider .nav-link.active {
        color: #ffffff;
    }

    .nav-slider .nav-link:hover::after,
    .nav-slider .nav-link:focus-visible::after,
    .nav-slider .nav-link.active::after {
        opacity: 1;
        transform: scaleX(1);
    }

    .nav-slider-indicator {
        display: none !important;
    }

    .header-actions {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        justify-content: flex-end;
        gap: 10px;
        min-width: 245px;
    }

    .icon-btn {
        width: 42px;
        height: 42px;
        border-radius: 999px;
        background: rgba(255,255,255,0.045);
        border: 1px solid rgba(255,255,255,0.075);
        color: rgba(255,255,255,0.66);
        box-shadow: none;
        transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
    }

    .icon-btn:hover,
    .icon-btn:focus-visible {
        transform: translateY(-1px);
        background: rgba(255,255,255,0.09);
        border-color: rgba(255,255,255,0.16);
        color: #ffffff;
    }

    #cartTrigger.cart-filled {
        color: #ffffff;
        border-color: rgba(59,130,246,0.45);
        background: rgba(59,130,246,0.15);
    }

    .header-search-container {
        height: 82px;
        background: rgba(10,10,12,0.98);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }

    .inline-search-form {
        height: 50px;
        border-radius: 999px;
        background-color: rgba(255,255,255,0.07);
        border-color: rgba(255,255,255,0.13);
    }

    .search-cat-select {
        border-radius: 999px 0 0 999px;
        background-color: rgba(255,255,255,0.055);
    }
}

@media (min-width: 900px) and (max-width: 1120px) {
    .header-inner {
        padding-left: 24px;
        padding-right: 24px;
        gap: 18px;
    }

    .logo,
    .header-actions {
        min-width: 200px;
    }

    .logo img {
        height: 50px;
    }

    .nav-slider-track {
        gap: 18px;
    }

    .nav-slider .nav-link {
        font-size: 0.76rem;
        letter-spacing: 0.055em;
    }
}

/* --- TEASER: Desktop Termin + Aktionsblock --- */
@media (min-width: 900px) {
    #teaser.teaser-bar {
        display: grid;
        grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.65fr);
        align-items: stretch;
        gap: 0;
        padding: 0;
        overflow: hidden;
        min-height: 86px;
        background:
            radial-gradient(circle at left center, rgba(59,130,246,0.16), transparent 38%),
            linear-gradient(90deg, rgba(17,24,39,0.72), rgba(12,12,14,0.96));
        border-left: 3px solid var(--accent-blue, #3b82f6);
    }

    #teaser .teaser-event-block {
        min-width: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 9px;
        padding: 18px 24px;
    }

    #teaser .teaser-action-block {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        padding: 18px 22px 18px 26px;
        background: rgba(255,255,255,0.035);
        border-left: 1px solid rgba(255,255,255,0.09);
    }

    #teaser .teaser-action-copy {
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 3px;
    }

    #teaser .teaser-action-kicker {
        font-family: 'Montserrat', sans-serif;
        font-size: 0.68rem;
        font-weight: 750;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: rgba(255,255,255,0.46);
        white-space: nowrap;
    }

    #teaser .teaser-action-title {
        font-family: 'Montserrat', sans-serif;
        font-size: 0.96rem;
        font-weight: 650;
        line-height: 1.25;
        color: rgba(255,255,255,0.88);
        white-space: nowrap;
    }

    #teaser .teaser-action-buttons {
        display: flex;
        align-items: center;
        gap: 10px;
        flex: 0 0 auto;
    }

    #teaser .teaser-action-btn {
        min-height: 38px;
        padding: 0 16px;
        border-radius: 999px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-family: 'Montserrat', sans-serif;
        font-size: 0.72rem;
        font-weight: 750;
        letter-spacing: 0.055em;
        text-transform: uppercase;
        line-height: 1;
        text-decoration: none;
        border: 1px solid rgba(255,255,255,0.13);
        color: rgba(255,255,255,0.82);
        background: rgba(255,255,255,0.04);
        white-space: nowrap;
    }

    #teaser .teaser-action-btn.primary {
        color: #ffffff;
        border-color: rgba(59,130,246,0.56);
        background: linear-gradient(135deg, var(--accent-blue, #3b82f6), #6366f1);
        box-shadow: 0 10px 24px rgba(59,130,246,0.18);
    }

    #teaser .teaser-action-btn:hover,
    #teaser .teaser-action-btn:focus-visible {
        color: #ffffff;
        border-color: rgba(255,255,255,0.28);
        transform: translateY(-1px);
        outline: none;
    }
}

/* Mobile: Aktionsblock nicht im Teaser anzeigen, sondern im Seitenmenü */
@media (max-width: 899px) {
    #teaser .teaser-action-block { display: none !important; }
}

/* ==========================================================
   FIX 28.04.2026: Teaser-Aktionsblock Desktop sauber begrenzen
   Ursache: Block lief rechts aus dem Teaser, wenn alte Regeln griffen.
   ========================================================== */
@media (min-width: 900px) {
  #teaser.teaser-bar {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    align-items: stretch !important;
    justify-content: space-between !important;
    gap: 0 !important;
    padding: 0 !important;
    min-height: 96px !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-left: 4px solid var(--accent-blue, #3b82f6) !important;
    background:
      radial-gradient(circle at left center, rgba(59,130,246,0.16), transparent 38%),
      linear-gradient(90deg, rgba(17,24,39,0.78), rgba(12,12,14,0.98)) !important;
  }

  #teaser .teaser-event-block {
    box-sizing: border-box !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 430px) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    gap: 9px !important;
    padding: 18px 24px !important;
  }

  #teaser .teaser-top {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
  }

  #teaser .teaser-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: rgba(255,255,255,0.62) !important;
  }

  #teaser .teaser-content-flex {
    min-width: 0 !important;
    max-width: 100% !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    color: var(--text-sub, #a1a1aa) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
  }

  #teaser .teaser-date {
    flex: 0 0 auto !important;
    color: var(--text-main, #fff) !important;
    font-weight: 800 !important;
  }

  #teaser .teaser-desc {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  #teaser .teaser-action-block {
    box-sizing: border-box !important;
    flex: 0 0 430px !important;
    width: 430px !important;
    max-width: 430px !important;
    min-width: 0 !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    padding: 18px 22px 18px 26px !important;
    background: rgba(255,255,255,0.035) !important;
    border-left: 1px solid rgba(255,255,255,0.10) !important;
    transform: none !important;
    float: none !important;
    right: auto !important;
    left: auto !important;
    top: auto !important;
    bottom: auto !important;
  }

  #teaser .teaser-action-copy {
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
  }

  #teaser .teaser-action-kicker,
  #teaser .teaser-action-title {
    display: block !important;
    font-family: 'Montserrat', sans-serif !important;
    text-decoration: none !important;
  }

  #teaser .teaser-action-kicker {
    font-size: 0.68rem !important;
    font-weight: 750 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    color: rgba(255,255,255,0.46) !important;
    white-space: nowrap !important;
  }

  #teaser .teaser-action-title {
    font-size: 0.94rem !important;
    font-weight: 650 !important;
    line-height: 1.25 !important;
    color: rgba(255,255,255,0.88) !important;
    white-space: nowrap !important;
  }

  #teaser .teaser-action-buttons {
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
  }

  #teaser .teaser-action-btn,
  #teaser .teaser-action-btn:visited {
    box-sizing: border-box !important;
    min-height: 38px !important;
    padding: 0 14px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.045em !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
    text-decoration: none !important;
    border: 1px solid rgba(255,255,255,0.14) !important;
    color: rgba(255,255,255,0.82) !important;
    background: rgba(255,255,255,0.045) !important;
    white-space: nowrap !important;
  }

  #teaser .teaser-action-btn.primary,
  #teaser .teaser-action-btn.primary:visited {
    color: #ffffff !important;
    border-color: rgba(59,130,246,0.62) !important;
    background: linear-gradient(135deg, var(--accent-blue, #3b82f6), #6366f1) !important;
    box-shadow: 0 10px 24px rgba(59,130,246,0.18) !important;
  }
}

@media (min-width: 900px) and (max-width: 1280px) {
  #teaser .teaser-event-block {
    max-width: calc(100% - 370px) !important;
  }
  #teaser .teaser-action-block {
    flex-basis: 370px !important;
    width: 370px !important;
    max-width: 370px !important;
    gap: 12px !important;
    padding-left: 20px !important;
    padding-right: 18px !important;
  }
  #teaser .teaser-action-title { font-size: 0.86rem !important; }
  #teaser .teaser-action-buttons { gap: 7px !important; }
  #teaser .teaser-action-btn { padding: 0 11px !important; font-size: 0.62rem !important; }
}

@media (max-width: 899px) {
  #teaser .teaser-action-block { display: none !important; }
}

/* ==========================================================
   FIX 28.04.2026: Teaser Desktop breiterer Aktionsbereich
   Ziel: Rechts mehr Raum fuer die Buchungsanfrage
   ========================================================== */
@media (min-width: 900px) {
  #teaser.teaser-bar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(520px, 42%) !important;
    align-items: stretch !important;
    min-height: 108px !important;
    overflow: hidden !important;
  }

  #teaser .teaser-event-block {
    max-width: none !important;
    width: auto !important;
    flex: initial !important;
    min-width: 0 !important;
    padding: 22px 28px !important;
  }

  #teaser .teaser-action-block {
    width: auto !important;
    max-width: none !important;
    flex: initial !important;
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(190px, 1fr) auto !important;
    align-items: center !important;
    gap: 24px !important;
    padding: 22px 28px !important;
    background:
      radial-gradient(circle at right center, rgba(59,130,246,0.13), transparent 44%),
      rgba(255,255,255,0.035) !important;
    border-left: 1px solid rgba(255,255,255,0.12) !important;
  }

  #teaser .teaser-action-copy {
    min-width: 0 !important;
    overflow: hidden !important;
  }

  #teaser .teaser-action-kicker {
    font-size: 0.70rem !important;
    letter-spacing: 0.16em !important;
  }

  #teaser .teaser-action-title {
    font-size: 1.02rem !important;
    line-height: 1.22 !important;
    white-space: normal !important;
    max-width: 240px !important;
  }

  #teaser .teaser-action-buttons {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    min-width: 0 !important;
    flex-wrap: nowrap !important;
  }

  #teaser .teaser-action-btn,
  #teaser .teaser-action-btn:visited {
    min-height: 40px !important;
    padding: 0 18px !important;
    font-size: 0.70rem !important;
    letter-spacing: 0.05em !important;
  }
}

@media (min-width: 900px) and (max-width: 1240px) {
  #teaser.teaser-bar {
    grid-template-columns: minmax(0, 1fr) minmax(470px, 44%) !important;
  }

  #teaser .teaser-event-block {
    padding: 20px 22px !important;
  }

  #teaser .teaser-action-block {
    grid-template-columns: minmax(160px, 1fr) auto !important;
    gap: 16px !important;
    padding: 20px 20px !important;
  }

  #teaser .teaser-action-title {
    max-width: 190px !important;
    font-size: 0.92rem !important;
  }

  #teaser .teaser-action-buttons {
    gap: 8px !important;
  }

  #teaser .teaser-action-btn,
  #teaser .teaser-action-btn:visited {
    min-height: 38px !important;
    padding: 0 13px !important;
    font-size: 0.64rem !important;
  }
}

@media (min-width: 900px) and (max-width: 1060px) {
  #teaser.teaser-bar {
    grid-template-columns: minmax(0, 0.9fr) minmax(430px, 48%) !important;
  }

  #teaser .teaser-action-copy {
    display: none !important;
  }

  #teaser .teaser-action-block {
    display: flex !important;
    justify-content: flex-end !important;
    gap: 10px !important;
  }
}

/* ==========================================================
   FIX 28.04.2026: Teaser Desktop 50/50-Aufteilung
   Ziel: Termin und Aktionsblock gleich breit darstellen
   ========================================================== */
@media (min-width: 900px) {
  #teaser.teaser-bar {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    min-height: 112px !important;
  }

  #teaser .teaser-event-block {
    padding: 24px 30px !important;
  }

  #teaser .teaser-action-block {
    grid-template-columns: minmax(220px, 1fr) auto !important;
    gap: 28px !important;
    padding: 24px 30px !important;
  }

  #teaser .teaser-action-title {
    max-width: 280px !important;
    font-size: 1.05rem !important;
    line-height: 1.24 !important;
  }

  #teaser .teaser-action-buttons {
    gap: 12px !important;
  }

  #teaser .teaser-action-btn,
  #teaser .teaser-action-btn:visited {
    min-height: 40px !important;
    padding: 0 19px !important;
    font-size: 0.70rem !important;
  }
}

@media (min-width: 900px) and (max-width: 1240px) {
  #teaser.teaser-bar {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  }

  #teaser .teaser-action-block {
    grid-template-columns: minmax(185px, 1fr) auto !important;
    gap: 18px !important;
    padding: 22px 22px !important;
  }

  #teaser .teaser-action-title {
    max-width: 230px !important;
    font-size: 0.95rem !important;
  }

  #teaser .teaser-action-btn,
  #teaser .teaser-action-btn:visited {
    padding: 0 14px !important;
    font-size: 0.64rem !important;
  }
}

@media (min-width: 900px) and (max-width: 1060px) {
  #teaser.teaser-bar {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  }

  #teaser .teaser-action-copy {
    display: none !important;
  }

  #teaser .teaser-action-block {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
  }
}

/* ==========================================================
   FIX 28.04.2026: Teaser-Aktionsheadline einzeilig
   Ziel: "Sportevent fotografieren lassen?" bleibt auf Desktop in einer Zeile
   ========================================================== */
@media (min-width: 900px) {
  #teaser .teaser-action-block {
    grid-template-columns: minmax(330px, 1fr) auto !important;
    gap: 24px !important;
  }

  #teaser .teaser-action-copy {
    min-width: 0 !important;
  }

  #teaser .teaser-action-title {
    max-width: none !important;
    white-space: nowrap !important;
    overflow: visible !important;
    font-size: 1.02rem !important;
    line-height: 1.15 !important;
  }
}

@media (min-width: 900px) and (max-width: 1240px) {
  #teaser .teaser-action-block {
    grid-template-columns: minmax(260px, 1fr) auto !important;
    gap: 14px !important;
    padding: 22px 20px !important;
  }

  #teaser .teaser-action-title {
    max-width: none !important;
    white-space: nowrap !important;
    font-size: 0.86rem !important;
    letter-spacing: 0 !important;
  }

  #teaser .teaser-action-btn,
  #teaser .teaser-action-btn:visited {
    padding: 0 12px !important;
    font-size: 0.62rem !important;
  }
}

/* ==========================================================
   FIX 28.04.2026: Teaser-Hoehe Desktop kompakter
   Ziel: Abstand oben/unten in beiden Teaser-Boxen reduzieren
   ========================================================== */
@media (min-width: 900px) {
  #teaser.teaser-bar {
    min-height: 84px !important;
  }

  #teaser .teaser-event-block,
  #teaser .teaser-action-block {
    padding-top: 14px !important;
    padding-bottom: 14px !important;
  }

  #teaser .teaser-event-block {
    gap: 6px !important;
  }

  #teaser .teaser-action-copy {
    gap: 2px !important;
  }

  #teaser .teaser-action-btn,
  #teaser .teaser-action-btn:visited {
    min-height: 36px !important;
  }
}

@media (min-width: 900px) and (max-width: 1240px) {
  #teaser.teaser-bar {
    min-height: 80px !important;
  }

  #teaser .teaser-event-block,
  #teaser .teaser-action-block {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }

  #teaser .teaser-action-btn,
  #teaser .teaser-action-btn:visited {
    min-height: 34px !important;
  }
}

/* THF: Header-Suche mit gezieltem Ladeindikator und mobilem Reset-Icon */
.global-search-busy {
  display: none;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  margin: 0 8px !important;
  border-radius: 999px !important;
  border: 2px solid rgba(255,255,255,.22) !important;
  border-top-color: #4c8dff !important;
  animation: thfSearchSpin .75s linear infinite !important;
}

.search-inline-reset {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 30px;
  margin-right: 6px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.055);
  color: rgba(255,255,255,.76);
  font-family: 'Montserrat', sans-serif;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}

.search-inline-reset svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.search-inline-reset:hover,
.search-inline-reset:focus-visible {
  color: #fff;
  border-color: rgba(76,141,255,.46);
  background: rgba(76,141,255,.16);
  outline: none;
}

@keyframes thfSearchSpin { to { transform: rotate(360deg); } }

.thf-global-topic-sidebar {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 8500;
  display: block;
}

.thf-global-topic-toggle {
  display: none;
}

.thf-global-topic-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 12px 8px 12px 0;
  border-radius: 0 22px 22px 0;
  border: 1px solid rgba(255,255,255,.08);
  border-left: 0;
  background: rgba(13,13,15,.78);
  box-shadow: 18px 0 48px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.055);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.thf-global-topic-btn {
  position: relative;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 0 15px 15px 0;
  color: rgba(255,255,255,.78);
  text-decoration: none;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}

.thf-global-topic-btn svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
}

.thf-global-topic-btn span {
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
  padding: 6px 9px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(12,12,14,.92);
  color: rgba(255,255,255,.92);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(0,0,0,.32);
  transition: opacity .16s ease, transform .16s ease;
}

.thf-global-topic-btn:hover,
.thf-global-topic-btn:focus-visible {
  color: #fff;
  background: rgba(255,255,255,.10);
  box-shadow: inset -3px 0 0 rgba(76,141,255,.96);
  outline: none;
}

.thf-global-topic-btn:hover span,
.thf-global-topic-btn:focus-visible span {
  opacity: 1;
  transform: translateY(-50%) translateX(2px);
}

@media (max-width: 900px) {
  .thf-global-topic-sidebar {
    display: none !important;
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  .thf-global-topic-sidebar {
    transform: translate(-100%, -50%);
    transition: transform .22s ease;
  }

  .thf-global-topic-sidebar.is-open,
  .thf-global-topic-sidebar:focus-within {
    transform: translate(0, -50%);
  }

  .thf-global-topic-toggle {
    position: absolute;
    right: -34px;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 34px;
    height: 78px;
    border: 1px solid rgba(255,255,255,.10);
    border-left: 0;
    border-radius: 0 16px 16px 0;
    background: rgba(13,13,15,.86);
    color: rgba(255,255,255,.84);
    box-shadow: 14px 0 34px rgba(0,0,0,.30);
    cursor: pointer;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .thf-global-topic-toggle span {
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .18s ease;
  }

  .thf-global-topic-sidebar.is-open .thf-global-topic-toggle span {
    transform: rotate(225deg);
  }
}

.card.thf-featured-card {
  cursor: pointer;
}

.card-figure .source-date-badge.thf-featured-source-badge {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: calc(100% - 24px);
  padding: 7px 10px;
  border-radius: 7px;
  background: rgba(8,10,14,.76);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
  font-size: 13px;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(0,0,0,.24);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.card-figure .source-date-badge.thf-featured-source-badge .source-topic-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 4px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(43,124,255,.98), rgba(25,88,205,.96));
  border: 1px solid rgba(119,172,255,.44);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(43,124,255,.22);
}

.card-figure .source-date-badge.thf-featured-source-badge .source-date-separator {
  color: rgba(255,255,255,.45);
}

.card-figure .source-date-badge.thf-featured-source-badge .source-date {
  white-space: nowrap;
  color: rgba(255,255,255,.92);
}

@media (max-width: 600px) {
  .inline-search-form {
    gap: 3px;
  }

  .search-inline-reset {
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    margin-right: 0;
    padding: 0;
    border-radius: 999px;
  }

  .search-inline-reset .search-reset-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .global-search-busy {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    margin: 0 4px !important;
  }
}
