/* ======================
   CSS RESET & BASE STYLES
   ====================== */
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;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1.5;
    min-height: 100vh;
    font-family: 'Open Sans', Arial, sans-serif;
    background-color: #131D1A;
    color: #ECEFF1;
    letter-spacing: 0.01em;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img {
    max-width: 100%;
    display: block;
}

ul, ol {
    list-style: none;
}
a {
    color: inherit;
    text-decoration: none;
    transition: color 0.22s cubic-bezier(.44,.13,.48,.87);
}
strong {
    font-weight: 700;
}

/* ======================
   VARIABLES & COLOR SCHEME
   ====================== */
:root {
    --color-primary: #1E3A34;
    --color-secondary: #F3C969;
    --color-accent: #FFFFFF;

    --color-bg-dark: #141B18;
    --color-bg-tech: #192821;
    --color-fg-light: #FFFDEB;
    --color-gradient-start: #1E3A34;
    --color-gradient-end: #161C22;
    --color-neon: #25FFD6;
    --color-neon-glow: #52e9e1;
    --color-warning: #F3C969;

    --font-display: "Montserrat", Arial, Helvetica, sans-serif;
    --font-body: "Open Sans", Arial, Helvetica, sans-serif;
}

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Open+Sans:wght@400;600&display=swap');

/* ===================
   LAYOUT CONTAINERS
   =================== */
.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
}

/* CRITICAL SPACING & SECTION PATTERNS (MANDATORY) */
.section {
    margin-bottom: 60px;
    padding: 40px 20px;
    background: none;
}
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.card {
    margin-bottom: 20px;
    position: relative;
}
.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;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #FDF6E9;
    color: #1E3A34;
    border-radius: 18px;
    box-shadow: 0 4px 32px 0 rgba(30,58,52,0.12);
    margin-bottom: 24px;
    border-left: 4px solid var(--color-neon);
    min-width: 0;
    transition: box-shadow 0.25s;
}
.testimonial-card:hover {
    box-shadow: 0 8px 38px 0 var(--color-neon);
}
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

/* ===================
   TYPOGRAPHY
   =================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--color-secondary);
    font-weight: 700;
}
h1 {
    font-size: 2.5rem;
    letter-spacing: -1px;
    margin-bottom: 12px;
}
h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}
h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}
.subheadline {
    font-size: 1.175rem;
    color: var(--color-accent);
    margin-bottom: 17px;
    font-family: var(--font-body);
    font-weight: 400;
}
p, ul, ol, li {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-fg-light);
}
.text-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 18px;
}
ul li, ol li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 12px;
}
ul li:before {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--color-neon);
    border-radius: 50%;
    display: inline-block;
    position: absolute;
    left: 2px;
    top: 8px;
    box-shadow: 0 0 8px 2px var(--color-neon-glow);
}

@media (max-width: 480px) {
    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.25rem; }
    h3 { font-size: 1.08rem; }
    p, li { font-size: 0.97rem; }
}

/* ================
   GLOBAL BACKGROUND
   ================ */
body {
    background:
        linear-gradient(120deg, var(--color-gradient-start), var(--color-gradient-end));
}

section {
    margin-bottom: 60px;
    padding: 40px 0;
    background: transparent;
    border-radius: 14px;
}

/* Hero/CTA section special gradient overlay on home */
main > section:first-child {
    background: linear-gradient(95deg,#1E3A34 65%,#17292D 100%);
    box-shadow: 0 6px 68px 0 rgba(36,255,214,0.09);
    position: relative;
}
main > section:first-child .content-wrapper {
    align-items: flex-start;
}

/* ==================
   HEADER & NAVIGATION
   ================== */
header {
    background: var(--color-bg-tech);
    box-shadow: 0 2px 15px rgba(29, 255, 192, 0.02);
    position: sticky;
    top: 0; left: 0; right: 0;
    z-index: 200;
    width: 100vw;
}
header .container {
    height: 80px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
.logo img {
    height: 48px;
    width: auto;
    display: block;
    filter: drop-shadow(0 8px 24px #18e0c6be);
    transition: filter 0.33s;
}
.logo:hover img {
    filter: drop-shadow(0 4px 16px #25FFD6);
}

.main-nav {
    display: flex;
    gap: 28px;
    align-items: center;
    margin-right: 10px;
}
.main-nav a {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.03em;
    color: var(--color-secondary);
    padding: 8px 0;
    position: relative;
}
.main-nav a:after {
    content: "";
    display: block;
    height: 2px;
    width: 0;
    background: var(--color-neon);
    transition: width 0.25s cubic-bezier(.5,.25,.25,1);
    border-radius: 1px;
    position: absolute;
    left: 0; bottom: -3px;
}
.main-nav a:hover, .main-nav a:focus {
    color: var(--color-accent);
    text-shadow: 0 0 12px var(--color-neon);
}
.main-nav a:hover:after, .main-nav a:focus:after {
    width: 100%;
}

.cta-btn {
    background: var(--color-neon);
    color: #0F2220;
    font-family: var(--font-display);
    font-weight: 700;
    padding: 13px 36px;
    border-radius: 24px;
    cursor: pointer;
    border: none;
    font-size: 1.06rem;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 12px 0 rgba(37,255,214,0.12);
    transition: background 0.23s, box-shadow 0.23s, color 0.15s;
    position: relative;
    outline: none;
    filter: drop-shadow(0 0 8px #13F7DD50);
}
.cta-btn:hover, .cta-btn:focus {
    background: #13F7DD;
    color: #1E3A34;
    box-shadow: 0 4px 22px 0 #25FFD690;
}

/* Hamburger menu button (MOBILE) */
.mobile-menu-toggle {
    background: none;
    border: none;
    color: var(--color-neon);
    font-size: 2rem;
    margin-left: 12px;
    cursor: pointer;
    display: none;
    z-index: 300;
    transition: color 0.25s;
    line-height: 1;
}
.mobile-menu-toggle:focus{
    outline: 2px solid var(--color-neon);
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    background: rgba(30,58,52,0.99);
    transform: translateX(100vw);
    transition: transform 0.33s cubic-bezier(.4,.3,.2,1);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 54px;
    width: 100vw;
    height: 100vh;
}
.mobile-menu.open {
    transform: translateX(0);
}
.mobile-menu-close {
    background: none;
    color: var(--color-neon);
    border: none;
    font-size: 2.2rem;
    position: absolute;
    top: 22px;
    right: 26px;
    z-index: 10000;
    cursor: pointer;
    transition: color 0.23s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
    color: var(--color-warning);
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 26px;
    margin-top: 48px;
    width: 100%;
    padding-left: 26px;
}
.mobile-nav a {
    color: var(--color-neon);
    font-size: 1.38rem;
    font-family: var(--font-display);
    font-weight: 700;
    text-shadow: 0 2px 18px #25FFD6bb,0 0 2px #fff;
    padding: 12px 0;
    border-radius: 8px;
    transition: background 0.2s;
    min-width: 90%;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
    background: rgba(243,201,105,0.19);
    color: #F3C969;
    outline: none;
}
/* Responsive NAV */
@media (max-width: 1020px) {
    .main-nav {
        gap: 14px;
    }
}
@media (max-width: 900px) {
    .main-nav {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
}
@media (max-width: 900px) {
    .cta-btn {
        padding: 11px 18px;
        font-size: 0.98rem;
    }
    header .container {
        height: 58px;
        gap: 10px;
    }
}

/* =====================
   FOOTER
   ===================== */
footer {
    width: 100vw;
    background: #162721;
    border-top: 1.5px solid #233430;
    color: #E8F6F5;
    font-size: 0.95rem;
    padding: 28px 0 19px 0;
    box-shadow: 0 0 48px #25FFD610 inset;
    margin-top: 40px;
}
footer .container {
    flex-direction: column;
    align-items: center;
    gap: 18px;
}
.footer-nav {
    display: flex;
    gap: 22px;
    align-items: center;
    margin-bottom: 8px;
    flex-wrap: wrap;
}
.footer-nav a {
    color: var(--color-secondary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    opacity: 0.95;
    transition: color 0.18s;
}
.footer-nav a:hover {
    color: var(--color-neon);
}
.footer-contact {
    color: #CED7D4;
    font-size: 0.97rem;
    font-family: var(--font-body);
    display: flex;
    flex-direction: row;
    gap: 9px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 2px;
    opacity: 0.88;
}
.footer-contact img {
    height: 16px;
    width: 16px;
    margin-right: 2px;
    vertical-align: middle;
}

/* ==============  
   FEATURE GRID & CARDS
   ==============  */
.feature-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: flex-start;
    margin-top: 8px;
    margin-bottom: 24px;
}
.feature-grid > div {
    background: #19392F;
    color: #EDFAF9;
    border-radius: 15px;
    box-shadow: 0 2px 24px 0 #21FFD640;
    padding: 24px 18px 22px 18px;
    flex: 1 1 205px;
    min-width: 235px;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    border-left: 4px solid var(--color-neon);
    transition: box-shadow 0.2s, border-left-color 0.16s;
    margin-bottom: 16px;
}
.feature-grid > div img {
    height: 34px;
    width: auto;
    filter: drop-shadow(0 2px 8px #21FFD6AA);
    margin-bottom: 5px;
}
.feature-grid > div:hover {
    box-shadow: 0 4px 32px var(--color-neon-glow);
    border-left-color: #F3C969;
}
.feature-grid > div h3 {
    color: var(--color-secondary);
}

/* =================
   TESTIMONIALS
   ================= */
.testimonial-card p {
    font-family: var(--font-body);
    color: #284933;
    font-size: 1.08rem;
    margin-bottom: 0;
}
.testimonial-card strong {
    color: #1E3A34;
}
.testimonial-card img[alt="Bewertung"] {
    height: 20px;
    vertical-align: middle;
    display: inline-block;
    margin-left: 4px;
}

/* =============
   HERO & CTA
   ============= */
.cta-section, .cta-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: #1E3A34;
    border-radius: 15px;
    box-shadow: 0 2px 32px 0 #25FFD613;
    padding: 38px 20px;
}
.cta-section h2,
.cta-block h2 {
    color: var(--color-neon);
    font-size: 2.1rem;
    margin-bottom: 10px;
}

/* =============
   CARDS
   ============= */
.card {
    background: #183931;
    color: #CCEDE3;
    border-radius: 16px;
    box-shadow: 0 2px 12px #25FFD620;
    padding: 32px 22px;
    flex: 1 1 200px;
    min-width: 200px;
    max-width: 340px;
    margin-bottom: 20px;
    transition: box-shadow 0.25s;
}
.card:hover {
    box-shadow: 0 8px 38px 0 var(--color-neon);
}

/* ==============
   FORM ELEMENTS
   ============== */
input, textarea, select {
    font-family: var(--font-body);
    border-radius: 8px;
    border: 1.3px solid #2DF0DD;
    background: #182722;
    color: #F1F8F7;
    padding: 12px 14px;
    margin-bottom: 18px;
    width: 100%;
    font-size: 1rem;
    transition: border-color 0.22s, box-shadow 0.18s;
}
input:focus, textarea:focus, select:focus {
    border-color: #F3C969;
    box-shadow: 0 4px 24px #F3C9693A;
    outline: none;
}
label {
    color: var(--color-neon);
    font-family: var(--font-display);
    font-size: 1rem;
    margin-bottom: 7px;
}

/* ================
   SPACING UTILITIES
   ================ */
.mt-2 { margin-top: 16px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mt-3 { margin-top: 24px !important; }
.mb-3 { margin-bottom: 24px !important; }
.gap-1  { gap: 8px !important; }
.gap-2  { gap: 16px !important; }
.gap-3  { gap: 24px !important; }

/* ===============================
   RESPONSIVENESS (MOBILE-FIRST)
   =============================== */
@media (max-width: 900px) {
    .container {
        padding: 0 9px;
    }
    .feature-grid {
        gap: 18px;
    }
}
@media (max-width: 768px) {
    .content-wrapper,
    .text-section {
        gap: 18px;
        padding: 0;
        font-size: 1rem;
    }
    .feature-grid {
        flex-direction: column;
        justify-content: center;
        align-items: stretch;
        gap: 20px;
    }
    .footer-nav {
        gap: 12px;
    }
    .section {
        padding: 28px 4px;
        margin-bottom: 34px;
    }
    .cta-section, .cta-block {
        padding: 25px 8px;
        border-radius: 11px;
    }
    .card-container, .content-grid, .text-image-section {
        flex-direction: column !important;
        gap: 19px !important;
    }
    .container {
        padding: 0 2.5vw;
    }
}
@media (max-width: 520px) {
    .logo img { height: 36px; }
    .feature-grid > div, .card {
      min-width: unset;
      padding: 16px 12px;
    }
    .testimonial-card {
      padding: 16px 6px;
      border-radius: 10px;
    }
    h1 { font-size: 1.01rem; }
    h2 { font-size: .98rem; }
    h3 { font-size: .97rem; }
}

/* adjust for text-image-section layout on mobile */
@media (max-width: 768px) {
    .text-image-section {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
}

/* ============================
   COOKIE CONSENT BANNER / MODAL
   ============================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    z-index: 11000;
    background: #171C22;
    color: #F3C969;
    box-shadow: 0 -4px 48px 0 #25FFD6BB;
    border-top: 2px solid #25FFD6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 36px;
    gap: 24px;
    animation: banner-fade-in 0.41s cubic-bezier(.44,.11,.33,1);
    font-size: 1.03rem;
}
@media (max-width: 680px) {
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 9px;
        gap: 18px;
        font-size: 0.97rem;
    }
}
.cookie-banner .cookie-actions {
    display: flex;
    flex-direction: row;
    gap: 13px;
    flex-wrap: wrap;
}
.cookie-btn {
    padding: 9px 22px;
    border-radius: 18px;
    border: none;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: #202B28;
    background: var(--color-neon);
    margin-right: 7px;
    cursor: pointer;
    box-shadow: 0 1px 8px #25ffd611;
    transition: background 0.22s,color 0.15s,box-shadow 0.18s;
    outline: none;
}
.cookie-btn.settings {
    background: var(--color-secondary);
    color: #202B28;
}
.cookie-btn.reject {
    background: #38483E;
    color: #FFFDEB;
    border: 1.5px solid var(--color-neon);
}
.cookie-btn:focus,
.cookie-btn:hover {
    background: #25FFD6;
    color: #154b45;
    box-shadow: 0 4px 16px 0 #25FFD670;
}

/* Cookie Modal Popup */
.cookie-modal {
    position: fixed;
    bottom: 0; left: 50%;  
    transform: translate(-50%,100vh);
    background: #162F27;
    color: #F3C969;
    border-radius: 28px 28px 0 0;
    box-shadow: 0 0 72px 0 #25ffd6bb;
    z-index: 12000;
    min-width: 320px;
    max-width: 97vw;
    padding: 33px 24px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    opacity: 0.97;
    transition: transform 0.44s cubic-bezier(.48,.17,.44,1);
}
.cookie-modal.open {
    transform: translate(-50%,0);
}
.cookie-modal h2 {
    color: var(--color-neon);
    font-size: 1.18rem;
    margin-bottom: 10px;
    font-family: var(--font-display);
}
.cookie-categories {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 15px 0;
}
.cookie-category {
    background: #1E3A34;
    border-radius: 14px;
    padding: 12px 12px 10px 12px;
    color: #FFFDEB;
    display: flex;
    flex-direction: row;
    gap: 14px;
    align-items: center;
}
.cookie-category label {
    color: #FFFDEB;
    font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
    accent-color: var(--color-neon);
    width: 18px;
    height: 18px;
}
.cookie-modal .cookie-modal-actions {
    display: flex;
    gap: 13px;
    padding-top: 12px;
}
.cookie-modal .cookie-btn {
    font-size: 1rem;
    padding: 8px 19px;
}
.cookie-modal .close {
    position: absolute;
    top: 10px; right: 16px;
    background: none;
    border: none;
    color: var(--color-neon);
    font-size: 2.3rem;
    cursor: pointer;
    transition: color 0.2s;
}
.cookie-modal .close:hover, .cookie-modal .close:focus {
    color: var(--color-secondary);
}
@keyframes banner-fade-in {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: none; }
}

/* ==================
   ANIMATIONS
   ================== */
.cta-btn, .feature-grid > div, .card, .testimonial-card, .main-nav a, .cookie-btn {
    transition: box-shadow 0.22s, background 0.22s, color 0.2s, transform 0.19s;
}
.cta-btn:active {
    transform: scale(.97);
}
.feature-grid > div:active, .card:active, .testimonial-card:active {
    transform: scale(.985);
}
.mobile-menu,
.cookie-banner,
.cookie-modal {
    will-change: transform, opacity;
    backface-visibility: hidden;
}

/* ===================
   UTILITY: NO-SELECT
   =================== */
.no-select {
    user-select: none;
    -webkit-user-select: none;
}

/* ===================
   ENSURE MIN SPACING
   =================== */
section, .section, .card-container, .content-grid, .feature-grid, .testimonial-card, .card {
    margin-bottom: 20px;
}
.card-container, .content-grid, .feature-grid, .text-image-section {
    gap: 20px;
}

/* ===================
   PREVENT OVERLAP
   =================== */
.card, .testimonial-card, .feature-grid > div {
    min-width: 0;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* ================
   HIGH CONTRAST TESTIMONIALS
   ================ */
.testimonial-card {
    background: #FFFDEB;
    color: #1E3A34;
}
.testimonial-card p, .testimonial-card strong, .testimonial-card div {
    color: #1E3A34;
}

/* ================
   MISC CLASSES
   ================ */
.text-center {
    text-align: center!important;
}
.align-start {
    align-items: flex-start;
}
.align-center {
    align-items: center!important;
}
.justify-between {
    justify-content: space-between!important;
}

/* Hide visually but keep accessible */
.visually-hidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/* END of style.css */
