/* ==========================================
   Subpage Styles - SVEDKIJS IT-Systemhaus
   ========================================== */

/* --- Page Hero --- */
.page-hero {
    position: relative;
    color: var(--color-white);
    padding: 8rem 0 4rem;
    overflow: hidden;
}

.page-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.page-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 15, 35, 0.75) 0%, rgba(15, 40, 90, 0.65) 50%, rgba(20, 60, 120, 0.60) 100%);
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero__back {
    display: inline-block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    transition: color var(--transition);
}

.page-hero__tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    margin-bottom: 1rem;
}

.page-hero__back:hover {
    color: var(--color-white);
}

.page-hero__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-hero__subtitle {
    font-size: 1.15rem;
    opacity: 0.85;
    max-width: 650px;
    line-height: 1.7;
}

/* --- Content Grid --- */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 4rem;
    align-items: start;
}

.content-block {
    margin-bottom: 3rem;
}

.content-block h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.content-block p {
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* --- Feature List --- */
.feature-list {
    margin-top: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--color-border);
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-item__icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    color: var(--color-blue);
    margin-top: 0.15rem;
}

.feature-item__icon svg {
    width: 100%;
    height: 100%;
}

.feature-item h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 0.35rem;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 0;
}

/* --- Styled List --- */
.styled-list {
    margin-top: 1rem;
    padding-left: 0;
}

.styled-list li {
    padding: 0.6rem 0 0.6rem 1.75rem;
    position: relative;
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.styled-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-blue);
}

/* --- Sidebar --- */
.content-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-blue-mid) 100%);
    color: var(--color-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

.sidebar-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.sidebar-card p {
    font-size: 0.9rem;
    opacity: 0.85;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.sidebar-card .btn {
    width: 100%;
}

.sidebar-card__highlight {
    font-family: var(--font-code);
    font-size: 1.5rem;
    font-weight: 700;
    color: #5EE7FF;
    opacity: 1 !important;
    margin-bottom: 0.75rem !important;
}

.sidebar-card--light {
    background: var(--color-bg-light);
    color: var(--color-text);
}

.sidebar-card--light h3 {
    color: var(--color-navy);
}

.sidebar-card--light p {
    color: var(--color-text-light);
    opacity: 1;
}

.sidebar-stat {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.sidebar-stat__number {
    font-family: var(--font-code);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-blue);
    line-height: 1;
}

.sidebar-stat__label {
    font-size: 0.95rem;
    color: var(--color-text-light);
    font-weight: 600;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr 300px;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 7rem 0 3rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .content-sidebar {
        position: static;
    }
}

/* --- Legal Pages (Impressum / Datenschutz) --- */
.legal-content {
    max-width: 860px;
}

.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-navy);
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-border);
}

.legal-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 1.75rem 0 0.6rem;
}

.legal-content p {
    margin-bottom: 1rem;
    color: var(--color-text);
    line-height: 1.8;
}

.legal-content address {
    font-style: normal;
    margin-bottom: 1rem;
    line-height: 2;
}

.legal-content a {
    color: var(--color-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-content a:hover {
    color: var(--color-blue-mid);
}

.legal-list {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-list li {
    margin-bottom: 0.4rem;
    line-height: 1.7;
}

.legal-note {
    background: var(--color-bg-alt);
    border-left: 3px solid var(--color-blue);
    padding: 0.75rem 1rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    font-size: 0.95rem;
}

.legal-uppercase {
    font-size: 0.9rem;
    line-height: 1.7;
}
