/*
 * pages.css — Styles for Impressum, Guide, and other static pages
 */

/* ═══════════════════════════════════════════════════════════════════════════
   PAGE LAYOUT
   ═══════════════════════════════════════════════════════════════════════════ */
.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1rem 5rem;
}

.page-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
}

@media (max-width: 640px) {
    .page-card {
        padding: 1.5rem;
    }
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.page-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.page-title-icon {
    color: var(--accent);
    font-size: 1.5em;
}

.page-intro {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    font-weight: 500;
}

.page-section {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.page-section p {
    margin-bottom: 0.25rem;
}

.page-note {
    background: rgba(37, 99, 235, 0.06);
    border-left: 3px solid var(--accent);
    padding: 1rem 1.25rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HEADINGS (within page card)
   ═══════════════════════════════════════════════════════════════════════════ */
.page-card h2 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.page-card h2:first-child {
    margin-top: 0;
}

.page-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.page-card a {
    color: var(--accent);
    font-weight: 600;
    transition: opacity 0.2s;
}

.page-card a:hover {
    opacity: 0.8;
}


/* ═══════════════════════════════════════════════════════════════════════════
   BUTTON VARIANTS
   ═══════════════════════════════════════════════════════════════════════════ */
.btn--outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: var(--radius-lg);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.btn--outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn--sm {
    padding: 6px 14px;
    font-size: 0.8rem;
}


/* ═══════════════════════════════════════════════════════════════════════════
   GUIDE STEPS
   ═══════════════════════════════════════════════════════════════════════════ */
.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.guide-step {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
}

.guide-step:last-child {
    border-bottom: none;
}

.guide-step__number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: #fff;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 900;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.guide-step__content h2 {
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
    padding-bottom: 0;
    border-bottom: none;
}

.guide-step__content p {
    color: var(--text-muted);
    font-weight: 500;
    line-height: 1.7;
}

.guide-tip {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(37, 99, 235, 0.06);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.guide-tip .material-symbols-outlined {
    color: var(--accent);
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 1px;
}

.guide-tip--warning {
    background: rgba(245, 158, 11, 0.08);
}

.guide-tip--warning .material-symbols-outlined {
    color: var(--warning);
}


/* ═══════════════════════════════════════════════════════════════════════════
   FAQ (Accordion)
   ═══════════════════════════════════════════════════════════════════════════ */
.guide-faq {
    margin-top: 3rem;
}

.guide-faq > h2 {
    margin-bottom: 1.5rem;
}

.guide-faq__item {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.guide-faq__item summary {
    padding: 1rem 1.25rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s;
}

.guide-faq__item summary::-webkit-details-marker {
    display: none;
}

.guide-faq__item summary::after {
    content: "expand_more";
    font-family: "Material Symbols Outlined";
    font-size: 24px;
    color: var(--text-muted);
    transition: transform 0.2s;
}

.guide-faq__item[open] summary::after {
    transform: rotate(180deg);
}

.guide-faq__item summary:hover {
    background: var(--bg-card-hover);
}

.guide-faq__item p {
    padding: 0 1.25rem 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-weight: 500;
}
