/* 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, menu, 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;
}
html {
    box-sizing: border-box;
    scroll-behavior: smooth;
}
*, *:before, *:after {
    box-sizing: inherit;
}
body {
    line-height: 1.6;
    background: #F4F8F7;
    color: #25425B;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
a {
    color: #25425B;
    text-decoration: none;
    transition: color 0.2s;
}
a:hover, a:focus {
    color: #97C680;
    outline: none;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    color: #25425B;
    margin-bottom: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
}
h1 { font-size: 2.25rem; line-height: 1.1; margin-bottom: 24px; }
h2 { font-size: 1.75rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 14px; font-weight: 600; }
h4 { font-size: 1.125rem; margin-bottom: 10px; }
p, ul, ol, li, blockquote {
    font-size: 1rem;
    margin-bottom: 16px;
    color: #25425B;
    font-weight: 400;
}
strong { font-weight: 600; }
blockquote {
    font-style: italic;
    padding-left: 18px;
    border-left: 4px solid #97C680;
    margin-bottom: 16px;
    color: #25425B;
    background: #F4F8F7;
}

ul, ol {
    margin-left: 24px;
}
li {
    margin-bottom: 10px;
}

.text-section {
    margin-bottom: 24px;
}

/* CONTAINER SYSTEM */
.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}
.content-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

/* FLEXBOX LAYOUTS (MANDATORY PATTERNS) */
.section {
    margin-bottom: 60px;
    padding: 40px 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 16px 0 rgba(37,66,91,0.07);
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.card {
    background: #fff;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 12px 0 rgba(37,66,91,0.08);
    position: relative;
    padding: 24px 24px 20px 24px;
    display: flex;
    flex-direction: column;
    min-width: 260px;
}
.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;
    width: 100%;
}
.testimonial-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #F4F8F7;
    border-radius: 12px;
    box-shadow: 0 2px 8px 0 rgba(37,66,91,0.08);
    padding: 20px;
    margin-bottom: 20px;
    transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:hover {
    box-shadow: 0 6px 20px rgba(37,66,91,0.20);
    transform: translateY(-2px) scale(1.015);
}
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

/* HEADER & NAVIGATION */
header {
    background: #25425B;
    color: #fff;
    width: 100%;
    box-shadow: 0 2px 8px 0 rgba(37,66,91,0.08);
    position: relative;
    z-index: 1030;
}
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 20px;
    min-height: 64px;
}
header > a img {
    height: 40px;
}
header nav {
    display: flex;
    align-items: center;
    gap: 30px;
}
header nav a {
    color: #fff;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: -0.015em;
    border-radius: 4px;
    padding: 6px 12px;
    transition: background 0.2s, color 0.2s;
}
header nav a:hover, header nav a:focus {
    background: #97C680;
    color: #25425B;
}
.btn-primary {
    background: #97C680;
    color: #25425B;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    outline: none;
    border-radius: 6px;
    padding: 10px 28px;
    margin-left: 32px;
    cursor: pointer;
    box-shadow: 0 3px 16px 0 rgba(37,66,91,0.09);
    transition: background 0.15s, color 0.15s, box-shadow 0.2s, transform 0.2s;
    display: inline-block;
    text-align: center;
}
.btn-primary:hover, .btn-primary:focus {
    background: #25425B;
    color: #fff;
    box-shadow: 0 5px 16px 0 rgba(37,66,91,0.18);
    transform: translateY(-2px) scale(1.03);
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    margin-left: 24px;
    display: none;
    z-index: 1200;
    padding: 6px 10px;
    border-radius: 4px;
    transition: background 0.2s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
    background: #97C680;
    color: #25425B;
}
.mobile-menu {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: #25425B;
    color: #fff;
    transform: translateX(-105vw);
    transition: transform 0.35s cubic-bezier(.6,.1,.4,1);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 40px 28px 0 28px;
}
.mobile-menu.open {
    transform: translateX(0);
}
.mobile-menu-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 2.2rem;
    cursor: pointer;
    position: absolute;
    right: 16px; top: 18px;
    z-index: 2100;
    padding: 0 8px;
    border-radius: 4px;
    transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
    background: #97C680;
    color: #25425B;
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-top: 48px;
    width: 100%;
}
.mobile-nav a {
    font-size: 1.2rem;
    padding: 12px 0;
    color: #fff;
    border-radius: 4px;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: 500;
    letter-spacing: -0.02em;
    background: none;
    transition: background 0.2s, color 0.2s;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
    background: #97C680;
    color: #25425B;
}

@media (max-width: 1100px) {
    header nav {
        gap: 18px;
    }
    .btn-primary {
        margin-left: 18px;
    }
}
@media (max-width: 900px) {
    header nav {
        display: none;
    }
    .btn-primary {
        margin-left: 0;
    }
    .mobile-menu-toggle {
        display: inline-block;
    }
}
@media (max-width: 768px) {
    header {
        flex-direction: row;
        padding: 8px 10px;
    }
    .container {
        padding-left: 8px; padding-right: 8px;
    }
    .section {
        padding: 24px 8px;
        margin-bottom: 36px;
    }
    .content-wrapper {
        gap: 14px;
    }
    .btn-primary {
        padding: 10px 16px;
        font-size: 0.96rem;
    }
    .feature-grid, .card-container, .content-grid {
        gap: 14px;
    }
}

/* FEATURE GRID & SERVICE LIST */
.feature-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: flex-start;
}
.feature {
    background: #F4F8F7;
    border-radius: 10px;
    box-shadow: 0 1px 8px rgba(37,66,91,.07);
    padding: 22px;
    flex: 1 1 240px;
    min-width: 210px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    transition: box-shadow 0.18s, transform 0.18s;
}
.feature img {
    width: 38px; height: 38px; margin-bottom: 10px;
}
.feature:hover {
    box-shadow: 0 4px 18px rgba(37,66,91,.18);
    transform: translateY(-2px) scale(1.04);
}

.service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    list-style: none;
    margin: 0;
    margin-bottom: 32px;
}
.service-list li {
    background: #fff;
    border: 1px solid #E0E7EE;
    border-radius: 12px;
    box-shadow: 0 1px 8px 0 rgba(37,66,91,0.06);
    padding: 22px 18px 22px 18px;
    flex: 1 1 260px;
    min-width: 210px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    transition: box-shadow 0.16s, border 0.16s, transform 0.2s;
    margin-bottom: 20px;
}
.service-list li:hover, .service-list li:focus-within {
    border: 1.5px solid #97C680;
    box-shadow: 0 8px 32px 0 rgba(37,66,91,.10);
    transform: translateY(-2px) scale(1.024);
}
.service-list img {
    width: 36px;
    height: 36px;
    margin-bottom: 6px;
}
.price {
    background: #97C680;
    color: #25425B;
    font-size: 0.97rem;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: 600;
    border-radius: 6px;
    padding: 4px 12px;
    margin-top: 8px;
    display: inline-block;
}

@media (max-width: 900px) {
    .feature-grid, .service-list, .card-container, .content-grid {
        flex-direction: column;
        gap: 16px;
    }
    .feature,
    .service-list li,
    .card {
        min-width: 0;
    }
}

/* CARDS */
.card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px 0 rgba(37,66,91,0.08);
    position: relative;
    padding: 24px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

/* TESTIMONIALS */
.testimonial-card blockquote {
    margin-bottom: 8px;
    border-left: 4px solid #25425B;
    background: none;
    color: #25425B;
    font-size: 1.06rem;
}
.testimonial-card p {
    margin-bottom: 0;
    font-size: 1rem;
    color: #2E3F51;
}
.testimonial-card strong {
    color: #25425B;
    font-weight: 700;
}

/* CONTACT INFO */
.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    margin-bottom: 24px;
}
.contact-info p {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 1.09rem;
}
.contact-info img {
    width: 24px;
    height: 24px;
}

/* FOOTER */
footer {
    background: #25425B;
    color: #fff;
    width: 100%;
    box-shadow: 0 -2px 8px 0 rgba(37,66,91,0.09);
    padding: 0;
}
.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 20px 24px 20px;
}
.footer-container > a img {
    height: 40px;
}
.footer-container nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-container nav a {
    color: #fff;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0;
    transition: color 0.18s;
}
.footer-container nav a:hover, .footer-container nav a:focus {
    color: #97C680;
}
.footer-container address {
    color: #DFECF0;
    font-style: normal;
    font-size: 0.96rem;
    line-height: 1.7;
    margin-top: 6px;
}

@media (max-width: 900px) {
    .footer-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 24px 10px;
    }
}

/* BUTTONS AND INTERACTIVES */
button,
input[type="submit"] {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    background: #97C680;
    color: #25425B;
    border-radius: 6px;
    padding: 9px 28px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, box-shadow 0.2s, transform 0.2s;
}
button:hover, button:focus,
input[type="submit"]:hover, input[type="submit"]:focus {
    background: #25425B;
    color: #fff;
    box-shadow: 0 5px 14px 0 rgba(37,66,91,0.15);
}

/* FORMS (for kontakt.html in future) */
input, textarea, select {
    font-family: inherit;
    border: 1.5px solid #DEE5EF;
    border-radius: 6px;
    padding: 10px 14px;
    background: #fff;
    font-size: 1rem;
    color: #25425B;
    outline: none;
    margin-bottom: 12px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.18s, box-shadow 0.18s;
}
input:focus, textarea:focus, select:focus {
    border-color: #97C680;
    box-shadow: 0 3px 12px 0 rgba(37,66,91,0.08);
}
label {
    font-size: 0.98rem;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: 500;
    margin-bottom: 5px;
    display: block;
}

/* ADDITIONAL ELEMENTS */
.tip-list {
    list-style: disc inside;
    margin-bottom: 24px;
}
.tip-list li {
    padding-left: 6px;
}
ol {
    margin-left: 16px;
    margin-bottom: 24px;
}
ol li {
    margin-bottom: 10px;
}

/* SEPARATORS */
hr {
    border: none;
    border-top: 1.5px solid #E0E7EE;
    margin: 32px 0;
}

/* COOKIES BANNER & MODAL */
.cookie-banner {
    position: fixed;
    left: 0; right: 0;
    bottom: 0;
    z-index: 3000;
    background: #25425B;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 32px 16px 24px 16px;
    box-shadow: 0 -3px 24px 0 rgba(37,66,91,0.14);
    font-size: 1rem;
    transition: transform 0.4s cubic-bezier(.85,-0.09,.43,1.23), opacity 0.28s;
}
.cookie-banner.hide {
    transform: translateY(100%);
    opacity: 0;
}
.cookie-banner.show {
    transform: translateY(0);
    opacity: 1;
}
.cookie-buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 10px;
}
.cookie-btn {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    background: #97C680;
    color: #25425B;
    border-radius: 6px;
    padding: 8px 20px;
    margin: 0;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, box-shadow 0.15s;
    min-width: 110px;
}
.cookie-btn.reject {
    background: #fff;
    color: #25425B;
    border: 1.5px solid #DEE5EF;
}
.cookie-btn.settings {
    background: #E0E7EE;
    color: #25425B;
}
.cookie-btn:hover, .cookie-btn:focus {
    background: #25425B;
    color: #fff;
    box-shadow: 0 3px 10px rgba(37,66,91,0.13);
}

/* COOKIE MODAL */
.cookie-modal-overlay {
    position: fixed;
    z-index: 3500;
    left: 0; top: 0; right: 0; bottom: 0;
    background: rgba(37,66,91,0.34);
    display: none;
    align-items: center;
    justify-content: center;
}
.cookie-modal-overlay.active {
    display: flex;
}
.cookie-modal {
    background: #fff;
    color: #25425B;
    border-radius: 16px;
    padding: 40px 28px;
    max-width: 420px;
    width: 90vw;
    box-shadow: 0 8px 40px 0 rgba(37,66,91,0.22);
    display: flex;
    flex-direction: column;
    gap: 28px;
    animation: fadeScaleIn 0.32s;
    position: relative;
}
@keyframes fadeScaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
.cookie-modal h3 {
    font-size: 1.35rem;
    margin-bottom: 0;
    color: #25425B;
}
.cookie-modal .category-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.cookie-modal .category {
    display: flex;
    align-items: center;
    gap: 16px;
}
.cookie-modal .category label {
    font-weight: 500;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 1.05rem;
    margin-bottom: 0;
}
.cookie-modal .toggle-switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 24px;
}
.cookie-modal .toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.cookie-modal .slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0;
    right: 0; bottom: 0;
    background: #DEE5EF;
    border-radius: 13px;
    transition: background 0.18s;
}
.cookie-modal .toggle-switch input:checked + .slider {
    background: #97C680;
}
.cookie-modal .slider:before {
    position: absolute;
    content: "";
    height: 18px; width: 18px;
    left: 3px; bottom: 3px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 4px 0 rgba(37,66,91,.12);
    transition: transform 0.18s;
}
.cookie-modal .toggle-switch input:checked + .slider:before {
    transform: translateX(18px);
}
.cookie-modal .toggle-switch input:disabled + .slider {
    background: #B3BAC5;
    cursor: not-allowed;
}
.cookie-modal .toggle-switch input:disabled + .slider:before {
    background: #E0E7EE;
}
.cookie-modal .modal-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.cookie-modal .modal-close {
    position: absolute; top: 10px; right: 14px;
    background: none; border: none;
    font-size: 1.8rem;
    color: #25425B;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.16s, color 0.16s;
    padding: 0 8px;
}
.cookie-modal .modal-close:focus, .cookie-modal .modal-close:hover {
    background: #E0E7EE;
    color: #97C680;
}

/* RESPONSIVE LAYOUTS AND FLEX/COL */
@media (max-width: 768px) {
    .content-wrapper, .text-image-section, .cookie-modal {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .feature-grid, .service-list, .card-container, .content-grid {
        gap: 10px;
    }
    .testimonial-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 14px;
    }
    .footer-container {
        padding: 20px 6px 16px 6px;
        gap: 10px;
    }
    .section {
        padding: 18px 4px;
        margin-bottom: 24px;
    }
}

@media (max-width: 540px) {
    html { font-size: 15px; }
    h1 { font-size: 1.38rem; }
    h2 { font-size: 1.09rem; }
    .container { padding-left: 2px; padding-right: 2px; }
}

/* Hide scrollbar on mobile menu overlay */
.mobile-menu {
    scrollbar-width: none;
    -ms-overflow-style: none;
    overflow-y: auto;
}
.mobile-menu::-webkit-scrollbar {
    display: none;
}

/* TRANSITIONS & MICRO-INTERACTIONS */
.btn-primary, button, .card, .testimonial-card, .feature, .service-list li {
    transition: box-shadow 0.18s, background 0.18s, color 0.16s, transform 0.18s;
}

/* PRINT SUPPORT */
@media print {
    header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
    .section { box-shadow: none; border: 0; background: #fff; padding: 0; }
    .container { max-width: 100vw; padding: 0; }
}

/* ACCESSIBILITY: reduce motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition: none !important;
        animation: none !important;
    }
}
