/* Fraunces + Inter sind selbst gehostet (siehe /fonts) statt ueber Google Fonts
   geladen -- vermeidet die Uebertragung der Besucher-IP an Google beim
   Seitenaufruf. Nur das "latin"-Subset (deckt deutsche Umlaute/ß ab). */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 200 500;
  font-display: swap;
  src: url('../fonts/fraunces-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('../fonts/inter-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { margin: 0; background: #EEEAE0; color: #5b6a5e; font-family: Inter, system-ui, sans-serif; overflow-x: hidden; }
* { box-sizing: border-box; }
a { color: #5b6a5e; text-decoration: none; }
a:hover { color: #8B8A79; }
::selection { background: #c0c9c2; color: #EEEAE0; }
@keyframes marq { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
@media (max-width: 900px) {
  [data-hsec] { height: auto !important; }
  [data-hsticky] { position: static !important; height: auto !important; padding-bottom: 0 !important; }
  .gallery-head { padding-top: clamp(64px,12vh,100px) !important; }
  [data-htrack] { flex-direction: column !important; transform: none !important; gap: 64px !important; padding: 0 22px !important; align-items: stretch !important; }
  [data-panel] { width: 100% !important; }
  .project-split { flex-direction: column !important; }
  .project-frame { flex: 0 0 auto !important; }
  .project-info { justify-content: flex-start !important; border-top: 1px solid rgba(25,27,19,.18) !important; padding-top: 16px !important; }
  [data-desk] { display: none !important; }
  [data-mob] { display: flex !important; }
}
@media (min-width: 901px) { [data-mob] { display: none !important; } }
@media (hover: none), (pointer: coarse) { [data-cursor] { display: none !important; } }
@media (hover: hover) and (pointer: fine) {
  /* Systemcursor nur dort ausblenden, wo der custom Cursor existiert (Startseite) --
     Impressum/Datenschutz/404 teilen dieses Stylesheet, haben ihn aber nicht.
     :where() haelt die Spezifitaet bei 0, damit z.B. cursor:pointer auf Buttons weiter gewinnt. */
  :where(body:has([data-cursor])),
  :where(body:has([data-cursor])) :where(a, button, input, textarea) { cursor: none; }
  /* Lightbox hat einen fast schwarzen Hintergrund, auf dem der custom
     Cursor (mix-blend-mode:multiply) praktisch unsichtbar wird -- dort
     stattdessen den nativen Systemcursor zeigen (siehe [data-cursor]-Regel
     weiter oben, die ihn bei geoeffneter Lightbox ausblendet). */
  #project-gallery-overlay.is-open { cursor: auto; }
  #project-gallery-overlay.is-open button { cursor: pointer; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } [data-marquee] { animation: none !important; } }


/* ============================================================
   Komponenten-Styles (ehemals inline) — angie.html Refactor
   ============================================================ */

/* --- Global overlays --- */
[data-cursor] {
  position: fixed; top: 0; left: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px;
  border-radius: 999px; background: #c0c9c2; pointer-events: none; z-index: 9999;
  mix-blend-mode: multiply;
  transition: width .5s cubic-bezier(.19,1,.22,1), height .5s cubic-bezier(.19,1,.22,1),
    margin .5s cubic-bezier(.19,1,.22,1), opacity .4s ease, background .4s ease;
}
/* mix-blend-mode:multiply verschwindet praktisch auf dem fast schwarzen
   Lightbox-Hintergrund (dunkel * dunkel bleibt dunkel) -- dort daher den
   custom Cursor ausblenden und den nativen Systemcursor zeigen. */
body:has(#project-gallery-overlay.is-open) [data-cursor] { opacity: 0 !important; }
.noise-overlay {
  position: fixed; inset: 0; pointer-events: none; z-index: 60; opacity: .05; mix-blend-mode: multiply;
  background-image: url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cfilter id=%22n%22%3E%3CfeTurbulence type=%22fractalNoise%22 sc-camel-base-frequency=%220.85%22 sc-camel-num-octaves=%223%22/%3E%3C/filter%3E%3Crect width=%22100%25%22 height=%22100%25%22 filter=%22url(%23n)%22/%3E%3C/svg%3E');
}

/* --- Header --- */
[data-header] {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 22px; padding-bottom: 22px;
  padding-left: clamp(22px,5vw,72px); padding-right: clamp(22px,5vw,72px);
  transition: background .6s ease, padding .6s ease, backdrop-filter .6s ease;
}
[data-studio-mark] {
  display: flex; align-items: center; gap: 10px;
  font-family: Fraunces, serif; font-weight: 400; font-size: 18px;
  letter-spacing: .34em; text-transform: uppercase; color: #5b6a5e;
}
.studio-mark-icon { width: 22px; height: 22px; flex-shrink: 0; }
.studio-mark-text { display: flex; flex-direction: column; gap: 4px; line-height: 1; }
.studio-mark-sub {
  font-family: Inter, sans-serif; font-size: 9px; font-weight: 400;
  letter-spacing: .18em; color: #8B8A79;
}
/* Named entities (e.g. "Weiß") should not get auto-transformed to "WEISS" by text-transform:uppercase */
[data-studio] { text-transform: none; }
.header-nav {
  display: flex; gap: clamp(22px,2.6vw,44px); align-items: center;
}
.header-nav a {
  display: inline-block;
  font-size: 15px; letter-spacing: .22em; text-transform: uppercase; color: #5b6a5e;
  transition: color .4s ease, transform .35s cubic-bezier(.19,1,.22,1);
}
.header-nav a:hover { color: #8B8A79; transform: scale(1.15); }
[data-burger] {
  display: none; align-items: center; gap: 10px; background: none; border: 0; padding: 6px 0;
  font-family: Inter, sans-serif; font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: #5b6a5e;
}
.burger-icon { display: flex; flex-direction: column; gap: 4px; width: 18px; }
[data-burger-l1], [data-burger-l2] {
  display: block; height: 1px; background: #5b6a5e;
  transition: transform .5s cubic-bezier(.76,0,.24,1);
}

/* --- Mobile menu overlay --- */
[data-menu] {
  position: fixed; inset: 0; z-index: 75; background: #2B2E22; color: #EEEAE0;
  display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 26px;
  transform: translateY(-101%); transition: transform 1s cubic-bezier(.76,0,.24,1); visibility: hidden;
}
[data-menu-link] {
  font-family: Fraunces, serif; font-weight: 300; font-size: clamp(38px,11vw,68px);
  line-height: 1.05; letter-spacing: -.02em; color: #EEEAE0;
}
.menu-location { margin: 38px 0 0; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #8B8A79; }

/* --- Main wrapper --- */
#top { position: relative; z-index: 1; }

/* --- Hero --- */
.hero {
  position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: #E3DDD0;
}
.hero-parallax { position: absolute; inset: -12% 0; will-change: transform; }
.hero-img {
  width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.24);
  transition: transform 2.4s cubic-bezier(.19,1,.22,1);
}
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,rgba(238,234,224,.55) 0%,rgba(238,234,224,0) 34%,rgba(238,234,224,.08) 60%,rgba(238,234,224,.72) 100%);
}
.hero-content {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 clamp(22px,5vw,72px) clamp(38px,6vh,74px);
}
[data-hero-fade] {
  opacity: 0; transform: translateY(14px);
  transition: opacity 1.2s ease, transform 1.2s cubic-bezier(.19,1,.22,1);
}
.hero-eyebrow { margin: 0 0 clamp(18px,3vh,34px); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: #2B2E22; }
.hero-title {
  margin: 0; font-family: Fraunces, serif; font-weight: 300; font-size: clamp(36px,8.4vw,140px);
  line-height: .86; letter-spacing: -.035em; color: #5b6a5e;
}
.hero-line-clip { display: block; overflow: hidden; padding-bottom: .2em; margin-bottom: -.14em; }
[data-hero-line] {
  display: block; transform: translateY(112%); transition: transform 1.5s cubic-bezier(.19,1,.22,1);
}
.hero-footer-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: clamp(22px,4vh,44px); }
.hero-lead { margin: 0; max-width: 38ch; font-size: clamp(14px,1.05vw,16px); line-height: 1.65; color: #2B2E22; text-wrap: pretty; }
.hero-scroll-hint { margin: 0; font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: #8B8A79; white-space: nowrap; }

/* --- Services ticker (marquee) --- */
.ticker-section {
  border-top: 1px solid rgba(25,27,19,.14); border-bottom: 1px solid rgba(25,27,19,.14);
  overflow: hidden; padding: clamp(20px,2.6vw,32px) 0; background: #EEEAE0;
}
[data-marquee] { display: flex; width: max-content; animation: marq 62s linear infinite; }
[data-marquee-set] { display: flex; align-items: center; gap: clamp(28px,3.4vw,56px); padding-right: clamp(28px,3.4vw,56px); }
.ticker-item { font-family: Fraunces, serif; font-weight: 300; font-size: clamp(20px,2.5vw,34px); letter-spacing: -.01em; white-space: nowrap; }
[data-marquee-set] [data-accent] { font-size: 12px; }
[data-accent], [data-accent-text] { color: #8B8A79; }

/* --- Section eyebrows (numbered labels) --- */
.section-eyebrow {
  margin: 0; font-size: 13px; font-weight: 400; letter-spacing: .26em; text-transform: uppercase; color: #8B8A79;
}
[data-fade] { opacity: 0; transform: translateY(12px); transition: opacity 1s ease, transform 1s cubic-bezier(.19,1,.22,1); }
.section-eyebrow--haltung { margin-bottom: clamp(40px,7vh,88px); }

/* --- Haltung (01) --- */
#haltung { padding: clamp(48px,8vh,100px) clamp(22px,5vw,72px); }
.about-section {
  padding: clamp(48px,8vh,100px) clamp(22px,5vw,72px) clamp(96px,17vh,210px);
  display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: clamp(40px,5vw,96px); align-items: start;
}
.about-media { position: sticky; top: 12vh; max-width: min(100%,420px); width: 100%; }
.haltung-heading {
  margin: 0; font-family: Fraunces, serif; font-weight: 300; font-size: clamp(30px,5.4vw,86px);
  line-height: 1.06; letter-spacing: -.025em; max-width: 19ch;
}
.heading-line-clip { display: block; overflow: hidden; padding-bottom: .2em; margin-bottom: -.16em; }
[data-line] { display: block; transform: translateY(112%); transition: transform 1.3s cubic-bezier(.19,1,.22,1); }
.haltung-grid {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: clamp(28px,4vw,72px); margin-top: clamp(52px,9vh,120px); max-width: 1180px;
}
.haltung-grid p { margin: 0; font-size: clamp(14px,1.05vw,16px); line-height: 1.75; text-wrap: pretty; color: #2B2E22; }
.haltung-grid p.text-muted { color: #8B8A79; }
#ueber-mich .haltung-grid {
  grid-template-columns: 1fr; gap: clamp(18px,2.4vh,26px); max-width: 60ch;
}
.haltung-tagline {
  margin: clamp(40px,6vh,72px) 0 0; max-width: 32ch; font-family: Fraunces, serif; font-weight: 300; font-style: italic;
  font-size: clamp(22px,2.6vw,36px); line-height: 1.3; letter-spacing: -.02em; color: #2B2E22; text-wrap: pretty;
}

/* --- Über mich (03) --- */
.about-heading {
  margin: 0; font-family: Fraunces, serif; font-weight: 300; font-size: clamp(30px,5.4vw,86px);
  line-height: 1.06; letter-spacing: -.025em; max-width: 19ch;
}
.about-facts {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
  gap: clamp(24px,3vw,40px); margin-top: clamp(40px,6vh,72px); max-width: 1180px;
}

.media-frame { position: relative; overflow: hidden; aspect-ratio: 4/5; max-height: 76vh; background: #E3DDD0; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.14); transition: transform 1.8s cubic-bezier(.19,1,.22,1); }
[data-mask] { position: absolute; inset: 0; background: #EEEAE0; transition: transform 1.3s cubic-bezier(.76,0,.24,1); }
.service-list { display: flex; flex-direction: column; }
[data-row] {
  display: grid; grid-template-columns: 46px 1fr; gap: clamp(14px,2vw,34px); align-items: baseline;
  padding: clamp(20px,2.6vh,30px) 0; border-top: 1px solid rgba(25,27,19,.16); color: #5b6a5e;
}
[data-row]:last-child { border-bottom: 1px solid rgba(25,27,19,.16); }
.service-index { font-size: 10px; letter-spacing: .2em; color: #8B8A79; }
.service-title { display: block; font-family: Fraunces, serif; font-weight: 300; font-size: clamp(24px,2.7vw,40px); line-height: 1.15; letter-spacing: -.02em; }
.service-desc { display: block; margin-top: 8px; font-size: 13px; line-height: 1.6; color: #8B8A79; }

/* --- Projekte (02) --- */
[data-hsec] { position: relative; background: #E3DDD0; }
[data-hsticky] {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  display: flex; flex-direction: column;
  padding-bottom: clamp(4px,0.5vh,8px);
}
.gallery-head {
  flex: 0 0 auto;
  /* padding-top muss ueber der Hoehe des fixen [data-header] liegen (~75px),
     sonst wird "02 -- Ausgewaehlte Projekte" davon ueberdeckt. Liegt bewusst
     hier (statt als Padding auf [data-hsticky]), damit nur der Bildbereich
     darunter die restliche Hoehe zentriert bekommt, nicht die Kopfzeile. */
  padding: clamp(100px,11vh,130px) clamp(22px,5vw,72px) 0;
  margin-bottom: clamp(16px,2.5vh,28px);
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
}
.gallery-head > p, .gallery-head > h2 { margin: 0; font-size: 13px; font-weight: 400; letter-spacing: .26em; text-transform: uppercase; color: #8B8A79; }
.gallery-scroll-hint { margin: 0; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: #8B8A79; }
[data-htrack] {
  flex: 1 1 auto; min-height: 0;
  display: flex; align-items: flex-start; gap: clamp(28px,3.4vw,64px);
  padding: 0 clamp(22px,5vw,72px); will-change: transform; transition: transform .05s linear;
}
[data-panel] { flex: 0 0 auto; width: min(84vw,740px); display: flex; flex-direction: column; gap: 22px; }
/* Karten mit Konzepttext sind insgesamt breiter, damit Bild UND Textspalte
   genug Platz haben -- sonst geht die breitere Textspalte zu Lasten der
   Bildhoehe und der Freiraum unter dem Bild wird zu gross. */
[data-panel]:has(.project-concept) { width: min(94vw,860px); }
.project-split { display: flex; align-items: stretch; gap: clamp(20px,2.6vw,32px); }
/* max-height verhindert, dass die vom Panel-Breite abgeleitete Bildhoehe
   auf niedrigeren Bildschirmen ueber die 100svh-Sticky-Flaeche hinausragt
   und Text darunter abschneidet -- object-fit:cover auf dem <img> gleicht
   das per Bildausschnitt aus. */
.project-frame { position: relative; overflow: hidden; aspect-ratio: 4/5; max-height: calc(100svh - 180px); background: #EEEAE0; flex: 0 0 78%; }
/* Karten mit Konzepttext brauchen mehr Platz fuer den Absatz -- sonst
   wird die Textspalte bei 78% so schmal, dass ein laengerer Text in
   sehr vielen kurzen Zeilen umbricht und die Karte zu hoch wird. */
.project-split:has(.project-concept) .project-frame { flex-basis: 67%; }
.project-frame img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.14); transition: transform 1.8s cubic-bezier(.19,1,.22,1); }
.project-frame [data-mask] { background: #E3DDD0; }
.project-info { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.project-info h3 { margin: 8px 0 0; font-family: Fraunces, serif; font-weight: 300; font-size: clamp(21px,2.4vw,30px); line-height: 1.15; letter-spacing: -.02em; }
.project-tag { font-size: 10px; letter-spacing: .2em; color: #8B8A79; }
.project-concept { margin: 10px 0 0; font-size: clamp(12.5px,1.55vh,14px); line-height: 1.55; color: #5b6a5e; text-wrap: pretty; }
.project-caption { margin: clamp(8px,1.2vh,14px) 0 0; font-size: 12px; letter-spacing: .06em; color: #8B8A79; }
.project-panel--closing { width: min(72vw,420px); align-self: center; justify-content: center; padding-bottom: 60px; }
.project-panel--closing p {
  margin: 0; font-family: Fraunces, serif; font-weight: 300; font-style: italic;
  font-size: clamp(24px,2.6vw,38px); line-height: 1.2; letter-spacing: -.02em; text-wrap: pretty;
}
.cta-link {
  display: inline-flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .24em;
  text-transform: uppercase; color: #5b6a5e; border-bottom: 1px solid rgba(91,106,94,.4);
  padding-bottom: 8px; width: fit-content; transition: gap .5s cubic-bezier(.19,1,.22,1);
}
.cta-link:hover { gap: 22px; }

/* --- Quote / dark image section --- */
.quote-section { position: relative; min-height: 92svh; display: flex; align-items: center; overflow: hidden; background: #2B2E22; }
.quote-parallax { position: absolute; inset: -14% 0; will-change: transform; }
.quote-img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .52; transform: scale(1.1); transition: transform 2s cubic-bezier(.19,1,.22,1); }
.quote-scrim { position: absolute; inset: 0; background: linear-gradient(180deg,rgba(43,46,34,.62),rgba(43,46,34,.44) 50%,rgba(43,46,34,.72)); }
blockquote.quote-block { position: relative; margin: 0; padding: clamp(80px,14vh,170px) clamp(22px,7vw,120px); max-width: 1200px; }
.quote-text { margin: 0; font-family: Fraunces, serif; font-weight: 200; font-size: clamp(28px,4.6vw,74px); line-height: 1.12; letter-spacing: -.028em; color: #EEEAE0; text-wrap: pretty; }
.quote-attribution {
  margin-top: clamp(26px,4vh,48px); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: #c0c9c2;
}

/* --- Designprozess (04) --- */
.process-section { padding: clamp(90px,15vh,180px) clamp(22px,5vw,72px) clamp(48px,8vh,100px); }
.section-eyebrow--spaced { margin-bottom: clamp(30px,5vh,56px); }
.ablauf-lead { margin: 0 0 clamp(48px,8vh,96px); }
.ablauf-lead p { margin: 0; max-width: 52ch; font-size: clamp(14px,1.05vw,16px); line-height: 1.75; text-wrap: pretty; color: #2B2E22; }
.process-intro {
  margin: 0 0 clamp(52px,9vh,110px); max-width: 26ch; font-family: Fraunces, serif; font-weight: 300;
  font-size: clamp(24px,3.4vw,52px); line-height: 1.14; letter-spacing: -.025em; text-wrap: pretty;
}
.service-list.process-list {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
  gap: clamp(28px,3.4vw,44px) clamp(32px,4vw,56px); max-width: 1180px;
}
.service-list.process-list [data-row] { padding: clamp(18px,2.4vh,26px) 0 0; border-bottom: none; min-width: 0; }
.service-list.process-list [data-row] > span { min-width: 0; }
.service-list.process-list .service-title,
.service-list.process-list .service-desc { overflow-wrap: break-word; hyphens: auto; }

/* --- Kontakt (05) --- */
.contact-section { padding: clamp(48px,8vh,100px) clamp(22px,5vw,72px) clamp(90px,15vh,180px); }
.contact-layout {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: clamp(40px,5vw,96px); align-items: start; max-width: 1180px;
}
.contact-heading {
  margin: 0 0 clamp(24px,4vh,40px); font-family: Fraunces, serif; font-weight: 300; font-size: clamp(30px,5vw,72px);
  line-height: 1.1; letter-spacing: -.025em;
}
.contact-lead { margin: 0 0 20px; font-size: clamp(14px,1.05vw,16px); line-height: 1.65; color: #2B2E22; text-wrap: pretty; }

/* --- Footer contact info labels --- */
.contact-info-label { margin: 0 0 10px; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: #8B8A79; }
.contact-info-value { margin: 0; font-size: 15px; line-height: 1.7; }

/* --- Contact form --- */
[data-form] { display: flex; flex-direction: column; gap: 0; }
[data-form] label { display: block; border-bottom: 1px solid rgba(25,27,19,.2); padding: 18px 0; transition: border-color .5s ease; }
.form-label { display: block; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: #2B2E22; margin-bottom: 12px; }
[data-form] input, [data-form] textarea {
  width: 100%; border: 0; background: none; outline: none; font-family: Inter, sans-serif;
  font-size: 16px; color: #5b6a5e; padding: 0;
}
[data-form] textarea { resize: none; line-height: 1.6; }
[data-submit] {
  margin-top: 36px; align-self: flex-start; background: #2B2E22; color: #EEEAE0; border: 0;
  border-radius: 999px; padding: 20px 42px; font-family: Inter, sans-serif; font-size: 11px;
  letter-spacing: .24em; text-transform: uppercase;
  transition: background .6s ease, color .6s ease, transform .6s cubic-bezier(.19,1,.22,1);
}
[data-submit]:hover { background: #c0c9c2; transform: translateY(-2px); }
[data-form-note] { margin: 18px 0 0; font-size: 12px; color: #8B8A79; opacity: 0; transition: opacity .6s ease; }
.form-required-note { margin: 18px 0 0; font-size: 12px; color: #8B8A79; }
/* Honeypot-Feld gegen Spam-Bots: fuer Menschen unsichtbar (kein display:none/
   visibility:hidden, das ueberspringen einfache Bots gezielt), bleibt aber
   ausfuellbar, falls ein Bot blind alle Formularfelder befuellt. */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --- Footer --- */
.site-footer { background: #2B2E22; color: #EEEAE0; padding: clamp(60px,10vh,110px) clamp(22px,5vw,72px) clamp(30px,4vh,44px); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: clamp(32px,4vw,72px); padding-bottom: clamp(48px,8vh,96px); }
.footer-lead { margin: 0; font-family: Fraunces, serif; font-weight: 300; font-size: clamp(26px,3.4vw,46px); line-height: 1.15; letter-spacing: -.02em; max-width: 16ch; }
.footer-grid .contact-info-value a { color: #EEEAE0; }
.footer-grid .contact-info-value a:hover { color: #c0c9c2; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  border-top: 1px solid rgba(238,234,224,.16); padding-top: 26px;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #8B8A79;
}
.footer-bottom-links { display: flex; gap: 22px; }
.footer-bottom-links a { color: #8B8A79; }
.footer-bottom-links a:hover { color: #c0c9c2; }

/* --- "Nach oben"-Button --- */
/* Gleicher dunkler Grundton wie Menue-Overlay/Lightbox (25,27,19), aber
   stark transparent + Weichzeichner ("Frosted Glass") statt Vollflaeche --
   dadurch wirkt der Button ueber jedem Seitenabschnitt dezent statt hart. */
.to-top {
  position: fixed; right: clamp(20px,5vw,48px); bottom: clamp(20px,4vh,40px); z-index: 50;
  width: 52px; height: 52px; border-radius: 999px; border: 1px solid rgba(238,234,224,.14); padding: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(25,27,19,.42); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: #EEEAE0;
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .5s cubic-bezier(.19,1,.22,1), transform .5s cubic-bezier(.19,1,.22,1), background .6s ease;
}
.to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.to-top:hover { background: rgba(25,27,19,.62); transform: translateY(-2px); }
.to-top span { display: block; font-family: Inter, sans-serif; font-size: 16px; transform: rotate(-90deg); }
@media (prefers-reduced-motion: reduce) { .to-top { transition: opacity .3s ease; } .to-top:hover { transform: none; } }

/* --- Impressum / legal page --- */
.legal-page { max-width: 780px; margin: 0 auto; padding: 0 clamp(22px,5vw,72px) clamp(80px,10vh,120px); }
.legal-header {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 28px 0; border-bottom: 1px solid rgba(25,27,19,.14); margin-bottom: clamp(56px,10vh,120px);
}
.legal-logo { font-family: Fraunces, serif; font-weight: 400; font-size: 15px; letter-spacing: .3em; text-transform: uppercase; color: #5b6a5e; }
.legal-back { font-size: 12px; letter-spacing: .12em; color: #8B8A79; }
.legal-back:hover { color: #5b6a5e; }
.legal-title { margin: 16px 0 clamp(48px,8vh,88px); font-family: Fraunces, serif; font-weight: 300; font-size: clamp(38px,6vw,72px); letter-spacing: -.03em; }
.legal-block { padding: 28px 0; border-top: 1px solid rgba(25,27,19,.14); }
.legal-block:last-of-type { border-bottom: 1px solid rgba(25,27,19,.14); }
.legal-block h2 { margin: 0 0 12px; font-family: Fraunces, serif; font-weight: 300; font-size: clamp(19px,2vw,24px); letter-spacing: -.01em; }
.legal-block p { margin: 0; font-size: 14.5px; line-height: 1.75; color: #5b6a5e; }
/* --- 404: volle Breite mit Startseiten-Abstaenden statt der schmalen
       780px-Lesespalte der Rechtsseiten; ab 900px zweispaltig --- */
.notfound-page { min-height: 100svh; display: flex; flex-direction: column; padding: 0 clamp(22px,5vw,72px) clamp(28px,4vh,40px); }
.notfound-page .legal-header { margin-bottom: 0; }
.notfound-page .legal-footer { margin-top: 0; }
.notfound-main { flex: 1; display: grid; gap: clamp(48px,6vw,120px); align-items: center; padding: clamp(48px,9vh,110px) 0; }
@media (min-width: 900px) { .notfound-main { grid-template-columns: 1.15fr 1fr; } }
.notfound-title {
  margin: 16px 0 clamp(24px,4vh,40px); font-family: Fraunces, serif; font-weight: 300;
  font-size: clamp(40px,6.2vw,100px); line-height: 1.04; letter-spacing: -.03em;
}
.notfound-lead { margin: 0; max-width: 46ch; font-size: clamp(14px,1.05vw,16px); line-height: 1.75; color: #2B2E22; text-wrap: pretty; }
.notfound-logo { display: block; width: clamp(120px,12vw,170px); height: auto; margin: 0 0 clamp(32px,5vh,56px); }
.notfound-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.notfound-links a {
  display: inline-block; font-family: Fraunces, serif; font-weight: 300; font-size: clamp(22px,2.6vw,30px);
  line-height: 1.25; letter-spacing: -.015em; color: #2B2E22; transition: color .3s ease, transform .35s cubic-bezier(.19,1,.22,1);
}
.notfound-links a::after { content: " →"; color: #8B8A79; }
.notfound-links a:hover { color: #8B8A79; transform: translateX(6px); }
.notfound-contact a { color: #2B2E22; border-bottom: 1px solid rgba(43,46,34,.25); }
.notfound-contact a:hover { color: #8B8A79; }
.legal-footer {
  display: flex; justify-content: space-between; gap: 16px; margin-top: clamp(56px,8vh,96px);
  padding-top: 22px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #8B8A79;
}
.legal-footer a { color: #8B8A79; }
.legal-footer a:hover { color: #5b6a5e; }

/* --- Impressum on-page overlay --- */
.impressum-overlay {
  position: fixed; inset: 0; z-index: 200;
  visibility: hidden; opacity: 0;
  transition: opacity .35s ease, visibility 0s linear .35s;
}
.impressum-overlay.is-open {
  visibility: visible; opacity: 1;
  transition: opacity .35s ease, visibility 0s linear 0s;
}
.impressum-backdrop {
  position: absolute; inset: 0; background: rgba(25,27,19,.5);
}
.impressum-panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(92vw, 640px);
  background: #EEEAE0; overflow-y: auto;
  padding: clamp(70px,10vh,96px) clamp(28px,4vw,56px) 60px;
  transform: translateX(100%); transition: transform .45s cubic-bezier(.19,1,.22,1);
}
.impressum-overlay.is-open .impressum-panel { transform: translateX(0); }
.impressum-close {
  position: absolute; top: 24px; right: clamp(28px,4vw,56px);
  background: none; border: 0; font-size: 16px; color: #5b6a5e; cursor: pointer; padding: 8px;
}
.impressum-close:hover { color: #8B8A79; }
.impressum-panel .legal-title { margin: 16px 0 clamp(32px,5vh,56px); font-size: clamp(32px,5vw,52px); }
.impressum-panel .legal-block:first-of-type { border-top: none; padding-top: 8px; }

/* --- Project card gallery affordance --- */
[data-gallery] { cursor: pointer; }
[data-gallery]:focus-visible { outline: 2px solid #5b6a5e; outline-offset: 4px; }
.impressum-close:focus-visible { outline: 2px solid #5b6a5e; outline-offset: 2px; }
.gallery-overlay button:focus-visible { outline: 2px solid #EEEAE0; outline-offset: 2px; }
.project-count {
  position: absolute; bottom: 14px; right: 14px; z-index: 2;
  background: rgba(25,27,19,.55); color: #EEEAE0; font-size: 10.5px;
  letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
}

/* --- Project gallery lightbox --- */
.gallery-overlay {
  position: fixed; inset: 0; z-index: 220; background: rgba(25,27,19,.94);
  visibility: hidden; opacity: 0; transition: opacity .35s ease, visibility 0s linear .35s;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.gallery-overlay.is-open { visibility: visible; opacity: 1; transition: opacity .35s ease, visibility 0s linear 0s; }
.gallery-backdrop { position: absolute; inset: 0; }
.gallery-stage { position: relative; width: min(88vw, 1100px); height: min(78vh, 800px); display: flex; align-items: center; justify-content: center; }
.gallery-image { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.gallery-close {
  position: absolute; top: 22px; right: clamp(22px,4vw,48px); z-index: 2;
  background: none; border: 0; font-size: 18px; color: #EEEAE0; cursor: pointer; padding: 10px;
}
.gallery-close:hover { color: #c0c9c2; }
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  background: none; border: 0; font-size: 40px; line-height: 1; color: #EEEAE0; cursor: pointer;
  padding: 12px 18px; font-family: Fraunces, serif; font-weight: 300;
}
.gallery-nav:hover { color: #c0c9c2; }
.gallery-prev { left: clamp(6px,2vw,28px); }
.gallery-next { right: clamp(6px,2vw,28px); }
.gallery-caption {
  margin-top: 20px; display: flex; align-items: center; gap: 16px;
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #8B8A79;
}
.gallery-title { color: #EEEAE0; }

/* --- Footer credit / partner logo --- */
.footer-credit { display: flex; align-items: flex-start; }
.footer-credit-logo { width: clamp(120px,14vw,180px); height: auto; opacity: .92; }

