/* ==========================================================================
   YENİÇAĞ İNŞAAT GÜVENLİK AĞI — A+ SWISS ARCHITECTURAL SHOWCASE (insaatagi.com.tr)
   Modeled on berch.ch — Single Neo-Grotesque Typeface & High-Contrast Grid
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,300..600;1,14..32,300..500&display=swap');

:root {
  --bg-primary: #F7F6F2;
  --bg-elevated: #FFFFFF;
  --bg-muted: #EDEBE4;
  --bg-dark: #1B2432;
  --bg-dark-soft: #243042;
  --text-primary: #141922;
  --text-secondary: #4E5562;
  --text-muted: #767D8A;
  --text-inverse: #F7F6F2;
  --border-hairline: rgba(20, 25, 34, 0.14);
  --border-strong: #1B2432;
  --border-inverse: rgba(247, 246, 242, 0.22);
  --accent-signal: #E3000F;
  --accent-blue: #2774B9;

  /* Unified Swiss Neo-Grotesque Typeface System (berch.ch discipline) */
  --font-sans: 'Neue Haas Grotesk Display Pro', 'Neue Haas Grotesk Text Pro', 'Helvetica Now Display', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: var(--font-sans);

  --ease-berch: cubic-bezier(0.625, 0.05, 0, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

  /* Fluid root scaling modeled on berch.ch */
  --font-from: 16;
  --font-to: 18;
  --vw-from: calc(1440 / 100);
  --vw-to: calc(1920 / 100);
  --coefficient: calc((var(--font-to) - var(--font-from)) / (var(--vw-to) - var(--vw-from)));
  --base: calc((var(--font-from) - var(--vw-from) * var(--coefficient)) / 16);
}

@media screen and (max-width: 1440px) {
  :root {
    --font-from: 14.5;
    --font-to: 16;
    --vw-from: calc(479 / 100);
    --vw-to: calc(1440 / 100);
  }
}

@media screen and (max-width: 479px) {
  :root {
    --font-from: 14;
    --font-to: 15.5;
    --vw-from: calc(1 / 100);
    --vw-to: calc(479 / 100);
  }
}

/* Cross-Document View Transitions (modern-web-guidance: cross-document-transitions) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }

  ::view-transition-old(root) {
    animation: 0.42s var(--ease-berch) both page-fade-out;
  }

  ::view-transition-new(root) {
    animation: 0.52s var(--ease-out-expo) both page-fade-in;
  }
}

@keyframes page-fade-out {
  to {
    opacity: 0;
    transform: translateY(-0.65rem);
  }
}

@keyframes page-fade-in {
  from {
    opacity: 0;
    transform: translateY(0.65rem);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  font-size: calc(var(--base) * 1rem + var(--coefficient) * 1vw);
  font-family: var(--font-sans);
  font-optical-sizing: auto;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11", "ss01";
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  letter-spacing: -0.011em;
  text-rendering: optimizeLegibility;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  min-height: 100vh;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}

button {
  cursor: pointer;
}

*:focus-visible {
  outline: 2px solid var(--accent-signal);
  outline-offset: 3px;
}

/* ==========================================================================
   SWISS NEO-GROTESQUE TYPOGRAPHY & CONTAINERS (berch.ch Proportions)
   ========================================================================== */

.padding-global {
  padding-left: 3.2%;
  padding-right: 3.2%;
}

.container-large {
  width: 100%;
  max-width: 112rem;
  margin-left: auto;
  margin-right: auto;
}

.container-medium {
  width: 100%;
  max-width: 86rem;
  margin-left: auto;
  margin-right: auto;
}

.padding-section-large {
  padding-top: 7.5rem;
  padding-bottom: 7.5rem;
}

.padding-section-medium {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.padding-section-small {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.heading-style-h1 {
  font-size: clamp(2.4rem, 4.35vw, 4.55rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.034em;
  text-wrap: balance;
}

.heading-style-display {
  font-size: clamp(3.6rem, 7.6vw, 8.2rem);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}

.heading-style-h2 {
  font-size: clamp(1.85rem, 2.95vw, 3.15rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

.heading-style-h3 {
  font-size: clamp(1.42rem, 2.15vw, 2.25rem);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -0.022em;
}

.heading-style-h4 {
  font-size: clamp(1.18rem, 1.55vw, 1.62rem);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -0.018em;
}

.heading-style-h5 {
  font-size: clamp(1.06rem, 1.28vw, 1.32rem);
  font-weight: 400;
  line-height: 1.32;
  letter-spacing: -0.015em;
}

.text-style-allcaps {
  text-transform: uppercase;
  letter-spacing: 0.035em;
}

.text-style-tagline {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

.text-size-small {
  font-size: 0.92rem;
  line-height: 1.56;
  letter-spacing: -0.008em;
}

.text-size-tiny {
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.text-color-grey {
  color: var(--text-secondary);
}

.text-color-muted {
  color: var(--text-muted);
}

.font-mono-spec {
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.005em;
}

.max-width-xxlarge {
  max-width: 66rem;
}

.max-width-xlarge {
  max-width: 56rem;
}

.max-width-large {
  max-width: 44rem;
}

.max-width-medium {
  max-width: 34rem;
}

.max-width-xxsmall {
  max-width: 20rem;
}

.is-indent {
  text-indent: clamp(0rem, 11vw, 12rem);
}

/* ==========================================================================
   BERCH.CH UNDERLINE LINK MICRO-INTERACTION
   ========================================================================== */

[data-underline-link] {
  text-decoration: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding-bottom: 0.15rem;
}

[data-underline-link]::before,
[data-underline-link="alt"]::before,
[data-underline-link="alt"]::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transition: transform 0.735s var(--ease-berch);
  transform-origin: right;
  transform: scaleX(0) rotate(0.001deg);
}

[data-underline-link="alt"]::before {
  transform-origin: left;
  transform: scaleX(1) rotate(0.001deg);
  transition-delay: 0.25s;
}

[data-underline-link="alt"]::after {
  transform-origin: right;
  transform: scaleX(0) rotate(0.001deg);
  transition-delay: 0s;
}

@media (hover: hover) and (pointer: fine) {
  [data-hover]:hover [data-underline-link]::before,
  [data-underline-link]:hover::before {
    transform-origin: left;
    transform: scaleX(1) rotate(0.001deg);
  }

  [data-hover]:hover [data-underline-link="alt"]::before,
  [data-underline-link="alt"]:hover::before {
    transform-origin: right;
    transform: scaleX(0) rotate(0.001deg);
    transition-delay: 0s;
  }

  [data-hover]:hover [data-underline-link="alt"]::after,
  [data-underline-link="alt"]:hover::after {
    transform-origin: left;
    transform: scaleX(1) rotate(0.001deg);
    transition-delay: 0.25s;
  }
}

/* ==========================================================================
   ARCHITECTURAL DIVIDERS & DIAGONAL VECTORS
   ========================================================================== */

.divider-horizontal {
  width: 100%;
  height: 1px;
  background-color: var(--border-hairline);
}

.divider-horizontal.is-strong {
  background-color: var(--border-strong);
}

.divider-horizontal.spacing {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.diagonal-line {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.diagonal-line svg {
  width: 100%;
  height: 100%;
  display: block;
}

.diagonal-line line {
  stroke: var(--border-hairline);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

/* ==========================================================================
   HIGH-CONTRAST ARCHITECTURAL HEADER NAVBAR
   - At top over Hero: 100% transparent, pure white text + yenicag-logo-light.svg
   - On scroll (.is-scrolled): Pure white (#FFFFFF) surface, deep black text + yenicag-logo.svg
   ========================================================================== */

.navbar {
  color: #FFFFFF;
  background-color: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  padding: 1.25rem 3.2%;
  font-size: 0.84rem;
  line-height: 1.38;
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  transition:
    padding 0.4s var(--ease-out-expo),
    background-color 0.4s var(--ease-out-expo),
    color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.4s ease;
}

.navbar.is-scrolled {
  color: var(--text-primary);
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(11, 13, 16, 0.1);
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  box-shadow: 0 12px 36px rgba(11, 13, 16, 0.06);
}

.navbar_container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  max-width: 112rem;
  margin: 0 auto;
  gap: 2.5rem;
}

.navbar.is-scrolled .navbar_container {
  align-items: center;
}

.navbar_brand {
  display: inline-flex;
  align-items: center;
  min-width: 12.5rem;
  position: relative;
  background-color: #FFFFFF;
  padding: 0.45rem 0.95rem;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 28px rgba(10, 14, 22, 0.28);
  transition:
    background-color 0.35s var(--ease-out-expo),
    padding 0.35s var(--ease-out-expo),
    box-shadow 0.35s var(--ease-out-expo),
    border-color 0.35s ease;
}

.navbar.is-scrolled .navbar_brand {
  background-color: transparent;
  padding: 0.1rem 0;
  border-color: transparent;
  box-shadow: none;
}

.navbar_logo {
  height: 2.75rem;
  width: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.3s var(--ease-out-expo), opacity 0.25s ease;
}

.navbar_logo--light {
  display: none;
}

.navbar_logo--dark {
  display: block;
}

.navbar.is-scrolled .navbar_logo--light {
  display: none;
}

.navbar.is-scrolled .navbar_logo--dark {
  display: block;
}

.navbar_brand:hover .navbar_logo {
  transform: scale(1.015);
}

.navbar_menu {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex: 1;
  max-width: 68rem;
  gap: 3rem;
}

.navbar_link-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.18rem;
}

.navbar_meta-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.72;
}

.navbar_content {
  display: flex;
  align-items: flex-start;
  gap: clamp(2.5rem, 5.5vw, 6rem);
}

.navbar_link {
  padding: 0.08rem 0;
  transition: opacity 0.25s ease, color 0.25s ease;
  position: relative;
  font-weight: 400;
}

.navbar_link:hover {
  opacity: 0.68;
}

.navbar.is-scrolled .navbar_link:hover {
  opacity: 1;
  color: var(--accent-signal);
}

.navbar_link.is-active {
  font-weight: 500;
}

.navbar_link.is-active::after {
  content: "";
  position: absolute;
  left: -0.65rem;
  top: 50%;
  width: 0.32rem;
  height: 0.32rem;
  background-color: currentColor;
  transform: translateY(-50%);
}

.navbar.is-scrolled .navbar_link.is-active::after {
  background-color: var(--accent-signal);
}

.menu-button {
  display: none;
  color: currentColor;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.48rem 0.9rem;
  border: 1px solid currentColor;
}

/* Mobile Fullscreen Menu Drawer */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background-color: var(--bg-dark);
  color: var(--text-inverse);
  z-index: 85;
  padding: 6.5rem 3.2% 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-2%);
  transition: opacity 0.4s var(--ease-out-expo), transform 0.4s var(--ease-out-expo);
}

.mobile-nav-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-link {
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.025em;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-inverse);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ==========================================================================
   HERO SECTION (section_hero — Monumental Full-Bleed Architectural Slider)
   ========================================================================== */

.section_hero {
  position: relative;
  width: 100%;
  height: 95svh;
  min-height: 40rem;
  max-height: 70rem;
  background-color: var(--bg-dark);
  color: #FFFFFF;
  overflow: hidden;
}

.section_hero.is-subpage {
  height: 74svh;
  min-height: 29rem;
  max-height: 48rem;
}

.hero_instance {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero_list {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero_slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.35s var(--ease-berch);
  z-index: 0;
}

.hero_slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero_slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.05);
  transition: transform 7.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero_slide.is-active img {
  transform: scale(1);
}

/* Multi-stop architectural gradient scrim ensuring crystal-clear white header & headline contrast */
.hero_overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(8, 10, 14, 0.68) 0%,
    rgba(8, 10, 14, 0.26) 24%,
    rgba(8, 10, 14, 0.18) 54%,
    rgba(8, 10, 14, 0.78) 100%
  );
  pointer-events: none;
}

.hero_container {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 4.5rem;
}

.hero_kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.15rem;
}

.hero_kicker-dot {
  width: 0.42rem;
  height: 0.42rem;
  background-color: var(--accent-signal);
  display: inline-block;
}

.hero_bottom-bar {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 4;
  padding: 0 3.2% 1.35rem;
}

.hero_bottom-inner {
  max-width: 112rem;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.hero_slide-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
  font-variant-numeric: tabular-nums;
}

.hero_controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero_progress-track {
  width: 9rem;
  height: 1.5px;
  background-color: rgba(255, 255, 255, 0.24);
  position: relative;
  overflow: hidden;
}

.hero_progress-bar {
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  background-color: #FFFFFF;
  transform-origin: left;
  transform: scaleX(0);
}

.hero_Progress-anim {
  transition: transform 5.5s linear;
  transform: scaleX(1);
}

.hero_dots {
  display: flex;
  gap: 0.35rem;
}

.hero_dot {
  width: 1.8rem;
  height: 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.hero_dot.is-active,
.hero_dot:hover {
  background-color: #FFFFFF;
  color: var(--bg-dark);
  border-color: #FFFFFF;
}

/* ==========================================================================
   TAGLINE HEADER & INTRO BLUEPRINT GRID (section_intro — berch.ch)
   ========================================================================== */

.tagline_wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3rem;
  gap: 1.5rem;
}

.tagline_right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 0.2rem;
}

.is-tagline-muted {
  color: var(--text-muted);
}

.intro_grid-wrap {
  display: flex;
  flex-direction: column;
  margin-top: 4.5rem;
}

.intro_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  min-height: 16.5rem;
}

.divider-vertical {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background-color: var(--border-hairline);
  pointer-events: none;
}

.intro_child {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 2rem 2.25rem;
  gap: 3rem;
  position: relative;
}

.intro_top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  gap: 2rem;
  flex-wrap: wrap;
}

.intro_child-divider-diagonal {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 14rem;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 1.5rem 2rem;
}

.content-grid {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 4vw;
  align-items: start;
}

/* ==========================================================================
   PROJEKTE-STYLE PRODUCT & SYSTEM INDEX (section_projekte — berch.ch)
   ========================================================================== */

.projekte_intro-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.projekte-list_list {
  width: 100%;
  position: relative;
}

.projekte-list_item {
  width: 100%;
  position: relative;
}

.projekte-list_link {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.5rem;
  align-items: center;
  width: 100%;
  padding: 1.65rem 0;
  text-align: left;
  position: relative;
  transition: padding-left 0.35s var(--ease-out-expo), background-color 0.25s ease;
  cursor: pointer;
}

.projekte-list_top {
  display: flex;
  align-items: baseline;
  gap: 1.35rem;
}

.projekte-list_index {
  font-size: 0.78rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
  min-width: 1.85rem;
}

.projekte-list_wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}

.projekte-list_details {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.projekte-list_tag {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-primary);
}

.projekte-list_spec {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.projekte-list_cta {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-primary);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Floating 3:2 image preview on row hover (exact berch.ch pattern) */
.projekte-list_image-wrap {
  aspect-ratio: 3 / 2;
  pointer-events: none;
  width: 21rem;
  position: absolute;
  top: 50%;
  right: 11rem;
  z-index: 25;
  overflow: hidden;
  opacity: 0;
  box-shadow: 0 24px 52px -12px rgba(11, 13, 16, 0.26);
  border: 1px solid var(--border-strong);
  background-color: var(--bg-dark);
  transform: translate3d(0, -44%, 0) scale3d(0.94, 0.94, 1);
  transition: opacity 0.38s var(--ease-out-expo), transform 0.42s var(--ease-out-expo);
}

.projekte-list_image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 0.65s var(--ease-out-expo);
}

@media (hover: hover) and (pointer: fine) {
  .projekte-list_link:hover {
    padding-left: 0.65rem;
  }

  .projekte-list_link:hover .heading-style-h5 {
    color: var(--accent-signal);
  }

  .projekte-list_link:hover .projekte-list_image-wrap {
    opacity: 1;
    transform: translate3d(0, -50%, 0) scale3d(1, 1, 1);
  }

  .projekte-list_link:hover .projekte-list_image {
    transform: scale(1);
  }
}

/* ==========================================================================
   SPLIT EDITORIAL SERVICES SECTION (section_leistungen — berch.ch)
   ========================================================================== */

.section_leistungen {
  background-color: var(--bg-elevated);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}

.leistungen_grid {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 5vw;
  align-items: start;
}

.leistungen_preview {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 6.5rem;
}

.leistungen_preview-frame {
  aspect-ratio: 4 / 3;
  width: 100%;
  overflow: hidden;
  background-color: var(--bg-muted);
  border: 1px solid var(--border-hairline);
}

.leistungen_preview-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease, transform 0.7s var(--ease-out-expo);
}

.leistungen_list {
  display: flex;
  flex-direction: column;
}

.leistungen_item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem 0;
  transition: padding-left 0.3s var(--ease-out-expo);
}

.leistungen_item:hover {
  padding-left: 0.5rem;
}

.leistungen_item:hover .heading-style-h3 {
  color: var(--accent-signal);
}

.leistungen_item-left {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  max-width: 36rem;
}

.leistungen_points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  width: 100%;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--border-hairline);
}

/* ==========================================================================
   ASYMMETRIC LEISTUNGEN / HAKKIMIZDA BLOCKS (berch.ch /leistungen)
   ========================================================================== */

.leistungen-list_row {
  padding: 3.5rem 0;
}

.leistungen-list_content {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 5vw;
  align-items: center;
}

.leistungen-list_content.is-reverse {
  grid-template-columns: 1.15fr 1fr;
}

.leistungen-list_media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--bg-muted);
  border: 1px solid var(--border-hairline);
}

.leistungen-list_media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leistungen-list_copy {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

/* ==========================================================================
   EDITORIAL TECHNICAL HIGHLIGHTS (section_aktuelles — berch.ch)
   ========================================================================== */

.aktuelles_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5vw;
  align-items: start;
}

.aktuelles_card {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.aktuelles_img-wrap {
  aspect-ratio: 16 / 10;
  width: 100%;
  overflow: hidden;
  background-color: var(--bg-muted);
  border: 1px solid var(--border-hairline);
}

.aktuelles_img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-out-expo);
}

.aktuelles_card:hover .aktuelles_img-wrap img {
  transform: scale(1.03);
}

.aktuelles_meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border-hairline);
}

/* ==========================================================================
   ARCHITECTURAL QUOTE BAND & CONTACT PAGE (section_quote & section_contact)
   ========================================================================== */

.section_quote {
  background-color: var(--bg-dark);
  color: var(--text-inverse);
}

.contact_strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  background-color: var(--bg-elevated);
}

.contact_card {
  padding: 2.5rem 2.25rem;
  border-right: 1px solid var(--border-hairline);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}

.contact_card:last-child {
  border-right: none;
}

.form_grid {
  display: grid;
  grid-template-columns: 0.9fr 1.25fr;
  gap: 5vw;
  align-items: start;
}

.form_fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form_group {
  display: flex;
  flex-direction: column;
}

.form_group.is-full {
  grid-column: 1 / -1;
}

.form_label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  color: rgba(247, 246, 242, 0.68);
  margin-bottom: 0.45rem;
}

.form_input,
.form_select,
.form_textarea {
  width: 100%;
  border: 1px solid rgba(247, 246, 242, 0.22);
  background-color: rgba(255, 255, 255, 0.04);
  min-height: 3.1rem;
  padding: 0.8rem 1rem;
  color: #FFFFFF;
  font-size: 0.92rem;
  border-radius: 0;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form_select option {
  background-color: var(--bg-dark);
  color: #FFFFFF;
}

.form_input::placeholder,
.form_textarea::placeholder {
  color: rgba(247, 246, 242, 0.38);
}

.form_input:focus,
.form_select:focus,
.form_textarea:focus {
  border-color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.08);
  outline: none;
}

.form_textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background-color: #FFFFFF;
  color: var(--bg-dark);
  border: 1px solid #FFFFFF;
  padding: 0.95rem 1.75rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.button-primary:hover {
  background-color: var(--accent-signal);
  border-color: var(--accent-signal);
  color: #FFFFFF;
}

.form_status {
  grid-column: 1 / -1;
  display: none;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(247, 246, 242, 0.3);
  background-color: rgba(255, 255, 255, 0.06);
  font-size: 0.88rem;
  line-height: 1.5;
}

.form_status.is-visible {
  display: block;
}

/* ==========================================================================
   SWISS COLUMNAR FOOTER (footer)
   ========================================================================== */

.footer {
  background-color: var(--bg-elevated);
  color: var(--text-primary);
  border-top: 1px solid var(--border-hairline);
  padding: 5rem 0 2.5rem;
}

.footer_container {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 3rem;
  align-items: start;
}

.footer_column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}

.footer_label {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.footer_link {
  font-size: 0.9rem;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer_link:hover {
  color: var(--accent-signal);
}

.footer_logo {
  height: 2.85rem;
  width: auto;
  object-fit: contain;
  margin-bottom: 0.75rem;
}

.footer_bottom {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   TOP-LAYER PRODUCT SPECIFICATION DRAWER (<dialog closedby="any">)
   modern-web-guidance: light-dismiss-a-dialog & animate-to-from-top-layer
   ========================================================================== */

dialog.spec-drawer {
  margin: 0 0 0 auto;
  width: min(46rem, 100vw);
  height: 100dvh;
  max-height: 100dvh;
  border: none;
  border-left: 1px solid var(--border-strong);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  padding: 0;
  overflow-y: auto;
  opacity: 0;
  transform: translateX(3rem);
  transition-property: opacity, transform, display, overlay;
  transition-duration: 0.38s;
  transition-timing-function: var(--ease-out-expo);
  transition-behavior: allow-discrete;
}

dialog.spec-drawer::backdrop {
  background-color: rgb(11 13 16 / 0);
  backdrop-filter: blur(0px);
  transition-property: background-color, backdrop-filter, display, overlay;
  transition-duration: 0.38s;
  transition-timing-function: var(--ease-out-expo);
  transition-behavior: allow-discrete;
}

:is(dialog.spec-drawer[open]):where(:not([data-closing])) {
  opacity: 1;
  transform: translateX(0);

  @starting-style {
    opacity: 0;
    transform: translateX(3rem);
  }

  &::backdrop {
    background-color: rgb(11 13 16 / 0.62);
    backdrop-filter: blur(3px);

    @starting-style {
      background-color: rgb(11 13 16 / 0);
      backdrop-filter: blur(0px);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  dialog.spec-drawer {
    transform: none;
    transition-duration: 0.12s;
  }

  @starting-style {
    dialog.spec-drawer[open] {
      transform: none;
    }
  }
}

.drawer_inner {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.85rem;
}

.drawer_header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-hairline);
}

.drawer_close {
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--border-strong);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.drawer_close:hover {
  background-color: var(--text-primary);
  color: var(--bg-primary);
}

.drawer_hero-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--border-hairline);
}

.drawer_gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
  margin-top: -0.95rem;
}

.drawer_gallery:empty {
  display: none;
}

.drawer_thumb {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border-hairline);
  overflow: hidden;
  padding: 0;
  background-color: var(--bg-muted);
  cursor: pointer;
  opacity: 0.65;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.drawer_thumb:hover,
.drawer_thumb.is-active {
  opacity: 1;
  border-color: var(--accent-signal);
}

.drawer_thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drawer_specs {
  width: 100%;
  border-collapse: collapse;
}

.drawer_specs tr {
  border-bottom: 1px solid var(--border-hairline);
}

.drawer_specs th,
.drawer_specs td {
  padding: 0.75rem 0;
  text-align: left;
  font-size: 0.88rem;
  vertical-align: top;
}

.drawer_specs th {
  width: 38%;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding-right: 1rem;
}

.drawer_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.drawer_tag {
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--border-hairline);
  font-size: 0.8rem;
  background-color: var(--bg-elevated);
}

.drawer_actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

.button-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 1.4rem;
  border: 1px solid var(--border-strong);
  background-color: var(--bg-elevated);
  color: var(--text-primary);
  font-size: 0.76rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  text-align: center;
}

.button-outline:hover {
  background-color: var(--text-primary);
  color: var(--bg-primary);
}

/* ==========================================================================
   CORPORATE REFERENCES GRID (insaatguvenlikagi.com Verified Clients)
   ========================================================================== */

.references_grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-top: 1px solid var(--border-hairline);
  border-left: 1px solid var(--border-hairline);
}

.reference_card {
  border-right: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  padding: 1.5rem 1.15rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background-color: var(--bg-elevated);
  transition: background-color 0.25s ease;
  min-height: 6.75rem;
}

.reference_card:hover {
  background-color: var(--bg-primary);
}

.reference_logo {
  max-height: 2.35rem;
  max-width: 7.5rem;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) contrast(1.08);
  opacity: 0.78;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.reference_card:hover .reference_logo {
  filter: grayscale(0%) contrast(1);
  opacity: 1;
  transform: scale(1.05);
}

.reference_sector {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
}

/* ==========================================================================
   SCROLL-DRIVEN & INTERSECTION REVEAL ANIMATIONS
   modern-web-guidance: scroll-entry-exit-effects & motion
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 1.5rem, 0);
  transition:
    opacity 0.85s var(--ease-out-expo),
    transform 0.85s var(--ease-out-expo);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Tablet & Mobile)
   ========================================================================== */

@media screen and (max-width: 991px) {
  .navbar_menu {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .padding-section-large {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .content-grid,
  .leistungen_grid,
  .aktuelles_grid,
  .leistungen-list_content,
  .leistungen-list_content.is-reverse,
  .form_grid,
  .projekte-list_link {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .leistungen_preview {
    position: static;
  }

  .projekte-list_image-wrap {
    display: none;
  }

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

  .references_grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .contact_card {
    border-right: none;
    border-bottom: 1px solid var(--border-hairline);
  }
}

@media screen and (max-width: 767px) {
  .intro_grid {
    grid-template-columns: 1fr;
  }

  .divider-vertical {
    display: none;
  }

  .intro_child-divider-diagonal {
    min-height: 6rem;
    border-bottom: 1px solid var(--border-hairline);
  }

  .projekte-list_wrap {
    justify-content: space-between;
    width: 100%;
    padding-left: 3.1rem;
  }

  .form_fields,
  .footer_container,
  .leistungen_points,
  .drawer_actions {
    grid-template-columns: 1fr;
  }

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

  .hero_bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .is-indent {
    text-indent: 0;
  }

  .drawer_inner {
    padding: 1.5rem;
  }
}
