/* ── Fonts ──────────────────────────────────────────── */
@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-v5-latin-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-v5-latin-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/geist-v4-latin-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/geist-v4-latin-500.woff2") format("woff2");
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/geist-v4-latin-600.woff2") format("woff2");
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/geist-mono-v4-latin-regular.woff2") format("woff2");
}

/* ── Tokens ─────────────────────────────────────────── */
:root {
  --font-display: "Instrument Serif", Georgia, serif;
  --font-sans:    "Geist", ui-sans-serif, system-ui, sans-serif;
  --font-mono:    "Geist Mono", ui-monospace, monospace;

  --paper:   #F4EFE6;
  --paper-2: #ECE5D6;
  --paper-3: #E4DBC8;
  --white:   #FDFAF5;
  --ink:     #1A1612;
  --ink-2:   #3D342A;
  --ink-3:   #6B5E52;
  --muted:   #9A8C82;
  --hair:    #E0D8CC;
  --hair-2:  #CDC4B5;
  --sage:    #5C7A5E;
  --sage-2:  #4A6349;
  --sand:    #B89A6E;
  --sand-2:  #9A7E55;
  --cream:   #F9F5EE;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 32px;
}

/* ── Reset ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
sup.tm {
  font-size: 0.5em;
  line-height: 0;
  vertical-align: baseline;
  position: relative;
  top: -0.95em;
  margin-left: 0;
}
h1 sup.tm, h2 sup.tm { font-size: 0.34em; top: -1.45em; }

/* ── Layout ─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 640px) { .container { padding: 0 16px; } }

/* ── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-sm);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
  white-space: nowrap;
}
.btn:hover { opacity: .85; transform: translateY(-1px); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-cream { background: var(--cream); color: var(--ink); border: 1px solid var(--hair); }
.btn-sage { background: var(--sage); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--hair-2); }

/* ── Header ─────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(244, 239, 230, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hair);
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 80px;
}
.wordmark {
  display: flex;
  align-items: center;
  align-self: stretch;
  gap: 10px;
  flex-shrink: 0;
}
.wordmark-img { height: 61px; width: auto; object-fit: contain; }
.wordmark-mark { height: 48px; width: auto; object-fit: contain; opacity: .85; }

@media (max-width: 480px) {
  .site-header-inner { height: 60px; gap: 12px; }
  .wordmark { gap: 6px; }
  .wordmark-img { height: 44px; }
  .wordmark-mark { height: 34px; }
  .header-cta { gap: 8px; }
  .header-link { font-size: 12px; }
  .btn.btn-ink { font-size: 13px; padding: 8px 14px; }
}
.header-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--hair-2);
  border-radius: 100px;
  padding: 4px 12px;
}
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-link {
  font-size: 13.5px;
  color: var(--ink-2);
  transition: color .15s;
}
.header-link:hover { color: var(--ink); }

/* ── Hero (Vollflächig) ─────────────────────────────── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 640px;
  padding-top: 80px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(244,239,230,0.97) 0%,
    rgba(244,239,230,0.90) 30%,
    rgba(244,239,230,0.55) 52%,
    rgba(244,239,230,0.08) 70%,
    rgba(244,239,230,0.00) 82%
  );
}
.hero-bg-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,22,18,0.10) 0%, transparent 25%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 40px;
}
.hero-inner {
  max-width: 520px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(244,239,230,0.6);
  border: 1px solid var(--hair-2);
  backdrop-filter: blur(4px);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  margin-bottom: 28px;
  width: fit-content;
}
.chip-break { display: none; }
.hero-chip-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sage);
  flex-shrink: 0;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 5.8vw, 84px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 24px;
}
.hero-headline .line { display: block; }
.hero-headline em { font-style: italic; color: var(--ink-2); }
.hero-headline .name-brand {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.22em;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 10px;
}

.hero-lede {
  font-size: 16px;
  line-height: 1.68;
  color: var(--ink-2);
  max-width: 46ch;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-glass {
  background: rgba(244,239,230,0.5);
  border: 1px solid var(--hair-2);
  color: var(--ink-2);
  backdrop-filter: blur(4px);
}
.btn-glass:hover { background: rgba(244,239,230,0.75); }

@media (min-width: 721px) and (max-width: 1100px) {
  .hero-bg-img {
    object-position: 72% 12%;
  }
  .hero {
    align-items: flex-start;
    padding-top: 160px;
  }
}

@media (max-width: 720px) {
  .hero-bg-img {
    object-position: 72% 8%;
  }
  .hero-bg-overlay {
    background: linear-gradient(
      to right,
      rgba(244,239,230,0.97) 0%,
      rgba(244,239,230,0.88) 38%,
      rgba(244,239,230,0.40) 62%,
      rgba(244,239,230,0.05) 80%
    );
  }
  .hero-content { padding: 0 16px; }
  .hero-inner { max-width: 100%; }
  .hero-chip {
    background: none;
    border: none;
    backdrop-filter: none;
    padding: 0;
    border-radius: 0;
    margin-bottom: 16px;
    margin-top: -12px;
  }
  .hero-chip-dot { display: none; }
  .chip-break { display: inline; }
}

/* ── Section shared ─────────────────────────────────── */
.section {
  padding: 96px 0;
}
.section + .section { border-top: 1px solid var(--hair); }
.section--alt { background: var(--paper-2); }
.section--dark { background: var(--ink); color: var(--paper); }
.section--dark .section-lede { color: rgba(244,239,230,0.7); }

.section-index {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.section-index-line {
  flex: 0 0 32px;
  height: 1px;
  background: var(--hair-2);
}
.section-h {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
}
.h-xl { font-size: clamp(36px, 4.5vw, 60px); }
.h-l  { font-size: clamp(30px, 3.5vw, 48px); }
.h-m  { font-size: clamp(24px, 2.5vw, 36px); }
.section-h em { font-style: italic; }

.section-lede {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 66ch;
  margin-bottom: 48px;
}

/* ── Vita / Über Thomas ──────────────────────────────── */
.vita-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 780px) {
  .vita-grid { grid-template-columns: 1fr; gap: 40px; }
}
.vita-portrait-wrap {
  position: relative;
}
.vita-portrait-main {
  width: 100%;
  border-radius: var(--r-xl);
  object-fit: cover;
  aspect-ratio: 3/4;
}
.vita-portrait-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 44%;
  border-radius: var(--r-lg);
  border: 4px solid var(--paper);
  box-shadow: 0 8px 32px rgba(26,22,18,0.18);
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: top;
}
@media (max-width: 780px) {
  .vita-portrait-accent { right: 0; bottom: -16px; }
}
.vita-body { padding-top: 12px; }
.vita-name-block { margin-bottom: 28px; }
.vita-name {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: 0.04em;
}
.vita-name .sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.vita-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 28px;
}
.vita-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
  background: rgba(92,122,94,0.08);
  border: 1px solid rgba(92,122,94,0.2);
  border-radius: 100px;
  padding: 4px 12px;
}
.vita-text {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-2);
}
.vita-text p + p { margin-top: 16px; }
.vita-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
  padding: 24px;
  background: var(--paper-2);
  border-radius: var(--r-md);
  border: 1px solid var(--hair);
}
.vita-stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1;
  color: var(--ink);
}
.vita-stat-label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.4;
}
.vita-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  line-height: 1.45;
  color: var(--ink);
  border-left: 3px solid var(--sage);
  padding-left: 20px;
  margin-top: 32px;
}
.vita-quote cite {
  display: block;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 10px;
}

/* ── Leistungen ──────────────────────────────────────── */
.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
@media (max-width: 860px) { .leistungen-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .leistungen-grid { grid-template-columns: 1fr; } }

.leistung-card {
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.leistung-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  background: rgba(92,122,94,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--sage);
  font-size: 18px;
}
.leistung-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
}
.leistung-body {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-2);
  flex: 1;
}

/* ── Produkt-Teaser ──────────────────────────────────── */
.produkt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}
@media (max-width: 720px) { .produkt-grid { grid-template-columns: 1fr; } }

.produkt-card {
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.produkt-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.produkt-card-body {
  padding: 28px 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.produkt-eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.produkt-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.15;
}
.produkt-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-2);
  flex: 1;
}
.produkt-mehr {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--sage);
  margin-top: 8px;
  transition: gap .15s;
}
.produkt-mehr:hover { gap: 10px; }

/* ── Referenzen ──────────────────────────────────────── */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
@media (max-width: 860px) { .ref-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ref-grid { grid-template-columns: 1fr; } }

.ref-card {
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ref-quote {
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--ink-2);
  font-style: italic;
  flex: 1;
  margin-bottom: 20px;
}
.ref-quote::before { content: '„'; }
.ref-quote::after  { content: '"'; }
.ref-divider {
  height: 1px;
  background: var(--hair);
  margin-bottom: 16px;
}
.ref-person {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ref-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  flex-shrink: 0;
  border: 2px solid var(--hair);
}
.ref-name {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
}
.ref-role {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.4;
}

/* ── Galerie ─────────────────────────────────────────── */
.galerie-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 12px;
  border-radius: var(--r-xl);
  overflow: hidden;
}
.galerie-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.galerie-grid img:first-child {
  grid-row: 1 / 3;
  object-position: center center;
}
@media (max-width: 640px) {
  .galerie-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px;
  }
  .galerie-grid img:first-child { grid-row: auto; }
}

/* ── Kontakt / CTA ───────────────────────────────────── */
.cta-box {
  background: var(--ink);
  border-radius: var(--r-xl);
  padding: 64px 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  margin-top: 96px;
}
@media (max-width: 720px) {
  .cta-box { grid-template-columns: 1fr; padding: 40px 28px; gap: 28px; }
}
.cta-box h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 400;
  color: var(--paper);
  line-height: 1.15;
}
.cta-box h2 em { font-style: italic; opacity: .75; }
.cta-box p {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(244,239,230,0.65);
  margin-top: 12px;
  max-width: 54ch;
}
.cta-box .btn-cream { background: var(--paper); color: var(--ink); }
.cta-box .btn-outline { border-color: rgba(244,239,230,0.3); color: var(--paper); }
.cta-actions { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }

/* ── Footer ─────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--hair);
  padding: 40px 0;
  margin-top: 96px;
}
.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-link {
  font-size: 12.5px;
  color: var(--muted);
  transition: color .15s;
}
.footer-link:hover { color: var(--ink); }

/* ── Sciosan-Link Banner ─────────────────────────────── */
.sciosan-banner {
  background: rgba(92,122,94,0.08);
  border: 1px solid rgba(92,122,94,0.2);
  border-radius: var(--r-md);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.sciosan-banner p {
  font-size: 14px;
  color: var(--ink-2);
}
.sciosan-banner strong { color: var(--ink); }
