/* ==========================================================
   Michel Theilen · Design-System
   Farben: Marineblau #13223F, Schwarz #0B0D12, Weiß #FFFFFF,
           Elfenbein #F4F1EA, Stahlblau #8FA3C2
   ========================================================== */

/* Schriften (lokal gehostet, keine externen Server) */
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-300.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --navy: #13223F;
  --navy-deep: #0E1930;
  --black: #0B0D12;
  --white: #FFFFFF;
  --ivory: #F4F1EA;
  --steel: #8FA3C2;

  --text-dark: #1B2233;
  --text-muted-dark: #4F5869;
  --text-light: rgba(255, 255, 255, 0.92);
  --text-muted-light: rgba(255, 255, 255, 0.64);
  --line-light: rgba(143, 163, 194, 0.32);
  --line-dark: rgba(19, 34, 63, 0.16);

  --font-head: "Cormorant Garamond", "Garamond", "Times New Roman", serif;
  --font-body: "Jost", "Avenir Next", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(84px, 11vw, 150px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 130px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--steel); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--white); color: var(--navy); padding: 10px 16px; text-decoration: none; }
.skip-link:focus { top: 16px; }

/* ---------- Typografie ---------- */
h1, h2, h3 { font-family: var(--font-head); font-weight: 500; line-height: 1.1; margin: 0; letter-spacing: 0.005em; }
h1 { font-size: clamp(3rem, 7.2vw, 5.75rem); font-weight: 500; }
h2 { font-size: clamp(2.25rem, 4.4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 2.2vw, 1.85rem); font-weight: 600; }
p { margin: 0 0 1em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-body); font-weight: 500;
  font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--steel); margin: 0 0 22px;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.section-head { max-width: 640px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head p { color: var(--text-muted-dark); margin-top: 20px; font-size: 1.125rem; }
.on-dark .section-head p { color: var(--text-muted-light); }

/* ---------- Knopf ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 30px;
  font-family: var(--font-body); font-weight: 500; font-size: 0.8125rem;
  letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none;
  color: var(--navy); background: var(--white);
  border: 1px solid var(--white); border-radius: 0; cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.btn:hover { background: transparent; color: var(--white); }
.btn:hover svg { transform: translateX(4px); }
.btn--small { min-height: 42px; padding: 0 20px; font-size: 0.75rem; }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.5); }
.btn--ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

/* ---------- Kopfzeile ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
  padding: 22px 0;
}
.site-header.is-scrolled { background: rgba(14, 25, 48, 0.96); box-shadow: 0 1px 0 var(--line-light); padding: 8px 0; }
.site-header--solid { background: var(--navy-deep); position: sticky; top: 0; padding: 8px 0; box-shadow: 0 1px 0 var(--line-light); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: block; flex: none; }
.logo img { height: 120px; width: auto; transition: height 0.4s var(--ease); }
.site-header.is-scrolled .logo img, .site-header--solid .logo img { height: 112px; }
.main-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); }
.main-nav a:not(.btn) {
  position: relative; text-decoration: none; color: var(--text-light);
  font-size: 0.8125rem; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase; padding: 6px 0;
}
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--steel);
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease);
}
.main-nav a:not(.btn):hover::after { transform: scaleX(1); }

/* ---------- Kopfbereich (Hero) ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; background: var(--navy); color: var(--white); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); overflow: hidden; }
.hero-text { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: 110px var(--gutter) 80px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
.hero-text h1 { margin-bottom: 22px; font-size: clamp(1.5rem, 2vw, 1.9rem); white-space: nowrap; }
.hero-logo { width: min(100%, 600px); height: auto; margin: 0 0 clamp(28px, 4vh, 48px) -2%; }
@media (min-width: 761px) {
  .site-header:not(.site-header--solid):not(.is-scrolled) .logo { opacity: 0; pointer-events: none; }
  .site-header .logo { transition: opacity 0.4s var(--ease); }
}
.hero-lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); color: var(--text-light); max-width: 30ch; margin-bottom: 44px; }
.hero-rule { width: 64px; height: 1px; background: var(--steel); margin: 0 0 30px; }
.hero-media { position: relative; }
.hero-media picture, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, rgba(19, 34, 63, 0.55) 18%, rgba(19, 34, 63, 0) 45%); }
.hero-scroll { position: absolute; left: 50%; bottom: 28px; z-index: 3; width: 1px; height: 54px; background: linear-gradient(var(--steel), transparent); animation: scrollcue 2.8s var(--ease) infinite; }
@keyframes scrollcue { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Leistungen ---------- */
.services { padding: var(--section) 0; background: var(--ivory); }
.services .eyebrow { color: var(--navy); }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); }
.service { position: relative; padding-top: 34px; border-top: 1px solid var(--line-dark); }
.service::before { content: ""; position: absolute; top: -1px; left: 0; width: 44px; height: 1px; background: var(--navy); transition: width 0.6s var(--ease); }
.service:hover::before { width: 100%; }
.service-no { display: block; font-family: var(--font-head); font-style: italic; font-size: 1.125rem; color: var(--steel); margin-bottom: 18px; }
.service h3 { color: var(--navy); margin-bottom: 14px; }
.service p { color: var(--text-muted-dark); margin: 0; font-size: 1rem; }

/* ---------- Bildstreifen ---------- */
.band { position: relative; height: clamp(320px, 42vw, 560px); overflow: hidden; background: var(--black); }
.band img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform: scale(1.06); transition: transform 2.4s var(--ease); }
.band.is-visible img { transform: scale(1); }

/* ---------- Hörproben ---------- */
.on-dark { background: var(--navy); color: var(--text-light); }
.on-dark h2 { color: var(--white); }
.listen { padding: var(--section) 0; }
.listen-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.listen-media { aspect-ratio: 4 / 5; overflow: hidden; }
.listen-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.listen .section-head { margin-bottom: 44px; }
.tracks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-light); }
.track { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; column-gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line-light); }
.track-btn {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-light); background: transparent;
  color: var(--white); display: grid; place-items: center; cursor: pointer;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.track-btn:hover, .track.is-playing .track-btn { background: var(--white); border-color: var(--white); color: var(--navy); }
.track-btn svg { width: 16px; height: 16px; }
.track-btn .icon-pause { display: none; }
.track.is-playing .icon-play { display: none; }
.track.is-playing .icon-pause { display: block; }
.track-title { font-family: var(--font-head); font-size: 1.5rem; font-weight: 500; color: var(--white); line-height: 1.2; }
.track-artist { display: block; font-size: 0.8125rem; letter-spacing: 0.08em; color: var(--text-muted-light); }
.track-bar { grid-column: 2 / 4; height: 2px; margin-top: 12px; background: var(--line-light); cursor: pointer; position: relative; display: none; }
.track.is-active .track-bar { display: block; }
.track-bar::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; bottom: -10px; }
.track-progress { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: var(--steel); }
.track-time { font-size: 0.8125rem; color: var(--text-muted-light); font-variant-numeric: tabular-nums; letter-spacing: 0.06em; }
.listen-note { font-size: 0.875rem; color: var(--text-muted-light); margin-top: 26px; }

/* ---------- Über mich ---------- */
.about { padding: var(--section) 0; background: var(--white); }
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: 50% 30%; }
.about-media::after { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--steel); z-index: -1; }
.about-media { z-index: 0; }
.about .eyebrow { color: var(--navy); }
.about-text h2 { color: var(--navy); margin-bottom: 10px; }
.about-text .about-sub { font-family: var(--font-head); font-style: italic; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.3; color: #50678F !important; margin: 0 0 40px; }
.about-intro { font-family: var(--font-head); font-size: clamp(1.35rem, 2vw, 1.6rem) !important; font-weight: 600; color: var(--navy) !important; margin-bottom: 18px; }
.about-text h3 { color: var(--navy); font-size: clamp(1.45rem, 2.1vw, 1.75rem); margin: 56px 0 18px; padding-top: 36px; position: relative; }
.about-text h3::before { content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 1px; background: var(--steel); }
.about-quote { margin: 30px 0 0; padding: 4px 0 4px 26px; border-left: 1px solid var(--navy); font-family: var(--font-head); font-style: italic; font-size: clamp(1.4rem, 2.2vw, 1.75rem); line-height: 1.35; color: var(--navy); max-width: 30ch; }
.about-closing { font-family: var(--font-head); font-style: italic; font-size: clamp(1.35rem, 2vw, 1.6rem) !important; color: var(--navy) !important; margin: 26px 0 30px; }
.about-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--navy); text-decoration: none; font-weight: 500; font-size: 0.8125rem; letter-spacing: 0.18em; text-transform: uppercase; border-bottom: 1px solid var(--line-dark); transition: border-color 0.35s var(--ease); }
.about-link svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.about-link:hover { border-color: var(--navy); }
.about-link:hover svg { transform: translateX(4px); }
.about-text .about-sign { display: block; margin-top: 52px; }
@media (min-width: 761px) { .about-media { position: sticky; top: 110px; } .about-media img { max-height: calc(100vh - 150px); } }
.about-text p { color: var(--text-muted-dark); font-size: 1.0625rem; max-width: 54ch; }
.about-sign { margin-top: 30px; height: 74px; width: auto; filter: brightness(0); opacity: 0.85; }

/* ---------- Anfrage ---------- */
.contact { padding: var(--section) 0; background: var(--navy-deep); color: var(--text-light); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-aside p { color: var(--text-muted-light); font-size: 1.0625rem; }
.contact-aside h2 { color: var(--white); margin-bottom: 24px; }
.contact-aside .contact-mail { display: inline-block; margin-top: 10px; color: var(--white); text-decoration: none; border-bottom: 1px solid var(--line-light); padding-bottom: 2px; transition: border-color 0.3s var(--ease); }
.contact-aside .contact-mail:hover { border-color: var(--white); }
.contact-media { margin-top: 44px; aspect-ratio: 4 / 3; overflow: hidden; }
.contact-media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 28px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted-light); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-weight: 300; font-size: 1.0625rem; color: var(--white);
  background: transparent; border: 0; border-bottom: 1px solid var(--line-light); border-radius: 0;
  padding: 10px 0 12px; min-height: 48px; transition: border-color 0.3s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%238FA3C2' stroke-width='1.5'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; background-size: 16px; padding-right: 26px; }
.field select option { color: var(--text-dark); }
.field input[type="date"] { color-scheme: dark; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--white); }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, 0.34); }
.check { grid-column: 1 / -1; display: flex; gap: 14px; align-items: flex-start; font-size: 0.9375rem; color: var(--text-muted-light); }
.check input { flex: none; width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--steel); }
.check a { color: var(--white); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 8px; }
.form-status { margin: 0; font-size: 0.9375rem; min-height: 1.5em; }
.form-status.is-ok { color: #CFE0F5; }
.form-status.is-error { color: #F2C6C6; }
.btn[disabled] { opacity: 0.6; cursor: wait; }

/* ---------- Fußbereich ---------- */
.site-footer { background: var(--black); color: var(--text-muted-light); padding: 64px 0 40px; font-size: 0.9375rem; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.footer-top img { height: 64px; width: auto; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 32px; }
.footer-nav a { text-decoration: none; color: var(--text-light); transition: color 0.3s var(--ease); }
.footer-nav a:hover { color: var(--steel); }
.footer-bottom { padding-top: 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.8125rem; letter-spacing: 0.04em; }

/* ---------- Rechtstexte ---------- */
.legal { padding: clamp(64px, 9vw, 120px) 0 var(--section); background: var(--ivory); }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); color: var(--navy); margin-bottom: 18px; }
.legal h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); color: var(--navy); margin: 52px 0 14px; padding-top: 30px; border-top: 1px solid var(--line-dark); }
.legal h3 { font-size: 1.3rem; color: var(--navy); margin: 28px 0 8px; }
.legal p, .legal li { color: var(--text-muted-dark); }
.legal a { color: var(--navy); }
.legal-note { background: var(--white); border-left: 2px solid var(--steel); padding: 18px 22px; margin: 26px 0 0; font-size: 0.9375rem; }

/* ---------- Sanftes Einblenden ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.12s; }
.reveal-d2 { transition-delay: 0.24s; }
.reveal-d3 { transition-delay: 0.36s; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .band img { transform: none; }
}

/* ==========================================================
   Tablet
   ========================================================== */
@media (max-width: 1020px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 52px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-media { display: none; }
  .contact-aside { max-width: 560px; }
}

/* ==========================================================
   Handy: eigener Durchgang
   - Navigation schrumpft auf Logo + kleinen Anfrage-Knopf
   - Kopfbereich: Hochformat-Foto oben, Text darunter
   - Leistungen einspaltig, Bildstreifen niedriger
   - Hörproben ohne Begleitfoto, größere Tippflächen
   - Anfrage-Formular einspaltig
   ========================================================== */
@media (max-width: 760px) {
  body { font-size: 1rem; }
  .site-header { padding: 14px 0; }
  .logo img { height: 100px; }
  .site-header.is-scrolled .logo img, .site-header--solid .logo img { height: 80px; }
  .main-nav a:not(.btn) { display: none; }
  .main-nav .btn { min-height: 44px; padding: 0 16px; font-size: 0.6875rem; letter-spacing: 0.16em; }

  .hero { grid-template-columns: 1fr; grid-template-rows: auto auto; min-height: 0; }
  .hero-media { order: -1; height: 72svh; min-height: 420px; max-height: 640px; }
  .hero-media img { object-position: 50% 22%; }
  .hero-media::after { background: linear-gradient(0deg, var(--navy) 0%, rgba(19, 34, 63, 0.6) 22%, rgba(19, 34, 63, 0) 50%); }
  .hero-text { padding: 0 var(--gutter) 64px; margin-top: -90px; }
  .hero-text h1 { font-size: clamp(1.6rem, 6.5vw, 1.9rem); margin-bottom: 16px; white-space: normal; }
  .hero-logo { display: none; }
  .hero-lead { margin-bottom: 32px; }
  .hero-text .btn { width: 100%; }
  .hero-scroll { display: none; }

  .service-grid { grid-template-columns: 1fr; row-gap: 40px; }
  .service { padding-top: 26px; }
  .service-no { margin-bottom: 10px; }

  .band { height: 260px; }
  .band img { object-position: 30% 50%; }

  .listen-grid { grid-template-columns: 1fr; }
  .listen-media { display: none; }
  .track { grid-template-columns: 48px minmax(0, 1fr) auto; column-gap: 16px; }
  .track-btn { width: 48px; height: 48px; }
  .track-title { font-size: 1.3rem; }

  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-media { margin-right: 22px; }
  .about-media img { aspect-ratio: 4 / 5; }
  .about-sign { height: 60px; }

  .form { grid-template-columns: 1fr; gap: 22px; }
  .form-foot .btn { width: 100%; }

  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-top img { height: 54px; }
}

/* Kurzer Knopftext in der Kopfzeile auf dem Handy */
.cta-short { display: none; }
@media (max-width: 760px) {
  .main-nav .btn { white-space: nowrap; }
  .cta-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .cta-short { display: inline; }
}

/* "Pianist und Sänger" mittig unter der Lücke zwischen MICHEL und THEILEN (47,6 % der Logobreite) */
@media (min-width: 761px) {
  .hero-brand { width: min(100%, 600px); }
  .hero-brand .hero-logo { width: 100%; margin-left: 0; }
  .hero-brand h1 { width: max-content; margin-left: 47.6%; transform: translateX(-50%); }
  .hero-brand h1.reveal { transform: translate(-50%, 26px); }
  .hero-brand h1.reveal.is-visible { transform: translateX(-50%); }
}
