/* DenkDa – Anmeldeformular, Terminhinweise, Weiterlesen */
dialog.anm{border:0;padding:0;border-radius:16px;width:min(560px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;box-shadow:0 30px 80px rgba(8,30,55,.35);color:#1d2b3a;background:#fff}
dialog.anm::backdrop{background:rgba(8,26,46,.62);backdrop-filter:blur(2px)}
.anm-form,.anm-danke{position:relative;padding:clamp(22px,4vw,36px);border-top:5px solid #d3a13c}
.anm-k{font-family:var(--fh,Montserrat,sans-serif);font-size:12px;letter-spacing:.2em;text-transform:uppercase;font-weight:600;color:#8a6700;margin:0 0 8px}
dialog.anm h2{font-size:clamp(22px,3.2vw,28px);line-height:1.2;color:#0f3557;margin:0 0 10px;padding-right:36px}
.anm-text,.anm-danke-text{font-size:16px;line-height:1.55;color:#3c4b5c;margin:0 0 18px}
.anm-felder{display:grid;gap:14px}
.anm-felder label{display:grid;gap:6px;font-family:var(--fh,Montserrat,sans-serif);font-size:14px;font-weight:600;color:#0f3557}
.anm-felder label span{font-weight:400;color:#5b6878}
.anm-felder input:not([type=checkbox]),.anm-felder select,.anm-felder textarea{font:inherit;font-family:system-ui,-apple-system,'Segoe UI',sans-serif;font-weight:400;font-size:16px;color:#1d2b3a;background:#fbfaf6;border:1px solid #cfd6de;border-radius:10px;padding:12px 14px;width:100%;box-sizing:border-box}
.anm-felder input:focus,.anm-felder select:focus,.anm-felder textarea:focus{outline:3px solid rgba(211,161,60,.45);border-color:#d3a13c}
.anm-felder label.anm-ok{display:flex;gap:10px;align-items:flex-start;font-family:system-ui,-apple-system,'Segoe UI',sans-serif;font-weight:400;font-size:14px;line-height:1.45;color:#3c4b5c}
.anm-ok input{width:20px;height:20px;margin:1px 0 0;flex:0 0 auto;accent-color:#0f3557}
.anm-ok span{color:#3c4b5c!important}
.anm-ok a{color:#0f3557}
.anm-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.anm-fehler{background:#fff3f0;border:1px solid #e8b4a8;color:#8a2a14;border-radius:10px;padding:10px 14px;font-size:14.5px;margin:14px 0 0}
.anm-fehler a{color:#8a2a14;font-weight:600}
.anm-senden,.anm-fertig{width:100%;justify-content:center;margin-top:18px;background:#d3a13c!important;border-color:#d3a13c!important;color:#0f3557!important;font-weight:700}
.anm-senden:hover,.anm-fertig:hover{background:#e3b552!important}
.anm-senden[disabled]{opacity:.7;cursor:wait}
.anm-klein{font-size:13px;color:#5b6878;text-align:center;margin:12px 0 0}
.anm-zu{position:absolute;top:12px;right:12px;width:40px;height:40px;border-radius:50%;border:1px solid #dde3ea;background:#fff;font-size:24px;line-height:1;color:#0f3557;cursor:pointer}
.anm-zu:hover{background:#f4efe2}
[hidden]{display:none!important}

/* Nächster Termin */
.termin-hinweis{display:flex;gap:10px;align-items:flex-start;background:rgba(211,161,60,.14);border:1px solid rgba(211,161,60,.5);border-radius:10px;padding:10px 14px;margin:0 0 16px;font-size:14.5px;line-height:1.5;color:#fff}
.termin-hinweis::before{content:"";flex:0 0 18px;height:18px;margin-top:2px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0c975' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E") center/18px no-repeat}
.termin-hinweis b{color:#f0c975;font-weight:700}
.termin-hell{color:#1d2b3a;background:#fbf4e3}
.termin-hell::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a6700' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E")}
.termin-hell b{color:#0f3557}
.az-w-t{display:block;font-size:13.5px;color:#8a6700;font-weight:600;margin-top:6px}

/* Weiterlesen bei den Geschichten */
details.az-mehr{margin:4px 0 0}
details.az-mehr>summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:10px;font-family:var(--fh,Montserrat,sans-serif);font-weight:700;font-size:16px;color:#0f3557;padding:10px 18px;border:1.5px solid #d3a13c;border-radius:999px;background:#fff}
details.az-mehr>summary::-webkit-details-marker{display:none}
details.az-mehr>summary::after{content:"+";font-size:20px;line-height:1;color:#8a6700}
details.az-mehr[open]>summary::after{content:"–"}
details.az-mehr>summary:hover{background:#fbf4e3}
details.az-mehr[open]>summary{margin-bottom:18px}
details.az-mehr .zu{display:none}
details.az-mehr[open] .auf{display:none}
details.az-mehr[open] .zu{display:inline}
.anm-felder label .anm-l{display:block;font-weight:600;color:#0f3557!important}
.anm-felder label .anm-l span{font-weight:400;color:#5b6878!important}
.az-story .termin-hinweis{margin:28px 0 0!important}
.az-story .az-weiter{margin:14px 0 0!important;font-size:16px}
.az-story .az-weiter a{white-space:normal}

/* Leerer Datumsplatzhalter – Termine werden später eingetragen */
.termin-hinweis .termin-leer,.termin-leer{display:inline-block;min-width:8em;padding:0 .3em;border-bottom:1.5px dashed currentColor;font-weight:400;font-style:normal;text-align:left}
.az-w--lk .az-w-t{color:#e9c46a}
