/* Content insets belong to the design, shared by hero panels, sections and forms. */
.home-focus, .home-section { --content-inset: 32px; }
[data-design="typewriter"] :is(.home-focus, .home-section) { --content-inset: 28px; }
[data-design="stage"] :is(.home-focus, .home-section) { --content-inset: 40px; }

/* The selected content leads; each design keeps its own graphic grammar. */
.home-focus { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px 48px; padding-block: clamp(32px, 5vw, 72px); }
.home-focus-identity { grid-column: 1 / -1; }
.home-focus .home-focus-identity h1 { font: var(--display-weight, 400) clamp(28px, 3vw, 44px)/1.15 var(--heading); margin: 0 0 12px; overflow-wrap: anywhere; }
.home-focus-identity p { margin: 0; color: var(--muted); }
.home-focus-content { min-width: 0; align-self: center; }
.home-focus .home-focus-kicker { color: var(--accent); font: 400 14px/1.6 var(--body); margin: 0 0 24px; }
.home-focus h2 { font: var(--display-weight, 400) clamp(32px, 4.5vw, 72px)/1.08 var(--heading); margin: 0 0 24px; overflow-wrap: anywhere; }
.home-focus h2 a { text-decoration: none; }
.home-focus h2 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.home-focus-content > p { line-height: 1.6; }
.home-focus-actions { display: flex; flex-wrap: wrap; gap: 16px 24px; margin-top: 28px; font-size: 15px; }
.home-focus-actions a { padding-block: 8px; text-underline-offset: 5px; }
.home-focus-portrait:empty { display: none; }
.home-focus-portrait .design-portrait { margin: 0; }
.home-focus-portrait :is(img, .demo-artwork) { width: 100%; height: auto; max-height: 600px; object-fit: cover; }
.home-focus:not(:has(.home-focus-portrait img, .home-focus-portrait .demo-artwork)) { grid-template-columns: minmax(0, 1fr); }
.home-focus audio { width: 100%; margin-top: 24px; }
.home-focus-navigation { grid-column: 1 / -1; }
.home-focus-navigation .profile-links { margin-block: 0; }
[data-design="typewriter"] .home-focus h2 { font-size: clamp(30px, 3.5vw, 50px); }
[data-design="typewriter"] .home-focus-content { padding: var(--content-inset); background: var(--accent-soft); border-radius: 20px; }
[data-design="plakat"] .home-focus-identity { border-bottom: 4px solid var(--accent); padding-bottom: 24px; }
[data-design="plakat"] .home-focus-navigation { border-top: 4px solid var(--accent); padding-top: 32px; }
[data-design="editorial"] .home-focus { gap: 32px; }
[data-design="editorial"] .home-focus-identity { border-bottom: 1px solid var(--line); padding-bottom: 24px; }
[data-design="folio"] .home-focus { display: block; }
[data-design="folio"] .home-focus-identity { margin-bottom: 48px; }
[data-design="folio"] .home-focus h2 { font-size: clamp(32px, 4vw, 56px); }
[data-design="salon"] .home-focus { text-align: center; max-width: 860px; grid-template-columns: minmax(0, 1fr); }
[data-design="salon"] .home-focus-actions { justify-content: center; }
[data-design="salon"] .home-focus-portrait { max-width: 220px; margin: 8px auto 0; }
[data-design="salon"] .home-focus-portrait .design-portrait { border-radius: 50%; overflow: hidden; }
[data-design="stage"] .home-focus-content { background: var(--scene); padding: var(--content-inset); border-radius: 24px; }
[data-design="stage"] .home-focus-portrait .design-portrait { border-radius: 24px; overflow: hidden; }
[data-design="signal"] .home-focus-content { background: var(--accent-soft); padding: var(--content-inset); }
@media (max-width: 900px) {
  [data-design="folio"][data-home-entry="event"] .folio-shell,
  [data-design="folio"][data-home-entry="recording"] .folio-shell { display: flex; flex-direction: column; }
  [data-design="folio"] .folio-shell > .folio-header { order: 1; }
  [data-design="folio"] .folio-shell > main { order: 2; }
  [data-design="folio"] .folio-shell > .folio-visual { order: 3; }
  [data-design="folio"] .folio-shell > .site-footer { order: 4; }
}
@media (max-width: 760px) {
  .home-focus { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .home-focus-portrait { max-width: 360px; }
  .home-focus :is(.home-focus-content, .home-focus-identity) { grid-column: 1; }
  .home-focus h2 { font-size: clamp(30px, 8vw, 48px); }
}

/* Shared section roles inherit each design's typography and colors. */
.home-module { margin-block: 32px 72px; }
.home-module .section-heading { gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.home-module .section-heading h2 { font: var(--display-weight, 400) clamp(24px, 3vw, 36px)/1.2 var(--heading); margin: 0; }
.home-module .section-heading > a { font-size: 14px; }
.home-module-content { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.home-module-content > h3 { hyphens: auto; hyphenate-limit-chars: 10 4 4; font: var(--display-weight, 400) clamp(25px, 3.5vw, 42px)/1.2 var(--heading); margin: 0 0 16px; }
.home-module-content audio { width: 100%; max-width: 700px; margin-top: 16px; }
.home-quote blockquote { margin: 0 0 24px; font: 400 clamp(24px, 3vw, 40px)/1.4 var(--heading); }
.home-quote blockquote p { margin: 0; }
.home-quote figcaption { color: var(--muted); margin-bottom: 16px; font-size: 14px; }
[data-design="plakat"] .home-module { border-top: 0; padding-top: 0; }
[data-design="editorial"] .home-module { border-top: 1px solid var(--line); padding-top: 24px; }
[data-design="stage"] .home-module-content { background: var(--scene); padding: var(--content-inset); border-radius: 24px; }
[data-design="signal"] .home-module-content { background: var(--accent-soft); padding: var(--content-inset); }
[data-design="typewriter"] .home-module-content { background: var(--accent-soft); padding: var(--content-inset); border-radius: 20px; }
[data-design="salon"] .home-module { text-align: center; }
[data-design="salon"] .home-module .section-heading { justify-content: center; }
[data-design="folio"] .home-module .design-photo-grid { grid-template-columns: minmax(0, 1fr); }
[data-design="typewriter"] .home-module .section-heading h2 { font-size: 24px; }
.home-module .design-photo-grid { margin-block: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 40px 24px; }
.home-module .design-photo figure { margin: 0 0 16px; }
.home-module .design-photo img { width: 100%; height: auto; display: block; }
.home-module .design-photo-title { display: flex; justify-content: space-between; gap: 16px; margin: 0; }
.home-module .design-photo-download { display: block; margin-top: 12px; font-size: 14px; }

/* Section boundaries are owned here; list templates retain their internal rhythm. */
.home-section { --section-gap: 72px; display: flow-root; margin-block: 0 var(--section-gap); scroll-margin-top: 32px; }
[data-design="plakat"] .home-section { --section-gap: 96px; }
[data-design="folio"] .home-section { --section-gap: 56px; }
[data-design="signal"] .home-section { --section-gap: 48px; }
html[data-design] .home-section > section { margin-block: 0; }
/* Anchor destinations keep focus for the next Tab, without framing an entire section. */
.home-section:focus, #einstieg:focus, #naechster-termin:focus { outline: none; }
.home-biography .reading-copy { max-width: 68ch; font: 18px/1.7 var(--reading); }
.home-biography .reading-copy > :first-child { margin-top: 0; }
.home-biography .reading-copy > :last-child { margin-bottom: 0; }
.home-biography .home-module-content > .text-link { display: inline-block; margin-top: 24px; }
[data-design="editorial"] .home-biography { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); gap: 32px; }
[data-design="salon"] .home-biography .reading-copy { text-align: left; margin-inline: auto; }
.home-contact-content { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.home-contact-content > * { min-width: 0; }
.home-contact-content:not(:has(.contact-copy > *)) { grid-template-columns: minmax(0, 720px); }
.home-contact-content .contact-copy:not(:has(> *)) { display: none; }
.home-contact-content .contact-copy .reading-copy > :first-child { margin-top: 0; }
.home-contact-content .contact-form { text-align: left; }
.home-contact-content :is(input, textarea) { max-width: 100%; }
.home-contact-content .contact-address { overflow-wrap: anywhere; }
.contact-confirmation { padding: 20px; border: 1px solid var(--accent); color: var(--accent); margin-bottom: 24px; }
[data-design="stage"] .home-contact-content .contact-form { padding: var(--content-inset); border-radius: 24px; background: var(--scene); }
[data-design="typewriter"] .home-contact-content .contact-form { padding: var(--content-inset); border-radius: 20px; background: var(--accent-soft); }
[data-design="folio"] .home-contact-content, [data-design="salon"] .home-contact-content { grid-template-columns: minmax(0, 1fr); }
[data-design="salon"] .home-contact-content { max-width: 680px; margin-inline: auto; }
[data-design="stage"] .home-section, [data-design="stage"] #einstieg { scroll-margin-top: 110px; }
html[data-appearance-preview] .home-section, html[data-appearance-preview] #einstieg { scroll-margin-top: calc(var(--config-header-height, 0px) + 110px); }
@media (max-width: 760px) {
  html[data-design] .home-section { --section-gap: 48px; }
  html[data-design] .home-contact-content, html[data-design] .home-biography { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .home-biography .reading-copy { font-size: 17px; }
  .home-module .design-photo-grid { row-gap: 32px; }
  html[data-design] :is(.home-focus, .home-section) { --content-inset: 20px; }
}
.home-contact-content .contact-address h3 { font: 400 16px/1.5 var(--body); margin-bottom: 8px; }

.home-module .design-photo-grid:has(> .design-photo:only-child) { max-width: 520px; }
[data-design="salon"] .home-module .design-photo-grid:has(> .design-photo:only-child) { margin-inline: auto; }
#naechster-termin { scroll-margin-top: calc(var(--config-header-height, 0px) + 32px); }

/* Long-form headings must not inherit the larger recording title scale. */
.home-biography .prose h2 { font-size: 26px; line-height: 1.3; margin-block: 32px 12px; }
.home-biography .prose h3 { font-size: 22px; line-height: 1.35; margin-block: 28px 12px; }
.home-module .home-module-content > :last-child { margin-bottom: 0; }
[data-design="signal"] .home-contact-content .contact-form { padding: var(--content-inset); }
@media (max-width: 380px) {
  html[data-design] :is(.home-focus, .home-section) { --content-inset: 16px; }
}

/* Optional content images keep their full proportions and central credits. */
.section-with-image { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); gap: 32px; align-items: start; }
.section-image { margin: 0; min-width: 0; }
.section-image img { width: 100%; height: auto; }
.section-image-copy { min-width: 0; }
.section-image-copy > h3 { font: var(--display-weight, 400) clamp(25px, 3.5vw, 42px)/1.2 var(--heading); hyphens: auto; hyphenate-limit-chars: 10 4 4; margin: 0 0 16px; }
.section-image-copy > .text-link { margin-top: 24px; }
[data-design="editorial"] .home-biography:has(.section-image) { grid-template-columns: minmax(0, 1fr); }
[data-design="folio"] .section-with-image { grid-template-columns: minmax(0, 1fr); }
[data-design="folio"] .section-image { max-width: 320px; }
[data-design="salon"] .section-image { max-width: 280px; margin-inline: auto; }
[data-design="stage"] .section-image img { border-radius: 18px; }
.illustrated-event-list { display: grid; gap: 40px; }
.illustrated-event { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); gap: 32px; align-items: start; }
.illustrated-event--text { grid-template-columns: minmax(0, 1fr); }
.illustrated-event .section-image { max-width: 360px; }
.illustrated-event-copy { min-width: 0; overflow-wrap: anywhere; }
.illustrated-event-copy h3 { font: var(--display-weight, 400) clamp(24px, 3vw, 36px)/1.2 var(--heading); margin-block: 16px; }
.illustrated-event-copy p + p { margin-top: 12px; }
.illustrated-event-copy .text-link { margin-top: 20px; }
.illustrated-event-date { color: var(--accent); font-size: 14px; }
[data-design="folio"] .illustrated-event, [data-design="salon"] .illustrated-event { grid-template-columns: minmax(0, 1fr); }
[data-design="salon"] .illustrated-event .section-image { margin-inline: auto; }
@media (max-width: 760px) {
  .section-with-image, .illustrated-event { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .section-image { width: min(100%, 360px); }
}
[data-design="typewriter"] .illustrated-event { padding: var(--content-inset); background: var(--accent-soft); border-radius: 20px; }
[data-design="signal"] .illustrated-event { padding: var(--content-inset); background: var(--accent-soft); }
