/* Formular, Teilnehmerbereich, Vorab-Liste. Farben/Schrift übernimmt das Theme über die
   CSS-Variablen; ohne Theme greifen die Standardwerte. */
.eot {
	--eot-c-primary: var(--eot-primary, #1d2f5c);
	--eot-c-accent: var(--eot-accent, #c9962b);
	--eot-c-soft: var(--eot-soft, #faf6ee);
	--eot-c-text: var(--eot-text, #1f2433);
	--eot-c-muted: var(--eot-muted, #5b6070);
	--eot-c-line: var(--eot-line, #e4dccb);
	--eot-c-ok: #1f7a45;
	--eot-c-warn: #9a5b00;
	--eot-c-error: #b3261e;
	--eot-r: var(--eot-radius, 14px);
	color: var(--eot-c-text);
	font-size: 1.0625rem;
	line-height: 1.6;
}

.eot *, .eot *::before, .eot *::after { box-sizing: border-box; }
.eot [hidden] { display: none !important; }
.eot h2 { margin: 0 0 .5em; line-height: 1.25; }
.eot h3 { margin: 0 0 .6em; font-size: 1.15rem; }
.eot a { color: var(--eot-c-primary); }
.eot-muted { color: var(--eot-c-muted); font-size: .95em; }
.eot-eyebrow { margin: 0 0 .25em; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; color: var(--eot-c-accent); }
.eot-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Karten & Hinweise */
.eot-card { background: #fff; border: 1px solid var(--eot-c-line); border-radius: var(--eot-r); padding: clamp(18px, 4vw, 32px); margin: 0 0 20px; box-shadow: 0 8px 30px rgba(29, 47, 92, .06); }
.eot-alert { border-radius: var(--eot-r); padding: 14px 18px; margin: 0 0 20px; border-left: 5px solid; background: #fff; }
.eot-alert p { margin: 0; }
.eot-alert ul { margin: .4em 0 0 1.2em; padding: 0; }
.eot-alert--ok { border-color: var(--eot-c-ok); background: #eef8f1; }
.eot-alert--info { border-color: var(--eot-c-primary); background: #f0f3fa; }
.eot-alert--warn { border-color: var(--eot-c-warn); background: #fff6e5; }
.eot-alert--error { border-color: var(--eot-c-error); background: #fdeeed; }
.eot-alert:focus { outline: 3px solid var(--eot-c-accent); outline-offset: 2px; }

/* Buttons */
.eot-button { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 48px; padding: .7em 1.4em; border-radius: 999px; border: 2px solid var(--eot-c-primary); font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.eot-button--primary { background: var(--eot-c-primary); color: #fff; }
.eot-button--primary:hover { background: #142246; }
.eot-button--ghost { background: transparent; color: var(--eot-c-primary); }
.eot-button--ghost:hover { background: var(--eot-c-soft); }
.eot-button--large { width: 100%; font-size: 1.15rem; min-height: 56px; }
.eot-button:disabled { opacity: .55; cursor: not-allowed; }
.eot-button:focus-visible, .eot input:focus-visible, .eot select:focus-visible, .eot textarea:focus-visible { outline: 3px solid var(--eot-c-accent); outline-offset: 2px; }
.eot-link-button { background: none; border: 0; padding: 0; color: var(--eot-c-primary); text-decoration: underline; font: inherit; font-size: .9em; cursor: pointer; }

/* Formular */
.eot-form .eot-section { border: 1px solid var(--eot-c-line); border-radius: var(--eot-r); padding: clamp(16px, 3.5vw, 28px); margin: 0 0 20px; background: #fff; }
.eot-form legend { font-size: 1.3rem; font-weight: 700; padding: 0 .3em; color: var(--eot-c-primary); display: flex; align-items: center; gap: .5em; }
.eot-step { display: inline-grid; place-items: center; width: 1.8em; height: 1.8em; border-radius: 50%; background: var(--eot-c-accent); color: #fff; font-size: .85em; }
.eot-field { margin: 0 0 14px; display: flex; flex-direction: column; gap: 4px; }
.eot-field label, .eot-label { font-weight: 600; margin: 0; }
.eot-form input[type="text"], .eot-form input[type="email"], .eot-form input[type="tel"], .eot-form input[type="date"], .eot-form select, .eot-form textarea {
	width: 100%; min-height: 48px; padding: .55em .8em; border: 1.5px solid #c9c2b2; border-radius: 10px; background: #fff; color: inherit; font: inherit;
}
.eot-form textarea { min-height: 90px; }
.eot-row { display: grid; gap: 0 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) {
	.eot-row { grid-template-columns: 1fr 1fr; }
	.eot-row--street { grid-template-columns: 3fr 1fr; }
	.eot-row--city { grid-template-columns: 1fr 3fr; }
	.eot-row--3 { grid-template-columns: 1fr 1fr 1fr; }
}
.has-error input, .has-error select { border-color: var(--eot-c-error) !important; }
.eot-error { color: var(--eot-c-error); font-weight: 600; font-size: .95em; }
/* Block statt Flex: Text und Links im Label bleiben ein Fließtext. */
.eot-check { display: block; position: relative; padding-left: 2.1em; margin: 10px 0; cursor: pointer; }
.eot-check input { position: absolute; left: 0; top: .2em; width: 22px; height: 22px; margin: 0; accent-color: var(--eot-c-primary); }
.eot-check.has-error { color: var(--eot-c-error); }
.eot-inline { display: flex; flex-wrap: wrap; gap: 4px 26px; }
.eot-inline .eot-check { margin: 6px 0; }
.eot-inline-select { display: inline-flex; gap: .5em; align-items: center; flex-wrap: wrap; }
.eot-inline-select select { width: auto; min-height: 40px; }

/* Kategorien wie im Flyer */
.eot-choices { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .eot-choices { grid-template-columns: 1fr 1fr; } }
.eot-choice { position: relative; cursor: pointer; display: block; }
.eot-choice input { position: absolute; opacity: 0; inset: 0; }
.eot-choice__body { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start; height: 100%; padding: 16px; border: 2px solid var(--eot-c-line); border-radius: var(--eot-r); background: var(--eot-c-soft); transition: border-color .15s ease, background .15s ease; }
.eot-choice__no { grid-row: span 2; display: grid; place-items: center; width: 2em; height: 2em; border-radius: 50%; background: var(--eot-c-accent); color: #fff; font-weight: 800; }
.eot-choice__label { font-weight: 700; line-height: 1.35; }
.eot-choice__hint { font-size: .9em; color: var(--eot-c-muted); }
.eot-choice input:checked + .eot-choice__body { border-color: var(--eot-c-primary); background: #eef2fb; box-shadow: inset 0 0 0 1px var(--eot-c-primary); }
.eot-choice input:focus-visible + .eot-choice__body { outline: 3px solid var(--eot-c-accent); outline-offset: 2px; }
.eot-avail { justify-self: start; font-size: .82em; font-weight: 700; padding: 1px 10px; border-radius: 999px; }
.eot-avail--frei { background: #dff3e5; color: #155c33; }
.eot-avail--knapp { background: #fff1cc; color: #7a5300; }
.eot-avail--warteliste { background: #ffe1d6; color: #8a2c00; }

/* Personen */
.eot-person { border: 1px dashed var(--eot-c-line); border-radius: 12px; padding: 14px 16px 4px; margin: 0 0 14px; background: var(--eot-c-soft); }
.eot-person--contact { border-style: solid; }
.eot-person__title { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 8px; font-weight: 700; }
.eot-services { display: flex; flex-wrap: wrap; gap: 6px 26px; align-items: center; padding: 8px 0; }
.eot-services .eot-check { margin: 0; }
.eot-custom-toggle { padding-top: 6px; border-top: 1px solid var(--eot-c-line); }

/* Zusammenfassung */
.eot-summary { border-radius: var(--eot-r); padding: clamp(18px, 4vw, 28px); background: var(--eot-c-primary); color: #fff; }
.eot-summary h3 { color: #fff; }
.eot-summary .eot-dl dt { color: rgba(255, 255, 255, .75); }
.eot-summary .eot-muted { color: rgba(255, 255, 255, .85); }
.eot-summary .eot-button--primary { background: var(--eot-c-accent); border-color: var(--eot-c-accent); color: #1b1300; }
.eot-summary .eot-button--primary:hover { background: #dba73a; }
.eot-dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0 0 12px; }
.eot-dl dt { color: var(--eot-c-muted); }
.eot-dl dd { margin: 0; font-weight: 600; }

/* Inline-Formulare (Vorab-Liste, Link anfordern) */
.eot-form--inline { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: flex-end; }
.eot-form--inline .eot-field { flex: 1 1 260px; margin: 0; }
.eot-form--inline input[type="email"] { width: 100%; min-height: 48px; padding: .55em .8em; border: 1.5px solid #c9c2b2; border-radius: 10px; font: inherit; }
.eot-vorab__privacy { flex-basis: 100%; font-size: .92em; }

/* Countdown */
.eot-countdown { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 20px; }
.eot-countdown__unit { display: flex; flex-direction: column; align-items: center; min-width: 74px; padding: 10px 8px; border-radius: 12px; background: var(--eot-c-primary); color: #fff; }
.eot-countdown__num { font-size: 1.9rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.eot-countdown__label { font-size: .8rem; opacity: .85; }

/* Danke-Seite */
.eot-steps { margin: 1em 0; padding-left: 1.3em; }
.eot-steps li { margin: .4em 0; }

/* Teilnehmerbereich */
.eot-portal__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin: 0 0 14px; }
.eot-portal__head h2 { margin: 0; }
.eot-badge { display: inline-block; padding: .3em .9em; border-radius: 999px; font-weight: 700; font-size: .9rem; }
.eot-badge--eingegangen { background: #fff1cc; color: #7a5300; }
.eot-badge--bestaetigt { background: #dff3e5; color: #155c33; }
.eot-badge--warteliste { background: #ffe8d1; color: #8a4500; }
.eot-badge--angebot { background: #dbe9ff; color: #1c4c96; }
.eot-badge--abgelehnt, .eot-badge--storniert { background: #eceff1; color: #50575e; }
.eot-progress { display: flex; list-style: none; margin: 0 0 18px; padding: 0; counter-reset: step; }
.eot-progress li { flex: 1; position: relative; text-align: center; font-size: .85rem; color: var(--eot-c-muted); padding-top: 34px; }
.eot-progress li::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--eot-c-line); font-weight: 700; }
.eot-progress li::after { content: ""; position: absolute; top: 13px; left: calc(50% + 16px); right: calc(-50% + 16px); height: 2px; background: var(--eot-c-line); }
.eot-progress li:last-child::after { display: none; }
.eot-progress li.is-done { color: var(--eot-c-text); font-weight: 600; }
.eot-progress li.is-done::before { content: "✓"; background: var(--eot-c-ok); border-color: var(--eot-c-ok); color: #fff; }
.eot-card--status { border-left: 5px solid var(--eot-c-accent); }
.eot-offer { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin-top: 12px; }
.eot-offer form { margin: 0; }
.eot-offer__decline { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.eot-grid { display: grid; gap: 0 20px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .eot-grid { grid-template-columns: 1fr 1fr; } }
.eot-list { list-style: none; margin: 0; padding: 0; }
.eot-list li { display: flex; flex-direction: column; padding: 8px 0; border-bottom: 1px solid var(--eot-c-line); }
.eot-list li:last-child { border-bottom: 0; }
.eot-bank { background: var(--eot-c-soft); border-radius: 10px; padding: 12px 14px; margin: 10px 0; }
.eot-bank p { margin: 0 0 6px; }
.eot-logout { text-align: right; }
