/* Blauer-Rettungs-Stern – Jugendgrundausbildung / eigenständige Terminabfrage */
:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: #14274a;
  background: #f4f7fb;
  --ink: #14274a;
  --muted: #5e6e88;
  --navy: #101f4d;
  --blue: #214f93;
  --border: #dce5f0;
  --orange: #e46e38;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; }
button, input, select { font: inherit; }
button, a, input { touch-action: manipulation; }
a { color: #1a518c; }
.wrap { width: min(1080px, calc(100% - 40px)); margin-inline: auto; }

/* Institutional header: true vector silhouette, separate from the intranet. */
.site-head { background: #101f4a; color: #fff; border-bottom: 1px solid rgba(255,255,255,.13); }
.site-head .brand { min-height: 82px; display: flex; align-items: center; gap: 13px; }
.brand-logo { color: #eef4ff; width: 46px; height: 46px; flex: 0 0 46px; display: grid; place-items: center; border-radius: 13px; border: 1px solid rgba(202,225,255,.28); background: rgba(255,255,255,.06); padding: 9px; }
.brand-logo img { width: 100%; height: 100%; display: block; }
.brand-wordmark strong { display: block; font-size: 1.05rem; line-height: 1.25; letter-spacing: -.01em; }
.brand-wordmark small { display: block; margin-top: 3px; font-size: .81rem; color: #c3d4ef; }
.brand-season { margin-left: auto; padding: 6px 12px; border-radius: 999px; border: 1px solid #405782; color: #d9e6fb; font-size: .76rem; font-weight: 700; white-space: nowrap; }

main.wrap { padding: 36px 0 98px; }
.hero { position: relative; overflow: hidden; isolation: isolate; border-radius: 24px; min-height: 295px; padding: 43px 48px; margin-bottom: 18px; color: #fff; background: linear-gradient(115deg, #183463 0%, #214985 60%, #3568ab 100%); box-shadow: 0 18px 40px -28px rgba(20,53,109,.55); }
.hero::before { content: ""; position: absolute; z-index: -1; width: 550px; height: 550px; border-radius: 50%; right: -220px; top: -300px; background: radial-gradient(circle, rgba(255,255,255,.14), transparent 68%); }
.hero::after { content: ""; position: absolute; z-index: -1; width: 340px; height: 340px; border-radius: 50%; right: -240px; bottom: -235px; border: 1px solid rgba(255,255,255,.22); box-shadow: 0 0 0 55px rgba(255,255,255,.025), 0 0 0 115px rgba(255,255,255,.02); }
.hero-body { position: relative; z-index: 1; max-width: 685px; }
.eyebrow { margin: 0 0 12px; text-transform: uppercase; letter-spacing: .13em; font-size: .73rem; font-weight: 800; color: #bd5225; }
.hero .eyebrow { color: #ffd1b1; }
.hero .eyebrow span { margin: 0 .2em; color: #fff; opacity: .6; }
h1, h2, h3 { color: #14274a; line-height: 1.2; letter-spacing: -.024em; }
h1 { margin: 0 0 15px; font-size: clamp(2rem, 4.7vw, 3.3rem); }
h2 { margin: 0 0 12px; font-size: 1.23rem; }
h3 { margin: 22px 0 12px; font-size: 1.05rem; }
p { margin: .5em 0 1em; }
.hero h1 { color: #fff; font-size: clamp(2.45rem, 5vw, 3.55rem); letter-spacing: -.045em; margin: 0 0 13px; line-height: 1.08; }
.hero p.hero-lead { font-size: 1.02rem; line-height: 1.67; max-width: 640px; color: #e3edff; margin: 0 0 23px; }
.hero-lead strong { color: #fff; font-weight: 750; }
.facts { display: flex; gap: 8px; flex-wrap: wrap; }
.facts span { display: inline-flex; align-items: center; gap: 5px; color: #eff5ff; border: 1px solid rgba(234,245,255,.34); background: rgba(12,31,78,.22); border-radius: 999px; padding: 7px 13px; font-size: .79rem; }
.facts strong { font-weight: 800; color: #fff; }
.hero-motif { display: none; }

/* Helpful steps rather than a second large callout. */
.how-to { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 3vw, 36px); background: #fff; border: 1px solid #e0e8f3; border-radius: 16px; padding: 17px 22px; margin-bottom: 28px; box-shadow: 0 6px 22px -20px rgba(26,50,90,.3); }
.how-item { display: flex; align-items: center; gap: 9px; font-size: .85rem; font-weight: 650; color: #52637e; white-space: nowrap; }
.how-number { width: 29px; height: 29px; border-radius: 10px; display: inline-grid; place-items: center; font-weight: 800; font-size: .75rem; color: #28568b; background: #edf4fd; }
.how-divider { height: 1px; width: 35px; background: #dfe7f1; }

.panel { background: #fff; border: 1px solid var(--border); border-radius: 19px; padding: clamp(20px, 3.25vw, 31px); margin-bottom: 18px; box-shadow: 0 8px 24px -22px rgba(17,47,94,.3); }
.section-title { display: flex; align-items: flex-start; gap: 13px; margin: 0 0 22px; }
.section-index { color: #25598e; background: #edf4fb; border-radius: 11px; width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; font-weight: 800; font-size: .81rem; }
.section-title h2 { margin: 1px 0 4px; }
.section-title p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.6; }
.name-panel > label { margin-top: 6px; }
label { display: block; font-weight: 650; margin-bottom: 7px; }
input:not([type="radio"]), select { border: 1px solid #becce1; border-radius: 11px; color: var(--ink); background: #fff; padding: 12px 15px; max-width: 100%; outline-offset: 2px; }
input:not([type="radio"]) { width: 100%; }
input::placeholder { color: #79869d; }
input:not([type="radio"]):hover, select:hover { border-color: #94aaca; }
input:not([type="radio"]):focus, select:focus, button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid rgba(236,119,64,.55); outline-offset: 3px; }
.name-panel input { height: 51px; font-size: .96rem; }
.hint, small { color: #697992; font-size: .83rem; }
.privacy-hint { margin: 11px 0 0; }
.availability-intro { display: flex; gap: 16px; align-items: flex-end; justify-content: space-between; margin: 29px 2px 16px; }
.availability-intro .section-title { margin: 0; }
.availability-intro .section-title p { max-width: 620px; }
.availability-key { display: flex; align-items: center; gap: 13px; flex-wrap: wrap; white-space: nowrap; }
.availability-key span { display: flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 650; color: #62728a; }
.key-dot { display: inline-block; width: 8px; height: 8px; border-radius: 100%; }
.dot-yes { background: #239c79; }
.dot-maybe { background: #d99a36; }
.dot-no { background: #99a8bf; }

.month { padding-top: 23px; }
.month-head { display: flex; align-items: center; gap: 12px; margin-bottom: 17px; padding-bottom: 17px; border-bottom: 1px solid #eaf0f7; }
.month-head h2 { margin: 0; font-size: 1.19rem; }
.month-count { margin-left: auto; color: #60738f; background: #f2f5fa; border-radius: 99px; padding: 5px 10px; font-size: .75rem; font-weight: 700; }
.date-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 11px; }
.date-entry { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; min-height: 84px; padding: 13px 14px; border-radius: 14px; border: 1px solid #e2e9f3; background: #fbfcfe; transition: border-color .15s ease, background .15s ease, box-shadow .15s ease; }
.date-entry:hover { border-color: #c2d3e9; box-shadow: 0 5px 17px -14px rgba(35,67,118,.4); }
.date-entry:has(input[value="yes"]:checked) { border-color: #a6d9ca; background: #f7fcfa; }
.date-entry:has(input[value="maybe"]:checked) { border-color: #edd3a6; background: #fffcf7; }
.date-info { min-width: 0; }
.date-info strong { display: block; white-space: nowrap; font-size: .84rem; font-weight: 750; color: #203356; }
.date-info small { display: block; margin-top: 3px; white-space: nowrap; font-size: .72rem; color: #697b95; }
.vote-options { padding: 3px; margin: 0; flex: 0 0 auto; display: flex; gap: 2px; align-items: stretch; border: 1px solid #dee6f1; background: #edf2f9; border-radius: 10px; min-width: 0; }
.vote-option { position: relative; margin: 0; cursor: pointer; display: flex; align-items: stretch; min-width: 0; }
.vote-option input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.vote-option span { display: grid; place-items: center; padding: 9px 8px; min-height: 36px; min-width: 35px; border-radius: 7px; color: #64738c; font-size: .73rem; line-height: 1.1; font-weight: 750; transition: background .15s ease, box-shadow .15s ease, color .15s ease; }
.vote-option:nth-child(2) span { min-width: 69px; }
.vote-option input:not(:disabled):focus-visible + span { outline: 3px solid #f1884d; outline-offset: 2px; }
.vote-option input:not(:disabled):hover + span { color: #173760; background: rgba(255,255,255,.55); }
.vote-option input:checked + span { background: #fff; color: #294064; box-shadow: 0 2px 6px rgba(22,47,87,.12); }
.vote-option input[value="yes"]:checked + span { background: #def4e9; color: #0d684c; }
.vote-option input[value="maybe"]:checked + span { background: #fff0d3; color: #80551d; }
.vote-option input[value="no"]:checked + span { background: #fff; color: #52617b; }
.vote-options:disabled { opacity: .65; }

.submit-bar { position: sticky; bottom: 12px; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 15px 21px 15px 23px; background: rgba(255,255,255,.98); border: 1px solid #d5e2f1; border-radius: 17px; box-shadow: 0 14px 38px rgba(18,42,80,.15); backdrop-filter: blur(12px); }
.submit-copy strong { display: block; color: #183d6e; font-weight: 800; font-size: .9rem; }
.submit-copy p { margin: 3px 0 0; max-width: 600px; color: #64738a; font-size: .78rem; line-height: 1.5; }
.primary, .secondary, .ghost, .danger { border: 1px solid transparent; border-radius: 11px; padding: 11px 17px; cursor: pointer; white-space: nowrap; font-weight: 750; line-height: 1.4; }
.primary { background: #be4a19; color: #fff; box-shadow: 0 5px 12px rgba(195,80,26,.14); }
.primary:hover { background: #a64014; }
.primary:disabled { opacity: .5; cursor: not-allowed; }
.submit-bar .primary { padding: 14px 23px; }
.submit-bar .primary span { margin-left: 11px; font-size: 1.13rem; }
.secondary { color: #174d87; background: #eaf2fb; border-color: #d5e2f3; }
.secondary:hover { background: #daeaf8; }
.ghost { color: #35547c; background: #fff; border-color: #cdd9e9; }
.ghost:hover { background: #f3f7fd; }
.danger { color: #992d3c; background: #fff2f3; border-color: #edc9cf; padding: 8px 11px; font-size: .81rem; }
button, .link-button { transition: background .15s ease, transform .15s ease; }
button:active, .link-button:active { transform: translateY(1px); }
.link-button { display: inline-flex; justify-content: center; align-items: center; text-decoration: none; }

/* Protected administration keeps the same visual language without exposing its data. */
.narrow { max-width: 560px; margin-inline: auto; }
.narrow form button { margin-top: 14px; }
.narrow p { color: #566a89; }
.narrow .eyebrow { color: #b94d23; }
.narrow h1 { font-size: 2rem; }
.admin-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin: 0 0 20px; }
.admin-top h1 { margin: .1em 0; }
.admin-top p:not(.eyebrow) { color: #677894; font-size: .87rem; }
.admin-top form { margin-top: 10px; }
.share, .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.share input { flex: 1; min-width: 120px; }
.actions { align-items: center; margin: 16px 0 22px; }
.actions form { margin: 0; }
.table-scroll { max-width: 100%; overflow-x: auto; border: 1px solid #e0e8f2; border-radius: 13px; }
table { border-collapse: collapse; min-width: 650px; width: 100%; font-size: .86rem; }
th, td { border-bottom: 1px solid #e5ecf5; padding: 12px 13px; text-align: left; vertical-align: top; }
thead { background: #f1f5fb; color: #28496f; }
tr:last-child td { border-bottom: 0; }
.nowrap { white-space: nowrap; }
.selected-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin: 18px 0; }
.selected-date { background: #f1f6fc; border: 1px solid #dce7f4; border-radius: 12px; padding: 13px; }
.selected-date strong, .selected-date small { display: block; }
.selected-date small { margin-top: 4px; }
.alert { color: #70551d; background: #fff8e9; border: 1px solid #efdab1; border-radius: 13px; padding: 14px 17px; margin-bottom: 18px; }
.alert.success { color: #155739; border-color: #bae2ce; background: #eefaf2; }
.alert.error { color: #8b2632; border-color: #efc0c6; background: #fff2f3; }
.alert button { margin-left: 10px; }
.details, details { margin-top: 12px; }
details summary { cursor: pointer; font-weight: 700; color: #23486f; }
details form { max-width: 600px; margin-top: 18px; }
.inline-form { margin: 0; }
.footer { color: #647792; border-top: 1px solid #e1e9f3; padding: 24px 0 32px; font-size: .8rem; }
.footer a { color: #325d8f; text-underline-offset: 3px; }
.honey, .sr-only { position: absolute!important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (min-width: 1120px) {
  .hero-body { max-width: 650px; }
  .hero-motif { display: flex; flex-direction: column; justify-content: center; position: absolute; right: 65px; top: 46px; width: 210px; min-height: 212px; padding: 23px; text-align: center; border-radius: 20px; border: 1px solid rgba(237,248,255,.23); background: rgba(243,249,255,.09); transform: rotate(6deg); box-shadow: 0 16px 42px rgba(13,35,74,.09); }
  .motif-top { font-size: .64rem; letter-spacing: .18em; color: #d8e7fa; font-weight: 800; }
  .motif-heading { font-size: 1.3rem; font-weight: 800; margin: 12px 0 3px; letter-spacing: -.02em; }
  .motif-mark { display: grid; place-items: center; width: 60px; height: 60px; margin: 8px auto; color: #fff; background: rgba(240,250,255,.18); border: 1px solid rgba(255,255,255,.2); font-size: 2rem; border-radius: 20px; }
  .motif-foot { margin-top: 6px; font-size: .77rem; color: #cfe0f9; }
}
@media (max-width: 1050px) {
  .availability-intro { align-items: flex-start; flex-direction: column; }
  .date-info strong { font-size: .82rem; }
}
@media (max-width: 890px) {
  .date-list { grid-template-columns: 1fr; }
  .date-entry { padding: 13px 16px; }
  .date-info strong { font-size: .91rem; }
  .vote-option span { min-width: 48px; }
  .vote-option:nth-child(2) span { min-width: 88px; }
}
@media (max-width: 600px) {
  .wrap { width: min(100% - 28px, 1080px); }
  .site-head .brand { min-height: 74px; gap: 11px; }
  .brand-logo { width: 41px; height: 41px; flex-basis: 41px; padding: 7px; }
  .brand-wordmark strong { font-size: .93rem; }
  .brand-wordmark small { font-size: .71rem; }
  .brand-season { display: none; }
  main.wrap { padding: 18px 0 107px; }
  .hero { min-height: 0; padding: 28px 25px 30px; border-radius: 19px; }
  .hero h1 { font-size: clamp(2.35rem, 9vw, 3rem); }
  .hero p.hero-lead { font-size: .93rem; margin-bottom: 18px; }
  .hero .eyebrow { font-size: .64rem; }
  .facts span { padding: 6px 9px; font-size: .72rem; }
  .how-to { flex-wrap: wrap; justify-content: flex-start; row-gap: 12px; padding: 13px 15px; margin-bottom: 19px; }
  .how-item { font-size: .76rem; }
  .how-number { width: 25px; height: 25px; border-radius: 8px; }
  .how-divider { width: 10px; }
  .panel { border-radius: 16px; padding: 20px 18px; margin-bottom: 14px; }
  .section-title { gap: 10px; margin-bottom: 19px; }
  .section-index { width: 32px; height: 32px; flex-basis: 32px; }
  .section-title h2 { font-size: 1.16rem; }
  .availability-intro { margin-top: 23px; }
  .availability-key { gap: 12px; }
  .month-head { margin-bottom: 13px; }
  .date-entry { flex-wrap: wrap; gap: 10px; }
  .date-info strong { font-size: .88rem; }
  .vote-options { width: 100%; }
  .vote-option { flex: 1; }
  .vote-option span, .vote-option:nth-child(2) span { min-width: 0; width: 100%; font-size: .8rem; padding: 10px 6px; }
  .submit-bar { padding: 13px; flex-direction: column; align-items: stretch; gap: 11px; bottom: 8px; }
  .submit-copy strong { font-size: .87rem; }
  .submit-copy p { font-size: .74rem; }
  .submit-bar .primary { width: 100%; justify-content: center; }
  .share, .admin-top { flex-direction: column; }
  .share input, .share button { width: 100%; }
  .actions>* { width: 100%; }
  .actions form button { width: 100%; }
  .selected-grid { grid-template-columns: 1fr; }
}
@media (max-width: 390px) {
  .how-divider { display: none; }
  .how-to { gap: 8px; }
  .how-item { gap: 5px; font-size: .7rem; }
  .hero .facts { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none!important; }
}

/* October 2026 identity refresh: authentic BRS artwork and clearer participation flow. */
.site-head { background: linear-gradient(112deg,#0e1f46 0%,#162f61 100%); border-bottom-color:rgba(255,255,255,.16); }
.site-head .brand { min-height:92px; gap:17px; }
.brand-logo { width:62px; height:62px; flex:0 0 62px; display:grid; place-items:center; padding:5px; background:#fff; border:1px solid rgba(255,255,255,.9); border-radius:17px; box-shadow:0 7px 23px rgba(2,14,48,.16); }
.brand-logo img { width:100%; height:100%; display:block; object-fit:contain; }
.brand-wordmark strong { font-size:1.13rem; letter-spacing:-.018em; }
.brand-wordmark small { letter-spacing:.01em; color:#c8d8f2; }
.hero { min-height:264px; background:linear-gradient(119deg,#142d60 0%,#244b8b 65%,#386bb0 100%); }
.hero-body { max-width:790px; }
.how-to { margin-bottom:16px; }
.membership-note { display:grid; grid-template-columns:42px minmax(0,1fr) auto; align-items:center; gap:17px; border:1px solid #e9d2b9; border-left:4px solid #db7543; border-radius:16px; background:linear-gradient(112deg,#fff9f2 0%,#fffdfb 80%); padding:20px 23px; margin-bottom:30px; box-shadow:0 7px 21px -21px rgba(90,55,33,.3); }
.membership-marker { display:grid; place-items:center; align-self:start; width:40px; height:40px; border:1px solid #f2d3b9; border-radius:13px; background:#ffebd9; color:#9d431e; font-size:1.14rem; font-weight:850; font-style:italic; }
.membership-content { min-width:0; }
.membership-eyebrow { margin:0 0 4px; font-size:.69rem; font-weight:850; letter-spacing:.13em; text-transform:uppercase; color:#a34d28; }
.membership-content h2 { margin:0 0 7px; color:#23375b; font-size:clamp(.98rem,1.6vw,1.16rem); line-height:1.35; letter-spacing:-.014em; }
.membership-content p:last-child { margin:0; max-width:675px; color:#5c6376; font-size:.85rem; line-height:1.64; }
.membership-content p strong { color:#314363; font-weight:700; }
.membership-action { display:inline-flex; justify-content:center; align-items:center; gap:9px; padding:12px 17px; border-radius:11px; border:1px solid #e4a980; background:#fff; color:#995027; font-weight:790; font-size:.82rem; text-decoration:none; white-space:nowrap; box-shadow:0 3px 10px rgba(116,64,29,.055); transition:background .16s ease,border-color .16s ease; }
.membership-action:hover { background:#fff3e7; border-color:#d7824a; }
.membership-action span { font-size:1.07rem; }
@media (min-width:601px) and (max-width:900px) {
  .membership-note { grid-template-columns:42px minmax(0,1fr); }
  .membership-action { grid-column:2; justify-self:start; }
}
@media (max-width:600px) {
  .site-head .brand { min-height:74px; gap:12px; }
  .brand-logo { width:48px; height:48px; flex-basis:48px; border-radius:13px; padding:4px; }
  .brand-wordmark strong { font-size:.95rem; }
  .how-to { margin-bottom:13px; }
  .membership-note { grid-template-columns:36px minmax(0,1fr); gap:9px 12px; padding:17px 15px; border-radius:14px; margin-bottom:21px; }
  .membership-marker { width:34px; height:34px; border-radius:11px; }
  .membership-content h2 { font-size:1.01rem; }
  .membership-content p:last-child { font-size:.81rem; }
  .membership-action { grid-column:2; justify-self:start; margin-top:6px; padding:10px 13px; }
}

/* Protected, standalone email delivery settings */
.notification-panel { border-top:3px solid #234e8d; }
.notification-panel p { max-width:680px; }
.notification-panel .notification-status { background:#f1f6fc; border-radius:10px; padding:11px 14px; color:#28486d; overflow-wrap:anywhere; }
.notify-settings { max-width:690px; margin-top:22px; border-top:1px solid #e1eaf4; padding-top:16px; }
.notify-settings summary { cursor:pointer; font-weight:750; }
.notify-settings form { display:grid; gap:9px; margin-top:18px; }
.notify-settings form label { margin:10px 0 0; }
.notify-settings form .primary { justify-self:start; margin-top:10px; }
@media(max-width:600px) { .notify-settings form .primary { width:100%; } }
