/*
Theme Name: Eurocamp
Author: Team Eurocamp
Description: Landingpage-Theme für Eurocamp – das Camping-Wochenende der Round-Table-Familie. Jede Ausgabe (Ort, Termin, Programm, Preise, Lageplan) wird im Backend unter „Eurocamp → Ausgaben“ gepflegt; Vorregistrierungen gehen per E-Mail an das Orga-Team und werden im Backend gespeichert. Schriften lokal eingebunden, keine externen Dienste.
Version: 1.1.1
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eurocamp
*/

/* Schriften: Barlow, Barlow Condensed, IBM Plex Mono, Big Shoulders Stencil – SIL Open Font License 1.1 (assets/fonts) */
@font-face { font-family: "Barlow Condensed"; src: url("assets/fonts/BarlowCondensed-SemiBold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("assets/fonts/BarlowCondensed-Bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("assets/fonts/BarlowCondensed-ExtraBold.woff") format("woff"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("assets/fonts/Barlow-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("assets/fonts/Barlow-Italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("assets/fonts/Barlow-Medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("assets/fonts/Barlow-SemiBold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("assets/fonts/IBMPlexMono-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("assets/fonts/IBMPlexMono-Medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Big Shoulders Stencil"; src: url("assets/fonts/BigShouldersStencil-ExtraBold.woff") format("woff"); font-weight: 800; font-style: normal; font-display: swap; }

/* ---------- Tokens (aus dem Eurocamp-Designsystem) ---------- */
:root {
	--nadelwald: #1b2921;
	--moos: #55653f;
	--sand: #d9cdb3;
	--leinen: #f2f0e9;
	--glut: #e2a03a;
	--abendblau: #3f5e73;
	--surface: #f2f0e9;
	--surface-raised: #fbfaf6;
	--surface-sand: #e7dfcc;
	--surface-deep: #1b2921;
	--line: #d3cab5;
	--line-strong: #7a7f6c;
	--ink: #1b2921;
	--ink-muted: #4e5b51;
	--ink-inverse: #f2f0e9;
	--ink-inverse-muted: #b9c0b0;
	--accent: #e2a03a;
	--on-accent: #1b2921;
	--accent-text: #7d5108;
	--secondary: #55653f;
	--on-secondary: #f7f5ef;
	--link: #3f5e73;
	--focus: #3f5e73;
	--focus-inverse: #e2a03a;
	--success: #2d6a6e;
	--danger: #a8381b;
	--scrim: rgba(13, 20, 16, 0.62);
	--shadow-raised: 0 1px 0 rgba(27, 41, 33, 0.06), 0 12px 28px -16px rgba(27, 41, 33, 0.4);
	--space-1: 4px;
	--space-2: 8px;
	--space-3: 12px;
	--space-4: 16px;
	--space-6: 24px;
	--space-8: 32px;
	--space-12: 48px;
	--space-16: 64px;
	--space-24: 96px;
	--radius-sm: 3px;
	--radius-md: 6px;
	--chamfer-sm: 6px;
	--chamfer-md: 10px;
	--chamfer-lg: 18px;
	--topo-deep: 0.45;
	--topo-light: 0.18;
	--container-max: 1200px;
	--measure: 65ch;
	--control-height: 48px;
	--icon-size: 24px;
	--font-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
	--font-text: Barlow, "Helvetica Neue", Arial, sans-serif;
	--font-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
	--font-stencil: "Big Shoulders Stencil", "Barlow Condensed", "Arial Narrow", sans-serif;
	color-scheme: light;
}
@media (prefers-color-scheme: dark) {
	:root {
	--surface: #141d18;
	--surface-raised: #1d2923;
	--surface-sand: #232e27;
	--surface-deep: #0d1410;
	--line: #33423a;
	--line-strong: #7f8a7c;
	--ink: #eeebe2;
	--ink-muted: #b3b8aa;
	--ink-inverse: #eeebe2;
	--accent: #e8ac4b;
	--accent-text: #edb65c;
	--secondary: #8fa06e;
	--on-secondary: #141d18;
	--link: #9dbcd1;
	--focus: #9dbcd1;
	--focus-inverse: #e8ac4b;
	--success: #7fc3c0;
	--danger: #f29a7e;
	--scrim: rgba(8, 12, 10, 0.7);
	--shadow-raised: 0 1px 0 rgba(0, 0, 0, 0.3), 0 12px 28px -16px rgba(0, 0, 0, 0.7);
	color-scheme: dark;
	}
}

/* ==========================================================================
   Komponenten (Designsystem, Präfix ec-)
   ========================================================================== */

.ec-icon { width: var(--icon-size); height: var(--icon-size); flex: none; }

/* ---------- Button ---------- */
.ec-btn {
  --ec-cut: var(--chamfer-md);
  --ec-fill: var(--accent);
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: var(--control-height); padding: 0 var(--space-6);
  border: 0; background: none; color: var(--on-accent);
  font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1;
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: transform 0.2s ease-out;
}
.ec-btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ec-fill);
  clip-path: polygon(var(--ec-cut) 0, 100% 0, 100% calc(100% - var(--ec-cut)), calc(100% - var(--ec-cut)) 100%, 0 100%, 0 var(--ec-cut));
  transition: filter 0.2s ease-out;
}
.ec-btn:hover { transform: translateY(-1px); }
.ec-btn:hover::before { filter: brightness(0.94); }
.ec-btn:active { transform: translateY(0); }
.ec-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.ec-btn .ec-icon { width: 20px; height: 20px; }
.ec-btn--secondary { --ec-fill: var(--secondary); color: var(--on-secondary); }
.ec-btn--text { padding: 0 var(--space-1); color: var(--ink); }
.ec-btn--text::before { display: none; }
.ec-btn--text span { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.ec-btn[disabled], .ec-btn[aria-disabled="true"] { cursor: not-allowed; opacity: 0.5; transform: none; }
.ec-on-deep .ec-btn:focus-visible, .ec-demo--deep .ec-btn:focus-visible { outline-color: var(--focus-inverse); }
.ec-on-deep .ec-btn--text, .ec-demo--deep .ec-btn--text { color: var(--ink-inverse); }

/* ---------- EditionPatch ---------- */
.ec-patch {
  --ec-cut: var(--chamfer-sm);
  position: relative; display: inline-flex; align-items: center; gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--surface-deep); color: var(--ink-inverse);
  font-family: var(--font-mono); font-weight: 500; font-size: 12px; line-height: 1;
  letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap;
  clip-path: polygon(var(--ec-cut) 0, calc(100% - var(--ec-cut)) 0, 100% var(--ec-cut), 100% calc(100% - var(--ec-cut)), calc(100% - var(--ec-cut)) 100%, var(--ec-cut) 100%, 0 calc(100% - var(--ec-cut)), 0 var(--ec-cut));
}
.ec-patch::after { content: ""; position: absolute; inset: 4px; border: 1.5px dashed var(--ink-inverse-muted); pointer-events: none; }
.ec-patch__sep { color: var(--accent); }
.ec-patch__year { font-family: var(--font-stencil); font-weight: 800; font-size: 18px; letter-spacing: 0.04em; color: var(--accent); }
.ec-patch--light { background: var(--surface-raised); color: var(--ink); }
.ec-patch--light::after { border-color: var(--line-strong); }
.ec-patch--light .ec-patch__sep, .ec-patch--light .ec-patch__year { color: var(--accent-text); }

/* ---------- FactCard ---------- */
.ec-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-4); }
.ec-fact {
  display: grid; gap: var(--space-2); align-content: start;
  padding: var(--space-6); background: var(--surface-raised);
  border: 1px solid var(--line); border-radius: var(--radius-md); min-width: 0;
}
.ec-fact__label { display: flex; align-items: center; gap: var(--space-2); font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); }
.ec-fact__label .ec-icon { width: 20px; height: 20px; color: var(--secondary); }
.ec-fact__value { font-family: var(--font-display); font-weight: 700; font-size: 28px; line-height: 1.05; letter-spacing: 0.01em; text-transform: uppercase; color: var(--ink); text-wrap: balance; }
.ec-fact__note { font-size: 14px; line-height: 1.5; color: var(--ink-muted); }
.ec-fact--deep { background: var(--surface-deep); border-color: var(--surface-deep); }
.ec-fact--deep .ec-fact__label, .ec-fact--deep .ec-fact__label .ec-icon { color: var(--accent); }
.ec-fact--deep .ec-fact__value { color: var(--ink-inverse); }
.ec-fact--deep .ec-fact__note { color: var(--ink-inverse-muted); }

/* ---------- ProgramStage ---------- */
.ec-stages { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); }
.ec-stages::before { content: ""; position: absolute; left: 31px; top: 32px; bottom: 32px; border-left: 2px dashed var(--line-strong); }
.ec-stage { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: var(--space-4); align-items: start; }
.ec-stage__mark {
  --ec-cut: var(--chamfer-md);
  width: 64px; height: 64px; display: grid; place-content: center; text-align: center; gap: 2px;
  background: var(--surface-deep);
  clip-path: polygon(var(--ec-cut) 0, 100% 0, 100% calc(100% - var(--ec-cut)), calc(100% - var(--ec-cut)) 100%, 0 100%, 0 var(--ec-cut));
}
.ec-stage__day { font-family: var(--font-stencil); font-weight: 800; font-size: 30px; line-height: 1; letter-spacing: 0.02em; text-transform: uppercase; color: var(--accent); }
.ec-stage__date { font-family: var(--font-mono); font-weight: 500; font-size: 11px; line-height: 1; letter-spacing: 0.06em; color: var(--ink-inverse-muted); font-variant-numeric: tabular-nums; }
.ec-stage__body { display: grid; gap: var(--space-2); padding: var(--space-4) var(--space-6); background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); min-width: 0; }
.ec-stage__title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1.05; letter-spacing: 0.01em; text-transform: uppercase; color: var(--ink); text-wrap: balance; }
.ec-stage__text { margin: 0; color: var(--ink-muted); }
.ec-stage__evening { margin: 0; display: flex; gap: var(--space-2); align-items: flex-start; padding-top: var(--space-2); border-top: 1px solid var(--line); color: var(--ink); }
.ec-stage__evening .ec-icon { width: 20px; height: 20px; margin-top: 3px; color: var(--secondary); }
.ec-stage__evening b { font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); margin-right: var(--space-1); }
.ec-tag {
  --ec-cut: var(--chamfer-sm);
  display: inline-block; justify-self: start; padding: 3px var(--space-2);
  background: var(--surface-sand); color: var(--ink-muted);
  font-family: var(--font-mono); font-weight: 500; font-size: 11px; line-height: 1.4; letter-spacing: 0.12em; text-transform: uppercase;
  clip-path: polygon(var(--ec-cut) 0, 100% 0, 100% calc(100% - var(--ec-cut)), calc(100% - var(--ec-cut)) 100%, 0 100%, 0 var(--ec-cut));
}

/* ---------- FormField ---------- */
.ec-form { display: grid; gap: var(--space-6); max-width: 560px; }
.ec-form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--space-4); }
.ec-field { display: grid; gap: var(--space-2); min-width: 0; }
.ec-field__label { font-weight: 600; font-size: 17px; line-height: 1.3; color: var(--ink); }
.ec-field__label small { font-weight: 400; font-size: 14px; color: var(--ink-muted); margin-left: var(--space-1); }
.ec-input {
  box-sizing: border-box; width: 100%; min-height: var(--control-height); padding: 10px var(--space-4);
  background: var(--surface-raised); color: var(--ink);
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  font-family: var(--font-text); font-size: 17px; line-height: 1.4;
  transition: border-color 0.15s ease-out;
}
.ec-input:hover { border-color: var(--ink-muted); }
.ec-input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-color: var(--ink); }
textarea.ec-input { min-height: 112px; resize: vertical; }
.ec-field__hint { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-muted); }
.ec-field__error { margin: 0; display: none; align-items: center; gap: var(--space-2); font-size: 14px; font-weight: 600; color: var(--danger); }
.ec-field__error .ec-icon { width: 18px; height: 18px; }
.ec-field--error .ec-input { border-color: var(--danger); }
.ec-field--error .ec-field__error { display: flex; }
.ec-check { display: flex; gap: var(--space-3); align-items: flex-start; cursor: pointer; font-size: 15px; line-height: 1.5; color: var(--ink); }
.ec-check input { appearance: none; flex: none; width: 22px; height: 22px; margin: 1px 0 0; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface-raised); display: grid; place-content: center; cursor: pointer; }
.ec-check input::after { content: ""; width: 11px; height: 6px; border-left: 2.5px solid var(--on-accent); border-bottom: 2.5px solid var(--on-accent); transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.ec-check input:checked { background: var(--accent); border-color: var(--accent); }
.ec-check input:checked::after { opacity: 1; }
.ec-check input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.ec-status { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-4); border: 1.5px solid currentColor; border-radius: var(--radius-md); background: var(--surface-raised); font-size: 15px; line-height: 1.5; }
.ec-status .ec-icon { margin-top: 1px; }
.ec-status p { margin: 0; color: var(--ink); }
.ec-status strong { display: block; color: inherit; }
.ec-status--success { color: var(--success); }
.ec-status--danger { color: var(--danger); }

/* ---------- PriceNote ---------- */
.ec-note {
  --ec-cut: var(--chamfer-lg);
  display: grid; gap: var(--space-2); padding: var(--space-6) var(--space-8) var(--space-6) var(--space-6);
  background: var(--surface-sand); color: var(--ink); border-radius: var(--radius-md) 0 var(--radius-md) var(--radius-md);
  clip-path: polygon(0 0, calc(100% - var(--ec-cut)) 0, 100% var(--ec-cut), 100% 100%, 0 100%);
  max-width: 640px;
}
.ec-note__kicker { margin: 0; font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); }
.ec-note__price { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-1) var(--space-3); font-family: var(--font-display); font-weight: 800; font-size: 56px; line-height: 1; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; }
.ec-note__from { font-weight: 600; font-size: 22px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); }
.ec-note__unit { font-family: var(--font-text); font-weight: 500; font-size: 17px; letter-spacing: 0; color: var(--ink); }
.ec-note__fine { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-muted); }

/* ---------- TeamMember ---------- */
.ec-team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--space-4); }
.ec-person { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--space-1) var(--space-4); align-items: center; padding: var(--space-4); background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); }
.ec-person__mono, .ec-person__photo {
  --ec-cut: var(--chamfer-md);
  grid-row: span 2; width: 56px; height: 56px; object-fit: cover;
  clip-path: polygon(var(--ec-cut) 0, 100% 0, 100% calc(100% - var(--ec-cut)), calc(100% - var(--ec-cut)) 100%, 0 100%, 0 var(--ec-cut));
}
.ec-person__mono { display: grid; place-content: center; background: var(--secondary); color: var(--on-secondary); font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: 0.04em; }
.ec-person__name { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.1; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); align-self: end; }
.ec-person__role { font-family: var(--font-mono); font-weight: 500; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); align-self: start; }

/* ---------- HeroBand ---------- */
.ec-hero { position: relative; overflow: hidden; background: var(--surface-deep); color: var(--ink-inverse); padding-block: var(--space-16); padding-inline: max(var(--space-4), env(safe-area-inset-left, 0px)); }
.ec-hero__topo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: var(--topo-deep); pointer-events: none; }
.ec-hero__inner { position: relative; max-width: var(--container-max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: var(--space-8); align-items: center; }
.ec-hero__copy { display: grid; gap: var(--space-4); justify-items: start; min-width: 0; }
.ec-hero__coords { margin: 0; font-family: var(--font-mono); font-weight: 500; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.ec-hero__title { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(52px, 8vw, 88px); line-height: 0.92; letter-spacing: 0.005em; text-transform: uppercase; text-wrap: balance; }
.ec-hero__year { display: block; margin-top: 0.14em; font-family: var(--font-stencil); font-weight: 800; font-size: clamp(96px, 14vw, 160px); line-height: 0.8; color: var(--accent); }
.ec-hero__claim { margin: 0; max-width: var(--measure); font-size: 21px; line-height: 1.5; color: var(--ink-inverse-muted); }
.ec-hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; }
.ec-hero__badge { justify-self: center; width: min(100%, 380px); height: auto; }
.ec-hero .ec-btn:focus-visible { outline-color: var(--focus-inverse); }
.ec-hero .ec-btn--text { color: var(--ink-inverse); }
@media (max-width: 760px) {
  .ec-hero__inner { grid-template-columns: minmax(0, 1fr); }
  .ec-hero__badge { order: -1; width: 180px; justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  .ec-btn, .ec-btn::before, .ec-input { transition: none; }
  .ec-btn:hover { transform: none; }
}

/* ==========================================================================
   Seite: Grundlagen, Kopf, Abschnitte, Fuß
   ========================================================================== */

:root { --ec-gutter: clamp(16px, 4vw, 48px); --ec-section: clamp(64px, 9vw, 96px); }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font-text); font-size: 17px; line-height: 1.6; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg, canvas, video { max-width: 100%; }
img { height: auto; }
p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
a { color: var(--link); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.ec-on-deep a:focus-visible, .ec-on-deep button:focus-visible { outline-color: var(--focus-inverse); }
.ec-mono { font-family: var(--font-mono); font-size: 15px; letter-spacing: 0.02em; }
.screen-reader-text, .ec-hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ec-hp { left: -10000px; }
.ec-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 8px 16px; background: var(--accent); color: var(--on-accent); font-weight: 600; }
.ec-skip:focus { left: 16px; }

.ec-container { width: 100%; max-width: calc(var(--container-max) + 2 * var(--ec-gutter)); margin-inline: auto; padding-left: max(var(--ec-gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--ec-gutter), env(safe-area-inset-right, 0px)); }
.ec-section { padding-block: var(--ec-section); }
.ec-section--sand { background: var(--surface-sand); }
.ec-section--deep { position: relative; overflow: hidden; background: var(--surface-deep); color: var(--ink-inverse); }
.ec-section__head { display: grid; gap: var(--space-3); margin-bottom: var(--space-12); }

.ec-eyebrow { margin: 0; font-family: var(--font-mono); font-weight: 500; font-size: 12px; line-height: 1.4; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); }
.ec-on-deep .ec-eyebrow { color: var(--accent); }
.ec-h1, .ec-h2 { margin: 0; font-family: var(--font-display); font-weight: 800; line-height: 0.95; letter-spacing: 0.01em; text-transform: uppercase; }
.ec-h1 { font-size: clamp(44px, 6vw, 72px); }
.ec-h2 { font-size: clamp(38px, 5.2vw, 56px); }
.ec-lead { max-width: var(--measure); font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: var(--ink-muted); }
.ec-on-deep .ec-lead { color: var(--ink-inverse-muted); }
.ec-prose { display: grid; gap: var(--space-4); max-width: var(--measure); }
.ec-prose--lead { font-size: clamp(18px, 1.8vw, 20px); line-height: 1.55; }
.ec-hint { display: flex; gap: var(--space-2); align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--ink-muted); }
.ec-hint .ec-icon { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--secondary); }
.ec-btn--small { min-height: 40px; padding: 0 var(--space-4); font-size: 17px; }

/* ---------- Kopf ---------- */
.ec-header { position: sticky; top: 0; z-index: 50; background: var(--surface-deep); color: var(--ink-inverse); border-bottom: 1px solid rgba(185, 192, 176, 0.14); }
.admin-bar .ec-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ec-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .ec-header { top: 0; } }
.ec-header__inner { display: flex; align-items: center; gap: var(--space-8); min-height: 68px; }
.ec-header__brand { display: block; flex: none; width: 150px; color: var(--ink-inverse); }
.ec-wordmark { display: block; width: 100%; height: auto; }
.ec-nav { display: flex; gap: var(--space-6); margin-left: auto; }
.ec-nav a { padding-block: 6px; border-bottom: 2px solid transparent; color: var(--ink-inverse); font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; }
.ec-nav a:hover { border-bottom-color: var(--accent); }
@media (max-width: 860px) {
	.ec-nav { display: none; }
	.ec-header__inner { justify-content: space-between; min-height: 60px; }
	.ec-header__brand { width: 124px; }
}

/* ---------- Hero ---------- */
.ec-hero { padding-block: clamp(48px, 7vw, 88px) calc(clamp(48px, 7vw, 88px) + var(--space-12)); padding-inline: 0; }
.ec-hero__inner { width: 100%; max-width: calc(var(--container-max) + 2 * var(--ec-gutter)); margin-inline: auto; padding-left: max(var(--ec-gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--ec-gutter), env(safe-area-inset-right, 0px)); }
.ec-hero__topo, .ec-reg__topo { color: var(--secondary); }
.ec-reg__topo { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.28; pointer-events: none; }
.ec-hero--photo .ec-hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ec-hero--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--scrim) 0%, var(--scrim) 35%, rgba(13, 20, 16, 0) 85%); }
.ec-hero--photo .ec-hero__inner { position: relative; z-index: 1; }
.ec-hero__title .ec-hero__year { margin-top: 0.14em; }
.ec-archive-bar { padding: var(--space-3) var(--space-4); background: var(--accent); color: var(--on-accent); font-weight: 600; text-align: center; }
.ec-archive-bar a { color: var(--on-accent); }

/* ---------- Eckdaten ---------- */
.ec-facts-band { position: relative; z-index: 2; margin-top: calc(-1 * var(--space-12)); }
.ec-facts-band .ec-fact__value { font-size: clamp(24px, 2.6vw, 30px); }

/* ---------- Einleitung ---------- */
.ec-intro__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: end; }
.ec-intro__copy { display: grid; gap: var(--space-6); }
.ec-highlights { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ec-highlights li { display: flex; gap: var(--space-4); align-items: center; padding: var(--space-4) 0; border-bottom: 1px solid var(--line); font-weight: 500; line-height: 1.4; }
.ec-highlights .ec-icon { width: 32px; height: 32px; flex: none; color: var(--secondary); }

/* ---------- Programm ---------- */
.ec-program__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.ec-program__head { position: sticky; top: 108px; display: grid; gap: var(--space-4); }
.ec-stage__title { font-size: clamp(22px, 2.4vw, 26px); }

/* ---------- Ort ---------- */
.ec-venue__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.ec-venue__grid--single { grid-template-columns: minmax(0, 1fr); }
.ec-venue__copy { display: grid; gap: var(--space-4); }
.ec-venue__region { font-family: var(--font-mono); font-weight: 500; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); }
.ec-venue__text { margin-top: var(--space-2); }
.ec-dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: var(--space-2) var(--space-6); margin: var(--space-4) 0 0; padding-top: var(--space-6); border-top: 1px solid var(--line); }
.ec-dl dt { padding-top: 4px; font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); }
.ec-dl dd { margin: 0; }
.ec-actions { display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-6); align-items: center; margin-top: var(--space-4); }
.ec-figure { margin: 0; display: grid; gap: var(--space-3); }
.ec-figure img { display: block; width: 100%; border-radius: var(--radius-md); }
.ec-venue__photo img { aspect-ratio: 16 / 10; object-fit: cover; }
.ec-map { margin-top: clamp(48px, 6vw, 72px); }
.ec-map__frame { display: block; padding: var(--space-4); background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); }
.ec-map__frame img { border-radius: 2px; }
.ec-figure figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2) var(--space-4); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--ink-muted); }
.ec-figure figcaption a { color: var(--link); }

/* ---------- Preise ---------- */
.ec-prices__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: end; }
.ec-prices__main { display: grid; gap: var(--space-6); }
.ec-prices__detail { display: grid; gap: var(--space-6); }
.ec-note { background: var(--surface-raised); }
.ec-note__price--tbd { font-size: clamp(32px, 4vw, 44px); text-transform: uppercase; }
.ec-price-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.ec-price-table caption { margin-bottom: var(--space-3); text-align: left; }
.ec-price-table th { padding: var(--space-3) var(--space-4) var(--space-3) 0; border-bottom: 1px solid var(--line-strong); font-weight: 500; text-align: left; vertical-align: top; }
.ec-price-table td { padding: var(--space-3) 0; border-bottom: 1px solid var(--line-strong); font-family: var(--font-mono); font-size: 14px; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; vertical-align: top; }
.ec-price-table tr:first-child th, .ec-price-table tr:first-child td { border-top: 1.5px solid var(--ink); }

/* ---------- Vorregistrierung ---------- */
.ec-reg__grid { position: relative; display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.ec-reg__copy { position: sticky; top: 108px; display: grid; gap: var(--space-4); }
.ec-reg__list { display: grid; gap: var(--space-3); margin: var(--space-4) 0 0; padding: var(--space-6) 0 0; border-top: 1px solid rgba(185, 192, 176, 0.25); list-style: none; }
.ec-reg__list li { display: flex; gap: var(--space-3); align-items: flex-start; color: var(--ink-inverse); }
.ec-reg__list .ec-icon { width: 22px; height: 22px; flex: none; margin-top: 2px; color: var(--accent); }
.ec-reg__card { padding: clamp(20px, 4vw, 40px); border-radius: var(--radius-md); background: var(--surface); color: var(--ink); }
.ec-reg__card a { color: var(--link); }
.ec-reg__card a:focus-visible, .ec-reg__card button:focus-visible, .ec-reg__card .ec-btn:focus-visible { outline-color: var(--focus); }
.ec-reg__card .ec-btn--text { color: var(--ink); }
.ec-reg__again { margin-top: var(--space-6); }
.ec-form { max-width: none; }
.ec-form__row { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.ec-form__submit { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; padding-top: var(--space-2); }
.ec-status--info { color: var(--link); }
.ec-status[tabindex="-1"]:focus { outline: none; }
.ec-check a { color: var(--link); }

/* ---------- Team ---------- */
.ec-team { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.ec-contact { margin-top: var(--space-8); font-size: 18px; }

/* ---------- Einfache Seiten ---------- */
.ec-page__inner { display: grid; gap: var(--space-6); max-width: 760px; }
.ec-content h2 { margin: var(--space-6) 0 0; font-family: var(--font-display); font-weight: 700; font-size: 28px; line-height: 1.1; text-transform: uppercase; }
.ec-content h3 { margin: var(--space-4) 0 0; font-family: var(--font-display); font-weight: 700; font-size: 21px; text-transform: uppercase; }
.ec-content ul, .ec-content ol { margin: 0; padding-left: 1.3em; }

/* ---------- Fuß ---------- */
.ec-footer { padding-block: var(--space-16) var(--space-8); background: var(--surface-deep); color: var(--ink-inverse); }
.ec-footer__inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--space-12); }
.ec-footer__brand .ec-wordmark { width: 220px; color: var(--ink-inverse); }
.ec-footer__claim { max-width: 40ch; margin-top: var(--space-4); color: var(--ink-inverse-muted); }
.ec-footer__social { margin: var(--space-6) 0 0; }
.ec-footer .ec-footer__social a { display: inline-flex; align-items: center; gap: var(--space-3); min-height: 44px; padding: 0 var(--space-4) 0 var(--space-3); border: 1px solid rgba(185, 192, 176, 0.35); border-radius: var(--radius-md); font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-inverse); text-decoration: none; transition: border-color 0.15s ease, background-color 0.15s ease; }
.ec-footer .ec-footer__social a:hover { border-color: var(--accent); background: rgba(226, 160, 58, 0.08); text-decoration: none; }
.ec-footer .ec-footer__social a:focus-visible { outline: 2px solid var(--focus-inverse); outline-offset: 2px; }
.ec-footer__social .ec-icon { width: 22px; height: 22px; color: var(--accent); }
.ec-footer__handle { font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: 0.06em; text-transform: none; color: var(--ink-inverse-muted); }
.ec-footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-8); }
.ec-footer ul { display: grid; gap: var(--space-2); margin: var(--space-3) 0 0; padding: 0; list-style: none; }
.ec-footer a { color: var(--ink-inverse); text-decoration: none; }
.ec-footer a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.ec-footer__tag { margin-left: var(--space-2); padding: 1px 6px; background: var(--accent); color: var(--on-accent); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; }
.ec-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-4); margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid rgba(185, 192, 176, 0.2); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-inverse-muted); }

/* ---------- Spam-Schutz im Formular ---------- */
.ec-pow { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); padding: var(--space-3) var(--space-4); background: var(--surface-sand); border-radius: var(--radius-sm); font-size: 14px; line-height: 1.4; }
.ec-pow__icon { width: 22px; height: 22px; flex: none; color: var(--secondary); }
.ec-pow__check { opacity: 0; transition: opacity 0.2s ease-out; }
.ec-pow__text { font-weight: 600; color: var(--ink); }
.ec-pow__note { margin-left: auto; font-family: var(--font-mono); font-weight: 500; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }
.ec-pow[data-state="working"] .ec-pow__icon { animation: ec-pulse 1.1s ease-in-out infinite; }
.ec-pow[data-state="done"] .ec-pow__icon, .ec-pow[data-state="done"] .ec-pow__text { color: var(--success); }
.ec-pow[data-state="done"] .ec-pow__check { opacity: 1; }
.ec-pow[data-state="error"] .ec-pow__icon, .ec-pow[data-state="error"] .ec-pow__text { color: var(--danger); }
.ec-field__error--show { display: flex; }
@keyframes ec-pulse { 50% { opacity: 0.35; } }

/* ---------- Cookie-Hinweis ---------- */
.ec-consent { position: fixed; z-index: 90; left: max(16px, env(safe-area-inset-left, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); width: min(440px, calc(100vw - 32px)); filter: drop-shadow(0 0 1px rgba(27, 41, 33, 0.35)) drop-shadow(0 18px 32px rgba(8, 12, 10, 0.4)); }
.ec-consent__inner { --ec-cut: var(--chamfer-lg); display: grid; gap: var(--space-3); max-height: calc(100vh - 32px); overflow: auto; padding: var(--space-6); background: var(--surface-raised); color: var(--ink); border-radius: var(--radius-md) 0 var(--radius-md) var(--radius-md); clip-path: polygon(0 0, calc(100% - var(--ec-cut)) 0, 100% var(--ec-cut), 100% 100%, 0 100%); }
.ec-consent .ec-eyebrow { color: var(--accent-text); }
.ec-consent__title { font-family: var(--font-display); font-weight: 800; font-size: 28px; line-height: 1; letter-spacing: 0.01em; text-transform: uppercase; }
.ec-consent__text { font-size: 15px; line-height: 1.5; color: var(--ink-muted); }
.ec-consent__cats { display: grid; gap: var(--space-2); padding: var(--space-3) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ec-consent .ec-check { color: var(--ink); font-size: 14px; }
.ec-consent .ec-check b { font-weight: 600; }
.ec-consent .ec-check input:disabled { opacity: 0.6; cursor: not-allowed; }
.ec-consent__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; padding-top: var(--space-1); }
.ec-consent__actions .ec-btn { min-height: 44px; font-size: 18px; }
.ec-consent .ec-btn--text { color: var(--ink); }
.ec-consent__links { display: flex; gap: var(--space-4); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.ec-consent__links a { color: var(--link); }
@media (max-width: 520px) {
	.ec-consent__actions .ec-btn:not(.ec-btn--text) { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.ec-pow__icon { animation: none !important; }
}

/* ---------- Umbrüche ---------- */
@media (max-width: 960px) {
	.ec-program__grid, .ec-reg__grid, .ec-prices__grid { grid-template-columns: minmax(0, 1fr); }
	.ec-program__head, .ec-reg__copy { position: static; }
}
@media (max-width: 860px) {
	.ec-intro__grid, .ec-venue__grid, .ec-footer__inner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
	body { font-size: 16px; }
	.ec-price-table td { white-space: normal; }
	.ec-footer__cols { grid-template-columns: minmax(0, 1fr); }
	.ec-stage { grid-template-columns: 52px minmax(0, 1fr); gap: var(--space-3); }
	.ec-stage__mark { width: 52px; height: 52px; }
	.ec-stages::before { left: 25px; }
	.ec-stage__body { padding: var(--space-4); }
	.ec-note { padding: var(--space-6) var(--space-6) var(--space-6) var(--space-4); }
	.ec-note__price { font-size: 44px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}
@media print {
	.ec-header, .ec-hero__topo, .ec-reg, .ec-footer, .ec-consent { display: none; }
}
