/* ══════════════════════════════════════════════════════════
   PFORTE.DE – SOS SEITE
   Was tun bei einem Todesfall?
   ══════════════════════════════════════════════════════════ */


/* ── SOS HERO ──────────────────────────────────────────── */
.sos-hero {
    /* background: linear-gradient(135deg, #B71C1C 0%, #C62828 40%, #D32F2F 70%, #E53935 100%); */
    background: linear-gradient(135deg, #FDFDFD 0%, #000 40%, #528899 70%, #000 100%);
    padding: 44px 0 36px;
    color: white;
    position: relative;
}
.sos-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #B71C1C, #FF5252, #363636);
}
.sos-hero-inner {
    max-width: var(--mw);
    margin: 0 auto;
    padding: 0 var(--pad);
}
.sos-hero-content {
    display: flex;
    align-items: center;
    gap: 20px;
}
.sos-hero-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}
.sos-hero h1 {
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.25;
    margin-bottom: 6px;
}
.sos-hero .sos-hero-sub {
    font-size: .95rem;
    opacity: .85;
    line-height: 1.5;
    max-width: 900px;
}


/* ── SOS TAB NAVIGATION ─────────────────────────────────── */
.sos-tabs {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
}
.sos-tabs-inner {
    max-width: var(--mw);
    margin: 0 auto;
    padding: 0 var(--pad);
    display: flex;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.sos-tabs-inner::-webkit-scrollbar { display: none; }
.sos-tab {
    padding: 13px 18px;
    font-size: .82rem;
    font-weight: 500;
    color: var(--ink-muted);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2.5px solid transparent;
    transition: .2s;
    display: flex;
    align-items: center;
    gap: 6px;
}
.sos-tab:hover {
    color: var(--ink);
    background: var(--bg);
}
.sos-tab.active {
    color: #C62828;
    border-bottom-color: #C62828;
    font-weight: 600;
}
.sos-tab i { font-size: .72rem; opacity: .7; }

@media (max-width: 600px) {
    .sos-tab { padding: 11px 12px; font-size: .76rem; }
}


/* ── SOS INTRO TEXT ────────────────────────────────────── */
.sos-intro {
    max-width: var(--mw);
    margin: 0 auto;
    padding: 32px var(--pad) 8px;
}
.sos-intro p {
    font-size: 1.1rem;
    color: var(--ink-soft);
    line-height: 1.75;
    max-width: 800px;
}
.sos-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 12px 24px;
    background: #C62828;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-family: var(--sans);
    font-size: .92rem;
    font-weight: 600;
    transition: .2s;
    box-shadow: 0 2px 8px rgba(198,40,40,.25);
}
.sos-download-btn:hover {
    background: #B71C1C;
    box-shadow: 0 4px 14px rgba(198,40,40,.35);
    transform: translateY(-1px);
}
.sos-download-btn i {
    font-size: 1.1rem;
}


/* ── STEP BOXES ────────────────────────────────────────── */
.sos-steps {
    max-width: var(--mw);
    margin: 0 auto;
    padding: 24px var(--pad) 48px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sos-step {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r);
    display: flex;
    gap: 0;
    overflow: hidden;
    transition: .2s;
}
.sos-step:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    border-color: #ccc;
}

.sos-step-num {
    width: 72px;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
}

.sos-step-body {
    padding: 20px 24px;
    flex: 1;
    min-width: 0;
}
.sos-step-body h3 {
    font-family: var(--sans);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.sos-step-body h3 i {
    color: var(--ink-muted);
    font-size: 1rem;
}
.sos-step-body p {
    font-size: 1.02rem;
    color: var(--ink-soft);
    line-height: 1.7;
    margin-bottom: 10px;
}
.sos-step-body p:last-child { margin-bottom: 0; }

.sos-step-body .sos-detail {
    font-size: .92rem;
    color: var(--ink-muted);
    line-height: 1.6;
    margin-top: 4px;
}

/* Step urgency colors */
.sos-step--urgent .sos-step-num { background: #C62828; }
.sos-step--important .sos-step-num { background: #E65100; }
.sos-step--standard .sos-step-num { background: #2E7D6F; }
.sos-step--later .sos-step-num { background: #546E7A; }

/* Urgency badges */
.sos-badge {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 4px;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-left: 8px;
    vertical-align: middle;
}
.sos-badge--urgent { background: #FFCDD2; color: #B71C1C; }
.sos-badge--24h { background: #FFE0B2; color: #E65100; }
.sos-badge--days { background: #C8E6C9; color: #1B5E20; }
.sos-badge--weeks { background: #CFD8DC; color: #37474F; }


/* ── INLINE SEARCH (in step) ───────────────────────────── */
.sos-search-inline {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    max-width: 420px;
}
.sos-search-inline input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #2E7D6F;
    border-radius: 8px;
    font-family: var(--sans);
    font-size: .95rem;
    outline: none;
    transition: .2s;
    background: #F9FFFE;
}
.sos-search-inline input:focus {
    border-color: #1a5c52;
    box-shadow: 0 0 0 4px rgba(46,125,111,.2);
    background: white;
}
.sos-search-inline input::placeholder {
    color: #999;
}
.sos-search-inline button {
    padding: 12px 20px;
    background: var(--section);
    color: white;
    border: 0;
    border-radius: 8px;
    font-family: var(--sans);
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: .2s;
}
.sos-search-inline button:hover {
    background: var(--section-dark);
}


/* ── TIMELINE ──────────────────────────────────────────── */
.sos-timeline-section {
    background: var(--bg);
    padding: 48px 0;
}
.sos-timeline-inner {
    max-width: var(--mw);
    margin: 0 auto;
    padding: 0 var(--pad);
}
.sos-timeline-inner h2 {
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--ink);
    text-align: center;
    margin-bottom: 36px;
}

.sos-timeline {
    position: relative;
    padding: 0 0 0 48px;
}
.sos-timeline::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #C62828 0%, #E65100 30%, #2E7D6F 65%, #546E7A 100%);
    border-radius: 3px;
}

.tl-item {
    position: relative;
    margin-bottom: 28px;
    padding-left: 24px;
}
.tl-item:last-child { margin-bottom: 0; }

.tl-dot {
    position: absolute;
    left: -37px;
    top: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 2px currentColor;
}
.tl-dot--urgent { background: #C62828; color: #C62828; }
.tl-dot--important { background: #E65100; color: #E65100; }
.tl-dot--standard { background: #2E7D6F; color: #2E7D6F; }
.tl-dot--later { background: #546E7A; color: #546E7A; }

.tl-time {
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 4px;
}
.tl-time--urgent { color: #C62828; }
.tl-time--important { color: #E65100; }
.tl-time--standard { color: #2E7D6F; }
.tl-time--later { color: #546E7A; }

.tl-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 3px;
}
.tl-desc {
    font-size: .9rem;
    color: var(--ink-muted);
    line-height: 1.55;
}


/* ── RECHTE BOX ────────────────────────────────────────── */
.sos-rights-section {
    max-width: var(--mw);
    margin: 0 auto;
    padding: 48px var(--pad);
}
.sos-rights-section h2 {
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.sos-rights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.sos-right-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 24px 20px;
    transition: .2s;
}
.sos-right-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
    border-color: #ccc;
}
.sos-right-card .rc-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 14px;
}
.sos-right-card h4 {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 6px;
}
.sos-right-card p {
    font-size: .92rem;
    color: var(--ink-soft);
    line-height: 1.6;
}


/* ── BEHÖRDEN SECTION ──────────────────────────────────── */
.sos-behoerden {
    background: var(--bg);
    padding: 48px 0;
}
.sos-behoerden-inner {
    max-width: var(--mw);
    margin: 0 auto;
    padding: 0 var(--pad);
}
.sos-behoerden-inner h2 {
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.behoerde-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.behoerde-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 18px 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.behoerde-item .bh-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--section-light);
    color: var(--section);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    flex-shrink: 0;
}
.behoerde-item h4 {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 3px;
}
.behoerde-item p {
    font-size: .92rem;
    color: var(--ink-soft);
    line-height: 1.55;
}
.behoerde-item .bh-wer {
    font-size: .82rem;
    font-weight: 600;
    color: var(--section);
    margin-top: 4px;
}


/* ── BESTATTUNGSARTEN GRID ─────────────────────────────── */
.sos-arten-section {
    max-width: var(--mw);
    margin: 0 auto;
    padding: 48px var(--pad);
}
.sos-arten-section h2 {
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 8px;
}
.sos-arten-section .arten-sub {
    font-size: .92rem;
    color: var(--ink-muted);
    margin-bottom: 28px;
    max-width: 600px;
}
.arten-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.art-card {
    border-radius: var(--r);
    padding: 22px 18px;
    text-align: center;
    text-decoration: none;
    transition: .2s;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}
.art-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,.1);
}
.art-card .art-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}
.art-card h4 {
    font-size: .95rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 4px;
}
.art-card p {
    font-size: .78rem;
    color: var(--ink-muted);
    line-height: 1.4;
}
.art-card .art-arrow {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: .65rem;
    opacity: 0;
    transition: .2s;
    color: var(--ink-muted);
}
.art-card:hover .art-arrow {
    opacity: 1;
}


/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 900px) {
    .sos-rights-grid { grid-template-columns: 1fr 1fr; }
    .arten-grid { grid-template-columns: repeat(3, 1fr); }

    .sos-step-num {
        width: 52px;
        min-width: 52px;
    }
}
@media (max-width: 600px) {
    .sos-hero { padding: 32px 0 28px; }
    .sos-hero h1 { font-size: 1.5rem; }
    .sos-hero-icon { width: 48px; height: 48px; font-size: 1.2rem; }

    .sos-step { flex-direction: row; align-items: flex-start; }
    .sos-step-num {
        width: 42px;
        min-width: 42px;
        height: 42px;
        min-height: 42px;
        border-radius: 50%;
        font-size: 1.1rem;
        font-weight: 800;
        margin: 16px 0 0 12px;
        padding: 0;
        align-self: flex-start;
        flex-shrink: 0;
    }
    .sos-step-body { padding: 14px 14px 14px 12px; }
    .sos-step-body h3 { font-size: 1.05rem; }

    .sos-rights-grid { grid-template-columns: 1fr; }
    .arten-grid { grid-template-columns: repeat(2, 1fr); }
    .sos-timeline { padding-left: 36px; }
    .sos-timeline::before { left: 13px; }
    .tl-dot { left: -30px; width: 14px; height: 14px; }
    .sos-search-inline { flex-direction: column; }
}
