/* Mirage Genusswelt – style.css – vibrant_energetic, flexbox only */

/* === CSS Reset & Normalize === */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1.6;
    background: #F8F6F2;
    color: #2A3D4C;
    font-family: 'Lato', Arial, Helvetica, sans-serif;
    font-size: 16px;
    min-height: 100vh;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
a { color: inherit; text-decoration: none; transition: color .2s; }
ul, ol { list-style: none; }
button,input,select,textarea { font-family: inherit; outline: none; }

/* === Brand Colors === */
:root {
    --color-primary: #2A3D4C;
    --color-secondary: #D9965B;
    --color-accent: #F8F6F2;
    --color-vibrant-1: #FF5349; /* electric red */
    --color-vibrant-2: #22E6B6; /* turquoise green */
    --color-vibrant-3: #FFD93A; /* vivid yellow */
    --color-vibrant-4: #3D64D8; /* vivid blue */
    --color-dark: #1B2332;
    --color-light: #fff;
    --color-gray: #F0F0F0;
    --shadow-high: 0 8px 32px 0 rgba(42,61,76,.18);
    --shadow-med: 0 2px 8px 0 rgba(42,61,76,0.14);
}

/* === Typography === */
h1, .hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: .5px;
    line-height: 1.15;
    margin-bottom: 16px;
}
h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-vibrant-1);
    margin-bottom: 20px;
    letter-spacing: .1em;
}
h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}
p, li {
    font-family: 'Lato', Arial, Helvetica, sans-serif;
    font-size: 1rem;
    color: var(--color-primary);
    margin-bottom: 12px;
}
.strong, strong {
    font-weight: 700;
}
.subheadline {
    font-family: 'Lato', Arial, Helvetica, sans-serif;
    font-size: 1.25rem;
    color: var(--color-vibrant-2);
    margin-bottom: 24px;
    font-weight: 400;
}
.text-section ul {
    padding-left: 24px;
    margin-bottom: 20px;
}
.text-section ul li {
    list-style: disc;
    margin-bottom: 8px;
}
.text-section h3 {
    color: var(--color-vibrant-4);
    font-size: 1.1rem;
    margin-top: 16px;
    margin-bottom: 8px;
}

/* === Layout Containers & Spacing === */
.container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
}
.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.section {
    margin-bottom: 60px;
    padding: 40px 20px;
    background: var(--color-accent);
    border-radius: 20px;
    box-shadow: var(--shadow-med);
}

.card-container, .feature-grid, .content-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: flex-start;
    align-items: stretch;
}

.card {
    margin-bottom: 20px;
    position: relative;
    background: var(--color-light);
    border-radius: 14px;
    box-shadow: var(--shadow-med);
    padding: 24px 26px;
    transition: box-shadow .18s, transform .18s;
}
.card:hover {
    box-shadow: 0 8px 36px 0 rgba(34,230,182,0.21);
    transform: translateY(-4px) scale(1.018);
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    background: var(--color-gray);
    border-radius: 16px;
    padding: 26px 22px;
    min-width: 220px;
    flex: 1 1 200px;
    box-shadow: var(--shadow-med);
    margin-bottom: 20px;
    transition: background .18s, box-shadow .18s, transform .18s;
}
.feature-item img {
    width: 44px;
    height: 44px;
}
.feature-item:hover {
    background: var(--color-vibrant-2);
    box-shadow: 0 8px 40px 0 rgba(253,83,73,0.12);
    transform: scale(1.02);
}

.text-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.text-image-section {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--color-accent);
    box-shadow: 0 4px 12px 0 rgba(42,61,76,0.10);
    border-radius: 16px;
    margin-bottom: 24px;
    border-left: 7px solid var(--color-vibrant-1);
    max-width: 700px;
}
.testimonial-card p {
    color: #1B2332 !important;
    font-size: 1.1rem;
    font-style: italic;
}
.testimonial-meta {
    color: #444;
    font-size: 1rem;
    font-family: 'Lato', Arial, Helvetica, sans-serif;
    opacity: 0.95;
    margin-top: 6px;
}

.footer-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 38px 0 20px 0;
}
.footer-nav {
    display: flex;
    flex-directory: row;
    gap: 18px;
    align-items: flex-start;
}
.footer-nav a {
    color: var(--color-vibrant-1);
    font-size: 1rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 6px;
    transition: background .16s, color .16s;
}
.footer-nav a:hover {
    color: var(--color-light);
    background: var(--color-vibrant-4);
}
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: var(--color-primary);
    font-size: 1rem;
}
.footer-contact img {
    width: 18px;
    vertical-align: middle;
    margin-right: 5px;
}

/* === Header & Navigation === */
header {
    background: var(--color-light);
    box-shadow: 0 2px 8px 0 rgba(42,61,76,0.10);
    position: relative;
    z-index: 30;
}
.header-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0 12px 0;
}
header .main-nav {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    font-size: 1.08rem;
    font-weight: 600;
}
.main-nav a {
    color: var(--color-primary);
    padding: 6px 12px;
    border-radius: 6px;
    transition: background .15s, color .15s;
}
.main-nav a:hover, .main-nav a:focus {
    background: var(--color-vibrant-1);
    color: var(--color-light);
}
.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--color-vibrant-1);
    color: var(--color-light) !important;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: .02em;
    border-radius: 32px;
    padding: 12px 34px;
    box-shadow: 0 2px 12px 0 rgba(255,83,73,0.14);
    border: none;
    cursor: pointer;
    text-shadow: 0 1px 2px rgba(0,0,0,.09);
    transition: background .20s, box-shadow .20s, transform .13s;
    margin-left: 16px;
}
.cta-primary:hover, .cta-primary:focus {
    background: var(--color-vibrant-2);
    color: var(--color-primary) !important;
    box-shadow: 0 5px 18px 0 rgba(34,230,182,0.16);
    transform: scale(1.045);
}

/* === Mobile Burger Menu === */
.mobile-menu-toggle {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--color-vibrant-1);
    border: none;
    color: var(--color-light);
    font-size: 2.5rem;
    border-radius: 10px;
    padding: 2px 12px;
    z-index: 80;
    cursor: pointer;
    transition: background .2s, transform .13s;
}
.mobile-menu-toggle:hover {
    background: var(--color-vibrant-2);
    color: var(--color-primary);
    transform: scale(1.12);
}
.mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: var(--color-primary);
    z-index: 100;
    transform: translateX(-110vw);
    opacity: 0;
    pointer-events: none;
    transition: transform .36s cubic-bezier(.66,.01,.27,1), opacity .32s;
    box-shadow: 0 12px 60px 0 rgba(42,61,76,.42);
}
.mobile-menu.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: all;
}
.mobile-menu-close {
    position: absolute;
    top: 22px;
    right: 32px;
    background: transparent;
    color: var(--color-vibrant-2);
    border: none;
    font-size: 2.3rem;
    cursor: pointer;
    transition: color .18s;
    z-index: 110;
}
.mobile-menu-close:hover {
    color: var(--color-vibrant-1);
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 26px;
    margin: 89px 0 0 46px;
}
.mobile-nav a {
    color: var(--color-accent);
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    padding: 10px 6px 10px 2px;
    border-radius: 7px;
    transition: background .13s, color .13s;
    width: fit-content;
}
.mobile-nav a:hover, .mobile-nav a:focus {
    background: var(--color-vibrant-2);
    color: var(--color-primary);
    outline: none;
}

/* === Hero Section === */
.hero {
    background: linear-gradient(98deg, var(--color-vibrant-2) 0%, var(--color-vibrant-1) 89%);
    background-size: 130% 130%;
    background-position: center;
    border-radius: 0 0 44px 44px;
    box-shadow: 0 8px 40px 0 rgba(42,61,76,0.13);
    margin-bottom: 60px;
    padding: 70px 0 56px 0;
}
.hero .container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
}
.hero h1, .hero .subheadline {
    color: var(--color-light);
    text-shadow: 0 3px 22px rgba(80,18,45,.09);
}
.hero .cta-primary {
    background: var(--color-vibrant-3);
    color: var(--color-primary)!important;
    box-shadow: 0 4px 18px 0 rgba(255,217,58,0.16);
    margin-left: 0;
}
.hero .cta-primary:hover {
    background: var(--color-vibrant-2);
    color: var(--color-dark)!important;
}

/* === Utility Buttons === */
button, .btn {
    font-family: 'Lato', Arial, Helvetica, sans-serif;
    font-size: 1rem;
    padding: 10px 26px;
    border-radius: 32px;
    border: none;
    cursor: pointer;
    transition: background .18s, color .15s, transform .12s;
    font-weight: 700;
}
.btn-secondary {
    background: var(--color-vibrant-2);
    color: var(--color-dark)!important;
}
.btn-secondary:hover {
    background: var(--color-vibrant-1);
    color: var(--color-light)!important;
}

/* === Cookie Consent Banner & Custom Modal === */
.cookie-banner {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    width: 100vw;
    z-index: 140;
    padding: 28px 22px 22px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    background: var(--color-primary);
    color: var(--color-accent);
    font-size: 1.09rem;
    box-shadow: 0 -4px 32px 0 rgba(42,61,76,0.15);
    animation: fadeInUp .7s cubic-bezier(.66,.04,.32,1);
}
.cookie-banner .cookie-btn-group {
    display: flex;
    gap: 18px;
}
.cookie-banner button {
    padding: 8px 28px;
    font-size: 1.03rem;
    border-radius: 24px;
    font-weight: 700;
    margin: 0;
    transition: background .14s, color .12s;
    box-shadow: 0 2px 8px 0 rgba(42,61,76,0.09);
}
.cookie-banner .accept {
    background: var(--color-vibrant-2);
    color: var(--color-primary);
    border: none;
}
.cookie-banner .accept:hover {
    background: var(--color-vibrant-1);
    color: var(--color-light);
}
.cookie-banner .reject {
    background: var(--color-vibrant-1);
    color: var(--color-light);
    border: none;
}
.cookie-banner .reject:hover {
    background: var(--color-vibrant-2);
    color: var(--color-primary);
}
.cookie-banner .settings {
    background: transparent;
    border: 2px solid var(--color-vibrant-2);
    color: var(--color-vibrant-2);
}
.cookie-banner .settings:hover {
    background: var(--color-vibrant-4);
    color: var(--color-light);
    border-color: var(--color-vibrant-4);
}
@keyframes fadeInUp {
    from { transform: translateY(60px); opacity: 0; } 
    to   { transform: translateY(0); opacity: 1; }
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 150;
    top: 0; left:0; right:0; bottom:0;
    min-height: 100vh;
    background: rgba(42,61,76,0.85);
    pointer-events: none;
    opacity: 0;
    transition: opacity .24s;
}
.cookie-modal-overlay.open {
    pointer-events: all;
    opacity: 1;
}
.cookie-modal {
    background: var(--color-light);
    color: var(--color-primary);
    border-radius: 22px;
    box-shadow: var(--shadow-high);
    padding: 36px 26px 24px 26px;
    max-width: 390px;
    width: 95vw;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 22px;
    animation: modalZoomIn .34s cubic-bezier(.66,.09,.28,1);
    position: relative;
}
@keyframes modalZoomIn { from { opacity:0; transform: scale(.76); } to { opacity: 1; transform: scale(1); } }
.cookie-modal .modal-close {
    position: absolute;
    right: 20px; top: 14px;
    background: transparent;
    border: none;
    color: var(--color-vibrant-1);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color .14s;
}
.cookie-modal .modal-close:hover {
    color: var(--color-vibrant-4);
}
.cookie-categories {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.cookie-category {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 1rem;
}
.cookie-category label {
    font-weight: 600;
    color: var(--color-primary);
}
.cookie-category input[type="checkbox"] {
    accent-color: var(--color-vibrant-2);
    width: 20px; height: 20px;
    margin-top: 2px;
}
.cookie-category.essential label {
    color: var(--color-vibrant-1);
}
.cookie-modal .cookie-modal-buttons {
    display: flex;
    gap: 16px;
    margin-top: 8px;
    justify-content: flex-end;
}

/* === Responsive Design === */
@media (max-width: 1060px) {
    .container { max-width: 98vw; }
}
@media (max-width: 900px) {
    .footer-flex { flex-direction: column; align-items: flex-start; }
    .header-flex { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 768px) {
    h1, .hero h1 { font-size: 1.6rem; }
    h2        { font-size: 1.2rem; }
    .subheadline { font-size: 1rem; }
    .section { padding: 24px 10px; margin-bottom: 38px; }
    .content-wrapper { gap: 10px; }
    .container { padding: 0 10px; }
    .feature-grid, .card-container, .content-grid { flex-direction: column; gap: 16px; }
    .testimonial-card { padding: 10px; margin-bottom: 14px; }
    .feature-item { min-width: 0; width: 100%; padding: 16px 10px; border-radius: 11px; }
    .text-section { gap: 10px; }
    .footer-flex, .footer-nav { flex-direction: column; gap: 10px; align-items: flex-start; }
    .hero { padding: 40px 0 28px 0; border-radius: 0 0 24px 24px; }
    .mobile-menu-toggle { display: block; }
    .main-nav, .cta-primary {
        display: none !important;
    }
    header .main-nav, header .cta-primary { display: none !important; }
}
@media (max-width: 570px) {
    .hero .container, .container { padding: 0 5px; }
}
/* Ensure proper spacing, gap and no overlap everywhere */
.section, .feature-item, .card, .testimonial-card, .container, .content-wrapper, .footer-contact, .footer-flex, .feature-grid, .card-container, .content-grid, .text-image-section, .mobile-nav, .mobile-menu {
    box-sizing: border-box;
}

/* === Misc. === */
a:focus, button:focus {
    box-shadow: 0 0 0 3px var(--color-vibrant-2);
    outline: none;
    z-index: 3;
}
::-webkit-scrollbar {
    width: 8px; background: #eaeaea;
}
::-webkit-scrollbar-thumb {
    background: var(--color-vibrant-1);
    border-radius: 12px;
}

/* === Animations, Transitions, Micro-Interactions === */
.card, .feature-item, .cta-primary, button, .testimonial-card {
    transition: box-shadow .22s, background .15s, transform .14s, color .15s;
}
.feature-item:active, .card:active {
    transform: scale(0.98);
}

/* === Selection Styling === */
::selection {
    background: var(--color-vibrant-3);
    color: var(--color-primary);
}

/* === End of CSS === */
