/* ============================================================
   FLASCHNEREI WENK – style.css
   Premium Website Stylesheet
   ============================================================ */

/* Accessibility: visually hidden but readable by screen readers & crawlers */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   1. CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Brand Colors */
  --red:          #6E0F1F;
  --red-dark:     #560d18;
  --red-light:    #8b1428;
  --copper:       #B87333;
  --copper-dark:  #9a5f25;
  --copper-light: #d4945c;
  --anthracite:   #2B2B2B;
  --anthracite-2: #1e1e1e;
  --white:        #F8F8F8;
  --grey-light:   #EAEAEA;
  --grey-mid:     #b0b0b0;
  --grey-text:    #595959; /* was #6b6b6b – darkened to 4.9:1 for WCAG AA on grey bg */

  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Font sizes (fluid scaling) */
  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-md:   1.125rem;
  --fs-lg:   1.375rem;
  --fs-xl:   1.75rem;
  --fs-2xl:  2.25rem;
  --fs-3xl:  3rem;
  --fs-4xl:  4rem;
  --fs-hero: clamp(2.8rem, 6vw, 5.5rem);

  /* Spacing */
  --sp-xs:  0.5rem;
  --sp-sm:  1rem;
  --sp-md:  2rem;
  --sp-lg:  4rem;
  --sp-xl:  7rem;
  --sp-2xl: 10rem;

  /* Layout */
  --container: 1280px;
  --pad:       clamp(1.25rem, 5vw, 2.5rem);
  --nav-h:     80px;

  /* Effects */
  --radius:     6px;
  --radius-md:  12px;
  --shadow-sm:  0 2px 12px rgba(0,0,0,0.07);
  --shadow-md:  0 6px 30px rgba(0,0,0,0.12);
  --shadow-lg:  0 16px 60px rgba(0,0,0,0.20);
  --transition: 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}


/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--anthracite);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

address {
  font-style: normal;
}

/* Body lock when mobile menu is open */
body.nav-open {
  overflow: hidden;
}


/* ============================================================
   3. UTILITY
   ============================================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section {
  padding: var(--sp-xl) 0;
}

.section--light  { background: var(--white); }
.section--white  { background: #ffffff; }
.section--grey   { background: var(--grey-light); }
.section--dark   { background: var(--anthracite); }

.br-desktop {
  display: none;
}
@media (min-width: 900px) {
  .br-desktop { display: block; }
}


/* ============================================================
   4. TYPOGRAPHY BASE
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}


/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition),
              box-shadow var(--transition);
  white-space: nowrap;
  cursor: pointer;
}

.btn:active { transform: translateY(1px) !important; }

/* Wine red */
.btn--primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.btn--primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(110,15,31,0.35);
}

/* White outline (on dark bg) */
.btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.65);
}
.btn--outline-light:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  transform: translateY(-2px);
}

/* Larger variant */
.btn--lg {
  font-size: var(--fs-base);
  padding: 1.05rem 2.25rem;
}

/* Full width */
.btn--full {
  width: 100%;
  justify-content: center;
}

/* SVG inside button */
.btn svg {
  width: 1em;
  height: 1em;
}


/* ============================================================
   6. SECTION HEADERS (shared)
   ============================================================ */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--sp-lg);
}

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 2rem;
}
.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 2px;
  background: var(--red);
}

.section-label--light {
  color: var(--grey-light);
}
.section-label--light::before {
  background: var(--red-light);
}

.section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--anthracite);
  margin-bottom: 1rem;
}
.section-title--light {
  color: var(--white);
}

.section-intro {
  font-size: var(--fs-md);
  color: var(--grey-text);
  line-height: 1.7;
  font-weight: 300;
}
.section-intro--light {
  color: var(--grey-mid);
}

.section-header--light .section-title {
  color: var(--white);
}
.section-header--light .section-intro {
  color: var(--grey-mid);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-light);
  margin-bottom: 1.25rem;
  opacity: 0.75;
}
.eyebrow--light {
  color: var(--grey-light);
  opacity: 0.8;
}


/* ============================================================
   7. HEADER / NAVIGATION
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--transition), box-shadow var(--transition);
}

/* Transparent on hero */
.header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  transition: background var(--transition), backdrop-filter var(--transition);
  z-index: -1;
}

/* Scrolled state */
.header.scrolled {
  background: var(--anthracite-2);
  box-shadow: 0 2px 30px rgba(0,0,0,0.3);
}

.nav {
  display: flex;
  align-items: center;
  height: 100%;
  gap: var(--sp-md);
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-logo strong {
  font-weight: 900;
  color: var(--red-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0.75rem;
  right: 0.75rem;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.nav-link:hover {
  color: #fff;
}
.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-cta {
  margin-left: var(--sp-sm);
  flex-shrink: 0;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  margin-left: auto;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), width var(--transition);
  transform-origin: center;
}
.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ============================================================
   8. HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  left: 0;
  right: 0;
  top: -25%;
  height: 150%;   /* extra height for parallax room */
  object-fit: cover;
  object-position: center 30%;
  will-change: transform;
  transform: translateZ(0);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(27,27,27,0.88) 0%,
    rgba(27,27,27,0.65) 55%,
    rgba(27,27,27,0.30) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding-top: var(--nav-h);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__title {
  font-size: var(--fs-hero);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero__sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,0.82);
  font-weight: 300;
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 2.25rem;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero__offer {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.78); /* was 0.58 – raised for WCAG AA contrast */
  font-weight: 300;
  margin-bottom: 0.75rem;
}

.hero__offer-tag {
  display: inline-block;
  background: rgba(110,15,31,0.35);
  border: 1px solid rgba(139,20,40,0.55);
  color: rgba(255,255,255,0.82);
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.18rem 0.65rem;
  border-radius: 100px;
}

.hero__region {
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.68); /* was 0.45 – raised for WCAG AA contrast */
  text-transform: uppercase;
  font-weight: 500;
}

.hero__scroll {
  position: absolute;
  bottom: 5.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.70); /* was 0.5 – raised for WCAG AA contrast */
  transition: color var(--transition), transform var(--transition);
  animation: bounce 2.2s ease-in-out infinite;
}
.hero__scroll:hover {
  color: rgba(255,255,255,0.9);
  transform: translateX(-50%) translateY(-3px);
  animation: none;
}
.hero__scroll svg {
  width: 26px;
  height: 26px;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}


/* ============================================================
   9. SERVICE CARDS
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--grey-light);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-card:hover .service-card__img img {
  transform: scale(1.06);
}

.service-card__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.service-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card__body {
  padding: 1.75rem;
  border-top: 3px solid transparent;
  transition: border-color var(--transition);
  position: relative;
}
.service-card:hover .service-card__body {
  border-top-color: var(--red);
}

.service-card__icon {
  width: 40px;
  height: 40px;
  color: var(--red);
  margin-bottom: 1rem;
}
.service-card__icon svg {
  width: 100%;
  height: 100%;
}
.service-card__icon--prefa {
  width: 48px;
  height: 48px;
  color: unset;
}
.service-card__icon--prefa img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 3px 12px rgba(0,0,0,0.15);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover .service-card__icon--prefa img {
  transform: scale(1.08);
  box-shadow: 0 6px 22px rgba(110,15,31,0.22);
}

.service-card__title {
  font-size: var(--fs-lg);
  font-weight: 800;
  color: var(--anthracite);
  margin-bottom: 0.6rem;
}

.service-card__text {
  font-size: var(--fs-sm);
  color: var(--grey-text);
  line-height: 1.65;
  margin-bottom: 0.75rem;
}

.service-card__list {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  list-style: none;
  padding: 0;
}

.service-card__list li {
  font-size: var(--fs-xs);
  color: var(--grey-text);
  padding-left: 1.1rem;
  position: relative;
}

.service-card__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}


/* ============================================================
   10. ÜBER UNS
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}

.about-image {
  position: relative;
}
.about-image__frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.about-image__frame::before,
.about-image__frame::after {
  content: '';
  position: absolute;
  z-index: 2;
  pointer-events: none;
}
.about-image__frame::before {
  top: -18px;
  left: -18px;
  width: 55%;
  height: 55%;
  border-top: 3px solid var(--red);
  border-left: 3px solid var(--red);
  border-radius: 4px 0 0 0;
}
.about-image__frame::after {
  bottom: -18px;
  right: -18px;
  width: 38%;
  height: 38%;
  border-bottom: 3px solid var(--red);
  border-right: 3px solid var(--red);
  border-radius: 0 0 4px 0;
}
.about-image__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-height: 580px;
}

.about-content .section-title {
  margin-bottom: 1.5rem;
}

.about-text {
  color: var(--grey-mid);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 1.25rem;
}

.about-quote {
  border-left: 3px solid var(--red);
  padding: 0.75rem 0 0.75rem 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: rgba(248,248,248,0.7);
  font-size: var(--fs-md);
  line-height: 1.6;
  font-weight: 300;
}

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(248,248,248,0.75);
}


/* ============================================================
   11. USP / WARUM WENK
   ============================================================ */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.usp-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  border: 1px solid var(--grey-light);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.usp-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.usp-card__icon {
  width: 42px;
  height: 42px;
  color: var(--red);
  margin-bottom: 1.25rem;
}
.usp-card__icon svg {
  width: 100%;
  height: 100%;
}

.usp-card__title {
  font-size: var(--fs-md);
  font-weight: 800;
  color: var(--anthracite);
  margin-bottom: 0.6rem;
}

.usp-card__text {
  font-size: var(--fs-sm);
  color: var(--grey-text);
  line-height: 1.65;
  font-weight: 400;
}


/* ============================================================
   12. EINSATZGEBIET
   ============================================================ */
.region-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}

.region-content .section-title {
  margin-bottom: 1.5rem;
}

.region-text {
  color: var(--grey-text);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 1rem;
}

.region-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.75rem;
}

.region-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: 100px;
  background: var(--grey-light);
  color: var(--anthracite);
  border: 1px solid #d4d4d4;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.region-tag:hover,
.region-tag--accent {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.region-visual {
  position: relative;
}
.region-visual__inner {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.region-visual__inner img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.region-visual__inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(27,27,27,0.55) 100%);
}

.region-visual__badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--red);
  color: #fff;
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 100px;
}
.region-visual__badge-icon {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
}
.region-visual__badge-icon svg {
  width: 100%;
  height: 100%;
}


/* ============================================================
   13. REFERENZEN / PROJEKTE
   ============================================================ */

/* Teaser on homepage */
.ref-teaser {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.ref-teaser__img {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.ref-teaser__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.ref-teaser__img:hover img {
  transform: scale(1.04);
}
.ref-teaser__cta {
  text-align: center;
}
@media (max-width: 640px) {
  .ref-teaser { grid-template-columns: 1fr; }
}

/* Full gallery on referenzen.html */
/* ── Gallery Grid (Instagram-style square) ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
}
.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 1/1;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
  display: block;
}
.gallery-item:hover img {
  transform: scale(1.06);
}
.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,20,20,.78) 0%, transparent 55%);
  opacity: 0;
  transition: opacity .3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
}
.gallery-item:hover .gallery-item__overlay {
  opacity: 1;
}
.gallery-item__type {
  font-family: var(--font-heading);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin-bottom: .25rem;
}
.gallery-item__title {
  font-family: var(--font-heading);
  font-size: .88rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}
/* Lightbox */
.lb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.lb-overlay.lb-open { display: flex; }
.lb-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 48px rgba(0,0,0,.6);
}
.lb-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  opacity: .7;
}
.lb-close:hover { opacity: 1; }
@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: .3rem; }
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 1.25rem;
}

.project-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}
.project-card--tall {
  grid-row: span 2;
}

.project-card__img {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.project-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.project-card:hover .project-card__img img {
  transform: scale(1.08);
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  background: linear-gradient(180deg, transparent 35%, rgba(22,22,22,0.88) 100%);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity var(--transition), transform var(--transition);
}
.project-card:hover .project-card__overlay {
  opacity: 1;
  transform: translateY(0);
}

/* Always show a slight gradient at bottom */
.project-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(22,22,22,0.55) 100%);
  pointer-events: none;
  transition: opacity var(--transition);
}
.project-card:hover::after {
  opacity: 0;
}

.project-card__type {
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-light);
  margin-bottom: 0.3rem;
}

.project-card__title {
  font-size: var(--fs-base);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}


/* ============================================================
   14. CTA SECTION
   ============================================================ */
.cta-section {
  position: relative;
  padding: var(--sp-xl) 0;
  overflow: hidden;
}

.cta-section__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  transform: translateZ(0);
}

.cta-section__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(20,20,20,0.92) 0%,
    rgba(20,20,20,0.78) 60%,
    rgba(110,15,31,0.55) 100%
  );
}

.cta-section__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-section__title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.cta-section__sub {
  font-size: var(--fs-md);
  color: rgba(255,255,255,0.75);
  font-weight: 300;
  line-height: 1.65;
  margin-bottom: 2.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}


/* ============================================================
   15. CONTACT SECTION
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

/* Contact info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-item__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-light);
  margin-top: 0.1rem;
}
.contact-item__icon svg {
  width: 20px;
  height: 20px;
}

.contact-item__label {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-bottom: 0.3rem;
}

.contact-item__value {
  display: block;
  font-size: var(--fs-md);
  color: var(--white);
  font-weight: 400;
  transition: color var(--transition);
}
a.contact-item__value:hover {
  color: var(--red-light);
}

.contact-trust {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
  color: rgba(248,248,248,0.65);
  font-size: var(--fs-sm);
  margin-top: 0.5rem;
}
.contact-trust svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--red-light);
}


.link-btn {
  color: var(--red-light);
  text-decoration: underline;
  font: inherit;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: inherit;
  line-height: inherit;
}
.link-btn:hover {
  color: #fff;
}


/* ============================================================
   16b. PAGE HERO (Unterseiten wie referenzen.html)
   ============================================================ */
.page-hero {
  background: var(--anthracite-2);
  padding: calc(var(--nav-h) + 3rem) 0 3rem;
}
.page-hero__inner {
  max-width: 720px;
}
.page-hero__back {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-heading);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 1.5rem;
  transition: color var(--transition);
}
.page-hero__back svg { width: 16px; height: 16px; }
.page-hero__back:hover { color: rgba(255,255,255,.9); }
.page-hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: #fff;
  margin: .5rem 0 1rem;
}
.page-hero__sub {
  font-size: 1rem;
  color: rgba(255,255,255,.65);
  font-weight: 300;
  line-height: 1.65;
  max-width: 580px;
}


/* ============================================================
   17. FOOTER
   ============================================================ */
.footer {
  background: var(--anthracite-2);
  padding: var(--sp-lg) 0 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--sp-md);
  padding-bottom: var(--sp-lg);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1rem;
}
.footer-logo-img {
  height: 52px;
  width: auto;
  display: block;
  /* frosted pill — matches nav logo treatment */
  background: rgba(255, 255, 255, 0.90);
  border-radius: 6px;
  padding: 5px 10px;
  transition: opacity var(--transition);
}
.footer-logo:hover .footer-logo-img {
  opacity: 0.85;
}

.footer-tagline {
  font-size: var(--fs-sm);
  color: var(--grey-mid);
  line-height: 1.65;
  font-weight: 300;
  max-width: 280px;
  margin-bottom: 1.25rem;
}

.footer-address {
  font-size: var(--fs-sm);
  color: var(--grey-mid);
  font-weight: 300;
  line-height: 1.7;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer-links a {
  font-size: var(--fs-sm);
  color: var(--grey-mid);
  font-weight: 300;
  transition: color var(--transition);
}
.footer-links a:hover {
  color: var(--white);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer-contact li {
  font-size: var(--fs-sm);
  color: var(--grey-mid);
  font-weight: 300;
}
.footer-contact a {
  color: var(--grey-mid);
  transition: color var(--transition);
}
.footer-contact a:hover {
  color: var(--white);
}

.footer-partner {
  display: flex;
  justify-content: center;
  padding: 2rem 0 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-partner-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity var(--transition);
}
.footer-partner-logo:hover {
  opacity: 1;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.3);
  font-weight: 300;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-link-btn {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.3);
  font-weight: 300;
  font-family: var(--font-body);
  transition: color var(--transition);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
.footer-link-btn:hover {
  color: rgba(255,255,255,0.7);
}




/* ============================================================
   19. SCROLL REVEAL ANIMATIONS
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal="left"] {
  transform: translateX(-40px);
}
[data-reveal="right"] {
  transform: translateX(40px);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger delays via data-delay */
[data-delay="0"]    { transition-delay: 0s; }
[data-delay="0.1"]  { transition-delay: 0.1s; }
[data-delay="0.15"] { transition-delay: 0.15s; }
[data-delay="0.2"]  { transition-delay: 0.2s; }
[data-delay="0.25"] { transition-delay: 0.25s; }
[data-delay="0.3"]  { transition-delay: 0.3s; }
[data-delay="0.35"] { transition-delay: 0.35s; }
[data-delay="0.45"] { transition-delay: 0.45s; }
[data-delay="0.55"] { transition-delay: 0.55s; }


/* ============================================================
   20. RESPONSIVE – TABLET (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  :root {
    --sp-xl: 5rem;
  }

  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .nav-toggle { display: flex; }

  /* Mobile menu slide-in */
  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--anthracite-2);
    padding: 2rem var(--pad);
    gap: 0;
    overflow-y: auto;
    z-index: 999;
    animation: slideDown 0.28s ease;
  }
  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: none; }
  }

  .nav-links.is-open .nav-link {
    font-size: var(--fs-base);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    display: block;
    letter-spacing: 0.08em;
  }
  .nav-links.is-open .nav-link::after {
    display: none;
  }
  .nav-links.is-open::after {
    content: '';
    display: block;
    padding: 1.5rem 0;
  }

  /* Inject CTA into mobile menu */
  .nav-links.is-open::before {
    content: '';
    display: block;
    height: 0.5rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .usp-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-col--brand {
    grid-column: 1 / -1;
  }
}


/* ============================================================
   21. RESPONSIVE – MOBILE (max 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --sp-xl: 4rem;
    --sp-lg: 3rem;
  }

  .hero__bg {
    top: 0;
    height: 100%;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-image__frame::before,
  .about-image__frame::after {
    display: none;
  }
  .about-image__frame img {
    max-height: 360px;
    border-radius: var(--radius-md);
  }

  .region-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .region-visual {
    order: -1;
  }
  .region-visual__inner img {
    height: 300px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .usp-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }
  .project-card--tall {
    grid-row: span 1;
  }
  .project-card__overlay {
    opacity: 1;
    transform: none;
  }
  .project-card::after {
    opacity: 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap {
    padding: 1.75rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ============================================================
   22. RESPONSIVE – SMALL MOBILE (max 480px)
   ============================================================ */
@media (max-width: 480px) {
  .hero__ctas {
    flex-direction: column;
  }
  .hero__ctas .btn {
    width: 100%;
    justify-content: center;
  }
  .btn--lg {
    padding: 0.9rem 1.5rem;
    font-size: var(--fs-sm);
  }
}


/* ============================================================
   23. ACCESSIBILITY & FOCUS
   ============================================================ */
:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Skip to content (screen readers) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Smooth image loading */
img {
  opacity: 1;
  transition: opacity 0.3s ease;
}
img.loading {
  opacity: 0;
}

/* ============================================================
   24. WHATSAPP CTA BLOCK
   ============================================================ */

/* WhatsApp button */
.btn--whatsapp {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
  font-size: var(--fs-base);
  gap: 0.65rem;
}
.btn--whatsapp:hover {
  background: #1ebe5a;
  border-color: #1ebe5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.35);
}
.btn--whatsapp svg {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
}

/* WA card wrapper */
.wa-cta-wrap {
  display: flex;
  align-items: stretch;
}

.wa-cta {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  transition: border-color var(--transition);
}
.wa-cta:hover {
  border-color: rgba(37,211,102,0.4);
}

.wa-cta__icon {
  width: 72px;
  height: 72px;
  color: #25D366;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 16px rgba(37,211,102,0.3));
}
.wa-cta__icon svg {
  width: 100%;
  height: 100%;
}

.wa-cta__title {
  font-size: var(--fs-xl);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.9rem;
  line-height: 1.2;
}

.wa-cta__text {
  font-size: var(--fs-base);
  color: var(--grey-mid);
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 2rem;
  max-width: 340px;
}

.wa-cta__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.75rem;
  margin-bottom: 1.75rem;
  width: 100%;
  text-align: left;
}
.wa-cta__features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-sm);
  color: rgba(248,248,248,0.65);
  font-weight: 300;
}
.wa-cta__features svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #25D366;
}

.wa-cta__privacy {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.28);
  line-height: 1.5;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  width: 100%;
  text-align: center;
}
.wa-cta__privacy .link-btn {
  color: rgba(255,255,255,0.42);
  font-size: inherit;
  text-decoration: underline;
}
.wa-cta__privacy .link-btn:hover {
  color: rgba(255,255,255,0.7);
}

/* Adjust contact grid when form is replaced by WA card */
@media (max-width: 768px) {
  .wa-cta {
    padding: 2rem 1.5rem;
  }
  .wa-cta__title {
    font-size: var(--fs-lg);
  }
}




/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .hero__bg {
    will-change: auto;
  }
}


/* ============================================================
   26. NAV LOGO IMAGE
   ============================================================ */
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  font-size: 0;
  /* frosted pill — preserves original logo colours on dark nav */
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 6px;
  padding: 5px 10px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.18);
  transition: background var(--transition), box-shadow var(--transition);
}

.nav-logo:hover {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 14px rgba(0,0,0,0.22);
}

.nav-logo-img {
  height: 42px;
  width: auto;
  display: block;
  max-width: 200px;
}

@media (max-width: 1024px) {
  .nav-logo-img {
    height: 36px;
  }
  .nav-logo {
    padding: 4px 8px;
  }
}




/* ============================================================
   27. STATS BAR
   ============================================================ */
.stats-bar {
  position: relative;
  z-index: 3;
  flex-shrink: 0;
  width: 100%;
  align-self: stretch;
  background: rgba(20,20,20,0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.4rem 0;
}
.stats-bar__grid {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  text-align: center;
  padding: 0.25rem 1rem;
}
.stat-item__number {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  color: var(--red-light);
  line-height: 1;
  margin-bottom: 0.3rem;
  letter-spacing: -0.03em;
}
.stat-item__label {
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
  align-self: center;
}
@media (max-width: 768px) {
  .stat-item { padding: 0.25rem 2rem; }
  .stat-divider { display: none; }
}


/* ============================================================
   28. SERVICE CARD NUMBER OVERLAY
   ============================================================ */
.services-grid {
  counter-reset: service-counter;
}

.service-card {
  counter-increment: service-counter;
}

.service-card__body::before {
  content: '0' counter(service-counter);
  position: absolute;
  top: 0.5rem;
  right: 1.25rem;
  font-family: var(--font-heading);
  font-size: 4.5rem;
  font-weight: 900;
  color: rgba(0,0,0,0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}


/* ============================================================
   29. GREY SECTION DOT TEXTURE
   ============================================================ */
.section--grey {
  background-image: radial-gradient(rgba(0,0,0,0.055) 1px, transparent 1px);
  background-size: 22px 22px;
}


/* ============================================================
   30. BUTTON SHIMMER EFFECT
   ============================================================ */
.btn--primary {
  position: relative;
  overflow: hidden;
}

.btn--primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,0.14) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  transition: left 0s;
  pointer-events: none;
}

.btn--primary:hover::before {
  left: 160%;
  transition: left 0.48s ease;
}


/* ============================================================
   31. USP CARD TOP ACCENT BAR
   ============================================================ */
.usp-card {
  position: relative;
  overflow: hidden;
}

.usp-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--red-light));
  transition: width 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

.usp-card:hover::before {
  width: 100%;
}


/* ============================================================
   32. HERO VERTICAL ACCENT LINE
   ============================================================ */
.hero__content {
  z-index: 3;
}

.hero__content::before {
  content: '';
  display: block;
  width: 3px;
  height: 56px;
  background: linear-gradient(180deg, var(--red-light), transparent);
  margin-bottom: 1.25rem;
  border-radius: 2px;
}


/* ============================================================
   33. HERO GRAIN OVERLAY
   ============================================================ */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  z-index: 2;
}


/* ============================================================
   34. PROJECT CARD BORDER GLOW
   ============================================================ */
.project-card__border {
  display: none; /* Using CSS pseudo-element instead */
}

.project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  z-index: 4;
  transition: border-color var(--transition);
  pointer-events: none;
}

.project-card:hover::before {
  border-color: rgba(139,20,40,0.55);
}


/* ============================================================
   35. SCROLLED HEADER ACCENT BORDER
   ============================================================ */
.header.scrolled {
  border-bottom: 1px solid rgba(139,20,40,0.18);
}


/* ============================================================
   36. ABOUT QUOTE DECORATIVE MARK
   ============================================================ */
.about-quote {
  position: relative;
}

.about-quote::before {
  content: '\201C';
  position: absolute;
  top: -1.75rem;
  left: 0.75rem;
  font-size: 5.5rem;
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--red);
  opacity: 0.22;
  line-height: 1;
  font-style: normal;
  pointer-events: none;
}


/* ============================================================
   37. FOOTER BRAND ACCENT
   ============================================================ */
.footer-col--brand {
  position: relative;
}

.footer-col--brand::after {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: var(--red);
  margin-top: 1.25rem;
  border-radius: 2px;
}


/* ============================================================
   38. CONTACT TRUST LEFT ACCENT
   ============================================================ */
.contact-trust {
  position: relative;
  padding-left: 1.5rem;
  overflow: visible;
}

.contact-trust::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--red);
  border-radius: 2px;
}


/* ============================================================
   39. SMOOTH SCROLL REVEAL TIMING
   ============================================================ */
[data-reveal] {
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}


/* ============================================================
   40. MOBILE MENU BACKDROP BLUR
   ============================================================ */
@media (max-width: 1024px) {
  .nav-links.is-open {
    background: rgba(22,22,22,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
}




/* ============================================================
   44. PROJECT CARD BADGES
   ============================================================ */
.project-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.6rem;
}

.project-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.7rem;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,0.25);
}

.project-badge--copper {
  background: rgba(184,115,51,0.8);
  border-color: rgba(184,115,51,0.6);
}


/* ============================================================
   45. COPPER ACCENT HELPERS
   ============================================================ */
.region-tag--accent {
  background: var(--copper);
  color: #fff;
  border-color: var(--copper);
}

/* ============================================================
   46. COOKIE CONSENT BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--anthracite-2);
  border-top: 3px solid var(--red);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.35);
}

.cookie-banner__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-banner__text {
  flex: 1 1 300px;
  color: var(--white);
}

.cookie-banner__text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--fs-base);
  color: #fff;
  margin-bottom: 0.35rem;
}

.cookie-banner__text p {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--grey-mid);
  line-height: 1.5;
}

.cookie-banner__link {
  background: none;
  border: none;
  padding: 0;
  color: var(--copper-light);
  font-size: inherit;
  cursor: pointer;
  text-decoration: underline;
  font-family: inherit;
}

.cookie-banner__link:hover {
  color: var(--copper);
}

.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-banner__btn {
  padding: 0.65rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.03em;
}

.cookie-banner__btn:hover {
  transform: translateY(-1px);
}

.cookie-banner__btn--accept {
  background: var(--red);
  color: #fff;
}

.cookie-banner__btn--accept:hover {
  background: var(--red-dark);
}

.cookie-banner__btn--decline {
  background: transparent;
  color: var(--grey-mid);
  border: 1px solid var(--grey-mid);
}

.cookie-banner__btn--decline:hover {
  border-color: var(--white);
  color: var(--white);
}

@media (max-width: 600px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .cookie-banner__actions {
    justify-content: stretch;
  }
  .cookie-banner__btn {
    flex: 1;
    text-align: center;
  }
}
