:root {
    --bg: #f6f7f2;
    --surface: #ffffff;
    --surface-soft: #eef3ee;
    --ink: #17231e;
    --muted: #68736e;
    --muted-strong: #435048;
    --line: #dfe6e1;
    --accent: #176d52;
    --accent-dark: #0f503c;
    --accent-soft: #dff1e8;
    --success: #247458;
    --danger: #a33d3d;
    --danger-soft: #faeaea;
    --shadow: 0 22px 70px rgba(27, 48, 39, .10);
    --shadow-soft: 0 10px 34px rgba(27, 48, 39, .07);
    --radius-lg: 30px;
    --radius-md: 20px;
    --radius-sm: 13px;
    --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background:
        radial-gradient(circle at 8% 0%, rgba(207, 232, 219, .48), transparent 31rem),
        radial-gradient(circle at 100% 17%, rgba(225, 237, 225, .55), transparent 28rem),
        var(--bg);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

button, input, textarea, select { font: inherit; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.page-shell {
    width: min(calc(100% - 32px), var(--max));
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 84px;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 780;
    letter-spacing: -.035em;
    font-size: 1.3rem;
}

.brand-mark {
    position: relative;
    width: 31px;
    height: 31px;
    display: block;
}
.brand-mark span {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--accent);
    transform-origin: 15.5px 15.5px;
}
.brand-mark span:nth-child(1) { left: 12px; top: 1px; }
.brand-mark span:nth-child(2) { right: 2px; top: 7px; }
.brand-mark span:nth-child(3) { right: 2px; bottom: 6px; }
.brand-mark span:nth-child(4) { left: 12px; bottom: 0; }
.brand-mark span:nth-child(5) { left: 2px; bottom: 6px; }
.brand-mark span:nth-child(6) {
    left: 1px;
    top: 7px;
    animation: join-mark .9s cubic-bezier(.2,.8,.2,1) .18s both;
}
@keyframes join-mark {
    from { opacity: 0; transform: translate(-9px,-6px) scale(.4); }
    to { opacity: 1; transform: translate(0,0) scale(1); }
}

.header-action {
    text-decoration: none;
    color: var(--accent-dark);
    font-weight: 680;
    padding: 10px 15px;
    border-radius: 999px;
}
.header-action:hover { background: rgba(255,255,255,.66); }

main { flex: 1; }
.site-footer {
    border-top: 1px solid var(--line);
    margin-top: 80px;
    padding: 28px 0 40px;
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    gap: 24px;
    font-size: .9rem;
}
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

.flash {
    border-radius: 14px;
    padding: 14px 18px;
    margin: 0 0 18px;
    font-weight: 650;
    box-shadow: var(--shadow-soft);
}
.flash-error { background: var(--danger-soft); color: #7c2d2d; }
.flash-success { background: var(--accent-soft); color: var(--accent-dark); }

.hero {
    min-height: 680px;
    display: grid;
    grid-template-columns: 1.03fr .97fr;
    gap: clamp(46px, 8vw, 110px);
    align-items: center;
    padding: 68px 0 92px;
}
.hero-copy h1,
.form-intro h1,
.public-room-header h1,
.confirmation-page h1,
.admin-heading h1,
.legal-page h1,
.error-page h1 {
    font-size: clamp(2.55rem, 6vw, 5.45rem);
    line-height: .98;
    letter-spacing: -.066em;
    margin: 0;
    max-width: 900px;
}
.hero-copy h1 { max-width: 680px; }
.hero-text {
    max-width: 650px;
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--muted);
    margin: 28px 0 30px;
}
.eyebrow {
    margin: 0 0 14px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .76rem;
    font-weight: 820;
}
.hero-actions, .share-actions, .confirmation-actions, .settings-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.button {
    border: 0;
    border-radius: 999px;
    padding: 13px 20px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 740;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.button-primary {
    color: #fff;
    background: var(--accent);
    box-shadow: 0 10px 26px rgba(23, 109, 82, .22);
}
.button-primary:hover { background: var(--accent-dark); }
.button-secondary {
    background: rgba(255,255,255,.78);
    color: var(--ink);
    border: 1px solid var(--line);
}
.button-secondary:hover { background: #fff; box-shadow: var(--shadow-soft); }
.button-whatsapp { background: #1f8f61; color: #fff; }
.button-danger { background: var(--danger); color: #fff; }
.button-large { padding: 16px 25px; font-size: 1.02rem; }
.full-width { width: 100%; }
.text-link { color: var(--accent-dark); font-weight: 720; text-decoration: none; padding: 12px 4px; }
.text-link:hover { text-decoration: underline; }

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 30px;
    color: var(--muted);
    font-size: .9rem;
}
.trust-row span::before { content: "✓"; color: var(--accent); margin-right: 7px; font-weight: 900; }

.demo-card-wrap { position: relative; }
.demo-card-wrap::before {
    content: "";
    position: absolute;
    inset: 8% -10% -8% 8%;
    border-radius: 40px;
    background: linear-gradient(145deg, rgba(219,238,228,.8), rgba(246,247,242,.2));
    transform: rotate(4deg);
}
.demo-card {
    position: relative;
    background: rgba(255,255,255,.93);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 32px;
    padding: clamp(24px, 4vw, 38px);
    box-shadow: var(--shadow);
}
.demo-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.demo-card h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); line-height: 1.1; letter-spacing: -.04em; margin: 13px 0 0; }
.pill { display: inline-flex; border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark); padding: 6px 10px; font-size: .78rem; font-weight: 760; }
.status-dot { width: 12px; height: 12px; border-radius: 50%; background: #42a277; box-shadow: 0 0 0 7px rgba(66,162,119,.12); margin-top: 8px; }
.progress-block { margin: 34px 0 26px; }
.progress-label { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 10px; }
.progress-label strong { font-size: 1.45rem; letter-spacing: -.04em; }
.progress-label span { color: var(--muted); font-size: .9rem; }
.progress { height: 9px; background: #e9eeea; border-radius: 999px; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--accent); border-radius: inherit; }
.demo-list { display: grid; gap: 10px; }
.demo-list > div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 16px; background: var(--bg); border-radius: 14px; }
.demo-list strong { color: var(--accent-dark); font-size: .88rem; }
.demo-list .done { opacity: .62; }
.demo-cta { margin-top: 22px; text-align: center; background: var(--accent); color: #fff; padding: 14px; border-radius: 999px; font-weight: 760; }

.section { padding: 86px 0; }
.compact-section { padding-top: 44px; }
.section-heading { margin-bottom: 34px; }
.section-heading h2, .closing-cta h2, .publish-panel h2, .confirmation-card h2, .admin-section h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.02;
    letter-spacing: -.055em;
}
.split-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { background: rgba(255,255,255,.76); border: 1px solid rgba(255,255,255,.86); border-radius: var(--radius-md); padding: 30px; box-shadow: var(--shadow-soft); }
.feature-number { color: var(--accent); font-size: .8rem; font-weight: 820; }
.feature-card h3 { font-size: 1.45rem; margin: 38px 0 10px; letter-spacing: -.035em; }
.feature-card p { margin: 0; color: var(--muted); }
.closing-cta { margin: 46px 0 18px; padding: 42px; border-radius: var(--radius-lg); background: var(--ink); color: white; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.closing-cta .eyebrow { color: #91cbb5; }
.recent-list { display: grid; gap: 10px; }
.recent-list a { background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 17px 19px; text-decoration: none; display: flex; justify-content: space-between; gap: 18px; }
.recent-list a:hover { border-color: #b7cabf; box-shadow: var(--shadow-soft); }
.recent-list strong { color: var(--accent); }
.muted { color: var(--muted); }

.form-page, .public-page, .admin-page, .confirmation-page, .legal-page, .error-page { padding: 46px 0 20px; }
.narrow-page { max-width: 760px; margin: 0 auto; }
.form-intro { margin: 34px 0 34px; }
.form-intro h1 { font-size: clamp(2.5rem, 5vw, 4.45rem); }
.form-intro > p:last-child { color: var(--muted); font-size: 1.08rem; max-width: 680px; }

.stepper { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 760px; }
.stepper span { display: flex; align-items: center; gap: 8px; color: #98a29d; font-size: .84rem; font-weight: 700; }
.stepper i { width: 27px; height: 27px; border-radius: 50%; border: 1px solid #cad3ce; display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: .78rem; }
.stepper span.active { color: var(--ink); }
.stepper span.active i { background: var(--accent); border-color: var(--accent); color: #fff; }
.stepper span.done { color: var(--accent-dark); }
.stepper span.done i { background: var(--accent-soft); border-color: transparent; color: var(--accent); }

.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.choice-card { width: 100%; border: 1px solid var(--line); border-radius: 25px; background: rgba(255,255,255,.9); padding: 28px; display: grid; grid-template-columns: auto 1fr auto; gap: 18px; text-align: left; color: var(--ink); cursor: pointer; box-shadow: var(--shadow-soft); transition: .2s ease; }
.choice-card:hover { transform: translateY(-3px); border-color: #b6cbbf; box-shadow: var(--shadow); }
.choice-icon { width: 46px; height: 46px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1.25rem; }
.choice-card strong { display: block; font-size: 1.28rem; margin-bottom: 8px; letter-spacing: -.025em; }
.choice-card small { display: block; color: var(--muted); line-height: 1.5; }
.choice-card b { color: var(--accent); font-size: 1.45rem; font-weight: 500; }

.form-card, .option-editor, .soft-box, .share-card, .confirmation-card, .admin-section, .room-progress-card, .legal-card {
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(255,255,255,.9);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}
.form-card { padding: clamp(22px, 4vw, 38px); }
.stack-form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field > span, fieldset legend { font-weight: 740; letter-spacing: -.015em; }
.field small, fieldset small { color: var(--muted); font-weight: 500; }
.field input, .field textarea, .field select {
    width: 100%;
    border: 1px solid #d7e0da;
    border-radius: 13px;
    padding: 13px 14px;
    background: #fbfcfa;
    color: var(--ink);
    outline: none;
    transition: border .18s ease, box-shadow .18s ease, background .18s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: #7eb29d; box-shadow: 0 0 0 4px rgba(23,109,82,.10); background: #fff; }
.field textarea { resize: vertical; }
.field-large input { font-size: 1.12rem; padding: 16px; }
.field-group { display: grid; gap: 16px; }
.two-columns { grid-template-columns: 1fr 1fr; }
.three-columns { grid-template-columns: 1.4fr 1fr 1fr; }
.option-main-grid { grid-template-columns: minmax(0, 1fr) 150px; }
.soft-box { border: 1px solid var(--line); box-shadow: none; padding: 18px 20px 8px; margin: 0; }
.soft-box legend { padding: 0 7px; }
.soft-box > p { margin: 0 0 10px; font-size: .9rem; }
.switch-row, .radio-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 0; border-top: 1px solid #edf0ee; cursor: pointer; }
.switch-row span, .radio-row span { display: grid; gap: 2px; }
.switch-row input { appearance: none; width: 46px; height: 26px; border-radius: 999px; background: #d5ddd8; position: relative; flex: 0 0 auto; transition: .2s ease; }
.switch-row input::after { content: ""; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; background: #fff; border-radius: 50%; box-shadow: 0 2px 6px #0002; transition: .2s ease; }
.switch-row input:checked { background: var(--accent); }
.switch-row input:checked::after { transform: translateX(20px); }
.radio-row { justify-content: flex-start; }
.radio-row input { accent-color: var(--accent); width: 18px; height: 18px; }
.form-actions { display: flex; justify-content: space-between; gap: 14px; padding-top: 6px; }
.back-link { text-decoration: none; color: var(--accent-dark); font-weight: 700; }

.option-editor-list { display: grid; gap: 18px; }
.option-editor { padding: 22px; display: grid; gap: 18px; }
.option-editor-head { display: flex; justify-content: space-between; align-items: center; }
.icon-button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--muted); cursor: pointer; font-size: 1.3rem; line-height: 1; }
.icon-button:hover { color: var(--danger); border-color: #e6baba; }
.suggestions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: .9rem; }
.suggestions button { border: 1px solid var(--line); background: rgba(255,255,255,.75); border-radius: 999px; padding: 8px 12px; cursor: pointer; color: var(--accent-dark); font-weight: 650; }
.suggestions button:hover { background: var(--accent-soft); }
.add-option-button { justify-self: start; }

.preview-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.phone-preview { max-width: 520px; margin: 0 auto; padding: 16px; border: 8px solid #1d2923; background: #edf1ed; border-radius: 42px; box-shadow: var(--shadow); }
.phone-speaker { width: 70px; height: 6px; border-radius: 999px; background: #1d2923; margin: 0 auto 16px; opacity: .8; }
.preview-room { border-radius: 24px; box-shadow: none; }
.publish-panel { position: sticky; top: 28px; display: grid; gap: 16px; background: var(--ink); color: #fff; border-radius: 28px; padding: 30px; }
.publish-panel h2 { font-size: 2.4rem; }
.publish-panel p { color: #c8d1cc; margin: 0; }
.publish-panel .button-secondary { background: transparent; color: #fff; border-color: #52605a; }
.publish-panel .fine-print { font-size: .8rem; }
.success-symbol, .neutral-symbol { width: 58px; height: 58px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); font-size: 1.65rem; font-weight: 900; }
.success-symbol.large, .neutral-symbol { width: 78px; height: 78px; font-size: 2.1rem; }
.neutral-symbol { background: #e9ecea; color: var(--muted); }

.public-page { max-width: 820px; margin: 0 auto; }
.public-room-header { text-align: center; padding: 34px 0 28px; }
.public-room-header h1 { font-size: clamp(2.55rem, 7vw, 5rem); }
.room-kicker { color: var(--accent); font-size: .78rem; text-transform: uppercase; letter-spacing: .13em; font-weight: 820; margin: 0 0 12px; }
.public-description { color: var(--muted); font-size: 1.08rem; max-width: 650px; margin: 24px auto 0; }
.event-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .92rem; }
.prominent-meta { justify-content: center; margin-top: 22px; }
.event-meta span { display: inline-flex; align-items: center; }
.event-meta span + span::before { content: "•"; margin-right: 18px; color: #a5aea9; }
.room-progress-card { padding: 22px 24px; margin: 16px 0 24px; }
.room-progress-card > div:first-child { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 11px; }
.room-progress-card strong { font-size: 1.3rem; letter-spacing: -.035em; }
.room-progress-card span, .room-progress-card p { color: var(--muted); }
.room-progress-card p { margin: 10px 0 0; font-size: .9rem; }
.closed-notice { margin: 18px 0; padding: 17px 19px; border-radius: 16px; background: #edecea; display: grid; gap: 3px; }
.closed-notice span { color: var(--muted); }
.public-option-list { display: grid; gap: 12px; }
.public-option { background: rgba(255,255,255,.94); border: 1px solid var(--line); border-radius: 18px; padding: 19px; display: flex; gap: 16px; align-items: flex-start; box-shadow: var(--shadow-soft); }
.preview-room { padding: 22px; }
.preview-room h2 { margin: 0; font-size: 2rem; letter-spacing: -.05em; }
.preview-room > p { color: var(--muted); }
.preview-room .public-option { justify-content: space-between; align-items: center; }
.preview-room .public-option h3 { margin: 0; }
.preview-room .public-option p { margin: 3px 0; color: var(--accent-dark); font-weight: 700; }
.preview-room .public-option small { color: var(--muted); }
.mini-action { color: var(--accent); font-weight: 760; font-size: .85rem; }
.selectable-list .public-option { cursor: pointer; transition: .18s ease; }
.selectable-list .public-option:hover { border-color: #abc5b8; transform: translateY(-1px); }
.selectable-list .public-option:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(23,109,82,.11), var(--shadow-soft); }
.selectable-list .public-option.is-full { opacity: .58; cursor: default; }
.public-option input { position: absolute; opacity: 0; pointer-events: none; }
.selection-indicator { width: 24px; height: 24px; border: 2px solid #bdc9c2; border-radius: 7px; flex: 0 0 auto; margin-top: 1px; position: relative; }
input[type="radio"] + .selection-indicator { border-radius: 50%; }
.public-option input:checked + .selection-indicator { background: var(--accent); border-color: var(--accent); }
.public-option input:checked + .selection-indicator::after { content: "✓"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: .8rem; font-weight: 900; }
.option-content { flex: 1; min-width: 0; }
.option-title-row { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; }
.option-title-row strong { font-size: 1.08rem; }
.option-title-row em { font-style: normal; color: var(--accent-dark); font-size: .82rem; font-weight: 760; white-space: nowrap; }
.option-time { display: block; color: var(--ink); font-size: .88rem; margin-top: 3px; }
.option-content small { display: block; color: var(--muted); margin-top: 8px; }
.sticky-action { padding: 16px 0 0; display: flex; justify-content: flex-end; }
.privacy-note { color: var(--muted); text-align: center; font-size: .82rem; margin: 24px 0; }

.selected-summary { display: grid; gap: 9px; margin-bottom: 18px; }
.selected-summary > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 17px; background: var(--accent-soft); border-radius: 14px; }
.selected-summary span { color: var(--accent-dark); font-size: .9rem; }
.fine-print { color: var(--muted); font-size: .82rem; }
.centered { text-align: center; }

.confirmation-page { max-width: 780px; margin: 0 auto; text-align: center; padding-top: 64px; }
.confirmation-page h1 { font-size: clamp(2.5rem, 6vw, 4.8rem); margin-top: 20px; }
.confirmation-lead { color: var(--muted); font-size: 1.08rem; max-width: 660px; margin: 22px auto 30px; }
.confirmation-card { padding: 26px; text-align: left; margin: 28px 0; }
.confirmation-card h2 { font-size: 1.7rem; }
.booking-option-summary { display: grid; gap: 9px; margin-top: 18px; }
.booking-option-summary > div { display: flex; justify-content: space-between; gap: 18px; padding: 13px 15px; border-radius: 13px; background: var(--bg); }
.booking-option-summary .cancelled { opacity: .52; text-decoration: line-through; }
.confirmation-actions { justify-content: center; }
.danger-zone { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 18px; text-align: left; }
.danger-zone summary { cursor: pointer; font-weight: 730; color: var(--danger); }
.danger-zone p { color: var(--muted); }
.compact-danger { max-width: 520px; margin-left: auto; margin-right: auto; }
.admin-created .share-card { text-align: left; margin: 14px 0; }
.share-card { padding: 24px; }
.share-card > span { display: block; color: var(--muted); font-size: .84rem; margin-bottom: 7px; }
.share-card > strong { display: block; word-break: break-all; font-size: 1.06rem; }
.share-card p { color: var(--muted); }
.primary-share { border-color: #b9d7c8; }

.admin-page { max-width: 1050px; margin: 0 auto; }
.admin-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 34px; }
.admin-heading h1 { font-size: clamp(2.5rem, 5vw, 4.3rem); }
.admin-heading .event-meta { margin-top: 15px; }
.status-label { padding: 4px 9px; border-radius: 999px; font-size: .76rem; font-weight: 750; }
.status-label.open { color: var(--accent-dark); background: var(--accent-soft); }
.status-label.closed { color: #5f625f; background: #e6e7e5; }
.admin-dashboard-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 14px; }
.metric-card { background: #fff; border-radius: 19px; padding: 22px; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.metric-card > span { color: var(--muted); font-size: .82rem; }
.metric-card > strong { display: block; font-size: 2rem; letter-spacing: -.05em; margin-top: 7px; }
.metric-card p { color: var(--muted); margin: 0; }
.metric-main .progress { margin-top: 17px; }
.share-strip { margin: 18px 0 32px; background: var(--ink); color: #fff; border-radius: 20px; padding: 22px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.share-strip p { color: #bdc8c2; margin: 4px 0 0; }
.share-strip .button-secondary { background: transparent; color: #fff; border-color: #53625b; }
.admin-section { padding: 27px; margin: 18px 0; }
.admin-section .section-heading { margin-bottom: 20px; }
.admin-section .section-heading h2 { font-size: 2rem; }
.admin-option-list { display: grid; gap: 10px; }
.admin-option-list article { padding: 16px; background: var(--bg); border-radius: 14px; }
.admin-option-head { display: flex; justify-content: space-between; gap: 18px; }
.admin-option-head h3 { margin: 0; font-size: 1.05rem; }
.admin-option-head p { margin: 3px 0 0; color: var(--muted); font-size: .88rem; }
.admin-option-head > strong { white-space: nowrap; color: var(--accent-dark); }
.small-progress { height: 6px; margin-top: 12px; }
.empty-state { padding: 34px; text-align: center; border: 1px dashed #cad3ce; border-radius: 15px; }
.empty-state p { color: var(--muted); margin-bottom: 0; }
.booking-list { display: grid; gap: 8px; }
.booking-row { display: flex; justify-content: space-between; gap: 18px; padding: 15px 16px; background: var(--bg); border-radius: 14px; }
.booking-row > div:first-child { display: grid; }
.booking-row span, .booking-row small { color: var(--muted); }
.booking-row small { font-size: .78rem; }
.booking-row.inactive { opacity: .55; }
.booking-row-actions { display: flex; align-items: center; gap: 12px; }
.booking-row-actions em { font-style: normal; font-size: .78rem; color: var(--accent-dark); font-weight: 720; }
.text-button { border: 0; padding: 0; background: none; cursor: pointer; font-weight: 700; }
.danger-text { color: var(--danger); }
.settings-section { margin-top: 26px; }

.legal-page, .error-page { max-width: 800px; margin: 0 auto; }
.legal-page h1, .error-page h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
.legal-card { margin-top: 30px; padding: 30px; }
.legal-card h2 { margin-top: 30px; letter-spacing: -.03em; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card a { color: var(--accent-dark); }
.legal-warning { margin-top: 26px; padding: 15px; background: #fff4d8; border-radius: 13px; color: #67521d; }
.prose p { color: #4f5b55; }
.error-page { text-align: center; padding-top: 100px; }
.error-page .neutral-symbol { margin-bottom: 18px; }
.error-page p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; margin: 22px auto 30px; }

@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 55px; }
    .demo-card-wrap { max-width: 650px; }
    .feature-grid { grid-template-columns: 1fr; }
    .choice-grid { grid-template-columns: 1fr; }
    .preview-layout { grid-template-columns: 1fr; }
    .publish-panel { position: static; max-width: 520px; margin: 0 auto; }
    .admin-dashboard-grid { grid-template-columns: 1fr 1fr; }
    .metric-main { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
    .page-shell { width: min(calc(100% - 22px), var(--max)); }
    .site-header { min-height: 70px; }
    .header-action { font-size: .88rem; padding: 8px 10px; }
    .hero { padding: 42px 0 60px; gap: 48px; }
    .hero-copy h1 { font-size: clamp(2.75rem, 15vw, 4.25rem); }
    .hero-actions { align-items: stretch; flex-direction: column; }
    .hero-actions .button, .hero-actions .text-link { width: 100%; text-align: center; }
    .section { padding: 62px 0; }
    .closing-cta, .split-heading, .admin-heading, .share-strip { flex-direction: column; align-items: stretch; }
    .closing-cta { padding: 28px; }
    .closing-cta .button { width: 100%; }
    .site-footer { flex-direction: column; }
    .stepper { overflow-x: auto; grid-template-columns: repeat(4, minmax(105px, 1fr)); padding-bottom: 5px; }
    .stepper span { font-size: .74rem; }
    .form-page, .public-page, .admin-page, .confirmation-page { padding-top: 28px; }
    .form-intro { margin-top: 25px; }
    .field-group, .two-columns, .three-columns, .option-main-grid { grid-template-columns: 1fr; }
    .compact-number { max-width: 160px; }
    .form-actions { flex-direction: column-reverse; }
    .form-actions .button { width: 100%; }
    .phone-preview { border-width: 5px; padding: 9px; border-radius: 30px; }
    .public-option { padding: 16px; }
    .option-title-row { align-items: flex-start; }
    .option-title-row em { white-space: normal; text-align: right; }
    .sticky-action { position: sticky; bottom: 8px; padding: 12px 0; background: linear-gradient(transparent, var(--bg) 34%); }
    .sticky-action .button { width: 100%; }
    .event-meta span + span::before { display: none; }
    .event-meta { gap: 6px 13px; }
    .selected-summary > div { flex-direction: column; gap: 2px; }
    .confirmation-actions, .settings-actions { flex-direction: column; }
    .confirmation-actions .button, .settings-actions .button, .settings-actions form { width: 100%; }
    .admin-dashboard-grid { grid-template-columns: 1fr; }
    .metric-main { grid-column: auto; }
    .share-strip .share-actions { flex-direction: column; align-items: stretch; }
    .share-strip .button { width: 100%; }
    .booking-row { flex-direction: column; }
    .booking-row-actions { justify-content: space-between; }
    .admin-section { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
.participant-names { color: var(--accent-dark) !important; font-weight: 700; }

/* Version 0.2: E-Mail-Sicherung und Wiederverwendung */
.flash-notice { background: #edf4f7; color: #294f5c; border-color: #cbdde3; }
.admin-tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 18px 0 32px; }
.admin-tool-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 25px; box-shadow: var(--shadow-soft); }
.admin-tool-card h2 { font-size: 1.45rem; margin: 6px 0 10px; }
.admin-tool-card > p:not(.eyebrow) { color: var(--muted); }
.compact-stack { gap: 12px; }
.mail-hint { color: var(--muted); }
.inline-mail-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px; margin-top: 16px; }
.inline-mail-form .field { margin: 0; }
.mail-status-card { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 15px 18px; margin: -10px 0 24px; background: var(--accent-soft); border-radius: 14px; text-align: left; }
.mail-status-card > div { display: grid; gap: 3px; }
.mail-status-card span { color: var(--muted); font-size: .85rem; }
.mail-status-card .text-button { color: var(--accent-dark); }
.template-summary { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px; border-radius: 14px; background: var(--accent-soft); }
.template-summary strong { width: 100%; }
.template-summary span { background: rgba(255,255,255,.75); padding: 6px 10px; border-radius: 999px; font-size: .82rem; color: var(--accent-dark); }

@media (max-width: 700px) {
    .admin-tool-grid { grid-template-columns: 1fr; }
    .inline-mail-form { grid-template-columns: 1fr; }
    .inline-mail-form .button { width: 100%; }
    .mail-status-card { align-items: stretch; flex-direction: column; }
}

/* Version 0.3.2: freigegebene Logoform */
.brand {
    gap: 14px;
    min-height: 64px;
}
.brand-logo-mark {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    display: block;
    overflow: visible;
    filter: none;
    transition: transform .22s ease;
}
.brand:hover .brand-logo-mark { transform: scale(1.025); }
.brand-word {
    font-family: "Avenir Next", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
    font-size: 2rem;
    font-weight: 650;
    line-height: 1;
    letter-spacing: -.06em;
    color: #111922;
}
.brand-joining-piece {
    transform-origin: 96px 36px;
    animation: brand-join .75s cubic-bezier(.2,.8,.2,1) .12s both;
}
@keyframes brand-join {
    from { opacity: 0; transform: translate(8px,-5px) scale(.88); }
    to { opacity: 1; transform: translate(0,0) scale(1); }
}

.compact-heading { margin-bottom: 4px; }
.compact-heading h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); }
.check-row {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 15px 0;
    border-top: 1px solid #edf0ee;
    cursor: pointer;
}
.check-row input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); }
.check-row span { display: grid; gap: 2px; }
.check-row small { color: var(--muted); }
.option-editor-meta { display: flex; align-items: center; gap: 10px; }
.option-editor-meta > span { font-size: .78rem; color: var(--accent-dark); background: var(--accent-soft); padding: 5px 9px; border-radius: 999px; }
.sticky-save-bar {
    position: sticky;
    bottom: 12px;
    z-index: 5;
    background: rgba(246,247,242,.9);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(223,230,225,.9);
    border-radius: 999px;
    padding: 10px;
    box-shadow: 0 12px 34px rgba(27,48,39,.12);
}

.admin-heading-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.quick-action-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 18px 0 32px;
}
.quick-action-bar a {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 12px;
    row-gap: 2px;
    align-items: center;
    padding: 17px 18px;
    text-decoration: none;
    background: rgba(255,255,255,.88);
    border: 1px solid var(--line);
    border-radius: 17px;
    box-shadow: var(--shadow-soft);
    transition: .18s ease;
}
.quick-action-bar a:hover { transform: translateY(-2px); border-color: #b6cbbf; box-shadow: var(--shadow); }
.quick-action-bar a > span { grid-row: 1 / 3; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--accent-soft); color: var(--accent-dark); font-size: 1.15rem; }
.quick-action-bar strong { font-size: .95rem; }
.quick-action-bar small { color: var(--muted); font-size: .77rem; line-height: 1.35; }

.booking-section-heading { align-items: center; }
.booking-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.search-field input {
    width: min(300px, 72vw);
    border: 1px solid #d7e0da;
    border-radius: 999px;
    padding: 11px 15px;
    background: #fbfcfa;
    outline: none;
}
.search-field input:focus { border-color: #7eb29d; box-shadow: 0 0 0 4px rgba(23,109,82,.10); background: #fff; }
.compact-button { padding: 10px 15px; font-size: .88rem; }
.booking-contact-line { display: flex; flex-wrap: wrap; gap: 6px 13px; }
.compact-empty { margin-top: 10px; padding: 22px; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

.booking-edit-options { display: grid; gap: 10px; }
.selectable-option {
    position: relative;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 17px;
    background: #fbfcfa;
    border: 1px solid var(--line);
    border-radius: 15px;
    cursor: pointer;
    transition: .18s ease;
}
.selectable-option:hover { border-color: #abc5b8; transform: translateY(-1px); }
.selectable-option:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(23,109,82,.10); background: #fff; }
.selectable-option.is-full { opacity: .55; cursor: default; transform: none; }
.selectable-option input { position: absolute; opacity: 0; pointer-events: none; }
.selectable-check { width: 24px; height: 24px; flex: 0 0 auto; border: 2px solid #bdc9c2; border-radius: 7px; position: relative; margin-top: 1px; }
.selectable-option input[type="radio"] + .selectable-check { border-radius: 50%; }
.selectable-option input:checked + .selectable-check { background: var(--accent); border-color: var(--accent); }
.selectable-option input:checked + .selectable-check::after { content: "✓"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 900; font-size: .8rem; }
.selectable-content { display: grid; gap: 3px; }
.selectable-content strong { font-size: 1rem; }
.selectable-content small { color: var(--muted); }

@media (max-width: 900px) {
    .quick-action-bar { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
    .brand-logo-mark { width: 48px; height: 48px; flex-basis: 48px; }
    .brand-word { font-size: 1.58rem; }
    .admin-heading-actions, .booking-tools { width: 100%; }
    .admin-heading-actions .button, .booking-tools .button, .search-field, .search-field input { width: 100%; }
    .sticky-save-bar { border-radius: 20px; bottom: 7px; }
    .quick-action-bar { margin-top: 12px; }
}


/* Version 0.3.3: exakt freigegebene Logo-Grafik, nicht nachgezeichnet */
.brand {
    gap: 0;
    min-height: 64px;
}
.brand-logo-approved {
    display: block;
    width: clamp(230px, 24vw, 305px);
    height: auto;
    max-height: 76px;
    object-fit: contain;
    object-position: left center;
}
.brand:hover .brand-logo-approved {
    transform: none;
}
@media (max-width: 700px) {
    .brand-logo-approved {
        width: clamp(190px, 56vw, 235px);
        max-height: 66px;
    }
}

/* Version 0.4: Vorlagen und Wartelisten */
.admin-dashboard-grid { grid-template-columns: 1.4fr repeat(3, minmax(0, .75fr)); }
.quick-action-bar { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.metric-waitlist {
    background: linear-gradient(145deg, #fff9e8, #fffdf7);
    border-color: #eadfbf;
}
.metric-waitlist strong { color: #8b6716; }
.option-waitlist-toggle { max-width: 430px; }
.public-option.is-waitlist {
    border-color: #decf9b;
    background: linear-gradient(135deg, #fffdf7, #fff9e8);
}
.public-option.is-waitlist .option-title-row em { color: #8b6716; background: #f5e9bd; }
.waitlist-notice {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 16px 18px;
    border: 1px solid #e6d8a9;
    background: #fffaf0;
    border-radius: 16px;
    color: #695116;
    margin: -4px 0 20px;
}
.waitlist-summary { border-color: #e3d3a2 !important; background: #fffaf0 !important; }
.waitlist-summary em {
    margin-left: auto;
    font-style: normal;
    font-size: .78rem;
    font-weight: 800;
    color: #806214;
    background: #f3e7bd;
    padding: 5px 9px;
    border-radius: 999px;
}
.waitlist-symbol {
    width: 62px;
    height: 62px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    color: #806214;
    background: #f6ebc5;
    font-size: 2rem;
    font-weight: 800;
}
.booking-option-summary > div.waitlisted {
    border-color: #e5d6a6;
    background: #fffaf0;
}
.booking-option-summary > div.waitlisted span { color: #806214; }
.option-count-stack { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.option-count-stack small { color: #806214; font-size: .78rem; }
.waitlist-admin-section { border-color: #eadfbd; background: linear-gradient(180deg, #fffefb, #fffaf0); }
.waitlist-admin-list { display: grid; gap: 10px; }
.waitlist-admin-list article {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 15px 17px;
    background: #fff;
    border: 1px solid #e6dfc9;
    border-radius: 15px;
}
.waitlist-admin-list article > div { display: flex; flex-direction: column; gap: 3px; }
.waitlist-admin-list article span, .waitlist-admin-list article small { color: var(--muted); }
.booking-waitlist-text { color: #806214 !important; }
.template-summary-card {
    padding: 20px;
    margin-bottom: 22px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
}
.template-option-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.template-option-chips span {
    padding: 8px 11px;
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--muted-strong);
    font-size: .86rem;
}
.template-home-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.template-home-grid a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.template-home-grid a:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: 0 12px 30px rgba(22,77,58,.08); }
.template-home-grid a div { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.template-home-grid a small { color: var(--muted); }
.template-home-grid a em { font-style: normal; font-size: 1.2rem; }
.template-home-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 1.35rem;
}
@media (max-width: 980px) {
    .admin-dashboard-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .quick-action-bar { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 700px) {
    .admin-dashboard-grid, .quick-action-bar, .template-home-grid { grid-template-columns: 1fr; }
    .waitlist-admin-list article { align-items: stretch; flex-direction: column; }
    .waitlist-admin-list form .button { width: 100%; }
}
.recent-room-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.recent-room-grid > a {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.recent-room-grid > a:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: 0 12px 30px rgba(22,77,58,.08); }
.recent-room-grid > a > span { color: var(--muted); }
.recent-room-grid > a > em { font-style: normal; color: var(--accent); font-weight: 750; }
.recent-room-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.recent-room-head small { color: var(--muted); }
@media (max-width: 700px) { .recent-room-grid { grid-template-columns: 1fr; } }
