/* application app (apply) in the "DGhK SH × JuniorAkademie" design (colours/fonts/logos: brand.css).
   White page, type does the structure; the 15 JuniorAkademie stripe colours appear twice: under the header and as the
   progress of the application. Indigo = everything you can press. */
* { box-sizing: border-box; }
:root {
  --column: 760px;      /* every single-column block; only side-by-side layouts (.paths, .split) use the full width */
  --line: #d6dfea; --field: #aebdd0; --muted: var(--dghk-slate); --ok: #1d7a43; --ok-tint: #e6f4ec; --error: #a00020; --error-tint: #fdecef;
  --action-dark: #423f8c; --action-tint: #efeefa; --r-field: 10px; --r-block: 18px;
}
html { background: var(--paper); }
body { margin: 0; font: 17px/1.6 var(--font-text); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
.wide { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.ja-header .ja-header-inner { max-width: 1120px; padding-left: 24px; padding-right: 24px; }
.ja-header .wide { padding: 0; max-width: none; }
.ja-header .ja-stripes { height: 6px; }
a { color: var(--action); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; text-wrap: balance; }
h2 { font-size: 22px; line-height: 1.25; margin: 0 0 8px; color: var(--ink); letter-spacing: -.01em; }
h3 { font-size: 17px; line-height: 1.3; margin: 0; }
:focus-visible { outline: 3px solid var(--action); outline-offset: 3px; }
h2:focus { outline: none; }

/* ---------- Page head ---------- */
/* One rule for every page: everything starts at the left edge of .wide, nothing is centred. */
.hero, .intro { padding: 56px 0 40px; max-width: var(--column); }
.hero .steps { margin-top: 28px; }
.display, h1 { font-size: clamp(34px, 5.4vw, 60px); line-height: 1.04; letter-spacing: -.03em; color: var(--dghk-blue); margin: 0 0 18px; }
.lead { margin: 0; max-width: 62ch; font-size: 19px; color: var(--muted); }
.back { margin: 0 0 14px; font-size: 15px; }
.back a::before { content: "‹ "; }
.facts { display: flex; flex-wrap: wrap; gap: 12px 48px; margin: 6px 0 0; }
.facts dt { font-size: 15px; color: var(--muted); }
.facts dd { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 21px; }

/* ---------- Start: the two ways in ---------- */
.paths { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; margin: 0 0 32px; }
.path { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 34px 36px 32px; border-radius: var(--r-block);
  background: var(--blue-tint); color: var(--ink); text-decoration: none; }
.path h2 { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -.02em; margin: 0; }
.path p { margin: 0 0 8px; max-width: 46ch; }
.path .button { margin-top: auto; }
.path--main { background: var(--action); color: var(--paper); }
.path--main h2 { color: var(--paper); }
.path--main .button { background: var(--paper); color: var(--action); }
.path:hover .button { box-shadow: 0 0 0 3px currentColor; }
.path--main:hover .button { box-shadow: 0 0 0 3px rgba(255, 255, 255, .5); }
.path:focus-visible { outline-offset: 4px; }
.choices { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 12px; max-width: var(--column); }
.choice { display: grid; gap: 2px; padding: 22px 26px; border: 1.5px solid var(--line); border-radius: var(--r-block); color: var(--ink);
  text-decoration: none; transition: border-color .15s; }
.choice strong { font-family: var(--font-display); font-size: 21px; color: var(--action); }
.choice span { color: var(--muted); }
.choice:hover { border-color: var(--action); }
.signin { margin: 0 0 24px; color: var(--muted); max-width: var(--column); }
.who { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; font-size: 19px; color: var(--muted); }
.card > h2 + .small { margin: -4px 0 0; }

/* ---------- Email step: form left, the procedure right ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px 64px; align-items: start; }
.panel { display: grid; gap: 20px; padding: 32px 34px; border-radius: var(--r-block); border: 1.5px solid var(--line); background: var(--paper); }
.panel h2 { margin: 0; }
.panel .message:empty { display: none; }
.card .actions { margin-top: 20px; }
.card .actions form { margin: 0; }
.panel--done { border-color: var(--ok); background: var(--ok-tint); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* the sequence of the procedure; on the account page: the documents with their status */
.steps { list-style: none; margin: 8px 0 0; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 0 0 24px 46px; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 34px; bottom: 4px; width: 2px; background: var(--line); }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--blue-tint); color: var(--dghk-blue); font: 700 14px/32px var(--font-display); text-align: center; }
.steps li:last-child { padding-bottom: 0; }
.steps strong { display: block; font-family: var(--font-display); font-size: 17px; }
.steps span, .steps .status { font-size: 15px; color: var(--muted); }
.steps li:has(.status.done)::before { content: "✓"; background: var(--ok); color: var(--paper); }

/* account: the whole process per child; the open step carries its hint and button */
.timeline { list-style: none; margin: 24px 0 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 26px 50px; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 36px; bottom: 4px; width: 2px; background: var(--line); }
.timeline li::before { content: ""; position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; box-sizing: border-box;
  border: 2px solid var(--line); background: var(--paper); font: 700 15px/28px var(--font-display); text-align: center; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .step-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.timeline strong { font-family: var(--font-display); font-size: 17px; }
.timeline .label { font-size: 15px; color: var(--muted); }
.timeline p { margin: 6px 0 0; max-width: 60ch; }
.timeline .button { margin-top: 6px; }
.timeline .done::before { content: "✓"; border-color: var(--ok); background: var(--ok); color: var(--paper); }
.timeline .done .label { color: var(--ok); font-weight: 700; }
.timeline .now::before { content: "!"; border-color: var(--action); background: var(--action); color: var(--paper); }
.timeline .now .label { color: var(--action); font-weight: 700; }
.timeline .wait::before { content: "…"; border-color: var(--dghk-blue); color: var(--dghk-blue); line-height: 24px; }
.timeline .later { color: var(--muted); }
.timeline .later strong { font-weight: 600; }
/* a step page shows a single form: its title is the page heading */
.one-step .part-head { display: none; }
.questions-list { margin: 4px 0 18px; padding-left: 22px; }
.questions-list li { margin: 2px 0; }

.status { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.status.done { color: var(--ok); font-weight: 700; }

/* ---------- The application: one step at a time ---------- */
.wizard-form { max-width: var(--column); padding-top: 56px; }
.progress { margin: 0 0 36px; }
.progress-for { margin: 0 0 14px; font-size: 15px; color: var(--muted); }   /* same place and size as .back */
.progress-bar { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; margin: 0; padding: 0; }
.progress-bar li { padding: 8px 0; position: relative; }       /* the padding makes done steps easier to hit */
.progress-bar li span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.progress-bar li::before { content: ""; display: block; height: 8px; border-radius: 4px; background: #e3e9f1; transition: background .3s; }
.progress-bar li.done { cursor: pointer; }
.progress-bar li.done:hover::before { opacity: .75; }
.progress-bar li:nth-child(1).done::before, .progress-bar li:nth-child(1)[aria-current]::before { background: var(--stripe-01); }
.progress-bar li:nth-child(2).done::before, .progress-bar li:nth-child(2)[aria-current]::before { background: var(--stripe-03); }
.progress-bar li:nth-child(3).done::before, .progress-bar li:nth-child(3)[aria-current]::before { background: var(--stripe-04); }
.progress-bar li:nth-child(4).done::before, .progress-bar li:nth-child(4)[aria-current]::before { background: var(--stripe-06); }
.progress-bar li:nth-child(5).done::before, .progress-bar li:nth-child(5)[aria-current]::before { background: var(--stripe-08); }
.progress-bar li:nth-child(6).done::before, .progress-bar li:nth-child(6)[aria-current]::before { background: var(--stripe-10); }
.progress-bar li:nth-child(7).done::before, .progress-bar li:nth-child(7)[aria-current]::before { background: var(--stripe-11); }
.progress-count { margin: 6px 0 0; font-size: 15px; font-weight: 700; color: var(--muted); }
.step > h2 { font-size: clamp(28px, 3.6vw, 38px); line-height: 1.1; letter-spacing: -.025em; color: var(--dghk-blue); margin: 0 0 10px; }
.step-hint { margin: 0 0 28px; color: var(--muted); max-width: 60ch; }
.step > .field { margin-bottom: 24px; }
.note { margin: 0 0 24px; padding: 16px 20px; border-radius: var(--r-field); background: var(--blue-tint); }
.dock { position: sticky; bottom: 0; z-index: 2; margin: 40px -24px 0; padding: 14px 24px calc(14px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-top: 1px solid var(--line); }
.dock-buttons { display: flex; gap: 12px; }
.dock-buttons [data-next], .dock-buttons [type=submit] { margin-left: auto; }
.dock .message:empty { display: none; }
.dock .message { margin: 0 0 12px; }

/* motivation letter: the file input sits under a large drop area */
.drop { display: grid; gap: 4px; padding: 30px 24px; border: 2px dashed var(--field); border-radius: var(--r-block); text-align: center;
  font-weight: 400; cursor: pointer; transition: border-color .15s, background .15s; margin: 0; }
.drop strong { font-family: var(--font-display); font-size: 19px; color: var(--action); }
.drop span { font-size: 15px; color: var(--muted); }
.drop:hover, .drop:has(+ input:focus-visible) { border-color: var(--action); background: var(--action-tint); }
/* the drop area is the picker: the native input stays focusable for keyboards and validation, but invisible */
.field:has(> .drop) { position: relative; }
.drop + input[type=file] { position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; padding: 0; border: 0; opacity: 0; pointer-events: none; }

/* review before sending */
.review { display: grid; gap: 14px; margin: 0 0 32px; }
.review section { border: 1.5px solid var(--line); border-radius: var(--r-field); padding: 18px 22px; }
.review-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.review dl { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 6px 20px; margin: 0; font-size: 15px; }
.review dt { color: var(--muted); }
.review dd { margin: 0; overflow-wrap: anywhere; }
.consents { display: grid; gap: 12px; }
button.link { background: none; color: var(--action); padding: 4px 0; font-family: var(--font-text); font-weight: 700; font-size: 15px;
  text-decoration: underline; text-underline-offset: 3px; }
button.link:hover { background: none; text-decoration-thickness: 2px; }

/* ---------- Older layout (account documents, school page): sheets with parts ---------- */
.sheet { border: 1.5px solid var(--line); border-radius: var(--r-block); margin: 0 0 28px; overflow: hidden; background: var(--paper); max-width: var(--column); }
.part { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 30px 34px; border-top: 1px solid var(--line); }
.part:first-child { border-top: 0; }
.part > h2, .part > .part-title, .part > .part-head { font-size: 18px; color: var(--dghk-blue); padding-top: 2px; }
.part-head h2 { font-size: 22px; color: var(--dghk-blue); }
.part-title { font-family: var(--font-display); font-size: 18px; line-height: 1.3; margin: 0; font-weight: 700; }
.sheet > .form > .part:first-child { border-top: 1px solid var(--line); }
#cc-choice { grid-column: 1 / -1; }
.part-head .status { margin-top: 8px; }
.part > .body { min-width: 0; }
.part > .body > p:first-child { margin-top: 0; }
.card { padding: 30px 34px; margin: 0 0 20px; max-width: var(--column); border: 1.5px solid var(--line); border-radius: var(--r-block); }
.card h2 { color: var(--dghk-blue); }
.card p:last-child { margin-bottom: 0; }
.card.done { border-color: var(--ok); background: var(--ok-tint); }
.card .steps { margin: 18px 0 24px; }
.send { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 22px 34px;
  background: var(--blue-tint); }
.send .message, .send > p { flex: 1 0 100%; margin: 0; }
.send .message:empty { display: none; }
.body .send { margin: 24px 0 0; padding: 0; background: none; justify-content: flex-start; }

/* ---------- Fields ---------- */
.grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px 20px; }
.grid > * { grid-column: 1 / -1; }
.grid > p { margin: 0; }
.grid > .field:has(> input, > textarea, > select) { display: flex; flex-direction: column; justify-content: flex-end; }
.n-jugendlicheVorname, .n-jugendlicheNachname, .n-elternVorname, .n-elternNachname, .n-email, .n-telefon, .n-schuleOrt,
.n-eltern2Vorname, .n-eltern2Nachname, .n-eltern2Telefon, .n-eltern2Email, .n-elternOrt, .n-eltern2Ort,
.n-lehrkraft, .n-schuleEmail, .n-handyJugendliche, .n-emailJugendliche, .n-krankenversicherung, .n-versichertePerson,
.n-notfallVorname, .n-notfallNachname, .n-notfallTelefon, .n-notfallEmail, .n-neuesTelefon1 { grid-column: span 3 !important; }
.n-geburtsdatum { grid-column: span 3 !important; }
.n-plz, .n-neuePlz, .n-neuePlz1, .n-neuePlz2, .n-notfallPlz, .n-elternPlz, .n-eltern2Plz, .n-schulePlz { grid-column: span 2 !important; }
.n-plz + .n-ort, .n-neuePlz + .n-neuerOrt, .n-neuePlz1 + .n-neuerOrt1, .n-neuePlz2 + .n-neuerOrt2, .n-notfallPlz + .n-notfallOrt, .n-elternPlz + .n-elternOrt, .n-eltern2Plz + .n-eltern2Ort, .n-schulePlz + .n-schuleOrt { grid-column: span 4 !important; }
.field { margin: 0; }
label, legend { display: block; font-weight: 700; font-size: 15px; margin-bottom: 8px; padding: 0; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset > .hint { margin: 18px 0 22px; }
input[type=text], input[type=tel], input[type=email], input[type=date], textarea, select {
  width: 100%; min-height: 52px; font: inherit; padding: 12px 14px; border: 1.5px solid var(--field); border-radius: var(--r-field);
  background: var(--paper); color: var(--ink); transition: border-color .15s, box-shadow .15s; }
input[type=date] { -webkit-appearance: none; appearance: none; }            /* iOS: empty date fields otherwise collapse */
input::-webkit-date-and-time-value { text-align: left; }
input:hover, textarea:hover, select:hover { border-color: var(--muted); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--action); box-shadow: 0 0 0 4px rgba(82, 80, 165, .18); }
input[readonly] { background: var(--blue-tint); border-color: var(--line); color: var(--muted); }
input:user-invalid, textarea:user-invalid { border-color: var(--error); }
::placeholder { color: #8a93a6; }
textarea { resize: vertical; min-height: 110px; }
input[type=checkbox], input[type=radio] { width: 20px; height: 20px; margin: 0; accent-color: var(--action); flex: none; }
.required { color: var(--dja-red); }
[data-group-fields] .field:has(:required) > label::after, [data-group-fields] fieldset:has(:required) > legend::after { content: " *"; color: var(--dja-red); }
.small, .hint { font-size: 15px; color: var(--muted); }
.hint { margin: 8px 0 0; }
input[type=file] { font: inherit; font-size: 15px; width: 100%; padding: 18px; border: 2px dashed var(--field); border-radius: var(--r-field);
  background: var(--paper); cursor: pointer; }
input[type=file]::file-selector-button { font: inherit; font-weight: 700; margin-right: 14px; padding: 8px 14px; border: 1.5px solid var(--action);
  border-radius: var(--r-field); background: var(--paper); color: var(--action); cursor: pointer; }

/* choices as tiles: the whole tile is clickable, the chosen one is marked */
.option { display: inline-flex; gap: 10px; align-items: center; font-weight: 400; font-size: 16px; margin: 0 8px 8px 0; padding: 12px 18px 12px 14px;
  border: 1.5px solid var(--field); border-radius: var(--r-field); cursor: pointer; background: var(--paper); transition: border-color .15s, background .15s; }
.option:hover { border-color: var(--action); }
.option:has(input:checked) { border-color: var(--action); background: var(--action-tint); box-shadow: inset 0 0 0 1px var(--action); }
.option:has(input:focus-visible) { outline: 3px solid var(--action); outline-offset: 2px; }
.option.block { display: flex; align-items: flex-start; margin: 0 0 10px; padding: 16px 18px; }
.option.block input { margin-top: 2px; }
.option .when { display: block; font-size: 14px; color: var(--muted); }
.tick { display: flex; gap: 14px; align-items: flex-start; font-weight: 400; font-size: 16px; margin: 0; padding: 16px 18px;
  border-radius: var(--r-field); border: 1.5px solid var(--line); cursor: pointer; transition: border-color .15s, background .15s; }
.tick input { margin-top: 3px; }
.tick:hover { border-color: var(--action); }
.tick:has(input:checked) { border-color: var(--action); background: var(--action-tint); }
.tick:has(input:focus-visible) { outline: 3px solid var(--action); outline-offset: 2px; }

.privacy { margin: 0; padding: 14px 18px 14px 50px; border-radius: var(--r-field); background: var(--blue-tint); font-size: 15px; position: relative; }
.privacy::before { content: ""; width: 16px; height: 16px; background: currentColor; flex: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a5 5 0 0 0-5 5v3H6a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8a2 2 0 0 0-2-2h-1V7a5 5 0 0 0-5-5zm-3 8V7a3 3 0 1 1 6 0v3z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a5 5 0 0 0-5 5v3H6a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8a2 2 0 0 0-2-2h-1V7a5 5 0 0 0-5-5zm-3 8V7a3 3 0 1 1 6 0v3z'/%3E%3C/svg%3E") center / contain no-repeat; }
.privacy::before { position: absolute; left: 18px; top: 17px; color: var(--dghk-blue); }

/* ---------- Buttons and messages ---------- */
button, a.button, span.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px;
  font: inherit; font-family: var(--font-display); font-weight: 700; font-size: 16px; background: var(--action); color: var(--paper);
  border: 0; border-radius: var(--r-field); padding: 13px 26px; cursor: pointer; text-decoration: none; transition: background .15s, box-shadow .15s; }
button:hover, a.button:hover { background: var(--action-dark); }
button:disabled { opacity: .6; cursor: progress; }
button.secondary, a.button.secondary, span.button.secondary { background: var(--paper); color: var(--action); box-shadow: inset 0 0 0 2px var(--action); }
button.secondary:hover, a.button.secondary:hover { background: var(--action-tint); }
.message { min-height: 1.4em; margin: 12px 0; }
dialog.confirm { max-width: min(480px, calc(100vw - 32px)); border: 0; border-radius: var(--r-block); padding: 28px;
  color: var(--ink); background: var(--paper); box-shadow: 0 20px 60px rgba(0, 0, 0, .25); }
dialog.confirm::backdrop { background: rgba(20, 24, 40, .45); }
dialog.confirm p { margin: 0 0 24px; }
.confirm-buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.hero + .message.ok { max-width: var(--column); margin: 0 0 20px; }
.message.ok { font-weight: 700; color: var(--ok); padding: 12px 16px; border-radius: var(--r-field); background: var(--ok-tint); }
.message.error, .error { color: var(--error); font-weight: 700; }
.message.error { padding: 12px 16px; border-radius: var(--r-field); background: var(--error-tint); }
.hidden, [hidden] { display: none !important; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Upload preview, course list ---------- */
.preview { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0 0; }
.preview:empty { display: none; }
.preview figure { margin: 0; width: 110px; font-size: 12px; color: var(--muted); text-align: center; overflow-wrap: anywhere; }
.preview img, .preview .pdf { width: 110px; height: 150px; object-fit: cover; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.preview .pdf { display: flex; align-items: center; justify-content: center; font-weight: 700; }
.course-list { margin: 16px 0 20px; border: 1.5px solid var(--line); border-radius: var(--r-field); }
.course-list summary { cursor: pointer; font-weight: 700; padding: 12px 16px; color: var(--action); }
.course-list ol { margin: 0; padding: 4px 16px 12px 40px; }
.course-list li { margin: 8px 0; }
.sub { font-family: var(--font-display); font-size: 17px; color: var(--ink); margin: 26px 0 12px; }
.grid > .sub { margin: 10px 0 -6px; }

altcha-widget { display: block; max-width: 320px; --altcha-border-radius: 10px; --altcha-color-border: var(--field); --altcha-color-text: var(--ink); --altcha-max-width: 320px; }

.ja-footer { max-width: 1120px; margin: 64px auto 0; padding: 0 24px 36px; border-top: 0; background: none; font-size: 14px; }
.ja-footer p { margin: 0 0 6px; }
.ja-footer::before { content: ""; display: block; border-top: 1px solid var(--line); margin-bottom: 18px; }

/* ---------- Narrow screens ---------- */
@media (max-width: 860px) {
  .paths, .split { grid-template-columns: 1fr; }
  .part { grid-template-columns: 1fr; padding: 24px 20px; }
  .send { padding: 20px; }
  .card, .panel { padding: 24px 20px; }
  .path { padding: 26px 22px; }
  .hero, .intro { padding: 36px 0 28px; }
  .wizard-form { padding-top: 36px; }
}
@media (max-width: 560px) {
  .wide { padding: 0 16px; }
  .dock { margin: 32px -16px 0; padding-left: 16px; padding-right: 16px; }
  .grid > *, .grid > [class*="n-"] { grid-column: 1 / -1 !important; }
  .grid > .n-plz, .grid > .n-neuePlz, .grid > .n-neuePlz1, .grid > .n-neuePlz2, .grid > .n-notfallPlz, .grid > .n-elternPlz, .grid > .n-eltern2Plz, .grid > .n-schulePlz { grid-column: span 2 !important; }
  .grid > .n-plz + .n-ort, .grid > .n-neuePlz + .n-neuerOrt, .grid > .n-neuePlz1 + .n-neuerOrt1, .grid > .n-neuePlz2 + .n-neuerOrt2, .grid > .n-notfallPlz + .n-notfallOrt, .grid > .n-elternPlz + .n-elternOrt, .grid > .n-eltern2Plz + .n-eltern2Ort,
  .grid > .n-schulePlz + .n-schuleOrt { grid-column: span 4 !important; }
  .review dl { grid-template-columns: 1fr; gap: 0; }
  .review dd { margin-bottom: 8px; }
  .option.block { margin-right: 0; }
  .dock-buttons button { flex: 1; padding: 13px 14px; }
  .send button, .panel button, .card button, .card a.button, .path .button { width: 100%; }
  .back a, .ja-footer a { display: inline-block; padding: 8px 0; }           /* finger-sized tap targets */
  .ja-footer a { white-space: nowrap; }
  dialog.confirm { padding: 22px 20px; }
  .confirm-buttons button { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
