@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;600&display=swap');


/* === ROOT VARIABLES === */
:root {
    --berry-pink: #EC4899;
    --berry-orange: #F97316;
    --primary-purple: #9747FF;
    --secondary-purple: #A78BFA;
    --background-light: #FFF7FB;
    --text-dark: #000000;
    --text-light: #FFFFFF;
    --border-radius: 12px;
    --shadow-soft: 0 4px 10px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 6px 20px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

/* === GLOBAL === */
body {
    background: var(--background-light);
    font-family: 'Fredoka', 'Comic Sans MS', cursive, sans-serif;
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* === HEADER (überarbeitet) === */
.main-header,
.navbar {
    background: transparent !important; /* Kein Hintergrund */
    border-bottom: none;                /* Linie entfernt */
    padding: 0.4rem 1rem;               /* Weniger Padding für kompaktere Höhe */
    box-shadow: none;                   /* Kein Schatten */
}

/* Brand (BERGBEERE + Subtext) */
.navbar-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
    margin: 0;
    padding: 0;
}

.navbar-brand span {
    display: block;
    line-height: 1; /* Sehr kompakt */
}

.brand-text {
    font-size: 1.3rem;   /* Kleiner als vorher */
    font-weight: 700;
    color: var(--berry-pink);
    margin: 0;
}

.brand-sub {
    font-size: 0.7rem;   /* Deutlich kleiner */
    color: #777;
    margin: 0;
}

/* Icons in Navigation */
.nav-icon {
    margin-right: 4px;
    font-size: 1rem;
}

/* Navigation Links */
.navbar-nav .nav-link {
    color: #444;
    margin-right: 10px;
    font-weight: 600;
    font-size: 0.9rem;      /* Kleiner */
    padding: 6px 10px;      /* Weniger Padding */
    border-radius: 8px;
    transition: background 0.2s ease;
}

.navbar-nav .nav-link:hover {
    background-color: #ffe6f0;
    color: var(--berry-pink) !important;
}

/* Dropdown & Navbar Layer */
.navbar,
.dropdown-menu,
.navbar-nav {
    position: relative;
    z-index: 9999;
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
    .brand-text {
        font-size: 1.1rem;
    }
    .brand-sub {
        font-size: 0.6rem;
    }
    .navbar-nav .nav-link {
        font-size: 0.85rem;
        padding: 5px 8px;
    }
}

/* === SECTIONS === */
section {
    padding: 4rem 0;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 0.5rem;
}

.section-header p {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* === HERO === */
.hero-section {
    position: relative;
    border: 2px solid var(--berry-pink);
    border-radius: 24px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    padding: 2.5rem; /* statt 6rem 1rem 4rem */
    margin: 0;       /* zentriert wie .section-box */
    max-width: 100%;       /* gleiche Breite wie andere Boxen */
    width: 100%;              /* passt sich kleiner an bei mobilen Geräten */
    overflow: hidden;
}


.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #fde6f5, #f7edff);
    opacity: 0.1; /* nur Hintergrund wird transparent */
    z-index: 0;
}

.hero-section > * {
    position: relative;
    z-index: 1; /* Inhalt bleibt sichtbar */
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--berry-pink);
}

.hero-description {
    font-size: 1.4rem;
    color: var(--text-dark);
    max-width: 600px;
    margin: 1rem auto;
}

.hero-actions .btn {
    margin: 0.5rem;
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 0.6rem 1.4rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary {
    background: var(--berry-pink);
    color: var(--text-light);
}
.btn-primary:hover {
    background: var(--berry-orange);
}

.btn-outline-light {
    border: 2px solid var(--berry-pink);
    color: var(--berry-pink);
}
.btn-outline-light:hover {
    background: var(--berry-pink);
    color: white;
}

/* === PRODUCT CARDS === */
.products-section {
    text-align: center;
}

.product-card {
    position: relative; /* wichtig für die Positionierung des Badges */
    background: rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    padding: 1.8rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}
.product-card h3 {
    color: var(--berry-pink);
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
}
.product-price {
    font-weight: 700;
    margin: 1rem 0;
}

/* === SECTION BOXES === */
.section-box {
    background: rgba(255, 255, 255, 0.5); /* 0.8 = 80% Deckkraft */
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    margin-bottom: 2rem;
    transition: var(--transition);
}
.section-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

/* === STORY SECTION === */
.story-section {
    position: relative;
    padding: 4rem 0;
    background: transparent; /* Hintergrund transparent */
}

.story-section .story-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--berry-pink);
    text-align: center;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.story-section p {
    color: #444;
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 2rem;
    text-align: center;
}

.story-section ul {
    list-style: none;
    padding: 0;
    margin: 0 auto 2rem;
    max-width: 600px;
}

.story-section ul li {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    padding-left: 1.8rem;
    position: relative;
    color: #333;
}

/* Verschiedene Beeren-Icons */
.story-section ul li:nth-child(1)::before {
    content: "🍓"; /* Erdbeere */
}
.story-section ul li:nth-child(2)::before {
    content: "🫐"; /* Heidelbeere */
}
.story-section ul li:nth-child(3)::before {
    content: "🍒"; /* Kirsche */
}

.story-section ul li::before {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.story-section ul li:hover::before {
    transform: scale(1.2) rotate(8deg);
}

.story-section .btn-primary {
    margin-top: 1rem;
    display: inline-block;
    padding: 0.6rem 1.6rem;
    font-size: 1rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--berry-pink), var(--primary-purple));
    color: white;
    border: none;
    border-radius: 30px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.story-section .btn-primary:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, var(--berry-orange), var(--berry-pink));
}


/* === QUALITY CARDS === */
.quality-section {
    padding: 4rem 0;
    background: transparent; /* lässt sich bei Bedarf einfärben */
}

.quality-card {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quality-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.quality-card .quality-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    animation: iconPop 3s ease-in-out infinite;
}

.quality-card h3 {
    color: var(--berry-pink);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.quality-card p {
    color: #333;
    font-size: 1rem;
    line-height: 1.5;
}

@keyframes iconPop {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}


/* === PREORDER === */
.preorder-section {
    padding: 4rem 0;
    position: relative;
}

.preorder-card {
    background: linear-gradient(135deg, var(--berry-pink), var(--primary-purple));
    color: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    animation: preorderGlow 3s infinite alternate;
}

.preorder-card h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.preorder-card p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.preorder-card .btn-primary {
    background: white;
    color: var(--berry-pink);
    font-weight: 700;
    border-radius: 30px;
    padding: 0.8rem 2rem;
    transition: transform 0.3s ease, background 0.3s ease;
}

.preorder-card .btn-primary:hover {
    background: var(--berry-orange);
    color: #fff;
    transform: translateY(-3px);
}

@keyframes preorderGlow {
    0% { box-shadow: 0 0 10px rgba(236, 72, 153, 0.4); }
    100% { box-shadow: 0 0 25px rgba(151, 71, 255, 0.6); }
}


/* === CONTACT === */
.contact-card {
    background: #FFFFFF;
    border: 2px solid var(--berry-pink);
    border-radius: 12px;
    padding: 2rem;
    color: var(--text-dark);
    text-align: center;
}

/* === FOOTER === */
.main-footer {
    background-color: #fff;
    padding: 1rem 1.5rem;
    border-top: 2px solid var(--berry-pink);
    font-size: 0.9rem;
    color: #444;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
}

.footer-link {
    color: #444;
    text-decoration: none;
    font-weight: 600;
    margin-right: 1rem;
    transition: color 0.2s ease;
}

.footer-link:last-child {
    margin-right: 0;
}

.footer-link:hover {
    color: var(--berry-pink);
}

.footer-social .social-link {
    font-size: 1.2rem;
    margin-left: 0.5rem;
    text-decoration: none;
    transition: transform 0.2s ease, color 0.2s ease;
}

.footer-social .social-link:hover {
    transform: scale(1.2);
    color: var(--berry-pink);
}

/* Mobile Optimierung */
@media (max-width: 768px) {
    .main-footer .container-fluid {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .footer-left, .footer-right {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        text-align: center;
    }
    .footer-links {
        margin: 0.5rem 0;
    }
}



/* === BOTTLE === */
.page-content { margin-right: 120px; padding: 20px; }

.scroll-bottle {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 80px;
    height: 360px;
    z-index: 2000;
    pointer-events: none;
}

.bottle-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hero-logo-img {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: auto;
    z-index: 3;
}

.bottle-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    -webkit-mask-image: url('/images/smoothie-bottle.png');
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: cover;
    mask-image: url('/images/smoothie-bottle.png');
    mask-repeat: no-repeat;
    mask-size: cover;
}

.liquid {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 85%; /* Standardfüllung */
    background: linear-gradient(90deg, #c2185b, #ad1457, #7b1fa2);
    background-size: 300% 100%;
    animation: background-move 6s ease-in-out infinite, waveMove 4s infinite ease-in-out;
    transition: height 0.1s ease-out;
}


/* === ANIMATIONS === */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes liquid-move {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes waveMove {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(3px); }
}

@keyframes background-move {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


/* Allgemeiner Card-Look */
.section-box {
    background: rgba(255, 255, 255, 0.5); /* 0.8 = 80% Deckkraft */
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.section-box h2, 
.section-box h3, 
.section-box h4 {
    color: var(--primary-purple);
    font-weight: 700;
}

/* Quality Cards */
.quality-card {
    background: rgba(255, 255, 255, 0.5); /* 0.8 = 80% Deckkraft */
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.quality-card:hover {
    transform: translateY(-4px);
}

.quality-icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

/* Preorder Card */
.preorder-card {
    background: linear-gradient(120deg, var(--berry-pink), var(--primary-purple));
    color: white;
    text-align: center;
    padding: 2rem;
}

.preorder-card h2,
.preorder-card p {
    color: white;
}

/* Company Section */
.company-section {
    padding: 4rem 0;
    background: transparent;
}

.company-card {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.company-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.company-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--berry-pink);
    margin-bottom: 0.5rem;
}

.company-card p {
    color: #333;
    font-size: 1rem;
}

.company-card h4 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.company-card h4::first-letter {
    font-size: 1.6rem;
}

.company-card h4 {
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}


/* Contact Card */
.contact-card {
    background: rgba(253, 242, 248, 0.5); /* 0.8 = 80% Deckkraft */
    border: 2px solid var(--berry-pink);
    color: #333;
}

.contact-card h3 {
    color: var(--berry-pink);
}


.hero-section, 
.products-section, 
.story-section, 
.quality-section,
.preorder-section,
.company-section,
.contact-section {
    position: relative;
    z-index: 5;
}


.production-steps-bg {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;  /* kleiner als ganze Bildschirmbreite */
    height: 100vh;
    z-index: 2; /* Higher than berry-bg-layer, lower than main content */
    pointer-events: none;
    overflow: hidden;
}

.production-step-img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1000px;    /* größere Bildgröße */
    max-width: 100vw; /* passt sich dynamisch an */
    opacity: 0.2;
    transform: translate(-50%, -50%);
    transition: opacity 0.7s ease;
    filter: drop-shadow(0 4px 18px rgba(100,60,100,0.09));
}

@media (max-width: 700px) {
    .production-step-img { width: 95vw; }
}
/* === INFO-SEITEN (About, Impressum, Datenschutz, AGB) === */
.info-page {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    max-width: 1100px;
    margin: 0 auto 3rem auto;
}

.info-page h2, 
.info-page h3 {
    color: var(--primary-purple);
    font-weight: 700;
    margin-top: 1rem;
}

.info-page p, 
.info-page ul, 
.info-page li {
    color: #333;
    line-height: 1.6;
}

/* Gemeinsames Eck-Logo */
.info-logo-corner {
    position: absolute;
    top: 10px;              /* etwas Abstand vom oberen Rand */
    right: 10px;            /* dichter an den rechten Rand */
    width: 200px;           /* feste Breite für Desktop */
    max-width: 20vw;        /* passt sich kleineren Bildschirmen an */
    height: auto;
    opacity: 0.9;           /* leicht transparenter Look */
    z-index: 10;            /* über dem Inhalt */
    pointer-events: none;   /* verhindert Klick-Blockierung */
}

/* Mobile Version (kleiner & weiter im Eck) */
@media (max-width: 768px) {
    .info-logo-corner {
        top: 5px;
        right: 5px;
        width: 100px;        /* deutlich kleiner */
        max-width: 25vw;     /* dynamische Breite auf kleineren Geräten */
        opacity: 0.95;       /* leichte Anpassung */
    }
}


/* Footer immer am unteren Bildschirmrand */
html, body {
    height: 100%;
}

.page-wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1; /* Füllt den verfügbaren Platz aus */
}

.berry-progress {
    background-color: rgba(255, 192, 203, 0.3); /* sanftes Rosa im Hintergrund */
    border-radius: 20px;
    overflow: hidden;
    height: 25px;
    border: 2px solid #ff66a3; /* Beeriger Rand */
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

.berry-bar {
    background: linear-gradient(90deg, #ff66a3, #ff3366, #cc0066);
    color: #fff;
    font-weight: bold;
    font-size: 0.9rem;
    text-align: center;
    white-space: nowrap;
    padding-left: 5px;
    border-radius: 20px 0 0 20px;
    animation: berryPulse 2s infinite alternate;
}

@keyframes berryPulse {
    0% {
        filter: brightness(1);
    }
    100% {
        filter: brightness(1.2);
    }
}

@media (max-width: 700px) {
    .scroll-bottle {
        width: 40px;  /* schmaler */
        height: 200px; /* kürzer */
        right: 10px;  /* etwas mehr Abstand */
    }
}


/* Desktop: Cards neben der Flasche mit schmalem Abstand */
@media (min-width: 701px) {
    .page-content {
        margin-right: 80px; /* Kleiner als 120px, damit Cards näher kommen */
        padding: 20px;
    }
}

/* Mobile: Cards in voller Breite (Flasche ist klein) */
@media (max-width: 700px) {
    .page-content {
        margin-right: 50px;  /* Cards etwas näher, aber nicht in die Flasche */
        padding: 10px;
    }

    .product-card,
    .section-box,
    .quality-card,
    .contact-card {
        padding: 2rem;
        font-size: 1.1rem;
    }

    .product-card h3 {
        font-size: 1.5rem;
    }
}


.product-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: linear-gradient(135deg, var(--berry-pink), var(--primary-purple));
    color: #fff;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
    z-index: 10;
}

@keyframes subtlePulse {
    0% { transform: translateY(-50%) scale(1); }
    50% { transform: translateY(-50%) scale(1.05); }
    100% { transform: translateY(-50%) scale(1); }
}


.product-highlights {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.5rem;
}

.product-highlights li {
    font-size: 1.1rem;
    margin: 0.5rem 0;
    padding-left: 1.8rem;
    position: relative;
    color: #333;
}

.product-highlights li::before {
    content: "•";
    color: var(--berry-pink);
    position: absolute;
    left: 0;
    font-size: 1.4rem;
    line-height: 1.1;
}

/* Auf mobilen Geräten: erzwungener Zeilenumbruch */
@media (max-width: 768px) {
    .mobile-break::before {
        content: "\A";
        white-space: pre;
    }
}