/* === 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 {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  min-height: 100vh;
  font-family: "Open Sans", Arial, sans-serif;
  background: #F7F6F3;
  color: #243B4A;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #243B4A;
  text-decoration: none;
  transition: color 0.2s;
}

/* === BRAND COLORS === */
:root {
  --primary: #243B4A; /* Navy/Slate Blue */
  --secondary: #FFFFFF; /* White */
  --accent: #8BA678; /* Soft Olive */
  --accent-strong: #799461;
  --gold: #C7A450;
  --gold-hover: #A5893E;
  --gray-light: #E8E6E1;
  --surface: #F7F6F3;
  --border: #E8E6E1;
  --shadow: rgba(36, 59, 74, 0.08);
  --shadow-strong: rgba(36, 59, 74, 0.16);
  --danger: #ba2636;
}

/* === TYPOGRAPHY === */
h1, .h1 {
  font-family: "Montserrat", 'Segoe UI', Arial, sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--primary);
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h2, .h2 {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 600;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}
h3, .h3 {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 10px;
}
h4, .h4, h5, h6 {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 6px;
}
p, li, span, label, address {
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 8px;
}
strong {
  font-weight: 700;
  color: var(--primary);
}
.subheadline {
  font-size: 1.25rem;
  font-family: "Open Sans", Arial, sans-serif;
  color: #444;
  margin-bottom: 28px;
  letter-spacing: 0.01em;
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 8px;
  background: var(--gold);
  color: var(--secondary);
  border: none;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 12px var(--shadow);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s, transform 0.1s;
  margin-top: 10px;
}
.btn.primary {
  background: var(--gold);
  color: var(--primary);
}
.btn.primary:hover, .btn.primary:focus {
  background: var(--gold-hover);
  color: var(--secondary);
  box-shadow: 0 8px 24px var(--shadow-strong);
  outline: none;
  transform: translateY(-2px) scale(1.03);
}
.btn.secondary, .footer .btn {
  background: var(--primary);
  color: var(--secondary);
  border: 1.5px solid var(--gold);
}
.btn.secondary:hover, .footer .btn:hover {
  background: var(--gold);
  color: var(--primary);
}

/* === LAYOUT CONTAINER & SPACING === */
.container {
  width: 100%;
  max-width: 1260px;
  padding-left: 20px;
  padding-right: 20px;
  margin: 0 auto;
}
.content-wrapper {
  padding: 0;
  margin: 0 auto;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--secondary);
  border-radius: 14px;
  box-shadow: 0 4px 16px var(--shadow);
  position: relative;
  transition: box-shadow 0.24s, transform 0.16s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px var(--shadow-strong);
  transform: translateY(-2px) scale(1.025);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: var(--secondary);
  color: #212121;
  border: 1.5px solid var(--gold);
  border-radius: 14px;
  box-shadow: 0 4px 16px var(--shadow);
  padding: 32px 28px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  border-color: var(--gold-hover);
  box-shadow: 0 8px 32px var(--shadow-strong);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* == HERO, FEATURES, SERVICES, CTA SECTIONS == */
.hero {
  background: linear-gradient(120deg, var(--surface) 75%, var(--gold) 120%);
  padding: 54px 0 72px 0;
}
.hero h1 {
  font-size: 2.3rem;
  color: var(--primary);
  margin-bottom: 10px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.features {
  background: var(--surface);
  padding: 40px 0;
}
.features .content-wrapper {
  flex-direction: column;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  list-style: none;
  margin-top: 24px;
  margin-bottom: 12px;
}
.feature-grid li {
  background: var(--secondary);
  border: 1.5px solid var(--gold);
  border-radius: 12px;
  box-shadow: 0 3px 12px var(--shadow);
  padding: 24px 18px 18px 18px;
  min-width: 220px;
  flex: 1 1 260px;
  max-width: 310px;
  margin-bottom: 4px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.18s, border-color 0.15s;
}
.feature-grid li:hover {
  border-color: var(--gold-hover);
  box-shadow: 0 6px 24px var(--shadow-strong);
}
.feature-grid img {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
}
.feature-grid h3 {
  color: var(--primary);
  font-size: 1.15rem;
  margin-bottom: 6px;
  font-weight: 600;
}
.feature-grid p {
  color: #444;
  font-size: 1rem;
}

.services {
  background: var(--secondary);
  padding: 48px 0;
}
.services .service-list,
.services .service-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0 0 0;
  align-items: stretch;
}
.service-item, .service-detail {
  background: var(--surface);
  border-radius: 10px;
  box-shadow: 0 2px 8px var(--shadow);
  flex: 1 1 270px;
  min-width: 220px;
  margin-bottom: 12px;
  padding: 22px 20px;
  border-left: 5px solid var(--gold);
  transition: box-shadow 0.16s, background 0.18s, border-color 0.16s;
  display: flex;
  flex-direction: column;
}
.service-item h3, .service-detail h2 {
  font-size: 1.16rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--primary);
}
.service-item p, .service-detail p {
  font-size: 1rem;
  color: #434343;
}
.service-item strong, .service-detail strong {
  color: var(--gold);
  font-weight: 700;
}
.service-item:hover, .service-detail:hover {
  box-shadow: 0 4px 14px var(--shadow-strong);
  background: #fffbe7;
  border-color: var(--gold-hover);
}

.process-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  margin-bottom: 6px;
  list-style: none;
}
.process-steps li {
  background: var(--secondary);
  border-radius: 11px;
  box-shadow: 0 3px 14px var(--shadow);
  padding: 24px 18px;
  border-left: 4px solid var(--accent);
  flex: 1 1 220px;
  min-width: 170px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.process-steps img {
  width: 38px;
  height: 38px;
  margin-bottom: 5px;
}
.process-steps strong {
  font-size: 1.1rem;
  margin-bottom: 7px;
  color: var(--gold);
}

.cta {
  background: linear-gradient(90deg, var(--gold) 0 20%, var(--surface) 110%);
  padding: 46px 0 60px 0;
}
.cta .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.cta h2 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 12px;
}
.cta p {
  color: #444;
}

/**** TESTIMONIALS SECTION ****/
.testimonials {
  background: var(--gray-light);
  padding: 46px 0;
}
.testimonials .content-wrapper {
  display: flex;
  flex-direction: column;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  margin-bottom: 10px;
}
.testimonial-card p {
  color: #232323;
  font-size: 1.13rem;
  font-style: italic;
}
.testimonial-card span {
  color: #799461;
  font-size: 1rem;
  margin-top: 4px;
  font-weight: 600;
}
.star-rating {
  font-size: 1.3rem;
  color: var(--gold);
  margin-left: 2px;
  letter-spacing: 0.08em;
}

/**** BLOG & LEGAL PAGES ****/
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 30px;
}
.blog-list article {
  background: var(--secondary);
  border-radius: 12px;
  box-shadow: 0 2px 8px var(--shadow);
  flex: 1 1 250px;
  min-width: 220px;
  padding: 22px 20px;
  border-left: 4px solid var(--gold);
  transition: box-shadow 0.16s, border-color 0.16s;
}
.blog-list article:hover {
  box-shadow: 0 7px 22px var(--shadow-strong);
  border-color: var(--gold-hover);
}
.blog-list h2 {
  font-size: 1.21rem;
  color: var(--primary);
  margin-bottom: 5px;
}
.blog-list p {
  font-size: 1rem;
  color: #444;
}
.blog-categories {
  margin-top: 20px;
}
.blog-categories h3 {
  margin-bottom: 8px;
}
.blog-categories ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
}
.blog-categories li {
  background: var(--surface);
  border-radius: 7px;
  padding: 4px 12px;
  color: var(--gold);
  font-size: 0.99rem;
  font-weight: 500;
  border: 1px solid var(--gold);
}
.legal .content-wrapper {
  max-width: 860px;
  margin: 0 auto;
}
.legal .text-section {
  margin-top: 32px;
}
.legal .text-section ul {
  margin-bottom: 12px;
  padding-left: 22px;
  color: #444;
}
.legal .text-section ul li {
  margin-bottom: 5px;
}
.legal .text-section h3 {
  color: var(--primary);
  margin-bottom: 6px;
}

/**** THANK YOU SECTION ****/
.thank-you .content-wrapper {
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 20px 60px 20px;
  background: var(--secondary);
  border-radius: 14px;
  box-shadow: 0 2px 10px var(--shadow), 0 0px 0px #fff;
}
.thank-you ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 22px 0;
  text-align: left;
}

/**** ABOUT PAGE, TIMELINE ****/
.timeline {
  list-style: none;
  padding-left: 0;
  margin-top: 12px;
}
.timeline li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 14px;
  font-size: 1.02rem;
  color: #555;
}
.timeline li strong {
  font-weight: 700;
  color: var(--gold);
}
.timeline li:before {
  content: '';
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  position: absolute;
  left: 0;
  top: 2px;
}

/**** PROJECTS SECTION (REFERENZEN) ****/
.project-list {
  margin: 28px 0 22px 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
}
.project-list li {
  background: var(--surface);
  border-radius: 12px;
  border-left: 3px solid var(--gold);
  box-shadow: 0 2px 12px var(--shadow);
  flex: 1 1 270px;
  min-width: 210px;
  padding: 20px 18px;
}
.project-highlights {
  background: var(--secondary);
  border-radius: 10px;
  padding: 14px 18px;
  margin-top: 20px;
  font-size: 1.04rem;
  font-weight: 600;
  color: var(--gold);
  box-shadow: 0 2px 8px var(--shadow);
}

/* === HEADER, NAVIGATION === */
header {
  background: var(--secondary);
  box-shadow: 0 2px 12px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 23;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  min-height: 80px;
}
header img {
  height: 38px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: 36px;
  flex-wrap: wrap;
}
.main-nav a,
.footer-nav nav a, .footer-legal nav a {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.06rem;
  font-weight: 500;
  color: var(--primary);
  padding: 8px 10px 6px 10px;
  border-radius: 7px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--gold);
  color: var(--secondary);
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 2rem;
  margin-left: auto;
  cursor: pointer;
  transition: color 0.15s, transform 0.1s;
  border-radius: 50%;
  padding: 8px 12px;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: var(--gold);
  outline: none;
  background: #f6e5c8;
}
.btn.primary {
  margin-left: 34px;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(36, 59, 74, 0.97);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 18px 24px 26px;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--gold);
  font-size: 2.25rem;
  align-self: flex-end;
  padding: 10px 12px;
  margin-bottom: 24px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--secondary);
  background: var(--gold);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}
.mobile-nav a {
  color: var(--gold);
  font-size: 1.35rem;
  padding: 10px 0 10px 10px;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 600;
  border-radius: 7px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--gold);
  color: var(--primary);
}

/* ===== FOOTER ===== */
footer {
  background: var(--primary);
  color: var(--secondary);
  padding: 44px 0;
  font-size: 1rem;
}
footer .container {
  padding: 0 20px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 180px;
  flex: 1 1 200px;
  gap: 8px;
}
.footer-brand img {
  height: 38px;
  margin-bottom: 10px;
}
.tagline {
  color: var(--gold);
  font-family: "Montserrat", Arial, sans-serif;
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.footer-nav, .footer-legal, .footer-contact, .footer-social {
  display: flex;
  flex-direction: column;
  flex: 1 1 170px;
  min-width: 120px;
  gap: 10px;
}
.footer-nav nav,
.footer-legal nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.footer-nav h4, .footer-contact h4, .footer-social h4 {
  color: var(--gold);
  font-size: 1.04rem;
  margin-bottom: 5px;
}
.footer-contact address {
  font-style: normal;
  color: #f6e5c8;
  font-size: 0.97rem;
  margin-bottom: 4px;
}
.footer-contact a {
  color: var(--gold);
  text-decoration: underline;
  transition: color 0.16s;
}
.footer-contact a:hover {
  color: #fffbe7;
}
.footer-social {
  align-items: flex-start;
  gap: 4px;
}
.footer-social a {
  margin-right: 11px;
}
.footer-social img {
  height: 26px;
  filter: brightness(1.2) sepia(0.4) hue-rotate(18deg) saturate(2);
  transition: filter 0.17s;
}
.footer-social a:hover img {
  filter: drop-shadow(0 0 6px var(--gold));
}
.footer-legal nav a, .footer-nav nav a {
  color: #eedcb9;
  font-size: 1.01rem;
  transition: color 0.17s;
}
.footer-legal nav a:hover,
.footer-nav nav a:hover {
  color: var(--gold);
}

/* === MAP PLACEHOLDER (KONTAKT PAGE) === */
.map-placeholder {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border-radius: 10px;
  border: 1px solid var(--gold);
  padding: 14px 18px;
  min-height: 64px;
}
.map-placeholder img {
  width: 42px;
  height: 42px;
}
.map-placeholder span {
  color: var(--primary);
  font-size: 1.02rem;
}

/* == UTILS == */
ul, ol {
  margin-left: 18px;
  padding-left: 10px;
}
li {
  margin-bottom: 8px;
  line-height: 1.4;
}
section {
  width: 100%;
}
address {
  font-style: normal;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 3000;
  background: #fffbe7;
  color: var(--primary);
  border-top: 2.5px solid var(--gold);
  box-shadow: 0 -3px 18px var(--shadow-strong);
  padding: 22px 20px 16px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 1.02rem;
  animation: banner-slideup 0.65s cubic-bezier(.8,1.8,.2,1) both;
}
@keyframes banner-slideup {
  0% { opacity: 0; transform: translateY(60px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-banner .btn {
  font-size: 1rem;
  padding: 9px 20px;
  min-width: 110px;
  border-radius: 7px;
}
.cookie-banner .btn.accept {
  background: var(--gold);
  color: var(--primary);
}
.cookie-banner .btn.accept:hover,
.cookie-banner .btn.accept:focus {
  background: var(--primary);
  color: var(--gold);
}
.cookie-banner .btn.reject {
  background: var(--primary);
  color: var(--secondary);
  border: 1.5px solid var(--gold);
}
.cookie-banner .btn.reject:hover {
  background: var(--gold);
  color: var(--primary);
}
.cookie-banner .btn.settings {
  background: #fff;
  border: 1.5px solid var(--gold);
  color: var(--primary);
}
.cookie-banner .btn.settings:hover{
  background: var(--gold);
  color: var(--secondary);
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 4000;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(36, 59, 74, 0.70);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.18s;
}
@keyframes fadeIn { 0% { opacity:0; } 100%{ opacity:1; } }
.cookie-modal {
  background: #fffbe7;
  color: var(--primary);
  border-radius: 18px;
  box-shadow: 0 8px 36px var(--shadow-strong);
  padding: 38px 38px 34px 38px;
  max-width: 410px;
  width: 94vw;
  animation: modal-pop 0.23s cubic-bezier(.2,1.6,.5,1.05) both;
}
@keyframes modal-pop {
  0% { opacity:0; transform: scale(.80) translateY(40px);}
  100%{ opacity:1; transform: scale(1) translateY(0);}
}
.cookie-modal h3 {
  color: var(--primary);
  font-size: 1.25rem;
  margin-bottom: 14px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.cookie-modal-category label {
  font-size: 1.05rem;
  color: var(--primary);
}
.cookie-modal-category input[type="checkbox"] {
  accent-color: var(--gold);
  width: 18px;
  height: 18px;
}
.cookie-modal .btn {
  margin-top: 22px;
  width: 100%;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--gold);
  cursor: pointer;
  transition: color 0.14s, background 0.12s;
  border-radius: 50%;
}
.cookie-modal .cookie-modal-close:hover{
  background: var(--gold);
  color: var(--secondary);
}

/* === RESPONSIVE DESIGN (MOBILE FIRST) === */
@media (max-width: 1100px) {
  footer .content-wrapper {
    gap: 16px;
  }
  .main-nav {
    gap: 14px;
    margin-left: 17px;
  }
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  .feature-grid, .services .service-list, .content-grid,
  .process-steps, .testimonial-slider, .blog-list, .project-list, .footer .content-wrapper {
    gap: 15px;
  }
}
@media (max-width: 820px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .btn.primary {
    margin-left: auto;
  }
  footer .content-wrapper {
    flex-wrap: wrap;
    gap: 24px;
  }
}
@media (max-width: 600px) {
  h1, .h1 {
    font-size: 2rem;
  }
  h2, .h2 {
    font-size: 1.55rem;
  }
  h3, .h3 {
    font-size: 1.1rem;
  }
  .container, .section {
    padding-left: 6px;
    padding-right: 6px;
  }
  .section {
    padding: 24px 6px 35px 6px;
  }
  .hero, .cta {
    padding-top: 30px;
    padding-bottom: 28px;
  }
  .card, .feature-grid li, .blog-list article, .project-list li, .testimonial-card, .service-item {
    padding: 12px 11px;
    min-width: 0;
  }
  .timeline li { padding-left: 23px; }
  .thank-you .content-wrapper {
    padding: 25px 7px 30px 7px;
  }
  .cookie-modal {
    padding: 24px 9px 18px 13px;
    border-radius: 12px;
  }
  .footer-brand img { height: 32px; }
}
@media (max-width: 500px) {
  header .container {
    gap: 8px;
    min-height: 62px;
    padding: 0 7px;
  }
  .feature-grid, .service-list, .process-steps {
    gap: 8px;
  }
  .blog-categories ul {
    gap: 7px;
  }
  .testimonial-card {
    padding: 14px 8px;
  }
  .footer-social img { height: 20px; }
}

/* == FLEX DIRECTION FOR RESP SECTIONS == */
@media (max-width: 950px) {
  .feature-grid, .services .service-list, .service-tabs, .testimonial-slider, .project-list, .blog-list, .process-steps {
    flex-direction: column;
  }
  .card-container, .content-grid, .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }
  .footer .content-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }
  .hero .container, .cta .content-wrapper {
    align-items: stretch;
  }
}

/**** MICRO-INTERACTIONS, SHADOWS ****/
.card, .feature-grid li, .service-item, .service-detail, .testimonial-card, .blog-list article, .project-list li, .thank-you .content-wrapper {
  transition: box-shadow 0.15s, transform 0.15s, border-color 0.17s;
}
.card:active, .feature-grid li:active, .service-item:active, .testimonial-card:active {
  transform: scale(.98);
  box-shadow: 0 2px 7px var(--shadow);
}

/* === REMOVE OUTLINE ON BUTTONS (but keep for accessibility) === */
button:focus, .btn:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* === Z-INDEX LAYERING === */
header { z-index: 23; }
.mobile-menu { z-index: 200; }
.cookie-banner { z-index: 3000; }
.cookie-modal-overlay { z-index: 4000; }

/* === SELECTION & SCROLLBAR === */
::selection {
  background: var(--gold);
  color: var(--primary);
}
::-webkit-scrollbar {
  width: 13px;
  background: #ece4d0;
}
::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 6px;
}

/* === END === */
