/* ============================================================
   ARTEARTH · Eva Anselmann
   Token-System & Basis
   ============================================================ */

/* ---------- Fonts (selbst gehostet, DSGVO-konform) ---------- */
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-v21-latin_latin-ext-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-v21-latin_latin-ext-500italic.woff2') format('woff2');
  font-weight: 500; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-v21-latin_latin-ext-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-v21-latin_latin-ext-600italic.woff2') format('woff2');
  font-weight: 600; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-v20-latin_latin-ext-regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-v20-latin_latin-ext-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-v20-latin_latin-ext-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-v20-latin_latin-ext-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---------- Design-Tokens ---------- */
:root {
  /* Farbwelt: Waldgeflüster-Grün, Gold, Beige, Weiß */
  --wald:        #43594e;
  --wald-deep:   #33453c;
  --wald-ink:    #22302a;
  --gold:        #a8823f;
  --gold-bright: #c2a05c;
  --gold-soft:   #d9c294;
  --beige:       #e7dfcf;
  --sand:        #efe9dc;
  --paper:       #f8f5ee;
  --white:       #fefdfa;

  --text:        var(--wald-ink);
  --text-soft:   #55635b;
  --line:        rgba(67, 89, 78, .18);
  --line-gold:   rgba(168, 130, 63, .38);

  /* Typografie */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Manrope', -apple-system, 'Segoe UI', sans-serif;

  /* Nur 3 Größenstufen + Basistext */
  --fs-h1: clamp(2.7rem, 5.6vw, 4.6rem);
  --fs-h2: clamp(2rem, 3.6vw, 3rem);
  --fs-h3: clamp(1.3rem, 1.8vw, 1.55rem);
  --fs-body: 1rem;
  --fs-small: .875rem;

  /* Rhythmus */
  --section-y: clamp(5.5rem, 10vw, 9rem);
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  /* Ein einheitliches, dezentes Schatten-System */
  --shadow-sm: 0 6px 24px -12px rgba(34, 48, 42, .18);
  --shadow-md: 0 24px 60px -32px rgba(34, 48, 42, .32);

  /* Formen: flächig-scharf (Galerie), Interaktives minimal gerundet */
  --radius-ui: 3px;

  /* Übergänge */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --t-fast: .22s var(--ease);
  --t-med: .45s var(--ease);

  /* Z-Ebenen */
  --z-nav: 100;
  --z-quick: 90;
  --z-menu: 110;
  --z-lightbox: 120;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html:focus-within { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }

::selection { background: var(--wald); color: var(--paper); }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ---------- Layout-Basis ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }
.section--tinted { background: var(--sand); }

.section-head { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: .01em;
}
.section-head h2 em { font-style: italic; color: var(--gold); }
.section-head p { margin-top: 1rem; color: var(--text-soft); max-width: 56ch; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center p { margin-inline: auto; }

.gold-rule {
  display: inline-block;
  width: 56px; height: 2px;
  background: var(--gold);
  margin-bottom: 1.2rem;
}

/* ---------- Buttons (immer mit Icon, konsistente Hover) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.7rem;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .015em;
  line-height: 1.2;
  border-radius: var(--radius-ui);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
  cursor: pointer;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform var(--t-fast); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn--gold {
  background: var(--gold);
  color: var(--white);
}
.btn--gold:hover { background: #91702f; }

.btn--outline {
  border: 1px solid var(--line-gold);
  color: var(--wald-ink);
  background: transparent;
}
.btn--outline:hover { border-color: var(--gold); background: rgba(168, 130, 63, .08); }

.btn--light {
  border: 1px solid rgba(254, 253, 250, .55);
  color: var(--white);
  background: rgba(254, 253, 250, .06);
  backdrop-filter: blur(2px);
}
.btn--light:hover { background: rgba(254, 253, 250, .16); border-color: var(--white); }

.btn--wald {
  background: var(--wald);
  color: var(--paper);
}
.btn--wald:hover { background: var(--wald-deep); }

/* ============================================================
   Loader
   ============================================================ */
.loader {
  position: fixed; inset: 0;
  z-index: 200;
  background: var(--wald-deep);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s ease, visibility .6s ease;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__mark { width: 92px; color: var(--gold-soft); animation: loaderPulse 1.6s ease-in-out infinite; }
@keyframes loaderPulse { 50% { opacity: .45; } }

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  height: 72px;
  display: flex;
  align-items: center;
  transition: background var(--t-med), box-shadow var(--t-med), height var(--t-med);
}
.nav__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav--solid {
  background: rgba(248, 245, 238, .92);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--white);
  transition: color var(--t-med);
}
.nav--solid .brand { color: var(--wald-ink); }
.brand__mark { width: 44px; flex: none; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.32rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  line-height: 1;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.2vw, 2rem);
}
.nav__links a:not(.btn) {
  position: relative;
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(254, 253, 250, .92);
  padding-block: .4rem;
  transition: color var(--t-fast);
}
.nav--solid .nav__links a:not(.btn) { color: var(--text-soft); }
.nav__links a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 0;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  transform: translateX(-50%) scale(.4);
  transition: opacity var(--t-fast), transform var(--t-fast);
}
.nav__links a:not(.btn):hover { color: var(--white); }
.nav--solid .nav__links a:not(.btn):hover { color: var(--wald-ink); }
.nav__links a:not(.btn):hover::after,
.nav__links a.is-active::after { opacity: 1; transform: translateX(-50%) scale(1); }
.nav__links .btn { padding: .68rem 1.25rem; font-size: .88rem; }

.nav__burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.nav--solid .nav__burger { color: var(--wald-ink); }
.nav__burger svg { width: 26px; height: 26px; }

/* Mobile-Menü */
.mmenu {
  position: fixed; inset: 0;
  z-index: var(--z-menu);
  background: var(--wald-deep);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  padding: 0 var(--gutter) 2.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-med), visibility var(--t-med);
}
.mmenu.is-open { opacity: 1; visibility: visible; }
.mmenu__bar {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mmenu__bar .brand { color: var(--paper); }
.mmenu__close {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  color: var(--paper);
}
.mmenu__close svg { width: 26px; height: 26px; }
.mmenu__links {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .4rem;
}
.mmenu__links a:not(.btn) {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 6.5vw, 2.4rem);
  font-weight: 500;
  padding-block: .45rem;
  border-bottom: 1px solid rgba(248, 245, 238, .12);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mmenu__links a:not(.btn) svg { width: 22px; height: 22px; opacity: .55; }
.mmenu__links .btn { margin-top: 1.6rem; width: 100%; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}
.hero__media {
  position: absolute; inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
@media (prefers-reduced-motion: no-preference) {
  .hero__media img { animation: heroZoom 18s var(--ease) forwards; }
  @keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(31, 42, 36, .88) 0%, rgba(31, 42, 36, .38) 45%, rgba(31, 42, 36, .30) 100%);
}
.hero__inner {
  width: 100%;
  padding-bottom: clamp(3.5rem, 8vh, 6rem);
}
.hero__eyebrow {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 1.1rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: .005em;
  max-width: 15ch;
  text-wrap: balance;
}
.hero h1 em { font-style: italic; color: var(--gold-soft); }
.hero__sub {
  margin-top: 1.3rem;
  max-width: 46ch;
  font-size: 1.05rem;
  color: rgba(254, 253, 250, .88);
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 2.2rem;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__eyebrow, .hero h1, .hero__sub, .hero__ctas {
    animation: heroRise .9s var(--ease) backwards;
  }
  .hero h1 { animation-delay: .12s; }
  .hero__sub { animation-delay: .24s; }
  .hero__ctas { animation-delay: .36s; }
  @keyframes heroRise {
    from { opacity: 0; transform: translateY(26px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

/* ============================================================
   Intro- / Trust-Band
   ============================================================ */
.trust {
  background: var(--wald);
  color: var(--paper);
  padding-block: clamp(3rem, 6vw, 4.5rem);
  text-align: center;
}
.trust p {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  font-weight: 500;
  line-height: 1.4;
  max-width: 34ch;
  margin-inline: auto;
  text-wrap: balance;
}
.trust p em { font-style: italic; color: var(--gold-soft); }
.trust__insta {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-top: 1.4rem;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .05em;
  color: var(--gold-soft);
  transition: color var(--t-fast);
}
.trust__insta:hover { color: var(--white); }
.trust__insta svg { width: 20px; height: 20px; }

/* ============================================================
   Galerie (Masonry + Lightbox)
   ============================================================ */
.masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  grid-auto-rows: 8px;      /* Zeilen-Spans setzt main.js aus dem Seitenverhältnis */
  grid-auto-flow: dense;
}
.masonry__item {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--beige);
  box-shadow: var(--shadow-sm);
}
.masonry__item img { height: 100%; object-fit: cover; }
.masonry__item img {
  width: 100%;
  transition: transform .8s var(--ease), opacity .8s var(--ease);
}
.masonry__item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(34, 48, 42, .34), transparent 45%);
  opacity: 0;
  transition: opacity var(--t-med);
  pointer-events: none;
}
.masonry__item:hover img { transform: scale(1.04); }
.masonry__item:hover::after { opacity: 1; }
.masonry__zoom {
  position: absolute;
  right: .9rem; bottom: .9rem;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(248, 245, 238, .92);
  color: var(--wald-ink);
  border-radius: 50%;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--t-med), transform var(--t-med);
  pointer-events: none;
}
.masonry__zoom svg { width: 18px; height: 18px; }
.masonry__item:hover .masonry__zoom { opacity: 1; transform: translateY(0); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  z-index: var(--z-lightbox);
  background: rgba(31, 42, 36, .96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-med), visibility var(--t-med);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(92vw, 1400px);
  max-height: 86dvh;
  width: auto; height: auto;
  object-fit: contain;
  box-shadow: var(--shadow-md);
}
.lightbox__btn {
  position: absolute;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  color: var(--paper);
  background: rgba(248, 245, 238, .08);
  border: 1px solid rgba(248, 245, 238, .25);
  border-radius: 50%;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.lightbox__btn:hover { background: rgba(248, 245, 238, .2); border-color: var(--paper); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__close { top: max(1.2rem, env(safe-area-inset-top)); right: 1.2rem; }
.lightbox__prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1.2rem; top: 50%; transform: translateY(-50%); }

/* ============================================================
   Eva & Philosophie (asymmetrisch)
   ============================================================ */
.about { background: var(--sand); }
.about__grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.about__media { position: relative; }
.about__media::before {
  content: '';
  position: absolute;
  inset: 1.4rem -1.4rem -1.4rem 1.4rem;
  border: 1px solid var(--line-gold);
  pointer-events: none;
}
.about__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  box-shadow: var(--shadow-md);
}
.about__body h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1.12;
}
.about__body h2 em { font-style: italic; color: var(--gold); }
.about__body > p { margin-top: 1.15rem; color: var(--text-soft); }
.about__quote {
  margin-top: 1.9rem;
  padding-left: 1.4rem;
  border-left: 2px solid var(--gold);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.45;
  color: var(--wald-ink);
}
.about__quote footer {
  margin-top: .5rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ============================================================
   Verfügbare Werke (Verkauf)
   ============================================================ */
.works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.work-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.work-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.work-card__media {
  position: relative;
  aspect-ratio: 4 / 5;             /* einheitliches Format – Layout bleibt stabil */
  overflow: hidden;
  cursor: zoom-in;
  background: var(--beige);
}
.work-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .8s var(--ease);
}
.work-card:hover .work-card__media img { transform: scale(1.045); }
.work-card__badge {
  position: absolute;
  top: .9rem; left: .9rem;
  padding: .34rem .8rem;
  background: var(--wald-ink);
  color: var(--paper);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.work-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: .35rem;
  padding: 1.4rem 1.5rem 1.6rem;
}
.work-card__title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.25;
}
.work-card__meta {
  color: var(--text-soft);
  font-size: var(--fs-small);
}
.work-card__price {
  margin-top: .35rem;
  margin-bottom: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  font-size: 1.05rem;
}
.work-card__body .btn { margin-top: auto; align-self: flex-start; }
.work-card--sold .work-card__media img { filter: grayscale(.55); opacity: .8; }

/* ============================================================
   Auftragsarbeit (Prozess)
   ============================================================ */
.process { background: var(--wald-deep); color: var(--paper); }
.process .section-head h2 { color: var(--paper); }
.process .section-head h2 em { color: var(--gold-soft); }
.process .section-head p { color: rgba(248, 245, 238, .72); }
.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  counter-reset: step;
  position: relative;
}
.process__step { position: relative; padding-top: 1.6rem; }
.process__step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: -2rem;
  height: 1px;
  background: rgba(217, 194, 148, .35);
}
.process__step:last-child::before { right: 0; }
.process__step::after {
  content: '';
  position: absolute;
  top: -4px; left: 0;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gold-bright);
}
.process__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold-soft);
}
.process__step h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  margin-top: .3rem;
}
.process__step p {
  margin-top: .5rem;
  font-size: var(--fs-small);
  line-height: 1.65;
  color: rgba(248, 245, 238, .75);
}
.process__cta { margin-top: 3.2rem; }

/* ============================================================
   Kontakt
   ============================================================ */
.contact__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.contact__info h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1.12;
}
.contact__info h2 em { font-style: italic; color: var(--gold); }
.contact__info > p { margin-top: 1rem; color: var(--text-soft); max-width: 44ch; }
.contact__list { margin-top: 2rem; display: grid; gap: .4rem; }
.contact__list a, .contact__list .contact__row {
  display: flex;
  align-items: center;
  gap: .95rem;
  padding: .75rem .9rem;
  border-radius: var(--radius-ui);
  transition: background var(--t-fast);
}
.contact__list a:hover { background: rgba(67, 89, 78, .07); }
.contact__list svg { width: 21px; height: 21px; flex: none; color: var(--gold); }
.contact__list strong { font-weight: 600; display: block; line-height: 1.35; }
.contact__list small { color: var(--text-soft); font-size: .82rem; }

.form {
  background: var(--white);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 1.25rem;
}
.form__row { display: grid; gap: 1.25rem; grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: .45rem; }
.field label {
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: .02em;
}
.field label span { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .85rem 1rem;
  font: inherit;
  font-size: .95rem;
  color: var(--text);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-ui);
  transition: border-color var(--t-fast), background var(--t-fast);
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 256 256'%3E%3Cpath fill='%2355635b' d='M213.66 101.66l-80 80a8 8 0 0 1-11.32 0l-80-80A8 8 0 0 1 53.66 90.34L128 164.69l74.34-74.35a8 8 0 0 1 11.32 11.32Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
  cursor: pointer;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}
.field input::placeholder, .field textarea::placeholder { color: #97a19a; }

.form__consent {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  font-size: .82rem;
  color: var(--text-soft);
  line-height: 1.55;
}
.form__consent input {
  width: 17px; height: 17px;
  margin-top: .18rem;
  flex: none;
  accent-color: var(--gold);
  cursor: pointer;
}
.form__consent a { color: var(--gold); font-weight: 600; }
.form__consent a:hover { text-decoration: underline; }

.form__submit { justify-self: start; }
.form__submit:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.form__submit:disabled:hover { background: var(--gold); }
.form__submit:disabled svg { transform: none; }

.form__msg {
  padding: .9rem 1.1rem;
  border-radius: var(--radius-ui);
  font-size: var(--fs-small);
  font-weight: 600;
}
.form__msg--ok { background: rgba(67, 89, 78, .12); color: var(--wald-deep); }
.form__msg--err { background: rgba(146, 60, 40, .12); color: #7c3221; }

/* Honeypot unsichtbar, aber nicht display:none (Bots füllen es dann eher aus) */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ============================================================
   Footer (Content-Width, hell)
   ============================================================ */
.footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  padding-bottom: 2rem;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: .8rem;
  color: var(--wald-ink);
}
.footer__brand .brand__mark { width: 52px; }
.footer__block { margin-top: 2.6rem; }
.footer__label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.footer__contact {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 2.2rem;
}
.footer__contact a {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--text-soft);
  transition: color var(--t-fast);
}
.footer__contact a:hover { color: var(--wald-ink); }
.footer__contact svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.footer__menu {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.8rem;
}
.footer__menu a {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--text-soft);
  transition: color var(--t-fast);
}
.footer__menu a:hover { color: var(--wald-ink); }
.footer__bottom {
  margin-top: 2.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .6rem 1.5rem;
  font-size: .82rem;
  color: var(--text-soft);
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem 1.2rem;
}
.footer__legal a { font-weight: 600; transition: color var(--t-fast); }
.footer__legal a:hover { color: var(--wald-ink); }

/* ============================================================
   Schnellkontakt (Desktop: rechts, Labels fahren nach LINKS aus)
   ============================================================ */
.quick {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: var(--z-quick);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.quick a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  background: var(--wald-deep);
  color: var(--paper);
  transition: background var(--t-fast);
}
.quick a svg { width: 21px; height: 21px; }
.quick a:hover { background: var(--gold); }
.quick a span {
  position: absolute;
  right: 100%;
  top: 0; bottom: 0;
  display: flex;
  align-items: center;
  padding-inline: 1.1rem;
  background: var(--gold);
  color: var(--white);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .03em;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity var(--t-fast), transform var(--t-fast);
}
.quick a:hover span { opacity: 1; transform: translateX(0); }

/* Mobile: unten fixiert, volle Breite */
@media (max-width: 767px) {
  .quick {
    top: auto;
    bottom: 0;
    right: 0; left: 0;
    transform: none;
    flex-direction: row;
    gap: 1px;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--wald-deep);
  }
  .quick a { flex: 1; height: 56px; width: auto; }
  .quick a span { display: none; }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
}

/* ============================================================
   Scroll-Reveal
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
    transition-delay: var(--reveal-delay, 0s);
  }
  .reveal.is-visible { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1023px) {
  .masonry { grid-template-columns: repeat(2, 1fr); }
  .works__grid { grid-template-columns: repeat(2, 1fr); }
  .process__steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.6rem; }
  .process__step:nth-child(2)::before { right: 0; }
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 520px; }
  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }

  /* Platz für die fixe Schnellkontakt-Leiste unten einrechnen */
  .hero__inner { padding-bottom: calc(56px + env(safe-area-inset-bottom) + 2.2rem); }
  .hero h1 { max-width: none; font-size: clamp(2.2rem, 9vw, 2.7rem); }

  .masonry { grid-template-columns: 1fr; }
  .works__grid { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: 1fr; }
  .process__step::before { right: 0; }
  .form__row { grid-template-columns: 1fr; }

  /* Alle Buttons mobil volle Breite */
  .btn { width: 100%; }
  .quick a { width: auto; }
  .work-card__body .btn { align-self: stretch; }
  .form__submit { justify-self: stretch; }

  .about__media::before { inset: .9rem -.9rem -.9rem .9rem; }

  .footer__bottom { justify-content: center; text-align: center; }
  .footer__legal { justify-content: center; }
  .footer__contact { flex-direction: column; gap: .9rem; }

  .lightbox__prev { left: .6rem; }
  .lightbox__next { right: .6rem; }
  .lightbox__btn { width: 44px; height: 44px; }
  .lightbox img { max-width: 94vw; }
}
