/* Homepage: editorial layout, brand accents on warm light surfaces. Loaded with site-nav.css only, not with styles.css. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Marke (unverändert) */
  --accent:       #5691cf;
  --accent-2:     #6c5ce7;
  /* dunklere Varianten, damit Text auf hellem Grund kontrastreich bleibt */
  --accent-ink:   #2c6aab;
  --accent-2-ink: #5646c9;

  /* helle Flächen */
  --page:      #f6f4f0;
  --page-alt:  #eceae4;
  --card:      #fffefb;
  --line:      #dcd8d0;

  /* Text */
  --ink:       #14161c;
  --ink-soft:  #3a3f4b;
  --ink-muted: #63687a;

  /* dunkler Block */
  --dark:       #111318;
  --dark-line:  #262a34;
  --dark-text:  #edf0f7;
  --dark-muted: #9aa0ae;
  --sky:        #8dbbec;

  --font-d: 'Syne', sans-serif;
  --font-b: 'Karla', sans-serif;
  --font-m: 'JetBrains Mono', monospace;
  --gutter: clamp(1.25rem, 4vw, 4rem);
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--page); color: var(--ink);
  font-family: var(--font-b); font-size: 17px; line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; border-radius: 3px; }

.wrap { max-width: 1280px; margin: 0 auto; padding-inline: var(--gutter); }
.skip-link {
  position: absolute; top: -100%; left: 1rem; z-index: 99;
  background: var(--ink); color: var(--page); padding: .6rem 1.2rem;
  border-radius: 0 0 6px 6px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 0; }

/* ───── type ───── */
.eyebrow {
  display: flex; align-items: center; gap: .7rem;
  font-family: var(--font-m); font-size: .68rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink-muted);
}
.eyebrow::before { content: ''; width: 2rem; height: 1px; background: var(--accent-ink); flex-shrink: 0; }
.eyebrow > span { min-width: 0; }
.eyebrow-wide { display: inline; }
@media (max-width: 620px) {
  .eyebrow { gap: .55rem; font-size: .62rem; letter-spacing: .14em; }
  .eyebrow::before { width: 1.4rem; }
  .eyebrow-wide { display: none; }
}
.display {
  font-family: var(--font-d); font-weight: 800;
  font-size: clamp(2.4rem, 6.2vw, 4.6rem); line-height: 1.02;
  letter-spacing: -.04em; text-wrap: balance;
}
.display em, .lede em {
  font-family: var(--font-b); font-style: italic; font-weight: 400;
  letter-spacing: -.01em; color: var(--accent-ink);
}
h2.display { font-size: clamp(1.9rem, 4.4vw, 3.2rem); }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.6; color: var(--ink-soft); max-width: 46ch; }
.muted { color: var(--ink-muted); }
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.alt { background: var(--page-alt); }

/* ───── buttons ───── */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.6rem; border-radius: 999px;
  font-size: .92rem; font-weight: 600; text-decoration: none;
  border: 1px solid transparent; transition: transform .2s, background .2s, border-color .2s, color .2s;
}
.btn svg { width: 15px; height: 15px; }
.btn-p { background: var(--ink); color: var(--page); }
.btn-p:hover { transform: translateY(-2px); background: #000; }
.btn-s { border-color: var(--line); color: var(--ink); background: var(--card); }
.btn-s:hover { border-color: var(--accent-ink); color: var(--accent-ink); transform: translateY(-2px); }
.btn-ink { background: var(--ink); color: var(--page); }
.btn-ink:hover { transform: translateY(-2px); background: #000; }
.btn-ink-outline { border-color: rgba(20,22,28,.4); color: var(--ink); }
.btn-ink-outline:hover { border-color: var(--ink); background: rgba(255,255,255,.35); transform: translateY(-2px); }
.link-u {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-m); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; padding-bottom: .35rem;
  border-bottom: 1px solid var(--line); transition: gap .2s, border-color .2s, color .2s;
}
.link-u:hover { gap: .8rem; border-color: var(--accent-ink); color: var(--accent-ink); }

/* ───── nav ───── */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(246,244,240,.88); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; gap: 1.5rem; height: 68px; }
.nav-logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.nav-logo img { height: 30px; width: auto; }
.nav-logo span { font-family: var(--font-d); font-weight: 700; letter-spacing: .14em; font-size: .82rem; text-transform: uppercase; white-space: nowrap; }
.nav-links { display: flex; gap: 2.2rem; margin: 0 auto; list-style: none; }
.nav-links a { font-size: .9rem; color: var(--ink-muted); text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-tag {
  font-family: var(--font-m); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-ink); border: 1px solid rgba(44,106,171,.35); border-radius: 999px; padding: .3rem .7rem;
}
.nav .btn { padding: .6rem 1.1rem; font-size: .82rem; }

/* ───── hero ───── */
.hero { padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(3rem, 5vw, 4rem); }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-text .display { margin: 1.6rem 0 1.5rem; }
/* the region line is the h1 and keeps the eyebrow look; the slogan is a plain paragraph */
.hero-text h1.eyebrow { font-weight: 400; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }
.frame { position: relative; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-frame { aspect-ratio: 16 / 11; box-shadow: 0 30px 70px rgba(20,22,28,.13); }
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(20,22,28,.82); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.14); border-radius: 999px;
  padding: .5rem .9rem; font-family: var(--font-m); font-size: .7rem; letter-spacing: .06em; color: #e7e9f0;
}
.chip-rating { top: 1rem; right: 1rem; }
.chip-rating b { color: #fff; font-weight: 500; }
.chip .star { color: var(--sky); }
.card-label {
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: rgba(255,254,251,.94); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 4px; padding: .7rem .95rem;
}
.card-label strong { font-family: var(--font-d); font-size: .95rem; font-weight: 700; }
.card-label a { text-decoration: none; }
.card-label span { font-family: var(--font-m); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); white-space: nowrap; }

/* ───── statement ───── */
.statement { display: grid; grid-template-columns: minmax(0, 52rem); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.statement p.big { margin-top: 1.6rem; font-family: var(--font-d); font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.32; letter-spacing: -.02em; }
.statement p.big em { font-family: var(--font-b); font-style: italic; font-weight: 400; color: var(--accent-ink); }
.stats { display: flex; gap: 2.5rem; margin-top: 2rem; }
.stats div { border-top: 1px solid var(--line); padding-top: .8rem; }
.stats b { display: block; white-space: nowrap; font-family: var(--font-d); font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 800; letter-spacing: -.03em; }
.stats span { font-family: var(--font-m); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }

/* ───── section heads ───── */
.s-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; flex-wrap: wrap; }
.s-head .eyebrow { margin-bottom: 1.1rem; }

/* ───── project grid ───── */
.pills { display: flex; gap: .5rem; flex-wrap: wrap; }
.pill {
  font-family: var(--font-m); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .55rem 1.1rem; border-radius: 999px; border: 1px solid var(--line);
  background: var(--card); color: var(--ink-muted); cursor: pointer; transition: all .2s;
}
.pill:hover { color: var(--ink); border-color: var(--ink-muted); }
.pill[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--page); }
.grid-proj { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.1rem; }
.proj { position: relative; grid-column: span 2; }
.proj.wide { grid-column: span 3; }
.proj .frame { aspect-ratio: 16 / 11; transition: transform .4s, box-shadow .4s; }
.proj.wide .frame { aspect-ratio: 16 / 9.4; }
.proj:hover .frame { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(20,22,28,.14); }
.proj .frame img { transition: transform .6s; }
.proj:hover .frame img { transform: scale(1.03); }
.proj a::after { content: ''; position: absolute; inset: 0; border-radius: 6px; }
.proj[hidden] { display: none; }

/* ───── quote over image ───── */
.quote-media { position: relative; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); background: var(--dark); }
.quote-media > picture img { width: 100%; height: clamp(320px, 42vw, 520px); object-fit: cover; opacity: .72; }
.quote-inner {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center;
  padding: clamp(1.5rem, 5vw, 4rem); color: var(--dark-text);
  background: linear-gradient(90deg, rgba(10,12,16,.94), rgba(10,12,16,.55) 68%, rgba(10,12,16,.15));
}
.quote-inner blockquote { font-family: var(--font-d); font-weight: 600; font-size: clamp(1.3rem, 2.6vw, 2.1rem); line-height: 1.3; letter-spacing: -.02em; max-width: 20ch; }
.quote-inner blockquote em { font-family: var(--font-b); font-style: italic; font-weight: 400; color: var(--sky); }
.quote-inner cite { display: flex; align-items: center; gap: .9rem; margin-top: 1.4rem; font-style: normal; font-family: var(--font-m); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dark-muted); }
.quote-inner cite img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.25); flex-shrink: 0; }
.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: -4.5rem; padding-inline: clamp(0rem, 3vw, 3rem); position: relative; z-index: 2; }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 1.4rem 1.5rem;
  box-shadow: 0 16px 40px rgba(20,22,28,.08);
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.feature:hover {
  transform: translateY(-5px) scale(1.035); border-color: var(--accent-ink);
  box-shadow: 0 26px 54px rgba(20,22,28,.16);
}
.feature .num { position: relative; display: inline-block; padding-bottom: .35rem; }
.feature .num::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--accent-ink); transition: width .35s ease;
}
.feature:hover .num::after { width: 100%; }
@media (prefers-reduced-motion: reduce) {
  .feature, .feature .num::after { transition: none; }
  .feature:hover { transform: none; }
}
.feature b { display: block; font-family: var(--font-d); font-size: 1rem; margin-bottom: .5rem; }
.feature p { font-size: .9rem; color: var(--ink-muted); line-height: 1.6; }
.feature .num { font-family: var(--font-m); font-size: .68rem; color: var(--accent-ink); letter-spacing: .12em; }

/* ───── collections ───── */
.collection { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.collection + .collection { margin-top: clamp(3rem, 6vw, 5rem); }
.collection .frame { aspect-ratio: 5 / 4; }
.collection .media.is-shot .frame { aspect-ratio: 16 / 11; }
.media-note {
  margin: .6rem 0 0; font-family: var(--font-m); font-size: .64rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-muted);
}
.media-note.is-on-image {
  position: absolute; right: .9rem; bottom: .7rem; margin: 0; color: rgba(255,255,255,.62);
}
.collection.flip .media { order: 2; }
.num-badge { font-family: var(--font-d); font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px var(--ink-muted); }
.collection h3 { font-family: var(--font-d); font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -.03em; margin: .6rem 0 1rem; }
.collection p { color: var(--ink-soft); max-width: 44ch; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0; }
.tag { font-family: var(--font-m); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: .35rem .8rem; }

/* ───── dark craft section ───── */
.craft { background: var(--dark); color: var(--dark-text); }
.craft-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.craft .frame { aspect-ratio: 4 / 4.6; border-color: var(--dark-line); background: #171a21; }
.craft .eyebrow { color: var(--dark-muted); }
.craft .eyebrow::before { background: var(--sky); }
.craft .display { margin: 1.4rem 0 2.4rem; }
.craft .display em { color: var(--sky); }
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 2.5rem; }
.steps div { border-top: 1px solid var(--dark-line); padding-top: .9rem; }
.steps b { display: block; font-family: var(--font-d); font-size: 1rem; margin-bottom: .3rem; }
.steps span { font-family: var(--font-m); font-size: .68rem; color: var(--sky); letter-spacing: .12em; }
.steps p { font-size: .88rem; color: var(--dark-muted); line-height: 1.55; margin-top: .3rem; }
.craft .stats { margin-top: 3rem; }
.craft .stats div { border-color: var(--dark-line); }
.craft .stats span { color: var(--dark-muted); }

/* ───── reviews ───── */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.1rem; max-width: 880px; }
.review { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 1.6rem; display: flex; flex-direction: column; gap: 1rem; }
.review .stars { color: var(--accent-ink); letter-spacing: .12em; font-size: .9rem; margin: 0; }
.review blockquote { margin: 0; font-size: .97rem; line-height: 1.68; color: var(--ink-soft); }
.review-by { display: flex; align-items: center; gap: .8rem; text-transform: none; letter-spacing: 0; }
.review-by img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.review-by span { display: flex; flex-direction: column; font-size: .78rem; line-height: 1.45; }
.review-by b { font-family: var(--font-b); font-size: .92rem; font-weight: 600; color: var(--ink); letter-spacing: 0; text-transform: none; }
.reviews-note { margin: 1.4rem 0 0; font-size: .8rem; line-height: 1.6; color: var(--ink-muted); max-width: 62ch; }
.reviews-note a { color: var(--ink-muted); text-underline-offset: 3px; }
.reviews-note a:hover { color: var(--accent-ink); }
.review p { font-size: .95rem; line-height: 1.65; color: var(--ink-soft); }
.review footer { font-family: var(--font-m); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); margin-top: auto; }

/* ───── CTA band ───── */
.cta-band { background: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%); color: var(--ink); }
.cta-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.cta-band .eyebrow { color: rgba(20,22,28,.78); }
.cta-band .eyebrow::before { background: var(--ink); }
.cta-band .display { color: var(--ink); margin: 1.2rem 0 1.4rem; }
.cta-band .display em { color: rgba(20,22,28,.72); }
.cta-band p { color: rgba(20,22,28,.9); max-width: 40ch; }
.cta-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .9rem; }
.cta-card { background: rgba(255,255,255,.24); border: 1px solid rgba(255,255,255,.4); border-radius: 6px; padding: 1.6rem; }
.cta-card ul { list-style: none; display: grid; gap: .9rem; }
.cta-card li { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; }
.cta-card li::before { content: '→'; font-family: var(--font-m); }

/* ───── reveal ───── */
/* hidden only when main.js can reveal it again (the inline script in <head> sets .js) */
.js .fi { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .fi.vis { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .fi { opacity: 1; transform: none; transition: none; } }

/* ───── responsive ───── */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .hero-grid, .statement, .collection, .craft-grid, .cta-grid { grid-template-columns: 1fr; }
  .collection.flip .media { order: 0; }
  .grid-proj { grid-template-columns: repeat(2, 1fr); }
  .proj, .proj.wide { grid-column: span 1; }
  .feature-row { grid-template-columns: 1fr; margin-top: 1.5rem; padding-inline: 0; }
  .reviews { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav-tag { display: none; }
  .nav-logo span { font-size: .72rem; letter-spacing: .1em; }
  .nav-in { gap: 1rem; }
  .grid-proj { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats { gap: 1.5rem; }
  .foot-grid { grid-template-columns: 1fr; }
  .strip ul { justify-content: flex-start; }
}

/* ───── contact ───── */
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-facts { list-style: none; display: grid; gap: .8rem; margin-top: 2rem; }
.contact-facts li { font-size: .95rem; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: .8rem; }
.contact-facts span { font-family: var(--font-m); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); margin-right: .6rem; }
.contact-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 8px;
  padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: 0 18px 44px rgba(20,22,28,.08);
}
.cform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
.cform-full { grid-column: 1 / -1; }
.cform-field label {
  display: block; margin-bottom: .45rem;
  font-family: var(--font-m); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted);
}
.cform-req { color: var(--accent-ink); }
.cform-opt { text-transform: none; letter-spacing: 0; }
.cform-field input, .cform-field select, .cform-field textarea {
  width: 100%; padding: .8rem .9rem; font: inherit; font-size: .95rem; color: var(--ink);
  background: var(--page); border: 1px solid var(--line); border-radius: 6px; transition: border-color .2s;
}
.cform-field textarea { min-height: 8.5rem; line-height: 1.6; resize: vertical; }
.cform-field select { appearance: none; cursor: pointer; padding-right: 2.4rem;
  background: var(--page) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2363687a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .9rem center; }
.cform-field input:hover, .cform-field select:hover, .cform-field textarea:hover { border-color: var(--ink-muted); }
.cform-field input:focus-visible, .cform-field select:focus-visible, .cform-field textarea:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 1px; border-color: var(--accent-ink); }
.cform-field [aria-invalid="true"] { border-color: #b3261e; }
.cform-error { margin-top: .35rem; font-size: .8rem; color: #b3261e; }
.cform-error:empty { display: none; }
.cform-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cform-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.4rem; }
.cform-submit {
  display: inline-flex; align-items: center; gap: .6rem; cursor: pointer;
  padding: .95rem 1.6rem; border: 0; border-radius: 999px;
  background: var(--ink); color: var(--page); font: inherit; font-size: .92rem; font-weight: 600;
  transition: transform .2s, background .2s;
}
.cform-submit:hover { transform: translateY(-2px); background: #000; }
.cform-submit[disabled] { opacity: .6; cursor: progress; transform: none; }
.cform-note { font-size: .78rem; color: var(--ink-muted); line-height: 1.5; flex: 1; min-width: 14rem; }
.cform-note a { color: var(--accent-ink); }
.cform-status { margin-top: 1rem; font-size: .9rem; color: #b3261e; }
.cform-status:empty { display: none; }
.cform-success {
  background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 2rem;
}
.cform-success h3 { font-family: var(--font-d); font-size: 1.3rem; margin-bottom: .6rem; }
.cform-success p { color: var(--ink-soft); }
@media (max-width: 1000px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .cform-grid { grid-template-columns: 1fr; } }

/* ───── project marquee (wie auf der Live-Seite) ───── */
.port-marquee {
  --gap: 1.1rem;
  display: flex; gap: var(--gap);
  padding: .5rem 0 1.5rem;
  overflow-x: auto; scroll-snap-type: x mandatory;
}
.port-track { display: flex; flex-shrink: 0; gap: var(--gap); }
.port-track .proj { flex: 0 0 clamp(260px, 78vw, 360px); grid-column: auto; scroll-snap-align: start; }
.port-marquee.is-running {
  overflow: hidden;
  scroll-snap-type: none; touch-action: pan-y;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.port-marquee.is-running .port-track { animation: marquee 70s linear infinite; }
.port-marquee.is-running:is(:hover, :focus-within, .is-paused) .port-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-100% - var(--gap))); } }
.port-marquee-ctrl { display: flex; justify-content: center; }
.port-pause { display: inline-flex; align-items: center; gap: .5rem; }

/* ───── hero photo (Bergpanorama wie auf der Live-Seite) ───── */
.hero { position: relative; isolation: isolate; }
.hero-photo { position: absolute; inset: 0; z-index: -1; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.hero-photo::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(246,244,240,.97) 0%, rgba(246,244,240,.93) 36%, rgba(246,244,240,.62) 60%, rgba(246,244,240,.22) 100%),
    linear-gradient(to bottom, var(--page) 0%, rgba(246,244,240,.55) 14%, transparent 34%),
    linear-gradient(to top, var(--page) 0%, rgba(246,244,240,.35) 22%, transparent 45%);
}
@media (max-width: 1000px) {
  .hero-photo::after {
    background:
      linear-gradient(to bottom, var(--page) 0%, rgba(246,244,240,.9) 22%, rgba(246,244,240,.88) 65%, var(--page) 100%);
  }
  .hero-photo img { object-position: center 40%; }
}

/* ───── hero ohne Projektkarte ───── */
.hero-grid { grid-template-columns: minmax(0, 47rem); }
.hero { padding-block: clamp(4rem, 9vw, 8.5rem) clamp(3.5rem, 6vw, 5.5rem); }
.hero-rating {
  margin-top: 1.8rem; font-family: var(--font-m); font-size: .74rem; letter-spacing: .06em; color: var(--ink-muted);
}
.hero-rating .star { color: var(--accent-ink); }
.hero-rating b { color: var(--ink); font-weight: 500; }
.hero-rating a { color: var(--ink-muted); text-underline-offset: 3px; }
.hero-rating a:hover { color: var(--accent-ink); }

/* ───── contact options: compact list, one tappable row each ───── */
.contact-list { list-style: none; margin-top: 1.8rem; border-top: 1px solid var(--line); }
.contact-list a {
  display: grid; grid-template-columns: 18px 5.5rem minmax(0, 1fr); align-items: center; gap: .85rem;
  padding: .85rem .25rem; border-bottom: 1px solid var(--line);
  color: var(--ink); text-decoration: none; transition: color .2s;
}
.contact-list a:hover { color: var(--accent-ink); }
.cl-icon { width: 18px; height: 18px; color: var(--accent-ink); }
.cl-label { font-family: var(--font-m); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }
.cl-value { font-weight: 600; font-size: .95rem; overflow-wrap: anywhere; }
.contact-facts { margin-top: 2rem; }


/* fester gemeinsamer Kopf → Inhalt beginnt darunter */
body { padding-top: 68px; }

/* gleiche schmale Scrollleiste wie auf den übrigen Seiten */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--page-alt); }
::-webkit-scrollbar-thumb { background: #cfcabf; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--ink-muted); }

/* Symbole im Pause-Knopf (wie auf der Live-Seite) */
.port-play-icon, .port-pause.is-paused .port-pause-icon { display: none; }
.port-pause.is-paused .port-play-icon { display: block; }

/* ───── about ───── */
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 0 clamp(2rem, 5vw, 4.5rem); align-items: start; }
/* the link follows the career list in the markup (so it sits below it on phones) and is placed under the text on desktop */
.about-intro { grid-column: 1; grid-row: 1; }
.about-career { grid-column: 2; grid-row: 1 / span 2; }
.about-more { grid-column: 1; grid-row: 2; justify-self: start; }
.about-grid .display { margin: 1.4rem 0 1.6rem; }
.about-text p { color: var(--ink-soft); max-width: 62ch; }
.about-text p + p { margin-top: 1rem; }
.about-grid .tags { margin: 1.6rem 0 2rem; }
.timeline { list-style: none; display: grid; gap: 1.5rem; margin-top: 1.4rem; }
.timeline li { border-top: 1px solid var(--line); padding-top: .9rem; }
.timeline span { font-family: var(--font-m); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.timeline h3 { font-family: var(--font-d); font-size: 1.05rem; margin: .3rem 0 .2rem; }
.timeline p { font-size: .9rem; line-height: 1.55; color: var(--ink-muted); }
@media (max-width: 1000px) {
  .about-grid { grid-template-columns: 1fr; row-gap: 2.5rem; }
  .about-intro, .about-career, .about-more { grid-column: auto; grid-row: auto; }
  .about-grid .tags { margin-bottom: 0; }
}

/* ───── faq (open/close animation in main.js) ───── */
#faq .lede { margin-top: 1.2rem; }
.faq-list { display: grid; gap: .75rem; max-width: 860px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 6px; transition: border-color .2s; }
.faq-item:hover, .faq-item[open]:not(.is-closing) { border-color: var(--accent-ink); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 1.4rem; cursor: pointer; list-style: none;
  font-family: var(--font-d); font-weight: 600; font-size: 1.02rem; line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; flex-shrink: 0; font-family: var(--font-m); font-size: 1.25rem; color: var(--accent-ink); transition: transform .2s; }
.faq-item[open]:not(.is-closing) summary::after { transform: rotate(45deg); }
.faq-item summary:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; border-radius: 6px; }
.faq-item p { padding: 0 1.4rem 1.25rem; color: var(--ink-soft); line-height: 1.7; font-size: .95rem; }
.faq-item a { color: var(--accent-ink); }
.nowrap { white-space: nowrap; }
