/*
Theme Name: Wisdom Energy Drink Theme
Description: WordPress Theme für WISDOM Energy Drink - Energie für den Körper, Orientierung für die Seele
Version: 1.0
Author: Wisdom Energy Drink
Text Domain: wisdom-energy
*/

/* --- 1. CORE VARIABLES & RESET --- */
:root {
    /* Farben: Warm, Modern, "Wisdom" */
    --bg-color: #FFF5EB;
    --bg-secondary: #FFF9F2;
    --text-main: #1A1A40;      /* Deep Navy */
    --text-light: #4a4a6a;
    --accent: #D98256;         /* Terracotta */
    --accent-hover: #c57248;
    --accent-glow: rgba(217, 130, 86, 0.4);
    --white: #ffffff;

    /* Spacing & Effects */
    --radius-l: 24px;
    --radius-m: 12px;
    --shadow-soft: 0 15px 40px rgba(26, 26, 64, 0.06);
    --shadow-hover: 0 20px 50px rgba(26, 26, 64, 0.12);
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: var(--text-main);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h1 { font-size: 3.5rem; margin-bottom: 1.5rem; }
h2 { font-size: 2.2rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; font-weight: 700; }
p { font-size: 1.05rem; color: var(--text-light); margin-bottom: 1.5rem; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

/* --- 2. COMPONENTS --- */

/* Buttons */
/* Update für die Buttons - High End Look */
.btn {
    display: inline-flex;
    align-items: center;
    background-color: var(--accent);
    color: var(--white);
    padding: 18px 36px 18px 28px; /* Rechts weniger Platz wegen Pfeil */
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 20px var(--accent-glow);
    letter-spacing: 0.02em;
    gap: 12px; /* Abstand zwischen Text und Pfeil */
}

.btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 30px var(--accent-glow);
}

/* Der neue Pfeil im Button */
.btn-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease; /* Weiche Bewegung */
}

/* Hover Effekt: Pfeil gleitet nach rechts */
.btn:hover .btn-arrow {
    transform: translateX(5px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    box-shadow: none;
    margin-top: 10px;
}

.btn-secondary:hover {
    background-color: var(--accent);
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px var(--accent-glow);
}

/* Animation Utilities */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- 3. SECTIONS --- */

/* HERO SECTION */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 95vh;
    padding: 120px 0 80px;
    background: var(--bg-color);
}

.hero-text {
    flex: 1;
    padding-right: 60px;
    z-index: 2;
}

/* Logo oben mittig über der gesamten Seite */
.top-logo {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
}

.top-logo-image {
    max-width: 180px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
    transition: transform 0.3s ease;
}

.top-logo-image:hover {
    transform: scale(1.05);
}

.hero-sub {
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1.5rem;
    display: inline-block;
    background: rgba(217, 130, 86, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
}

.hero-desc {
    font-size: 1.2rem;
    max-width: 580px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    max-height: 650px;
    /* NEU: Lila/Violetter Glow statt schwarzer Schatten */
    filter: drop-shadow(0 25px 60px rgba(130, 80, 160, 0.5));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-25px); }
    100% { transform: translateY(0px); }
}

/* PROCESS SECTION */
.section-process {
    padding: 120px 0;
    background-color: var(--bg-secondary);
    text-align: center;
}

/* Container Grid etwas breiter ziehen */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px; /* Schöner Abstand zwischen den Karten */
    margin-top: 80px;
}

/* Die neue "Apple-Style" Karte */
.process-item {
    background: var(--white);
    padding: 50px 30px;      /* Viel Innenabstand (Whitespace is Luxury) */
    border-radius: 24px;     /* Starke Rundung */
    text-align: left;        /* Linksbündig wirkt oft moderner/strukturierter */
    position: relative;      /* Wichtig für die Nummer im Hintergrund */
    overflow: hidden;        /* Damit die Nummer nicht rausragt */
    box-shadow: 0 10px 40px rgba(0,0,0,0.03); /* Extrem weicher Schatten */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(0,0,0,0.03); /* Ganz zarte Kante */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.process-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

/* Process-Section: Zahlen oben rechts (ursprüngliche Position) */
.process-bg-number {
    position: absolute;
    top: -10px;
    right: 20px;
    font-family: 'Playfair Display', serif;
    font-size: 8rem;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.08;
    line-height: 1;
    pointer-events: none;
    z-index: 0;
}

/* Step-Cards: Zahlen unten rechts (Magazine Look) */
.step-bg-number {
    position: absolute;
    top: auto;          /* Nicht mehr oben */
    bottom: -15px;      /* Etwas höher, nicht ganz am Rand */
    right: -10px;       /* Schiebt sie nach rechts außen */
    font-family: 'Playfair Display', serif;
    font-size: 10rem;   /* Noch größer für mehr Abstraktion */
    font-weight: 700;
    color: var(--accent);
    opacity: 0.06;      /* Sehr zart (6% Deckkraft) */
    line-height: 1;
    pointer-events: none;
    z-index: 0;
    user-select: none;  /* Verhindert Markieren */
}

/* --- CSS UPDATE FÜR PROCESS ICONS --- */
/* Der Kreis um das Icon - jetzt mit edlem "Soft Tint" */
.process-item .icon-wrapper {
    width: 72px;            /* Perfekte Größe */
    height: 72px;
    background-color: rgba(217, 130, 86, 0.08); /* 8% Deckkraft deiner Farbe -> SEHR EDEL */
    border-radius: 50%;     /* Kreisrund */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 25px 0;    /* Abstand nach unten */
    transition: all 0.3s ease;
}

/* Das SVG Icon selbst */
.process-item .icon-wrapper svg {
    width: 32px;            /* Icon Größe */
    height: 32px;
    color: var(--accent);   /* Deine Terracotta Farbe */
    stroke-width: 1.5px;    /* Feine Linien für Eleganz */
    transition: transform 0.3s ease;
}

/* Hover-Effekt: Der Kreis wird etwas dunkler, Icon wächst */
.process-item:hover .icon-wrapper {
    background-color: rgba(217, 130, 86, 0.15); /* Etwas kräftiger beim Hover */
    transform: scale(1.05); /* Sanftes Wachsen */
}

.process-item:hover .icon-wrapper svg {
    transform: scale(1.1);
}

/* Typografie Anpassung für mehr Luft */
.process-item h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    position: relative;
    z-index: 1; /* Über der Nummer liegen */
}

.process-item p {
    font-size: 1.05rem;
    line-height: 1.7; /* Zeilenabstand erhöht gegen "Quetschen" */
    color: #666;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.icon-wrapper img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

/* BENEFITS SECTION */
.section-benefits {
    padding: 120px 0;
    overflow: hidden;
}

.benefits-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.benefits-list {
    list-style: none;
    margin: 2.5rem 0;
}

.benefits-list li {
    position: relative;
    padding-left: 45px;
    margin-bottom: 30px;
}

.benefits-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 28px;
    height: 28px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
}

.benefits-list li strong {
    display: block;
    color: var(--text-main);
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.img-container {
    position: relative;
    border-radius: var(--radius-l);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    height: 600px;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.img-container:hover img {
    transform: scale(1.03);
}

/* PACKAGE / CARDS SECTION */
.section-package {
    padding: 120px 0;
    background: var(--white);
}

.package-grid {
    display: grid;
    /* 2x2 Raster auf Desktop/Tablet, kein 3+1 Layout */
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
    margin-top: 60px;
}

/* Update für den Apple-Minimalismus Look */
.package-card {
    /* Hintergrund: Fast Weiß, ganz leicht transparent */
    background-color: rgba(255, 255, 255, 0.8);
    padding: 45px 35px;
    border-radius: var(--radius-l);
    transition: var(--transition);
    text-align: center;

    /* Apple-Style Border: Ganz zart, kaum sichtbar */
    border: 1px solid rgba(0, 0, 0, 0.06);

    /* Apple-Style Shadow: Extrem weich und diffus */
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);

    /* Milchglas-Effekt */
    backdrop-filter: blur(10px);
}

.package-card:hover {
    transform: translateY(-5px);
    /* Beim Hover wird der Schatten etwas stärker, aber bleibt weich */
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(217, 130, 86, 0.3); /* Akzent-Orange, aber zart */
}

/* ONBOARDING SECTION */
.section-onboarding {
    padding: 80px 0 0 0;
    background: var(--bg-secondary);
    text-align: center;
    margin-top: -120px; /* Bilder grenzen direkt an Section */
}

.onboarding-steps {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 70px 0;
    flex-wrap: wrap;
}

.step-card {
    flex: 1;
    min-width: 280px;
    background: var(--white);
    padding: 50px 40px;      /* Mehr Innenabstand wie bei Process-Cards */
    border-radius: 24px;     /* Starke Rundung wie Apple */
    box-shadow: 0 10px 40px rgba(0,0,0,0.03); /* Extrem weicher Schatten */
    position: relative;
    text-align: left;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(0,0,0,0.03); /* Ganz zarte Kante */
    overflow: hidden;        /* Für Watermark-Zahlen */
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

/* Typografie für Step-Cards konsistent mit Process-Cards */
.step-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    margin-top: 20px;
    position: relative;
    z-index: 1; /* Über der Nummer liegen */
}

/* Sicherstellen, dass der Text immer ÜBER der Zahl liegt */
.step-card h3,
.step-card p {
    position: relative;
    z-index: 2;
}

/* Optional: Die Karte beim Hover etwas interaktiver machen */
.step-card:hover .step-bg-number {
    transform: scale(1.1) translateX(-10px); /* Zahl bewegt sich leicht beim Hover */
    opacity: 0.1; /* Wird etwas sichtbarer */
    transition: all 0.5s ease;
}

/* FOOTER */
footer {
    background-color: #3B1E4A;
    color: white;
    padding: 40px 0 40px;
    text-align: center;
    margin-top: -4px; /* Leichter Überlapp um harte Kante zu vermeiden */
}

footer h3 {
    color: white;
    margin-bottom: 30px;
    opacity: 0.9;
}

footer ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

footer a {
    color: #aeb0c2;
    text-decoration: none;
    transition: 0.3s;
    font-weight: 500;
}

footer a:hover {
    color: var(--accent);
}

.copyright {
    color: #5d5d7a;
    font-size: 0.9rem;
    border-top: 1px solid #2a2a55;
    padding-top: 30px;
}

/* --- 4. MODAL (Glassmorphism) --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 64, 0.7);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
}

.modal-content {
    background: var(--white);
    padding: 50px;
    width: 100%;
    max-width: 550px;
    border-radius: var(--radius-l);
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.show .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 2rem;
    cursor: pointer;
    color: #ccc;
    transition: 0.2s;
}

.close-modal:hover { color: var(--accent); }

.form-group { margin-bottom: 24px; }
.form-group label { display: block; margin-bottom: 10px; font-weight: 600; font-size: 0.95rem; }

.form-group input, .form-group textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: 0.3s;
    background: #fdfdfd;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: white;
    box-shadow: 0 0 0 4px rgba(217, 130, 86, 0.1);
}

/* Spezieller Style für Icons in den Package-Cards */
.package-card .icon-wrapper {
    background: transparent; /* Kein weißer Kreis */
    box-shadow: none;        /* Kein Schatten */
    width: auto;             /* Flexible Breite */
    height: auto;
    margin: 0 auto 20px;     /* Zentriert */
}

/* Icons noch feiner machen */
.package-card .icon-wrapper svg {
    stroke-width: 1.2px; /* Dünnere Linien wirken teurer/eleganter */
    width: 42px;         /* Etwas kleiner, mehr White-Space drumherum */
    height: 42px;
    color: var(--accent);
}

/* Hover Effekt für die Karten-Icons */
.package-card:hover .icon-wrapper svg {
    transform: scale(1.05) rotate(-2deg); /* Subtilere Bewegung */
    color: var(--accent-hover);
}

/* Überschrift in der Karte verfeinern */
.package-card h3 {
    font-weight: 600;    /* Nicht zu fett */
    letter-spacing: -0.01em;
}

/* Process Section Bild */
.process-image {
    width: 100%;
    margin-top: 60px;
    overflow: hidden;
    border-radius: var(--radius-l);
    box-shadow: var(--shadow-soft);
}

.process-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.7s ease;
}

.process-image:hover img {
    transform: scale(1.02);
}

/* Full-Width Onboarding Bild */
.onboarding-fullwidth {
    width: 100%;
    margin: 60px 0 0 0;
    overflow: hidden;
}

.onboarding-fullwidth img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.7s ease;
    margin-bottom: -4px; /* Entfernt den weißen Spalt am unteren Rand */
}

.onboarding-fullwidth:hover img {
    transform: scale(1.02);
}

/* Full-Width Bilder-Gallery */
.fullwidth-images {
    width: 100%;
    margin-top: 80px;
    overflow: hidden;
}

.images-stack {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.image-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.7s ease;
}

.image-wrapper:hover img {
    transform: scale(1.02);
}

/* Responsive Anpassung */
@media (max-width: 900px) {
    .process-grid {
        grid-template-columns: 1fr; /* Auf Handy untereinander */
        gap: 20px;
    }
    .process-item {
        padding: 40px;
    }

    .process-image {
        margin-top: 40px;
    }

    .onboarding-fullwidth {
        margin: 40px 0 0 0;
    }
}

/* --- INLINE CONTACT FORM --- */
.inline-contact-form {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 64, 0.7);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.inline-contact-form.show {
    display: flex;
    opacity: 1;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.contact-form-container {
    background: var(--white);
    border-radius: var(--radius-l);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
    width: 100%;
    max-width: 550px;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.inline-contact-form.show .contact-form-container {
    transform: scale(1);
}

.form-header {
    background: var(--bg-secondary);
    padding: 25px 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-header h2 {
    margin: 0;
    color: var(--text-main);
    font-size: 1.5rem;
}

.close-form {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    padding: 5px;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.close-form:hover {
    background: rgba(217, 130, 86, 0.1);
    color: var(--accent);
}

.form-content {
    padding: 30px;
}

.form-content p {
    margin-bottom: 25px;
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Message Container */
.message-container {
    display: none;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.message-container.success {
    background: rgba(46, 204, 113, 0.1);
    border-color: #2ecc71;
    color: #27ae60;
}

.message-container.error {
    background: rgba(231, 76, 60, 0.1);
    border-color: #e74c3c;
    color: #c0392b;
}

.message-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.message-icon {
    font-size: 1.2rem;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

.message-text {
    flex: 1;
    font-weight: 500;
}

/* --- 5. RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    .hero {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 60px;
        justify-content: center;
    }
    .hero-text { padding-right: 0; margin-top: 80px; }
    .hero-desc { margin-left: auto; margin-right: auto; }
    .top-logo { top: 20px; }
    .top-logo-image { max-width: 120px; }
    .benefits-wrapper { grid-template-columns: 1fr; gap: 50px; }
    .img-container { order: -1; height: 400px; }

    .inline-contact-form {
        margin: 40px 20px;
    }

    .form-header, .form-content {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .process-grid { grid-template-columns: 1fr; gap: 40px; }
    .onboarding-steps { flex-direction: column; }
    .package-grid { grid-template-columns: 1fr; }
    footer ul { flex-direction: column; gap: 20px; }
    .modal-content { padding: 30px 20px; }
    .btn { width: 100%; }
    .btn-secondary { width: 100%; }

    .inline-contact-form {
        margin: 30px 15px;
    }

    .form-header h2 {
        font-size: 1.3rem;
    }
}
