/* ================================================================
   nachruf-promi.css  —  Pforte.de Promi Bereich
   Stil: exakt wie gedenken-promi.html Vorlage
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Inter:wght@400;500;600&display=swap');

/* ── VARIABLEN (identisch mit Vorlage) ───────────────────────── */
:root {
    --text-primary:   #3d3735;
    --text-secondary: #6b6360;
    --text-muted:     #9a918e;
    --bg-primary:     #fdfcfb;
    --bg-secondary:   #f7f5f3;
    --bg-card:        #ffffff;
    --accent-sage:    #7a8f7e;
    --accent-bronze:  #a88860;
    --accent-bronze-light: #c4a882;
    
    --accent-main:    #a88860;

    --border-light:   #e8e4e0;
    --accent-warm:    #c4956a;
    --shadow-card:    0 2px 8px rgba(61,55,53,0.08);
    --shadow-hover:   0 8px 28px rgba(61,55,53,0.16);
    --transition:     0.3s ease;
}

/* ── RESET ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.6;
}

/* ── CONTAINER ───────────────────────────────────────────────── */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ── HEADER ──────────────────────────────────────────────────── */
.header {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    font-family: 'Newsreader', serif;
    font-size: 22px;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-primary);
}
.logo span { color: var(--accent-warm); }

.nav {
    display: flex;
    gap: 28px;
}

.nav-link {
    font-size: 15px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition);
}

.nav-link:hover { color: var(--accent-sage); }

.btn {
    padding: 8px 8px;
    background: var(--accent-sage);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: background var(--transition);
    white-space: nowrap;
}

.btn:hover { background: #6a7f6e; }











/* ── HERO ────────────────────────────────────────────────────── */
.hero {
    padding: 80px 0 60px;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-secondary), #e8e3db);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent-bronze), transparent);
}

.hero-eyebrow {
    font-size: 13px;
    color: var(--accent-bronze);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 14px;
}

.hero-title {
    font-family: 'Newsreader', serif;
    font-size: 52px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── FILTER BAR ──────────────────────────────────────────────── */
.filter-bar {
    padding: 40px 0 32px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 9px 20px;
    border: 1px solid var(--border-light);
    background: var(--bg-card);
    border-radius: 24px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.filter-btn:hover {
    border-color: var(--accent-bronze);
    color: var(--accent-bronze);
}

.filter-btn.active {
    background: var(--accent-bronze);
    color: white;
    border-color: var(--accent-bronze);
}











/* ── GRID ────────────────────────────────────────────────────── */
.grid-promi {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-bottom: 80px;
}




/* ── CARD ────────────────────────────────────────────────────── */
.card-promi {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: visible;           /* KEIN hidden */
    text-decoration: none;
    display: block;
    border: 1px solid var(--border-light);
    transition: all var(--transition);
    box-shadow: var(--shadow-card);
    position: relative;
    isolation: isolate;          /* Eigener Stacking Context */
}

.card-promi:hover {
    /* transform: translateY(-4px); */
    box-shadow: var(--shadow-hover);
}

/* Card Image — nur das Foto wird geclipt */
.card-promi-image {
    width: 100%;
    aspect-ratio: 3/4;
    background: #2a2a2a;
    overflow: hidden;
    position: relative;
    border-radius: 12px 12px 0 0;
}

.card-promi-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter var(--transition);
    display: block;
}

/*
.card-promi:hover .card-promi-image img {
    filter: grayscale(60%);
}
*/

/* Trauerband — ::after auf .card, außerhalb von .card-image */
.card-promi::after {
    content: '';
    position: absolute;
    top: -8px;
    right: -8px;
    width: 80px;
    height: 80px;
    background: url('/img/nachruf/trauerband.png') no-repeat center center;
    background-size: contain;
    z-index: 20;
    pointer-events: none;
}




/* Card Content */
.card-promi-content {
    padding: 20px;
}

.card-promi-kategorie {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-bronze);
    margin-bottom: 6px;
}

.card-promi-name {
    font-family: 'Newsreader', serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
    line-height: 1.2;
}

.card-promi-role {
    font-size: 14px;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 8px;
    line-height: 1.4;
}

.card-promi-dates {
    font-size: 14px;
    color: var(--text-muted);
}

.card-promi-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
}

.card-promi-candles {
    font-size: 13px;
    color: var(--text-muted);
}

.card-promi-mehr {
    font-size: 13px;
    color: var(--accent-bronze);
    font-weight: 500;
    opacity: 0;
    transition: opacity var(--transition);
}

.card-promi:hover .card-promi-mehr {
    opacity: 1;
}

/* Card hidden für Filter */
.card-promi.hidden {
    display: none;
}
















/* ── DETAIL LAYOUT ───────────────────────────────────────────── */
.breadcrumb {
    padding: 20px 0;
    font-size: 14px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border-light);
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition);
}

.breadcrumb a:hover { color: var(--accent-bronze); }
.breadcrumb-sep { color: var(--border-light); }

@media (max-width: 768px) {
    .breadcrumb {
        flex-wrap: wrap;
        row-gap: 4px;
    }
}






.detail-layout {
    display: grid;
    grid-template-columns: 300px 1fr 300px;
    gap: 48px;
    padding: 48px 0 80px;
    align-items: start;
}

/* ── LINKE SPALTE ────────────────────────────────────────────── */
.detail-foto-col {
    position: sticky;
    top: 92px;
}

/* Detailseite — Foto mit Trauerband */
.detail-foto-wrap {
    position: relative;
    border-radius: 10px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-card);
    /* KEIN overflow: hidden hier! */
}

/* Trauerband als ::after auf dem Wrapper — liegt frei über dem Bild */
.detail-foto-wrap::after {
    content: '';
    position: absolute;
    top: -8px;
    right: -8px;
    width: 80px;
    height: 80px;
    background: url('/img/nachruf/trauerband.png') no-repeat center center;
    background-size: contain;
    z-index: 10;
    pointer-events: none;
}

.detail-foto-img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
    border-radius: 10px; /* Radius direkt aufs Bild, nicht den Container */
}

.detail-info-box {
    margin-top: 16px;
    padding: 16px 18px;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-light);
    text-align: center;
}

.detail-dates {
    font-family: 'Newsreader', serif;
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.detail-age {
    font-size: 13px;
    color: var(--text-muted);
}

.detail-beruf-badge {
    display: inline-block;
    margin-top: 10px;
    padding: 4px 14px;
    background: var(--bg-card);
    border: 1px solid var(--accent-bronze-light);
    border-radius: 20px;
    font-size: 12px;
    color: var(--accent-bronze);
    letter-spacing: 0.06em;
}

/* ── MITTE: BIOGRAFIE ────────────────────────────────────────── */


.detail-eyebrow {
    font-size: 12px;
    color: var(--accent-bronze);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 10px;
}

.detail-name {
    font-family: 'Newsreader', serif;
    font-size: 44px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 6px;
}

.detail-titel {
    font-family: 'Newsreader', serif;
    font-size: 18px;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.detail-zitat {
    padding: 18px 24px;
    border-left: 3px solid var(--accent-bronze-light);
    background: var(--bg-secondary);
    border-radius: 0 6px 6px 0;
    margin-bottom: 36px;
}

.detail-zitat-text {
    font-family: 'Newsreader', serif;
    font-size: 20px;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: 8px;
}

.detail-zitat-quelle {
    font-size: 13px;
    color: var(--accent-bronze);
}

/* INTERAKTIONEN */
.interact-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 32px;
}

.inter-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: var(--text-muted);
    min-width: 76px;
    text-align: center;
    transition: all var(--transition);
    user-select: none;
}

.inter-btn:hover {
    background: var(--bg-card);
    border-color: var(--accent-bronze-light);
    color: var(--accent-bronze);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(61,55,53,0.1);
}

.inter-btn.is-active {
    background: var(--bg-card);
    border-color: var(--accent-bronze);
    color: var(--accent-bronze);
}

.inter-emoji { font-size: 22px; transition: transform 0.25s ease; }
.inter-btn:hover .inter-emoji { transform: scale(1.15); }
.inter-count { font-size: 11px; color: var(--text-muted); }






/* Kondolenz */
.kondo-section {
    margin-top: 40px;
    padding-top: 36px;
    border-top: 1px solid var(--border-light);
}

.kondo-title {
    font-family: 'Newsreader', serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.kondo-form {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 28px;
}

.form-group { margin-bottom: 14px; }

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--text-primary);
    transition: border-color var(--transition);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-bronze-light);
}

.form-textarea { min-height: 110px; resize: vertical; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.form-submit {
    padding: 11px 28px;
    background: var(--accent-sage);
    border: none;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: white;
    cursor: pointer;
    transition: background var(--transition);
}

.form-submit:hover { background: #6a7f6e; }

.kondo-list { display: flex; flex-direction: column; gap: 14px; }

.kondo-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 18px 20px;
    position: relative;
}

.kondo-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.kondo-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Newsreader', serif;
    font-size: 16px;
    color: var(--accent-bronze);
    flex-shrink: 0;
}

.kondo-name { font-size: 15px; color: var(--text-primary); font-weight: 500; }
.kondo-date { font-size: 12px; color: var(--text-muted); }
.kondo-text { font-size: 15px; color: var(--text-secondary); line-height: 1.7; }
.kondo-emoji { position: absolute; top: 16px; right: 16px; font-size: 16px; }

/* ── RECHTE SIDEBAR ──────────────────────────────────────────── */


/* SHARE BOX */
.share-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 22px;
    margin-bottom: 20px;
}

.share-box-title {
    font-family: 'Newsreader', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.share-box-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 16px;
}

.social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
}

.social-btn:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-facebook { background: #1877f2; color: #fff; }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-twitter  { background: #1da1f2; color: #fff; }
.btn-telegram { background: #0088cc; color: #fff; }
.btn-linkedin { background: #0077b5; color: #fff; }
.btn-email    { background: var(--bg-card); color: var(--text-secondary); border: 1px solid var(--border-light); }

/* Native Share (Mobile) */
.native-share-btn {
    width: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    background: var(--accent-sage);
    color: white;
    border: none;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 10px;
    transition: background var(--transition);
}

.native-share-btn:hover { background: #6a7f6e; }

/* URL Copy */
.url-wrap { position: relative; }

.url-input {
    width: 100%;
    padding: 9px 42px 9px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: var(--text-muted);
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: border-color var(--transition);
}

.url-input:focus { outline: none; border-color: var(--accent-bronze-light); }

.url-copy-btn {
    position: absolute;
    right: 5px; top: 50%;
    transform: translateY(-50%);
    width: 30px; height: 26px;
    background: var(--accent-bronze);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: background var(--transition);
}

.url-copy-btn:hover { background: var(--accent-bronze-light); }

.url-copy-toast {
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: var(--text-primary);
    color: white;
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.url-copy-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Stat Box */
.stat-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 16px;
}

.stat-box-title {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.stat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 14px;
}

.stat-row:last-child { border-bottom: none; }
.stat-label { color: var(--text-secondary); display: flex; align-items: center; gap: 7px; }
.stat-value { color: var(--text-primary); font-weight: 500; }

/* Similar Box */
.similar-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 18px 20px;
}

.similar-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid var(--border-light);
    text-decoration: none;
    transition: all var(--transition);
}

.similar-item:last-child { border-bottom: none; }
.similar-item:hover .similar-name { color: var(--accent-bronze); }

.similar-foto {
    width: 44px; height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-light);
    filter: grayscale(30%);
    flex-shrink: 0;
}

.similar-name { font-size: 14px; color: var(--text-primary); transition: color var(--transition); }
.similar-beruf { font-size: 12px; color: var(--text-muted); }

/* ── FOOTER ──────────────────────────────────────────────────── */
/*
.footer {
    background: var(--text-primary);
    color: rgba(255,255,255,0.7);
    padding: 48px 0 28px;
    margin-top: 60px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 36px;
}

.footer-brand {
    font-family: 'Newsreader', serif;
    font-size: 20px;
    font-weight: 600;
    color: white;
    margin-bottom: 10px;
}

.footer-text { font-size: 14px; line-height: 1.7; max-width: 280px; }

.footer-col-title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 14px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.6); text-decoration: none; transition: color var(--transition); }
.footer-links a:hover { color: rgba(255,255,255,0.9); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
}
*/



/* ── POPUP ANIMATIONEN ───────────────────────────────────────── */
@keyframes act-popup-rise {
    0%   { transform: translateY(0) scale(1); opacity: 1; }
    100% { transform: translateY(-80px) scale(1.3); opacity: 0; }
}

@keyframes act-herz {
    0%   { transform: scale(1); opacity: 1; }
    40%  { transform: scale(1.5); opacity: 1; }
    100% { transform: scale(0.5) translateY(-70px); opacity: 0; }
}

@keyframes act-stern {
    0%   { transform: translate(0,0) scale(1); opacity: 1; }
    100% { transform: translate(60px,-60px) scale(0.3); opacity: 0; }
}

.act-popup {
    position: fixed;
    font-size: 28px;
    pointer-events: none;
    z-index: 9999;
    animation: act-popup-rise 0.9s ease both;
}

.act-popup.pop-herz    { animation: act-herz 0.8s ease both; }
.act-popup.pop-stern   { animation: act-stern 0.9s ease both; }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .grid-promi { grid-template-columns: repeat(3, 1fr); }
    .detail-layout { grid-template-columns: 260px 1fr 270px; gap: 32px; }
}

@media (max-width: 900px) {
    .grid-promi { grid-template-columns: repeat(2, 1fr); }
    .detail-layout { grid-template-columns: 1fr; }
    .detail-foto-col {
        position: static;
        display: grid;
        grid-template-columns: 200px 1fr;
        gap: 20px;
        align-items: start;
    }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
    .awards-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav { display: none; }
    .btn { display: none; }
    .detail-name { font-size: 32px; }
    .hero-title { font-size: 38px; }
    .social-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .grid-promi { grid-template-columns: 1fr; }
    .container { padding: 0 16px; }
    .detail-foto-col { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .interact-bar { gap: 6px; }
    .inter-btn { padding: 10px 10px; min-width: 64px; }
}



/* ── PAGINATION ──────────────────────────────────────────────── */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 48px 0 64px;
    flex-wrap: wrap;
}

.page-btn {
    padding: 14px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.page-btn:hover {
    border-color: var(--accent-main);
    color: var(--accent-main);
    background: var(--bg-secondary);
}

.page-btn.disabled {
    opacity: 0.35;
    pointer-events: none;
}

.page-numbers {
    display: flex;
    align-items: center;
    gap: 6px;
}

.page-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.page-num:hover {
    border-color: var(--accent-main);
    color: var(--accent-main);
    background: var(--bg-secondary);
}

.page-num.active {
    background: var(--accent-main);
    border-color: var(--accent-main);
    color: white;
}

.page-dots {
    font-size: 17px;
    color: var(--text-muted);
    padding: 0 4px;
    user-select: none;
}

@media (max-width: 480px) {
    .page-btn { padding: 12px 18px; font-size: 15px; }
    .page-num  { width: 42px; height: 42px; font-size: 15px; }
    .page-dots { display: none; }
}











/* ── BURGER ──────────────────────────────────────────────────── */
.burger { display: none; }

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}

.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
    .header-inner { position: relative; }

    .burger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        padding: 8px;
        z-index: 10;
        background: none;
        border: none;
    }

    /* .btn { display: none; } */

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-card);
        flex-direction: column;
        padding: 16px 24px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.1);
        border-top: 1px solid var(--border-light);
        gap: 4px;
        z-index: 100;
    }

    .nav.open { display: flex; }

    .nav-link {
        padding: 12px 0;
        border-bottom: 1px solid var(--border-light);
        font-size: 16px;
    }

    .nav-link:last-child { border-bottom: none; }
}











/* ── FOTO SHARE LINK ─────────────────────────────────────────── */
.foto-share-link {
    display: block;
    text-align: center;
    margin-top: 12px;
    padding: 12px 16px;
    background: var(--border-light);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s;
    line-height: 1.4;
}

.foto-share-link:hover {
    border-color: var(--accent-sage);
    color: var(--accent-sage);
    background: var(--bg-card);
}

/* Sprechblase auf Share Box */
.share-box {
    position: relative;  /* falls noch nicht gesetzt */
}

.share-bubble {
    position: absolute;
    top: -54px;
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    background: var(--text-primary);
    color: white;
    font-size: 13px;
    line-height: 1.4;
    padding: 8px 14px;
    border-radius: 8px;
    white-space: nowrap;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 10;
}

/* Pfeil unten an der Sprechblase */
.share-bubble::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-bottom: none;
    border-top-color: var(--text-primary);
}

.share-bubble.show {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}


.share-box {
    position: relative;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 22px;
    margin-bottom: 20px;
    transition: border-color 0.3s;
}

/* Aufflacker-Animation */
@keyframes share-flash {
    0%   { background: var(--bg-secondary); border-color: var(--border-light); }
    25%  { background: linear-gradient(135deg, #fff8f0, #fdecd8); border-color: var(--accent-bronze); }
    50%  { background: #fdecd8; border-color: var(--accent-terracotta); box-shadow: 0 0 20px rgba(169,136,96,0.3); }
    75%  { background: #fff3e8; border-color: var(--accent-bronze); }
    100% { background: var(--bg-secondary); border-color: var(--border-light); }
}

.share-box.is-flashing {
    animation: share-flash 1.8s ease 4;  /* 2x aufflackern */
}









/* ── RECHTLICHE HINWEISE ─────────────────────────────────────── */
.promi-rechtlich {
    width: 100%;
    margin: 40px 0 0;
    padding: 20px 28px;
    background: #f7f7f7;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    box-sizing: border-box;
}

.promi-rechtlich-titel {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #bbb;
    margin-bottom: 12px;
}

.promi-rechtlich-liste {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.promi-rechtlich-liste li {
    font-size: 13px;
    color: #aaaaaa;
    line-height: 1.6;
}

.promi-rechtlich-liste strong {
    color: #aaa;
    font-weight: 600;
}

.promi-rechtlich-link {
    color: #aaa;
    text-decoration: underline;
}

.promi-rechtlich-link:hover { color: #888; }






























/* ── ORTE-BOX ─────────────────────────────────────────────── */
.promi-orte-box {
    margin-top: 10px;
    padding: 10px 14px;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.promi-orte-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.promi-orte-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    border-bottom: 1px solid var(--border-light);
}

.promi-orte-item:first-child { padding-top: 0; }
.promi-orte-item:last-child  { border-bottom: none; padding-bottom: 0; }

.promi-orte-symbol {
    font-size: 13px;
    font-weight: 600;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
    color: var(--accent-main);
    line-height: 1;
}

.promi-orte-content {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex: 1;
    min-width: 0;
}

.promi-orte-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    line-height: 1;
}

.promi-orte-wert {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

a.promi-orte-map {
    font-size: 12px;
    color: var(--accent-main);
    font-weight: 500;
    text-decoration: none;
}

a.promi-orte-map:hover { opacity: 0.8; }

.promi-portrait-quelle {
    display: inline-block;
    margin-top: 8px;
    font-size: 12px;
    color: #aaa;
    text-decoration: underline;
}
.promi-portrait-quelle:hover { color: #777; }


@media (max-width: 600px) {
    .promi-orte-box { margin-top: 8px; }
}
