/* =========================================================
   ROOT VARIABLES
   ========================================================= */
:root {
    --color-primary: #1b4d89;
    --color-secondary: #efd81b;
    --color-dark: #222;
    --color-light: #f7f7f7;
    --color-text: #333;

    --radius: 6px;
    --max-width: 62.5rem;
    --transition: 0.25s ease;
}

/* =========================================================
   GLOBAL BASE STYLES
   ========================================================= */
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(1rem, 4.5vw, 1.5rem);
    background: var(--color-light);
    color: var(--color-text);
    line-height: 1.6;
}

.container {
    max-width: var(--max-width);
    margin: auto;
    text-align: center;
    padding-left: 2rem;
    padding-right: 2rem;
}

section {
    padding-bottom: 1rem;
    text-align: center;
}

.section-box {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    margin-bottom: 2rem;
}

h1 {
    margin-top: 15%;
}

.p_footer {
    font-size: 1.25rem;
}

/* =========================================================
   HEADER FULLSCREEN
   ========================================================= */
.header {
    background: var(--color-primary);
    color: white;
    height: 100vh;
    display: flex;
    align-items: center;
}

.header-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* CTA Scroll Wrapper */
.cta-scroll-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    margin-top: 1rem;
}

/* CTA Button */
.cta {
    display: inline-block;
    margin-top: 25px;
    padding: 14px 28px;
    background: var(--color-secondary);
    color: #333;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
}

.cta:hover {
    background: #e6b800;
}

/* =========================================================
   HEADER IMAGE SLIDER
   ========================================================= */
.header-slider {
    margin: 2rem auto;
    max-width: 30rem;
    overflow: hidden;
    border-radius: var(--radius);
}

.header-slides {
    display: flex;
    transition: transform 0.4s ease;
}

.header-slide img {
    width: 100%;
    border-radius: var(--radius);
}

/* =========================================================
   FEATURE SLIDER
   ========================================================= */
.feature-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.feature-slides {
    display: flex;
    transition: transform 0.4s ease;
    will-change: transform;
}

.feature-slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 2rem 1.5rem;
    text-align: center;
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-slide:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.feature-slide > h3 {
    margin: 0;
}

.feature-icon {
    margin-bottom: 1rem;
    color: var(--color-primary);
    display: flex;
    justify-content: center;
}

.feature-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.feature-dot {
    width: 12px;
    height: 12px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
}

.feature-dot.active {
    background: var(--color-primary);
}

/* =========================================================
   HOW-IT-WORKS SLIDER
   ========================================================= */
.slider {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    margin-top: 2rem;
}

.slides {
    display: flex;
    transition: transform 0.4s ease;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.slide img {
    width: 100%;
    max-width: 22rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-secondary);
    border: none;
    padding: 0.6rem 1rem;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 1.4rem;
    font-weight: bold;
    transition: var(--transition);
}

.prev { left: 1rem; }
.next { right: 1rem; }

.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    gap: 0.5rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
}

.slider-dot.active {
    background: var(--color-primary);
}

/* =========================================================
   FAQ + TARGET USERS + WHY DIGITAL
   ========================================================= */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.faq-item {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.faq-item > h3 {
    margin-top: 0;
}

.faq-icon {
    margin-bottom: 0.8rem;
    color: var(--color-primary);
}

.faq-more {
    display: none;
    margin-top: 1.5rem;
}

.faq-more.open {
    display: block;
}

.faq-more-btn {
    margin-top: 1.5rem;
    background: var(--color-primary);
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    font-size: clamp(1rem, 4.5vw, 1.5rem);
}

/* =========================================================
   FLOWCHART (So funktioniert�s)
   ========================================================= */
.flowchart-wrap {
    position: relative;
    margin-top: 2rem;
}

.flowchart-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-primary);
    transform: translateY(-50%);
    z-index: 1;
}

.flowchart-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem 1rem;
    position: relative;
    z-index: 2;
}

.flow-node {
    background: white;
    padding: 1.2rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    text-align: center;
}

.flow-number {
    display: inline-block;
    background: var(--color-primary);
    color: white;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    margin-bottom: 0.5rem;
}

/* Mobile: vertikale Linie */
@media (max-width: 700px) {
    .flowchart-line {
        top: 0;
        left: 50%;
        width: 4px;
        height: 100%;
        transform: translateX(-50%);
    }

    .flowchart-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* =========================================================
   SCROLL DOWN ARROWS
   ========================================================= */
.scroll-down {
    width: clamp(30px, 6vw, 50px);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(2px, 0.8vw, 6px);
}

.arrow {
    width: clamp(18px, 4vw, 32px);
    height: clamp(18px, 4vw, 32px);
    border-bottom: clamp(0.25rem, 1vw, 0.45rem) solid white;
    border-right: clamp(0.25rem, 1vw, 0.45rem) solid white;
    transform: rotate(45deg);
    animation: arrowBounce 1.5s infinite ease-in-out;
    opacity: 0.9;
}

.arrow:nth-child(1) { animation-delay: 0s; }
.arrow:nth-child(2) { animation-delay: 0.15s; }
.arrow:nth-child(3) { animation-delay: 0.3s; }

.scroll-text {
    font-size: clamp(1rem, 2.5vw, 1.75rem);
    color: white;
    opacity: 0.85;
    animation: scrollTextFade 2s infinite ease-in-out;
    letter-spacing: 0.5px;
    margin-top: 2rem;
    margin-bottom: 2rem;
    width: 15rem;
}

@keyframes arrowBounce {
    0%   { transform: translateY(0) rotate(45deg); opacity: 0.9; }
    50%  { transform: translateY(clamp(6px, 2vw, 14px)) rotate(45deg); opacity: 1; }
    100% { transform: translateY(0) rotate(45deg); opacity: 0.9; }
}

@keyframes scrollTextFade {
    0%   { opacity: 0.6; }
    50%  { opacity: 1; }
    100% { opacity: 0.6; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
    background: var(--color-dark);
    color: white;
    padding: 25px 0;
    text-align: center;
    margin-top: 40px;
}

.footer a {
    color: white;
    margin: 0 12px;
    text-decoration: none;
    font-size: 0.95rem;
}

.footer a:hover {
    text-decoration: underline;
}
