/* Grundstyles */
:root {
    --primary: #003A8C;
    --text-main: #222;
    --text-muted: #555;
    --accent: #F5F5F5;
    --border-light: #D9D9D9;
    --max-width: 1200px;
    --shadow-soft: 0 10px 25px rgba(0,0,0,0.08);
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background: white;
    color: var(--text-main);
    line-height: 1.6;
}

/* Hero-Bar / Header */
.hero-bar {
    background: var(--primary);
    color: white;
    padding: 1.8rem 2rem;
    box-shadow: var(--shadow-soft);
    text-align: center;
    font-weight: 600;
    font-size: clamp(1.6rem, 2.8vw, 2.3rem);
}

/* Seitenlayout */
.page {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2.5rem 1.5rem 3rem;
}

/* Optional: Device Section (falls du sie später nutzen möchtest) */
.device-section {
    display: flex;
    justify-content: center;
    margin: 2.5rem 0 3.5rem;
}

.device-card {
    background: #fff;
    padding: 2rem 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
}

.device-card img {
    max-width: 380px;
    width: 100%;
    height: auto;
    display: block;
}

/* Tab Navigation */
.tabs {
    display: flex;
    border-bottom: 3px solid var(--primary);
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab {
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary);
    border: 3px solid transparent;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    background: var(--accent);
    text-decoration: none;
    user-select: none;
    transition: background-color 0.3s;
}

.tab.active,
.tab:hover {
    background: white;
    border-color: var(--primary);
    border-bottom: 3px solid white; /* verdeckt die Border unten */
    color: var(--primary);
}

/* Info Layout */
.info-layout {
    display: grid;
    grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
    align-items: flex-start;
    gap: 3rem;
}

.info-label {
    background: var(--primary);
    color: white;
    padding: 1.1rem 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 0 8px 8px 0;
    box-shadow: var(--shadow-soft);
    width: fit-content;
    position: sticky;
    top: 1.5rem;
}

.info-card {
    border-top: 3px solid var(--primary);
    padding-top: 1.4rem;
}

.info-card p {
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.98rem;
}

/* Steps (erste Seite) */
.steps {
    margin-top: 1.5rem;
    border-left: 3px solid var(--primary);
    padding-left: 1rem;
}

.step {
    margin-bottom: 1.2rem;
}

.step-title {
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.step p {
    margin-bottom: 0.25rem;
}

/* Call-to-Action Box (erste Seite) */
.cta-box {
    margin-top: 2rem;
    padding: 1.2rem 1.4rem;
    background: var(--accent);
    border-radius: 10px;
    border: 1px solid var(--border-light);
}

.cta-box strong {
    color: var(--primary);
}

/* Cause List (zweite Seite) */
.cause-list {
    margin-top: 1rem;
    border-left: 3px solid var(--primary);
    padding-left: 1rem;
    list-style: none;
}

.cause-list li {
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--primary);
}

.cause-list li p {
    font-weight: normal;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

/* Responsive Anpassungen */
@media (max-width: 900px) {
    .info-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .info-label {
        border-radius: 6px;
        position: static;
    }
    .device-card {
        padding: 1.5rem 1.5rem;
    }
}

@media (max-width: 600px) {
    .hero-bar {
        padding: 1.2rem 1rem;
    }
    .page {
        padding: 1.7rem 1rem 2.2rem;
    }
    .hero-title {
        font-size: 1.3rem;
    }
}