/* © 2026 INNOVATION CONCEPTS · Kennung IC-MUS-KSKZ · Demo Mara Lind · innovation-concepts.com */
/* Showcase Musiker · Mara Lind (fiktiv). Dunkel, warm, Bühnenlicht. */
:root {
  --ground: #0E0B0A;
  --surface: #17120F;
  --surface-2: #211A16;
  --ink: #F2ECE4;
  --ink-soft: #B8ADA1;      /* 8,9:1 auf --ground */
  --amber: #F2A541;         /* Akzent, als Text 9,6:1 auf --ground */
  --amber-deep: #1A1208;    /* Text auf Bernstein */
  --line: rgba(242, 236, 228, 0.12);
  --focus: #F2A541;
  --f-head: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --f-text: "Inter", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 20px;
}

body { background: var(--ground); color: var(--ink); font: 400 1.0625rem/1.6 var(--f-text); }
::selection { background: #5A3D17; color: var(--ink); }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* Schaltflächen */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 26px;
  border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1.2 var(--f-text); text-decoration: none; text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.16s var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn-amber { background: var(--amber); color: var(--amber-deep); }
.btn-ghost { border-color: rgba(242, 236, 228, 0.35); color: var(--ink); }
.btn-small { min-height: 44px; padding: 10px 18px; font-size: 0.9375rem; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) {
  .btn-amber:hover { background: #F6B865; }
  .btn-ghost:hover { border-color: var(--ink); background: rgba(242, 236, 228, 0.06); }
}

/* Kopfzeile */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(14, 11, 10, 0.82); border-bottom: 1px solid transparent; transition: border-color 0.2s ease; }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header { background: rgba(14, 11, 10, 0.6); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.wordmark { font: 600 1.375rem/1 var(--f-head); letter-spacing: -0.02em; text-decoration: none; margin-right: auto; }
.nav { display: flex; gap: 26px; }
.nav a { text-decoration: none; color: var(--ink-soft); font-size: 0.9375rem; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover { color: var(--ink); }
@media (max-width: 860px) { .nav { display: none; } }

/* Hero */
.hero { padding-block: clamp(40px, 7vw, 96px) clamp(48px, 6vw, 80px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.eyebrow { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); margin-bottom: 20px; }
.hero-title { font: 600 clamp(2.75rem, 7vw, 6rem)/0.98 var(--f-head); letter-spacing: -0.04em; text-wrap: balance; margin-bottom: 28px; }
.hero-lead { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); max-width: 32em; color: var(--ink-soft); margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-stage { position: relative; aspect-ratio: 440 / 560; max-width: 440px; justify-self: center; width: 100%; }
.hero-stage .layer { position: absolute; }
/* Freigestellt (2.12.2026, Martin: ohne Bogenrahmen, Hintergrund geht sanft über):
   warmer Lichtschein hinter Kopf und Schultern, Ränder unten und seitlich laufen in den Grund aus */
.hero-beam { inset: -25% -45% -5%; background:
    radial-gradient(38% 34% at 48% 30%, rgba(242, 165, 65, 0.30), transparent 72%),
    radial-gradient(60% 55% at 50% 45%, rgba(120, 62, 24, 0.28), transparent 75%);
  pointer-events: none; }
.hero-portrait { inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55));
  -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 98%), linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, #000 62%, transparent 98%), linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  mask-composite: intersect; }
.chip { left: -18px; bottom: 12%; padding: 10px 16px; border-radius: 999px; background: rgba(23, 18, 15, 0.82); border: 1px solid var(--line); font-size: 0.875rem; font-weight: 600; white-space: nowrap; }


@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stage { max-width: 320px; }
  .chip { left: 0; }
}

@media (max-width: 860px) {
  .hero { padding-top: 8px; }
  .hero-stage { order: -1; max-width: 250px; margin-bottom: -56px; }
  .hero-copy { position: relative; z-index: 1; }
  .chip { left: auto; right: -24px; bottom: 30%; }
}

/* Anfrage: die Wahl von der Bühne und aus den Anlässen */
.abend { padding: 12px 16px; border-radius: 12px; background: rgba(242, 165, 65, 0.08); border: 1px solid rgba(242, 165, 65, 0.3); font-size: 0.9375rem; color: var(--ink-soft); }
.abend strong { color: var(--ink); font-weight: 600; }
.mini-wish { color: var(--amber); font-weight: 600; font-size: 0.9375rem; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; padding-inline: 4px 8px; }

/* Abschnitte */
.section { padding-block: clamp(72px, 10vw, 136px); }
.h2 { font: 600 clamp(2.125rem, 4.6vw, 3.75rem)/1.02 var(--f-head); letter-spacing: -0.035em; text-wrap: balance; }
.lead { font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); color: var(--ink-soft); max-width: 36em; margin-top: 18px; }
.body { color: var(--ink-soft); max-width: 36em; margin-top: 16px; }

/* DIE BÜHNE (Umbau 2.12.2026): Bühne, Liedwahl, Player und Anfrage auf einem Bildschirm.
   Ideen aus 21st.dev frei nachgebaut, ohne fremden Code: Lamp (Licht), Wave Bars (Pegel),
   Segmented Control (gleitende Markierung), Action Swap Cascade (Knopftext wechselt). */
@property --light { syntax: "<color>"; inherits: true; initial-value: #F2A541; }
.stage-section { --lvl: 0; background: linear-gradient(180deg, var(--ground), #0A0807 60%, var(--ground)); transition: --light 0.6s ease; }
.stage-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 32px; }
.stage-hint { color: var(--ink-soft); max-width: 30em; font-size: 1rem; }
.stage-grid { display: grid; gap: 14px; margin-top: clamp(20px, 3vw, 32px); }

/* Bühne: Rahmen im Seitenverhältnis des Fotos deckt die Fläche ab (wie object-fit: cover), Licht in Bildkoordinaten */
.stage { position: relative; height: clamp(300px, 46vh, 520px); border-radius: var(--radius); overflow: hidden; container-type: size; background: #120E0C; isolation: isolate; }
.stage-frame { position: absolute; left: 50%; top: 50%; width: max(100cqw, 100cqh * 1344 / 752); aspect-ratio: 1344 / 752; transform: translate(-50%, -50%); }
.stage-frame img, .lights { position: absolute; inset: 0; width: 100%; height: 100%; }
.lights { mix-blend-mode: screen; }
/* Gewählt: Licht steht sofort in der Farbe des Lieds. Läuft es, atmet es mit dem Pegel. */
.beam { opacity: 0.62; transition: opacity 0.5s ease; }
.beam-1, .beam-3 { opacity: 0.4; }
.stage-section.is-playing .beam { opacity: calc(0.5 + var(--lvl) * 0.5); transition: opacity 0.12s linear; }
/* Lampenschein von oben und Lichtfleck am Boden in der Farbe des Lieds */
.stage::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(60% 34% at 50% -6%, color-mix(in srgb, var(--light) 55%, transparent), transparent 70%),
              radial-gradient(46% 16% at 50% 96%, color-mix(in srgb, var(--light) 30%, transparent), transparent 75%); }
.stage::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; box-shadow: inset 0 0 120px 30px rgba(0, 0, 0, 0.55); }

/* Anzeige auf der Bühne */
.now-chip { position: absolute; z-index: 2; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 10px; max-width: calc(100% - 28px);
  padding: 8px 14px 8px 12px; border-radius: 999px; background: rgba(14, 11, 10, 0.66); border: 1px solid color-mix(in srgb, var(--light) 45%, transparent);
  font-weight: 600; font-size: 0.9375rem; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.now-chip-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bars { display: inline-flex; align-items: end; gap: 2px; height: 14px; flex: none; }
.bars i { width: 3px; height: 30%; border-radius: 2px; background: var(--light); }
.is-playing .bars i { animation: bar 0.9s ease-in-out infinite alternate; }
.is-playing .bars i:nth-child(2) { animation-duration: 0.7s; animation-delay: -0.2s; }
.is-playing .bars i:nth-child(3) { animation-duration: 1.1s; animation-delay: -0.5s; }
.is-playing .bars i:nth-child(4) { animation-duration: 0.8s; animation-delay: -0.35s; }
@keyframes bar { from { height: 20%; } to { height: 100%; } }

/* Mischpult: Liedwahl, Player, Anfrage */
.deck { display: grid; grid-template-columns: 1fr auto; gap: 12px 20px; align-items: center; }
.setlist { grid-column: 1 / -1; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px;
  padding: 6px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.track { position: relative; z-index: 1; }
.track-btn { display: grid; gap: 2px; align-content: center; width: 100%; height: 100%; min-height: 58px; padding: 8px 14px; border-radius: 13px;
  border: 0; background: transparent; text-align: left; transition: background-color 0.2s ease; }
@media (hover: hover) and (pointer: fine) { .track-btn[aria-pressed="false"]:hover { background: rgba(242, 236, 228, 0.05); } }
.track-title { font-weight: 600; line-height: 1.25; }
.track-sub { font-size: 0.8125rem; color: var(--ink-soft); line-height: 1.3; }
.track-btn[aria-pressed="true"] .track-title { color: var(--ink); }
/* Gleitende Markierung hinter dem gewählten Lied */
.glider { position: absolute; z-index: 0; left: 0; top: 0; width: var(--gw, 0); height: var(--gh, 0); transform: translate(var(--gx, 0), var(--gy, 0));
  border-radius: 13px; background: var(--surface-2); border: 1px solid color-mix(in srgb, var(--light) 60%, transparent);
  box-shadow: 0 0 24px -6px color-mix(in srgb, var(--light) 55%, transparent); list-style: none;
  transition: transform 0.38s var(--ease-out), width 0.38s var(--ease-out), height 0.38s var(--ease-out); }
/* Erster Schritt: ein sanftes Aufleuchten, bis jemand selbst wählt */
.setlist.invite .track:not(:has([aria-pressed="true"])) .track-btn { animation: invite 2.4s ease-in-out 1s 2; }
@keyframes invite { 50% { background: color-mix(in srgb, var(--amber) 14%, transparent); } }

/* Ohne JS: native Player */
.native { padding: 10px; }
.native p { margin-bottom: 6px; }
.native audio { width: 100%; }
.js .native { display: none; }

.player { display: grid; grid-template-columns: auto minmax(0, 1fr) auto minmax(110px, 160px); align-items: center; gap: 16px; min-width: 0; }
.player-time { color: var(--ink-soft); font-size: 0.875rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wave { position: relative; height: 44px; }
.wave svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.wave-base rect { fill: rgba(242, 236, 228, 0.22); }
.wave-played { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--p, 0) * 100%) 0 0); }
.wave-played rect { fill: var(--light); }
.seek { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.wave:has(.seek:focus-visible) { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 6px; }

.play { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 50%; border: 0; background: var(--amber); color: var(--amber-deep); transition: transform 0.16s var(--ease-out), background-color 0.2s ease; }
.play:active { transform: scale(0.94); }
.play svg { width: 22px; height: 22px; fill: currentColor; }
.play .i-pause, .is-playing .play .i-play, .minibar.is-playing .i-play { display: none; }
.is-playing .play .i-pause, .minibar.is-playing .i-pause { display: block; }
.minibar:not(.is-playing) .i-pause { display: none; }

.volume { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--ink-soft); min-width: 0; }
.volume svg { width: 20px; height: 20px; flex: none; fill: currentColor; }
.volume input { flex: 1; min-width: 60px; accent-color: var(--amber); height: 44px; }

/* Knopf nennt das Lied; neuer Text gleitet kurz ein */
.wish-btn { white-space: nowrap; overflow: hidden; }
.wish-text { display: inline-block; }
.wish-text.swap { animation: swap 0.28s var(--ease-out); }
@keyframes swap { from { opacity: 0; transform: translateY(55%); } to { opacity: 1; transform: none; } }

@media (max-width: 960px) {
  .stage { height: clamp(210px, 34svh, 340px); }
  .setlist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deck { grid-template-columns: 1fr; gap: 10px; }
  .wish-btn { width: 100%; white-space: normal; }
}
@media (max-width: 560px) {
  .stage-hint { font-size: 0.9375rem; }
  .stage-grid { gap: 10px; }
  .track-btn { min-height: 54px; padding: 7px 10px; }
  .track-title { font-size: 0.9375rem; }
  .track-sub { font-size: 0.75rem; }
  .player { grid-template-columns: auto minmax(0, 1fr) 96px; grid-template-areas: "play wave wave" "play time vol"; gap: 0 12px; }
  .play { grid-area: play; }
  .wave { grid-area: wave; height: 32px; }
  .player-time { grid-area: time; font-size: 0.8125rem; }
  .volume { grid-area: vol; }
  .volume input { height: 28px; }
  .wish-btn { min-height: 50px; padding: 12px 18px; font-size: 0.9375rem; }
}

/* Kleine Leiste beim Weiterscrollen */
.minibar {
  position: fixed; right: 16px; bottom: 60px; z-index: 80; display: flex; align-items: center; gap: 12px;
  max-width: calc(100vw - 32px); padding: 8px 12px 8px 18px; border-radius: 999px;
  background: rgba(23, 18, 15, 0.92); border: 1px solid var(--line); box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.7);
}
.minibar[hidden] { display: none; }
.minibar-title { font-weight: 600; font-size: 0.9375rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 40vw; }
.play-small { width: 44px; height: 44px; }
.play-small svg { width: 20px; height: 20px; }
.volume-small input { width: 110px; flex: none; }
@media (max-width: 480px) { .volume-small { display: none; } .minibar { left: 16px; right: 16px; justify-content: space-between; } .minibar-title { max-width: none; } }

/* Anlässe (Umbau 2.12.2026): ein Bildschirm, je Lage ein Satz und eine Handlung, das Bild wechselt mit */
.anlaesse { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.anlaesse-bild { position: relative; margin: 0; height: min(66vh, 600px); border-radius: var(--radius); overflow: hidden; background: var(--surface-2); }
.anlaesse-bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; opacity: 0; transition: opacity 0.45s var(--ease-out); }
.anlaesse-bild img.an { opacity: 1; }
.anlaesse-liste { margin-top: clamp(20px, 3vw, 32px); border-top: 1px solid var(--line); }
.anlass { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 20px; align-items: baseline; padding: 16px 12px; margin-inline: -12px;
  border-bottom: 1px solid var(--line); border-radius: 12px; cursor: pointer; transition: background-color 0.25s ease; }
.anlass h3 { font: 600 1.375rem/1.2 var(--f-head); letter-spacing: -0.02em; }
.anlass p { grid-column: 1; color: var(--ink-soft); font-size: 0.9375rem; }
.anlass .anlass-meta { font-size: 0.8125rem; color: var(--ink-soft); opacity: 0.85; }
.anlass-link { grid-column: 2; grid-row: 1 / span 3; align-self: center; color: var(--amber); font-weight: 600; font-size: 0.9375rem; min-height: 44px; display: inline-flex; align-items: center; text-underline-offset: 4px; }
.anlass.ist-an { background: rgba(242, 165, 65, 0.07); }
.anlass.ist-an h3 { color: var(--amber); }
@media (max-width: 860px) {
  .anlaesse { grid-template-columns: 1fr; gap: 20px; }
  .anlaesse-bild { height: auto; aspect-ratio: 16 / 10; }
  .anlaesse-text { order: -1; }
}
@media (max-width: 560px) {
  .anlass { grid-template-columns: 1fr; padding: 14px 8px; margin-inline: -8px; }
  .anlass-link { grid-column: 1; grid-row: auto; min-height: 40px; }
}
.reduced .anlaesse-bild img, .reduced .anlass { transition: none; }
@media (prefers-reduced-motion: reduce) { .anlaesse-bild img, .anlass { transition: none; } }

/* Live */
.live { background: var(--surface); }
.live-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.dates li { display: grid; grid-template-columns: 150px 1fr auto; gap: 16px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); }
.dates li:first-child { border-top: 1px solid var(--line); }
.dates time { font-weight: 600; color: var(--amber); font-variant-numeric: tabular-nums; }
.date-place { color: var(--ink-soft); }
.date-place strong { color: var(--ink); font-weight: 600; }
.date-tag { font-size: 0.75rem; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; }
@media (max-width: 860px) {
  .live-grid { grid-template-columns: 1fr; }
  .dates li { grid-template-columns: 1fr auto; }
  .dates time { grid-column: 1 / -1; }
}

/* Über mich */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.about-img { margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.accordion { display: grid; gap: 10px; }
.acc { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.acc summary { position: relative; list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; font-weight: 600; min-height: 56px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--amber); border-bottom: 2px solid var(--amber); transform: rotate(45deg); transition: transform 0.25s var(--ease-out); }
.acc[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.acc-body { padding: 0 20px 20px; color: var(--ink-soft); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* Anfrage */
.request-section { background: radial-gradient(70% 60% at 80% 0%, rgba(242, 165, 65, 0.12), transparent 70%), var(--ground); }
.request-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.request-guitar { width: 200px; height: auto; margin-top: clamp(32px, 5vw, 64px); transform: rotate(14deg); transform-origin: 50% 80%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.6)); }
@media (max-width: 860px) { .request-guitar { display: none; } }
.request { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; padding: clamp(20px, 3vw, 32px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.field { display: grid; gap: 6px; min-width: 0; }
.field-wide, .request-foot, .request-status { grid-column: 1 / -1; }
.field label { font-size: 0.9375rem; font-weight: 600; }
.optional { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px;
  background: var(--ground); border: 1px solid rgba(242, 236, 228, 0.22); color: var(--ink); color-scheme: dark;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--amber); }
.request-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 6px; }
.request-hint, .request-status { font-size: 0.875rem; color: var(--ink-soft); }
@media (max-width: 860px) { .request-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .request { grid-template-columns: 1fr; } }

/* Fußzeile */
.site-footer { padding: 48px 0 96px; border-top: 1px solid var(--line); font-size: 0.9375rem; }
.footer-inner { display: grid; gap: 8px; }
.footer-muted { color: var(--ink-soft); }

@media (prefers-reduced-motion: reduce) {
  .stage-section, .beam, .glider, .track-btn { transition: none !important; }
  .bars i, .wish-text.swap, .setlist.invite .track-btn { animation: none !important; }
}
.reduced .stage-section, .reduced .beam, .reduced .glider, .reduced .track-btn { transition: none !important; }
.reduced .bars i, .reduced .wish-text.swap, .reduced .setlist.invite .track-btn { animation: none !important; }
/* Kennung */ :root { --ic-mus-kskz: 1; }
