/* Nuntia – Entwurf „Executive-Search-Boutique“ */
:root {
  --ivory: #f6f3ec;
  --ivory-2: #efebe2;
  --ink: #141414;
  --ink-2: #2c2a27;
  --muted: #77716a;
  --line: #d8d1c4;
  --bronze: #8a6d3b;
  --serif: "Cormorant Garamond", "EB Garamond", Garamond, "Hoefler Text", Baskerville, "Baskerville Old Face", "Palatino Linotype", Georgia, serif;
  --sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --max: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--ivory); color: var(--ink-2);
  font-family: var(--sans); font-size: 16px; line-height: 1.75; font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.container { width: min(100% - 64px, var(--max)); margin-inline: auto; }

.label {
  font-family: var(--sans); font-size: .7rem; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase; color: var(--bronze);
}
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); margin: 0; line-height: 1.12; }
h1 { font-size: clamp(2.8rem, 6.4vw, 5.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
h3 { font-size: 1.65rem; }
p { margin: 0 0 1.1em; }

/* Header */
.hd { position: sticky; top: 0; z-index: 10; background: rgba(246,243,236,.94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.hd-in { height: 80px; display: flex; align-items: center; justify-content: space-between; }
.wordmark { font-family: var(--serif); font-size: 1.45rem; letter-spacing: .42em; text-decoration: none; color: var(--ink); padding-left: .42em; }
.hd nav { display: flex; gap: 40px; }
.hd nav a { text-decoration: none; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-2); padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color .3s, color .3s; }
.hd nav a:hover { border-color: var(--bronze); color: var(--ink); }

/* Hero */
.hero { min-height: calc(100vh - 80px); display: flex; align-items: center; padding: 120px 0 100px; }
.hero .label { display: block; margin-bottom: 40px; }
.hero h1 { max-width: 15ch; }
.hero-sub { margin-top: 44px; max-width: 520px; font-size: 1.12rem; color: var(--ink-2); }
.hero-foot { margin-top: 64px; display: flex; align-items: center; gap: 28px; }
.rule { width: 72px; height: 1px; background: var(--bronze); }
.link-cta { font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 6px; transition: color .3s, border-color .3s; }
.link-cta:hover { color: var(--bronze); border-color: var(--bronze); }

/* Statement */
.statement { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 120px 0; text-align: center; }
.statement p { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--ink); line-height: 1.4; max-width: 30ch; margin: 0 auto; }

/* Sections */
.sec { padding: 150px 0; }
.sec-head { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; margin-bottom: 90px; }
.sec-head .label { padding-top: 14px; }

/* Mandate */
.mandates { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.mandate { padding: 44px 40px 8px 0; }
.mandate + .mandate { padding-left: 40px; border-left: 1px solid var(--line); }
.numeral { font-family: var(--serif); font-size: 1rem; color: var(--bronze); letter-spacing: .12em; display: block; margin-bottom: 28px; }
.mandate h3 { margin-bottom: 18px; }
.mandate p { color: var(--muted); font-size: .96rem; }

/* Ansatz */
.approach { background: var(--ivory-2); }
.approach-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; }
.prose { max-width: 620px; }
.prose p:first-child { font-family: var(--serif); font-size: 1.55rem; line-height: 1.5; color: var(--ink); }
.note { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .82rem; letter-spacing: .06em; color: var(--muted); }

/* Referenz */
.ref { text-align: center; }
.ref .label { display: block; margin-bottom: 56px; }
.ref-num { font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif; font-weight: 200; font-size: clamp(6rem, 14vw, 10rem); line-height: .9; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.ref-unit { display: block; margin-top: 18px; font-size: .74rem; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-2); }
.ref p { font-family: var(--serif); font-size: 1.4rem; line-height: 1.55; max-width: 34ch; margin: 48px auto 0; color: var(--ink); }

/* Gründer */
.founder { border-top: 1px solid var(--line); }
.founder-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 100px; align-items: center; }
.founder img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; filter: grayscale(1) contrast(1.05); }
.founder h2 { margin: 26px 0 8px; }
.founder .role { font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 40px; }
.founder p { max-width: 520px; }
.signature { margin-top: 36px; font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--ink); }

/* Kontakt */
.contact { background: var(--ink); color: #bdb7ad; padding: 150px 0 130px; }
.contact .label { color: #b8995f; }
.contact h2 { color: var(--ivory); margin: 30px 0 28px; max-width: 16ch; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; border-bottom: 1px solid rgba(246,243,236,.14); }
.contact-list li:first-child { border-top: 1px solid rgba(246,243,236,.14); }
.contact-list span { font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: #8a847a; padding-top: 6px; }
.contact-list a { color: var(--ivory); text-decoration: none; font-family: var(--serif); font-size: 1.35rem; transition: color .3s; }
.contact-list a:hover { color: #b8995f; }

/* Footer */
.ft { background: var(--ink); color: #6f6a62; border-top: 1px solid rgba(246,243,236,.1); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.ft-in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 30px 0; }
.ft a { color: #a9a39a; text-decoration: none; margin-left: 32px; }
.ft a:hover { color: var(--ivory); }

:focus-visible { outline: 1px solid var(--bronze); outline-offset: 4px; }

/* Animationen – nur mit JavaScript, dezent */
.js .reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 1.2s cubic-bezier(.2,.7,.2,1), transform 1.2s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--d, 0s);
}
.js .reveal.in { opacity: 1; transform: none; }

/* Linie unter dem Hero-Text zeichnet sich */
.js .hero-foot .rule { width: 0; transition: width 1.4s cubic-bezier(.65,0,.35,1) 1.3s; }
.js .hero-foot.in .rule { width: 72px; }

/* Obere Linie der Mandate zeichnet sich von links */
.js .line-draw { position: relative; border-top-color: transparent; }
.js .line-draw.reveal { opacity: 1; transform: none; }
.js .line-draw::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: left; transition: transform 1.6s cubic-bezier(.65,0,.35,1);
}
.js .line-draw.in::before { transform: scaleX(1); }

/* Foto: Vorhang von unten nach oben, leichter Zoom */
.photo-inner { overflow: hidden; }
.js .photo.reveal { opacity: 1; transform: none; }
.js .photo-inner { clip-path: inset(100% 0 0 0); transition: clip-path 1.6s cubic-bezier(.65,0,.35,1); }
.js .photo.in .photo-inner { clip-path: inset(0 0 0 0); }
.js .photo img { transform: scale(1.12); transition: transform 2.4s cubic-bezier(.2,.7,.2,1); }
.js .photo.in img { transform: scale(1); }

/* Link-Unterstrich wächst beim Hover */
.hd nav a { border-bottom: 0 !important; background-image: linear-gradient(var(--bronze), var(--bronze)); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .5s ease, color .3s; }
.hd nav a:hover { background-size: 100% 1px; }
@media (max-width: 640px) { .hd nav a { border-bottom: 1px solid var(--line) !important; background-image: none; } }

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .photo-inner, .js .photo img, .js .hero-foot .rule, .js .line-draw::before {
    opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important;
  }
  .js .hero-foot .rule { width: 72px; }
}

/* Logo */
.wordmark { display: inline-flex; align-items: center; padding-left: 0; }
.wordmark img { height: 40px; width: auto; display: block; }

/* Bogen als Gestaltungselement */
.hero { position: relative; overflow: hidden; }
.hero .container { position: relative; z-index: 1; }
.hero-bow {
  position: absolute; right: 6%; top: 50%; transform: translateY(-50%);
  height: min(82%, 640px); width: auto; aspect-ratio: 1; color: var(--ink); opacity: .22; pointer-events: none;
}
.hero-bow path { stroke-width: .16; }
.hero-bow .d1 { stroke-width: .34; }
.js .hero-bow .draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.8s cubic-bezier(.65,0,.35,1) forwards; }
.js .hero-bow .d1 { animation-delay: .5s; animation-duration: 2s; }
.js .hero-bow .d2 { animation-delay: 1.4s; animation-duration: 1s; }
.js .hero-bow .d3 { animation-delay: 2s; animation-duration: 1.1s; animation-timing-function: cubic-bezier(.3,0,.1,1); }
.js .hero-bow .d4 { animation-delay: 2.9s; animation-duration: .5s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.statement-mark { width: 44px; height: 44px; margin: 0 auto 36px; opacity: .8; }
.ft-brand { display: inline-flex; align-items: center; gap: 14px; }
.ft-brand img { filter: invert(1); opacity: .55; }

@media (max-width: 900px) { .hero-bow { opacity: .1; right: 0; height: 60%; } }
@media (prefers-reduced-motion: reduce) { .js .hero-bow .draw { animation: none; stroke-dashoffset: 0; } }

/* Call-to-Actions */
.btn-solid, .btn-line {
  display: inline-block; text-decoration: none; text-align: center;
  font: 500 .72rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase;
  padding: 19px 30px; border: 1px solid var(--ink);
  transition: background-color .35s, color .35s, border-color .35s;
}
.btn-solid { background: var(--ink); color: var(--ivory); }
.btn-solid:hover { background: var(--bronze); border-color: var(--bronze); color: #fff; }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--ivory); }
.btn-light { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.btn-light:hover { background: #b8995f; border-color: #b8995f; color: var(--ink); }
.btn-line-light { color: var(--ivory); border-color: rgba(246,243,236,.5); }
.btn-line-light:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }

.hd nav .nav-cta { padding: 12px 20px; background-image: none !important; border: 1px solid var(--ink) !important; color: var(--ink); }
.hd nav .nav-cta:hover { background: var(--ink); color: var(--ivory); }

.hero-foot { flex-wrap: wrap; }
.cta-row { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 16px 40px; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); }
.cta-row p { margin: 0; font-family: var(--serif); font-size: 1.35rem; color: var(--ink); }
.ref-cta { margin-top: 56px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.ref-cta span { font-size: .9rem; color: var(--muted); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* Schnellkontakt-Leiste (nur Handy) */
.mobile-bar { display: none; }
@media (max-width: 640px) {
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    background: var(--ink); border-top: 1px solid rgba(246,243,236,.15);
    transform: translateY(100%); transition: transform .4s ease;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar.show { transform: none; }
  .mobile-bar a { color: var(--ivory); text-decoration: none; text-align: center; padding: 18px 0; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; }
  .mobile-bar a + a { border-left: 1px solid rgba(246,243,236,.15); }
  .ft { padding-bottom: 60px; }
  .hd nav .nav-cta { margin-top: 18px; padding: 16px 20px; text-align: center; }
  .hero-foot .rule { display: none; }
  .btn-solid, .btn-line { width: 100%; }
}

/* Menü-Button (nur mobil) */
.menu-btn {
  display: none; background: none; border: 0; padding: 8px 0; cursor: pointer;
  font: 500 .72rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--ink);
}

/* Rechtliche Seiten */
.back { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; text-decoration: none; color: var(--ink-2); border-bottom: 1px solid transparent; padding: 6px 0; }
.back:hover { border-color: var(--bronze); color: var(--ink); }
.legal { padding: 110px 0 140px; }
.legal .container { max-width: 760px; }
.legal h1 { font-size: clamp(2.6rem, 5vw, 3.8rem); margin: 24px 0 16px; }
.legal h2 { font-size: 1.6rem; margin: 2.2em 0 .5em; }
.legal ul { padding-left: 1.2em; margin: 0 0 1.1em; }
.legal li { margin-bottom: .2em; }
.legal a { color: var(--ink); text-decoration-color: var(--bronze); text-underline-offset: 3px; }
.placeholder { background: #f1e6cc; padding: 0 4px; }

/* Responsive */
@media (max-width: 900px) {
  .sec { padding: 100px 0; }
  .sec-head, .approach-grid, .founder-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .mandates { grid-template-columns: 1fr; }
  .mandate, .mandate + .mandate { padding: 36px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .founder-grid { gap: 56px; }
  .founder img { max-width: 420px; }
  .hd nav { gap: 22px; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 40px, var(--max)); }
  .menu-btn { display: block; }
  .hd nav {
    display: none; position: absolute; top: 80px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px 20px 28px;
    background: var(--ivory); border-bottom: 1px solid var(--line);
  }
  .hd nav.open { display: flex; }
  .hd nav a { padding: 18px 0; border-bottom: 1px solid var(--line); }
  .hero { min-height: auto; padding: 90px 0 80px; }
  .statement { padding: 80px 0; }
  .contact { padding: 100px 0 90px; }
  .contact-list li { flex-direction: column; gap: 4px; }
  .ft-in { flex-direction: column; }
  .ft a { margin: 0 24px 0 0; }
}
