/* ==========================================================================
   TABOR Invest — Stylesheet
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-vf.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-vf.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #0b0b0c;
  --ink-2: #131315;
  --ink-3: #1c1c1f;
  --paper: #ece7de;
  --paper-2: #e3ddd2;
  --text: #ece7de;
  --muted: #9a958c;
  --line: rgba(236, 231, 222, 0.12);
  --line-strong: rgba(236, 231, 222, 0.24);
  --brass: #c9bfae;          /* Akzent: gedecktes Stein/Elfenbein (statt Gold) */
  --brass-light: #e2dacb;

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --container: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(96px, 14vw, 180px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 84px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html:not(.js) { scroll-behavior: smooth; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--f-body);
  font-size: clamp(16px, 1.05vw + 0.6rem, 18px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.2em; }
h1, h2, h3, h4 { margin: 0; font-weight: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--brass); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 4px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  background: var(--brass);
  color: var(--ink);
  padding: 10px 16px;
  font-weight: 600;
}
.skip-link:focus { top: 16px; }

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

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

/* Grain overlay over whole page */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 300;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Typography helpers ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -0.035em;
  line-height: 0.95;
  text-transform: uppercase;
}
.serif {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.01em;
}
.accent { color: var(--brass); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-display);
  font-size: 0.75rem;
  font-weight: 600;
  font-stretch: 115%;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brass);
}
.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: currentColor;
}

.h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 110%;
  font-size: clamp(2.2rem, 5.2vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.h2 .serif {
  font-size: 1.12em;
  letter-spacing: -0.02em;
}

.lead {
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1.55;
  color: var(--text);
  max-width: 38ch;
}
.muted { color: var(--muted); }

/* ---------- Buttons / Links ---------- */
.btn {
  --bg: var(--paper);
  --fg: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 28px;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-display);
  font-weight: 600;
  font-stretch: 110%;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.5s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s var(--ease);
  z-index: -1;
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn svg { width: 18px; height: 18px; transition: transform 0.5s var(--ease); }
.btn:hover svg { transform: translate(3px, -3px); }

.btn--ghost {
  --bg: transparent;
  --fg: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.btn--ghost:hover { color: var(--ink); }

.link-line {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.6s var(--ease), color 0.3s;
}
.link-line:hover { background-size: 100% 1px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease), height 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  --header-h: 68px;
  background: rgba(11, 11, 12, 0.78);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand img { height: 52px; width: auto; transition: height 0.5s var(--ease); }
.site-header.is-scrolled .brand img { height: 42px; }

.nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); }
.nav__links { display: flex; gap: clamp(20px, 2.6vw, 36px); }
.nav__links a {
  font-family: var(--f-display);
  font-size: 0.78rem;
  font-weight: 500;
  font-stretch: 112%;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(236, 231, 222, 0.78);
  transition: color 0.3s;
}
.nav__links a:hover { color: var(--text); }

.lang {
  display: flex;
  align-items: center;
  gap: 2px;
  font-family: var(--f-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  padding: 3px;
}
.lang a, .lang span {
  padding: 5px 10px;
  border-radius: 99px;
  line-height: 1;
}
.lang [aria-current] { background: var(--paper); color: var(--ink); }
.lang a { color: var(--muted); transition: color 0.3s; }
.lang a:hover { color: var(--text); }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--text);
  cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.45s var(--ease), top 0.45s var(--ease);
}
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 24px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .burger { display: block; }
  .nav__links {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: var(--gutter);
    background: var(--ink);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s var(--ease), visibility 0.5s;
  }
  .nav__links a {
    font-size: clamp(2rem, 9vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
    padding: 6px 0;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
  }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; }
  .nav.is-open .nav__links a { transform: none; opacity: 1; }
  .nav.is-open .nav__links li:nth-child(2) a { transition-delay: 0.05s; }
  .nav.is-open .nav__links li:nth-child(3) a { transition-delay: 0.1s; }
  .nav.is-open .nav__links li:nth-child(4) a { transition-delay: 0.15s; }
  .nav.is-open .nav__links li:nth-child(5) a { transition-delay: 0.2s; }
  .brand img { height: 42px; }
  .site-header.is-scrolled .brand img { height: 38px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: calc(var(--header-h) + 60px);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero__glow {
  position: absolute;
  width: 70vmax;
  height: 70vmax;
  right: -22vmax;
  top: -28vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 191, 174, 0.16) 0%, rgba(201, 191, 174, 0.04) 40%, transparent 68%);
  animation: drift 18s ease-in-out infinite alternate;
}
.hero__glow--2 {
  width: 50vmax;
  height: 50vmax;
  left: -20vmax;
  right: auto;
  top: auto;
  bottom: -30vmax;
  background: radial-gradient(circle, rgba(236, 231, 222, 0.07) 0%, transparent 65%);
  animation-duration: 24s;
  animation-direction: alternate-reverse;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-6vw, 5vh, 0) scale(1.08); }
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px);
  background-size: calc((min(100vw, var(--container)) - 2 * var(--gutter)) / 4) 100%;
  background-position: center;
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
  opacity: 0.55;
}

.hero__chart {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  mask-image: linear-gradient(100deg, transparent 0%, transparent 30%, #000 62%);
  -webkit-mask-image: linear-gradient(100deg, transparent 0%, transparent 30%, #000 62%);
}
.hero__chart path {
  fill: none;
  stroke: var(--brass);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  opacity: 0.55;
}
.js .hero__chart path { stroke-dashoffset: 1; }
.js .is-loaded .hero__chart path { animation: draw 3s 0.5s var(--ease) both; }
.js .is-loaded .hero__chart .arrowhead { animation-duration: 0.6s; animation-delay: 3.3s; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

.hero__content { position: relative; padding-bottom: clamp(48px, 8vh, 96px); }
.hero__eyebrow { margin-bottom: clamp(24px, 4vh, 40px); }

.hero h1 {
  font-size: clamp(3.4rem, 11.2vw, 10.5rem);
  margin-bottom: clamp(32px, 5vh, 56px);
}
.hero h1 .serif {
  font-size: 1.08em;
  line-height: 0.8;
  color: var(--brass);
  letter-spacing: -0.03em;
}

.line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.line > span { display: inline-block; }
.js .line > span {
  transform: translateY(105%);
  transition: transform 1.3s var(--ease);
}
.js .is-loaded .line > span { transform: none; }
.js .is-loaded .line:nth-child(2) > span { transition-delay: 0.12s; }
.js .is-loaded .line:nth-child(3) > span { transition-delay: 0.24s; }

.hero__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px 48px;
}
.hero__row .lead { color: rgba(236, 231, 222, 0.82); margin: 0; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__meta {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.hero__meta li {
  padding: 22px 0;
  font-family: var(--f-display);
  font-size: 0.72rem;
  font-weight: 500;
  font-stretch: 115%;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero__meta li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--brass);
  transform: rotate(45deg);
  flex: none;
}

.js .hero__fade {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
  transition-delay: 0.55s;
}
.js .is-loaded .hero__fade { opacity: 1; transform: none; }
.js .is-loaded .hero__fade--late { transition-delay: 0.8s; }

@media (max-width: 860px) {
  .hero__row { grid-template-columns: 1fr; }
  .hero__meta { grid-template-columns: repeat(2, 1fr); }
  .hero__meta li { padding: 16px 0; font-size: 0.64rem; letter-spacing: 0.14em; gap: 10px; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); position: relative; }

.section__head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px 64px;
  align-items: end;
  margin-bottom: clamp(56px, 8vw, 100px);
}
.section__head .eyebrow { margin-bottom: 28px; }
.section__head p { margin: 0; max-width: 46ch; }

@media (max-width: 860px) {
  .section__head { grid-template-columns: 1fr; }
}

/* ---------- Haltung (About) ---------- */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 48px 64px;
}
.about__label { align-self: start; }
.about__media {
  margin: clamp(32px, 4vw, 48px) 0 0;
  max-width: 380px;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--ink-2);
}
.about__media img, .contact__media img { width: 100%; height: 100%; object-fit: cover; }
/* Bild-Reveal: ganzes Bild schwebt sanft ein (kein Wischeffekt, wirkt sonst wie langsames Laden) */
.js .reveal-media {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  transition: opacity 1.1s var(--ease), transform 1.4s var(--ease);
}
.js .reveal-media img {
  transform: scale(1.1);
  transition: transform 2.4s var(--ease);
}
.js .reveal-media.is-visible { opacity: 1; transform: none; }
.js .reveal-media.is-visible img { transform: scale(1); }

/* Bildband mit Parallax */
.media-band {
  position: relative;
  margin: 0;
  height: clamp(340px, 72vh, 780px);
  overflow: hidden;
  background: var(--ink);
}
.media-band img {
  position: absolute;
  left: 0;
  top: -15%;
  width: 100%;
  height: 130%;
  object-fit: cover;
  object-position: 40% 55%;
  will-change: transform;
}
.media-band::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(11, 11, 12, 0) 55%, var(--ink) 100%);
}
.about__statement {
  font-family: var(--f-display);
  font-weight: 500;
  font-stretch: 100%;
  font-size: clamp(1.6rem, 3.2vw, 2.85rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.about__statement .serif { color: var(--brass); font-size: 1.1em; }
.about__statement .dim { color: rgba(236, 231, 222, 0.38); }

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.fact {
  padding: 32px 28px 0 0;
}
.fact + .fact { padding-left: 28px; border-left: 1px solid var(--line); }
.fact h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-stretch: 110%;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.fact p { color: var(--muted); font-size: 0.95rem; margin: 0; }

@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__label { position: static; }
  .about__media { max-width: none; aspect-ratio: 4 / 5; }
  .facts { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Strategien (light) ---------- */
.section--light {
  background: var(--paper);
  color: var(--ink);
}
.section--light .eyebrow { color: #5f574a; }
.section--light .muted { color: #5f5b54; }

.strategies {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.6vw, 24px);
}
.strategy {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: clamp(440px, 40vw, 560px);
  padding: clamp(28px, 3.4vw, 52px);
  background: var(--ink);
  color: var(--text);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.8s var(--ease);
}
.strategy::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(120% 80% at 100% 0%, rgba(201, 191, 174, 0.14), transparent 55%);
  opacity: 0.5;
  transition: opacity 0.8s var(--ease);
}
.strategy:hover { transform: translateY(-6px); }
.strategy:hover::before { opacity: 1; }
.strategy::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s var(--ease);
}
.strategy:hover::after { transform: scaleX(1); }

.strategy__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: auto;
}
.strategy__num {
  font-family: var(--f-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--brass);
}
.strategy__icon {
  width: clamp(64px, 7vw, 96px);
  height: clamp(64px, 7vw, 96px);
  color: rgba(236, 231, 222, 0.5);
  transition: color 0.6s, transform 0.9s var(--ease);
}
.strategy:hover .strategy__icon { color: var(--brass); transform: rotate(-6deg) scale(1.05); }
.strategy h3 {
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 102%;
  font-size: clamp(1.6rem, 1.9vw, 2.05rem);
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin: 48px 0 20px;
}
.strategy h3 .serif { color: var(--brass); font-size: 1.1em; display: block; }
.strategy p { color: rgba(236, 231, 222, 0.72); max-width: 44ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tags li {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  color: rgba(236, 231, 222, 0.82);
}

@media (max-width: 1024px) {
  .strategies { grid-template-columns: 1fr; }
  .strategy { min-height: 0; }
}

/* ---------- Prinzipien ---------- */
.principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  counter-reset: p;
}
.principle {
  position: relative;
  padding: 36px 28px 8px 0;
}
.principle + .principle { padding-left: 28px; }
.principle::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line-strong);
  transform-origin: left;
}
.principle::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 1px;
  background: var(--brass);
}
.principle + .principle::after { left: 28px; }
.js .principle.reveal::before { transform: scaleX(0); transition: transform 1.4s var(--ease); }
.js .principle.reveal.is-visible::before { transform: scaleX(1); }

.principle__num {
  display: block;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 3.2rem;
  line-height: 1;
  color: var(--brass);
  margin-bottom: 40px;
}
.principle h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-stretch: 112%;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.principle p { color: var(--muted); font-size: 0.95rem; margin: 0; }

@media (max-width: 1024px) {
  .principles { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
  .principle:nth-child(3) { padding-left: 0; }
  .principle:nth-child(3)::after { left: 0; }
}
@media (max-width: 600px) {
  .principles { grid-template-columns: 1fr; gap: 32px; }
  .principle, .principle + .principle { padding: 32px 0 0; }
  .principle + .principle::after { left: 0; }
  .principle__num { margin-bottom: 20px; }
}

/* ---------- Zitat mit Bild ---------- */
.quote {
  padding-block: clamp(96px, 12vw, 160px);
  background: var(--ink-2);
  border-top: 1px solid var(--line);
}
.quote__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px clamp(48px, 7vw, 112px);
  align-items: center;
}
.quote__media {
  margin: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--ink);
}
.quote__media img { width: 100%; height: 100%; object-fit: cover; }
.quote__text { margin: 0; }
.quote__text p {
  font-family: var(--f-display);
  font-weight: 700;
  font-stretch: 108%;
  font-size: clamp(1.9rem, 3.4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin: 0 0 32px;
}
.quote__text .serif { color: var(--brass); font-size: 1.12em; }
@media (max-width: 860px) {
  .quote__grid { grid-template-columns: 1fr; }
}

/* ---------- Kontakt ---------- */
.contact {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(120px, 16vw, 220px);
  text-align: left;
}
.contact::before {
  content: "";
  position: absolute;
  width: 80vmax;
  height: 80vmax;
  left: 50%;
  top: 100%;
  transform: translate(-50%, -45%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 191, 174, 0.12), transparent 62%);
  z-index: -1;
}
.contact h2 {
  font-size: clamp(2.6rem, 8.4vw, 8rem);
  margin: 32px 0 clamp(48px, 6vw, 80px);
}
.contact h2 .serif { color: var(--brass); }

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 56px clamp(48px, 7vw, 112px);
  align-items: center;
}
.contact__grid h2 { font-size: clamp(2.5rem, 5.6vw, 6rem); }
.contact__media {
  margin: 0;
  justify-self: end;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--ink-2);
}
@media (max-width: 860px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__media { justify-self: stretch; max-width: none; aspect-ratio: 4 / 5; }
}

.btn--lg {
  padding: 24px 40px;
  font-size: 0.9rem;
  gap: 18px;
}
.btn--lg svg { width: 22px; height: 22px; }

.contact__actions {
  display: inline-flex;
  flex-direction: column;
  gap: 14px;
}
.contact__actions .btn { justify-content: space-between; }
@media (max-width: 480px) {
  .contact__actions { display: flex; }
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 56px 40px;
  font-size: 0.88rem;
  color: var(--muted);
}
.footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.footer__top img { height: 40px; width: auto; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.footer__nav a { color: var(--text); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 32px;
  padding-top: 28px;
}
.footer__note { max-width: 70ch; margin: 0; font-size: 0.8rem; line-height: 1.6; }

/* ---------- Legal pages ---------- */
.legal {
  padding-top: calc(var(--header-h) + clamp(64px, 10vw, 120px));
  padding-bottom: var(--section);
}
.legal .container { max-width: 880px; }
.legal h1 {
  font-size: clamp(2.6rem, 7vw, 5rem);
  margin: 28px 0 clamp(40px, 6vw, 72px);
}
.legal h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-stretch: 110%;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin: 48px 0 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.legal h3 {
  font-weight: 600;
  font-size: 1rem;
  margin: 28px 0 8px;
  color: var(--text);
}
.legal p, .legal li { color: rgba(236, 231, 222, 0.78); }
.legal ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1.2em; }
.legal li { margin-bottom: 0.4em; }
.legal .eyebrow { color: var(--brass); }
.legal a:not(.btn) { color: var(--brass-light); }
.legal a:not(.btn):hover { text-decoration: underline; }
.legal address { font-style: normal; }

/* ---------- 404 ---------- */
.notfound {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--gutter);
}
.notfound .display { font-size: clamp(6rem, 22vw, 16rem); color: transparent; -webkit-text-stroke: 1px var(--line-strong); }
.notfound p { margin: 12px 0 36px; }

/* ---------- Intro ---------- */
.intro { display: none; }
.js .intro {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  background: var(--ink);
  transition: transform 1.1s cubic-bezier(0.76, 0, 0.24, 1);
  animation: introFailsafe 0.6s 5s forwards;
}
.js.no-intro .intro { display: none; }
.intro.is-done { transform: translateY(-100%); }
.intro__inner {
  width: clamp(200px, 30vw, 400px);
  transition: opacity 0.6s var(--ease), transform 1.1s var(--ease);
}
.intro.is-done .intro__inner { opacity: 0; transform: translateY(-60px); }
.intro__logo {
  width: 100%;
  height: auto;
  clip-path: inset(0 100% 0 0);
  animation: introWipe 1.1s 0.15s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
.intro__bar {
  display: block;
  position: relative;
  height: 1px;
  margin-top: 32px;
  background: var(--line);
  overflow: hidden;
}
.intro__bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  animation: introBar 1.4s 0.1s var(--ease) forwards;
}
body.intro-running { overflow: hidden; }
@keyframes introWipe { to { clip-path: inset(0 0 0 0); } }
@keyframes introBar { to { transform: scaleX(1); } }
@keyframes introFailsafe { to { opacity: 0; visibility: hidden; } }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: clamp(16px, 2.5vw, 32px);
  bottom: clamp(16px, 2.5vw, 32px);
  z-index: 90;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(19, 19, 21, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0.5s, color 0.3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--brass); }
.to-top__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.to-top__ring circle {
  fill: none;
  stroke: var(--brass);
  stroke-width: 1.5;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  filter: drop-shadow(0 0 0 transparent);
}
.to-top::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.to-top__arrow { width: 18px; height: 18px; transition: transform 0.4s var(--ease); }
.to-top:hover .to-top__arrow { transform: translateY(-3px); }

/* ---------- Reveal on scroll ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Reduced motion ----------
   Intro, scroll und Einblendungen laufen bewusst immer (kurz, einmalig).
   Nur die Endlos-Animation im Hintergrund wird angehalten. */
@media (prefers-reduced-motion: reduce) {
  .hero__glow { animation: none; }
}

/* Offenes Mobile-Menü: backdrop-filter würde das fixed-Overlay auf die Header-Höhe begrenzen */
.site-header.menu-open {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: var(--ink);
  box-shadow: none;
  border-bottom-color: transparent;
}

/* Bildband auf Mobil: flacher + nach links verschoben, damit das ganze Logo auf der Mappe sichtbar bleibt */
@media (max-width: 700px) {
  .media-band { height: clamp(300px, 105vw, 480px); }
  .media-band img { object-position: 30% 55%; }
}

/* Kontakt: rechts nur Logo statt Bild */
.contact__logo {
  justify-self: end;
  width: 100%;
  max-width: 420px;
  padding: clamp(24px, 4vw, 56px);
  border: 1px solid var(--line);
}
.contact__logo img { width: 100%; height: auto; }
@media (max-width: 860px) {
  .contact__logo { justify-self: start; max-width: 260px; }
}
