/* ===========================
   ESR Studio — Website Styles
   =========================== */

/* ===========================
   Custom Properties
   =========================== */
:root {
  --pine:         #1A3A2A;
  --deep-pine:    #0D241A;
  --gold:         #C9A84C;
  --antique-gold: #9E7D2E;
  --ivory:        #F7F4EC;
  --mist-green:   #DDE6DD;
  --graphite:     #5F675F;
  --white:        #FFFFFF;

  --font-headline: 'Space Grotesk', Arial, sans-serif;
  --font-body:     'Inter', Arial, sans-serif;
  --font-ui:       'Manrope', Arial, sans-serif;

  --max-width:     1200px;
  --gutter:        clamp(24px, 5vw, 72px);
  --section-gap:   clamp(80px, 10vw, 140px);
  --nav-height:    76px;

  --ease:     cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --duration: 0.4s;
}

/* ===========================
   Reset & Base
   =========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--pine);
  background-color: var(--ivory);
}

img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

/* ===========================
   Typography
   =========================== */
h1, h2, h3, h4 {
  font-family: var(--font-headline);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.6rem, 5.5vw, 5rem); }
h2 { font-size: clamp(2rem,   3.5vw, 3.2rem); }
h3 { font-size: clamp(1.2rem, 2vw,   1.625rem); }

p {
  color: var(--graphite);
  line-height: 1.72;
}

/* ===========================
   Layout
   =========================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

/* ===========================
   Viewfinder Corner Helper
   =========================== */
.vf-corners {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.vf-corners::before,
.vf-corners::after {
  content: '';
  position: absolute;
  width: 36px;
  height: 36px;
}

/* 4-corner trick via box-shadow on a single el */
.vf-corners-el {
  position: absolute;
  inset: 28px;
  pointer-events: none;
  z-index: 1;
}

.vf-corners-el--white {
  background:
    linear-gradient(rgba(255,255,255,.18), rgba(255,255,255,.18)) top    left  / 36px 1px  no-repeat,
    linear-gradient(rgba(255,255,255,.18), rgba(255,255,255,.18)) top    left  / 1px  36px no-repeat,
    linear-gradient(rgba(255,255,255,.18), rgba(255,255,255,.18)) top    right / 36px 1px  no-repeat,
    linear-gradient(rgba(255,255,255,.18), rgba(255,255,255,.18)) top    right / 1px  36px no-repeat,
    linear-gradient(rgba(255,255,255,.18), rgba(255,255,255,.18)) bottom left  / 36px 1px  no-repeat,
    linear-gradient(rgba(255,255,255,.18), rgba(255,255,255,.18)) bottom left  / 1px  36px no-repeat,
    linear-gradient(rgba(255,255,255,.18), rgba(255,255,255,.18)) bottom right / 36px 1px  no-repeat,
    linear-gradient(rgba(255,255,255,.18), rgba(255,255,255,.18)) bottom right / 1px  36px no-repeat;
}

.vf-corners-el--pine {
  background:
    linear-gradient(rgba(26,58,42,.15), rgba(26,58,42,.15)) top    left  / 28px 1px  no-repeat,
    linear-gradient(rgba(26,58,42,.15), rgba(26,58,42,.15)) top    left  / 1px  28px no-repeat,
    linear-gradient(rgba(26,58,42,.15), rgba(26,58,42,.15)) top    right / 28px 1px  no-repeat,
    linear-gradient(rgba(26,58,42,.15), rgba(26,58,42,.15)) top    right / 1px  28px no-repeat,
    linear-gradient(rgba(26,58,42,.15), rgba(26,58,42,.15)) bottom left  / 28px 1px  no-repeat,
    linear-gradient(rgba(26,58,42,.15), rgba(26,58,42,.15)) bottom left  / 1px  28px no-repeat,
    linear-gradient(rgba(26,58,42,.15), rgba(26,58,42,.15)) bottom right / 28px 1px  no-repeat,
    linear-gradient(rgba(26,58,42,.15), rgba(26,58,42,.15)) bottom right / 1px  28px no-repeat;
}

/* ===========================
   Gold Dot
   =========================== */
.gold-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #EDD47A, #C9A84C 55%, #8A6A20);
  flex-shrink: 0;
}

/* ===========================
   Buttons
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 3px;
  transition: background var(--duration) var(--ease),
              color var(--duration) var(--ease),
              border-color var(--duration) var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
  line-height: 1;
}

/* Primary — dark background version */
.btn--primary {
  background: var(--pine);
  color: var(--white);
  border-color: var(--pine);
}
.btn--primary:hover {
  background: var(--deep-pine);
  border-color: var(--deep-pine);
}
.btn--primary .gold-dot { margin-left: 4px; }

/* Outline on dark bg */
.btn--outline {
  background: transparent;
  color: rgba(255,255,255,.85);
  border-color: rgba(255,255,255,.32);
}
.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Outline on light bg */
.btn--outline-dark {
  background: transparent;
  color: var(--pine);
  border-color: rgba(26,58,42,.3);
}
.btn--outline-dark:hover {
  border-color: var(--antique-gold);
  color: var(--antique-gold);
}

/* ===========================
   Navigation
   =========================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  transition: background var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

.nav--transparent { background: transparent; }

.nav--solid {
  background: rgba(13,36,26,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,.25);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Logo switching */
.nav__logo-link {
  display: flex;
  align-items: center;
  height: 72px;
  flex-shrink: 0;
}

.nav__logo-link img {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}

.logo { display: block; }

/* Nav links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__link {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,.8);
  position: relative;
  transition: color var(--duration) var(--ease);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--duration) var(--ease);
}

.nav__link:hover::after,
.nav__link.active::after { width: 100%; }

.nav__link:hover { color: var(--white); }

/* Nav CTA */
.nav__cta {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 3px;
  border: 1px solid transparent;
  transition: all var(--duration) var(--ease);
}

.nav__cta {
  border-color: rgba(255,255,255,.3);
  color: rgba(255,255,255,.85);
}
.nav__cta:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Mobile toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  /* 44×44 Tippfläche, das Symbol bleibt optisch am rechten Rand */
  width: 44px;
  height: 44px;
  margin-right: -11px;
  cursor: pointer;
  padding: 0;
  background: none;
  border: none;
  -webkit-tap-highlight-color: transparent;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: rgba(255,255,255,.85);
  transition: all .3s;
}

/* Mobile full-screen menu */
.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--deep-pine);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  overflow: hidden;
}

.nav__mobile.open { display: flex; }

.nav__mobile::before {
  content: '';
  position: absolute;
  inset: 24px;
  background:
    linear-gradient(rgba(255,255,255,.06), rgba(255,255,255,.06)) top    left  / 32px 1px  no-repeat,
    linear-gradient(rgba(255,255,255,.06), rgba(255,255,255,.06)) top    left  / 1px  32px no-repeat,
    linear-gradient(rgba(255,255,255,.06), rgba(255,255,255,.06)) top    right / 32px 1px  no-repeat,
    linear-gradient(rgba(255,255,255,.06), rgba(255,255,255,.06)) top    right / 1px  32px no-repeat,
    linear-gradient(rgba(255,255,255,.06), rgba(255,255,255,.06)) bottom left  / 32px 1px  no-repeat,
    linear-gradient(rgba(255,255,255,.06), rgba(255,255,255,.06)) bottom left  / 1px  32px no-repeat,
    linear-gradient(rgba(255,255,255,.06), rgba(255,255,255,.06)) bottom right / 32px 1px  no-repeat,
    linear-gradient(rgba(255,255,255,.06), rgba(255,255,255,.06)) bottom right / 1px  32px no-repeat;
  pointer-events: none;
}

.nav__mobile-link {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  transition: color .3s;
  position: relative;
  z-index: 1;
}
.nav__mobile-link:hover { color: var(--gold); }

.nav__mobile-close {
  position: absolute;
  top: 12px;
  right: calc(var(--gutter) - 12px);
  /* 44×44 Tippfläche */
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: none;
  color: rgba(255,255,255,.5);
  font-size: 20px;
  cursor: pointer;
  z-index: 201;
  transition: color .3s;
  line-height: 1;
}
.nav__mobile-close:hover { color: var(--white); }

/* ===========================
   Hero Section
   =========================== */
.hero {
  min-height: 100svh;
  background-color: var(--deep-pine);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: .45;
  overflow: hidden;
}

.hero__video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.hero__grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: .025;
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 75% 25%, rgba(26,58,42,.7) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 10% 85%, rgba(201,168,76,.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding-top: var(--nav-height);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 36px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 28px;
  line-height: 1.06;
}

.hero__sub {
  font-size: clamp(.95rem, 1.5vw, 1.125rem);
  color: rgba(255,255,255,.58);
  max-width: 540px;
  margin-bottom: 52px;
  line-height: 1.72;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__scroll {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: .35;
  transition: opacity .3s;
}
.hero__scroll:hover { opacity: .7; }

.hero__scroll-track {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,.6));
  animation: scrollPulse 2.2s ease-in-out infinite;
}

.hero__scroll-label {
  font-family: var(--font-ui);
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}

@keyframes scrollPulse {
  0%, 100% { opacity: .3; transform: scaleY(1.0) translateY(0); }
  60%       { opacity: .9; transform: scaleY(.85) translateY(4px); }
}

/* ===========================
   Section Labels
   =========================== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--graphite);
  margin-bottom: 16px;
}

.section-label--light {
  color: rgba(255,255,255,.4);
}

.section-label--gold { color: var(--gold); }

/* ===========================
   Values / Process Preview
   =========================== */
.values {
  background: var(--ivory);
}

.values__head {
  margin-bottom: 64px;
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid rgba(26,58,42,.09);
  border-radius: 6px;
  overflow: hidden;
  background: rgba(26,58,42,.06);
  gap: 1px;
}

.value-card {
  background: var(--white);
  padding: 52px 40px;
  transition: background var(--duration) var(--ease);
}
.value-card:hover { background: var(--mist-green); }

.value-card__num {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--gold);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.value-card__num::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.value-card h3 {
  color: var(--pine);
  margin-bottom: 14px;
}

.value-card p {
  font-size: .9375rem;
  line-height: 1.68;
}

/* ===========================
   Work Grid
   =========================== */
.work-section { background: var(--mist-green); }

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
  gap: 20px;
}

.section-header__left h2 { margin-bottom: 0; }

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  background: rgba(13,36,26,.25);
  border-radius: 6px;
  overflow: hidden;
}

.work-grid .work-card:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 21 / 9;
}

/* Full grid on work.html */
.work-grid--full {
  grid-template-columns: repeat(2, 1fr);
}
.work-grid--full .work-card:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 21 / 9;
}

.work-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  cursor: pointer;
  background: var(--deep-pine);
}

.work-card__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--pine) 0%, var(--deep-pine) 100%);
  transition: transform .8s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-card:hover .work-card__placeholder { transform: scale(1.04); }

.work-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
  display: block;
}
.work-card:hover .work-card__img { transform: scale(1.04); }

.work-card__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transition: transform .8s var(--ease);
}
.work-card:hover .work-card__video { transform: scale(1.04); }
.work-card__video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.work-card--portrait {
  aspect-ratio: 9 / 16;
}

.work-card__placeholder-bg {
  position: absolute;
  inset: 0;
  background: #0d1a13;
  border: 1px dashed rgba(201,168,76,.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(201,168,76,.5);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.work-card__play {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(201,168,76,.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .45;
  transition: opacity .4s, transform .4s;
}
.work-card:hover .work-card__play {
  opacity: .9;
  transform: scale(1.08);
}

/* Touch play button — injected by JS on touch devices, visible on all screen sizes */
.work-card__play-touch {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(13,36,26,.45);
  border: 2px solid rgba(201,168,76,.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  pointer-events: none;
  transition: opacity .35s, transform .35s;
  animation: tap-pulse 2.4s ease-in-out infinite;
}
@keyframes tap-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,168,76,.45); }
  55%       { box-shadow: 0 0 0 14px rgba(201,168,76,0); }
}
.work-card--active .work-card__play-touch {
  opacity: 0;
  transform: translate(-50%, -50%) scale(.8);
}
.work-card__sound-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(13,36,26,.55);
  border: 1.5px solid rgba(201,168,76,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
  cursor: pointer;
  opacity: 0;
  transition: opacity .25s, background .2s;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 0;
  outline: none;
}
.work-card:hover .work-card__sound-btn,
.work-card--active .work-card__sound-btn {
  opacity: 1;
}
.work-card__sound-btn:hover {
  background: rgba(13,36,26,.8);
}
.work-card__sound-btn svg { display: block; }

.work-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,36,26,.92) 0%, rgba(13,36,26,.18) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  transition: background .4s;
}
.work-card:hover .work-card__overlay {
  background: linear-gradient(to top, rgba(13,36,26,.96) 0%, rgba(13,36,26,.3) 60%, transparent 100%);
}

.work-card__cat {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.work-card__title {
  font-family: var(--font-headline);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.01em;
  margin-bottom: 10px;
  line-height: 1.15;
}

.work-card__desc {
  font-size: .825rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 12px;
  line-height: 1.55;
  max-width: 420px;
  display: none;
}

.work-card:hover .work-card__desc { display: block; }

.work-card__meta {
  display: flex;
  align-items: center;
  gap: 0;
  font-family: var(--font-ui);
  font-size: 11px;
  color: rgba(255,255,255,.38);
}

.work-card__meta span { margin-left: 12px; }
.work-card__meta span:first-child { margin-left: 0; }
.work-card__meta span + span::before {
  content: '·';
  margin-right: 12px;
}

/* ===========================
   CTA Banner
   =========================== */
.cta-banner {
  background: var(--pine);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 24px;
  background:
    linear-gradient(rgba(255,255,255,.07), rgba(255,255,255,.07)) top    left  / 40px 1px  no-repeat,
    linear-gradient(rgba(255,255,255,.07), rgba(255,255,255,.07)) top    left  / 1px  40px no-repeat,
    linear-gradient(rgba(255,255,255,.07), rgba(255,255,255,.07)) top    right / 40px 1px  no-repeat,
    linear-gradient(rgba(255,255,255,.07), rgba(255,255,255,.07)) top    right / 1px  40px no-repeat,
    linear-gradient(rgba(255,255,255,.07), rgba(255,255,255,.07)) bottom left  / 40px 1px  no-repeat,
    linear-gradient(rgba(255,255,255,.07), rgba(255,255,255,.07)) bottom left  / 1px  40px no-repeat,
    linear-gradient(rgba(255,255,255,.07), rgba(255,255,255,.07)) bottom right / 40px 1px  no-repeat,
    linear-gradient(rgba(255,255,255,.07), rgba(255,255,255,.07)) bottom right / 1px  40px no-repeat;
  pointer-events: none;
}

.cta-banner h2 {
  color: var(--white);
  margin: 0 auto 20px;
  max-width: 620px;
  position: relative;
}

.cta-banner p {
  color: rgba(255,255,255,.55);
  max-width: 460px;
  margin: 0 auto 52px;
  font-size: 1rem;
  position: relative;
}

.cta-banner .btn { position: relative; }

/* ===========================
   Footer
   =========================== */
.footer {
  background: var(--deep-pine);
  padding: 64px 0 40px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
  margin-bottom: 52px;
}

.footer__brand-logo {
  height: 40px;
  width: auto;
  display: block;
  margin-bottom: 16px;
}

.footer__tagline {
  font-family: var(--font-ui);
  font-size: 12px;
  color: rgba(255,255,255,.35);
  letter-spacing: .04em;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
}

.footer__nav-link {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.45);
  letter-spacing: .03em;
  transition: color .3s;
}
.footer__nav-link:hover { color: var(--gold); }

/* Touch: größere Tippflächen im Footer, optisch gleicher Abstand */
@media (pointer: coarse) {
  .footer__nav-link,
  .footer__instagram {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .footer__nav { row-gap: 0 !important; }
  .footer__instagram { margin-top: 2px; }
}

.footer__divider {
  height: 1px;
  background: rgba(255,255,255,.07);
  margin-bottom: 28px;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer__copy {
  font-family: var(--font-ui);
  font-size: 11px;
  color: rgba(255,255,255,.25);
  letter-spacing: .03em;
}

.footer__legal {
  display: flex;
  gap: 20px;
}

.footer__instagram {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  font-family: var(--font-ui);
  font-size: 12px;
  color: rgba(255,255,255,.35);
  text-decoration: none;
  letter-spacing: .04em;
  transition: color .2s;
}

.footer__instagram:hover {
  color: var(--gold);
}

/* Legal pages */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.25rem;
  margin: 3.5rem 0 1rem;
  color: var(--deep-pine);
}

.legal-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
}

.legal-content p {
  color: rgba(10,24,16,.7);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.legal-content a {
  color: var(--gold);
  text-decoration: underline;
  overflow-wrap: anywhere; /* lange URLs umbrechen statt seitlich überstehen */
}

.legal-content ul {
  margin: 0.5rem 0 1rem 1.25rem;
  padding: 0;
}

.legal-content ul li {
  color: rgba(10,24,16,.7);
  line-height: 1.8;
  margin-bottom: 0.25rem;
}

/* ===========================
   Page Hero (interior pages)
   =========================== */
.page-hero {
  background: var(--deep-pine);
  padding: calc(var(--nav-height) + 80px) 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero__grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: .02;
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 24px;
  background:
    linear-gradient(rgba(255,255,255,.09), rgba(255,255,255,.09)) top    left  / 32px 1px  no-repeat,
    linear-gradient(rgba(255,255,255,.09), rgba(255,255,255,.09)) top    left  / 1px  32px no-repeat,
    linear-gradient(rgba(255,255,255,.09), rgba(255,255,255,.09)) top    right / 32px 1px  no-repeat,
    linear-gradient(rgba(255,255,255,.09), rgba(255,255,255,.09)) top    right / 1px  32px no-repeat,
    linear-gradient(rgba(255,255,255,.09), rgba(255,255,255,.09)) bottom left  / 32px 1px  no-repeat,
    linear-gradient(rgba(255,255,255,.09), rgba(255,255,255,.09)) bottom left  / 1px  32px no-repeat,
    linear-gradient(rgba(255,255,255,.09), rgba(255,255,255,.09)) bottom right / 32px 1px  no-repeat,
    linear-gradient(rgba(255,255,255,.09), rgba(255,255,255,.09)) bottom right / 1px  32px no-repeat;
  pointer-events: none;
}

.page-hero__content { position: relative; z-index: 2; }

.page-hero h1 {
  color: var(--white);
  max-width: 720px;
  margin-bottom: 20px;
}

.page-hero p {
  color: rgba(255,255,255,.55);
  font-size: clamp(.95rem, 1.5vw, 1.125rem);
  max-width: 520px;
  line-height: 1.72;
}

/* ===========================
   About Page
   =========================== */
.about-intro { background: var(--ivory); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: start;
}

.about-text h2 { margin-bottom: 28px; }

.about-text p {
  margin-bottom: 22px;
  font-size: .9375rem;
}
.about-text p:last-child { margin-bottom: 0; }

.about-visual {
  position: sticky;
  top: calc(var(--nav-height) + 40px);
}

.about-frame {
  aspect-ratio: 4 / 5;
  background: var(--mist-green);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.about-frame::before {
  content: '';
  position: absolute;
  inset: 16px;
  background:
    linear-gradient(rgba(26,58,42,.18), rgba(26,58,42,.18)) top    left  / 28px 1px  no-repeat,
    linear-gradient(rgba(26,58,42,.18), rgba(26,58,42,.18)) top    left  / 1px  28px no-repeat,
    linear-gradient(rgba(26,58,42,.18), rgba(26,58,42,.18)) top    right / 28px 1px  no-repeat,
    linear-gradient(rgba(26,58,42,.18), rgba(26,58,42,.18)) top    right / 1px  28px no-repeat,
    linear-gradient(rgba(26,58,42,.18), rgba(26,58,42,.18)) bottom left  / 28px 1px  no-repeat,
    linear-gradient(rgba(26,58,42,.18), rgba(26,58,42,.18)) bottom left  / 1px  28px no-repeat,
    linear-gradient(rgba(26,58,42,.18), rgba(26,58,42,.18)) bottom right / 28px 1px  no-repeat,
    linear-gradient(rgba(26,58,42,.18), rgba(26,58,42,.18)) bottom right / 1px  28px no-repeat;
  pointer-events: none;
  z-index: 1;
}

.about-frame__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Process Section */
.process-section { background: var(--pine); }

.process-section__head {
  margin-bottom: 64px;
}

.process-section__head h2 { color: var(--white); margin-bottom: 14px; }
.process-section__head p  { color: rgba(255,255,255,.5); max-width: 460px; font-size: .9375rem; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 6px;
  overflow: hidden;
}

.process-card {
  background: rgba(255,255,255,.04);
  padding: 52px 36px;
  transition: background .3s;
}
.process-card:hover { background: rgba(255,255,255,.09); }

.process-card__step {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.process-card__num {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(201,168,76,.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
}

.process-card__step-label {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
}

.process-card h3 {
  color: var(--white);
  margin-bottom: 14px;
  font-size: 1.375rem;
}

.process-card p {
  color: rgba(255,255,255,.5);
  font-size: .9375rem;
  line-height: 1.68;
}

/* ===========================
   Contact Page
   =========================== */
.contact-section { background: var(--ivory); }

.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: start;
}

.contact-info__head {
  margin-bottom: 16px;
}

.contact-info h2 {
  margin-bottom: 24px;
  line-height: 1.1;
}

.contact-info > p {
  margin-bottom: 48px;
  font-size: .9375rem;
  line-height: 1.72;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
  border-top: 1px solid rgba(26,58,42,.1);
  padding-top: 36px;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contact-detail__label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--graphite);
}

.contact-detail__value {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--pine);
}
address.contact-detail__value { font-style: normal; }

.contact-form-wrap {
  background: var(--white);
  border-radius: 6px;
  padding: 52px;
  border: 1px solid rgba(26,58,42,.08);
  position: sticky;
  top: calc(var(--nav-height) + 32px);
}

.contact-form-wrap h3 {
  color: var(--pine);
  margin-bottom: 36px;
  font-size: 1.25rem;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--graphite);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid rgba(26,58,42,.14);
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--pine);
  background: var(--ivory);
  transition: border-color .3s, box-shadow .3s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(95,103,95,.45);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--pine);
  box-shadow: 0 0 0 3px rgba(26,58,42,.07);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-submit { margin-top: 8px; }

.btn--form {
  width: 100%;
  justify-content: center;
  background: var(--pine);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  transition: background .3s;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}

.btn--form:hover { background: var(--deep-pine); }
.btn--form:disabled { opacity: .6; cursor: not-allowed; }

.form-field-error {
  display: block;
  font-size: 11px;
  color: #b94040;
  margin-top: 5px;
  min-height: 16px;
}

.form-group input[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
  border-color: #b94040;
}

.form-error-global {
  background: rgba(185,64,64,.08);
  border: 1px solid rgba(185,64,64,.25);
  color: #b94040;
  font-size: 13px;
  padding: 12px 16px;
  border-radius: 3px;
  margin-bottom: 20px;
}

.form-error-global a { color: inherit; text-decoration: underline; }
.form-success h3:focus { outline: none; } /* Fokus nur für Screenreader */

.form-success {
  text-align: center;
  padding: 48px 24px;
}

.form-success__icon {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(201,168,76,.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.form-success h3 {
  color: var(--pine);
  margin-bottom: 12px;
}

.form-success p {
  font-size: .9375rem;
  color: var(--graphite);
}

/* Checkbox */
.form-group--checkbox {
  margin-top: 8px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkbox-custom {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border: 1.5px solid rgba(10,24,16,.25);
  border-radius: 3px;
  background: transparent;
  transition: border-color .2s, background .2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkbox-label input:checked ~ .checkbox-custom {
  background: var(--gold);
  border-color: var(--gold);
}

.checkbox-label input:checked ~ .checkbox-custom::after {
  content: '';
  display: block;
  width: 10px;
  height: 6px;
  border-left: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
}

.checkbox-text {
  font-size: .8125rem;
  color: rgba(10,24,16,.6);
  line-height: 1.6;
}

.checkbox-text a {
  color: var(--gold);
  text-decoration: underline;
}

.form-error {
  display: none;
  font-size: .75rem;
  color: #c0392b;
  margin-top: 6px;
  padding-left: 30px;
}

.form-error.visible {
  display: block;
}

/* ===========================
   Video Section
   =========================== */
.video-section { background: var(--deep-pine); }
.video-section h2 { color: var(--white); }
.video-section .section-label { color: rgba(255,255,255,.4); }
.video-section .section-label--gold { color: var(--gold); }

/* Equal work grid — no wide first card */
.work-grid--equal .work-card:first-child {
  grid-column: auto;
  aspect-ratio: 16 / 10;
}
.work-grid--equal .work-card--portrait:first-child {
  aspect-ratio: 9 / 16;
}
/* Full-width card inside equal grid */
.work-card--wide {
  grid-column: 1 / -1;
  aspect-ratio: 21 / 9;
}

/* Portrait-row grid: alle Videos nebeneinander in 9:16 (Fallback ohne JS,
   sonst wird daraus das Squeeze-Karussell) */
.work-grid--portrait-row {
  grid-template-columns: repeat(5, 1fr);
}
/* Cancel the "first card spans full width" rule from base .work-grid */
.work-grid--portrait-row .work-card:first-child {
  grid-column: auto;
  aspect-ratio: 9 / 16;
}
.work-grid--portrait-row .work-card--portrait {
  aspect-ratio: 9 / 16;
}

/* Stack grids with minimal gap */
.work-grid + .work-grid {
  margin-top: 3px;
}

/* ===========================
   Squeeze-Karussell (js/squeeze-carousel.js)
   =========================== */
.sq {
  container-type: inline-size;
}
.sq + .sq {
  margin-top: clamp(48px, 7vw, 88px);
}

/* Variablen auf dem inneren Element, damit 100cqi die Breite von .sq meint */
.sq__inner {
  --sq-slat:     8px;
  --sq-slat-gap: 8px;
  --sq-gap:      16px;
  --sq-radius:   3px;
  --sq-ms:       1000ms;
  --sq-ease:     cubic-bezier(0.16, 1, 0.3, 1); /* easeOutExpo */
  --sq-ratio:    1.7778; /* 16:9 */
  /* Untergrenze: auf dem Handy so flach, dass das offene Panel fast
     16:9 bleibt, statt links und rechts viel abzuschneiden */
  /* Platz rechts vom offenen Video für Nachbarn, Lamellen und Abstände */
  --sq-rest:     92px;
  --sq-h:        clamp(min(180px, calc((100cqi - var(--sq-rest)) * 0.6)), 34cqi, 420px);
  /* Offenes Panel: Block im Videoformat, auf schmalen Bildschirmen schmaler */
  --sq-hero:     min(calc(var(--sq-h) * var(--sq-ratio)), calc(100cqi - var(--sq-rest)));
  /* Breite der vier Spalten zusammen (ohne Lamellen und Abstände) */
  --sq-avail:    calc(100cqi
                 - var(--sq-slats, 1) * (var(--sq-slat-gap) + var(--sq-slat))
                 - 3 * var(--sq-gap));
  --sq-room:     calc(var(--sq-avail) - var(--sq-hero));
  --sq-open-min: 0px;
  display: flex;
  flex-direction: column;
}
/* Hochformat (9:16): höher, damit das offene Video groß genug ist,
   aber nie höher als der Bildschirm */
.sq--portrait .sq__inner {
  --sq-ratio: 0.5625;
  /* nie höher als der Bildschirm unter der festen Navigation */
  --sq-h:     min(clamp(420px, 89cqi, 640px), 80vh, calc(100vh - var(--nav-height) - 32px));
  /* Bei wenig Höhe (Handy quer) bleibt das offene Panel trotzdem das größte */
  --sq-open-min: calc(var(--sq-avail) * 0.38);
}
@supports (height: 1svh) {
  /* svh: ohne die ein-/ausfahrende Adressleiste mobiler Browser */
  .sq--portrait .sq__inner { --sq-h: min(clamp(420px, 89cqi, 640px), 80svh, calc(100svh - var(--nav-height) - 32px)); }
}
/* Handy: Das offene Video nimmt fast die ganze Breite ein, die Nachbarn
   schauen nur noch als schmale Streifen hinein. Feinere Lamellen und
   Abstände, damit dafür Platz bleibt. */
@container (max-width: 600px) {
  .sq__inner {
    --sq-rest:     60px;
    --sq-gap:      6px;
    --sq-slat:     4px;
    --sq-slat-gap: 4px;
    --sq-h:        calc((100cqi - var(--sq-rest)) * 0.6);
  }
  /* Hochformat: so hoch wie die Breite erlaubt, aber Navigation und
     Schaltflächen bleiben darüber im Bild */
  .sq--portrait .sq__inner {
    --sq-h: min(calc((100cqi - var(--sq-rest)) * 1.7778), 78vh, calc(100vh - var(--nav-height) - 76px));
  }
  @supports (height: 1svh) {
    .sq--portrait .sq__inner {
      --sq-h: min(calc((100cqi - var(--sq-rest)) * 1.7778), 78svh, calc(100svh - var(--nav-height) - 76px));
    }
  }
}
/* Handy: Karussell läuft rechts bis an den Bildschirmrand, Text und
   Schaltflächen bleiben auf der Satzkante */
@media (max-width: 600px) {
  .sq { margin-right: calc(-1 * var(--gutter)); }
  .sq__controls, .sq__panel { padding-right: var(--gutter); }
}

.sq__controls {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 16px;
}
.sq__btn {
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 3px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
@media (hover: hover) {
  .sq__btn:hover { border-color: var(--gold); color: var(--gold); }
}
/* Touch: Schaltflächen mindestens 44 px */
@media (pointer: coarse) {
  .sq__btn { width: 44px; height: 44px; }
}
.sq__btn[aria-pressed="true"] { border-color: var(--gold); color: var(--gold); }
.sq__btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.sq__viewport {
  height: var(--sq-h);
  overflow: hidden;
  touch-action: pan-y;
}
.sq__strip {
  display: flex;
  height: 100%;
  width: max-content;
}

.sq__card {
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  isolation: isolate;
  flex-shrink: 0;
  height: 100%;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: var(--pine);
  cursor: pointer;
  transition-property: width, margin-left;
  transition-duration: var(--sq-ms);
  transition-timing-function: var(--sq-ease);
}
.sq__card:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }

/* Immer als 16:9-Block gezeichnet und zentriert: Das Panel ändert nur,
   wie viel man sieht, nie den Maßstab des Videos. */
.sq__media {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--sq-hero);
  min-width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  transform: translateX(-50%);
  pointer-events: none;
  filter: brightness(.6);
  transition: filter .6s var(--ease);
}
.sq__card.is-front .sq__media { filter: none; }
@media (hover: hover) {
  .sq__card:hover .sq__media { filter: none; }
}

.sq__overlay {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: flex-end;
  padding: 64px 16px 16px;
  background-image: linear-gradient(to top, rgb(0 0 0 / .55), transparent);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--sq-ms) var(--sq-ease);
}
.sq__card.is-front .sq__overlay { opacity: 1; }
.sq__tag {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}

.sq__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding-left: 3px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 50%;
  background: rgba(13,36,26,.35);
  color: var(--white);
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}
.sq.is-paused .sq__card.is-front .sq__play { opacity: 1; }

.sq__panel {
  display: grid;
  margin-top: 24px;
}
.sq__copy {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--sq-ms) var(--sq-ease), visibility var(--sq-ms);
}
.sq__copy.is-shown { opacity: 1; visibility: visible; pointer-events: auto; }
.sq__text {
  max-width: 46rem;
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  text-wrap: balance;
  color: rgba(255,255,255,.5);
}
.sq__title { color: var(--white); }

@container (min-width: 640px) {
  .sq__overlay { padding: 80px 24px 24px; }
  .sq__panel { margin-top: 28px; }
  .sq__text { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .sq__inner { --sq-ms: 0ms; }
}

/* ===========================
   Photo Grid
   =========================== */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  background: rgba(26,58,42,.1);
  border-radius: 6px;
  overflow: hidden;
}

.photo-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--deep-pine);
  cursor: pointer;
}

.photo-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .8s var(--ease);
}

.photo-card:hover .photo-card__img { transform: scale(1.05); }

.photo-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,36,26,.82) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px 18px;
  opacity: 0;
  transition: opacity .35s;
}

.photo-card:hover .photo-card__overlay { opacity: 1; }

.photo-card__cat {
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.photo-card__title {
  font-family: var(--font-headline);
  font-size: .875rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.01em;
  line-height: 1.2;
}

/* ===========================
   Scroll Reveal (js/scroll-reveal.js)
   =========================== */
/* Scroll-Einblendung: ohne JS bleibt alles sichtbar */
[data-reveal-state="pending"] { opacity: 0; }
[data-reveal-state="pending"] [data-reveal-token],
[data-reveal-state="running"] [data-reveal-token] {
  display: inline-block; max-width: 100%; overflow-wrap: anywhere;
}
@media (prefers-reduced-motion: reduce), print {
  [data-reveal], [data-reveal-token] {
    opacity: 1 !important; filter: none !important; transform: none !important;
  }
}

/* Hero entrance */
.hero-enter {
  opacity: 0;
  transform: translateY(18px);
  animation: heroEnter .9s var(--ease) forwards;
}
.hero-enter-d1 { animation-delay: .2s; }
.hero-enter-d2 { animation-delay: .38s; }
.hero-enter-d3 { animation-delay: .55s; }
.hero-enter-d4 { animation-delay: .72s; }

@keyframes heroEnter {
  to { opacity: 1; transform: translateY(0); }
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .about-visual {
    position: static;
    max-width: 440px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }
  .contact-form-wrap { position: static; }

  /* Tighter nav gap on tablet */
  .nav__links { gap: 28px; }

  /* Process grid 2-col on iPad to avoid cramping at mid-range widths */
  .process-grid { grid-template-columns: repeat(2, 1fr); }

  /* iPad: Portrait-Videos 2×2, kompakteres Format */
  .work-grid--portrait-row { grid-template-columns: repeat(2, 1fr); }
  .work-grid--portrait-row .work-card:first-child,
  .work-grid--portrait-row .work-card--portrait { aspect-ratio: 4 / 5; }
}

@media (max-width: 768px) {
  :root {
    --section-gap: clamp(56px, 8vw, 96px);
  }

  .nav__links,
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }

  /* Smaller logo on mobile */
  .nav__logo-link { height: 48px; }

  .values__grid { grid-template-columns: 1fr; }
  .value-card { padding: 40px 28px; }

  /* Hero spacing */
  .hero__eyebrow { margin-bottom: 20px; }
  .hero h1 { margin-bottom: 18px; }
  .hero__sub { margin-bottom: 36px; }

  .work-grid { grid-template-columns: 1fr; }
  .work-grid--portrait-row { grid-template-columns: repeat(2, 1fr); }
  .work-grid--portrait-row .work-card:first-child,
  .work-grid--portrait-row .work-card--portrait { aspect-ratio: 4 / 5; }
  .work-card--wide { aspect-ratio: 16 / 9; }

  /* Portrait video cards outside portrait-row: shorter when stacked */
  .work-card--portrait { aspect-ratio: 4 / 5; }

  /* Tap-to-play: active card state on touch */
  .work-card--active {
    transform: scale(1.04);
    z-index: 2;
    box-shadow: 0 0 0 2px rgba(201,168,76,.55), 0 16px 48px rgba(0,0,0,.55);
  }
  .work-card--active .work-card__video { transform: scale(1.06); }
  .work-card--active .work-card__overlay {
    background: linear-gradient(to top, rgba(13,36,26,.9) 0%, rgba(13,36,26,.2) 55%, transparent 100%);
  }

  /* Photo overlays always visible — no hover on touch devices */
  .photo-card__overlay { opacity: 1; }

  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid .work-card:not(.work-card--portrait):first-child,
  .work-grid--full .work-card:not(.work-card--portrait):first-child {
    grid-column: auto;
    aspect-ratio: 16 / 9;
  }
  .work-grid--equal .work-card--portrait:first-child { aspect-ratio: 4 / 5; }
  .work-grid--full { grid-template-columns: 1fr; }
  .work-card__desc { display: none !important; }
  .work-card__overlay { padding: 22px; }

  .process-grid { grid-template-columns: 1fr; }
  .process-card { padding: 40px 28px; }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 36px;
  }

  /* Section head spacing reductions */
  .values__head { margin-bottom: 40px; }
  .process-section__head { margin-bottom: 40px; }
  .about-grid { gap: 40px; }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer__nav {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 16px 24px;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .contact-form-wrap { padding: 36px 24px; }
  .contact-info > p { margin-bottom: 36px; }
  .form-row { grid-template-columns: 1fr; }

  .hero__cta { flex-direction: column; align-items: flex-start; }
  .hero__scroll { display: none; }

  /* CTA banner */
  .cta-banner p { margin-bottom: 36px; }
}

@media (max-width: 480px) {
  .hero__content { padding-top: 16px; }
  .work-card__overlay { padding: 16px; }
  .photo-grid { grid-template-columns: 1fr; }

  /* Kleines Handy: Portrait-Videos einspaltig */
  .work-grid--portrait-row { grid-template-columns: 1fr; }
  .work-grid--portrait-row .work-card:first-child,
  .work-grid--portrait-row .work-card--portrait { aspect-ratio: 4 / 5; }

  /* Even smaller logo on very small phones */
  .nav__logo-link { height: 40px; }

  /* Full-width CTA buttons — better tap targets */
  .hero__cta { gap: 10px; }
  .hero__cta .btn { width: 100%; justify-content: center; }

  /* Tighter card padding */
  .value-card { padding: 32px 18px; }
  .process-card { padding: 32px 20px; }

  /* Contact form */
  .contact-form-wrap { padding: 24px 16px; }
}

/* ===========================
   Reduced Motion
   =========================== */
@media (prefers-reduced-motion: reduce) {
  .hero-enter {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .hero__scroll-track { animation: none; }
  .work-card__img,
  .work-card__placeholder,
  .work-card__video,
  .photo-card__img { transition: none; }
}
