/* KlangRevier – style.css | gradient_modern aesthetic | FLEXBOX ONLY | Modern gradients, spacing, visual hierarchy, and interactive effects */
/* =================================== */
/* 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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
    box-sizing: border-box;
    scroll-behavior: smooth;
    background: #F4F4F7;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    color: #222944;
    background: #F4F4F7;
    line-height: 1.6;
    min-height: 100vh;
}
a {
    color: #7B39F2;
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover, a:active, a:focus {
    color: #5926bd;
    text-decoration: underline;
}
ul, ol {
    padding-left: 24px;
    margin-bottom: 20px;
}
img {
    max-width: 100%;
    display: block;
}
strong {
    font-weight: 700;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
    font-weight: 700;
    color: #222944;
    margin-bottom: 16px;
    letter-spacing: -0.015em;
}
h1 {
    font-size: 2.5rem;
    margin-bottom: 24px;
    line-height: 1.18;
}
h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}
h3 {
    font-size: 1.25rem;
    margin-bottom: 14px;
}
h4, h5, h6 {
    font-size: 1rem;
    margin-bottom: 12px;
}
.subheadline {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #4b5070;
    font-weight: 400;
}

p, li {
    font-size: 1rem;
    color: #222944;
}

/* Visual hierarchy for lists */
ul li, ol li {
  margin-bottom: 8px;
}

/* =================================== */
/* 2. LAYOUT: CONTAINERS & SPACING */
/* =================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.content-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 28px 0 rgba(34,41,68,0.06);
}

/* Modern/gradient backgrounds for main areas */
.hero, .services-preview {
  background: linear-gradient(100deg, #f4f4f7 0%, #ebecfa 60%, #e3d9fc 100%);
  border-radius: 0 0 40px 40px;
  margin-bottom: 48px;
}

/* Gradient accent blocks */
.accent-bg {
  background: linear-gradient(92deg, #7B39F2 0%, #5926bd 70%);
  color: #fff;
}

/* =================================== */
/* 3. HEADER & NAVIGATION */
/* =================================== */
header {
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 12px 0 rgba(34,41,68,0.05);
    position: relative;
    z-index: 30;
}
header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 20px;
}
.main-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.main-nav a {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    color: #222944;
    padding: 7px 16px;
    border-radius: 100px;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
    position: relative;
}
.main-nav a.cta {/* header main CTA */
    background: linear-gradient(90deg, #7B39F2 20%, #5926bd 100%);
    color: #fff;
    font-weight: 700;
    padding: 8px 24px;
    margin-left: 10px;
    border-radius: 100px;
    box-shadow: 0 5px 24px -10px #5926bd77;
    letter-spacing: 0.02em;
}
.main-nav a.cta:hover {
    background: linear-gradient(90deg, #5926bd 10%, #7B39F2 85%);
    color: #fff;
    box-shadow: 0 8px 18px -6px #7B39F288;
}
.main-nav a:not(.cta):hover {
    background: #e3d9fc;
    color: #7B39F2;
}

header img[alt="KlangRevier"] {
    height: 38px;
    width: auto;
    margin-right: 12px;
}

/* =================================== */
/* 4. MOBILE NAVIGATION (Burger & Overlay) */
/* =================================== */
.mobile-menu-toggle {
    display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #7B39F2;
  padding: 8px 12px;
  cursor: pointer;
  transition: background 0.2s;
  border-radius: 5px;
  z-index: 50;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
    background: #e3d9fc;
}
.mobile-menu {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(105deg, #f4f4f7 70%, #efeeff 100%);
    box-shadow: 0 4px 22px 0 #5926bd33;
    z-index: 99;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(.87,-0.41,.19,1.44);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 36px 30px 30px 24px;
}
.mobile-menu.open {
    transform: translateX(0%);
}
.mobile-menu-close {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 2.2rem;
    color: #222944;
    padding: 4px 10px;
    margin-bottom: 18px;
    cursor: pointer;
    z-index: 101;
    transition: color 0.18s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
    color: #7B39F2;
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: 100%;
}
.mobile-nav a {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.18rem;
    color: #222944;
    font-weight: 600;
    border-radius: 12px;
    padding: 11px 0 11px 8px;
    transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
    background: linear-gradient(95deg, #e3d9fc 65%, #ffffff 100%);
    color: #7B39F2;
}
@media (max-width: 1100px) {
    .main-nav {
        gap: 10px;
    }
}
@media (max-width: 900px) {
    .main-nav {
        gap: 4px;
    }
    .main-nav a {
        font-size: 15px;
        padding: 6px 12px;
    }
}
@media (max-width: 850px) {
    .main-nav {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
}
@media (min-width: 851px) {
  .mobile-menu { display: none !important; }
}

/* =================================== */
/* 5. HERO / INTRO SECTIONS */
/* =================================== */
.hero {
    padding: 60px 0 75px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero .content-wrapper {
    align-items: flex-start;
    max-width: 670px;
    margin: 0 auto;
}
.hero h1 {
    font-size: 2.5rem;
    color: #222944;
    line-height: 1.2;
    margin-bottom: 12px;
}
.hero .subheadline {
    font-size: 1.18rem;
    color: #6a6f93;
    margin-bottom: 28px;
}

/* =================================== */
/* 6. BUTTONS, CTAs, Interactive */
/* =================================== */
.cta, a.cta {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(90deg, #7B39F2 0%, #5926bd 100%);
    border-radius: 100px;
    padding: 12px 34px;
    font-size: 1.12rem;
    text-align: center;
    box-shadow: 0 7px 18px -8px #7B39F277;
    transition: background 0.24s, box-shadow 0.22s, transform 0.22s;
    border: none;
    cursor: pointer;
    letter-spacing: 0.01em;
}
.cta.primary {
    font-size: 1.13rem;
    padding: 15px 38px;
    background: linear-gradient(90deg, #7B39F2 20%, #5926bd 100%);
    box-shadow: 0 8px 22px -7px #5926bd88, 0 1.5px 8px 0 #7B39F222;
}
.cta.small {
    font-size: 0.97rem;
    padding: 8px 20px;
    min-width: 132px;
}
.cta:hover, .cta:focus {
    background: linear-gradient(100deg, #5926bd 10%, #7B39F2 95%);
    color: #fff;
    transform: translateY(-2px) scale(1.025);
    box-shadow: 0 10px 18px -8px #7B39F277;
    text-decoration: none;
}

/* =================================== */
/* 7. FLEX LAYOUTS / FLEXBOX MANDATORY */
/* =================================== */
.features {
    display: flex;
    flex-direction: column;
    margin-bottom: 60px;
    padding: 40px 20px;
}
.feature-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: space-between;
    margin-bottom: 24px;
    margin-top: 16px;
}
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    background: #fff;
    padding: 24px 20px 18px;
    border-radius: 18px;
    box-shadow: 0 3px 14px -3px #7b39f222;
    min-width: 260px;
    flex: 1 1 0;
    margin-bottom: 20px;
    transition: box-shadow 0.16s, transform 0.17s;
}
.feature-item:hover {
    box-shadow: 0 8px 28px -6px #7b39f255;
    transform: translateY(-4px) scale(1.027);
}
.feature-item img {
    height: 40px;
    margin-bottom: 2px;
}

/* Layouts for cards/servicelists etc */
.card-container, .team-list, .service-list, .test-report-preview-list, .service-details-list, .guide-teasers, .test-report-card-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: space-between;
    margin-bottom: 24px;
}
.card, .service-box, .team-member, .test-report-card, .test-report-preview, .comparison-entry, .guide-teaser {
    position: relative;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px -3px #7b39f220;
    margin-bottom: 20px;
    padding: 24px 21px 20px;
    min-width: 220px;
    flex: 1 1 230px;
    transition: box-shadow 0.13s, transform 0.13s;
}
.card:hover, .service-box:hover, .team-member:hover, .test-report-card:hover, .comparison-entry:hover, .guide-teaser:hover {
    box-shadow: 0 7px 24px -5px #7B39F255;
    transform: translateY(-3px) scale(1.018);
}
.service-price {
    color: #7B39F2;
    font-size: 1.09rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-top: 7px;
    letter-spacing: 0.02em;
}

/* "Latest tests" card row */
.test-report-preview-list {
    gap: 24px;
}
.test-report-preview {
    min-width: 230px;
    max-width: 340px;
    flex: 1 1 230px;
}
.more-link {
    margin-top: 12px;
}
.more-link a {
    font-weight: 600;
    color: #7B39F2;
    font-size: 1rem;
    transition: color 0.17s;
}
.more-link a:hover {
    color: #5926bd;
    text-decoration: underline;
}

/* Text-image section (generic) */
.text-image-section {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}
.card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

/* Testimonial Section */
.testimonials {
    margin-bottom: 60px;
    padding: 40px 20px;
    background: linear-gradient(92deg, #f4f4f7 60%, #e3d9fc 100%);
    border-radius: 30px;
}
.testimonial-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 22px;
}
.testimonial-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 22px 18px;
    min-width: 240px;
    max-width: 370px;
    background: #fff;
    color: #222944 !important;
    border-radius: 16px;
    box-shadow: 0 2.5px 11px -2px #7B39F222;
    font-size: 1.07rem;
    transition: box-shadow 0.15s, transform 0.14s;
}
.testimonial-card blockquote {
    color: #171c2d;
    font-weight: 600;
    font-size: 1.13rem;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.4;
}
.testimonial-author {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 0.99rem;
    color: #4b5070;
    font-style: italic;
}
.rating-badges {
    display: flex;
    gap: 4px;
}
.rating-badges img {
    width: 22px;
    height: 22px;
}
.trust-signals {
    display: flex;
    gap: 14px;
    align-items: center;
    font-family: 'Montserrat', Arial, sans-serif;
    color: #7B39F2;
    font-size: 0.98rem;
}

/* Cards in Testberichte & Vergleichstests */
.test-report-card-grid {
    gap: 24px;
}
.test-report-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 230px;
    max-width: 320px;
    flex: 1 1 230px;
    padding: 22px 18px 20px;
}
.test-report-card img {
    height: 40px;
    margin-bottom: 12px;
}
.test-report-card a {
    color: #7B39F2;
    margin-left: 3px;
    font-weight: 600;
    transition: color 0.13s;
}
.test-report-card a:hover { color: #5926bd; }
.filter-tabs, .comparison-filter, .topic-categories {
    display: flex;
    gap: 16px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}
.tab, .category {
    display: inline-block;
    font-family: 'Montserrat', Arial, sans-serif;
    color: #5926bd;
    background: #e3d9fc;
    border-radius: 100px;
    padding: 7px 18px;
    font-size: 1rem;
    font-weight: 600;
    transition: background 0.17s, color 0.17s;
    cursor: pointer;
}
.tab.active, .category.active {
    background: linear-gradient(90deg, #7B39F2 0%, #5926bd 85%);
    color: #fff;
}
.tab:hover, .category:hover {
    color: #fff;
    background: #7B39F2;
}

/* Guide teasers */
.guide-teaser {
    min-width: 200px;
    max-width: 340px;
    flex: 1 1 230px;
}
.guide-teaser h3 {
    font-size: 1.15rem;
    color: #222944;
    margin-bottom: 9px;
}
.guide-teaser p {
    font-size: 1rem;
    color: #5b5e85;
    margin-bottom: 8px;
}
.guide-teaser a {
    font-weight: 600;
    color: #7B39F2;
    font-size: 1rem;
    transition: color 0.13s;
}
.guide-teaser a:hover { color: #5926bd; }

/* Compare table, cta-own-test, comparison-entry */
.comparison-table-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 14px;
}
.comparison-entry {
    min-width: 230px;
    max-width: 350px;
    flex: 1 1 230px;
    padding: 20px 18px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 2.5px 11px -2px #7B39F222;
}

/* Team list (about page) */
.team-list {
    gap: 24px;
    margin-bottom: 15px;
}
.team-member {
    min-width: 180px;
    max-width: 320px;
    flex: 1 1 180px;
}

/* Steps/FAQs */
.process ol {
    margin-bottom: 20px;
    padding-left: 24px;
}
.process ol li {
    margin: 0 0 16px 0;
    font-size: 1.06rem;
}
.faq-block ul li {
    margin-bottom: 11px;
}

/* Contact Section */
.contact-section, .contact-info {
    margin-bottom: 60px;
    padding: 40px 20px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 28px 0 rgba(34,41,68,0.06);
}
.contact-details,.address-block,.opening-hours {
    margin-bottom: 18px;
}
.contact-cta { margin-top: 18px; }

/* Legal sections */
.legal-section {
    margin-bottom: 60px;
    padding: 40px 20px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2.5px 18px -2px #7B39F211;
}
.legal-text-block h2 {
    font-size: 1.15rem;
    margin-top: 18px;
    margin-bottom: 9px;
}
.legal-text-block ul li {
    margin-bottom: 8px;
}

/* =================================== */
/* 8. FOOTER */
/* =================================== */
footer {
    background: linear-gradient(95deg, #f4f4f7 80%, #ebecfa 100%);
    width: 100%;
    padding: 0 0 22px 0;
    box-shadow: 0 -3px 25px -7px #7B39F211;
    margin-top: 54px;
}
footer .container {
    padding-top: 30px;
    padding-bottom: 8px;
    display: flex;
    flex-direction: column;
}
footer .content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}
.footer-links {
    font-size: 0.98rem;
    color: #222944;
    margin-bottom: 8px;
}
.footer-links a {
    color: #222944;
    text-decoration: none;
    margin-right: 7px;
}
.footer-links a:hover {
    color: #7B39F2;
}
.brand-tagline {
    font-size: 1.01rem;
    color: #5926bd;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    letter-spacing: 0.01em;
    margin-bottom: 8px;
}
.social-media-icons {
    display: flex;
    gap: 13px;
    align-items: center;
    margin-top: 2px;
}
.social-media-icons img {
    height: 26px; width: 26px;
    filter: grayscale(0.2) brightness(1.1);
    opacity: 0.82;
    transition: opacity .21s, filter 0.23s;
}
.social-media-icons img:hover {
    opacity: 1;
    filter: grayscale(0) brightness(1.13) drop-shadow(0px 2px 6px #7B39F244);
}

/* =================================== */
/* 9. COOKIE CONSENT BANNER & MODAL  */
/* =================================== */
.cookie-banner {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    width: 100vw;
    background: linear-gradient(to right, #f4f4f7 80%, #e3d9fc 100%);
    box-shadow: 0 -2.5px 24px -9px #5926bd26;
    z-index: 3000;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    padding: 22px 12px;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 1rem;
    color: #222944;
    transition: transform 0.32s;
    transform: translateY(0);
}
.cookie-banner.hide {
    transform: translateY(120%);
}
.cookie-banner .cookie-banner-buttons {
    display: flex;
    gap: 16px;
}
.cookie-banner button {
    font-family: 'Montserrat', Arial, sans-serif;
    border-radius: 25px;
    padding: 10px 22px;
    background: #7B39F2;
    color: #fff;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    transition: background 0.16s, color 0.16s, transform 0.12s;
    cursor: pointer;
    margin: 0 0 0 2px;
}
.cookie-banner button.cookie-settings {
    background: #e3d9fc;
    color: #7B39F2;
}
.cookie-banner button.cookie-settings:hover {
    background: #7B39F2;
    color: #fff;
}
.cookie-banner button.accept {
    background: linear-gradient(90deg, #7B39F2 0%, #5926bd 100%);
    color: #fff;
}
.cookie-banner button.accept:hover {
    background: linear-gradient(90deg, #5926bd 0%, #7B39F2 100%);
}
.cookie-banner button.reject {
    background: #d7d8e2;
    color: #222944;
}
.cookie-banner button.reject:hover {
    background: #bcbed0;
}

.cookie-modal-overlay {
    position: fixed;
    left: 0; top: 0; right: 0; bottom: 0;
    background: rgba(34,41,68,0.39);
    z-index: 3500;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.25s;
}
.cookie-modal-overlay.hide { opacity: 0; pointer-events: none; }
.cookie-modal {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 8px 44px -8px #7B39F244;
    color: #222944;
    padding: 34px 32px 24px 32px;
    min-width: 330px;
    max-width: 96vw;
    max-height: 95vh;
    font-family: 'Open Sans', Arial, sans-serif;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}
.cookie-modal h3 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.25rem;
    margin-top: 2px;
    color: #7B39F2;
}
.cookie-modal .category-block {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 9px 0;
}
.cookie-modal .category-block label {
    font-size: 1.1rem;
}
.cookie-modal input[type="checkbox"] {
    accent-color: #7B39F2;
    width: 19px; height: 19px;
}
.cookie-modal .category-block.essential label {
    color: #aaaaaa;
}
.cookie-modal .category-block.essential input[type="checkbox"] {
    pointer-events: none;
    opacity: 0.5;
}
.cookie-modal .modal-btn-row {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    width: 100%;
    justify-content: flex-end;
}
.cookie-modal button {
    border-radius: 22px;
    background: #7B39F2;
    color: #fff;
    border: none;
    padding: 9px 22px;
    font-size: 1rem;
    font-family: "Montserrat", Arial, sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.16s, color 0.16s;
}
.cookie-modal .modal-close {
    background: #e3d9fc;
    color: #7B39F2;
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 1.5rem;
    padding: 0 10px 0 10px;
    border: none;
    border-radius: 50%;
    font-weight: 700;
    transition: background 0.16s, color 0.16s;
}
.cookie-modal .modal-close:hover {
    background: #7B39F2;
    color: #fff;
}

/* =================================== */
/* 10. RESPONSIVE & MOBILE FIRST RULES */
/* =================================== */
@media (max-width: 1150px) {
    .container { max-width: 1000px; }
    .hero h1 { font-size: 2.2rem; }
}
@media (max-width: 992px) {
    .container { max-width: 780px; }
    .hero h1 { font-size: 2rem; }
    .testimonials { padding: 32px 10px; }
    .section, .legal-section, .contact-section, .contact-info {
      padding: 30px 10px;
    }
    .features, .values {
      padding: 30px 10px;
    }
}
@media (max-width: 820px) {
    .container { max-width: 96vw; }
    .hero .content-wrapper { padding-left: 0; }
    .features .content-wrapper, .services-preview .content-wrapper {
      padding-left: 0;
    }
    .feature-grid, .service-list, .service-details-list, .team-list, .test-report-card-grid, .comparison-table-preview, .test-report-preview-list, .guide-teasers {
        gap: 16px;
    }
}
@media (max-width: 650px) {
    .container { max-width: 98vw; padding: 0 8px; }
    .section, .legal-section, .contact-section, .contact-info {
      padding: 18px 3vw;
    }
    .hero {padding: 30px 0 40px 0;}
    .hero h1 {font-size: 1.44rem;}
    .content-wrapper { gap: 15px; }
    .feature-grid, .service-list, .service-details-list, .team-list, .test-report-card-grid, .comparison-table-preview, .test-report-preview-list, .guide-teasers {
        flex-direction: column;
        gap: 16px;
    }
}
@media (max-width: 520px) {
    .hero .content-wrapper, .features .content-wrapper, .contact-section .content-wrapper {
      padding-left: 0; padding-right: 0;
    }
    h1 {font-size: 1.16rem;}
    .cta, .cta.primary, .cta.small {
      font-size: 0.97rem;
      padding: 9px 18px;
    }
    .section, .legal-section, .contact-section, .contact-info {
      padding: 10px 2vw;
    }
    .brand-tagline { font-size: 0.95rem; }
}
/* Fluid flex layouts for text-image and testimonial sections */
@media (max-width: 768px) {
    .text-image-section { flex-direction: column; align-items: flex-start; gap: 20px; }
    .testimonial-slider { flex-direction: column; gap: 16px; }
    .feature-grid, .service-list, .service-details-list, .team-list, .test-report-card-grid, .comparison-table-preview, .test-report-preview-list, .guide-teasers {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }
}

/* =================================== */
/* 11. MICRO-INTERACTIONS & ANIMATION */
/* =================================== */
.card, .service-box, .team-member, .test-report-card, .testimonial-card, .comparison-entry, .guide-teaser {
    transition: box-shadow 0.18s, transform 0.16s;
}
.card:hover, .service-box:hover, .team-member:hover, .test-report-card:hover, .testimonial-card:hover, .comparison-entry:hover, .guide-teaser:hover {
    box-shadow: 0 12px 32px -7px #7B39F266;
    transform: translateY(-3px) scale(1.024);
}
.cta, a.cta { transition: background .22s, box-shadow .16s, transform .12s; }

/* Hide scroll when modal/mobile is open (JS responsibility for adding .modal-open to body) */
body.modal-open {
    overflow: hidden;
}

/* =================================== */
/* 12. UTILITY/MISC CLASSES */
/* =================================== */
.bg-primary {
    background: #222944;
    color: #fff;
}
.text-accent {
    color: #7B39F2;
}
.text-primary {
    color: #222944;
}
.text-secondary {
    color: #F4F4F7;
}
.rounded {
    border-radius: 18px;
}
.shadow {
    box-shadow: 0 2px 12px -3px #7B39F211;
}
section {
  padding: 15px;
}
/* =================================== */
/* END STYLE.CSS (KlangRevier) */
/* =================================== */
