/* =====================================================
   Timid Vector Reisen – Vibrant Energetic CSS Framework
   Author: Senior CSS Developer | UI Designer
   Version: 1.0
   ===================================================== */

/* ========================
   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: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1.6;
    background: #F3F6FF;
    color: #1A1A1A;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    min-height: 100vh;
}
ul, ol {
    list-style: none;
}
a {
    text-decoration: none;
    color: inherit;
    transition: color 0.25s;
}
img {
    vertical-align: middle;
    max-width: 100%;
    height: auto;
    border: 0;
    display: block;
}
button {
    font: inherit;
    border: none;
    background: none;
    cursor: pointer;
    outline: none;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

/* ========================
   COLORS & VARIABLES
   ======================== */
:root {
    --primary: #11487D;
    --secondary: #7CB518;
    --accent: #F3F6FF;
    --electric-pink: #FF2975;
    --vivid-orange: #FFB100;
    --electric-blue: #1194FF;
    --electric-green: #08C18A;
    --body-bg: #F3F6FF;
    --section-bg: #FFFFFF;
    --card-bg: #FFFFFF;
    --footer-bg: #11487D;
    --footer-accent: #7CB518;
    --shadow-lg: 0 10px 30px 0 rgba(17, 72, 125, 0.16);
    --shadow: 0 2px 6px 0 rgba(17, 72, 125, 0.09);
}

/* ========================
   TYPOGRAPHY
   ======================== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

body {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    color: #1A1A1A;
    background: var(--body-bg);
    letter-spacing: 0.02em;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', Arial, sans-serif;
    color: var(--primary);
    font-weight: 900;
    line-height: 1.12;
}
h1 {
    font-size: 2.5rem;
    margin-bottom: 24px;
    letter-spacing: 0.01em;
}
h2 {
    font-size: 2rem;
    margin: 36px 0 20px 0;
    letter-spacing: 0.01em;
}
h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 24px 0 12px 0;
}
h4, h5, h6 {
    font-size: 1rem;
    font-weight: 700;
}
p,
ul, ol {
    font-size: 1rem;
    margin-bottom: 16px;
    color: #222;
    line-height: 1.7;
}
strong {
    color: var(--electric-blue);
    font-weight: 700;
}

/* =====================
   LAYOUT CONTAINERS
   ===================== */
.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}
.content-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
}

/* ---- Spacing & Section Patterns ---- */
.section {
    margin-bottom: 60px;
    padding: 40px 20px;
    background: var(--section-bg);
    box-shadow: var(--shadow);
    border-radius: 22px;
    position: relative;
    transition: box-shadow 0.3s;
}
.section:last-child {
    margin-bottom: 0;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 20px;
}
.card {
    background: var(--card-bg);
    box-shadow: var(--shadow);
    border-radius: 18px;
    margin-bottom: 20px;
    padding: 24px 20px;
    min-width: 250px;
    flex: 1 1 260px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: box-shadow 0.28s, transform 0.25s;
    z-index: 1;
}
.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px) scale(1.01);
}

.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;
}
.testimonial-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 28px;
    background: #f4f7fb;
    border-radius: 16px;
    box-shadow: 0 2px 14px rgba(17,72,125,0.10);
    min-width: 0;
    margin-bottom: 20px;
    flex: 1 1 320px;
    color: #1a1a1a;
    font-size: 1.08rem;
}
.testimonial-card p {
    flex: 1;
    margin: 0;
    color: #151517;
}
.testimonial-card span {
    font-size: 0.97em;
    font-weight: 700;
    color: var(--electric-pink);
    margin-left: 8px;
}
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 18px 18px 14px 18px;
    margin-bottom: 24px;
}

/* ======================
   HEADER & NAVIGATION
   ====================== */
header {
    background: var(--primary);
    padding: 0;
    box-shadow: 0 2px 10px rgba(17,72,125,0.10);
    position: sticky;
    top: 0;
    z-index: 80;
}
header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    padding: 0 20px;
}
header img {
    height: 46px;
    margin-right: 28px;
}
nav {
    display: flex;
    gap: 20px;
    align-items: center;
}
nav a {
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    font-size: 1.10rem;
    letter-spacing: 0.03em;
    padding: 7px 16px;
    border-radius: 8px;
    transition: background 0.18s, color 0.18s;
}
nav a:hover, nav a:focus {
    background: var(--secondary);
    color: #11487D;
}
.mobile-menu-toggle {
    background: var(--electric-pink);
    color: #fff;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 1.45rem;
    display: none;
    align-items: center;
    margin-left: 16px;
    z-index: 120;
    box-shadow: 0 1px 5px rgba(255,41,117,0.15);
    transition: background 0.22s, color 0.22s, transform 0.15s;
}
.mobile-menu-toggle:active {
    background: var(--electric-blue);
    color: #fff;
}

/* ======================
   MOBILE MENU OVERLAY
   ====================== */
.mobile-menu {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(17, 72, 125, 0.93);
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.45,0,0.55,1);
    display: flex;
    flex-direction: column;
    padding: 0;
    visibility: hidden;
}
body.menu-open .mobile-menu {
    transform: translateX(0);
    visibility: visible;
}
.mobile-menu-close {
    background: var(--electric-pink);
    color: #fff;
    border-radius: 10px;
    font-size: 2rem;
    width: 44px; height: 44px;
    align-self: flex-end;
    margin: 20px 22px 10px 0;
    box-shadow: 0 1px 8px rgba(255,41,117,0.13);
    transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:hover { background: var(--vivid-orange); color: #11487D; }
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 26px;
    align-items: center;
    margin-top: 40px;
}
.mobile-nav a {
    color: #fff;
    background: var(--secondary);
    width: 220px;
    text-align: center;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 900;
    font-size: 1.27rem;
    letter-spacing: 0.04em;
    border-radius: 12px;
    padding: 14px 0;
    box-shadow: 0 2px 10px rgba(17,72,125,0.10);
    transition: background 0.20s, color 0.20s, transform 0.20s;
}
.mobile-nav a:hover {
    background: var(--electric-pink);
    color: #fff;
    transform: scale(1.05);
}

/* ===============
   MAIN & CTA'S
   =============== */
.cta {
    display: inline-flex;
    align-items: center;
    background: var(--electric-pink);
    color: #fff;
    padding: 13px 38px;
    border-radius: 20px;
    box-shadow: 0 2px 14px rgba(17,72,125,0.17);
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 900;
    font-size: 1.19rem;
    margin-top: 10px;
    letter-spacing: 0.045em;
    text-shadow: 0 1px 1px rgba(17,72,125,0.03);
    transition: transform 0.2s, background 0.17s, color 0.13s;
    border: none;
}
.cta.primary { background: var(--electric-pink); }
.cta.secondary { background: var(--electric-green); color: #fff; }
.cta:hover, .cta:focus {
    background: var(--electric-blue);
    color: #fff;
    transform: translateY(-1px) scale(1.03);
    box-shadow: 0 4px 20px rgba(17,72,125,0.19);
}

/* ================================
   LISTS WITH ICONS & FEATURES
   ================================ */
ul li, ol li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 1.04em;
}
ul li img, ol li img {
    width: 24px; height: 24px; margin-right: 8px;
    flex-shrink: 0;
}

/* ===================
   TEXT/CARD SECTIONS
   =================== */
.text-section {
    background: #fafdff;
    border-radius: 15px;
    padding: 18px 22px;
    box-shadow: 0 1px 8px rgba(17,72,125,0.07);
    margin-top: 10px;
    margin-bottom: 20px;
}

/* ===================
   FOOTER
   =================== */
footer {
    background: var(--footer-bg);
    color: #fff;
    padding: 0;
    box-shadow: 0 -1px 14px rgba(17,72,125,0.08);
}
footer .container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 32px;
    justify-content: space-between;
    padding: 32px 20px 20px 20px;
}
.footer-logo img {
    height: 44px;
    margin-right: 10px;
}
.footer-nav,
.footer-legal {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    font-size: 1.08rem;
}
.footer-nav a,
.footer-legal a {
    color: #fff;
    transition: color 0.18s;
    text-decoration: underline from-font 1.5px #7CB518;
}
.footer-nav a:hover, .footer-legal a:hover {
    color: var(--secondary);
}
.contact-snippet {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.97rem;
    margin-top: 5px;
}
.contact-snippet img {
    width: 18px; height: 18px;
    margin-right: 3px;
}

/* ===================================
   COOKIE CONSENT BANNER & MODAL
   =================================== */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    color: #073158;
    box-shadow: 0 -2px 24px rgba(17,72,125,0.15);
    border-top: 4px solid var(--electric-green);
    padding: 22px 20px 18px 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    z-index: 12000;
    gap: 16px;
    transition: transform 0.36s cubic-bezier(0.48,0,0.55,1);
    transform: translateY(0);
    font-size: 1.08rem;
}
.cookie-banner.hide {
    transform: translateY(120%);
}
.cookie-banner p {
    flex: 1 1 300px;
    color: #073158;
    margin-bottom: 0;
    font-weight: 600;
}
.cookie-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}
.cookie-btn {
    border-radius: 15px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 900;
    letter-spacing: 0.04em;
    font-size: 1.01em;
    padding: 9px 28px;
    box-shadow: 0 1px 4px rgba(17,72,125,0.09);
    border: none;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    transition: background 0.19s, color 0.15s, transform 0.18s;
}
.cookie-btn.accept {
    background: var(--electric-green);
    color: #fff;
}
.cookie-btn.accept:hover {
    background: var(--electric-blue);
}
.cookie-btn.reject {
    background: #efefef;
    color: var(--electric-pink);
}
.cookie-btn.reject:hover {
    background: var(--electric-pink);
    color: #fff;
}
.cookie-btn.settings {
    background: var(--electric-pink);
    color: #fff;
}
.cookie-btn.settings:hover {
    background: var(--electric-blue);
    color: #fff;
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
    position: fixed;
    left: 0; top: 0;
    width: 100vw; height: 100vh;
    background: rgba(17,72,125,0.65);
    z-index: 13000;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.23s, visibility 0.23s;
}
.cookie-modal-overlay.active {
    visibility: visible;
    opacity: 1;
}
.cookie-modal {
    background: #fff;
    border-radius: 22px;
    max-width: 420px;
    width: 92vw;
    box-shadow: var(--shadow-lg);
    padding: 36px 28px 18px 28px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 22px;
    z-index: 13100;
    animation: modalIn 0.37s cubic-bezier(0.53,-0.06,0.42,1.12);
}
@keyframes modalIn {
    0% { transform: scale(0.92) translateY(24px); opacity: 0; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-close {
    position: absolute;
    right: 18px; top: 15px;
    background: var(--electric-pink);
    color: #fff;
    border-radius: 10px;
    font-size: 1.48rem;
    width: 38px; height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cookie-modal-category {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 1.07rem;
    margin-bottom: 6px;
}
.cookie-modal-category label {
    font-weight: 700;
    color: var(--primary);
}
.cookie-modal-category input[type="checkbox"] {
    appearance: none;
    width: 22px; height: 22px;
    border-radius: 6px;
    border: 2px solid var(--secondary);
    background: #f7f7f7;
    margin-right: 0;
    display: inline-block;
    position: relative;
    cursor: pointer;
    transition: border 0.18s, background 0.15s;
}
.cookie-modal-category input[type="checkbox"]:checked {
    background: var(--secondary);
    border-color: var(--primary);
}
.cookie-modal-category input[type="checkbox"]:checked::after {
    content: '\2713';
    color: #fff;
    font-size: 1.1em;
    position: absolute;
    left: 4px; top: 0.5px;
}
.modal-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: flex-end;
    margin-top: 10px;
}


/* ===================
   RESPONSIVE DESIGN
   =================== */
@media (max-width: 1200px) {
    .container {
        max-width: 90vw;
    }
}
@media (max-width: 1024px) {
    .footer-logo img, header img { height: 40px; }
    .container { padding: 0 8px; }
    .section { padding: 32px 10px; }
}

@media (max-width: 900px) {
    .container { max-width: 99vw; }
    .footer-logo, .footer-nav, .footer-legal, .contact-snippet {
        font-size: 0.98em;
    }
    .footer-nav, .footer-legal {
        gap: 10px;
    }
}
@media (max-width: 840px) {
    footer .container, header .container {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
}
@media (max-width: 768px) {
    .container {
        padding: 0 4vw;
    }
    .section {
        margin-bottom: 38px;
        padding: 24px 3vw;
    }
    h1 { font-size: 2.05rem; }
    h2 { font-size: 1.48rem; }
    .testimonial-card, .card {
        flex: 1 1 100%;
        min-width: 0;
    }
    .card-container, .content-grid {
        flex-direction: column;
        gap: 20px;
    }
    .footer-logo img, header img { height: 36px; }
    .footer-nav, .footer-legal {
        flex-direction: column;
        gap: 8px;
    }
    .contact-snippet {
        gap: 10px;
        font-size: 0.93em;
        flex-wrap: wrap;
    }
    nav { display: none; }
    .mobile-menu-toggle { display: flex !important; }
    .card { padding: 18px 13px; }
    .testimonial-card { padding: 16px 13px; }
}
@media (max-width: 650px) {
    .text-image-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }
    .content-wrapper {
        gap: 12px;
    }
    .section { padding: 16px 3vw; }
}
@media (max-width: 430px) {
    header .container, footer .container {
        padding: 0 2vw;
    }
    .section { padding: 8px 2vw; }
    h1 { font-size: 1.32rem; }
    h2 { font-size: 1.08rem; }
    .cta, .cookie-btn { padding: 9px 12px; font-size: 1em; }
}

/* ===============
   ANIMATIONS
   =============== */
.card, .testimonial-card, .section, .cta, .cookie-banner, .cookie-modal {
    transition: box-shadow 0.23s, transform 0.20s, background 0.20s, color 0.14s;
}

/* ===============
   OVERRIDES
   =============== */
::-webkit-input-placeholder { color: #8B98AB; }
::-moz-placeholder { color: #8B98AB; }
:-ms-input-placeholder { color: #8B98AB; }
::placeholder { color: #8B98AB; }

/* ===============
   MISC
   =============== */
hr {
    border: 0;
    border-top: 1.5px dashed #eef2fb;
    margin: 32px 0;
}

/* ==============
   HELPERS
   ============= */
.hidden { display: none !important; }

/* ===============
   FOCUS STATES
   =============== */
:focus-visible {
    outline: 2px solid var(--electric-pink);
    outline-offset: 2px;
    border-radius: 8px;
}

/*
  ==============
  INTERACTIVE
  ==============
  - Burger menu is displayed only on mobile (
    nav hidden, .mobile-menu-toggle displayed)
  - .mobile-menu overlay slides in from right
  - Cookie banner fixed at bottom with colored Accept/Reject/Settings buttons
  - Cookie modal overlay with animated pop-up categories, settings selectors, close
*/
