/* ========================================================================
   CSS Reset & Font Import
   ======================================================================== */
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,400italic,700&display=swap');

/* 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,
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;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #F8F4EE;
  color: #2D3848;
  font-family: 'Roboto', serif;
  font-size: 16px;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  padding-left: 24px;
}
li {
  margin-bottom: 8px;
}

/* ========================================================================
   CSS Custom Properties (with fallbacks)
   ======================================================================== */
:root {
  --gv-primary: #2D3848;
  --gv-secondary: #DFB998;
  --gv-accent: #F8F4EE;
  --gv-bg: #F8F4EE;
  --gv-muted: #ECE6DE;
  --gv-dark: #222834;
  --gv-text: #2D3848;
  --gv-body-font: 'Roboto', serif;
  --gv-heading-font: 'Playfair Display', 'Georgia', serif;
  --gv-radius: 10px;
  --gv-shadow: 0 2px 10px rgba(44, 54, 72, 0.05);
  --gv-shadow-medium: 0 4px 20px rgba(44, 54, 72, 0.10);
  --gv-transition: 0.35s cubic-bezier(.4,0,.2,1);
}

/* ========================================================================
   Layout & Container
   ======================================================================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

.cta {
  background: var(--gv-secondary);
  border-radius: var(--gv-radius);
  box-shadow: var(--gv-shadow);
  margin-bottom: 60px;
  padding: 40px 20px;
}

@media (min-width: 900px) {
  .section,
  .cta {
    margin-bottom: 80px;
    padding: 72px 0;
  }
  .content-wrapper {
    gap: 40px;
  }
}

/* ========================================================================
   Header & Navigation
   ======================================================================== */
header {
  background: var(--gv-bg);
  box-shadow: 0 1px 12px rgba(44, 54, 72, 0.06);
  position: sticky;
  top: 0;
  z-index: 1100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 0;
}
.logo-link img {
  height: 46px;
}
header nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
header nav a {
  font-family: var(--gv-heading-font);
  font-size: 17px;
  color: var(--gv-text);
  text-decoration: none;
  padding: 4px 8px;
  transition: color var(--gv-transition);
  border-radius: 5px;
}
header nav a:hover,
header nav a:focus {
  color: var(--gv-secondary);
  background: var(--gv-muted);
  outline: none;
}

.cta-btn {
  margin-left: 24px;
  background: var(--gv-primary);
  color: #fff;
  font-family: var(--gv-heading-font);
  font-weight: 700;
  font-size: 18px;
  border: none;
  border-radius: 40px;
  padding: 11px 38px;
  box-shadow: var(--gv-shadow);
  transition: background var(--gv-transition), color var(--gv-transition), box-shadow var(--gv-transition);
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.02em;
}
.cta-btn.secondary {
  background: #fff;
  color: var(--gv-primary);
  border: 1px solid var(--gv-secondary);
  box-shadow: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--gv-secondary);
  color: var(--gv-primary);
  box-shadow: var(--gv-shadow-medium);
  outline: none;
}
.cta-btn.secondary:hover, .cta-btn.secondary:focus {
  background: var(--gv-primary);
  color: #fff;
}

header .mobile-menu-toggle {
  display: inline-flex;
  background: none;
  border: none;
  font-size: 34px;
  cursor: pointer;
  color: var(--gv-primary);
  margin-left: 24px;
  align-items: center;
  justify-content: center;
  transition: background var(--gv-transition);
  width: 46px;
  height: 46px;
  border-radius: 50%;
}
header .mobile-menu-toggle:hover,
header .mobile-menu-toggle:focus {
  background: var(--gv-muted);
  outline: none;
}

/* Hide the nav and cta on mobile, show burger */
@media (max-width: 900px) {
  header nav,
  .cta-btn {
    display: none !important;
  }
}

/* ========================================================================
   Mobile Menu Overlay (Slide In)
   ======================================================================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(45, 56, 72, 0.98);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100%);
  opacity: 0;
  transition: transform var(--gv-transition), opacity var(--gv-transition);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 32px 18px 8px 0;
  padding: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  transition: color var(--gv-transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--gv-secondary);
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  align-items: flex-start;
  margin: 0 0 0 40px;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--gv-heading-font);
  font-size: 22px;
  padding: 10px 0;
  text-decoration: none;
  border-radius: 6px;
  transition: background var(--gv-transition), color var(--gv-transition);
  width: fit-content;
  min-width: 160px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--gv-secondary);
  color: var(--gv-primary);
  outline: none;
}

@media (min-width: 901px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* ========================================================================
   Typography: Elegant Classic
   ======================================================================== */
h1, .h1 {
  font-family: var(--gv-heading-font);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.03em;
  color: var(--gv-primary);
  margin-bottom: 16px;
}
h2, .h2 {
  font-family: var(--gv-heading-font);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--gv-primary);
  margin-bottom: 10px;
}
h3, .h3 {
  font-family: var(--gv-heading-font);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gv-primary);
  margin-bottom: 8px;
}
h4, .h4 {  font-family: var(--gv-heading-font); font-size: 1.125rem; font-weight: 700; color: var(--gv-primary);}

p, ul, ol, li, span, label {
  font-family: var(--gv-body-font);
  color: var(--gv-text);
  font-size: 1rem;
  font-weight: 400;
}
p.intro {
  font-size: 1.18rem;
  line-height: 1.7;
}

.values-list,
ul.editorial-highlights,
ul.blog-post-list,
ul {
  margin-top: 8px;
  margin-bottom: 16px;
}
ul.values-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 1.02em;
  font-family: var(--gv-body-font);
}
.values-list img {
  width: 28px;
  height: 28px;
  margin-right: 7px;
}

ol.steps-list {
  list-style: none;
  counter-reset: steps;
}
ol.steps-list li {
  counter-increment: steps;
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 16px;
  font-size: 1.07em;
}
.steps-list li img {
  width: 32px;
  height: 32px;
}

/* ========================================================================
   Hero Section
   ======================================================================== */
.hero {
  background: linear-gradient(94deg, #F8F4EE 20%, #F3E6D3 100%);
  box-shadow: 0 3px 18px rgba(44,54,72,0.07);
  border-radius: 0 0 32px 32px;
  padding: 0;
  margin-bottom: 60px;
}
.hero .container {
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 26px;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  max-width: 620px;
}
.hero h1 {
  font-size: 2.6rem;
  margin-bottom: 8px;
  color: var(--gv-primary);
}
.hero p {
  font-size: 1.16rem;
  color: var(--gv-dark);
  margin-bottom: 16px;
  line-height: 1.45;
}

@media (min-width: 600px) {
  .hero .container {
    min-height: 440px;
  }
  .hero h1 {
    font-size: 3rem;
  }
}

/* ========================================================================
   Service Cards / List
   ======================================================================== */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  margin-bottom: 6px;
}
.service-item {
  background: #fff;
  border: 1.5px solid var(--gv-muted);
  border-radius: var(--gv-radius);
  box-shadow: var(--gv-shadow);
  flex: 1 1 280px;
  min-width: 220px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 28px 22px 22px 22px;
  margin-bottom: 20px;
  transition: box-shadow var(--gv-transition), border var(--gv-transition), transform var(--gv-transition);
  position: relative;
}
.service-item img {
  height: 36px;
  width: 36px;
  margin-bottom: 10px;
}
.service-item h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gv-primary);
  margin-bottom: 5px;
}
.service-item p {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--gv-dark);
}
.service-item .price {
  font-size: 1.13em;
  font-family: var(--gv-heading-font);
  color: var(--gv-secondary);
  font-weight: 700;
  margin-top: 12px;
  letter-spacing: 0.01em;
}
.service-item:hover,
.service-item:focus {
  border: 1.5px solid var(--gv-secondary);
  box-shadow: var(--gv-shadow-medium);
  transform: translateY(-3px) scale(1.025);
  outline: none;
}

.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 7px;
}
.service-block {
  flex: 1 1 240px;
  min-width: 210px;
  max-width: 320px;
  background: #fff;
  border-radius: var(--gv-radius);
  border: 1.5px solid var(--gv-muted);
  box-shadow: var(--gv-shadow);
  padding: 28px 22px 22px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  transition: box-shadow var(--gv-transition), border var(--gv-transition), transform var(--gv-transition);
}
.service-block h2 {
  font-size: 1.18em;
  margin-bottom: 4px;
}
.service-block .price {
  color: var(--gv-secondary);
  font-weight: 700;
  font-family: var(--gv-heading-font);
  margin-top: 8px;
}
.service-block:hover,
.service-block:focus {
  border: 1.5px solid var(--gv-secondary);
  box-shadow: var(--gv-shadow-medium);
  transform: translateY(-3px) scale(1.022);
  outline: none;
}

/* ========================================================================
   Card Designs, Features, Cards Layouts
   ======================================================================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: var(--gv-radius);
  box-shadow: var(--gv-shadow);
  border: 1px solid var(--gv-muted);
  position: relative;
  padding: 28px 24px 22px 24px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 16px;
}

.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;
  border-radius: var(--gv-radius);
  padding: 24px 18px;
  background: #fff;
  border: 1px solid var(--gv-muted);
  box-shadow: var(--gv-shadow);
  margin-bottom: 16px;
}
.feature-item:hover, .feature-item:focus {
  border: 1.5px solid var(--gv-secondary);
  box-shadow: var(--gv-shadow-medium);
}

/* ========================================================================
   Testimonials, Cards, Trust-Indicators
   ======================================================================== */

.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  background: #fff;
  border: 1.5px solid var(--gv-secondary);
  border-radius: var(--gv-radius);
  box-shadow: var(--gv-shadow);
  max-width: 370px;
  min-width: 220px;
  flex: 1 1 260px;
  margin-bottom: 16px;
  transition: box-shadow var(--gv-transition), border var(--gv-transition);
}
.testimonial-card p {
  color: var(--gv-primary);
  font-family: var(--gv-heading-font);
  font-size: 1.13rem;
  text-align: center;
  font-style: italic;
}
.testimonial-meta {
  color: var(--gv-text);
  font-family: var(--gv-body-font);
  font-size: 1em;
  text-align: center;
}
.testimonial-card:hover,
.testimonial-card:focus {
  border: 1.5px solid var(--gv-primary);
  box-shadow: var(--gv-shadow-medium);
  outline: none;
}

/* For trust-indicators (stars & awards) */
.trust-indicators {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  margin-top: 16px;
}
.star-rating {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.13em;
  font-family: var(--gv-heading-font);
  color: var(--gv-secondary);
}
.awards-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1em;
}
.awards-list img {
  width: 26px;
  height: 26px;
  margin-right: 7px;
  vertical-align: middle;
}

/* ========================================================================
   Blog, Tags, Editorial Sections
   ======================================================================== */
.editorial-highlights li {
  font-size: 1.05em;
  margin-bottom: 10px;
}
.blog-post-list {
  list-style: none;
  margin-bottom: 28px;
}
.blog-post-list li {
  margin-bottom: 24px;
}
.blog-post-list h3 {
  font-family: var(--gv-heading-font);
  font-size: 1.2rem;
  color: var(--gv-primary);
}
.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tag {
  background: var(--gv-secondary);
  color: var(--gv-primary);
  font-family: var(--gv-body-font);
  font-size: 0.98em;
  border-radius: 16px;
  padding: 5px 14px;
  margin-bottom: 8px;
  margin-right: 2px;
  letter-spacing: 0.01em;
  transition: background var(--gv-transition), color var(--gv-transition);
  display: inline-block;
}
.tag:hover,
.tag:focus {
  background: var(--gv-primary);
  color: #fff;
}

/* ========================================================================
   Case Study Gallery
   ======================================================================== */
.case-study-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 14px;
}
.case-study-item {
  background: #fff;
  border-radius: var(--gv-radius);
  box-shadow: var(--gv-shadow);
  border: 1px solid var(--gv-muted);
  padding: 28px 22px 20px 22px;
  flex: 1 1 260px;
  min-width: 210px;
  max-width: 375px;
  margin-bottom: 20px;
}

/* ========================================================================
   Footer
   ======================================================================== */
footer {
  background: var(--gv-primary);
  color: #fff;
  padding-top: 36px;
  padding-bottom: 32px;
  margin-top: 48px;
}
footer .container {
  flex-direction: row;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: #fff;
  text-decoration: none;
  font-family: var(--gv-heading-font);
  font-size: 1.08em;
  margin-bottom: 2px;
  transition: color var(--gv-transition);
}
footer nav a:hover,
footer nav a:focus {
  color: var(--gv-secondary);
  text-decoration: underline;
  outline: none;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 9px;
  text-align: left;
  align-items: flex-start;
}
.footer-contact img {
  height: 32px;
  margin-bottom: 8px;
}
.footer-contact p, .footer-contact a {
  color: #fff;
  font-size: 1em;
}
.footer-contact a {
  text-decoration: underline;
  transition: color var(--gv-transition);
}
.footer-contact a:hover, .footer-contact a:focus { color: var(--gv-secondary); }

@media (max-width: 800px) {
  footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }
  .footer-contact { align-items: flex-start; }
}

/* ========================================================================
   Contact Details (Kontakt)
   ======================================================================== */
.contact-details ul {
  list-style: none;
  margin-top: 10px;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.contact-details img {
  width: 26px;
  height: 26px;
  margin-bottom: 0;
}

/* ========================================================================
   Thank-You Section
   ======================================================================== */
.thank-you {
  padding: 56px 0 0 0;
  min-height: 400px;
  text-align: center;
}
.thank-you .container {
  align-items: center;
  justify-content: center;
}
.thank-you .content-wrapper {
  align-items: center;
  gap: 22px;
}

/* ========================================================================
   Cookie Consent Banner and Modal
   ======================================================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: var(--gv-primary);
  box-shadow: 0 -2px 24px rgba(44,54,72,0.13);
  border-top: 2.5px solid var(--gv-secondary);
  z-index: 5000;
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  min-height: 64px;
  font-size: 1em;
  animation: cookiefadein 0.5s;
}
.cookie-banner p {
  margin-bottom: 0;
  line-height: 1.5;
  font-size: 1em;
  color: var(--gv-dark);
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-btn {
  font-family: var(--gv-heading-font);
  font-weight: 700;
  font-size: 1em;
  border-radius: 24px;
  border: none;
  padding: 9px 22px;
  cursor: pointer;
  background: var(--gv-primary);
  color: #fff;
  margin-left: 0;
  transition: background var(--gv-transition), color var(--gv-transition), box-shadow var(--gv-transition);
  box-shadow: 0 1px 2px rgba(44,54,72,0.08);
}
.cookie-btn.secondary {
  background: #fff;
  color: var(--gv-primary);
  border: 1px solid var(--gv-secondary);
}
.cookie-btn.settings {
  background: var(--gv-secondary);
  color: var(--gv-primary);
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: var(--gv-secondary);
  color: var(--gv-primary);
  outline: none;
  box-shadow: 0 4px 18px rgba(44,54,72,0.08);
}
.cookie-btn.secondary:hover,
.cookie-btn.settings:hover {
  background: var(--gv-primary);
  color: #fff;
}
@media (max-width: 700px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 13px; }
  .cookie-banner .cookie-actions { flex-direction: column; gap: 10px; width: 100%; }
}
@keyframes cookiefadein {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: none; }
}

/* Cookie Consent Modal */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(45,56,72,0.45);
  z-index: 5002;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  border-radius: var(--gv-radius);
  box-shadow: var(--gv-shadow-medium);
  padding: 38px 32px 28px 32px;
  max-width: 370px;
  min-width: 220px;
  color: var(--gv-dark);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal-content h3 {
  font-size: 1.25rem;
  font-family: var(--gv-heading-font);
  color: var(--gv-primary);
  margin-bottom: 5px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 13px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1em;
}
.cookie-category .cookie-switch {
  margin-left: auto;
}
.cookie-switch {
  width: 38px;
  height: 20px;
  background: var(--gv-muted);
  border-radius: 18px;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
  transition: background 0.3s;
}
.cookie-switch input {
  display: none;
}
.cookie-switch-slider {
  position: absolute;
  left: 2px; top: 2px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left var(--gv-transition), background var(--gv-transition);
}
.cookie-switch input:checked + .cookie-switch-slider {
  left: 20px;
  background: var(--gv-secondary);
}

.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal-close {
  position: absolute;
  top: 17px; right: 24px;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--gv-primary);
  cursor: pointer;
  transition: color var(--gv-transition);
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--gv-secondary);
  outline: none;
}
/* For demonstration - always visible essential */
.cookie-category.essential .cookie-switch {
  opacity:0.4;
  pointer-events:none;
}

/* ========================================================================
   Responsive Layouts (Mobile First)
   ======================================================================== */
@media (max-width: 1020px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  .container { max-width: 98vw; }
  .content-wrapper { gap: 26px; }
  .hero .content-wrapper { max-width: 93vw; }
}
@media (max-width: 800px) {
  .section, .cta {
    padding: 28px 0 24px 0;
    margin-bottom: 36px;
  }
  .services-grid, .services-list, .testimonial-list, .case-study-list, .card-container,
  .content-grid {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 700px) {
  .content-grid, .card-container, .services-grid, .testimonial-list, .case-study-list {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 600px) {
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.28rem; }
  .container { padding: 0 7px; }
}

/* ========================================================================
   Flexbox Layout Helper Classes
   (Mandatory patterns provided)
   ======================================================================== */
.section { margin-bottom: 60px; padding: 40px 20px; }
.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; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* Responsive flex-direction switching */
@media (max-width: 768px) {
  .text-image-section, .content-grid, .services-grid, .testimonial-list,
  .card-container, .case-study-list {
    flex-direction: column;
    gap: 20px;
  }
}

/* ========================================================================
   Micro-interactions and Smooth Transitions
   ======================================================================== */
a, .cta-btn, .service-block, .service-item, .testimonial-card, .feature-item,
.tag, .cookie-btn, .cookie-modal-close, header nav a, .mobile-nav a {
  transition: color var(--gv-transition), background var(--gv-transition), box-shadow var(--gv-transition), border var(--gv-transition), transform var(--gv-transition);
}

/* Remove tap highlight on mobile */
* { -webkit-tap-highlight-color: transparent; }

/* ========================================================================
   Utilities
   ======================================================================== */
.hide { display: none !important; }
.show { display: block !important; }

/* ========================================================================
   Accessibility
   ======================================================================== */
:focus-visible {
  outline: 2.5px dashed var(--gv-secondary) !important;
  outline-offset: 2px !important;
}


