/* === 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,
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,
main,
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, main, nav, section {
    display: block;
}
body {
    line-height: 1.5;
    background: #F5F4F0;
    color: #181818;
}
ol, ul {
    list-style: none;
}
a {
    text-decoration: none;
    color: inherit;
}
img {
    max-width: 100%;
    display: block;
    height: auto;
}
h1, h2, h3, h4, h5, h6, strong {
    font-weight: 700;
}
button, input, select, textarea {
    font-family: inherit;
    font-size: 1em;
    outline: none;
    border: none;
    background: none;
    padding: 0;
    margin: 0;
}

/* === Brand Variables === */
:root {
    --brand-primary: #274B36;
    --brand-secondary: #E1C699;
    --brand-accent: #F8BB1C;
    --brand-bg-light: #F5F4F0;
    --brand-electric-pink: #FF4682;
    --brand-electric-cyan: #23D6EA;
    --brand-electric-purple: #6B38FB;
    --brand-electric-green: #66FF66;
    --brand-shadow: rgba(39,75,54,0.12);
    --brand-font-display: 'Quicksand', 'Open Sans', Arial, sans-serif;
    --brand-font-body: 'Open Sans', Arial, sans-serif;
}

/* === Typography === */
body {
    font-family: var(--brand-font-body);
    font-size: 16px;
    color: #181818;
    background: var(--brand-bg-light);
}
h1 {
    font-family: var(--brand-font-display);
    font-size: 2.5rem;
    letter-spacing: -1px;
    color: var(--brand-electric-purple);
    margin-bottom: 16px;
}
h2 {
    font-family: var(--brand-font-display);
    font-size: 2rem;
    color: var(--brand-primary);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}
h3 {
    font-family: var(--brand-font-display);
    font-size: 1.3rem;
    color: var(--brand-electric-pink);
    margin: 6px 0 8px 0;
    text-transform: uppercase;
}
h4 {
    font-family: var(--brand-font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-primary);
}
p,
li {
    font-family: var(--brand-font-body);
    font-size: 1rem;
    color: #1a1a1a;
}
strong {
    color: var(--brand-electric-cyan);
    font-weight: 700;
}
.text-section ul, .text-section li {
    font-size: 1rem;
    color: #181818;
    line-height: 1.6;
}

/* === General Spacing and Containers === */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 18px;
}
.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
section {
    width: 100%;
    background: #FFF;
    border-radius: 18px;
    margin-bottom: 60px;
    box-shadow: 0 2px 12px var(--brand-shadow);
    padding: 40px 20px;
    transition: box-shadow 0.3s;
}
section:hover {
    box-shadow: 0 8px 32px 0 rgba(39,75,54,0.18);
}

/* === Navigation & Header === */
header {
    background: var(--brand-primary);
    color: #fff;
    padding: 0;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px 0 rgba(39,75,54,0.12);
}
.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    min-height: 70px;
    padding: 0 24px;
}
.main-nav a {
    color: #fff;
    font-family: var(--brand-font-display);
    font-weight: 700;
    font-size: 1rem;
    padding: 6px 8px;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
    letter-spacing: 0.5px;
}
.main-nav a:hover,
.main-nav a:focus {
    background: var(--brand-electric-pink);
    color: #fff;
    outline: none;
}
.main-nav img {
    height: 40px;
    width: auto;
}
.mobile-menu-toggle {
    display: none;
    background: var(--brand-electric-pink);
    color: #fff;
    font-size: 2.2rem;
    line-height: 1;
    border-radius: 50%;
    padding: 4px 16px 4px 14px;
    cursor: pointer;
    margin: 8px 16px 8px auto;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(255,70,130,0.10);
    border: none;
    z-index: 120;
    position: relative;
}
.mobile-menu-toggle:focus {
    outline: 2px solid var(--brand-electric-purple);
    background: var(--brand-electric-purple);
}

/* === Mobile Menu Overlay === */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background: #191c22ee;
    z-index: 2000;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.75,0,0.34,1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 22px;
    will-change: transform;
}
.mobile-menu.active {
    transform: translateX(0);
}
.mobile-menu-close {
    background: var(--brand-electric-cyan);
    color: var(--brand-primary);
    font-size: 2rem;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    margin-left: 20px;
    margin-bottom: 20px;
    align-self: flex-start;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover {
    background: var(--brand-electric-pink);
    color: #fff;
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    padding: 0 32px;
    width: 100%;
}
.mobile-nav a {
    color: #fff;
    font-size: 1.35rem;
    padding: 12px 0;
    width: 100%;
    font-family: var(--brand-font-display);
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
    background: var(--brand-electric-pink);
    color: #fff;
}

@media (max-width: 1024px) {
    .main-nav {
        gap: 12px;
        padding: 0 16px;
    }
    .main-nav a {
        font-size: 0.98rem;
        padding: 5px 7px;
    }
}
@media (max-width: 850px) {
    .main-nav {
        gap: 5px;
    }
    .main-nav a {
        padding: 5px 2px;
        font-size: 0.92rem;
    }
}
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
}

/* === Global Buttons & CTAs === */
.cta-btn,
button.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 26px;
    background: linear-gradient(90deg,var(--brand-electric-pink) 70%, var(--brand-electric-cyan));
    color: #fff;
    font-family: var(--brand-font-display);
    font-size: 1.15rem;
    font-weight: 700;
    padding: 12px 34px;
    margin-top: 8px;
    box-shadow: 0 2px 10px var(--brand-shadow);
    text-transform: uppercase;
    border: none;
    transition: background 0.15s, box-shadow 0.25s, transform 0.15s;
    cursor: pointer;
    letter-spacing: 1px;
    outline: none;
    white-space: nowrap;
    gap: 8px;
}
.cta-btn:hover, .cta-btn:focus {
    background: linear-gradient(90deg, var(--brand-electric-cyan) 5%, var(--brand-electric-pink));
    color: #fff;
    box-shadow: 0 8px 32px rgba(255,70,130,0.13);
    transform: translateY(-2px) scale(1.05);
}

/* === Feature Grid/Cards === */
.feature-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: space-between;
    margin: 22px 0 12px 0;
}
.feature-grid > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: var(--brand-bg-light);
    border-radius: 12px;
    box-shadow: 0 1.5px 8px var(--brand-shadow);
    padding: 22px 22px 18px 22px;
    min-width: 220px;
    flex: 1 1 244px;
    position: relative;
    margin-bottom: 20px;
    transition: box-shadow 0.25s, transform 0.2s;
    border-left: 6px solid var(--brand-electric-cyan);
    min-height: 180px;
    gap: 12px;
}
.feature-grid > div:hover {
    box-shadow: 0 5px 24px 0 rgba(35,214,234,0.15);
    transform: translateY(-2px) scale(1.04);
    border-left: 6px solid var(--brand-electric-pink);
}
.feature-grid img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    margin-bottom: 2px;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.card {
    margin-bottom: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 13px;
    box-shadow: 0 2px 8px var(--brand-shadow);
    padding: 20px 16px 14px 16px;
    min-width: 220px;
    flex: 1 1 240px;
    gap: 14px;
}
.card:hover {
    box-shadow: 0 8px 30px var(--brand-shadow);
    transform: translateY(-2px) scale(1.03);
}
.card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* === Testimonials === */
.testimonial-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 28px 20px 16px;
    background: #fff;
    border-left: 8px solid var(--brand-electric-pink);
    box-shadow: 0 2px 10px 0 rgba(39,75,54,0.08);
    margin-bottom: 20px;
    border-radius: 12px;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card:hover {
    box-shadow: 0 4px 22px 0 rgba(107,56,251,0.15);
    border-left: 8px solid var(--brand-electric-purple);
}
.testimonial-card p {
    color: #232323;
    font-size: 1.14rem;
    font-family: var(--brand-font-display);
    font-weight: 700;
    letter-spacing: 0.1px;
}
.testimonial-card span {
    font-size: 0.99rem;
    color: var(--brand-primary);
    font-style: italic;
    font-family: var(--brand-font-body);
}

/* === Utility Flex Layouts === */
.content-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}
.text-image-section {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

/* === Text Sections (About, Kontakt etc.) === */
.text-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--brand-accent);
    border-radius: 10px;
    padding: 18px 16px;
    margin-bottom: 12px;
    box-shadow: 0 0.5px 4px rgba(225,198,153,0.08);
}

.text-section ul {
    margin: 0 0 8px 14px;
    padding: 0 0 0 18px;
    list-style: disc inside;
}
.text-section li {
    margin-bottom: 6px;
    color: #29422b;
    font-size: 1rem;
}

/* === List Styles (for FAQ, Filter, etc.) === */
ul, ol {
    margin-bottom: 12px;
}
ul li, ol li {
    margin-bottom: 8px;
    line-height: 1.5;
    font-size: 1rem;
}

/* === Footer === */
footer {
    background: var(--brand-primary);
    color: #fff;
    padding-top: 22px;
    padding-bottom: 20px;
}
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    align-items: center;
    margin-bottom: 12px;
}
.footer-nav a {
    color: #fff;
    font-size: 1.06rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 6px;
    letter-spacing: 0.4px;
    transition: background 0.2s, color 0.2s;
}
.footer-nav a:hover {
    background: var(--brand-electric-pink);
    color: #fff;
}
.footer-info {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
    font-size: 1.04rem;
    font-family: var(--brand-font-body);
    letter-spacing: 0.1px;
}
.footer-info img {
    height: 32px;
    width: auto;
}

/* === Cookie Banner === */
.cookie-banner {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100vw;
    z-index: 4000;
    background: #fff3e2;
    color: #232323;
    box-shadow: 0 -2px 16px 0 rgba(39,75,54,0.10);
    padding: 30px 8px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    justify-content: center;
    font-family: var(--brand-font-body);
    font-size: 1rem;
    animation: cookieFadeIn 0.5s both;
}
@keyframes cookieFadeIn {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: none; }
}
.cookie-banner .cookie-info {
    max-width: 700px;
    line-height: 1.5;
    margin-right: 10px;
}
.cookie-btn,
.cookie-banner button {
    font-family: var(--brand-font-display);
    font-size: 1.07rem;
    font-weight: 700;
    padding: 9px 24px;
    border-radius: 20px;
    margin: 0 3px;
    margin-bottom: 4px;
    cursor: pointer;
    border: none;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.cookie-btn.accept {
    background: var(--brand-electric-green);
    color: #185E36;
}
.cookie-btn.accept:hover {
    background: var(--brand-electric-pink);
    color: #fff;
}
.cookie-btn.reject {
    background: #e74c3c;
    color: #fff;
}
.cookie-btn.reject:hover {
    background: #b30013;
    color: #fff;
}
.cookie-btn.settings {
    background: var(--brand-electric-cyan);
    color: #02343d;
}
.cookie-btn.settings:hover {
    background: var(--brand-electric-purple);
    color: #fff;
}

/* Cookie Modal */
.cookie-modal-overlay {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.25);
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInModal 0.3s both;
}
@keyframes fadeInModal {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
.cookie-modal {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px 0 rgba(107,56,251,0.14);
    max-width: 430px;
    width: 93vw;
    padding: 38px 24px 28px 24px;
    position: relative;
    font-family: var(--brand-font-body);
    animation: modalIn 0.4s cubic-bezier(0.45,-0.13,0.44,1.05) both;
}
@keyframes modalIn {
    0% { opacity:0; transform: translateY(44px) scale(0.9); }
    100% { opacity:1; transform: none; }
}
.cookie-modal h2 {
    font-family: var(--brand-font-display);
    color: var(--brand-primary);
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-weight: 700;
}
.cookie-modal .close-modal {
    position: absolute;
    top: 9px;
    right: 16px;
    font-size: 1.8rem;
    background: none;
    border: none;
    color: var(--brand-electric-pink);
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.18s;
    padding: 4px 9px;
}
.cookie-modal .close-modal:hover,
.cookie-modal .close-modal:focus {
    background: var(--brand-electric-pink);
    color: #fff;
}
.cookie-modal .cookie-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 0;
}
.cookie-modal .cookie-label {
    font-size: 1.05rem;
    font-family: var(--brand-font-display);
}
.cookie-modal .cookie-toggle {
    width: 46px;
    height: 28px;
    border-radius: 28px;
    background: #eee;
    position: relative;
    cursor: pointer;
    box-shadow: 0 1.5px 6px rgba(39,75,54,0.08);
    transition: background 0.2s;
    border: none;
    outline: none;
    appearance: none;
}
.cookie-modal .cookie-toggle[aria-checked="true"] {
    background: var(--brand-electric-green);
}
.cookie-modal .cookie-toggle[aria-checked="false"] {
    background: #ddd;
}
.cookie-modal .cookie-toggle:after {
    content: '';
    position: absolute;
    left: 3px;
    top: 3px;
    width: 23px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    transition: left 0.19s;
    box-shadow: 0 1px 2px rgba(39,75,54,0.09);
}
.cookie-modal .cookie-toggle[aria-checked="true"]:after {
    left: 20px;
}

/* === Responsive === */
@media (max-width: 1024px) {
    h1 { font-size: 2.1rem; }
    h2 { font-size: 1.55rem; }
    .container { max-width: 96vw; }
    section { padding: 32px 8px; }
    .feature-grid { gap: 20px; }
}
@media (max-width: 880px) {
    section {padding: 22px 4px; }
    .container { padding: 0 6px; }
    .feature-grid > div, .card {
        min-width: 180px;
        flex: 1 1 160px;
        padding: 14px 8px;
    }
}
@media (max-width: 768px) {
    .feature-grid {
        flex-direction: column;
        gap: 20px;
    }
    .feature-grid > div, .card {
        min-width: 100%;
        flex: 1 1 100%;
    }
    .testimonial-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 18px 8px 18px 12px;
    }
    .footer-info {
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }
    h1 { font-size: 1.4rem; }
    h2 { font-size: 1.16rem; }
    .cookie-modal { padding: 24px 5vw 20px 5vw; }
    .footer-nav { gap: 10px; }
    section { margin-bottom: 36px; }
    .content-grid { flex-direction: column; gap: 12px;}
}
@media (max-width: 560px) {
    section {
        padding: 14px 2vw;
        margin-bottom: 22px;
        border-radius: 7px;
    }
    .feature-grid > div, .card {
        padding: 10px 5px 10px 7px;
    }
    .testimonial-card { padding: 12px 3vw 12px 6px; }
    .cookie-banner { font-size: 0.9rem; }
    .cookie-modal { padding: 18px 1vw 10px 1vw; }
}

/* === Accessibility & Micro-Interactions === */
a:focus, button:focus {
    outline: 2px dashed var(--brand-electric-cyan) !important;
    background: #e9fafd;
}

.card, .feature-grid > div, .testimonial-card, .cta-btn, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close, .footer-nav a, .mobile-nav a {
    transition: box-shadow 0.14s, background 0.14s, color 0.14s, border-color 0.13s, transform 0.13s;
}

/* === Animate In (for dynamic feeling) === */
.animate-in {
    animation: cardFadeIn 0.65s cubic-bezier(0.64,0,0.36,1) both;
}
@keyframes cardFadeIn {
    0% { opacity:0; transform: translateY(40px) scale(0.97); }
    100% { opacity:1; transform: none; }
}

/* === Misc. Utilities === */
.margin-bottom-lg { margin-bottom: 60px !important; }
.margin-bottom { margin-bottom: 20px !important; }
.gap-xl { gap: 32px !important; }
.gap-md { gap: 20px !important; }
.gap-sm { gap: 12px !important; }
.text-center { text-align: center !important; }

/* === Hide elements utility === */
.hidden { display: none !important; }

/* === Custom Scrollbar (optional, branched with vibrant style) === */
::-webkit-scrollbar {
    width: 10px;
    background: var(--brand-accent);
}
::-webkit-scrollbar-thumb {
    background: var(--brand-electric-pink);
    border-radius: 25px;
}

/* === End of Vibrant Energetic CSS === */
