/* 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; }
*, *:before, *:after { box-sizing: inherit; }
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section { display: block; }
body { line-height: 1.5; background: #F8F4EC; color: #3C2F20; }
ol, ul { list-style: none; }
a { color: inherit; text-decoration: none; transition: color .15s; }
img { max-width: 100%; display: block; height: auto; border: 0; }
button { font: inherit; background: none; border: 0; cursor: pointer; }

/* BRAND RETRO COLOR PALETTE */
:root {
  --primary: #14304E;
  --secondary: #8BB174;
  --accent: #F2F6ED;
  --cream: #F8F4EC;
  --retro-orange: #F2C879;
  --retro-brown: #7E6651;
  --retro-red: #C46A54;
  --dark: #271D15;
  --white: #fff;
  --font-display: 'Montserrat', 'Raleway', 'Arial Rounded MT Bold', Helvetica, Arial, sans-serif;
  --font-body: 'Roboto', 'PT Serif', Georgia, serif;
}

body, html {
  background: var(--cream);
  color: var(--dark);
  font-family: var(--font-body);
  font-size: 16px;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  text-shadow: 0 2px 0 rgba(164,138,108,0.08);
}
h1 { font-size: 2.6rem; line-height: 1.1; margin-bottom: 18px; }
h2 { font-size: 2rem; line-height: 1.15; margin-bottom: 16px; }
h3 { font-size: 1.3rem; line-height: 1.2; margin-bottom: 10px; color: var(--retro-brown); }
h4, h5, h6 { font-size: 1rem; }
p, li, ul, ol, blockquote { font-size: 1rem; line-height: 1.6; margin-bottom: 12px; }
p:last-child, li:last-child, blockquote:last-child { margin-bottom: 0; }

b, strong { font-weight: 700; }

small, .footer-info small { font-size: 0.86rem; color: var(--retro-brown); }

/* SPACING & CONTAINER */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: 18px;
  box-shadow: 0 4px 24px 0px rgba(35, 30, 19, 0.11);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--accent);
  margin-bottom: 20px;
  border-radius: 14px;
  box-shadow: 0 2px 14px 0 rgba(164,138,108,0.13);
  position: relative;
  transition: box-shadow .2s;
}
.card:hover {
  box-shadow: 0 6px 32px 0 rgba(164,138,108,0.19);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
/* Retro lines and border accents, as a subtle vintage cue */
hr {
  border: none;
  border-top: 2px dashed var(--retro-brown);
  opacity: .3;
  margin: 32px 0 24px 0;
}

/* HEADER */
header {
  background: var(--primary);
  color: var(--accent);
  box-shadow: 0 2px 16px 0 #14304e13;
  padding: 0;
  position: relative;
  z-index: 101;
}
header .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 16px 16px 12px 16px;
}
header a img {
  max-height: 44px;
  margin-right: 16px;
}
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  padding: 7px 0;
  font-family: var(--font-display);
  font-size: 1.04rem;
  color: var(--accent);
  letter-spacing: 0.02em;
  border-radius: 6px;
  position: relative;
  transition: color .16s, background .15s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--retro-orange);
  background: rgba(255,255,255,0.04);
}
.btn-primary {
  background: var(--retro-orange);
  color: var(--primary);
  font-family: var(--font-display);
  padding: 12px 26px;
  border-radius: 24px;
  font-weight: 700;
  font-size: 1.08rem;
  box-shadow: 0 1px 5px 0 rgba(164,138,108,0.10);
  border: 2px solid var(--retro-brown);
  margin-left: 16px;
  transition: background .18s, color .16s, box-shadow .17s;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--primary);
  color: var(--retro-orange);
  border-color: var(--retro-orange);
  box-shadow: 0 4px 20px 0 rgba(20,48,78,0.15);
}

/* BURGER MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  font-size: 2.04rem;
  padding: 4px 14px;
  background: rgba(255,255,255,0.14);
  color: var(--retro-orange);
  border-radius: 7px;
  margin-left: 18px;
  transition: background .2s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: rgba(255,235,171,.2);
}
@media (max-width: 980px) {
  .main-nav,
  .btn-primary {
    display: none !important;
  }
  .mobile-menu-toggle { display: block; }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--primary);
  color: var(--accent);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform .37s cubic-bezier(.77,.19,.34,.86);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: -8px 0 32px 0 #0004;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  margin: 24px 38px 12px 0;
  color: var(--retro-orange);
  background: transparent;
  border-radius: 5px;
  padding: 0 12px;
  transition: background .13s;
}
.mobile-menu-close:hover {
  background: rgba(242,200,121,0.12);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
  align-items: flex-start;
  margin: 32px 0 0 40px;
}
.mobile-nav a {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.3rem;
  padding: 8px 0;
  letter-spacing: 0.03em;
  border-bottom: 2px solid transparent;
  transition: color .16s, border-color .15s;
  border-radius: 0 12px 12px 0;
  display: block;
  width: 80%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--retro-orange);
  border-color: var(--retro-orange);
  background: rgba(255,235,171,0.06);
}

/* HERO */
.hero {
  background: var(--accent);
  position: relative;
  margin-bottom: 48px;
  padding: 50px 0 36px;
  box-shadow: 0 3px 28px 0 rgba(176,160,128,0.13);
  border-bottom: 7px double var(--retro-brown);
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
}
.hero .container {
  display: flex;
  justify-content: center;
  align-items: stretch;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 650px;
  gap: 0;
}
.hero h1 {
  color: var(--primary);
  font-size: 2.8rem;
  font-family: var(--font-display);
  text-shadow: 0px 3px 0 #ECCF91;
  margin-bottom: 10px;
}
.hero p {
  font-size: 1.06rem;
  color: var(--retro-brown);
  margin-bottom: 20px;
}

/* FEATURES, SERVICE SECTION */
.features, .services-overview, .services-main {
  background: var(--accent);
  border-radius: 13px;
  margin-bottom: 60px;
  padding: 40px 20px 28px 20px;
}
.features .feature-grid, .services-main .service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
}
.features .feature-grid li,
.services-main .service-grid li {
  flex: 1 1 210px;
  background: var(--cream);
  border-radius: 14px;
  box-shadow: 0 2px 14px 0 rgba(164,138,108,0.12);
  padding: 32px 20px 22px 20px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: box-shadow .13s, transform .13s;
  border: 2px solid var(--retro-orange);
  position: relative;
  overflow: hidden;
}
.features .feature-grid li:hover,
.services-main .service-grid li:hover {
  box-shadow: 0 8px 28px 0 rgba(124,80,43,0.18);
  transform: translateY(-5px) scale(1.02);
}
.features .feature-grid img,
.services-main .service-grid img {
  width: 46px; height: 46px; margin-bottom: 6px;
  filter: sepia(0.42) brightness(1.08) saturate(1.3);
}
.features .feature-grid h3, .services-main .service-grid h3 {
  font-size: 1.14rem;
  color: var(--retro-brown);
}
.features .feature-grid p,
.services-main .service-grid p {
  font-size: 0.99rem;
  color: var(--dark);
}

/* SERVICES OVERVIEW LIST */
.services-overview .service-list,
.about-short .usps,
.about-company .values-list,
.about-company .quality-promises ul,
.mission-section ul,
.step-list,
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.services-overview .service-list li {
  background: var(--cream);
  border-left: 7px solid var(--retro-red);
  border-radius: 0 18px 18px 0;
  padding: 20px 22px;
  margin-bottom: 12px;
  position: relative;
  box-shadow: 0 1px 7px 0 #b2a59713;
  transition: box-shadow .16s;
}
.services-overview .service-list li:hover {
  box-shadow: 0 4px 18px 0 #f2c87933;
}
.services-overview .service-list h3 {
  margin-bottom: 7px;
  color: var(--retro-brown);
  font-size: 1.12rem;
}
.services-overview .service-list a {
  display: inline-block;
  margin-top: 6px;
  color: var(--primary);
  background: none;
  border-radius: 2px;
  border-bottom: 2px dotted var(--secondary);
  font-weight: 600;
  transition: color .14s, border-color .13s;
  font-size: 0.99rem;
}
.services-overview .service-list a:hover {
  color: var(--retro-orange);
  border-color: var(--retro-orange);
}

.about-short .usps li, .about-company .values-list li, .about-company .quality-promises ul li {
  padding-left: 23px;
  background: url('../assets/icons/icon-check.svg') no-repeat 0 3px / 16px 16px;
  color: var(--retro-brown);
}
.about-short .usps li:not(:last-child), .about-company .values-list li:not(:last-child), .about-company .quality-promises ul li:not(:last-child) {
  margin-bottom: 6px;
}

/* PROJECTS / TEASERS */
.project-list .project-teaser {
  background: var(--accent);
  border-left: 8px solid var(--retro-brown);
  border-radius: 0 24px 24px 0;
  padding: 24px 28px;
  margin-bottom: 26px;
  box-shadow: 0 1px 9px 0 #b2a59713;
  font-size: 1.08rem;
  position: relative;
}
.project-list .project-teaser h3 {
  font-family: var(--font-display);
  font-size: 1.22rem;
  color: var(--primary);
}
.project-list .project-teaser blockquote {
  font-style: italic;
  border-left: 3px dotted var(--retro-orange);
  color: var(--retro-brown);
  margin-left: 0; margin-top: 18px; padding-left: 18px;
  font-size: 1.01rem;
}
.project-list .project-teaser blockquote span {
  display: block; font-weight: 700; color: var(--primary); font-style: normal;
}

/* PROCESS / STEPS */
.process-section .process-steps,
.process-detail .step-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 18px;
}
.process-section .process-steps li,
.process-detail .step-list li {
  display: flex;
  align-items: center;
  font-size: 1.01rem;
  background: var(--cream);
  border-radius: 15px;
  padding: 16px 24px 16px 14px;
  margin-bottom: 8px;
  box-shadow: 0 1px 7px 0 rgba(164,138,108,0.11);
  transition: box-shadow .13s;
}
.process-section .process-steps li img,
.process-detail .step-list li img {
  width: 38px; height: 38px; margin-right: 20px;
  filter: sepia(0.39) brightness(1.08) saturate(1.2);
}
.process-section .process-steps li:hover,
.process-detail .step-list li:hover {
  box-shadow: 0 6px 18px 0 #b2a5971a;
}

/* FAQ */
.faq-list-section .faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 14px;
}
.faq-list-section .faq-item {
  background: var(--accent);
  border-left: 6px solid var(--secondary);
  border-radius: 0 22px 22px 0;
  padding: 18px 22px 16px 18px;
  box-shadow: 0 1px 8px 0 #b2a59715;
  transition: box-shadow .1s;
  position: relative;
  margin-bottom: 4px;
}
.faq-list-section .faq-item h3 {
  color: var(--retro-brown);
  font-size: 1.04rem;
  margin-bottom: 8px;
}
.faq-list-section .faq-item:hover {
  box-shadow: 0 6px 20px 0 #8bb17427;
}

/* LEGAL SECTION */
.legal-section {
  background: var(--accent);
  border-radius: 10px;
  box-shadow: 0 1px 8px 0 #b2a5970a;
  padding: 40px 24px;
  margin: 40px 0 60px;
}
.legal-section h1 {
  color: var(--retro-brown);
  font-size: 2rem;
}
.legal-section h2 {
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 17px;
}
.legal-section ul {
  margin: 16px 0 0 18px;
  padding-left: 12px;
  list-style: disc;
  color: var(--retro-brown);
}

/* CTA SECTIONS */
.cta-section {
  background: var(--retro-orange);
  color: var(--primary);
  border-radius: 20px;
  margin-bottom: 56px;
  text-align: center;
  padding: 38px 12px 46px 12px;
  box-shadow: 0 4px 26px 0 #c46a540c;
  border: 2px dashed var(--primary);
}
.cta-section h2 {
  color: var(--primary);
}
.cta-section p {
  margin-bottom: 18px;
}
.cta-section .btn-primary {
  margin: 16px auto 0 auto;
  display: inline-block;
}

/* ABOUT COMPANY, MISSION SECTION */
.about-company, .mission-section, .about-short {
  background: var(--accent);
  border-radius: 14px;
  box-shadow: 0 1px 8px 0 #b2a59711;
  margin-bottom: 58px;
  padding: 40px 22px;
}
.team-profiles, .quality-promises {
  margin-top: 15px;
  margin-bottom: 10px;
}
.quality-promises ul {
  margin-top: 7px;
}

.mission-section p,
.about-company p {
  font-size: 1rem;
  color: var(--retro-brown);
}

/* CONTACT DETAILS */
.contact-details {
  background: var(--accent);
  border-radius: 16px;
  box-shadow: 0 1px 9px 0 #b2a5970f;
  padding: 38px 20px 26px 20px;
  margin-bottom: 50px;
}
.contact-details ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 16px;
}
.contact-details ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.01rem;
  color: var(--dark);
}
.contact-details ul img {
  width: 22px; height: 22px;
  margin-right: 3px;
}
.static-map {
  display: flex; flex-direction: row; align-items: center; gap: 16px; margin-top: 16px;
}
.static-map img {
  width: 70px; height: 70px;
  border-radius: 8px;
  box-shadow: 0 1px 8px 0 #b2a59715;
  background: var(--cream);
}
.static-map p {
  color: var(--retro-brown);
  max-width: 340px;
}

/* TEXT IMAGE SECTION */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* TESTIMONIALS */
.testimonials {
  background: var(--accent);
  border-radius: 18px;
  padding: 40px 20px;
  margin-bottom: 60px;
  box-shadow: 0 2px 14px 0 #c46a5411;
}
.testimonials h2 {
  color: var(--retro-brown);
  font-size: 1.4rem;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  background: var(--white);
  border-left: 7px solid var(--secondary);
  border-radius: 0 18px 18px 0;
  margin-bottom: 24px;
  padding: 20px 26px 18px 18px;
  box-shadow: 0 2px 20px 0 #8bb1741f;
  font-size: 1.05rem;
  color: var(--primary);
  transition: box-shadow .18s;
}
.testimonial-card:last-child { margin-bottom: 0; }
.testimonial-card p {
  color: var(--dark);
  font-style: italic;
  margin-bottom: 5px;
  font-size: 1.09rem;
}
.testimonial-card .testimonial-name {
  font-weight: 700;
  color: var(--retro-brown);
  font-size: 0.98rem;
  margin-top: 2px;
}
.testimonial-card:hover {
  box-shadow: 0 8px 36px 0 #8BB17434;
}

/* THANK YOU SECTION */
.thank-you-section {
  background: var(--accent);
  border-radius: 20px;
  box-shadow: 0 3px 19px 0 #f2c87913;
  padding: 66px 24px 54px 24px;
  margin: 60px 0;
  text-align: center;
}
.thank-you-section h1 {
  font-size: 2rem;
  color: var(--retro-orange);
}
.thank-you-section p {
  margin: 16px 0 36px 0;
}
.thank-you-section .btn-primary {
  display: inline-block;
  margin: 0 auto;
}

/* FOOTER */
footer {
  background: var(--primary);
  color: var(--accent);
  border-top: 4px double var(--retro-brown);
  margin-top: 60px;
  padding: 46px 0 18px 0;
  font-size: 0.98rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
  gap: 36px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.08rem;
  border-bottom: 1px dotted var(--retro-orange);
  margin-bottom: 3px;
  transition: color .13s, border-color .13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--retro-orange);
  border-color: var(--white);
}
.footer-contact {
  display: flex; flex-direction: column; gap: 4px; margin-top: 2px;
  color: var(--cream);
  font-weight: 500;
}
.footer-contact img {
  width: 16px; height: 16px; margin-right: 7px; vertical-align: middle; }
.footer-social {
  display: flex; gap: 16px; align-items: center; margin-top: 3px;
}
.footer-social a img {
  width: 26px; height: 26px;
  filter: sepia(0.8) brightness(1.12) saturate(0.7);
  transition: filter .17s;
  border-radius: 4px;
}
.footer-social a:hover img { filter: sepia(0.2) brightness(1.35) saturate(2.5) opacity(0.83); }
.footer-info { margin-top: 10px; width: 100%; text-align: right; }
.footer-info small {
  font-size: 0.97rem;
  color: var(--retro-orange);
  letter-spacing: 0.01em;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2200;
  background: var(--retro-orange);
  color: var(--primary);
  font-family: var(--font-body);
  box-shadow: 0 -3px 12px 0 #c46a5419;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 20px 12px 17px 12px;
  gap: 28px;
  transition: transform .3s;
  border-top: 4px double var(--retro-brown);
  font-size: 1.05rem;
}
.cookie-banner.hide {
  transform: translateY(100%);
}
.cookie-banner p {
  margin: 0 16px 0 0;
  flex: 1 1 0;
}
.cookie-banner .cookie-btns {
  display: flex; flex-direction: row; gap: 14px; align-items: center;
}
.cookie-banner .btn-cookie {
  background: var(--primary);
  color: var(--accent);
  border: 2px solid var(--retro-brown);
  border-radius: 11px;
  padding: 8px 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.01rem;
  transition: background .18s, color .13s, border-color .13s;
}
.cookie-banner .btn-cookie.settings {
  background: var(--secondary);
  color: var(--dark);
  border-color: var(--retro-brown);
  margin-left: 9px;
}
.cookie-banner .btn-cookie.accept:hover {
  background: var(--secondary);
  color: var(--dark);
}
.cookie-banner .btn-cookie.reject:hover {
  background: var(--retro-red);
  color: var(--accent);
}
.cookie-banner .btn-cookie.settings:hover {
  background: var(--primary);
  color: var(--retro-orange);
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(44,33,13,0.22);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  transition: opacity .23s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal .cookie-modal-content {
  background: var(--accent);
  color: var(--dark);
  border-radius: 21px;
  box-shadow: 0 4px 32px 0 #271D1536;
  max-width: 420px;
  padding: 38px 30px 32px 30px;
  min-width: 320px;
  position: relative;
  animation: popIn .3s cubic-bezier(.83,-.16,.53,1.12);
}
@keyframes popIn {
  0% { transform: scale(.96) translateY(20px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal .cookie-modal-content h2 {
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 1.16rem;
  margin-bottom: 14px;
}
.cookie-modal .cookie-cat {
  margin-bottom: 14px;
  font-size: 0.99rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cookie-modal .cookie-cat label {
  font-weight: 600;
  color: var(--retro-brown);
  font-family: var(--font-display);
}
.cookie-modal .cookie-cat input[type=checkbox] {
  accent-color: var(--secondary);
  width: 19px; height: 19px;
  margin-left: 12px;
}
.cookie-modal .cookie-cat.essential label { color: var(--primary); }
.cookie-modal .cookie-cat.essential input { display: none; }
.cookie-modal .cookie-cat.essential::after {
  content: ' (immer aktiv)'; font-size: 0.92em; color: var(--retro-brown);
}
.cookie-modal .modal-actions {
  display: flex; gap: 10px; margin-top: 23px; justify-content: flex-end;
}
.cookie-modal .btn-cookie {
  padding: 7px 15px;
  font-size: 1rem;
  border-radius: 11px;
  font-family: var(--font-display);
}
.cookie-modal .btn-cookie.reject {
  background: var(--retro-red);
  color: var(--accent);
}
.cookie-modal .btn-cookie.accept {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-modal .btn-cookie.close {
  background: var(--retro-orange);
  color: var(--primary);
}
.cookie-modal .btn-cookie:hover {
  filter: brightness(1.13);
}

/*--- FLEXBOX ALIGNMENT PATTERNS (MANDATORY) ---*/
.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 DESIGN ---*/
@media (max-width: 980px) {
  .container { max-width: 100%; padding: 0 8px; }
  header .container, footer .container { gap: 18px; }
}

@media (max-width: 768px) {
  .container { max-width: 98vw; }
  .section, .features, .testimonials, .about-company, .mission-section, .contact-details, .services-overview,
  .services-main, .legal-section, .about-short, .project-list .project-teaser, .faq-list-section .faq-item, .cta-section {
    padding-left: 8px; padding-right: 8px;
  }
  .main-nav, .footer-nav { flex-direction: column; gap: 11px; }
  .footer-info { text-align: left; margin-top: 18px; }
  .project-list .project-teaser { padding: 18px 10px; }
  .features .feature-grid, .services-main .service-grid, .content-grid {
    flex-direction: column;
  }
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 22px; }
  .hero .container { padding: 0 8px; }
}
@media (max-width: 520px) {
  h1 { font-size: 1.42rem; }
  h2 { font-size: 1.12rem; }
  h3, .services-overview .service-list h3 { font-size: 1rem; }
  .footer-contact, .footer-social, .footer-nav {
    align-items: flex-start; font-size: 0.99rem;
  }
  .hero { padding: 32px 0 18px; border-top-left-radius: 12px; border-top-right-radius: 12px; }
  .cta-section { padding: 24px 2px; }
  .section, .features, .testimonials, .about-company, .mission-section, .about-short, .contact-details,
  .project-list .project-teaser, .faq-list-section .faq-item, .legal-section {
    padding: 18px 4px;
    border-radius: 7px;
  }
}

/* INTERACTIONS and MICROANIMATIONS */
a, button, .btn-primary, .btn-cookie {
  transition: color .2s, background .18s, border-color .16s, box-shadow .18s;
}
.card, .testimonial-card, .project-teaser, .services-overview .service-list li, .faq-item {
  transition: box-shadow .18s, transform .16s;
}

a:focus, button:focus, .btn-primary:focus, .btn-cookie:focus {
  outline: 2px dotted var(--retro-orange);
  outline-offset: 2px;
}

/* Hide scrollbar on mobile-menu (overflow) */
.mobile-menu {
  overflow-y: auto;
}

/*--- END ---*/
