/* ===== Base ===== */
:root {
  /* Off-white & fast-schwarz (nie ganz weiß/schwarz) */
--bg: #F5F2ED;
  --text: #1C1C1C;
--muted: #6B6B6B;

  --line: #e6e3dd;

  /* Layout */
  --container: 980px;
  --pad: 24px;

  /* Header */
  --header-h: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  background-color: var(--bg);

  /* deboss effect: dunkle + helle Ebene minimal versetzt */
  background-image:
    url("assets/img/clef-pattern-dark.svg"),
    url("assets/img/clef-pattern-light.svg");

  background-repeat: repeat, repeat;
  background-size: 220px 220px, 220px 220px;

  /* kleiner Versatz = “eingedrückt”-Look */
  background-position: 0 0, 1px 1px;

  color: var(--text);
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--header-h);
  background: rgba(250, 250, 248, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: var(--container);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: 14px;
}
.nav.nav-center {
  justify-content: center;
}

.nav-links {
  display: flex;
  gap: 14px;
  justify-content: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 10px;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(28, 28, 28, 0.06);
}

/* ===== Sections ===== */
.section {
  /* Jede Section ≈ eine Bildschirmhöhe */
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px var(--pad);
}

/* Placeholder Look */
h1, h2 {
  margin: 0;
  letter-spacing: 0.2px;
}

h1 { font-size: 44px; }
h2 { font-size: 36px; }

/* Mobile */
@media (max-width: 720px) {
  .nav-links { gap: 8px; }
  .nav-links a { padding: 8px; }
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  .container { padding: 40px var(--pad); }
}
.hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr; /* links Bild, rechts Text */
  gap: 40px;
  align-items: center;
}

.hero-right .hero-text {
  text-align: left;
}

.hero-media {
  display: flex;
  justify-content: flex-start;
}

.media-placeholder {
  width: min(360px, 100%);
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(28, 28, 28, 0.03);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 14px;
}
.hero-image {
  width: min(360px, 100%);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(28, 28, 28, 0.03);
}

.kicker {
  margin: 0 0 10px 0;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}

.lead {
  margin: 14px 0 22px 0;
  font-size: 18px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 54ch;
}

.hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0 0 18px 0;
}

.btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--bg);
  background: var(--text);
  font-size: 14px;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  background: rgba(28, 28, 28, 0.06);
}

/* Mobile */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }
}


/* ===== Profile Section ===== */

.profile-block {
  max-width: 920px;
}

.section-title {
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 36px;
  letter-spacing: 0.2px;
}

/* Titel + Untertitel zentrieren */
.profile-block .section-head {
  text-align: center;
}

/* optional: damit Untertitel nicht zu breit wird */
.profile-block .section-subtitle {
  margin: 0 auto;
  max-width: 60ch;
}
/* Profile: Titel + Untertitel zentriert */
#profil .section-head {
  text-align: center;
}

/* optional: Header-Block selbst mittig + schöne Zeilenlänge */
#profil .section-head {
  max-width: 720px;
  margin: 0 auto 28px;
}

#profil .section-title {
  margin-bottom: 10px; /* statt 36px, wirkt oft besser mit Subtitle */
}

#profil .section-subtitle {
  margin: 0 auto;
}

.profile-content {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 48px;
  align-items: start;
}

.profile-text p {
  margin: 0 0 20px 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  max-width: 60ch;
}

.profile-aside ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.profile-aside li {
  font-size: 14px;
  color: var(--muted);
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.profile-aside li:last-child {
  border-bottom: none;
}

/* Mobile */
@media (max-width: 900px) {
  .profile-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .profile-aside li {
    font-size: 15px;
  }
}
/* ===== Section header (fresh hierarchy) ===== */

/* generisch für alle Header mit .center */
#ansatz .section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 28px;
}

#ansatz .section-subtitle {
  margin: 0 auto;
}

.section-head {
  max-width: 980px;
  margin-bottom: 28px;
}

.section-title {
  margin: 0;
  font-size: 34px;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.section-subtitle {
  margin: 10px 0 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ===== Card system (bringt sofort "professionell") ===== */
.card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(250, 250, 248, 0.72);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(28, 28, 28, 0.06);
}

/* ===== Profile layout ===== */
.profile-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr;
  gap: 18px;
  align-items: start;
}

.profile-card {
  padding: 26px 26px 22px 26px;
}

.profile-kicker {
  margin: 0 0 10px 0;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.profile-headline {
  margin: 0 0 18px 0;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 600;
}

.profile-body p {
  margin: 0 0 14px 0;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--text);
  max-width: 68ch;
}

.profile-body p:last-child {
  margin-bottom: 18px;
}

/* ===== Chips (scanbar, modern) ===== */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  font-size: 13px;
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(28, 28, 28, 0.03);
  padding: 8px 10px;
  border-radius: 999px;
}

/* ===== Quote card ===== */
.quote-card {
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.quote-mark {
  margin: 0;
  font-size: 64px;
  line-height: 0.9;
  color: rgba(28, 28, 28, 0.10);
  position: absolute;
  top: 10px;
  left: 16px;
}

.quote-text {
  margin: 26px 0 14px 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
}

.quote-meta {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

/* ===== Mobile ===== */
@media (max-width: 900px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }
  .section-title {
    font-size: 30px;
  }
}
.site-header {
  position: relative;
  display: flex;
  justify-content: center; /* Nav bleibt wirklich zentriert */
  align-items: center;
}

.header-logo-link {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  padding-left: 12px; /* optionaler Abstand zum Rand */
}

.header-logo {
  height: 40px; /* anpassen */
  width: auto;
  display: block;
}
@keyframes clarinet-rotate-soft {
  0%   { transform: translateY(-50%) rotate(0deg); }
  25%  { transform: translateY(-50%) rotate(-1.5deg); }
  50%  { transform: translateY(-50%) rotate(1.5deg); }
  75%  { transform: translateY(-50%) rotate(-1deg); }
  100% { transform: translateY(-50%) rotate(0deg); }
}

.header-logo-link:hover {
  animation: clarinet-rotate-soft 0.6s ease-in-out;
  transform-origin: left center; /* Drehpunkt am "Mundstück"-Ende */
}

/* Section soll oben starten (nicht vertikal zentriert) */
.section-top {
  align-items: flex-start;            /* überschreibt center-align der .section */
  padding-top: 8px;                  /* Abstand unter dem sticky header */
}

.rep-head {
  text-align: center;
  margin-top: 5px;
  margin-bottom: 18px;
}

.rep-title {
  margin: 0;
}

/* Segmented Control */
.segmented {
  position: relative;
  display: inline-flex;
  gap: 6px;
  margin-top: 14px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(28, 28, 28, 0.03);
  isolation: isolate;                 /* sorgt für sauberes Layering */
}

.seg-btn {
  position: relative;
  z-index: 1;
  border: 0;
  background: transparent;
  cursor: pointer;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  line-height: 1;
  padding: 0 14px;

  border-radius: 999px;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s ease;
  white-space: nowrap;
}


.seg-btn:hover {
  color: var(--text);
}

.seg-btn.is-active {
  color: var(--bg);
}

/* Der bewegliche schwarze Capsule */
.seg-indicator {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 6px;                 /* Startpunkt = Padding */
  width: 80px;               /* wird per JS überschrieben */
  border-radius: 999px;
  background: var(--text);
  z-index: 0;

  transform: translateX(0px);
  transition: transform 260ms ease, width 260ms ease;
}

/* Center the whole list */
/* Liste bleibt zentriert */
.works {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  width: min(820px, 100%);
  text-align: center;          /* NEU */
}

/* Jede Zeile ebenfalls zentriert */
.work-row {
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  text-align: center;          /* NEU */
}

/* Haupttitel */
.work-main {
  font-size: 15px;
  letter-spacing: -0.01em;
}

/* Meta-Info unter dem Titel */
.work-meta {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}


/* --- Elegant reveal animation (stagger) --- */
.rep-panel.is-entering .work-row {
  opacity: 0;
  transform: translateY(10px);
  animation: workIn 420ms ease forwards;
  animation-delay: var(--d, 0ms);
  will-change: transform, opacity;
}

@keyframes workIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ===== Approach ===== */
.approach-grid {
  width: min(980px, 100%);
  margin: 52px auto 0; /* mehr Abstand nach oben zum Titel/Subtitel */
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}


.a-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 16px;
  background: rgba(28, 28, 28, 0.02);
  transition: transform 180ms ease, background 180ms ease;
}

.a-card:hover {
  transform: translateY(-2px);
  background: rgba(28, 28, 28, 0.035);
}

.a-title {
  margin: 0 0 10px 0;
  font-size: 15px;
  letter-spacing: -0.01em;
  font-weight: 650;
}

.a-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

/* Mobile */
@media (max-width: 900px) {
  .approach-grid {
    grid-template-columns: 1fr;
  }
}
/* ===== Vita split layout ===== */

#vita .section-head,
#vita .section-title,
#vita .section-subtitle{
  text-align: center !important;
}

#vita .section-head{
  max-width: 720px;
  margin: 0 auto 28px;
}


.vita-split {
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: 46px;
  align-items: start;
}

/* Left side nav */
.vita-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 6px;
}

/* The clickable row */
.vita-tab {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 10px 8px;
  border-radius: 14px;
  cursor: pointer;

  display: flex;
  align-items: center;
  gap: 12px;

  color: var(--muted);
  transition: transform 160ms ease, color 160ms ease, background 160ms ease;
}

/* Grey circle outline */
.vita-dot {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1.5px solid rgba(28, 28, 28, 0.28);
  background: transparent;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
  flex: 0 0 auto;
}

/* label */
.vita-label {
  font-size: 23px;
  letter-spacing: -0.01em;
  transition: font-size 160ms ease, color 160ms ease;
}

/* Hover */
.vita-tab:hover {
  
  color: var(--text);
}

.vita-tab:hover .vita-label {
  font-size: 24px; /* slight bigger */
}

.vita-tab:hover .vita-dot {
  border-color: var(--text);
  background: var(--text);
}

/* Active state (same as hover, but persistent) */
.vita-tab.is-active {
  color: var(--text);
  
}

.vita-tab.is-active .vita-label {
  font-size: 24px;
}

.vita-tab.is-active .vita-dot {
  border-color: var(--text);
  background: var(--text);
}

/* Right content */
.vita-panels {
  border-left: 1px solid var(--line);
  padding-left: 22px;
}

.vita-h {
  margin: 0 0 12px 0;
  font-size: 18px;
  letter-spacing: -0.01em;
  font-weight: 650;
}

.vita-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vita-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.vita-list li:last-child {
  border-bottom: none;
}

/* Panel reveal (subtle) */
.vita-panel {
  animation: vitaIn 240ms ease;
}

@keyframes vitaIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Mobile */
@media (max-width: 900px) {
  .vita-split {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .vita-panels {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 18px;
  }
}
/* Vita content styled like Repertoire (clean rows) */
.vita-works {
  list-style: none;
  margin: 0;
  padding: 0;
  width: min(760px, 100%);
}

.vita-row {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.vita-row:last-child {
  border-bottom: 1px solid var(--line);
}

.vita-main {
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.vita-meta {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* Panel + staggered rows reveal */
.vita-panel {
  /* keine dauerhafte Animation mehr hier, das steuern wir per Klasse */
  animation: none;
}

/* Wenn Panel aktiv "re-animiert" wird */
.vita-panel.is-animating .vita-h {
  opacity: 0;
  transform: translateY(6px);
  animation: vitaFadeUp 280ms ease forwards;
}

.vita-panel.is-animating .vita-row {
  opacity: 0;
  transform: translateY(8px);
  animation: vitaFadeUp 360ms cubic-bezier(.2,.7,.2,1) forwards;
  /* Delay kommt per CSS-Variable aus JS */
  animation-delay: var(--d, 0ms);
}

@keyframes vitaFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Accessibility: reduced motion */
@media (prefers-reduced-motion: reduce) {
  .vita-panel.is-animating .vita-h,
  .vita-panel.is-animating .vita-row {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ===== Contact ===== */
/* Kontakt-Container als "Seite" */
/* Titel + Subtitle bleiben immer zentriert */
#kontakt .section-head,
#kontakt .section-title,
#kontakt .section-subtitle {
  text-align: center !important;
}

#kontakt.section-top .container{
  min-height: calc(100vh - var(--header-h));
  display:flex;
  flex-direction:column;
}

/* Header bleibt oben (nichts centern hier!) */
#kontakt .section-head{
  flex: 0 0 auto;
}

/* Restliche Fläche für Kontaktbereich */
#kontakt .contact-wrap{
  width: min(820px, 100%);
  margin: 0 auto;
  text-align: center;

  flex: 1;                       /* nimmt den restlichen Platz */
  display: flex;
  flex-direction: column;
}

/* Buttons exakt in die Mitte der freien Fläche unter dem Titel */
#kontakt .contact-actions{
  flex: 1;                       /* füllt die Fläche zwischen Header und Footer */
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;           /* vertikal zentriert */
  flex-wrap: wrap;

  margin: 0;
}

/* Divider + Footer unten */
#kontakt .contact-divider{
  width: 100%;
  height: 1px;
  background: var(--line);
  margin: 0 auto;
}

#kontakt .contact-footer{
  padding-top: 14px;
  padding-bottom: 18px;
}


/* Footer block (sits at the bottom) */
.contact-wrap {
  width: min(820px, 100%);
  margin: 0 auto;
  text-align: center;
  padding-top: 18px;
  padding-bottom: 18px;
}

/* Buttons centered, ABOVE divider */
.contact-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;

  margin: 0;            /* no extra spacing pushing it */
}

/* Divider BELOW buttons */
.contact-divider {
  width: 100%;
  height: 1px;
  background: var(--line);
  margin: 18px auto 0 auto;
}

/* Footer content below divider */
.contact-footer {
  padding-top: 54px;
}

.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;

  background: var(--text);
  color: var(--bg);
  border: 1px solid var(--text);

  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.c-btn:hover {
  transform: translateY(-1px);
}

.c-btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.c-btn-ghost:hover {
  background: rgba(28, 28, 28, 0.06);
}

.contact-note {
  margin: 0 auto;
  max-width: 66ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
