/* Steinhart & Stahl – Design C3 "Im Gespräch" */

/* Fonts are self-hosted (no Google Fonts request, DSGVO). Files: assets/fonts/ */
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/newsreader-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 300; font-display: swap; src: url("../fonts/newsreader-latin-300-italic.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/newsreader-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/jost-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/jost-latin-500-normal.woff2") format("woff2"); }

:root {
  --ground: #FAFAF8;
  --surface: #FFFFFF;
  --ink: #141618;
  --text: #2E3236;
  --muted: #55595E;
  --line: #D6D7D3;
  --line-soft: #E6E6E2;
  --field: #8A8E92;
  /* Messing: text/fill a shade darker than the hairline so it stays legible over the photo */
  --accent: #6B4E22;
  --accent-line: #7A5A2A;
  --accent-soft: rgba(122, 90, 42, .45);
  --accent-dark: #523B18;
  --on-dark: #FAFAF8;
  --on-dark-muted: #B9BCBF;
  --on-dark-accent: #D8BE8E;
  --linen: #EDE8DF;
  --linen-edge: #DDD5C7;
  --linen-line: #D6CDBE;
  --linen-text: #4F4A43;
  --linen-muted: #5A544C;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(88px, 11vw, 160px);
  --wrap: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(18px, 1.3vw, 19px);
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 4px; }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--on-dark-accent); }
h1, h2, h3, p, dl, dd, ul, ol, figure { margin: 0; }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 20px; }
.skip-link:focus { top: 16px; color: #fff; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.serif { font-family: var(--serif); }
.h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(36px, 4.4vw, 52px); line-height: 1.1; }
.lead-muted { color: var(--muted); max-width: 34em; }
.aside-line { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(20px, 1.8vw, 23px); color: var(--muted); }
.section-surface { background: var(--surface); border-block: 1px solid var(--line-soft); }

/* Buttons */
/* Haarlinie: hairline frame that fills on hover */
.btn { display: inline-block; font: inherit; font-size: 17px; font-weight: 500; letter-spacing: .03em; text-decoration: none; padding: 16px 34px; border: 1px solid var(--accent-line); cursor: pointer; background: rgba(250, 249, 245, .45); color: var(--accent); }
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.on-dark .btn { border-color: var(--on-dark-accent); color: var(--on-dark-accent); background: transparent; }
.on-dark .btn:hover { background: var(--on-dark-accent); color: var(--ink); }
.link-line { color: var(--accent); font-weight: 500; text-decoration: none; padding-bottom: 4px; border-bottom: 1px solid var(--accent-soft); transition: border-color .3s, color .3s; }
.link-line:hover { color: var(--accent-dark); border-bottom-color: var(--accent); }

/* Header */
.site-header { position: relative; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 24px; }
.brand { font-family: var(--serif); font-size: clamp(22px, 2vw, 26px); color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.nav { display: flex; gap: 32px; font-size: 17px; }
.nav a { color: var(--ink); text-decoration: none; padding-block: 10px; }
/* Brass hairline under the current page; the same line draws in on hover */
.nav a { position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--accent-line); transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .nav a::after { transition: none; } }
.header-actions { display: none; gap: 8px; }
.header-actions [data-menu-toggle] { display: none; }
.js .header-actions [data-menu-toggle] { display: inline-flex; }
.icon-btn { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); background: transparent; border: 1px solid var(--field); border-radius: 50%; cursor: pointer; }

/* Desktop: brand left, navigation centred on the page */
@media (min-width: 860px) {
  .site-header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; }
  .site-header .brand { justify-self: start; }
  .site-header .nav { justify-self: center; }
}

@media (max-width: 859px) {
  .header-actions { display: flex; }
  .js .nav { display: none; }
  .js .nav.is-open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px; font-size: 20px;
  }
  .js .nav.is-open a { padding-block: 14px; border-bottom: 1px solid var(--line-soft); }
  .js .nav.is-open a::after { display: none; }
  .js .nav.is-open a[aria-current="page"] { font-weight: 500; padding-left: 16px; box-shadow: inset 2px 0 0 var(--accent-line); }
  .nav { flex-wrap: wrap; gap: 4px 24px; }
}

/* Hero */
.hero { min-height: min(820px, 100vh); display: flex; flex-direction: column; background: linear-gradient(180deg, #E9EAE8 0%, #CFD1CF 45%, #F2F2F0 100%); position: relative; }
/* Background photo: soft morning mist; tower sits at ~80% x, so keep it in frame on narrow screens */
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 78% 40%; }
/* Cream veil over the photo: light overall wash, a little more behind the centred text, fade into the page at the bottom */
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(250, 249, 245, 0) calc(100% - 180px), var(--ground) 100%),
    radial-gradient(ellipse 58% 50% at 50% 52%, rgba(250, 249, 245, .5) 0%, rgba(250, 249, 245, 0) 72%),
    rgba(250, 249, 245, .22);
}
.hero > *:not(.hero__bg) { position: relative; z-index: 1; }
.hero > .site-header { z-index: 10; } /* open mobile menu must cover the hero text */

/* ---- Motion system (adapted from the quiet-luxury pattern: slow rise, soft ease, nothing loops loudly) ---- */
:root { --ease-soft: cubic-bezier(.2, .7, .2, 1); }
html { scroll-padding-top: 88px; }
.hero { overflow: hidden; }

/* Header overlays the hero; brand fades in once the big hero name has scrolled away */
.hero > .site-header--overlay { position: fixed; top: 0; left: 0; right: 0; z-index: 20; background: rgba(250, 250, 248, 0); border-bottom: 1px solid transparent; -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0); transition: background-color 1.2s ease-in-out, border-color 1.2s ease-in-out, backdrop-filter 1.2s ease-in-out, -webkit-backdrop-filter 1.2s ease-in-out; }
.site-header--overlay .wrap { transition: padding 1.2s ease-in-out; }
.site-header--overlay .brand { opacity: 0; transition: opacity 1.2s ease-in-out; }
.site-header--overlay .brand:focus-visible, .site-header--overlay.is-scrolled .brand { opacity: 1; }
.site-header--overlay.is-veiled, .site-header--overlay.is-scrolled { background: rgba(250, 250, 248, .92); border-bottom-color: var(--line-soft); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.site-header--overlay.is-veiled .wrap, .site-header--overlay.is-scrolled .wrap { padding-block: 14px; }

/* Film grain over the photo */
.hero > .grain {
  position: absolute; inset: -50%; z-index: 0; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .7 0'/></filter><rect width='100%' height='100%' filter='url(%23g)'/></svg>");
}

/* Hover/focus feedback is always on (it answers the visitor's action) */
a { transition: color .3s, text-decoration-color .3s; }
.btn { transition: background-color .3s, color .3s; }
.icon-btn { transition: border-color .3s, background-color .3s; }
.icon-btn:hover { border-color: var(--ink); background: rgba(255, 255, 255, .5); }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-2%, 3%); } 40% { transform: translate(3%, -1%); } 60% { transform: translate(-3%, -2%); } 80% { transform: translate(1%, 2%); } 100% { transform: translate(0, 0); } }

@media (prefers-reduced-motion: no-preference) {
  /* one orchestrated hero entrance on load, pure CSS so it never depends on JS */
  .hero__body > * { animation: rise 1.2s var(--ease-soft) both; }
  .hero__body > :nth-child(1) { animation-delay: .15s; }
  .hero__body > :nth-child(2) { animation-delay: .45s; }
  .hero__body > :nth-child(3) { animation-delay: .75s; }
  .hero__body > :nth-child(4) { animation-delay: 1.05s; }
  .hero > .grain { animation: grain 9s steps(6) infinite; }
}

/* Soft page-to-page transitions (cross-document View Transitions).
   shortcut: Chrome/Edge/Safari 18.2+ only; Firefox keeps the normal hard cut until it ships support. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: page-out .4s ease both; }
  ::view-transition-new(root) { animation: page-in .7s var(--ease-soft) .1s both; }
}
@keyframes page-out { to { opacity: 0; } }
@keyframes page-in { from { opacity: 0; transform: translateY(10px); } }
/* top padding clears the fixed header (~96px) plus breathing room; "safe" keeps tall content from sliding under it */
.hero__body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: safe center; text-align: center; padding: 144px var(--gutter) 96px; }
.hero__name { font-family: var(--serif); font-weight: 300; font-size: clamp(48px, 7vw, 104px); line-height: 1; letter-spacing: -0.01em; }
.hero__claim { display: flex; align-items: center; gap: 20px; margin: 22px 0 44px; color: var(--accent-line); font-size: 18px; }
.hero__claim::before, .hero__claim::after { content: ""; width: 56px; height: 1px; background: currentColor; }
.hero h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(26px, 3vw, 40px); line-height: 1.3; max-width: 22em; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 32px; margin-top: 44px; }

/* Intro + trust */
.intro { max-width: 880px; margin: 0 auto; padding: clamp(32px, 4vw, 56px) var(--gutter) 72px; text-align: center; }
.intro p:first-child { font-family: var(--serif); font-weight: 300; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.5; }
.intro .aside-line { margin-top: 32px; }
.trust { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); border-block: 1px solid var(--line); }
.trust li { padding: 28px 24px; text-align: center; }
.trust strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 24px; }
.trust span { color: var(--muted); font-size: 17px; }
.trust-section { padding-bottom: clamp(88px, 11vw, 140px); }

/* Services */
.services { padding-bottom: var(--section); display: grid; grid-template-columns: 1fr; gap: clamp(48px, 5vw, 72px); }
@media (min-width: 1000px) { .services { grid-template-columns: repeat(3, 1fr); } }
.services__head { grid-column: 1 / -1; text-align: center; max-width: 720px; margin: 0 auto; }
.services__head .h2 { margin-bottom: 20px; }
.services__head p { color: var(--muted); }
.services-band { background: var(--linen); border-block: 1px solid var(--linen-edge); }
.services-band .services { padding-block: clamp(88px, 10vw, 140px); }
.services-band .services__head p { color: var(--linen-muted); }
.services-band .service h3 { border-bottom-color: var(--linen-line); }
.services-band .service p { color: var(--linen-text); }
.service h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.4vw, 32px); line-height: 1.2; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.service p { color: var(--text); margin-bottom: 20px; }
.service .aside-line { font-size: 21px; margin: 0; }

/* Audience */
.audience { padding-block: clamp(88px, 10vw, 140px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: clamp(48px, 6vw, 80px); }
.audience .h2 { margin-bottom: 24px; }
.audience dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 40px 56px; }
.audience dt { font-family: var(--serif); font-size: 26px; margin-bottom: 8px; }
.audience dd { color: var(--text); font-size: 18px; }

/* Philosophy */
.philosophy { padding-block: var(--section); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: clamp(48px, 7vw, 96px); align-items: center; }
.trust-section + .philosophy { padding-top: 0; }
.philosophy + .team { padding-top: 0; }
.philosophy .h2 { margin-bottom: 32px; }
.philosophy p { color: var(--text); margin-bottom: 24px; }
.philosophy .aside-line { margin: 0; }

/* Image placeholders – replace with <img> once photos exist */
.ph { display: flex; align-items: flex-end; padding: 20px; color: var(--text); font-size: 15px; background: linear-gradient(170deg, #DEDFDC 0%, #B4B7B4 100%); }
.ph--portrait { aspect-ratio: 3 / 4; justify-content: center; }
.ph--tall { aspect-ratio: 4 / 5; }

/* Process (dark) */
/* Accent bands: Leinen (matches the footer) instead of near-black */
.process { background: var(--linen); color: var(--ink); border-block: 1px solid var(--linen-edge); }
.process .wrap { padding-block: clamp(88px, 10vw, 140px); }
.process--plain { background: none; border-block: 0; }
.process--plain .sub { color: var(--muted); }
.process--plain .steps li { border-top-color: var(--line); }
.process--plain .steps p { color: var(--text); }
.process--plain + .faq { padding-top: 0; }
.process .h2 { margin-bottom: 16px; }
.process .sub { color: var(--linen-muted); max-width: 34em; margin-bottom: 64px; }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 40px 48px; counter-reset: step; }
.steps li { border-top: 1px solid var(--linen-line); padding-top: 28px; counter-increment: step; }
.steps li::before { content: counter(step); display: block; font-family: var(--serif); font-weight: 300; font-size: 40px; line-height: 1; color: var(--accent-line); }
.steps h3 { font-family: var(--serif); font-weight: 400; font-size: 25px; margin: 20px 0 8px; }
.steps p { color: var(--linen-text); font-size: 18px; }

/* Team */
.team { padding-block: var(--section) clamp(80px, 10vw, 140px); }
.team__head { text-align: center; max-width: 720px; margin: 0 auto 72px; }
.team__head .h2 { margin-bottom: 20px; }
.team__head p { color: var(--muted); }
.team__grid { display: grid; grid-template-columns: 1fr; gap: 64px 40px; }
@media (min-width: 640px) { .team__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .team__grid { grid-template-columns: repeat(4, 1fr); } .team__grid .person h3 { font-size: 26px; } }
.person { text-align: center; }
.person .ph, .person img { margin-bottom: 28px; }
.person h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; }
.person .role { color: var(--muted); font-size: 17px; margin: 4px 0 14px; }
.person .person__quote { font-family: var(--serif); font-weight: 300; font-size: 20px; line-height: 1.45; color: var(--ink); max-width: 18em; margin: 0 auto 18px; }
.person a { font-weight: 500; }

/* Principles */

/* FAQ */
.faq { max-width: 920px; margin: 0 auto; padding: var(--section) var(--gutter) clamp(80px, 10vw, 140px); }
.faq .h2 { text-align: center; margin-bottom: 44px; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 24px 0; }
.faq summary { font-family: var(--serif); font-size: clamp(22px, 2vw, 26px); line-height: 1.35; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 400; color: var(--muted); flex-shrink: 0; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 16px; color: var(--text); }

/* Contact */
.contact { background: var(--surface); border-top: 1px solid var(--line-soft); }
.contact .wrap { padding-block: clamp(88px, 10vw, 140px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr)); gap: clamp(56px, 7vw, 96px); }
.contact .h2 { margin-bottom: 24px; }
.contact .lead-muted { margin-bottom: 40px; max-width: 26em; }
.contact address { font-style: normal; color: var(--muted); }
.contact__visit { color: var(--muted); margin-top: 40px; }
.contact__ways { align-self: center; border-top: 1px solid var(--line); }
.contact__way { display: flex; flex-direction: column; gap: 6px; padding: 32px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.contact__label { font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact__value { font-family: var(--serif); font-weight: 300; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.2; overflow-wrap: anywhere; background: linear-gradient(var(--accent-line), var(--accent-line)) left bottom / 0 1px no-repeat; transition: background-size .4s cubic-bezier(.2, .7, .2, 1); justify-self: start; width: fit-content; }
.contact__way:hover .contact__value, .contact__way:focus-visible .contact__value { background-size: 100% 1px; }

/* Footer */
/* Footer: Leinen – light, quiet end of the page */
.site-footer { background: #EDE8DF; color: #4F4A43; border-top: 1px solid #DDD5C7; font-size: 15px; line-height: 1.6; }
.site-footer a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--accent-soft); transition: border-color .3s, color .3s; }
.site-footer a:hover { border-bottom-color: var(--accent); }
.site-footer .cols { padding-block: 56px 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 32px; }
.site-footer .brand-sm { font-family: var(--serif); font-size: 22px; color: var(--ink); margin-bottom: 8px; }
.site-footer address { font-style: normal; }
.site-footer .tel { border-bottom: 0; }
.site-footer .bottom { border-top: 1px solid #D6CDBE; padding-block: 20px 32px; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
.site-footer .bottom nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.site-footer .bottom nav a { color: var(--accent); }
.site-footer .bottom nav a:hover { color: var(--accent-dark); }

/* About page */
.page-intro { max-width: 880px; margin: 0 auto; padding: clamp(56px, 8vw, 104px) var(--gutter) clamp(64px, 8vw, 112px); text-align: center; }
.page-intro h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(42px, 5.4vw, 68px); line-height: 1.08; margin-bottom: 28px; }
.page-intro p { font-family: var(--serif); font-weight: 300; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.5; color: var(--text); }
.bio { padding-block: clamp(64px, 8vw, 112px); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: clamp(40px, 6vw, 96px); align-items: start; scroll-margin-top: 88px; }
.bio__media { max-width: 440px; }
.bio__body { max-width: 640px; }
.bio h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.4vw, 44px); line-height: 1.15; }
.bio .role { color: var(--accent); font-weight: 500; margin: 6px 0 32px; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 12px 28px; padding: 24px 0; margin-bottom: 32px; border-block: 1px solid var(--line-soft); font-size: 17px; }
.facts dt { color: var(--muted); }
.facts dd { color: var(--ink); }
.bio__body p { color: var(--text); margin-bottom: 20px; }
.bio__body .link-line { display: inline-block; margin-top: 8px; }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; gap: 2px; } .facts dd { margin-bottom: 12px; } .bio__media { max-width: 240px; } }
.values-section .wrap { padding-block: clamp(88px, 10vw, 140px); }
.values-section .h2 { margin-bottom: 20px; }
.values-section .lead { color: var(--linen-muted); max-width: 36em; margin-bottom: 64px; }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 0 56px; }
.values div { padding: 28px 0; border-top: 1px solid var(--linen-line); }
.values dt { font-family: var(--serif); font-size: 26px; color: var(--ink); margin-bottom: 8px; }
.values dd { color: var(--linen-text); font-size: 18px; }
.cta-band { text-align: center; padding: clamp(88px, 10vw, 140px) var(--gutter); }
.cta-band .h2 { margin-bottom: 20px; }
.cta-band p { color: var(--muted); margin: 0 auto 40px; max-width: 30em; }
.cta-band .actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 32px; }
.team__more { text-align: center; margin-top: 64px; }
.section-more { margin-top: 48px; }

/* Detail pages: Leistungen, Investmentprozess */
.detail { padding-block: clamp(64px, 8vw, 112px); border-top: 1px solid var(--line); }
.detail__head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 24px 64px; margin-bottom: clamp(40px, 5vw, 64px); align-items: end; }
.detail__head p { color: var(--muted); max-width: 34em; }
.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: clamp(40px, 5vw, 64px); }
.offer h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.2vw, 30px); line-height: 1.2; padding-bottom: 18px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.list-lines { list-style: none; padding: 0; }
.list-lines li { padding: 14px 0 14px 28px; border-bottom: 1px solid var(--line-soft); color: var(--text); position: relative; }
.list-lines li::before { content: ""; position: absolute; left: 0; top: 1.45em; width: 14px; height: 1px; background: var(--accent-line); }
.prose-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 24px 64px; }
.prose-2 p { color: var(--text); }
.lead-serif { font-family: var(--serif); font-weight: 300; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.45; color: var(--ink); max-width: 30em; margin-bottom: 40px; }
.quote-band blockquote { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.3; max-width: 22em; margin-inline: auto; text-align: center; }
.quote-band .wrap { padding-block: clamp(80px, 9vw, 120px); }
.steps-v { list-style: none; padding: 0; counter-reset: stepv; }
.steps-v li { counter-increment: stepv; display: grid; grid-template-columns: 72px 1fr; gap: 8px 32px; padding: 36px 0; border-top: 1px solid var(--line); }
.steps-v li::before { content: counter(stepv); font-family: var(--serif); font-weight: 300; font-size: 48px; line-height: 1; color: var(--accent-line); grid-column: 1; grid-row: 1 / span 9; }
.steps-v li > * { grid-column: 2; }
.steps-v h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.2; }
.steps-v p { color: var(--text); max-width: 40em; }
@media (max-width: 520px) { .steps-v li { grid-template-columns: 44px 1fr; gap: 6px 16px; } .steps-v li::before { font-size: 36px; } }
.not-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 0 48px; }
.not-list li { padding: 20px 0; border-top: 1px solid var(--linen-line); font-family: var(--serif); font-size: 24px; color: var(--ink); }
.not-list span { display: block; font-family: var(--sans); font-size: 17px; color: var(--linen-text); margin-top: 4px; }

/* Legal pages */
/* Subpage header stays on top; gains a solid veil + hairline once the page scrolls (same look as the home header) */
.legal-header { position: sticky; top: 0; z-index: 20; background: linear-gradient(180deg, #E9EAE8 0%, #F2F2F0 100%); border-bottom: 1px solid transparent; transition: background-color .6s, border-color .6s; }
.legal-header .site-header .wrap { transition: padding .6s var(--ease-soft); }
.legal-header.is-scrolled { background: rgba(250, 250, 248, .92); border-bottom-color: var(--line-soft); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.legal-header.is-scrolled .site-header .wrap { padding-block: 14px; }
.legal { max-width: 820px; margin: 0 auto; padding: clamp(56px, 8vw, 104px) var(--gutter) var(--section); color: var(--text); }
.legal h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(38px, 4.6vw, 56px); line-height: 1.1; color: var(--ink); margin-bottom: 40px; }
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.25; color: var(--ink); margin: 56px 0 16px; }
.legal h3 { font-family: var(--serif); font-weight: 400; font-size: 23px; line-height: 1.3; color: var(--ink); margin: 40px 0 12px; }
.legal h4 { font-size: 19px; font-weight: 500; color: var(--ink); margin: 28px 0 8px; }
.legal p, .legal ul, .legal ol { margin-bottom: 18px; }
.legal li { margin-bottom: 8px; }
.legal a { overflow-wrap: anywhere; }

/* Team-Karussell */
.carousel { position: relative; max-width: 1080px; margin: 0 auto; }
.carousel__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.carousel__track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
@media (min-width: 860px) { .slide { grid-template-columns: 5fr 7fr; gap: clamp(48px, 6vw, 96px); } }
.slide .ph, .slide .portrait { max-width: 420px; width: 100%; margin: 0 auto; }
.slide blockquote { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 3vw, 40px); line-height: 1.3; color: var(--ink); margin: 0 0 32px; }
.slide h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; }
.slide .role { color: var(--muted); font-size: 17px; margin-top: 4px; }

.carousel__nav { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 48px; }
.carousel__btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: border-color .2s; }
.carousel__btn:hover { border-color: var(--accent-line); }
.carousel__dots { display: flex; gap: 12px; }
.carousel__dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: var(--line); cursor: pointer; }
.carousel__dots button[aria-current="true"] { background: var(--accent-line); }
@media (max-width: 859px) { .slide { text-align: center; } .slide .ph, .slide .portrait { max-width: 240px; } .slide blockquote { font-size: 26px; margin-bottom: 24px; } }

/* Fokus statt Verzetteln (Investmentprozess) */
.theses-band { background: var(--linen); border-block: 1px solid var(--linen-edge); }
.theses-band + .wrap > .detail:first-child { border-top: 0; }
.theses { padding-block: clamp(88px, 10vw, 140px); display: grid; grid-template-columns: 1fr; gap: 48px 72px; align-items: center; }
@media (min-width: 960px) { .theses { grid-template-columns: 5fr 7fr; } }
.kicker { display: flex; align-items: center; gap: 16px; font-size: 18px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-line); margin-bottom: 28px; }
.kicker::before { content: ""; width: 48px; height: 1px; background: var(--accent-line); flex-shrink: 0; }
.theses .h2 { margin-bottom: 24px; }
.theses .h2 em { font-style: italic; }
.theses__head > p:last-child { color: var(--linen-muted); max-width: 24em; }
.theses__list { margin: 0; border-bottom: 1px solid var(--linen-line); }
.theses__list div { display: grid; grid-template-columns: 1fr; gap: 10px 40px; padding: 32px 0; border-top: 1px solid var(--linen-line); }
@media (min-width: 640px) { .theses__list div { grid-template-columns: 240px 1fr; } }
.theses__list dt { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.2; color: var(--accent-line); }
.theses__list dd { margin: 0; color: var(--linen-text); font-size: 18px; }

/* Porträtfotos */
.portrait { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 20%; background: var(--surface); }
.philosophy__photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center; }


/* Timeline: Entwicklung der Gesellschaft (Über uns) */
.timeline { padding-bottom: clamp(56px, 7vw, 96px); }
.timeline .kicker { margin-bottom: 36px; }
.timeline__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; }
.timeline__list li { position: relative; padding: 0 0 32px 32px; border-left: 1px solid var(--line); }
.timeline__list li:last-child { padding-bottom: 0; }
.timeline__list li::before { content: ""; position: absolute; left: -6px; top: 10px; width: 11px; height: 11px; border-radius: 50%; background: var(--ink); }
.timeline__year { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 3vw, 40px); line-height: 1.1; color: var(--ink); margin-bottom: 8px; }
.timeline__list p { color: var(--text); font-size: 17px; max-width: 22em; }
.timeline__list li.is-current::before { background: var(--accent-line); }
.timeline__list li.is-current .timeline__year { color: var(--accent-line); }
@media (min-width: 900px) {
  .timeline__list { grid-template-columns: repeat(6, 1fr); gap: 32px; }
  .timeline__list li { padding: 0; border-left: 0; display: flex; flex-direction: column; }
  .timeline__year { order: -1; margin-bottom: 20px; }
  .timeline__list li::before { position: static; order: 0; margin-bottom: 20px; box-shadow: 0 0 0 0 transparent; }
  .timeline__list li::after { content: ""; position: absolute; left: 0; right: -32px; top: calc(clamp(32px, 3vw, 40px) * 1.1 + 25px); height: 1px; background: var(--line); z-index: -1; }
  .timeline__list li:last-child::after { right: 0; }
  .timeline__list { position: relative; z-index: 0; }
}

/* Bildkarte statt Porträt (Dr. Markus Stahl) */
.founder-card { width: 100%; aspect-ratio: 3 / 4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; background: var(--linen); border: 1px solid var(--linen-edge); text-align: center; }
.founder-card__year { font-family: var(--serif); font-weight: 300; font-size: clamp(64px, 7vw, 96px); line-height: 1; color: var(--accent-line); }
.founder-card__label { font-size: 15px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--linen-muted); line-height: 1.7; }
.slide .founder-card { max-width: 420px; margin: 0 auto; }
@media (max-width: 859px) { .slide .founder-card { max-width: 240px; } }

/* Navigation über dem Titelbild: weicher Übergang statt harter Kante */
.site-header--overlay.is-veiled, .site-header--overlay.is-scrolled { border-bottom-color: transparent; }
.site-header--overlay::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 36px; pointer-events: none; background: linear-gradient(180deg, rgba(250, 250, 248, .92) 0%, rgba(250, 250, 248, .5) 45%, rgba(250, 250, 248, 0) 100%); opacity: 0; transition: opacity 1.2s ease-in-out; }
.site-header--overlay.is-veiled::after, .site-header--overlay.is-scrolled::after { opacity: 1; }
