/* Eventseite im neuen Design („03 Event-Detail“ und „03.5 Event-Detail Partner“, Claude Design, 28.10.2026).
 *
 * Eine Vorlage (single-firmengolf_event.php), zwei Varianten: .ed--self (Firmengolf-Event auf
 * Anfrage, Orientierungspreis, Beispielbilder) und .ed--partner (fester Platz, echte Bilder).
 * Lädt nur auf Eventseiten, nach fge-site.css. Anfrage-Dialog, Foto-Popup und mobiler
 * Anfrage-Fuß behalten ihre Grundstile aus fge-frontend.css.
 *
 * Alle Selektoren hängen an .ed bzw. .ed-page, damit die .fge-page-Resets
 * (Buttons, Überschriften) und fge-type-system.css nicht dazwischenfunken.
 * Breakpoints wie fge-site.css: 1080 / 900 / 760.
 */

.ed-page { background: var(--paper-100); color: var(--ink-900); font-family: var(--site-body); }
.ed-wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--site-pad); }
.ed b, .ed strong { font-weight: 700; }
.ed .site-display, .ed-page .site-display { font-family: var(--site-display); font-stretch: 68%; font-weight: 850; text-transform: uppercase; letter-spacing: -.005em; }

/* .fge-page button { font: inherit; border: 0; background: none } (0,1,1) entkernt die Buttons aus fge-site.css. */
.fge-page button.site-btn { border: 2px solid transparent; font-family: var(--site-body); font-size: 15px; font-weight: 700; line-height: 1; }
.fge-page button.site-btn-sm { font-size: 14px; }
.fge-page button.site-btn-cta { background: var(--fairway-700); border-color: var(--fairway-700); color: #fff; }
.fge-page button.site-btn-sec { background: transparent; border-color: var(--ink-900); color: var(--ink-900); }
@media (hover: hover) {
	.fge-page button.site-btn-cta:hover { background: var(--fairway-600); border-color: var(--fairway-600); color: #fff; }
	.fge-page button.site-btn-sec:hover { background: var(--ink-900); color: #fff; }
}

/* ── Zurück ── */
.ed-topbar { padding-top: 8px; }
.ed a.ed-back { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; font-size: 14px; font-weight: 600; color: var(--ink-900); transition: color 160ms var(--ease-out); }
@media (hover: hover) { .ed a.ed-back:hover { color: var(--fairway-700); } }

/* ── Fotos ── */
.ed-gal { position: relative; margin-top: 12px; }
.ed-gal-track { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 12px; }
.ed-gal-item { position: relative; margin: 0; border-radius: 20px; overflow: hidden; background: var(--ink-700); }
.ed-gal-item img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.ed-gal-main { grid-row: span 2; border-radius: 24px; }
.ed-gal--5 .ed-gal-item:nth-child(n+6),
.ed-gal--3 .ed-gal-item:nth-child(n+4),
.ed-gal--2 .ed-gal-item:nth-child(n+3),
.ed-gal--1 .ed-gal-item:nth-child(n+2) { display: none; }
.ed-gal--3 .ed-gal-track { grid-template-columns: 2fr 1fr; }
.ed-gal--2 .ed-gal-track { grid-template-columns: 2fr 1fr; }
.ed-gal--2 .ed-gal-item:nth-child(2) { grid-row: span 2; }
.ed-gal--1 .ed-gal-track { grid-template-columns: 1fr; grid-template-rows: 492px; }
.ed-gal--1 .ed-gal-main { grid-row: auto; }
.ed .fge-img-credit { z-index: 2; }
.fge-page .ed button.ed-gal-more { position: absolute; right: 14px; bottom: 14px; z-index: 3; display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 10px; background: #fff; color: var(--ink-900); font-family: var(--site-body); font-size: 14px; font-weight: 700; transition: background-color 160ms var(--ease-out), transform 120ms var(--ease-out); }
.fge-page .ed button.ed-gal-more:active { transform: scale(.97); }
@media (hover: hover) { .fge-page .ed button.ed-gal-more:hover { background: var(--paper-200); } }
.ed-gal-more ~ .fge-img-credit, .ed-gal-item:has(.ed-gal-more) .fge-img-credit { left: 10px; right: auto; }
.ed-gal-count { display: none; }
.ed-gal-caption { margin: 10px 0 0; font-size: 13px; color: var(--ink-400); }

/* ── Inhalt + Preis-Karte ── */
.ed-body { padding-top: 48px; display: grid; grid-template-columns: minmax(0, 1fr) 380px; grid-template-areas: "intro rail" "main rail"; column-gap: 64px; row-gap: 72px; align-items: start; }
.ed-intro { grid-area: intro; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.ed-main { grid-area: main; display: flex; flex-direction: column; gap: 72px; min-width: 0; }
.ed-rail { grid-area: rail; position: sticky; top: 24px; align-self: start; }

.ed-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ed .ed-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 4px 12px; border: 1px solid var(--paper-line); background: #fff; border-radius: 6px; font-size: 13px; font-weight: 600; line-height: 1.2; color: var(--ink-900); }
.ed a.ed-chip-link { text-decoration: underline; text-underline-offset: 3px; transition: border-color 160ms var(--ease-out); }
@media (hover: hover) { .ed a.ed-chip-link:hover { border-color: var(--ink-900); } }

.ed h1.ed-title { margin: 0; font-size: clamp(44px, 6.9vw, 88px); line-height: .94; color: var(--ink-900); overflow-wrap: break-word; }

.ed-lead { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.ed p.ed-lead-t { margin: 0; max-width: 680px; font-size: 19px; line-height: 1.55; color: var(--ink-700); overflow: hidden; }
.ed-lead.is-clamped .ed-lead-t { -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent); mask-image: linear-gradient(to bottom, #000 70%, transparent); }
.fge-page .ed button.ed-lead-more { padding: 6px 0; font-size: 15px; font-weight: 600; color: var(--ink-900); text-decoration: underline; text-underline-offset: 3px; }
.fge-page .ed button.ed-lead-more[hidden] { display: none; }

.ed-info { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; margin-top: 6px; padding: 18px 22px; border-radius: 20px; background: var(--paper-200); }
.ed-info-ic { width: 44px; height: 44px; border-radius: 999px; background: var(--paper-200); color: var(--fairway-700); display: grid; place-items: center; font-weight: 700; font-size: 17px; }
.ed-info--partner .ed-info-ic { background: #fff; }
.ed .ed-info p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-900); }
.ed .ed-info a { text-decoration: underline; text-underline-offset: 3px; }

.ed-facts { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-top: 6px; font-size: 15px; line-height: 1.4; }
.ed-facts-muted { color: var(--ink-600); }

/* Preis-Karte */
.ed-card { display: flex; flex-direction: column; gap: 18px; padding: 28px; background: #fff; border: 1px solid var(--ink-200); border-radius: 24px; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.ed-price { display: flex; flex-direction: column; gap: 2px; }
.ed-price-ab { font-size: 14px; color: var(--ink-600); }
.ed-price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.ed-price-v { font-family: var(--site-display); font-stretch: 68%; font-weight: 850; font-size: 56px; line-height: 1; color: var(--ink-900); }
.ed-price-u { font-size: 14px; color: var(--ink-600); }
.ed-price-n { font-size: 13px; line-height: 1.4; color: var(--ink-600); }

.ed-pax { display: flex; flex-direction: column; gap: 6px; }
.ed-pax-l { font-size: 13px; font-weight: 700; }
.ed-stepper { display: flex; align-items: center; justify-content: space-between; padding: 6px; border: 1px solid var(--ink-200); border-radius: 14px; }
.fge-page .ed button.ed-step { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--ink-900); display: grid; place-items: center; font-size: 20px; line-height: 1; color: var(--ink-900); transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out), opacity 160ms var(--ease-out), transform 120ms var(--ease-out); }
.fge-page .ed button.ed-step:active { transform: scale(.94); }
.fge-page .ed button.ed-step:disabled { opacity: .3; cursor: not-allowed; transform: none; }
@media (hover: hover) { .fge-page .ed button.ed-step:hover:not(:disabled) { background: var(--ink-900); color: #fff; } }
.fge-page .ed button.ed-step:focus-visible { outline: 3px solid var(--fairway-700); outline-offset: 2px; }
.ed-pax-v { font-size: 16px; font-variant-numeric: tabular-nums; }

.ed-total { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--ink-200); border-bottom: 1px solid var(--ink-200); font-size: 15px; }
.ed-total > span { color: var(--ink-600); display: flex; flex-direction: column; }
.ed-total small { font-size: 12px; color: var(--ink-500); }
.ed-total small[hidden] { display: none; }
.ed-total b { font-variant-numeric: tabular-nums; text-align: right; }

.ed-rail .site-btn { width: 100%; }
.ed-share.is-copied { background: var(--fairway-100) !important; border-color: var(--fairway-700) !important; color: var(--fairway-800) !important; }
.ed .ed-card-note { margin: 0; font-size: 13px; line-height: 1.45; text-align: center; color: var(--ink-600); }

.ed .ed-host { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--ink-200); color: var(--ink-900); }
.ed .ed-host-img { width: 44px; height: 44px; flex: none; border-radius: 12px; object-fit: cover; background: var(--ink-700); }
.ed .ed-host-img--round { border-radius: 999px; background: var(--paper-300); }
.ed .ed-host-img--ic { display: grid; place-items: center; background: var(--paper-200); color: var(--fairway-700); }
.ed-host > span { display: flex; flex-direction: column; font-size: 14px; line-height: 1.35; min-width: 0; }
.ed-host > span > span { color: var(--ink-600); }
@media (hover: hover) { .ed a.ed-host:hover b { text-decoration: underline; text-underline-offset: 3px; } }

/* ── Abschnitte ── */
.ed-sec { display: flex; flex-direction: column; gap: 20px; margin: 0; }
.ed h2.ed-h2 { margin: 0; font-size: clamp(36px, 4.4vw, 48px); line-height: .94; color: var(--ink-900); }
.ed h3.ed-h3 { margin: 0; font-size: clamp(28px, 3vw, 34px); line-height: 1; color: var(--ink-900); }

.ed-flow { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.ed-flow li { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 16px; padding-bottom: 28px; }
.ed-flow li::before { content: ""; position: absolute; left: 13px; top: 22px; bottom: 0; width: 2px; background: var(--paper-line); }
.ed-flow li:last-child { padding-bottom: 0; }
.ed-flow li:last-child::before { display: none; }
.ed-flow-dot { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--paper-100); border: 2px solid var(--ink-900); display: grid; place-items: center; }
.ed-flow-dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--fairway-700); }
.ed-flow-c { display: flex; flex-direction: column; gap: 4px; padding-top: 2px; }
.ed-flow-c b { font-size: 18px; line-height: 1.3; }
.ed-flow-c span { font-size: 15px; line-height: 1.55; color: var(--ink-600); }

.ed-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.ed-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.ed-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.ed-list li { display: flex; gap: 10px; font-size: 16px; line-height: 1.4; }
.ed-list-m { flex: none; width: 16px; font-weight: 700; color: var(--ink-600); }
.ed-list-m--yes { color: var(--fairway-700); }
.ed-list-ic { flex: none; display: inline-flex; width: 20px; height: 22px; align-items: center; color: var(--ink-700); }
.ed-list-ic svg { width: 18px; height: 18px; }
.ed-list small { font-size: 13px; color: var(--ink-600); }

.ed-quote { padding-top: 16px; border-top: 2px solid var(--ink-900); gap: 10px; }
.ed-quote blockquote { margin: 0; }
.ed .ed-quote p { margin: 0; font-size: 21px; line-height: 1.45; font-weight: 500; }
.ed-quote figcaption { font-size: 14px; color: var(--ink-600); }

/* Anfahrt & Location */
.ed .ed-loc-p { margin: 0; max-width: 640px; font-size: 16px; line-height: 1.55; color: var(--ink-600); }
.ed-facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.ed-facts-grid > div { display: flex; flex-direction: column; gap: 4px; padding: 16px; background: #fff; border: 1px solid var(--ink-200); border-radius: 16px; }
.ed-facts-grid span { font-size: 13px; color: var(--ink-600); }
.ed-facts-grid b { font-size: 15px; line-height: 1.35; }
.ed .ed-venue { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 12px; background: #fff; border: 1px solid var(--paper-line); border-radius: 20px; color: var(--ink-900); transition: border-color 160ms var(--ease-out); }
.ed .ed-venue--noimg { grid-template-columns: minmax(0, 1fr) auto; padding: 16px 16px 16px 20px; }
@media (hover: hover) { .ed a.ed-venue:hover { border-color: var(--ink-900); } }
.ed-venue-img { display: block; height: 90px; border-radius: 12px; overflow: hidden; background: var(--ink-700); }
.ed-venue-img img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.ed-venue-t { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ed-venue-badge { font-size: 13px; font-weight: 700; color: var(--fairway-700); }
.ed-venue-t b { font-size: 18px; line-height: 1.25; }
.ed-venue-t > span:last-child:not(.ed-venue-badge) { font-size: 14px; color: var(--ink-600); }
.ed .ed-offseason { margin: 0; padding: 12px 16px; border-radius: 12px; background: var(--paper-200); font-size: 14px; line-height: 1.5; }

.ed-map { height: 300px; border-radius: 20px; overflow: hidden; background: #E9E4D8; display: flex; align-items: center; justify-content: center; }
.ed-map-frame { width: 100%; border: 0; display: block; }
.ed-map-consent { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px; text-align: center; }
.ed .ed-map-consent p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--ink-600); }
.ed-map-consent small { font-size: 12px; color: var(--ink-500); }
.ed .ed-map-btn { background: #fff; }
.ed .ed-map-note { display: none; margin: -8px 0 0; font-size: 13px; color: var(--ink-600); }
.ed-map:not(:has(.ed-map-consent)) + .ed-map-note { display: block; }

/* ── FAQ (FaqList) ── */
.ed-faq { padding-top: clamp(96px, 14vw, 180px); display: grid; grid-template-columns: 440px minmax(0, 1fr); gap: 64px; align-items: start; }
.ed-faq-head { display: flex; flex-direction: column; gap: 24px; }
.ed h2.ed-faq-h { font-size: clamp(40px, 4.4vw, 56px); overflow-wrap: anywhere; }
.ed .ed-faq-head p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink-600); }
.ed .ed-faq-head a { color: var(--ink-900); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.ed .faq-list.ed-faq-list { border-top: 2px solid var(--ink-900); }
.ed .ed-faq-list .faq-item { border: 0; border-bottom: 1px solid var(--ink-200); border-radius: 0; background: none; margin: 0; box-shadow: none; }
.ed .ed-faq-list .faq-item.open { border-color: var(--ink-200); box-shadow: none; }
.fge-page .ed .ed-faq-list .faq-q { padding: 22px 0; gap: 24px; font-family: var(--site-body); font-size: 19px; font-weight: 700; line-height: 1.3; letter-spacing: 0; color: var(--ink-900); }
@media (hover: hover) { .fge-page .ed .ed-faq-list .faq-q:hover { color: var(--fairway-700); } }
.ed .ed-faq-list .faq-toggle { position: relative; width: 32px; height: 32px; border-radius: 999px; border: 1px solid var(--ink-900); color: var(--ink-900); transform: none; }
.ed .ed-faq-list .faq-toggle svg { display: none; }
.ed .ed-faq-list .faq-toggle::before, .ed .ed-faq-list .faq-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; transition: transform 200ms var(--ease-out); }
.ed .ed-faq-list .faq-toggle::after { transform: rotate(90deg); }
.ed .ed-faq-list .faq-item.open .faq-toggle { transform: none; color: var(--ink-900); }
.ed .ed-faq-list .faq-item.open .faq-toggle::after { transform: rotate(0deg); }
.ed .ed-faq-list .faq-a-in { padding: 0 56px 0 0; font-size: 16px; line-height: 1.55; color: var(--ink-600); }
.ed .ed-faq-list .faq-a { max-width: none; }

/* ── Ähnliche Events ── */
.ed-similar { padding-top: clamp(96px, 14vw, 180px); }
.ed-similar-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; }
.ed-page h2.ed-similar-h { margin: 0; font-family: var(--site-display); font-stretch: 68%; font-weight: 850; text-transform: uppercase; font-size: clamp(44px, 6.3vw, 80px); line-height: .94; color: var(--ink-900); }
.ed-page a.ed-link { display: inline-flex; align-items: center; gap: 6px; flex: none; font-weight: 600; color: var(--ink-900); text-decoration: underline; text-underline-offset: 4px; }
@media (hover: hover) { .ed-page a.ed-link:hover { color: var(--fairway-700); } }
.ed-similar-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

/* Mobiler Anfrage-Fuß (Grundstil in fge-frontend.css, Mechanik CLAUDE-MOBILE.md Punkt 5) */
.ed-mcta .fg-mcta-price strong { font-family: var(--site-display); font-stretch: 68%; font-weight: 850; font-size: 26px; line-height: 1; letter-spacing: 0; }
.ed-mcta .fg-mcta-price strong em { font-family: var(--site-body); font-stretch: 100%; font-weight: 500; }
.fge-page .ed-mcta button.fg-mcta-btn { height: 48px; min-height: 48px; padding: 0 18px; }

/* ── Tablet ── */
@media (max-width: 1080px) {
	.ed-body { grid-template-columns: minmax(0, 1fr) 340px; column-gap: 40px; }
	.ed-gal-track { grid-template-rows: 200px 200px; }
	.ed-gal--1 .ed-gal-track { grid-template-rows: 412px; }
	.ed-card { padding: 24px; }
	.ed-faq { grid-template-columns: 280px minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 900px) {
	.ed-body { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "rail" "main"; row-gap: 48px; }
	.ed-rail { position: static; max-width: 560px; width: 100%; }
	.ed-faq { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.ed-similar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ed-similar-grid > :nth-child(3) { display: none; }
}

/* ── Mobil (390 px) ── */
@media (max-width: 760px) {
	.ed-wrap { padding-left: 20px; padding-right: 20px; }
	.ed-topbar { padding-top: 0; }

	/* Fotos als Wischreihe, ein Bild pro Ansicht, Zähler unten rechts */
	.ed-gal { margin: 4px -20px 0; }
	.ed-gal-track { display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 20px; scroll-padding-left: 20px; -webkit-overflow-scrolling: touch; }
	.ed-gal-track::-webkit-scrollbar { display: none; }
	.ed-gal .ed-gal-track .ed-gal-item { display: block; flex: 0 0 calc(100vw - 40px); aspect-ratio: 4 / 3; height: auto; border-radius: 16px; scroll-snap-align: start; grid-row: auto; }
	.fge-page .ed button.ed-gal-more { display: none; }
	.ed-gal-count { display: block; position: absolute; right: 32px; bottom: 12px; padding: 4px 10px; border-radius: 6px; background: rgba(23, 34, 28, .7); color: #fff; font-size: 12px; font-weight: 600; pointer-events: none; }
	.ed-gal-item .fge-img-credit { right: auto; left: 10px; }
	.ed-gal-caption { font-size: 12px; }

	.ed-body { padding-top: 28px; row-gap: 40px; }
	.ed-intro { gap: 14px; }
	.ed .ed-chip { font-size: 12px; min-height: 30px; padding: 4px 10px; }
	.ed h1.ed-title { font-size: 44px; line-height: .95; }
	.ed p.ed-lead-t { font-size: 17px; }
	.ed-info { padding: 14px 16px; gap: 12px; border-radius: 16px; }
	.ed-info-ic { width: 36px; height: 36px; }
	.ed .ed-info p { font-size: 14px; }
	.ed-facts { gap: 6px 18px; font-size: 14px; }

	.ed-rail { max-width: none; }
	.ed-card { padding: 20px; gap: 16px; border-radius: 20px; }
	.ed-price-v { font-size: 48px; }

	.ed-main { gap: 56px; }
	.ed h2.ed-h2 { font-size: 36px; }
	.ed h3.ed-h3 { font-size: 28px; }
	.ed-cols { grid-template-columns: minmax(0, 1fr); gap: 48px; }
	.ed-list { gap: 12px; }
	.ed-list li { font-size: 15px; }
	.ed-flow-c b { font-size: 17px; }
	.ed .ed-quote p { font-size: 18px; }
	.ed-facts-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	.ed-facts-grid > div { padding: 14px; border-radius: 14px; }
	.ed .ed-venue { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; }
	.ed-venue-img { height: 72px; }
	.ed-venue-btn { grid-column: 1 / -1; width: 100%; }
	.ed .ed-venue--noimg { grid-template-columns: minmax(0, 1fr); }
	.ed-map { height: 320px; border-radius: 16px; }

	.ed h2.ed-faq-h { font-size: 44px; }
	.fge-page .ed .ed-faq-list .faq-q { font-size: 17px; padding: 18px 0; gap: 16px; }
	.ed .ed-faq-list .faq-a-in { padding-right: 0; font-size: 15px; }

	.ed-similar-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
	.ed-page h2.ed-similar-h { font-size: 44px; }
	.ed-similar-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.ed-similar-grid > :nth-child(3) { display: block; }
}

/* ── Mobil nach „03 · Mobil“ / „03.5 · Mobil“ (Entwurf 29.10.) ── */
@media (max-width: 760px) {
	/* Galerie: Bild 4:3, Radius 18, weißes Badge unten rechts */
	.ed .ed-gal .ed-gal-track .ed-gal-item { border-radius: 18px; }
	.ed .ed-gal-count { right: 32px; bottom: 12px; display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 6px; background: #fff; color: var(--ink-900); font-family: var(--site-body); font-size: 13px; font-weight: 700; line-height: 1; }
	.fge-page .ed button.ed-gal-count { pointer-events: auto; border: 0; cursor: pointer; }

	/* Kopf */
	.ed .ed-chip { font-size: 13px; min-height: 32px; padding: 4px 12px; }
	.ed h1.ed-title { font-size: clamp(40px, 13.4vw, 52px); line-height: .92; }
	.ed p.ed-lead-t { font-size: 16px; line-height: 1.5; }
	.ed-info { display: block; padding: 16px; border-radius: 16px; }
	.ed-info-ic { display: none; }

	/* Preis-Karte: 24 px unter dem Kopf, 96 px Luft zum Inhalt */
	.ed-rail { margin-top: -16px; }
	.ed-card { gap: 14px; border-color: var(--paper-line); box-shadow: none; }
	.ed-price-v { font-size: 44px; }
	.ed-price-n { font-size: 12px; }
	.ed-stepper { border-color: var(--paper-line); border-radius: 12px; }
	.ed-total { padding: 0; border: 0; font-size: 14px; }
	.fge-page .ed .ed-card .ed-cta { height: 52px; min-height: 52px; font-size: 16px; }
	.fge-page .ed .ed-card .ed-share { height: 44px; min-height: 44px; font-size: 14px; }
	.ed .ed-card-note { font-size: 12px; text-align: left; }
	.ed .ed-card .ed-host { display: none; }
	.ed-main { margin-top: 56px; gap: 96px; }

	.ed h2.ed-h2 { font-size: 40px; line-height: .95; }
	.ed-sec { gap: 18px; }

	/* So läuft der Tag: schlichte Liste mit Linien */
	.ed-flow { border-top: 2px solid var(--ink-900); }
	.ed-flow li, .ed-flow li:last-child { display: flex; flex-direction: column; padding: 14px 0; border-bottom: 1px solid var(--paper-line); }
	.ed-flow li::before, .ed-flow-dot { display: none; }
	.ed-flow-c { gap: 3px; padding: 0; }
	.ed-flow-c b { font-size: 16px; }
	.ed-flow-c span { font-size: 14px; line-height: 1.5; }

	.ed-cols { gap: 32px; }
	.ed-list { gap: 16px; }

	/* Anfahrt: Text, Platz-Karte, Karte, dann die Eckdaten zweispaltig */
	.ed-loc > .ed-facts-grid { order: 2; }
	.ed-facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ed-facts-grid > div { gap: 2px; padding: 12px; border-color: var(--paper-line); border-radius: 12px; }
	.ed-facts-grid span { font-size: 12px; }
	.ed-facts-grid b { font-size: 14px; }
	.ed-facts-grid > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.ed-map { height: 220px; }
	.ed .ed-venue { grid-template-columns: 64px minmax(0, 1fr); grid-template-areas: "img t" "img btn"; column-gap: 12px; row-gap: 2px; padding: 12px; border-radius: 14px; }
	.ed .ed-venue--noimg { grid-template-columns: minmax(0, 1fr); grid-template-areas: "t" "btn"; }
	.ed-venue-img { grid-area: img; width: 64px; height: 64px; border-radius: 10px; }
	.ed-venue-t { grid-area: t; gap: 2px; }
	.ed-venue-badge { font-size: 12px; }
	.ed-venue-t b { font-size: 15px; }
	.ed-venue-t > span:not(.ed-venue-badge) { display: none; }
	.ed .ed-venue .ed-venue-btn { grid-area: btn; width: auto; justify-self: start; height: auto; min-height: 0; padding: 0; border: 0; background: none; font-size: 13px; font-weight: 400; color: var(--ink-600); text-decoration: underline; text-underline-offset: 3px; }

	/* FAQ: Titel, Liste, Mail-Hinweis darunter */
	.ed-faq { display: flex; flex-direction: column; gap: 20px; padding-top: 96px; }
	.ed-faq-head { display: contents; }
	.ed .ed-faq-head p { order: 2; font-size: 14px; }
	.ed h2.ed-faq-h { font-size: 40px; line-height: .95; }
	.fge-page .ed .ed-faq-list .faq-q { font-size: 16px; min-height: 60px; padding: 14px 0; }
	.ed .ed-faq-list .faq-toggle { width: 30px; height: 30px; }

	.ed-page h2.ed-similar-h { font-size: 40px; }
	.ed-similar-grid { gap: 12px; }
}

/* Erster Bildschirm (Julius, 31.10.): Fotos und Eventname zusammen sichtbar. Die Galerie
   richtet sich nach der Bildschirmhöhe, der Titel ist kleiner und der Abstand dazwischen enger. */
@media (min-width: 761px) {
	.ed-topbar { padding-top: 0; }
	.ed-gal { margin-top: 4px; }
	.ed-gal-track { --ed-gal-h: clamp(300px, calc(100svh - 380px), 492px); grid-template-rows: repeat(2, calc((var(--ed-gal-h) - 12px) / 2)); }
	.ed-gal--1 .ed-gal-track { grid-template-rows: var(--ed-gal-h); }
	.ed-gal-caption { margin-top: 6px; }
	.ed-body { padding-top: 24px; }
	.ed-intro { gap: 14px; }
	.ed h1.ed-title { font-size: clamp(36px, min(4.4vw, 7svh), 60px); line-height: .96; }
}
@media (max-width: 760px) {
	.ed h1.ed-title { font-size: clamp(32px, 9.6vw, 40px); line-height: .95; }
}

@media (prefers-reduced-motion: reduce) {
	.ed *, .ed-page .site-btn { transition: none !important; }
}
