/* ==========================================================================
   Welcome Page – Yuvenda-inspired section-based layout
   Prefix: wp-  (welcome-page)
   ========================================================================== */

/* --- Tokens --- */
:root {
    --wp-primary: #1a365d;
    --wp-primary-light: #2a4a7f;
    --wp-bg-alt: #f8fafc;
    --wp-bg-accent: #f0f5ff;
    --wp-text: #1e293b;
    --wp-text-muted: #475569;
    --wp-radius: 12px;
    --wp-shadow: 0 2px 12px rgba(26, 54, 93, 0.08);
    --wp-shadow-hover: 0 8px 24px rgba(26, 54, 93, 0.14);
    --wp-transition: 0.25s ease;
    --wp-max-w: 1080px;
}

/* --- Section reset (full-width bands) --- */
.wp-page {
    width: 100%;
}

.wp-section {
    padding: 64px 0;
}

.wp-section--alt {
    padding: 64px 0;
    background-color: var(--wp-bg-alt);
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.wp-section--accent {
    padding: 64px 0;
    background-color: var(--wp-bg-accent);
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.wp-section--dark {
    padding: 64px 0;
    background-color: var(--wp-primary);
    color: #fff;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* --- Container ---
   max-width:none, damit der Inhalt die volle Breite der .main-content
   (static-content-wide = Extras-Breite) nutzt und Startseite, Extras und
   Bestellformular gleich breit sind. Lange Fließtexte werden separat
   über eigene max-width-Regeln (z.B. .wp-hero__intro) lesbar gehalten. */
.wp-container {
    max-width: none;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Hero --- */
.wp-hero {
    text-align: center;
    padding: 72px 0 64px;
}

.wp-hero__title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    color: var(--wp-primary);
    letter-spacing: -0.5px;
    margin: 0 0 12px;
    line-height: 1.15;
}

.wp-hero__subtitle {
    font-size: clamp(16px, 2vw, 22px);
    font-weight: 600;
    color: var(--wp-text-muted);
    margin: 0 0 20px;
}

.wp-hero__title--left {
    text-align: left;
}

.wp-hero__intro {
    font-size: 16px;
    color: var(--wp-text);
    max-width: 720px;
    margin: 0 auto 32px;
    line-height: 1.65;
}

.wp-hero__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.wp-hero__banner {
    margin: 40px auto 0;
    border-radius: var(--wp-radius);
    overflow: hidden;
}

.wp-hero__banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Buttons ---
   Anchor-/state-Selektoren explizit, um die globale Regel
   `a, a:link, a:hover, a:visited { color:#000 }` aus Style.css zu überschreiben. */
.wp-page .wp-btn,
.wp-page a.wp-btn,
.wp-page a.wp-btn:link,
.wp-page a.wp-btn:visited {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--wp-transition);
    border: 2px solid var(--wp-primary);
    background-color: var(--wp-primary);
    color: #fff;
    text-align: center;
    line-height: 1.4;
}

.wp-page .wp-btn:hover,
.wp-page a.wp-btn:hover,
.wp-page .wp-btn:focus,
.wp-page a.wp-btn:focus {
    background-color: var(--wp-primary-light);
    border-color: var(--wp-primary-light);
    color: #fff;
    text-decoration: none;
    box-shadow: var(--wp-shadow);
}

.wp-page .wp-btn--ghost,
.wp-page a.wp-btn--ghost,
.wp-page a.wp-btn--ghost:link,
.wp-page a.wp-btn--ghost:visited {
    background-color: transparent;
    color: var(--wp-primary);
}

.wp-page .wp-btn--ghost:hover,
.wp-page a.wp-btn--ghost:hover,
.wp-page .wp-btn--ghost:focus,
.wp-page a.wp-btn--ghost:focus {
    background-color: var(--wp-primary);
    color: #fff;
}

.wp-page .wp-btn--white,
.wp-page a.wp-btn--white,
.wp-page a.wp-btn--white:link,
.wp-page a.wp-btn--white:visited {
    background-color: #fff;
    color: var(--wp-primary);
    border-color: #fff;
}

.wp-page .wp-btn--white:hover,
.wp-page a.wp-btn--white:hover,
.wp-page .wp-btn--white:focus,
.wp-page a.wp-btn--white:focus {
    background-color: var(--wp-bg-alt);
    border-color: var(--wp-bg-alt);
    color: var(--wp-primary);
    text-decoration: none;
}

/* --- Section headings --- */
.wp-heading {
    text-align: center;
    margin-bottom: 48px;
}

.wp-heading__title {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
    color: var(--wp-primary);
    margin: 0 0 12px;
}

.wp-heading__sub {
    font-size: 16px;
    color: var(--wp-text-muted);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}

.wp-section--dark .wp-heading__title {
    color: #fff;
}

.wp-section--dark .wp-heading__sub {
    color: rgba(255, 255, 255, 0.8);
}

/* --- Card grid --- */
.wp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.wp-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.wp-grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.wp-card {
    background: #fff;
    border-radius: var(--wp-radius);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--wp-shadow);
    transition: transform var(--wp-transition), box-shadow var(--wp-transition);
}

.wp-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--wp-shadow-hover);
}

.wp-card__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    display: block;
}

.wp-card__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--wp-primary);
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.wp-card__text {
    font-size: 14px;
    color: var(--wp-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* --- Trust band --- */
.wp-trust {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.wp-trust__item {
    text-align: center;
    flex: 0 1 auto;
}

.wp-trust__value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--wp-primary);
    margin-bottom: 4px;
}

.wp-trust__label {
    font-size: 14px;
    color: var(--wp-text-muted);
}

/* --- Video wrapper (behält natives Seitenverhältnis bei) --- */
.wp-video {
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--wp-radius);
    overflow: hidden;
    box-shadow: var(--wp-shadow);
    line-height: 0;
}

.wp-video video {
    display: block;
    width: 100%;
    height: auto;
}

/* --- Process image --- */
.wp-process-img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto 40px;
    border-radius: var(--wp-radius);
}

/* --- CTA band --- */
.wp-cta-band {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    text-align: center;
}

.wp-cta-band__text {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.wp-section--dark .wp-cta-band__text {
    color: #fff;
}

/* --- Links grid (Beliebte Themen) --- */
.wp-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 48px;
    max-width: 720px;
    margin: 0 auto;
}

.wp-links a {
    display: block;
    padding: 10px 0;
    color: var(--wp-primary);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid #e2e8f0;
    transition: color var(--wp-transition);
}

.wp-links a:hover {
    color: var(--wp-primary-light);
    text-decoration: none;
}

/* --- Seller hero layout --- */
.wp-seller-hero {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.wp-seller-hero__icon {
    flex-shrink: 0;
    width: 120px;
    height: auto;
}

.wp-seller-hero__body {
    flex: 1;
}

.wp-seller-hero__text {
    font-size: 16px;
    color: var(--wp-text);
    line-height: 1.65;
    margin: 0 0 16px;
}

.wp-seller-hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 24px;
}

/* --- Desktop/Tablet: Hero-Banner als transparenter Hintergrund hinter dem Textblock.
   Greift erst ab 768px, damit die mobile Ansicht (Banner unter dem Text) unverändert bleibt. --- */
@media (min-width: 768px) {
    .wp-hero-section .wp-container {
        position: relative;
    }

    .wp-hero-section .wp-hero {
        position: relative;
        z-index: 2;
    }

    .wp-hero-section .wp-hero__banner {
        position: absolute;
        inset: 0;
        margin: 0;
        z-index: 1;
        opacity: 0.18;
        pointer-events: none;
        border-radius: var(--wp-radius);
    }

    .wp-hero-section .wp-hero__banner img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* --- Responsive: tablet --- */
@media (max-width: 991px) {
    .wp-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .wp-grid--3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .wp-section,
    .wp-section--alt,
    .wp-section--accent,
    .wp-section--dark {
        padding: 48px 0;
    }

    .wp-trust {
        gap: 32px;
    }

    .wp-seller-hero {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .wp-seller-hero__actions {
        justify-content: center;
    }
}

/* --- Responsive: mobile --- */
@media (max-width: 767px) {
    .wp-grid,
    .wp-grid--3,
    .wp-grid--2 {
        grid-template-columns: 1fr;
    }

    .wp-section,
    .wp-section--alt,
    .wp-section--accent,
    .wp-section--dark {
        padding: 36px 0;
    }

    .wp-container {
        padding: 0 16px;
    }

    .wp-hero {
        padding: 24px 0 16px;
    }

    .wp-hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .wp-btn {
        width: 100%;
        max-width: 320px;
    }

    .wp-heading {
        margin-bottom: 32px;
    }

    .wp-links {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .wp-trust {
        flex-direction: column;
        gap: 24px;
    }

    .wp-cta-band {
        flex-direction: column;
        gap: 20px;
    }

    .wp-seller-hero__icon {
        width: 80px;
    }
}
