/* =============================================================
   Flower Mountain Woodart — Übergangsseite
   Editorial-Luxus: großzügige Ränder, Haarlinien, ruhige Bewegung.
   Farben nach Gestaltungsbogen (HEX), zwei Schriften, lokal.
   ============================================================= */

/* -------------------------------------------------- Schriften */

@font-face{font-family:'Playfair Display';src:url('schriften/playfair-display-v40-latin-regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Playfair Display';src:url('schriften/playfair-display-v40-latin-italic.woff2') format('woff2');font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:'Playfair Display';src:url('schriften/playfair-display-v40-latin-500.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:'Playfair Display';src:url('schriften/playfair-display-v40-latin-500italic.woff2') format('woff2');font-weight:500;font-style:italic;font-display:swap}
@font-face{font-family:'Inter Tight';src:url('schriften/inter-tight-v9-latin-300.woff2') format('woff2');font-weight:300;font-style:normal;font-display:swap}
@font-face{font-family:'Inter Tight';src:url('schriften/inter-tight-v9-latin-regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Inter Tight';src:url('schriften/inter-tight-v9-latin-500.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}

/* ----------------------------------------------------- Tokens */

:root{
  --bg:#15120F;
  --bg-deep:#0D0C0C;
  --surface:#1C1815;
  --line:#2A2420;
  --line-hell:#3A322B;

  --text:#F4F1EB;
  --text-muted:#E8E2D9;
  --text-meta:#C3B7A2;
  --text-faint:#8A8075;

  --gold:#C68B39;
  --gold-logo:#AB9347;
  --gold-shadow:#8B5E26;
  --gold-light:#E5C08E;
  --verlauf-gold:linear-gradient(135deg,#8B5E26 0%,#C68B39 50%,#E5C08E 100%);

  --schrift-display:'Playfair Display',Georgia,'Times New Roman',serif;
  --schrift-text:'Inter Tight',system-ui,-apple-system,'Segoe UI',sans-serif;

  /* Großzügiger Rand — das prägt den Luxus-Eindruck stärker als alles andere. */
  --rand:clamp(1.5rem,7vw,7.5rem);
  --sektion:clamp(5rem,13vw,12rem);
  --max:1680px;

  --label:.7rem;
  --spur:.26em;
}

/* ------------------------------------------------------ Basis */

*,*::before,*::after{box-sizing:border-box}

html{-webkit-text-size-adjust:100%}

body{
  margin:0;
  background:var(--bg);
  color:var(--text-muted);
  font-family:var(--schrift-text);
  font-size:clamp(.95rem,.35vw + .87rem,1.05rem);
  font-weight:300;
  line-height:1.75;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}

/* Feines Korn über allem — nimmt den Flächen das Digitale. */
body::after{
  content:'';
  position:fixed;
  inset:0;
  z-index:9;
  pointer-events:none;
  opacity:.035;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

img,picture,svg{display:block;max-width:100%;height:auto}

h1,h2,h3{
  font-family:var(--schrift-display);
  font-weight:400;
  color:var(--text);
  line-height:1.08;
  letter-spacing:-.012em;
  margin:0;
  text-wrap:balance;
}

/* Sprungziele unter dem festen Kopf freistellen. */
[id]{scroll-margin-top:clamp(5rem,9vw,7rem)}

p{margin:0}

a{color:inherit;text-decoration:none}

:focus-visible{outline:1px solid var(--gold);outline-offset:6px}

::selection{background:var(--gold);color:var(--bg-deep)}

.sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

.sprung{position:absolute;left:-9999px;top:0;z-index:100;padding:.8rem 1.4rem;background:var(--gold);color:var(--bg-deep);font-weight:500}
.sprung:focus{left:1rem;top:1rem}

/* --------------------------------------------------- Bausteine */

.huelle{width:100%;max-width:var(--max);margin-inline:auto;padding-inline:var(--rand)}

.marke-klein{
  font-family:var(--schrift-text);
  font-size:var(--label);
  font-weight:500;
  letter-spacing:var(--spur);
  text-transform:uppercase;
  color:var(--text-meta);
}

.gold{color:var(--gold)}
.kursiv{font-style:italic;color:var(--gold)}

.linie{border:0;height:1px;background:var(--line);margin:0}

/* Textlink mit Haarlinie — wie auf der alten Seite, aber ruhiger. */
.textlink{
  display:inline-flex;
  align-items:center;
  gap:1rem;
  font-size:var(--label);
  font-weight:500;
  letter-spacing:var(--spur);
  text-transform:uppercase;
  color:var(--text);
  padding-block:.9rem;
  position:relative;
}

.textlink::after{
  content:'';
  width:clamp(2rem,4vw,3.5rem);
  height:1px;
  background:var(--gold);
  transition:width .5s cubic-bezier(.22,1,.36,1);
}

.textlink:hover{color:var(--gold-light)}
.textlink:hover::after{width:clamp(3.5rem,7vw,6rem)}

.textlink--leise{color:var(--text-meta)}
.textlink--leise::after{background:var(--line-hell)}
.textlink--leise:hover{color:var(--text)}
.textlink--leise:hover::after{background:var(--gold)}

/* ------------------------------------------------------- Kopf */

.kopf{
  position:fixed;
  inset:0 0 auto;
  z-index:20;
  padding-block:clamp(1.1rem,2.2vw,1.9rem);
  transition:background .5s ease,backdrop-filter .5s ease,padding .5s ease,border-color .5s ease;
  border-bottom:1px solid transparent;
}

.kopf[data-verdichtet='ja']{
  background:rgba(13,12,12,.86);
  backdrop-filter:blur(16px);
  border-bottom-color:var(--line);
  padding-block:.85rem;
}

.kopf__inhalt{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:2rem;
}

/* Das Logo trägt die Marke — bewusst groß. */
.kopf__logo{
  width:clamp(190px,17vw,300px);
  height:auto;
  transition:width .5s cubic-bezier(.22,1,.36,1);
}

.kopf[data-verdichtet='ja'] .kopf__logo{width:clamp(150px,12vw,215px)}

.kopf__aktion{display:none}

@media (min-width:760px){
  .kopf__aktion{display:inline-flex}
}

/* ------------------------------------------------------- Hero */

.hero{
  position:relative;
  min-height:100svh;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  background:var(--bg-deep);
}

.hero__bild{position:absolute;inset:0}

.hero__bild picture,
.hero__bild img{width:100%;height:100%;object-fit:cover;object-position:center 42%}

/* Zwei Verläufe: einer für die Lesbarkeit unten, einer für die Tiefe links. */
.hero__schleier{
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg,rgba(13,12,12,.72) 0%,rgba(13,12,12,.20) 30%,rgba(13,12,12,.55) 62%,rgba(21,18,15,.96) 100%),
    linear-gradient(96deg,rgba(13,12,12,.78) 0%,rgba(13,12,12,.30) 45%,transparent 72%);
}

.hero__inhalt{
  position:relative;
  width:100%;
  padding-bottom:clamp(4.5rem,11vw,8rem);
  padding-top:clamp(9rem,18vw,12rem);
}

.hero__eyebrow{
  font-size:var(--label);
  font-weight:500;
  letter-spacing:var(--spur);
  text-transform:uppercase;
  color:var(--gold);
  margin-bottom:clamp(1.5rem,3vw,2.4rem);
}

.hero h1{
  font-size:clamp(2.6rem,7.2vw + .3rem,7rem);
  max-width:15ch;
  margin-bottom:clamp(1.5rem,3vw,2.2rem);
}

.hero__subline{
  max-width:44ch;
  color:var(--text-muted);
  font-size:clamp(1rem,.6vw + .9rem,1.25rem);
  margin-bottom:clamp(2rem,4vw,3rem);
}

.hero__aktionen{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:clamp(1.5rem,4vw,3.5rem);
}

.hero__scroll{
  position:absolute;
  right:var(--rand);
  bottom:clamp(4.5rem,11vw,8rem);
  display:none;
  align-items:center;
  gap:1rem;
  font-size:var(--label);
  letter-spacing:var(--spur);
  text-transform:uppercase;
  color:var(--text-faint);
  writing-mode:vertical-rl;
}

.hero__scroll::after{
  content:'';
  width:1px;
  height:clamp(3rem,6vw,5rem);
  background:linear-gradient(180deg,var(--line-hell),transparent);
}

@media (min-width:1100px){.hero__scroll{display:flex}}

/* ------------------------------------------------ Mitteilung */

.mitteilung{
  border-block:1px solid var(--line);
  background:var(--bg-deep);
  padding-block:clamp(4rem,9vw,7rem);
  text-align:center;
}

.mitteilung__label{
  font-size:var(--label);
  font-weight:500;
  letter-spacing:var(--spur);
  text-transform:uppercase;
  color:var(--gold);
  margin-bottom:clamp(1.6rem,3vw,2.4rem);
}

.mitteilung h2{
  font-size:clamp(1.7rem,3.6vw + .4rem,3.4rem);
  max-width:22ch;
  margin-inline:auto;
  margin-bottom:clamp(1.4rem,2.5vw,2rem);
}

.mitteilung p{
  max-width:56ch;
  margin-inline:auto;
  color:var(--text-meta);
}

.mitteilung .textlink{margin-top:clamp(1.8rem,3.5vw,2.8rem)}

/* --------------------------------------------------- Merkmale */

.merkmale{padding-block:var(--sektion)}

.merkmale__kopf{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  justify-content:space-between;
  gap:1.5rem;
  margin-bottom:clamp(3rem,6vw,5rem);
}

.merkmale__kopf h2{font-size:clamp(1.9rem,4vw + .3rem,3.6rem);max-width:18ch}

.merkmale__liste{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));
  gap:0;
  border-top:1px solid var(--line);
}

.merkmal{
  padding:clamp(2rem,3.5vw,3rem) 0;
  border-bottom:1px solid var(--line);
  position:relative;
}

@media (min-width:820px){
  .merkmal{padding-inline:clamp(1.5rem,3vw,3rem);border-left:1px solid var(--line)}
  .merkmal:first-child{padding-left:0;border-left:0}
  .merkmal:last-child{padding-right:0}
}

.merkmal__nr{
  font-family:var(--schrift-display);
  font-size:clamp(1.6rem,2.5vw,2.4rem);
  line-height:1;
  color:transparent;
  background:var(--verlauf-gold);
  -webkit-background-clip:text;
  background-clip:text;
  margin-bottom:clamp(1rem,2vw,1.6rem);
}

.merkmal h3{
  font-size:clamp(1.15rem,1.4vw + .8rem,1.6rem);
  margin-bottom:.7rem;
}

.merkmal p{color:var(--text-meta);font-size:.95rem}

.merkmal__beleg{
  display:block;
  margin-top:clamp(1.2rem,2.5vw,1.8rem);
  font-size:.68rem;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--text-faint);
}

/* --------------------------------------------------- Werkstatt */

.werkstatt{
  display:grid;
  gap:0;
  border-top:1px solid var(--line);
}

/* Exakt hälftig — die Trennkante läuft mit dem Detailband darunter durch. */
@media (min-width:900px){
  .werkstatt{grid-template-columns:1fr 1fr;align-items:stretch}
}

.werkstatt__bild{position:relative;overflow:hidden;min-height:clamp(320px,44vw,620px)}
.werkstatt__bild picture,.werkstatt__bild img{width:100%;height:100%;object-fit:cover}

.werkstatt__text{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:clamp(3rem,7vw,7rem) var(--rand);
  background:var(--bg-deep);
}

/* Rechte Kante des Textes läuft auf denselben Seitenrand wie Kopf und Fuß. */
@media (min-width:900px){
  .werkstatt__text{padding-inline:clamp(2.5rem,5vw,6rem) var(--rand)}
}

.werkstatt__label{
  font-size:var(--label);
  font-weight:500;
  letter-spacing:var(--spur);
  text-transform:uppercase;
  color:var(--gold);
  margin-bottom:clamp(1.4rem,2.5vw,2rem);
}

.werkstatt h2{
  font-size:clamp(1.8rem,2.6vw + .6rem,3.2rem);
  max-width:16ch;
  margin-bottom:clamp(1.4rem,2.5vw,2rem);
}

.werkstatt p{max-width:48ch;color:var(--text-meta);margin-bottom:1.2em}

.werkstatt__signatur{
  margin-top:clamp(1.5rem,3vw,2.5rem);
  padding-top:clamp(1.5rem,3vw,2rem);
  border-top:1px solid var(--line);
  font-size:var(--label);
  letter-spacing:var(--spur);
  text-transform:uppercase;
  color:var(--text-faint);
}

/* ----------------------------------------------------- Detail */

.detailband{
  display:grid;
  grid-template-columns:1fr;
  border-top:1px solid var(--line);
}

/* Ab derselben Schwelle wie das Werkstatt-Modul zwei exakt gleiche Hälften,
   damit die senkrechte Kante über beide Blöcke hinweg durchläuft. */
@media (min-width:900px){
  .detailband{grid-template-columns:1fr 1fr}
}

.detailband figure{margin:0;position:relative;overflow:hidden;aspect-ratio:4/3}
.detailband picture,.detailband img{width:100%;height:100%;object-fit:cover;transition:transform 1.2s cubic-bezier(.22,1,.36,1)}
.detailband figure:hover img{transform:scale(1.04)}

.detailband figcaption{
  position:absolute;
  inset:auto 0 0;
  padding:clamp(2.5rem,5vw,4rem) clamp(1.5rem,3vw,2.5rem) clamp(1.4rem,2.5vw,2rem);
  background:linear-gradient(180deg,transparent,rgba(13,12,12,.9));
  font-size:var(--label);
  letter-spacing:var(--spur);
  text-transform:uppercase;
  color:var(--text-meta);
}

/* Die linke Bildunterschrift steht auf dem Seitenrand, die rechte auf der
   Mittelachse — beide sitzen damit auf einer Rasterlinie. */
@media (min-width:900px){
  .detailband figure:first-child figcaption{padding-left:var(--rand)}
}

/* -------------------------------------------------- Werkstück */

.werkstueck{
  position:relative;
  min-height:clamp(420px,68vh,760px);
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  border-top:1px solid var(--line);
  background:var(--bg-deep);
}

.werkstueck picture,
.werkstueck > picture img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}

.werkstueck__schleier{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(13,12,12,.35) 0%,rgba(13,12,12,.10) 40%,rgba(13,12,12,.92) 100%);
}

.werkstueck__text{
  position:relative;
  width:100%;
  padding-bottom:clamp(2.5rem,5vw,4.5rem);
  padding-top:clamp(6rem,14vw,10rem);
}

.werkstueck__label{
  font-size:var(--label);
  font-weight:500;
  letter-spacing:var(--spur);
  text-transform:uppercase;
  color:var(--gold);
  margin-bottom:clamp(1rem,2vw,1.6rem);
}

.werkstueck h2{
  font-size:clamp(1.8rem,3.4vw + .4rem,3.6rem);
  max-width:18ch;
  margin-bottom:clamp(.9rem,1.8vw,1.4rem);
}

.werkstueck p{color:var(--text-meta);font-size:.95rem;letter-spacing:.02em}

/* ---------------------------------------------------- Kontakt */

.kontakt{
  padding-block:clamp(4.5rem,10vw,8.5rem);
  text-align:center;
  border-top:1px solid var(--line);
}

.kontakt__label{
  font-size:var(--label);
  font-weight:500;
  letter-spacing:var(--spur);
  text-transform:uppercase;
  color:var(--text-meta);
  margin-bottom:clamp(1.6rem,3vw,2.4rem);
}

.kontakt h2{font-size:clamp(1.8rem,3.4vw + .4rem,3.4rem);max-width:22ch;text-wrap:pretty;margin-inline:auto;margin-bottom:clamp(1.6rem,3vw,2.4rem)}

.kontakt__mail{
  display:inline-block;
  font-family:var(--schrift-display);
  font-size:clamp(1.05rem,1.8vw + .5rem,1.9rem);
  color:var(--gold);
  border-bottom:1px solid var(--gold-shadow);
  padding-bottom:.15em;
  transition:color .4s ease,border-color .4s ease;
}

.kontakt__mail:hover{color:var(--gold-light);border-color:var(--gold-light)}

.kontakt__zusatz{margin-top:clamp(1.8rem,3vw,2.6rem);color:var(--text-faint);font-size:.9rem}

/* -------------------------------------------------------- Fuß */

.fuss{border-top:1px solid var(--line);background:var(--bg-deep);padding-block:clamp(3rem,6vw,4.5rem) 2.5rem}

.fuss__gitter{
  display:grid;
  gap:clamp(2rem,4vw,3rem);
  grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));
  align-items:start;
}

.fuss__logo{width:clamp(150px,14vw,210px);opacity:.85}

.fuss h3{
  font-family:var(--schrift-text);
  font-size:var(--label);
  font-weight:500;
  letter-spacing:var(--spur);
  text-transform:uppercase;
  color:var(--text-meta);
  margin-bottom:1.2rem;
}

.fuss p,.fuss li{font-size:.9rem;color:var(--text-meta)}
.fuss ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.55rem}
.fuss a:hover{color:var(--gold)}

.fuss__unten{
  margin-top:clamp(2.5rem,5vw,4rem);
  padding-top:1.6rem;
  border-top:1px solid var(--line);
  display:flex;
  flex-wrap:wrap;
  gap:1rem 2rem;
  justify-content:space-between;
  font-size:var(--label);
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--text-faint);
}

/* -------------------------------------------------- Rechtstext */

.rechtsseite{padding-top:clamp(8rem,14vw,11rem);padding-bottom:var(--sektion)}

.rechtsseite__kopf{margin-bottom:clamp(3rem,6vw,4.5rem);border-bottom:1px solid var(--line);padding-bottom:clamp(1.5rem,3vw,2.5rem)}
.rechtsseite__kopf h1{font-size:clamp(2rem,4.5vw + .3rem,4rem)}

.rechtsinhalt{max-width:74ch}
.rechtsinhalt h2{
  font-family:var(--schrift-text);
  font-size:var(--label);
  font-weight:500;
  letter-spacing:var(--spur);
  text-transform:uppercase;
  color:var(--gold);
  margin:clamp(2.5rem,5vw,3.5rem) 0 1rem;
}
.rechtsinhalt h2:first-child{margin-top:0}
.rechtsinhalt p{margin-bottom:1.1em;color:var(--text-muted)}
.rechtsinhalt a{color:var(--gold);border-bottom:1px solid var(--gold-shadow)}
.rechtsinhalt a:hover{color:var(--gold-light)}
.rechtsinhalt strong{color:var(--text);font-weight:500}

/* ----------------------------------------------------- Motion */

[data-auf]{
  opacity:0;
  transform:translateY(18px);
  transition:opacity 1.1s cubic-bezier(.22,1,.36,1),transform 1.1s cubic-bezier(.22,1,.36,1);
}

[data-auf='da']{opacity:1;transform:none}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms !important;transition-duration:.01ms !important}
  [data-auf]{opacity:1;transform:none}
}
