@font-face { font-family: "Fraunces"; src: url("schrift/fraunces-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("schrift/fraunces-latin-wght-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("schrift/hanken-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --wand: #EFEBE4;
  --wand-tief: #E5E0D7;
  --tinte: #17140F;
  --tinte-2: #3B352D;
  --ultramarin: #1F33B5;
  --ultramarin-tief: #16258A;
  --nacht: #0E0D0B;
  --nacht-text: #F4F1EA;
  --nacht-text-2: #D9D3C7;
  --kurve: cubic-bezier(.22, 1, .36, 1);
  --rand: clamp(20px, 5vw, 72px);
  --titel: "Fraunces", Georgia, serif;
  --text: "Hanken Grotesk", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--wand); color: var(--tinte);
  font-family: var(--text); font-size: clamp(17px, 1.05vw + 12px, 19px); line-height: 1.6; font-weight: 450;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; touch-action: manipulation; }
h1, h2, h3 { font-family: var(--titel); font-weight: 300; line-height: 1.02; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--ultramarin); outline-offset: 3px; }
.sprung { position: absolute; left: -9999px; top: 8px; background: var(--tinte); color: var(--wand); padding: 10px 16px; z-index: 100; }
.sprung:focus { left: 8px; }

.kleinzeile { font-size: 15px; font-weight: 600; letter-spacing: 0.04em; margin-bottom: 18px; }

/* Knöpfe */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border: 2px solid var(--ultramarin); border-radius: 999px;
  background: var(--ultramarin); color: #fff; font-weight: 600; font-size: 17px; text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--kurve), color .25s var(--kurve), transform .25s var(--kurve);
}
.knopf:hover { background: var(--ultramarin-tief); border-color: var(--ultramarin-tief); }
.knopf:active { transform: scale(.98); }
.knopf-hell { background: var(--nacht-text); border-color: var(--nacht-text); color: var(--nacht); }
.knopf-hell:hover { background: #fff; border-color: #fff; }
.knopf-linie { background: transparent; color: var(--ultramarin); }
.knopf-linie:hover { background: var(--ultramarin); color: #fff; }
.knopf-linie-hell { background: transparent; border-color: var(--nacht-text); color: var(--nacht-text); }
.knopf-linie-hell:hover { background: var(--nacht-text); color: var(--nacht); }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Kopf */
.kopf {
  position: fixed; inset: 0 0 auto 0; z-index: 40; display: flex; align-items: center; justify-content: space-between;
  padding: 20px var(--rand); color: var(--nacht-text);
  transition: background-color .4s var(--kurve), color .4s var(--kurve), padding .4s var(--kurve), transform .4s var(--kurve);
}
.kopf.fest { background: rgba(239, 235, 228, .94); color: var(--tinte); padding-top: 12px; padding-bottom: 12px; box-shadow: 0 1px 0 rgba(23,20,15,.08); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.marke { font-family: var(--titel); font-size: 22px; font-weight: 500; text-decoration: none; letter-spacing: 0; }
.navigation { display: flex; gap: clamp(18px, 2.4vw, 36px); align-items: center; }
.navigation a { text-decoration: none; font-weight: 550; font-size: 16px; padding: 8px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .3s var(--kurve); }
.navigation a:hover { background-size: 100% 2px; }
.nav-anfrage { border: 2px solid currentColor; border-radius: 999px; padding: 8px 18px !important; background: none !important; }
.menue-knopf { display: none; }

/* Einstieg */
.einstieg { position: relative; min-height: 100svh; background: var(--nacht); color: var(--nacht-text); overflow: hidden; display: flex; align-items: flex-end; }
.einstieg-bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% 40%; transform: scale(1.06); transition: transform 1.8s var(--kurve); }
.geladen .einstieg-bild { transform: scale(1); }
.einstieg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,13,11,.86) 0%, rgba(14,13,11,.55) 38%, rgba(14,13,11,0) 70%), linear-gradient(0deg, rgba(14,13,11,.7) 0%, rgba(14,13,11,0) 45%); }
.einstieg-text { position: relative; z-index: 1; padding: 0 var(--rand) clamp(48px, 10vh, 110px); max-width: 920px; }
.einstieg h1 { font-size: clamp(56px, 10.5vw, 168px); font-weight: 300; margin-bottom: 24px; font-variation-settings: "SOFT" 50, "WONK" 1; }
.einstieg-unterzeile { font-size: clamp(18px, 1.5vw, 22px); max-width: 34ch; color: var(--nacht-text); margin-bottom: 32px; }
.auftritt { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--kurve), transform 1.1s var(--kurve); }
.geladen .auftritt { opacity: 1; transform: none; }
.geladen .auftritt:nth-child(2) { transition-delay: .08s; }
.geladen .auftritt:nth-child(3) { transition-delay: .16s; }
.geladen .auftritt:nth-child(4) { transition-delay: .24s; }

/* Erscheinen beim Scrollen */
.zeige { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--kurve), transform .9s var(--kurve); }
.zeige.da { opacity: 1; transform: none; }

/* Haltung */
.haltung { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 6vw, 110px); padding: clamp(96px, 14vw, 200px) var(--rand) clamp(72px, 10vw, 140px); align-items: end; }
.zitat { font-size: clamp(36px, 4.6vw, 76px); font-style: italic; font-weight: 300; line-height: 1.08; }
.haltung-text { color: var(--tinte-2); font-weight: 500; max-width: 48ch; }

/* Hauptwerk */
.hauptwerk { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(32px, 5vw, 80px); padding: 0 var(--rand) clamp(96px, 12vw, 180px); align-items: center; }
.hauptwerk h2 { font-size: clamp(52px, 6.5vw, 110px); margin-bottom: 14px; }
.hauptwerk-text { max-width: 46ch; }
.hauptwerk-text > p:not(.kleinzeile):not(.werkdaten) { color: var(--tinte-2); font-weight: 500; }
.werkdaten { font-weight: 600; font-size: 16px; margin-bottom: 22px; font-variant-numeric: tabular-nums; }
.bild-knopf { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; width: 100%; }
.hauptwerk-bild { margin: 0; }
.hauptwerk-bild img { width: 100%; box-shadow: 0 30px 60px -30px rgba(23,20,15,.45); }

/* Werke */
.werke { padding: clamp(80px, 10vw, 150px) var(--rand); background: var(--wand-tief); }
.werke-kopf { max-width: 760px; margin-bottom: 36px; }
.werke h2 { font-size: clamp(56px, 8vw, 132px); margin-bottom: 18px; }
.werke-einleitung { color: var(--tinte-2); font-weight: 500; }
.filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(36px, 5vw, 64px); }
.filter-knopf { min-height: 46px; padding: 0 20px; border-radius: 999px; border: 2px solid var(--tinte); background: transparent; font-weight: 600; font-size: 16px; cursor: pointer; transition: background-color .25s var(--kurve), color .25s var(--kurve); }
.filter-knopf:hover { background: rgba(23,20,15,.07); }
.filter-knopf.aktiv { background: var(--tinte); color: var(--wand); }
.anzahl { font-variant-numeric: tabular-nums; font-weight: 500; }
.raster { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(20px, 3vw, 48px); align-items: flex-start; }
.raster .spalte { flex: 1 1 0; min-width: 0; }
.raster ul { list-style: none; margin: 0; padding: 0; }
.raster ul li { margin: 0 0 clamp(36px, 4vw, 60px); }
.karte { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: zoom-in; }
.karte-bild { overflow: hidden; background: #d8d2c7; }
.karte-bild img { width: 100%; transition: transform .8s var(--kurve); }
.karte:hover .karte-bild img { transform: scale(1.035); }
.karte-titel { font-family: var(--titel); font-size: 24px; font-weight: 500; margin: 14px 0 2px; line-height: 1.2; }
.karte-daten { font-size: 15px; font-weight: 550; color: var(--tinte-2); margin: 0; }

/* Ganz nah */
.nah { background: var(--nacht); color: var(--nacht-text); padding: clamp(80px, 10vw, 150px) var(--rand); }
.nah-kopf { max-width: 680px; margin-bottom: 44px; }
.nah h2 { font-size: clamp(52px, 7vw, 120px); margin-bottom: 18px; }
.nah-kopf p { color: var(--nacht-text-2); font-weight: 500; }
.filme { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.film { margin: 0; }
.film video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #1b1915; }
.film figcaption { margin-top: 14px; font-size: 15px; font-weight: 550; color: var(--nacht-text-2); }

/* Atelier */
.atelier { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 100px); padding: clamp(96px, 12vw, 180px) var(--rand); align-items: center; }
.atelier h2 { font-size: clamp(48px, 6vw, 100px); margin-bottom: 28px; }
.atelier-text p { color: var(--tinte-2); font-weight: 500; max-width: 46ch; }
.atelier-text p:first-of-type { color: var(--tinte); font-size: 1.15em; }
.atelier-bilder { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.atelier-bilder img:last-child { margin-top: 22%; }

/* Ausstellungen */
.ausstellungen { padding: 0 var(--rand) clamp(96px, 12vw, 170px); }
.ausstellungen h2 { font-size: clamp(44px, 5.5vw, 88px); margin-bottom: 36px; }
.liste-ausstellungen { list-style: none; margin: 0; padding: 0; max-width: 980px; }
.liste-ausstellungen li { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 28px 0; border-top: 2px solid var(--tinte); }
.liste-ausstellungen .jahr { font-family: var(--titel); font-size: 30px; font-weight: 400; font-variant-numeric: tabular-nums; }
.liste-ausstellungen h3 { font-size: 30px; font-weight: 500; margin-bottom: 10px; }
.liste-ausstellungen p { color: var(--tinte-2); font-weight: 500; margin: 0; max-width: 60ch; }

/* Anfrage */
.anfrage { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 100px); padding: clamp(80px, 10vw, 150px) var(--rand); background: var(--wand-tief); color: var(--tinte); }
.anfrage h2 { font-size: clamp(48px, 6vw, 100px); margin-bottom: 26px; }
.anfrage-text p { color: var(--tinte-2); font-weight: 500; max-width: 42ch; }
.zusagen { list-style: none; padding: 0; margin: 28px 0 0; max-width: 420px; }
.zusagen li { padding: 14px 0; border-top: 2px solid var(--tinte); font-weight: 600; }
.formular { display: flex; flex-direction: column; }
.formular label { font-weight: 650; font-size: 16px; margin: 0 0 8px; }
.formular .frei { font-weight: 500; color: var(--tinte-2); }
.formular input, .formular select, .formular textarea {
  font: inherit; font-size: 17px; color: var(--tinte); background: #FBFAF7; border: 2px solid var(--tinte); border-radius: 6px;
  padding: 13px 14px; margin-bottom: 22px; width: 100%;
}
.formular input:focus, .formular select:focus, .formular textarea:focus { outline: 3px solid var(--ultramarin); outline-offset: 2px; }
.formular [aria-invalid="true"] { border-color: #B3261E; }
.formular .knopf { align-self: flex-start; }
.formular-fehler { background: #FBE3DF; color: #5A1208; border: 2px solid #B3261E; padding: 12px 14px; border-radius: 6px; font-weight: 600; }
.formular-hinweis { margin-top: 18px; font-size: 15px; color: var(--tinte-2); font-weight: 500; }

/* Fuss */
.fuss { display: grid; grid-template-columns: 1fr auto; gap: 28px 40px; padding: 56px var(--rand) 40px; background: var(--nacht); color: var(--nacht-text); }
.fuss p { margin: 0 0 6px; color: var(--nacht-text-2); font-weight: 500; }
.fuss .fuss-marke { font-family: var(--titel); font-size: 28px; color: var(--nacht-text); }
.fuss nav { display: flex; flex-wrap: wrap; gap: 10px 26px; align-content: start; justify-content: flex-end; }
.fuss nav a { text-decoration: none; font-weight: 550; }
.fuss nav a:hover { text-decoration: underline; }
.fuss-recht { grid-column: 1 / -1; font-size: 15px; padding-top: 20px; border-top: 1px solid rgba(244,241,234,.25); }

/* Feste Leiste auf dem Handy */
.mobil-leiste { display: none; }

/* Grossansicht */
.gross { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--nacht); color: var(--nacht-text); }
.gross[open] { display: grid; grid-template-columns: 1fr minmax(300px, 380px); }
.gross::backdrop { background: var(--nacht); }
.gross-buehne { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 64px 72px; min-height: 0; }
.gross-bildflaeche { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; cursor: zoom-in; touch-action: pinch-zoom pan-y; }
.gross-bildflaeche img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: transform .45s var(--kurve), opacity .35s var(--kurve); transform-origin: 50% 50%; }
.gross-bildflaeche.zoom { cursor: zoom-out; }
.gross-bildflaeche.zoom img { transform: scale(2.6); transition: transform .45s var(--kurve); }
.gross-info { padding: 72px 36px 36px 8px; overflow-y: auto; }
.gross-info h2 { font-size: clamp(38px, 3.4vw, 56px); font-weight: 400; margin-bottom: 12px; }
.gross-info .werkdaten { color: var(--nacht-text); }
.gross-text p { color: var(--nacht-text-2); font-weight: 500; font-size: 17px; }
.gross-zusage { font-weight: 600; margin-top: 18px; }
.gross-tipp { font-size: 15px; color: var(--nacht-text-2); margin-top: 22px; font-weight: 500; }
.gross-zu { position: absolute; top: 14px; right: 18px; width: 52px; height: 52px; border-radius: 50%; border: 2px solid rgba(244,241,234,.5); background: rgba(14,13,11,.6); font-size: 30px; line-height: 1; cursor: pointer; color: var(--nacht-text); }
.gross-pfeil { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 2px solid rgba(244,241,234,.5); background: rgba(14,13,11,.6); font-size: 32px; line-height: 1; cursor: pointer; color: var(--nacht-text); }
.gross-zurueck { left: 12px; }
.gross-weiter { right: calc(min(380px, 100%) + 12px); }
.gross-zu:hover, .gross-pfeil:hover { background: var(--nacht-text); color: var(--nacht); }

/* Grösse im Raum */
.raum { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 64px 72px 40px; background: var(--nacht); }
.raum-wand { position: relative; width: 100%; max-width: 1100px; aspect-ratio: 16 / 9; background: linear-gradient(180deg, #E9E4DB 0%, #DDD6CA 100%); overflow: hidden; }
.raum-boden { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(180deg, #8C7458, #6E5940); }
.raum-werk { position: absolute; background-size: cover; background-position: center; box-shadow: 0 18px 30px -12px rgba(0,0,0,.45), 0 2px 4px rgba(0,0,0,.25); transition: all .6s var(--kurve); }
.raum-sofa { position: absolute; }
.raum-hinweis { margin-top: 16px; font-weight: 550; color: var(--nacht-text-2); font-size: 16px; text-align: center; }

/* Tablet */
@media (max-width: 1000px) {
  .haltung, .hauptwerk, .atelier, .anfrage { grid-template-columns: 1fr; }
  .gross[open] { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .gross-info { padding: 20px 22px 28px; max-height: 42dvh; }
  .gross-buehne, .raum { padding: 64px 16px 12px; }
  .gross-weiter { right: 12px; }
  .gross-pfeil { top: 38%; }
}

/* Handy */
@media (max-width: 720px) {
  .menue-knopf { display: inline-flex; flex-direction: column; justify-content: center; gap: 7px; width: 48px; height: 48px; padding: 0 12px; border: 0; background: none; cursor: pointer; position: relative; z-index: 2; }
  .menue-knopf span { display: block; height: 2px; background: currentColor; transition: transform .3s var(--kurve); }
  .menue-knopf[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .menue-knopf[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .navigation { position: fixed; inset: 0; background: var(--nacht); color: var(--nacht-text); flex-direction: column; justify-content: center; gap: 22px; opacity: 0; pointer-events: none; transition: opacity .35s var(--kurve); }
  .navigation a { font-family: var(--titel); font-size: 40px; font-weight: 400; }
  .nav-anfrage { font-size: 26px !important; margin-top: 12px; }
  .kopf.offen .navigation { opacity: 1; pointer-events: auto; }
  .kopf.offen { color: var(--nacht-text); background: transparent; box-shadow: none; }
  .einstieg-bild { object-position: 62% 30%; }
  .einstieg::after { background: linear-gradient(0deg, rgba(14,13,11,.92) 0%, rgba(14,13,11,.6) 45%, rgba(14,13,11,.1) 75%); }
  .raster { gap: 14px; }
  .raster ul li { margin-bottom: 28px; }
  .karte-titel { font-size: 19px; margin-top: 10px; }
  .karte-daten { font-size: 15px; }
  .filter { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(var(--rand) * -1); margin-right: calc(var(--rand) * -1); padding: 0 var(--rand) 6px; scrollbar-width: none; }
  .filter-knopf { white-space: nowrap; flex: none; }
  .filme { grid-template-columns: 1fr; }
  .atelier-bilder img:last-child { margin-top: 30%; }
  .liste-ausstellungen li { grid-template-columns: 1fr; gap: 6px; }
  .fuss { grid-template-columns: 1fr; }
  .fuss nav { justify-content: flex-start; }
  .mobil-leiste { display: block; position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 30; transform: translateY(140%); transition: transform .4s var(--kurve); }
  .mobil-leiste.zeigen { transform: none; }
  .mobil-leiste .knopf { width: 100%; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
  body { padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; transition-delay: 0s !important; animation: none !important; }
  .auftritt, .zeige { opacity: 1; transform: none; }
  .einstieg-bild { transform: none; }
}
