/* ================================================================
   nachruf-legal.css  —  Pforte.de Legal Seiten (Impressum, AGB, Datenschutz)
   Design: Motorrad-Nachruf Farben + EnergieABC Layout-Struktur
   ================================================================ */

/* ── VARIABLEN (wie nachruf-motorrad.css) ────────────────────── */
:root {
    --text-primary:    #2d2d2d;
    --text-secondary:  #5a5a5a;
    --text-muted:      #8a8a8a;
    --bg-primary:      #fafafa;
    --bg-secondary:    #f2f2f2;
    --bg-card:         #ffffff;
    --accent-main:     #8b3a3a;
    --accent-light:    #a85050;
    --accent-sage:     #5c7a6e;
    --border-light:    #e2e2e2;
    --shadow-card:     0 2px 8px rgba(0,0,0,0.07);
}

/* ── 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.7;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ── HEADER (wie nachruf-motorrad) ───────────────────────────── */
.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;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.logo {
    font-family: 'Newsreader', serif;
    font-size: 22px;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-primary);
}

.nav { display: flex; gap: 28px; }

.nav-link {
    font-size: 15px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.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; }



/* ── BURGER ──────────────────────────────────────────────────── */
.hamburger { display: none; }

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
    .header-inner { position: relative; }
    .hamburger {
        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; }
}

/* ── LEGAL HERO ──────────────────────────────────────────────── */
.legal-hero {
    background: linear-gradient(135deg, var(--bg-secondary), #e4e0dc);
    padding: 48px 0 36px;
    border-bottom: 1px solid var(--border-light);
}

.legal-hero-inner {
    text-align: center;
}

.legal-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-main);
    margin-bottom: 12px;
}

.legal-hero h1 {
    font-family: 'Newsreader', serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.legal-hero p {
    font-size: 16px;
    color: var(--text-secondary);
}

/* ── BREADCRUMB ──────────────────────────────────────────────── */
.legal-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 0 0;
    font-size: 13px;
    color: var(--text-muted);
}

.legal-breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
}

.legal-breadcrumb a:hover { color: var(--accent-main); }
.legal-breadcrumb span { color: var(--text-muted); }

/* ── QUICKLINKS ──────────────────────────────────────────────── */
.legal-quicklinks {
    display: flex;
    gap: 8px;
    padding: 16px 0 24px;
    flex-wrap: wrap;
}

.legal-quicklinks a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    background: var(--bg-card);
    transition: all 0.2s ease;
}

.legal-quicklinks a:hover {
    border-color: var(--accent-main);
    color: var(--accent-main);
}

.legal-quicklinks a.active {
    background: var(--accent-main);
    border-color: var(--accent-main);
    color: white;
}

/* ── LEGAL GRID (Sidebar + Content) ─────────────────────────── */
.legal-section {
    padding: 48px 0 80px;
}

.legal-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    align-items: start;
}

/* ── SIDEBAR ─────────────────────────────────────────────────── */
.legal-sidebar {
    position: sticky;
    top: 88px;
}

.legal-toc {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-card);
}

.legal-toc h3 {
    font-family: 'Newsreader', serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
}

.legal-toc ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 20px;
}

.legal-toc ul li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.legal-toc ul li a:hover {
    background: var(--bg-secondary);
    color: var(--accent-main);
}

.toc-num {
    display: inline-block;
    min-width: 28px;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent-main);
    font-family: 'Inter', sans-serif;
}

.toc-info {
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 12px;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ── MAIN CONTENT ────────────────────────────────────────────── */
.legal-content h1 {
    font-family: 'Newsreader', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.legal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--border-light);
}

.legal-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
    background: var(--bg-secondary);
    padding: 6px 12px;
    border-radius: 6px;
}

.legal-content h2 {
    font-family: 'Newsreader', serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 40px 0 16px;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
    scroll-margin-top: 100px;
}

.legal-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 24px 0 10px;
}

.legal-content p {
    color: var(--text-secondary);
    margin-bottom: 14px;
    font-size: 15px;
}

.legal-content ul,
.legal-content ol {
    color: var(--text-secondary);
    padding-left: 20px;
    margin-bottom: 16px;
    font-size: 15px;
}

.legal-content li { margin-bottom: 6px; }

.legal-content a {
    color: var(--accent-main);
    text-decoration: none;
}

.legal-content a:hover { text-decoration: underline; }

/* ── SPEZIAL-BOXEN ───────────────────────────────────────────── */
.legal-contact {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 20px 24px;
    margin: 16px 0 24px;
}

.legal-contact h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.legal-contact p {
    margin-bottom: 4px;
    font-size: 14px;
}

.legal-warning {
    background: #fff8f0;
    border-left: 4px solid var(--accent-light);
    border-radius: 0 8px 8px 0;
    padding: 16px 20px;
    margin: 20px 0;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.legal-warning.legal-info {
    background: #f0f5f3;
    border-left-color: var(--accent-sage);
}

.legal-intro-box {
    background: linear-gradient(135deg, #f8f0f0, #fdf8f8);
    border: 1px solid #dcc8c8;
    border-radius: 10px;
    padding: 20px 24px;
    margin-bottom: 32px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.legal-intro-box a { color: var(--accent-main); }

/* ── DEFINITIONS LIST ────────────────────────────────────────── */
.def-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 16px 0 24px;
}

.def-item {
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.def-item strong {
    color: var(--text-primary);
}

/* ── LEGAL SOURCE BOX ────────────────────────────────────────── */
.legal-source {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 16px 20px;
    margin: 12px 0 20px;
    font-size: 14px;
    color: var(--text-secondary);
}

/* ── FOOTER ──────────────────────────────────────────────────── */
.footer {
    background: #2d2d2d;
    color: #c8c8c8;
    padding: 56px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
    font-family: 'Newsreader', serif;
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.footer-brand .mark { color: var(--accent-main); }

.footer-desc {
    font-size: 14px;
    color: #9a9a9a;
    line-height: 1.6;
    margin: 0;
}

.footer h4 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #e8e8e8;
    margin-bottom: 14px;
}

.footer ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer ul li a {
    font-size: 14px;
    color: #9a9a9a;
    text-decoration: none;
    transition: color 0.2s;
}

.footer ul li a:hover { color: white; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-size: 13px;
    color: #6a6a6a;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom div { display: flex; gap: 20px; }

.footer-bottom a {
    color: #6a6a6a;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom a:hover { color: white; }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .legal-grid { grid-template-columns: 240px 1fr; gap: 32px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .container { padding: 0 16px; }
    .legal-grid { grid-template-columns: 1fr; }
    .legal-sidebar { position: static; }
    .legal-toc ul { display: grid; grid-template-columns: 1fr 1fr; }
    .legal-hero { padding: 32px 0 24px; }
    .legal-section { padding: 32px 0 60px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .legal-meta { gap: 8px; }
    .legal-quicklinks { gap: 6px; }
    .legal-quicklinks a { font-size: 12px; padding: 6px 12px; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .legal-toc ul { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}





/* ── VORWORT ─────────────────────────────────────────────────── */
.vorwort-section {
    padding: 48px 0;
}

.vorwort-box {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    background: linear-gradient(135deg, #fdf5f0, #f8f0f5);
    border: 1px solid #e8d5cc;
    border-radius: 16px;
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.vorwort-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-main), var(--accent-sage));
    border-radius: 16px 16px 0 0;
}

.vorwort-initiale {
    font-size: 80px;
    line-height: 1;
    flex-shrink: 0;
    opacity: 0.5;
    margin-top: 4px;
}

.vorwort-text h2 {
    font-family: 'Newsreader', serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-style: italic;
}

.vorwort-text p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 14px;
    line-height: 1.8;
}

.vorwort-signatur {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e8d5cc;
    font-size: 16px !important;
    color: var(--text-primary) !important;
}

@media (max-width: 768px) {
    .vorwort-box { flex-direction: column; gap: 16px; padding: 28px; }
    .vorwort-initiale { font-size: 56px; }
}








.trauer-zitat {
    text-align: center;
    font-family: 'Newsreader', serif;
    font-size: clamp(18px, 2.5vw, 24px);
    font-style: italic;
    color: var(--text-secondary);
    padding: 40px 48px;
    margin: 40px 0;
    background: linear-gradient(135deg, #fdf5f0, #f8f0f5);
    border-radius: 12px;
    border-top: 3px solid var(--accent-main);
    border-bottom: 3px solid var(--accent-main);
    position: relative;
}

.trauer-zitat::before {
    content: '❝';
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 40px;
    color: var(--accent-main);
    background: var(--bg-primary);
    padding: 0 12px;
    font-style: normal;
}
.vorwort-autor {
    display: block;
    margin-top: 12px;
    font-family: 'Newsreader', serif;
    font-size: 18px;
    font-style: italic;
    color: var(--accent-main);
    letter-spacing: 0.03em;
}

