/* eposter.digital – Produktfamilie eposter & Pixelpult
   Graphit, Elfenbein, genau ein Akzent: Champagner. Cormorant Garamond für Überschriften, Inter für alles Funktionale.
   Haarlinien statt Schatten, fast eckige Formen, Titel links mit goldener Haarlinie. */

@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --graphite: #0e1116;
  --graphite-2: #141820;
  --graphite-3: #1a1f28;
  --line-d: #2a303a;
  --line-d2: #2f3642;
  --ivory: #f4f1ea;
  --ivory-2: #fbf9f5;
  --ivory-3: #ece7dd;
  --line-l: #dcd5c8;
  --ink-d: #ece8e1;      /* Text auf Graphit */
  --ink-d2: #c8c4bc;
  --muted-d: #9a9da6;
  --ink-l: #14171c;      /* Text auf Elfenbein */
  --ink-l2: #3c4048;
  --muted-l: #5b5f68;
  --gold: #c2a36b;
  --gold-text-l: #7e6030;
  --on-gold: #14110b;
  --stone-d: #a99c82;
  --stone-l: #6b6458;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", "Helvetica Neue", Arial, system-ui, sans-serif;
  --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - 1px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--graphite); color: var(--ink-d2); font: 400 16px/1.7 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--ink-d); margin: 0 0 .4em; line-height: 1.1; }
p { margin: 0 0 1em; }
figure { margin: 0; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }

.overline { font: 600 11px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--stone-d); margin: 0; }
.hairline { display: block; width: 96px; height: 2px; background: var(--gold); }

/* ---------- Kopfzeile ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); transition: background .25s, box-shadow .25s; }
.site-header.solid, .site-header.scrolled { background: rgba(14, 17, 22, .94); box-shadow: 0 1px 0 var(--line-d); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; }
.brand:hover { text-decoration: none; }
.brand .logo { width: auto; max-width: 280px; }
.brand-text { font: 600 26px/1 var(--serif); color: var(--ink-d); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink-d2); font: 500 14px/1 var(--sans); padding: 10px 12px; border-radius: 6px; position: relative; }
.nav a:hover, .nav a.active { color: var(--ink-d); text-decoration: none; }
.nav a.active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1px; background: var(--gold); }
.nav-icon svg { width: 18px; height: 18px; display: block; }
.nav-switch { display: inline-flex !important; align-items: center; gap: 8px; border-left: 1px solid var(--line-d2); border-radius: 0 !important; margin-left: 8px; padding-left: 18px !important; }
.nav-switch .overline { font-size: 10px; }
.nav-cta { margin-left: 10px; border: 1px solid var(--line-d2); padding: 11px 18px !important; border-radius: 8px !important; color: var(--ink-d) !important; }
.nav-cta:hover { border-color: var(--gold); color: var(--gold) !important; }

.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 14px 10px; cursor: pointer; }
.burger span { display: block; height: 1.5px; background: var(--ink-d); margin: 6px 0; transition: transform .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

@media (max-width: 960px) {
  :root { --header-h: 66px; }
  .brand .logo { max-height: 34px; }
  .burger { display: block; }
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--graphite); padding: 16px 24px 32px; display: none; overflow: auto; border-top: 1px solid var(--line-d); }
  .nav.open { display: flex; }
  .nav a { font: 500 30px/1.2 var(--serif); color: var(--ink-d); padding: 14px 0; border-bottom: 1px solid var(--line-d); border-radius: 0; }
  .nav a.active::after { display: none; }
  .nav-switch { border-left: 0; margin: 0; padding-left: 0 !important; border-radius: 0 !important; }
  .nav-icon svg { width: 24px; height: 24px; }
  .nav-cta { margin: 24px 0 0; text-align: center; font: 600 13px/1 var(--sans) !important; letter-spacing: .14em; text-transform: uppercase; padding: 18px !important; border-color: var(--gold); }
  .site-header.over-hero:has(.nav.open) { background: var(--graphite); }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1 var(--sans); text-transform: uppercase; letter-spacing: .14em; padding: 17px 26px; border-radius: 8px; border: 1px solid var(--gold); cursor: pointer; transition: background .2s, color .2s, border-color .2s; text-decoration: none !important; }
.btn-primary { background: var(--gold); color: var(--on-gold) !important; }
.btn-primary:hover { background: #cfb27c; }
.btn-ghost { background: transparent; color: var(--ink-d) !important; border-color: var(--line-d2); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold) !important; }

/* ---------- Startbild der Produktseiten ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--graphite); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.75); }
.hero-shade { position: absolute; inset: 0; background: var(--graphite); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(to top, var(--graphite), rgba(14,17,22,0)); pointer-events: none; }
.hero-content { position: relative; z-index: 1; padding: calc(var(--header-h) + 60px) 0 clamp(64px, 11vh, 120px); }
.hero-content .hairline { margin-bottom: 26px; }
.hero-kicker { margin-bottom: 18px; }
.hero-title { font: 500 clamp(52px, 9vw, 128px)/.98 var(--serif); letter-spacing: -.012em; color: var(--ink-d); margin: 0; max-width: 14ch; }
.hero-words { font: 500 13px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--stone-d); margin: 22px 0 0; }
.hero-words .word { color: var(--gold); display: inline-block; transition: opacity .35s, transform .35s; }
.hero-words .word.out { opacity: 0; transform: translateY(6px); }
.hero-sub { font-size: clamp(17px, 1.7vw, 20px); line-height: 1.6; color: var(--ink-d2); max-width: 640px; margin: 26px 0 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.pp-art { color: var(--gold); opacity: .55; }
.pp-art .pix { fill: var(--gold); }
.hero-pp .hero-art { position: absolute; right: -6%; top: 50%; width: min(64vw, 820px); transform: translateY(-50%); opacity: .38; }

/* ---------- Geteilte Startseite ---------- */
.split { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; min-height: 100svh; }
.split-label { position: absolute; z-index: 2; top: calc(var(--header-h) + 22px); left: 50%; transform: translateX(-50%); white-space: nowrap; color: var(--stone-d); }
.half { position: relative; display: flex; align-items: flex-end; overflow: hidden; color: inherit; text-decoration: none !important; padding: calc(var(--header-h) + 80px) clamp(24px, 5vw, 72px) clamp(56px, 9vh, 96px); isolation: isolate; }
.half + .half { border-left: 1px solid var(--line-d); }
.half-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: saturate(.7); transition: transform .8s ease; }
.half-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(14,17,22,.96) 18%, rgba(14,17,22,.55) 70%, rgba(14,17,22,.7)); transition: opacity .4s; }
.half-pp { background: var(--graphite-2); }
.half-pp .pp-art { position: absolute; z-index: -1; width: 78%; top: 16%; right: -8%; opacity: .35; transition: opacity .5s, transform .8s ease; }
.half-body { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 520px; }
.half-logo { height: 46px; width: auto; margin-bottom: 18px; }
.half-title { font: 500 clamp(36px, 4.2vw, 60px)/1.04 var(--serif); color: var(--ink-d); }
.half-text { font-size: 17px; line-height: 1.6; color: var(--ink-d2); margin-bottom: 12px; }
.half:hover .half-bg { transform: scale(1.03); }
.half:hover .pp-art { opacity: .55; transform: scale(1.02); }
.half:hover .btn-ghost, .half:focus-visible .btn-ghost { border-color: var(--gold); color: var(--gold) !important; }
.shared { max-width: 1200px; }
.shared .lead { max-width: 720px; }

/* ---------- Abschnitte ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.tone-graphite { background: var(--graphite); }
.tone-deep { background: var(--graphite-2); border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); }
.tone-ivory { background: var(--ivory); color: var(--ink-l2); }
.tone-ivory h2, .tone-ivory h3, .tone-ivory .section-title { color: var(--ink-l); }
.tone-ivory .overline { color: var(--stone-l); }
.tone-ivory a { color: var(--gold-text-l); }

.section-head { margin-bottom: 52px; max-width: 860px; }
.kicker::before { content: ""; display: block; width: 28px; height: 2px; background: var(--gold); margin-bottom: 14px; }
.section-title { font-size: clamp(36px, 4.8vw, 60px); line-height: 1.06; letter-spacing: -.008em; margin: 0; }
.lead p, p.lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.65; }
.lead strong { display: block; font: 500 clamp(26px, 2.6vw, 34px)/1.2 var(--serif); color: var(--ink-d); margin-bottom: 8px; }

.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about-grid .section-head { margin-bottom: 32px; }
.about-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; border: 1px solid var(--line-d); filter: saturate(.85); }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: clamp(56px, 7vw, 96px) 0 0; border-top: 1px solid var(--line-d); }
.facts > div { padding: 30px 28px 0 0; }
.facts > div + div { padding-left: 28px; border-left: 1px solid var(--line-d); }
.facts dt { font: 500 clamp(52px, 6vw, 88px)/1 var(--serif); color: var(--ink-d); }
.facts > div:first-child dt { color: var(--gold); }
.facts dd { margin: 12px 0 0; font-size: 15px; color: var(--muted-d); max-width: 26ch; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line-d2); }
.step { padding: 28px 24px 0 0; }
.step + .step { padding-left: 24px; border-left: 1px solid var(--line-d); }
.step-num { display: block; font: 600 11px/1 var(--sans); letter-spacing: .16em; color: var(--stone-d); margin-bottom: 22px; }
.step-icon { display: block; color: var(--muted-d); margin-bottom: 16px; }
.step-icon svg { width: 26px; height: 26px; stroke-width: 1.4; }
.step h3 { font-size: 26px; margin-bottom: 10px; }
.step p { font-size: 15px; line-height: 1.6; color: var(--muted-d); margin: 0; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0; border-top: 1px solid var(--line-l); }
.card { padding: 30px 26px 8px 0; }
.card + .card { padding-left: 26px; border-left: 1px solid var(--line-l); }
.card-icon { display: block; color: var(--muted-l); margin-bottom: 18px; }
.card-icon svg { width: 26px; height: 26px; stroke-width: 1.4; }
.card h3 { font-size: 27px; margin-bottom: 10px; }
.card p { font-size: 15px; line-height: 1.6; margin: 0; }
.cards-dark { border-color: var(--line-d2); }
.cards-dark .card + .card { border-color: var(--line-d); }
.cards-dark .card-icon { color: var(--gold); }
.cards-dark .card p { color: var(--muted-d); }

.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.trust { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-l); }
.trust li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line-l); font-size: 17px; color: var(--ink-l); }
.trust svg { width: 20px; height: 20px; flex: none; margin-top: 4px; color: var(--gold-text-l); }

.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.team { display: flex; flex-wrap: wrap; gap: 32px; }
.member { display: flex; flex-direction: column; gap: 6px; width: min(340px, 100%); color: inherit; text-decoration: none !important; }
.member-photo { display: block; aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid var(--line-d); border-radius: 2px; margin-bottom: 14px; background: var(--graphite-3); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35); transition: filter .4s, transform .6s; }
a.member:hover .member-photo img { filter: none; transform: scale(1.02); }
.member-name { font: 500 28px/1.15 var(--serif); color: var(--ink-d); }
.member-role { font-size: 14px; color: var(--muted-d); }
.member-link { display: inline-flex; align-items: center; gap: 8px; font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-top: 8px; }
.member-link svg { width: 16px; height: 16px; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-info .section-head { margin-bottom: 28px; }
.contact-list { list-style: none; padding: 0; margin: 30px 0; border-top: 1px solid var(--line-l); }
.contact-list li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-l); color: var(--ink-l); }
.contact-list svg { width: 18px; height: 18px; color: var(--muted-l); flex: none; }
.badge img { height: 23px; width: auto; }
.form { background: var(--ivory-2); border: 1px solid var(--line-l); border-radius: 10px; padding: clamp(24px, 3.5vw, 44px); }
.form label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-l); margin-bottom: 18px; }
.form label small { font-weight: 400; color: var(--muted-l); }
.req { color: var(--gold-text-l); }
.form input, .form select, .form textarea { display: block; width: 100%; margin-top: 7px; font: 400 15px/1.4 var(--sans); color: var(--ink-l); background: #fff; border: 1px solid var(--line-l); border-radius: 8px; padding: 13px 14px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(194, 163, 107, .25); }
.form textarea { resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form .check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--ink-l2); }
.form .check input { width: 18px; height: 18px; margin: 3px 0 0; flex: none; accent-color: var(--gold-text-l); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 14px 0 0; font-weight: 600; min-height: 1.5em; }
.form-status.ok { color: #2f6b3f; }
.form-status.err { color: #a33a43; }

/* ---------- Fußzeile ---------- */
.site-footer { background: var(--graphite); border-top: 1px solid var(--line-d); padding: 72px 0 0; color: var(--muted-d); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer-logo { height: 40px; width: auto; margin-bottom: 20px; }
.footer-claim { max-width: 380px; font-size: 15px; }
.footer-col .overline { margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { padding: 4px 0; }
.footer-col a { color: var(--ink-d2); }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-d2); border-radius: 8px; color: var(--ink-d2); transition: border-color .2s, color .2s; }
.social a:hover { border-color: var(--gold); color: var(--gold); }
.social svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line-d); padding: 22px 0 28px; font-size: 13px; }
.footer-bottom nav { display: flex; gap: 22px; }
.footer-bottom a { color: var(--muted-d); }
.footer-bottom a:hover { color: var(--ink-d); }

/* ---------- Rechtliche Seiten ---------- */
body.plain { background: var(--ivory); color: var(--ink-l2); }
body.plain main.legal { padding: calc(var(--header-h) + 64px) 0 96px; max-width: 820px; }
.legal h1 { font-size: clamp(42px, 5vw, 64px); color: var(--ink-l); }
.legal h1::before { content: ""; display: block; width: 96px; height: 2px; background: var(--gold); margin-bottom: 28px; }
.legal h2 { font-size: 28px; margin-top: 1.8em; color: var(--ink-l); }
.legal strong { color: var(--ink-l); }
.legal ul { padding-left: 1.2em; }
.legal a { color: var(--gold-text-l); word-break: break-word; }

/* ---------- Responsiv ---------- */
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .step:nth-child(4) { border-left: 0; padding-left: 0; }
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split-label { display: none; }
  .half { min-height: 78svh; padding-top: calc(var(--header-h) + 40px); }
  .half + .half { border-left: 0; border-top: 1px solid var(--line-d); min-height: 70svh; padding-top: 80px; }
  .about-grid, .contact-grid, .team-grid, .trust-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .facts > div, .facts > div + div { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line-d); display: flex; gap: 20px; align-items: baseline; }
  .facts dd { margin: 0; }
  .facts dt { min-width: 3.2ch; }
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .step, .step + .step, .step:nth-child(4) { padding: 26px 0; border-left: 0; border-bottom: 1px solid var(--line-d); }
  .cards { grid-template-columns: 1fr; }
  .card, .card + .card { padding: 26px 0; border-left: 0; border-bottom: 1px solid var(--line-l); }
  .cards-dark .card, .cards-dark .card + .card { border-color: var(--line-d); }
  .row2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .hero-pp .hero-art { width: 120vw; right: -40%; top: 34%; }
}
@media (max-width: 520px) {
  .wrap { width: calc(100% - 40px); }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .nav-cta { width: 100%; }
}

/* Versalziffern statt Mediävalziffern bei großen Zahlen; ausgeglichene Umbrüche bei Titeln */
.facts dt, .step-num, .hero-title, .section-title, .half-title { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
.hero-title, .section-title, .half-title, .legal h1 { text-wrap: balance; }
