/* Nachtmarkt Plus · existing E palette and rhythm, C vector opening, B delivery sequence. */
:root { --ink: #f6f4f1; --bg: #0f0f10; --accent: #e05a5e; --rule: #4b4543; --box-top: #eee3d4; --box-front: #c1a88e; --box-side: #967b62; }
[hidden] { display: none !important; }
button,input,textarea { font: inherit; }
button { cursor: pointer; }
#brand-anchor { display:block; width:185px; height:44px; color:var(--black); flex:none; }
#brand-canvas { display:none; pointer-events:none; position:absolute; left:0; top:0; width:100%; overflow:visible; color:var(--offwhite); }
#wordmark-paths path:not(.di-glyph) { fill:currentColor; }
.brand-stroke { fill:none; stroke:var(--muted-dark); stroke-width:1.5; }
.intro-dialog { position:fixed; inset:0; z-index:30; outline:0; background:var(--black); }
.intro-running { overflow:hidden; }
.intro-running #brand-canvas { display:block; position:fixed; z-index:31; }
.intro-running #brand-anchor { visibility:hidden; }
.intro-running:not(.page-revealed) main,.intro-running:not(.page-revealed) .head,.intro-running:not(.page-revealed) .foot { visibility:hidden; }
.intro-running.page-revealed .intro-dialog { background:transparent; pointer-events:none; }
.intro-running.page-revealed #brand-canvas { position:absolute; }
.intro-running:not(.headline-clear) .hero-copy { visibility:hidden; }
.intro-skip { display:flex; align-items:center; gap:8px; position:fixed; right:28px; bottom:20px; z-index:32; min-height:44px; padding:4px 0; border:0; background:transparent; color:var(--muted-dark); font-size:12px; pointer-events:auto; }
.intro-skip svg { width:17px; height:17px; }
.intro-pending body { overflow:hidden; }
.intro-pending main,.intro-pending .head,.intro-pending .foot { visibility:hidden; }
.intro-pending #brand-canvas { display:block; position:fixed; z-index:31; width:min(calc(100% - 48px),710px); height:auto; left:50%; top:max(110px,calc(32vh - 80px)); transform:translateX(-50%); }
.intro-pending .intro-dialog { display:block !important; }
.intro-pending #brand-canvas { z-index:31; }
.enquiry-ticket { grid-template-columns:repeat(3,minmax(0,1fr)); border-color:var(--muted-dark); }
.enquiry-ticket .register-row { border-color:var(--muted-dark); }
.enquiry-ticket dd a { display:flex; align-items:center; min-height:44px; text-decoration:none; line-height:1.25; overflow-wrap:anywhere; }
.enquiry-ticket dd a:hover { color:var(--white); text-decoration:underline; text-underline-offset:4px; }
.intro-running.page-revealed .enquiry-ticket { visibility:visible; }
.process-section { border-bottom:1px solid var(--hair-dark); }
.need-fields { display:grid; grid-template-columns:1.3fr 1fr 1fr; gap:32px; margin:0 0 36px; }
.need-fields label { display:flex; flex-direction:column; gap:14px; min-width:0; }
.need-fields label>span { font-size:15px; line-height:1.4; }
.need-fields small { display:block; font-size:12px; color:var(--muted-dark); font-weight:400; }
.need-fields input,.need-fields textarea { display:block; width:100%; min-width:0; min-height:54px; padding:13px 0; color:inherit; background:transparent; border:0; border-bottom:1px solid var(--muted-dark); border-radius:0; font-size:18px; line-height:1.4; resize:vertical; }
.need-fields textarea { min-height:82px; }
.need-fields :is(input,textarea)::placeholder { color:var(--muted-dark); opacity:1; }
.need-fields :is(input,textarea):focus-visible { outline:2px solid var(--accent); outline-offset:5px; }
.processing { padding:0 0 30px; margin:0 0 24px; min-width:0; }
.process-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; border-top:1px solid var(--rule); }
.process-steps button { text-align:left; border:0; border-top:2px solid transparent; padding:20px 0 14px; color:var(--muted-dark); background:none; font-size:22px; line-height:1.25; min-height:104px; }
.process-steps button>span { display:block; font-size:11px; line-height:1.4; text-transform:uppercase; letter-spacing:1px; margin-bottom:10px; }
.process-steps button.current { border-top-color:var(--accent); color:var(--offwhite); }
.processing>svg { display:block; width:100%; height:230px; overflow:hidden; }
.process-track { stroke:var(--muted-dark); stroke-width:1.3; fill:none; }
.company { fill:none; stroke:var(--offwhite); stroke-width:2; }
.static-states { display:none; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; margin:25px 0; text-align:center; font-size:15px; line-height:1.4; }
.static-states svg { width:100%; height:110px; }
.static-process>svg,body:not(.scenes-ready) .processing>svg { display:none; }
.static-process .static-states,body:not(.scenes-ready) .static-states { display:grid; }
.process-note { font-size:15px; line-height:1.5; color:var(--muted-dark); margin-bottom:24px; }
.scene-values { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; border-top:1px solid var(--rule); padding-top:20px; color:var(--muted-dark); font-size:13px; line-height:1.5; }
.scene-values b { display:block; font-weight:400; color:var(--offwhite); font-size:18px; overflow-wrap:anywhere; }
.enquiry-inner { padding:clamp(22px,3vw,40px); }
.enquiry-notice { color:var(--muted-light); max-width:75ch; font-size:15px; line-height:1.6; margin-bottom:28px; }
.optional-enquiry { border-top:1px solid var(--hair-light); border-bottom:1px solid var(--hair-light); margin-bottom:32px; }
.optional-enquiry summary { cursor:pointer; min-height:56px; padding:16px 0; font-size:16px; line-height:1.5; }
.optional-enquiry summary span { color:var(--muted-light); font-size:13px; }
.optional-enquiry .need-fields { margin:20px 0 30px; }
.optional-enquiry input { border-color:var(--muted-light); }
.optional-enquiry input::placeholder { color:var(--muted-light); }
.draft-heading { display:flex; justify-content:space-between; align-items:center; gap:20px; }
.draft-heading h3 { font-size:clamp(25px,3vw,38px); line-height:1.15; max-width:25ch; }
.draft-heading a { display:flex; align-items:center; min-height:44px; font-size:14px; white-space:nowrap; text-underline-offset:4px; }
#draft-values { margin:24px 0 30px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
#draft-values>div { min-width:0; border-top:1px solid var(--hair-light); padding-top:14px; }
#draft-values dt { font-size:12px; color:var(--muted-light); text-transform:uppercase; letter-spacing:1px; margin-bottom:8px; }
#draft-values dd { font-size:19px; line-height:1.5; overflow-wrap:anywhere; white-space:pre-wrap; }
.draft-actions { display:flex; flex-wrap:wrap; gap:12px 20px; align-items:center; }
.copy-button { background:transparent; color:var(--black); border:1px solid var(--black); }
.copy-button:hover { background:var(--black); color:var(--offwhite); }
.clear-button { color:var(--muted-light); background:transparent; padding:10px 0; min-height:44px; border:0; text-decoration:underline; text-underline-offset:4px; font-size:14px; }
#draft-status { font-size:14px; line-height:1.5; color:var(--muted-light); margin-top:18px; }
#manual-copy { margin-top:18px; }
#manual-copy summary { padding:10px 0; cursor:pointer; }
#manual-copy textarea { width:100%; min-height:200px; padding:15px; font:inherit; color:var(--black); background:white; }
@media(max-width:1000px) { .need-fields { grid-template-columns:1fr; gap:24px; }.need-fields textarea{min-height:72px;} }
@media(max-width:760px) { #brand-anchor { width:170px; height:40px; }.enquiry-ticket { grid-template-columns:1fr; }.enquiry-ticket>div+div { border-left:0; border-top:1px solid var(--muted-dark); padding-left:0; }.enquiry-ticket>div { padding:10px 0; }.enquiry-ticket dd { margin-top:0; }.enquiry-ticket dt { font-size:10px; }.process-steps { gap:12px; }.process-steps button { font-size:17px; min-height:114px; }.process-steps button>span { font-size:10px; letter-spacing:0; }.scene-values { grid-template-columns:1fr; gap:12px; }.scene-values b { display:inline; margin-left:5px; }.static-states { gap:10px; font-size:12px; }.static-states svg { height:80px; }.draft-heading { display:block; }#draft-values { grid-template-columns:1fr; gap:18px; }.draft-actions { display:grid; gap:12px; }.draft-actions .btn { width:100%; justify-content:space-between; }.intro-skip { right:24px; bottom:16px; } }
@media(max-width:360px) { .head .plate { padding:8px; gap:8px; }.head .plate__bull { width:28px; height:24px; }#brand-anchor { width:147px; height:35px; }.nav a.nav__cta { padding:0 10px; font-size:11px; }.process-steps button { font-size:14px; }.process-steps button>span { font-size:9px; }.draft-actions .btn{padding:12px;font-size:14px;} }
@media(prefers-reduced-motion:reduce) { .intro-dialog,#brand-canvas { display:none!important; } }
h1:focus-visible { outline:none; }

.intro-running:not(.ticket-clear) .enquiry-ticket dt,.intro-running:not(.ticket-clear) .enquiry-ticket dd { visibility:hidden; }

/* R1: only links actually crossed by the flying mark are temporarily occluded. */
.intro-running .head .nav a[data-logo-obscured] { visibility:hidden; }
@media(max-width:360px) {
 .head__in { display:flex; flex-wrap:wrap; gap:0 8px; padding-top:12px; }
 .head .plate { margin-right:auto; padding:7px 6px; gap:7px; }
 .head .plate__bull { width:24px; height:22px; }
 .head #brand-anchor { width:129px; height:31px; }
 .head .nav { position:relative; display:flex; flex-wrap:wrap; gap:0 13px; align-items:center; width:100%; min-width:0; }
 .head .nav a { font-size:10px; letter-spacing:.3px; min-width:0; min-height:44px; }
 .head .nav a.nav__cta { position:absolute; right:0; bottom:44px; padding:0 8px; font-size:10px; }
}
