:root {
    --red: #9D2632;
    --red-strong: #7f1f28;
    --grau: #4D4F5A;
    --ink: #151519;
    --paper: #f6f5f5;
    --muted: #6d6f7a;
    --card: #ffffff;
    --shadow: 0 18px 35px rgba(0,0,0,0.12);
    --radius: 18px;
    --font-display: 'Trebuchet MS', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --stufe-wiwoe: #FBBB21;
    --stufe-gusp: #159A34;
    --stufe-caex: #0B4697;
    --stufe-raro: #E62336;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    line-height: 1.7;
    font-size: clamp(16px, 0.4vw + 14px, 19px);
}

img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-strong); }
.btn { font-weight: 700; font-size: 15px; }

header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--red);
    border-bottom: 1px solid rgba(0,0,0,0.08);
}
.topbar {
    background: #f3f2f2;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    font-size: 14px;
}
.topbar a { color: var(--red); font-weight: 600; }
.topbar a:hover { color: var(--red-strong); }
.navbar {
    background: var(--red);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    font-family: var(--font-display);
}
.navbar .navbar-brand { color: #fff; font-weight: 700; font-size: clamp(17px, 0.3vw + 15px, 20px); letter-spacing: 0.01em; }
.navbar .navbar-brand:hover { color: #fff; }
.navbar .nav-link { color: #fff; font-size: 1rem; font-weight: 700; letter-spacing: 0.01em; }
.navbar .nav-link:hover,
.navbar .nav-link.active { color: #fff; }

.hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    background: linear-gradient(120deg, #ffffff 0%, #f4f5f7 55%, #eef1f6 100%);
    min-height: 85vh;
}
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(157,38,50,0.18), transparent 45%),
                radial-gradient(circle at 70% 10%, rgba(157,38,50,0.08), transparent 40%),
                radial-gradient(circle at 50% 80%, rgba(21,21,25,0.08), transparent 45%);
    z-index: 0;
}
.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 140px 22px 100px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    position: relative;
    z-index: 1;
    align-items: center;
    min-height: 75vh;
}
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(40px, 5.6vw, 58px);
    margin: 0 0 14px;
    line-height: 1.1;
    color: var(--ink);
}
.hero p {
    margin: 0 0 18px;
    max-width: 520px;
    color: var(--grau);
    font-size: clamp(17px, 0.5vw + 14px, 20px);
}
.hero .tag {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(157,38,50,0.12);
    color: var(--red-strong);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 12px;
}
.hero-visual {
    position: relative;
    min-height: 320px;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0,0,0,0.18);
}
.hero-visual img {
    width: 100%; height: 100%; object-fit: cover;
}
.hero-visual::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.25));
    pointer-events: none;
}

.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 22px;
}
.section h2 {
    font-family: var(--font-display);
    font-size: clamp(30px, 4.2vw, 40px);
    margin: 0 0 14px;
}
.section p.lead {
    margin: 0 0 30px;
    color: #3f3f3f;
}
.muted { color: var(--muted); }

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 18px;
}
.card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.03);
}
.card h3 { margin: 10px 0 8px; font-family: var(--font-display); }
.card .pill {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(157,38,50,0.12);
    color: var(--red-strong);
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 10px;
}

.team-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.team-tabs button {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 14px;
    padding: 10px 14px;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    transition: 0.2s ease;
    box-shadow: 0 6px 14px rgba(0,0,0,0.06);
}
.team-tabs button.active { background: var(--red); color: #fff; border-color: var(--red); }
.team-tabs button:hover { transform: translateY(-1px); }
.team-panel { display: none; }
.team-panel.active { display: block; }

.stufen-tabs button {
    border-color: rgba(77,79,90,0.2);
    color: var(--grau);
}
.stufen-tabs button.active {
    background: var(--stufe-color);
    border-color: var(--stufe-color);
    color: #fff;
}
.stufen-panel {
    border: 1px solid rgba(77,79,90,0.18);
    border-top: 6px solid var(--stufe-color);
    border-radius: 18px;
    padding: 20px;
    background: #fff;
    box-shadow: var(--shadow);
}
.stufen-panel h3 {
    color: var(--stufe-color);
    font-family: var(--font-display);
}
.stufen-panel .btn {
    background: var(--stufe-color);
    border-color: var(--stufe-color);
}
.stufen-panel .btn:hover {
    background: color-mix(in srgb, var(--stufe-color) 85%, #000);
    border-color: color-mix(in srgb, var(--stufe-color) 85%, #000);
}
.stufe-leaders {
    margin-top: 16px;
}
.stufe-leaders strong {
    display: block;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--grau);
    margin-bottom: 6px;
}
.stufe-leaders ul {
    padding-left: 18px;
    margin: 0;
}
.stufe-leaders li {
    margin-bottom: 2px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}
.member-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.04);
}
.member-card img { width: 100%; height: 200px; object-fit: cover; }
.stufen-panel .member-card img { height: 230px; }
.member-card .body { padding: 14px 16px 16px; }
.member-card h4 { margin: 0 0 6px; font-family: var(--font-display); }
.member-card .role { color: var(--muted); font-size: 14px; }
.group-section .member-card {
    box-shadow: 0 12px 22px rgba(0,0,0,0.08);
}
.group-section .member-card img {
    height: 260px;
    object-position: center 10%;
}

.stufen-panel .member-card {
    background: transparent;
    border: 0;
    box-shadow: none;
    text-align: center;
}
.stufen-panel .member-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
    border: 1px solid rgba(0,0,0,0.12);
}
.stufen-panel .member-card.is-stufenleitung img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--red);
}
.stufen-panel .member-card .body {
    padding: 8px 0 0;
}
.stufen-panel .member-card h4 {
    font-size: 16px;
}
.stufen-legend {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--grau);
    margin: 8px 0 14px;
}
.stufen-legend .legend-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--red);
    display: inline-block;
}

.cta {
    background: linear-gradient(135deg, var(--red) 0%, #b3313d 100%);
    color: #fff;
    border-radius: 26px;
    padding: 44px 36px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    align-items: center;
    box-shadow: 0 20px 50px rgba(157,38,50,0.3);
}
.cta h3 { margin: 0 0 8px; font-size: 26px; font-family: var(--font-display); }
.cta p { margin: 0; }
.cta .cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cta .cta-actions { margin-top: 16px; }
.btn-ppoe-grey {
    background: var(--grau);
    border-color: var(--grau);
    color: #fff;
}
.btn-ppoe-grey:hover {
    background: #3f414a;
    border-color: #3f414a;
    color: #fff;
}
.cta .btn-outline-light { border-color: rgba(255,255,255,0.8); }
.cta-times {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    display: grid;
    gap: 6px;
    font-size: 18px;
}
.cta-times strong {
    display: inline-block;
    min-width: 64px;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 14px;
    font-weight: 700;
    border: 2px solid transparent;
    cursor: pointer;
    transition: 0.2s ease;
}
.button.primary { background: #fff; color: var(--red); }
.button.primary:hover { background: #f6f6f6; }
.button.ghost { border-color: rgba(255,255,255,0.7); color: #fff; }
.button.ghost:hover { background: rgba(255,255,255,0.12); }

.split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    align-items: center;
}

.badge-list { display: flex; gap: 10px; flex-wrap: wrap; }
.badge { background: rgba(0,0,0,0.04); padding: 6px 10px; border-radius: 12px; font-weight: 600; }

footer {
    background: #f4f3f3;
    color: #2a2a2a;
    padding: 30px 22px 60px;
    margin-top: 60px;
    border-top: 1px solid rgba(0,0,0,0.06);
}
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; gap: 12px; }
.footer-inner a { color: var(--red); }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px; }

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
}
.highlight {
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(77,79,90,0.15);
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.highlight strong { display: block; margin-bottom: 6px; font-size: 19px; }
.highlight .muted { font-size: 16px; }
.highlight-link {
    display: block;
    color: inherit;
    text-decoration: none;
}
.highlight-link:hover .highlight {
    border-color: rgba(157,38,50,0.3);
    transform: translateY(-2px);
}

.download-list { display: grid; gap: 10px; }
.download-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}
.download-item span { font-weight: 600; }
.download-item small { color: var(--muted); }

.feature-list { display: grid; gap: 18px; }
.feature-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    align-items: center;
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: var(--shadow);
    padding: 16px;
}
.feature-media img { width: 100%; border-radius: 14px; object-fit: cover; }
.feature-title { margin: 0 0 6px; font-size: clamp(20px, 0.6vw + 16px, 24px); font-family: var(--font-display); font-weight: 700; }
.feature-row p { font-size: clamp(16px, 0.4vw + 14px, 19px); }

.activity-card {
    padding: 16px;
}
.activity-img {
    width: 100%;
    height: auto;
    max-height: 260px;
    object-fit: contain;
    background: #f4f3f3;
}

.hero-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    margin-top: 16px;
}
.hero-gallery img {
    cursor: pointer;
}
.hero-gallery button,
.hero-visual button {
    padding: 0;
    border: 0;
    background: transparent;
    width: 100%;
    height: 100%;
}
.hero-gallery img {
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hero-gallery img:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.modal-title {
    font-size: 22px;
}
.modal-body {
    font-size: 16px;
}
.hero-gallery img { border-radius: 12px; height: 110px; object-fit: cover; }

.scarf-strip {
    border-top: 1px solid rgba(0,0,0,0.06);
}
.scarf-banner {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

.scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(77,79,90,0.35);
    background: rgba(255,255,255,0.85);
    display: grid;
    place-items: center;
    text-decoration: none;
    color: var(--grau);
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
    z-index: 2;
}
.scroll-indicator::after {
    content: '';
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--grau);
    border-bottom: 2px solid var(--grau);
    transform: rotate(45deg);
    margin-top: -4px;
    animation: bounce 1.6s infinite;
}
.scroll-dot { display: none; }
@keyframes bounce {
    0%, 100% { transform: translateY(0) rotate(45deg); }
    50% { transform: translateY(6px) rotate(45deg); }
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0,0,0,0.55);
    border-radius: 50%;
    padding: 18px;
    background-size: 55% 55%;
}
.carousel-control-prev,
.carousel-control-next {
    opacity: 1;
}

@media (max-width: 720px) {
    header { position: sticky; }
    .hero { min-height: auto; }
    .hero-inner { padding: 90px 18px 70px; min-height: auto; }
    .section { padding: 64px 18px; }
    .cta { padding: 28px 24px; }
    .hero-visual img { height: auto; }
}
.scarf-strip {
    border-top: 1px solid rgba(0,0,0,0.06);
    background: #f4f3f3;
    padding: 0;
}
.scarf-banner {
    width: 100vw;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    margin-left: calc(50% - 50vw);
}
