/* Bausteine der Startseite (teile/start/) - ergaenzt neu.css des Katalogs.
   Gilt fuer die WordPress-Seite (Shortcodes [meku_start ...]) und den Entwurf /startseite-neu/. */

/* Kopf: Leitsatz links, Werk rechts (Handy: untereinander) */
.s-held { max-width: var(--k-max); margin: 0 auto; display: grid; gap: 22px; align-items: center; padding: 26px max(var(--k-rand), env(safe-area-inset-right, 0px)) 10px max(var(--k-rand), env(safe-area-inset-left, 0px)); }
.s-held h1 { font-size: clamp(40px, 7vw, 76px); line-height: 1.02; letter-spacing: -.01em; }
.s-held__lead { font-size: clamp(17px, 2vw, 20px); color: var(--mk-ink-soft); margin: 14px 0 0; max-width: 34ch; }
.s-held__knoepfe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.s-held__werk { margin: 0; }
.s-held__bild { display: block; background: var(--mk-paper-2); padding: 18px; margin-inline: calc(-1 * var(--k-rand)); }
.s-held__bild img { display: block; margin: 0 auto; width: auto; max-width: 100%; height: auto; max-height: 58vh; box-shadow: 0 14px 40px rgba(0,0,0,.18); background: var(--grund, transparent); }
.s-held__werk figcaption { font-size: 13.5px; color: var(--mk-ink-soft); margin-top: 8px; }
.s-held__werk figcaption a { text-decoration: none; }
.s-held__werk figcaption a:hover { color: var(--k-gold); }
@media (min-width: 900px) {
	.s-held { grid-template-columns: minmax(300px, 1fr) minmax(0, 1.3fr); gap: 56px; padding-top: 40px; }
	.s-held__bild { margin-inline: 0; padding: 36px; }
}

/* Zu Besuch in den Galerien: je Person drei Werke, Link direkt in die Galerie */
.s-besuche { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 80vw); gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; margin-inline: calc(-1 * var(--k-rand)); padding: 0 var(--k-rand) 8px; }
.s-besuch { display: block; text-decoration: none; background: var(--mk-surface); border: 1px solid var(--mk-line); scroll-snap-align: start; }
.s-besuch:hover { border-color: var(--k-gold); }
.s-besuch__werke { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; aspect-ratio: 3 / 2; }
.s-besuch__werke img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 0; background: var(--mk-paper-2); }
.s-besuch__werke img:first-child { grid-row: span 2; }
.s-besuch__wer { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.s-besuch__wer img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; flex: 0 0 auto; }
.s-besuch__wer strong { display: block; font: 400 19px/1.15 var(--mk-font-display); }
.s-besuch__wer small { display: block; color: var(--k-gold); font-weight: 600; font-size: 13px; margin-top: 3px; }
@media (min-width: 900px) { .s-besuche { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; margin-inline: 0; padding: 0; } }

/* Knopfreihe im Portraet */
.s-knoepfe { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }

/* Zwei Spalten: Kunstinteressierte / Kuenstler:innen */
.s-zwei { max-width: var(--k-max); margin: 60px auto 50px; display: grid; gap: 14px; padding: 0 max(var(--k-rand), env(safe-area-inset-right, 0px)) 0 max(var(--k-rand), env(safe-area-inset-left, 0px)); }
.s-zwei__teil { background: var(--mk-paper-2); padding: 28px 24px; display: flex; flex-direction: column; align-items: flex-start; }
.s-zwei__teil > .k-knopf { margin-top: auto; }
.s-zwei__teil--rahmen { background: var(--mk-surface); border: 1px solid var(--mk-line); }
.s-zwei__teil--gold { background: var(--mk-accent-soft); }
.s-zwei__teil h2 { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 12px; }
.s-zwei__teil p:not(.k-marke-text) { color: var(--mk-ink-soft); max-width: 52ch; margin: 0 0 20px; }
.s-liste, .s-zwei__teil ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; }
.s-liste li, .s-zwei__teil ul li { position: relative; padding-left: 24px; }
.s-liste li::before, .s-zwei__teil ul li::before { content: "✓"; position: absolute; left: 0; color: var(--k-gold); font-weight: 700; }
@media (min-width: 800px) { .s-zwei { grid-template-columns: 1fr 1fr; gap: 18px; } .s-zwei__teil { padding: 40px 38px; } }

/* Aktuell: eine Aktion als Karte */
.s-aktion { display: grid; gap: 6px; max-width: 760px; padding: 22px 24px; border: 1px solid var(--mk-line); background: var(--mk-surface); text-decoration: none; }
.s-aktion:hover { border-color: var(--k-gold); }
.s-aktion strong { font: 400 clamp(21px, 2.4vw, 26px)/1.2 var(--mk-font-display); }
.s-aktion span:not(.k-marke-text) { color: var(--mk-ink-soft); }
.s-aktion span.s-aktion__mehr { color: var(--k-gold); font-weight: 600; font-size: 14px; margin-top: 4px; }

/* Ueber uns */
.s-ueber { max-width: var(--k-max); margin: 60px auto 50px; padding: 0 max(var(--k-rand), env(safe-area-inset-right, 0px)) 0 max(var(--k-rand), env(safe-area-inset-left, 0px)); }
.s-ueber > div { max-width: 68ch; border-top: 1px solid var(--mk-line); padding-top: 30px; }
.s-ueber h2 { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 14px; }
.s-ueber p:not(.k-marke-text) { color: var(--mk-ink-soft); margin: 0 0 14px; }
.s-ueber .k-knopf { margin-top: 6px; }

/* ---------- Eingebettet in WordPress ----------
   Jeder Baustein steht dort in <div class="k-seite meku-start">. Das Theme der Hauptseite faerbt alle Links im
   Inhalt gold (.page-content a), setzt eigene Schriften fuer Ueberschriften und eine feste Zeilenhoehe fuer
   Absaetze. Hier wird nur zurueckgestellt, was die Bausteine im Katalog von <body> erben oder selbst festlegen -
   die doppelte Klasse gibt den Regeln das noetige Gewicht, ohne !important. */
.meku-start { font: 400 16px/1.55 var(--mk-font-text); color: var(--mk-ink); text-align: left; letter-spacing: normal; }
.meku-start :is(h1, h2, h3) { font-family: var(--mk-font-display); color: inherit; text-transform: none; letter-spacing: normal; }
.meku-start.meku-start a, .meku-start.meku-start a:hover, .meku-start.meku-start a:focus { color: inherit; text-decoration: none; }
.meku-start.meku-start .k-knopf { color: var(--mk-ink); }
.meku-start.meku-start .k-knopf--dunkel { color: var(--mk-paper); }
.meku-start.meku-start .k-knopf--gold, .meku-start.meku-start .k-haken { color: #fff; }
.meku-start.meku-start .k-reihe__kopf a, .meku-start.meku-start .k-karte__titel:hover, .meku-start.meku-start .s-held__werk figcaption a:hover, .meku-start.meku-start .k-woche__person h2 a:first-child:hover { color: var(--k-gold); }
.meku-start .s-held__lead, .meku-start .k-woche__text, .meku-start .s-zwei__teil p:not(.k-marke-text), .meku-start .s-ueber p:not(.k-marke-text) { line-height: 1.55; }
.meku-start .s-zwei__teil li { line-height: 1.55; }
