/* ============================== */
/*       CSS RESET & BASE         */
/* ============================== */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 400;
  color: #1C2321;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
:root {
  --brand-primary: #1C2321;
  --brand-secondary: #737C7C;
  --brand-accent: #F5F0EB;
  --monochrome-light: #fff;
  --monochrome-dark: #232323;
  --neutral-gray: #e6e6e6;
  --focus-outline: 2px solid #232323;
  --shadow-card: 0 4px 24px 0 rgba(28,35,33,0.10);
  --shadow-hover: 0 8px 32px 0 rgba(28,35,33,0.14);
  --radius: 10px;
  --transition: all 0.23s cubic-bezier(.4,0,.2,1);
}


/* ============================== */
/*       TYPOGRAPHY SCALE         */
/* ============================== */
h1, .h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--brand-primary);
  margin-bottom: 24px;
  line-height: 1.1;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--brand-primary);
  margin-bottom: 18px;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--brand-secondary);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}
h4, .h4 {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--brand-primary);
}
p, ul, ol, blockquote {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-bottom: 15px;
}
.subheadline {
  color: var(--brand-secondary);
  font-size: 1.12rem;
  margin-bottom: 24px;
  line-height: 1.4;
}
blockquote {
  font-style: italic;
  color: var(--brand-dark);
  position: relative;
  padding-left: 22px;
  border-left: 4px solid var(--brand-primary);
  background: var(--brand-accent);
  border-radius: var(--radius);
  margin-bottom: 12px;
}

ul, ol {
  margin-bottom: 22px;
  padding-left: 22px;
}
li {
  margin-bottom: 8px;
  line-height: 1.6;
}
strong {
  font-weight: 600;
}

/* ============================== */
/*        GENERAL LAYOUT          */
/* ============================== */
.container {
  width: 100%;
  max-width: 1230px;
  padding: 0 18px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 0;
}

@media (max-width: 600px) {
  .section, section {
    padding: 30px 8px;
    margin-bottom: 36px;
  }
}


/* ============================== */
/*            HEADER              */
/* ============================== */
header {
  background: var(--monochrome-light);
  border-bottom: 1.5px solid var(--neutral-gray);
  margin-bottom: 0;
  position: relative;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  min-height: 82px;
}
.logo img {
  height: 38px;
  width: auto;
  display: block;
}

nav.main-nav {
  display: flex;
  gap: 35px;
  align-items: center;
  font-size: 1.07rem;
}
nav.main-nav a {
  color: var(--brand-primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.17s;
  position: relative;
  padding: 3px 0;
}
nav.main-nav a:after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--brand-primary);
  transition: width .23s;
  border-radius: 1.5px;
  margin: 2px auto 0 auto;
}
nav.main-nav a:hover:after, nav.main-nav a:focus:after {
  width: 100%;
}
nav.main-nav a:hover, nav.main-nav a:focus {
  color: var(--brand-secondary);
}

.btn-primary, .btn-secondary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: var(--radius);
  appearance: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
  margin-left: 18px;
}
.btn-primary {
  background: var(--brand-primary);
  color: #fff;
  box-shadow: var(--shadow-card);
  letter-spacing: 0.2px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #232323;
  color: #fff;
  box-shadow: var(--shadow-hover);
}
.btn-secondary {
  background: transparent;
  color: var(--brand-primary);
  border: 2px solid var(--brand-primary);
  box-shadow: none;
  margin-left: 0;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--brand-primary);
  color: #fff;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--brand-primary);
  padding: 6px 12px;
  border-radius: 7px;
  transition: background 0.22s, color 0.22s;
  margin-left: 22px;
  cursor: pointer;
  z-index: 1051;
}
.mobile-menu-toggle:focus {
  outline: var(--focus-outline);
}

/* ======================== */
/*      MOBILE NAV MENU     */
/* ======================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(28,35,33,0.97);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(110vw);
  transition: transform 0.33s cubic-bezier(.48,.04,.31,1.04), opacity 0.33s;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #fff;
  padding: 18px 20px 8px 0;
  position: relative;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: var(--brand-secondary);
  outline: var(--focus-outline);
}
.mobile-nav {
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 24px 30px 0 30px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.13rem;
  font-weight: 500;
  text-decoration: none;
  padding: 12px 0;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.14s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--brand-secondary);
}

/* Hide nav & show burger on mobile */
@media (max-width: 990px) {
  nav.main-nav {
    display: none;
  }
  .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

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


/* ============================== */
/*            HERO                */
/* ============================== */
.hero {
  background: var(--monochrome-light);
  min-height: 320px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  border-bottom: 2px solid var(--neutral-gray);
}
.hero .container {
  flex-direction: column;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 15px;
  margin-top: 20px;
}
.hero h1 {
  margin-bottom: 12px;
}
.hero .subheadline {
  margin-bottom: 18px;
}

@media (max-width: 700px) {
  .hero {
    min-height: 180px;
    padding-bottom: 16px;
  }
  .hero .content-wrapper {
    gap: 8px;
  }
}

/* ============================== */
/*         FEATURES GRID          */
/* ============================== */
.features {
  background: var(--brand-accent);
  border-radius: var(--radius);
}
.features .content-wrapper > h2 {
  margin-bottom: 24px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: stretch;
}
.feature-item {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 26px 22px 21px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 220px;
  min-width: 220px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.15s;
}
.feature-item img {
  height: 38px;
  width: 38px;
  margin-bottom: 5px;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px) scale(1.018);
  z-index: 2;
}
.feature-item h3 {
  font-size: 1.12rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 5px;
  color: var(--brand-primary);
  font-weight: 600;
}
.feature-item p {
  color: var(--brand-secondary);
  font-size: 0.98rem;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .feature-grid {
    gap: 18px;
  }
  .feature-item {
    padding: 18px 12px 14px 12px;
    min-width: 148px;
  }
}
@media (max-width: 700px) {
  .feature-grid {
    flex-direction: column;
    gap: 14px;
  }
  .feature-item {
    width: 100%;
    min-width: unset;
  }
}

/* ============================== */
/*          ABOUT BLOCK           */
/* ============================== */
.about {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  margin-bottom: 60px;
}

.usp-list {
  margin-top: 11px;
  margin-bottom: 22px;
}
.usp-list li {
  color: var(--brand-primary);
  position: relative;
  padding-left: 16px;
}
.usp-list li:before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--brand-primary);
  border-radius: 50%;
  position: absolute;
  left: 1px;
  top: 0.73em;
}

.brand-values {
  margin-bottom: 22px;
}
.mission-vision {
  margin-top: 16px;
}
.mission-vision h3 {
  margin-top: 10px;
  color: var(--brand-primary);
  font-weight: 700;
}

.team {
  background: var(--brand-accent);
  border-radius: var(--radius);
}
.team-roles {
  color: var(--brand-primary);
  margin-top: 8px;
  margin-bottom: 15px;
}


/* ============================== */
/*           SERVICES             */
/* ============================== */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.service-item {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 22px 18px 18px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 1 220px;
  min-width: 200px;
  transition: box-shadow 0.18s, transform 0.15s;
}
.service-item h3 {
  color: var(--brand-primary);
  font-size: 1.11rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  margin-bottom: 7px;
}
.service-item p {
  color: var(--brand-secondary);
  font-size: 0.97rem;
}
.service-item:hover, .service-item:focus-within {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px) scale(1.018);
  z-index: 2;
}

@media (max-width: 900px) {
  .service-list {
    gap: 14px;
  }
  .service-item {
    padding: 14px;
    min-width: 130px;
  }
}
@media (max-width: 700px) {
  .service-list {
    flex-direction: column;
    gap: 10px;
  }
  .service-item {
    width: 100%;
    min-width: unset;
  }
}


/* ============================== */
/*           TESTIMONIALS         */
/* ============================== */
.testimonials {
  background: #fff;
  border-radius: var(--radius);
}
.testimonials .content-wrapper h2 {
  margin-bottom: 26px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: var(--brand-accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 20px 28px;
  margin-bottom: 20px;
  max-width: 730px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  transition: box-shadow 0.19s, transform 0.14s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px) scale(1.015);
  z-index: 2;
}
.testimonial-card blockquote {
  font-size: 1.09rem;
  color: var(--brand-primary);
  background: none;
  border-left: 3px solid var(--brand-primary);
  padding-left: 16px;
  border-radius: 0;
  margin-bottom: 5px;
}
.testimonial-card .client-name {
  font-size: 0.98rem;
  color: var(--brand-secondary);
  font-style: normal;
  font-weight: 500;
  align-self: flex-end;
}

@media (max-width: 700px) {
  .testimonial-card {
    padding: 12px 8px;
    max-width: 100%;
  }
}


/* ============================== */
/*             CTA                */
/* ============================== */
.cta {
  background: var(--brand-primary);
  border-radius: var(--radius);
  color: #fff;
  text-align: left;
  box-shadow: var(--shadow-card);
  margin-bottom: 60px;
}
.cta h2 {
  color: #fff;
  margin-bottom: 12px;
}
.cta p, .cta li {
  color: #fff;
}
.cta .btn-primary {
  background: #fff;
  color: var(--brand-primary);
  border: none;
  margin-top: 18px;
  margin-left: 0;
}
.cta .btn-primary:hover, .cta .btn-primary:focus {
  background: var(--brand-secondary);
  color: #fff;
}


/* ============================== */
/*            FOOTER              */
/* ============================== */
footer {
  background: var(--monochrome-dark);
  color: #fff;
  padding: 48px 0 30px 0;
  font-size: 1rem;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #fff;
  font-size: 1.02rem;
  text-decoration: none;
  opacity: 0.87;
  transition: opacity 0.12s, color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  opacity: 1;
  color: var(--brand-accent);
}
.footer-contact {
  color: var(--brand-accent);
  font-size: 0.97rem;
  line-height: 1.7;
}
.footer-contact a {
  color: var(--brand-accent);
  text-decoration: underline;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.footer-brand img {
  height: 34px;
  width: auto;
  margin-bottom: 7px;
}
.footer-brand span {
  color: #fff;
  font-size: 0.98rem;
  opacity: 0.69;
}

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

/* ============================== */
/*     CONTACT PAGE COMPONENTS     */
/* ============================== */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}
.contact-info p {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-primary);
  font-size: 1.06rem;
}
.contact-info img {
  width: 24px;
  height: 24px;
  opacity: 0.70;
}
.location-map {
  color: var(--brand-secondary);
  padding-top: 10px;
  font-size: 0.97rem;
}


/* ============================== */
/*      PROJECTS/REFERENZEN       */
/* ============================== */
.projects .project-types {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.project-type {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 20px 18px 16px 18px;
  flex: 1 1 220px;
  min-width: 210px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.15s;
}
.project-type h3 {
  color: var(--brand-primary);
  font-size: 1.09rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  margin-bottom: 7px;
}
.project-type p {
  color: var(--brand-secondary);
  font-size: 0.97rem;
}
.project-type:hover, .project-type:focus-within {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px) scale(1.015);
}

@media (max-width: 800px) {
  .projects .project-types {
    flex-direction: column;
    gap: 14px;
  }
  .project-type { min-width: unset; width: 100%; }
}

/* ============================== */
/*  COOKIE BANNER & MODAL STYLES  */
/* ============================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 3000;
  background: #181C1B;
  color: #fff;
  box-shadow: 0 -6px 32px 0 rgba(28,35,33,0.10);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 22px 38px;
  border-radius: 20px 20px 0 0;
  font-size: 1rem;
  animation: cookieBannerIn .28s cubic-bezier(.43,1.26,.59,1) 1;
}
@keyframes cookieBannerIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-text {
  flex: 1;
  color: #fff;
  font-size: 0.98rem;
  margin-right: 20px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border-radius: 6px;
  padding: 9px 18px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.cookie-banner .cookie-accept {
  background: var(--brand-primary);
  color: #fff;
}
.cookie-banner .cookie-accept:focus, .cookie-banner .cookie-accept:hover {
  background: #232323;
  color: #fff;
}
.cookie-banner .cookie-reject {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.cookie-banner .cookie-reject:focus, .cookie-banner .cookie-reject:hover {
  background: var(--brand-secondary);
  border-color: var(--brand-secondary);
  color: #fff;
}
.cookie-banner .cookie-settings {
  background: transparent;
  color: var(--brand-secondary);
  border: none;
  text-decoration: underline;
  font-size: 0.98rem;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  color: #fff;
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 12px;
    font-size: 0.97rem;
    gap: 12px;
    border-radius: 11px 11px 0 0;
  }
  .cookie-banner .cookie-actions {
    width: 100%;
    gap: 8px;
    justify-content: flex-start;
  }
}

/* COOKIE MODAL OVERLAY */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(28,35,33,0.75);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.23s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: var(--brand-primary);
  padding: 44px 34px 28px 34px;
  border-radius: 18px;
  max-width: 440px;
  width: 98vw;
  box-shadow: 0 8px 44px 0 rgba(28,35,33,0.18);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: cookieModalIn .28s cubic-bezier(.4,1.31,.53,1.01) 1;
}
@keyframes cookieModalIn {
  from { transform: scale(0.96) translateY(40px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  margin-bottom: 6px;
  font-size: 1.53rem;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 18px;
}
.cookie-modal .category-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  font-size: 1.03rem;
}
.cookie-modal .essential {
  color: var(--brand-secondary);
  font-weight: bold;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 12px;
  justify-content: flex-end;
}
.cookie-modal .cookie-accept, .cookie-modal .cookie-reject {
  padding: 9px 22px;
}
.cookie-modal .cookie-close {
  position: absolute;
  top: 18px; right: 18px;
  background: none;
  border: none;
  font-size: 1.35rem;
  color: var(--brand-secondary);
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal .cookie-close:focus, .cookie-modal .cookie-close:hover {
  color: var(--brand-primary);
}
.toggle-switch {
  display: flex;
  align-items: center;
}
.toggle-switch input[type="checkbox"] {
  width: 0;
  height: 0;
  opacity: 0;
}
.toggle-switch .slider {
  display: inline-block;
  width: 36px;
  height: 18px;
  background: #ccc;
  border-radius: 9px;
  position: relative;
  transition: background 0.14s;
  margin-left: 7px;
  margin-right: 0;
}
.toggle-switch .slider:before {
  content: '';
  width: 15px;
  height: 15px;
  position: absolute;
  left: 2px;
  top: 1.5px;
  border-radius: 50%;
  background: #fff;
  transition: transform .19s, background .21s;
  box-shadow: 0 1px 2px 0 rgba(1,1,1,0.08);
}
.toggle-switch input:checked + .slider {
  background: var(--brand-primary);
}
.toggle-switch input:checked + .slider:before {
  transform: translateX(18px);
  background: var(--brand-primary);
}

@media (max-width: 500px) {
  .cookie-modal {
    padding: 18px 10px 14px 14px;
    max-width: 98vw;
  }
}


/* ============================== */
/*   THANK YOU, LEGAL, POLICY     */
/* ============================== */
.thank-you, .privacy, .dsgvo, .cookie-policy, .terms-of-use {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  min-height: 280px;
  padding-top: 36px;
  padding-bottom: 36px;
}
.thank-you h1 {
  color: var(--brand-primary);
  margin-bottom: 14px;
}
.thank-you-text {
  color: var(--brand-secondary);
  margin-bottom: 24px;
  font-size: 1.13rem;
}

/* General style for legal content */
.privacy h1, .dsgvo h1, .cookie-policy h1, .terms-of-use h1 {
  margin-bottom: 18px;
}
.privacy h3, .dsgvo h3, .cookie-policy h3, .terms-of-use h2 {
  color: var(--brand-primary);
  margin-top: 13px;
  margin-bottom: 8px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.14rem;
  font-weight: 500;
}


/* ============================== */
/*        UTILITY CLASSES         */
/* ============================== */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  background: #fff;
  transition: box-shadow 0.18s, transform 0.15s;
}
.card:hover, .card:focus-within {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px) scale(1.011);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}


/* ============================== */
/*         FLEX RESPONSIVE        */
/* ============================== */
@media (max-width: 768px) {
  .content-grid,
  .card-container,
  .feature-grid,
  .service-list,
  .projects .project-types,
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 600px) {
  .content-wrapper {
    padding: 0 !important;
  }
}

/* ============================== */
/*         SPACING & GAPS         */
/* ============================== */
.section, section, .features, .about, .cta, .services, .team, .testimonials, .projects, .contact, .thank-you, .privacy, .dsgvo, .cookie-policy, .terms-of-use {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card, .feature-item, .service-item, .testimonial-card, .project-type {
  margin-bottom: 20px;
}
.card-container, .feature-grid, .service-list, .projects .project-types {
  gap: 24px;
}
.content-grid {
  gap: 20px;
}
.text-image-section {
  gap: 30px;
}
.testimonial-card {
  gap: 20px;
  padding: 20px;
}
.feature-item {
  gap: 15px;
}


/* ============================== */
/*      FOCUS & ACCESSIBILITY     */
/* ============================== */
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus, .mobile-menu-toggle:focus {
  outline: var(--focus-outline);
  box-shadow: 0 0 0 2px var(--brand-accent);
}


/* ============================== */
/*            ANIMATIONS          */
/* ============================== */
.btn-primary, .btn-secondary, .service-item, .feature-item, .project-type, .testimonial-card, .card {
  transition: var(--transition);
}
nav.main-nav a:after {
  transition: width 0.22s;
}

/* Micro-interactions */
.btn-primary:active, .btn-secondary:active {
  transform: scale(0.97);
}


/* ============================== */
/*        Z-INDEX CONTEXTS        */
/* ============================== */
header {z-index: 100;}
.mobile-menu {z-index: 2000;}
.cookie-banner {z-index: 3000;}
.cookie-modal-overlay {z-index: 4000;}

