/* ==========================================================================
   CON—PROJEKT — Basis-Designsystem
   Warmes Anthrazit/Beige, ein Rost-Akzent, Editorial-Typografie.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,340;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400&family=Archivo:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&family=Caveat:wght@500;600&display=swap");

:root {
  --ink: #121212;
  --charcoal: #2a2a28;
  --stone: #6e6c67;
  --fog: #c7c4bd;
  --paper: #f4f2ed;
  --paper-dim: #eae7e0;
  --rust: #a8492f;

  --font-serif: "Fraunces", "Iowan Old Style", serif;
  --font-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", monospace;
  --font-hand: "Caveat", cursive;

  --container: 1400px;
  --gutter: clamp(1.25rem, 3.2vw, 4rem);
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; zoom: 0.8; scroll-behavior: smooth; scrollbar-color: var(--stone) var(--paper); scrollbar-width: thin; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  opacity: 0;
}
body.is-loaded { opacity: 1; transition: opacity 0.5s var(--ease); }
body.is-leaving { opacity: 0; transition: opacity 0.28s var(--ease); }

img { max-width: 100%; display: block; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, blockquote, p, figure { margin: 0; }
button { font: inherit; cursor: pointer; }

::selection { background: var(--rust); color: var(--paper); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--fog); border: 2px solid var(--paper); }
::-webkit-scrollbar-thumb:hover { background: var(--stone); }

/* ---- Grain overlay ---- */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- Layout helpers ---- */
.wrap { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.narrow { max-width: 640px; }
section { position: relative; }

.label-mono {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--stone);
}

.rule {
  border: none;
  border-top: 1px solid var(--fog);
  margin: 0;
}

/* ---- Reveal-on-scroll ---- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal="stagger"] > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal="stagger"].is-visible > * { opacity: 1; transform: translateY(0); }
[data-reveal="stagger"].is-visible > *:nth-child(1) { transition-delay: 0s; }
[data-reveal="stagger"].is-visible > *:nth-child(2) { transition-delay: 0.08s; }
[data-reveal="stagger"].is-visible > *:nth-child(3) { transition-delay: 0.16s; }
[data-reveal="stagger"].is-visible > *:nth-child(4) { transition-delay: 0.24s; }

/* ==========================================================================
   Header / Nav-Overlay
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: clamp(1.1rem, 2vw, 1.8rem) var(--gutter) 0;
  mix-blend-mode: difference;
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }

.wordmark {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.1rem, 1.28vw, 1.4rem);
  text-decoration: none;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.wordmark .dash { color: var(--rust); font-weight: 400; }
.site-header .wordmark { color: #fff; }

.menu-toggle {
  display: flex;
  align-items: center;
  gap: 0.6em;
  background: none;
  border: none;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.menu-toggle-arrow {
  display: inline-block;
  width: 0.8rem;
  height: 0.8rem;
  font-size: 0;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1V15M1 8H15' stroke='black' stroke-width='1.6' stroke-linecap='square'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1V15M1 8H15' stroke='black' stroke-width='1.6' stroke-linecap='square'/%3E%3C/svg%3E") no-repeat center / contain;
  transition: transform 0.4s var(--ease);
}
.menu-toggle[aria-expanded="true"] .menu-toggle-arrow { transform: rotate(45deg); }

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 490;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.45s var(--ease), visibility 0.45s var(--ease);
}
.nav-overlay.is-open { visibility: visible; opacity: 1; }
.nav-overlay-inner {
  width: 100%;
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 6.4vh, 5rem);
}
.nav-list li {
  display: flex;
  align-items: baseline;
  gap: clamp(1rem, 2.4vw, 2.5rem);
  padding: 0.35em 0;
  border-bottom: 1px solid rgba(244, 242, 237, 0.15);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.nav-overlay.is-open .nav-list li { opacity: 1; transform: translateY(0); }
.nav-overlay.is-open .nav-list li:nth-child(1) { transition-delay: 0.08s; }
.nav-overlay.is-open .nav-list li:nth-child(2) { transition-delay: 0.14s; }
.nav-overlay.is-open .nav-list li:nth-child(3) { transition-delay: 0.2s; }
.nav-overlay.is-open .nav-list li:nth-child(4) { transition-delay: 0.26s; }
.nav-list .nav-num { font-family: var(--font-mono); color: var(--fog); font-size: 1rem; }
.nav-list a {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4.4vw, 3.6rem);
  text-decoration: none;
  color: var(--paper);
  transition: color 0.3s;
}
.nav-list a:hover { color: var(--fog); }
.nav-overlay-footer {
  display: flex;
  gap: clamp(1.5rem, 3.2vw, 3rem);
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--fog);
}
.nav-overlay-footer a { color: var(--fog); text-decoration: none; }
.nav-overlay-footer a:hover { color: var(--paper); }

/* ==========================================================================
   Buttons / Links
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.95em 1.7em;
  border: 1px solid var(--ink);
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  overflow: hidden;
  z-index: 0;
  background: transparent;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
  z-index: -1;
}
.btn:hover::before { transform: scaleX(1); }
.btn:hover { color: var(--paper); }
.icon-lead {
  display: inline-block;
  width: 0.85rem;
  height: 0.6rem;
  font-size: 0;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M0 5H11M6 1L11 5L6 9' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='square'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M0 5H11M6 1L11 5L6 9' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='square'/%3E%3C/svg%3E") no-repeat center / contain;
}
.btn-arrow { transition: transform 0.3s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(5px); }
.btn.btn-ghost { border-color: var(--fog); color: var(--stone); }

.text-link {
  position: relative;
  text-decoration: none;
  color: var(--ink);
  padding-bottom: 0.15em;
  background-image: linear-gradient(var(--ink), var(--ink));
  background-repeat: no-repeat;
  background-size: 100% 1px;
  background-position: 0 100%;
  transition: background-size 0.35s var(--ease);
}
.text-link:hover { background-size: 0% 1px; }

/* ==========================================================================
   Platzhalter-Fotos (ersetzen später die echten Aufnahmen)
   Echte Bilder statt Deko-Flächen, per Graustufen-Filter auf das
   Grau/Anthrazit der Palette vereinheitlicht — sichtbare Kante +
   Passepartout-Rahmen, damit klar bleibt: hier kommt noch das echte Foto.
   ========================================================================== */
.placeholder-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(244, 242, 237, 0.9);
  overflow: hidden;
  border: 1px solid var(--ink);
  box-shadow: 0 0 0 6px var(--paper);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  filter: saturate(0.9) contrast(1.05) brightness(0.96);
  text-shadow: 0 1px 4px rgba(0,0,0,0.85), 0 0 14px rgba(0,0,0,0.55);
}
.placeholder-img::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--charcoal);
  opacity: 0.22;
  mix-blend-mode: multiply;
}
.placeholder-img::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.14;
  mix-blend-mode: overlay;
  background-image: radial-gradient(circle, rgba(244,242,237,0.9) 1px, transparent 1.3px);
  background-size: 6px 6px;
}
.ph-warm { background-image: url("https://picsum.photos/seed/con-projekt-a/1200/900"); }
.ph-stone { background-image: url("https://picsum.photos/seed/con-projekt-b/1200/900"); }
.ph-charcoal { background-image: url("https://picsum.photos/seed/con-projekt-c/1200/900"); }
.ph-clay { background-image: url("https://picsum.photos/seed/con-projekt-d/1200/900"); }
.ph-fog { background-image: url("https://picsum.photos/seed/con-projekt-e/1200/900"); }
.ph-moss { background-image: url("https://picsum.photos/seed/con-projekt-f/1200/900"); }

/* Objekt Nr. 01 — Gadebusch: echte Aufnahmen */
.ph-gadebusch-vorher { background-image: url("../images/gadebusch-vorher.jpg"); }
.ph-gadebusch-nachher { background-image: url("../images/gadebusch-nachher.jpg"); }
.ph-gadebusch-nachher-wide { background-image: url("../images/gadebusch-nachher-wide.jpg"); }

.is-tilted { transform: rotate(-2deg); }
.is-tilted-r { transform: rotate(1.4deg); }

/* Handschriftliche Randnotiz */
.scribble {
  font-family: var(--font-hand);
  font-size: clamp(1.1rem, 1.6vw, 1.5rem);
  color: var(--rust);
  transform: rotate(-3deg);
  display: inline-block;
}

/* ==========================================================================
   Hero — bewusst asymmetrisch: Bild überlappt den Textblock und läuft
   über die Sektionsgrenze hinaus, statt sauber im Raster zu sitzen.
   ========================================================================== */
.hero {
  position: relative;
  min-height: 125vh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(7rem, 14.4vh, 11rem);
  padding-bottom: clamp(7rem, 14.4vh, 11rem);
  overflow: visible;
}
.hero-text {
  position: relative;
  z-index: 2;
  max-width: 90%;
}
.hero-headline {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 5.2vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
}
.hero-headline em {
  font-style: normal;
  font-weight: 300;
  color: var(--ink);
}
.hero-note {
  margin-top: 1.6rem;
  margin-left: 0.4em;
}
.hero-subline {
  display: block;
  margin-top: 1.2rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.1rem, 2.2vw, 1.7rem);
  color: var(--stone);
}
@media (max-width: 900px) {
  .hero { padding-bottom: clamp(3rem, 6.4vh, 5rem); }
  .hero-text { max-width: 100%; }
}

/* ==========================================================================
   Teaser-Objekte (versetztes Raster)
   ========================================================================== */
.teaser-objekte { padding-top: clamp(5rem, 9.6vh, 8rem); padding-bottom: clamp(5rem, 9.6vh, 8rem); }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 4.8vh, 4rem);
  flex-wrap: wrap;
}
.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3.04vw, 2.7rem);
  font-weight: 400;
}
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
}
.teaser-card { position: relative; text-decoration: none; color: var(--ink); display: block; }
.teaser-card.is-large { grid-column: span 4; }
.teaser-card.is-small { grid-column: span 2; }
.teaser-card .teaser-frame { overflow: hidden; margin-bottom: 1rem; }
.teaser-card .teaser-frame .placeholder-img { transition: transform 0.6s var(--ease); }
.teaser-card:hover .teaser-frame .placeholder-img { transform: scale(1.045); }
.teaser-frame.is-loose { overflow: visible; }
.teaser-frame.is-loose .placeholder-img { width: 92%; }
.teaser-card:hover .teaser-frame.is-loose .placeholder-img { transform: rotate(1.4deg) scale(1.045); }
.teaser-offset { margin-top: clamp(1.5rem, 3.2vw, 2.6rem); }
.teaser-meta { display: flex; align-items: baseline; gap: 0.9rem; }
.teaser-num { font-family: var(--font-mono); color: var(--charcoal); font-size: 0.85rem; }
.teaser-name { font-family: var(--font-serif); font-size: clamp(1.05rem, 1.36vw, 1.4rem); }
.teaser-cat { margin-top: 0.3rem; }

@media (max-width: 900px) {
  .teaser-grid { grid-template-columns: 1fr; }
  .teaser-card.is-large, .teaser-card.is-small { grid-column: span 1; }
}

/* ==========================================================================
   Zitat-Sektion
   ========================================================================== */
.quote-section {
  padding: clamp(7rem, 16vh, 12rem) 0;
  display: flex;
  justify-content: center;
  text-align: center;
}
.quote-section blockquote {
  max-width: 15ch;
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.8rem, 3.84vw, 3.6rem);
  line-height: 1.12;
}
.quote-section cite {
  display: block;
  margin-top: 2rem;
  font-style: normal;
}

/* ==========================================================================
   CTA-Sektion
   ========================================================================== */
.cta-section {
  padding-top: clamp(5rem, 9.6vh, 8rem);
  padding-bottom: clamp(5rem, 9.6vh, 8rem);
  border-top: 1px solid var(--fog);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3.2vw, 2.8rem);
  font-weight: 400;
  max-width: 14ch;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(3.5rem, 7.2vh, 6rem) 0 1.5rem;
}
.footer-top { margin-bottom: clamp(3rem, 6.4vh, 5rem); }
.footer-wordmark {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.8vw, 4.6rem);
  text-decoration: none;
  color: var(--paper);
  display: inline-block;
}
.footer-wordmark .dash { color: var(--rust); }
.footer-tagline {
  margin-top: 1.2rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.6vw, 1.5rem);
  color: var(--fog);
  max-width: 30ch;
}
.footer-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(244,242,237,0.15);
}
.footer-meta .label-mono { color: var(--stone); display: block; margin-bottom: 0.9rem; }
.footer-meta div { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-meta a, .footer-meta span.value { color: var(--fog); text-decoration: none; font-size: 0.95rem; }
.footer-meta a:hover { color: var(--paper); }
.footer-bottom {
  margin-top: clamp(2.5rem, 4.8vh, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(244,242,237,0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom .label-mono { color: var(--stone); }
.to-top { display: inline-flex; align-items: center; gap: 0.5em; background: none; border: none; color: var(--fog); font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }
.to-top:hover { color: var(--paper); }
.to-top .icon-lead { transform: rotate(-90deg); transition: transform 0.3s var(--ease); }
.to-top:hover .icon-lead { transform: rotate(-90deg) translateX(5px); }

@media (max-width: 700px) {
  .footer-meta { grid-template-columns: 1fr; gap: 1.6rem; }
}

/* ==========================================================================
   Objekte-Übersicht
   ========================================================================== */
.objekte-header { padding-top: clamp(7rem, 14.4vh, 10rem); padding-bottom: clamp(2rem, 4vh, 3rem); }
.objekte-header h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 4.4vw, 4.2rem);
  line-height: 1.02;
  max-width: 16ch;
}
.filter-bar {
  display: flex;
  gap: clamp(1.2rem, 2.4vw, 2.2rem);
  flex-wrap: wrap;
  padding: 1.5rem 0;
  border-top: 1px solid var(--fog);
  border-bottom: 1px solid var(--fog);
}
.filter-list { display: flex; gap: inherit; flex-wrap: wrap; }
.filter-list button {
  background: none;
  border: none;
  position: relative;
  color: var(--stone);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding-bottom: 0.3em;
}
.filter-list button::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.filter-list button:hover::after, .filter-list button.is-active::after { transform: scaleX(1); }
.filter-list button.is-active { color: var(--ink); }

.objekt-list { padding: 1rem 0 4rem; position: relative; }
.objekt-row {
  display: grid;
  grid-template-columns: 3rem 1fr auto auto auto;
  align-items: baseline;
  gap: clamp(1rem, 2.4vw, 2.5rem);
  padding: clamp(1.3rem, 2.4vh, 2rem) 0;
  border-bottom: 1px solid var(--fog);
  text-decoration: none;
  color: var(--ink);
  position: relative;
}
.objekt-row .objekt-num { font-family: var(--font-mono); color: var(--charcoal); font-size: 0.95rem; }
.objekt-row .objekt-name {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.72vw, 2.6rem);
  transition: transform 0.35s var(--ease), color 0.3s;
}
.objekt-row:hover .objekt-name { transform: translateX(0.35em); color: var(--charcoal); }
.objekt-row .objekt-cat, .objekt-row .objekt-year, .objekt-row .objekt-loc {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--stone);
  white-space: nowrap;
}
@media (max-width: 800px) {
  .objekt-row { grid-template-columns: 2rem 1fr; row-gap: 0.4rem; }
  .objekt-row .objekt-cat, .objekt-row .objekt-year, .objekt-row .objekt-loc { grid-column: 2; }
}

.hover-preview {
  position: fixed;
  top: 0; left: 0;
  width: 280px;
  height: 190px;
  pointer-events: none;
  z-index: 400;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  overflow: hidden;
}
.hover-preview.is-active { opacity: 1; transform: translate(-50%, -50%) scale(1); }
@media (max-width: 900px) { .hover-preview { display: none; } }

/* Custom cursor */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 72px; height: 72px;
  margin: -36px 0 0 -36px;
  border-radius: 50%;
  border: 1px solid var(--paper);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 401;
  mix-blend-mode: difference;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.cursor-dot.is-active { opacity: 1; transform: scale(1); }
@media (max-width: 900px) { .cursor-dot { display: none; } }

/* ==========================================================================
   Objekt-Detail
   ========================================================================== */
.objekt-hero { padding-top: clamp(7rem, 14.4vh, 10rem); padding-bottom: clamp(3rem, 6.4vh, 5rem); }
.objekt-hero .objekt-num { font-family: var(--font-mono); color: var(--stone); font-size: 1.1rem; display: block; margin-bottom: 1rem; }
.objekt-hero h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.8vw, 5rem);
  line-height: 0.98;
  max-width: 18ch;
}
.fact-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(2rem, 4.8vw, 5rem);
  margin-top: clamp(2.5rem, 4.8vh, 4rem);
  padding-top: clamp(1.5rem, 3.2vh, 2.5rem);
  border-top: 1px solid var(--fog);
}
.fact-row div { display: flex; flex-direction: column; gap: 0.4rem; }
.fact-row .fact-value { font-family: var(--font-serif); font-size: clamp(1.2rem, 1.76vw, 1.6rem); }

.objekt-story { padding-top: clamp(3rem, 6.4vh, 5rem); padding-bottom: clamp(3rem, 6.4vh, 5rem); }
.objekt-story p { margin-bottom: 1.4em; font-size: 1.05rem; color: var(--charcoal); }
.objekt-story p:last-child { margin-bottom: 0; }

/* Vorher/Nachher-Slider */
.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  touch-action: pan-y;
}
.ba-slider .ba-layer { position: absolute; inset: 0; }
.ba-slider .ba-after { z-index: 1; }
.ba-slider .ba-before { z-index: 2; will-change: clip-path; }
.ba-slider .placeholder-img { height: 100%; }
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.ba-handle-line { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--paper); }
.ba-handle-grip {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--paper);
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.ba-handle-grip::before, .ba-handle-grip::after {
  content: "";
  position: absolute;
  width: 6px; height: 1px;
  background: var(--paper);
}
.ba-handle-grip::before { transform: translateX(-4px); }
.ba-handle-grip::after { transform: translateX(4px); }
.ba-label {
  position: absolute;
  top: 1.2rem;
  z-index: 4;
  color: var(--paper);
  transition: opacity 0.25s var(--ease);
}
.ba-label-before { left: 1.4rem; }
.ba-label-after { right: 1.4rem; }
.ba-caption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

/* Planzeichnung unter dem Vorher/Nachher-Slider */
.plan-figure {
  margin: clamp(3rem, 5.6vh, 5rem) 0 0;
  max-width: 420px;
}
.plan-figure .plan-frame {
  border: 1px solid var(--ink);
  box-shadow: 0 0 0 6px var(--paper);
  background: #fff;
  overflow: hidden;
}
.plan-figure img {
  display: block;
  width: 100%;
  height: auto;
}
.plan-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.objekt-quote { padding: clamp(6rem, 12.8vh, 9rem) 0; text-align: center; }
.objekt-quote blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.5rem, 2.88vw, 2.5rem);
  max-width: 22ch;
  margin: 0 auto;
  line-height: 1.2;
}
.objekt-next {
  padding-top: clamp(3rem, 6.4vh, 5rem);
  padding-bottom: clamp(5rem, 8vh, 7rem);
  border-top: 1px solid var(--fog);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  text-decoration: none;
  color: var(--ink);
}
.objekt-next .next-label { display: block; margin-bottom: 0.6rem; }
.objekt-next .next-name {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  transition: transform 0.35s var(--ease);
}
.objekt-next:hover .next-name { transform: translateX(0.3em); color: var(--charcoal); }
.objekt-next .next-arrow { width: 1.1rem; height: 0.75rem; transition: transform 0.35s var(--ease); }
.objekt-next:hover .next-arrow { transform: translateX(6px); }

/* ==========================================================================
   Über / Philosophie
   ========================================================================== */
.ueber-hero { padding-top: clamp(7rem, 14.4vh, 10rem); padding-bottom: clamp(3rem, 4.8vh, 4rem); }
.ueber-hero h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 4.4vw, 4rem);
  max-width: 18ch;
  line-height: 1.05;
}
.ueber-body { padding-top: clamp(2rem, 4.8vh, 4rem); padding-bottom: clamp(2rem, 4.8vh, 4rem); }
.ueber-body p { font-size: 1.08rem; color: var(--charcoal); margin-bottom: 1.5em; }
.ueber-image { margin: clamp(3rem, 6.4vh, 5rem) 0; }
.ueber-image.is-wide { margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); width: auto; }

.principles { padding-top: clamp(5rem, 9.6vh, 8rem); padding-bottom: clamp(5rem, 9.6vh, 8rem); border-top: 1px solid var(--fog); }
.principle {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: clamp(1rem, 2.4vw, 2.5rem);
  padding: clamp(2.5rem, 4.8vh, 4rem) 0;
  border-bottom: 1px solid var(--fog);
}
.principle:first-child { padding-top: 0; }
.principle .p-num { font-family: var(--font-mono); font-size: 1.1rem; color: var(--stone); }
.principle p { font-family: var(--font-serif); font-size: clamp(1.2rem, 2vw, 1.7rem); max-width: 22ch; line-height: 1.25; }
@media (max-width: 640px) { .principle { grid-template-columns: 1fr; gap: 0.6rem; } }

/* ==========================================================================
   Kontakt
   ========================================================================== */
.kontakt-hero { padding-top: clamp(7rem, 14.4vh, 10rem); padding-bottom: clamp(2rem, 4vh, 3rem); }
.kontakt-hero h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 4.4vw, 4.2rem);
  max-width: 18ch;
  line-height: 1.05;
}
.kontakt-direct {
  padding: clamp(2rem, 4vh, 3rem) 0 clamp(4rem, 6.4vh, 5rem);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  border-bottom: 1px solid var(--fog);
}
.kontakt-direct a {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.56vw, 2.2rem);
  text-decoration: none;
  width: fit-content;
  position: relative;
}
.kontakt-direct a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0.06em;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.kontakt-direct a:hover::after { transform: scaleX(1); }

.kontakt-form { padding-top: clamp(4rem, 7.2vh, 6rem); padding-bottom: clamp(4rem, 7.2vh, 6rem); }
.form-row { margin-bottom: clamp(2rem, 4vh, 3rem); }
.form-row label {
  display: block;
  margin-bottom: 0.7rem;
}
.form-row input, .form-row textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--stone);
  background: transparent;
  padding: 0.6rem 0;
  font-family: var(--font-sans);
  font-size: 1.15rem;
  color: var(--ink);
  transition: border-color 0.3s;
  resize: vertical;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--ink);
}
.form-note { margin-top: 1rem; font-family: var(--font-mono); font-size: 0.8rem; color: var(--stone); display: none; }
.form-note.is-visible { display: block; }

/* ==========================================================================
   Rechtstexte (Impressum / Datenschutz)
   ========================================================================== */
.legal-hero { padding-top: clamp(7rem, 14.4vh, 9rem); padding-bottom: clamp(2rem, 4vh, 3rem); }
.legal-hero h1 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2rem, 4vw, 3.2rem); }
.legal-body { padding-top: clamp(2rem, 4vh, 3rem); padding-bottom: clamp(6rem, 9.6vh, 8rem); }
.legal-block { padding: clamp(2rem, 4vh, 2.6rem) 0; border-bottom: 1px solid var(--fog); }
.legal-block:first-child { padding-top: 0; }
.legal-block h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 1.92vw, 1.7rem);
  margin-bottom: 1rem;
}
.legal-block p, .legal-block li { color: var(--charcoal); margin-bottom: 0.8em; max-width: 68ch; }
.legal-block strong { color: var(--ink); }
.legal-block ul { margin: 0 0 1.2em; padding-left: 1.3em; list-style: disc; }
.legal-block ul li { margin-bottom: 0.5em; }
.ph-tag { color: var(--stone); font-style: italic; font-family: var(--font-sans); font-size: 0.95em; }

/* ==========================================================================
   Utility
   ========================================================================== */
.mt-0 { margin-top: 0; }
@media (max-width: 900px) {
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
