/* Team, Begegnungen und WoBo – erster Entwurf, 13.11.2026. */
.team-gallery{display:grid;grid-template-columns:1fr 1fr;gap:24px;text-align:left;margin:32px 0 0}.team-gallery figure{min-width:0}.photo-open{display:block;width:100%;padding:0;background:#142b40;border-radius:16px;overflow:hidden;text-align:left}.photo-open img{width:100%;height:auto;transition:filter .2s}.photo-open:hover img{filter:brightness(1.06)}.team-gallery .photo-open img{aspect-ratio:1.53;object-fit:contain}.team-gallery figcaption{font-size:14pt;line-height:1.55;margin-top:14px;color:#405462}.photo-open:focus-visible{outline:3px solid #a05c00;outline-offset:5px}
.team-award{display:grid;grid-template-columns:190px 1fr;align-items:center;gap:26px;padding:28px 0;margin:6px 0 30px;text-align:left}.team-award .photo-open{border-radius:10px}.team-award p{font-size:21px;line-height:1.55;margin:0}.team-award strong,.team-award span{display:block}.team-award strong{font-weight:500}.team-award span{margin-top:6px;color:#566471;font-size:14pt}
.encounters{padding:45px 0 44px;border-top:1px solid #ccd1cd}.encounter-heading{display:flex;justify-content:space-between;align-items:baseline;gap:22px;margin-bottom:27px}.encounter-heading h2{font-size:clamp(38px,4.4vw,64px);letter-spacing:-.055em}.encounter-heading h2 span{color:#a75b00}.encounter-heading p{font-size:14pt;line-height:1.5;color:#566471}.encounter-controls{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-bottom:20px}.encounter-controls button{min-height:48px;padding:9px 15px;border:1px solid #142b4055;border-radius:11px;font-size:14pt;line-height:1.5;background:#f4f1e9;white-space:nowrap}.encounter-controls .encounter-step{min-width:49px;font-size:27px;line-height:1.1;background:#142b40;color:#f4f1e9;border-color:#142b40}.encounter-controls button:hover{border-color:#142b40}.encounter-controls .encounter-step:hover{background:#294357}.encounter-toggle[aria-pressed=true]{background:#fa9d1c;border-color:#fa9d1c;color:#111}.encounter-strip{display:flex;gap:22px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#a65b00 #e1ded5;padding:3px 3px 18px;margin:0 -3px}.encounter-card{flex:0 0 calc(46% - 11px);min-width:0;scroll-snap-align:start;scroll-snap-stop:always}.encounter-card .photo-open{border-radius:15px}.encounter-card .photo-open img{height:auto;aspect-ratio:1.5;object-fit:contain;background:#142b40}.encounter-card figcaption{font-size:14pt;line-height:1.5;margin-top:16px}.encounter-card figcaption strong{display:block;font-size:22px;line-height:1.3;font-weight:500;letter-spacing:-.025em;overflow-wrap:break-word}.encounter-card figcaption span{display:block;color:#566471;margin-top:7px}
.wobo-section{background:#142b40;color:#f4f1e9;padding:38px 36px 35px;border-radius:24px;margin-bottom:70px;margin-top:16px}.wobo-years{font-size:22px;line-height:1.5;color:#fa9d1c;margin-bottom:15px}.wobo-section h2{font-size:clamp(30px,3.4vw,49px);line-height:1.15;letter-spacing:-.045em;overflow-wrap:break-word;max-width:900px}.wobo-section h2 span{color:#fa9d1c}.wobo-intro{font-size:clamp(23px,2.1vw,29px);line-height:1.5;max-width:760px;margin:25px 0 28px;letter-spacing:-.015em}.wobo-player{position:relative;background:#081825;aspect-ratio:16/9;overflow:hidden;border-radius:13px}.wobo-player video{display:block;width:100%;height:100%;object-fit:contain}.wobo-play{position:absolute;left:18px;right:18px;bottom:18px;background:#f4f1e9;color:#142b40;border-radius:9px;min-height:53px;font-size:21px;line-height:1.4;padding:13px 18px;text-align:left;display:flex;align-items:center;justify-content:space-between;gap:15px}.wobo-play>span:last-child{font-size:24px}.wobo-remembrance{font-size:14pt;line-height:1.6;color:#d3dee5;margin-top:20px}.wobo-thanks{font-size:clamp(48px,5.5vw,80px);line-height:1.1;letter-spacing:-.055em;color:#fa9d1c;margin-top:27px;font-weight:400}.wobo-error{position:absolute;inset:15px;background:#f4f1e9;color:#142b40;font-size:14pt;line-height:1.5;padding:22px;overflow:auto}.wobo-error a{text-decoration:underline;display:inline-block;margin-top:12px}
.memory-dialog{position:fixed;inset:0;width:min(1340px,calc(100% - 36px));max-width:none;height:auto;max-height:calc(100dvh - 36px);padding:22px;border:0;border-radius:18px;background:#142b40;color:#f4f1e9;margin:auto;overflow:auto;box-shadow:0 25px 90px #0007}.memory-dialog::backdrop{background:#07131de8}.memory-dialog-head{display:flex;justify-content:flex-end;margin-bottom:18px}.memory-close{min-height:46px;padding:10px 17px;font-size:14pt;line-height:1.4;border:1px solid #c6d4df;border-radius:10px;background:#f4f1e9;color:#142b40}.memory-dialog figure{margin:0}.memory-dialog img{width:100%;height:auto;max-height:calc(100dvh - 205px);object-fit:contain;margin:auto}.memory-dialog figcaption{font-size:20px;line-height:1.5;margin-top:18px}body.has-memory-dialog{overflow:hidden}
@media(max-width:900px){.encounter-card{flex-basis:calc(61% - 11px)}.team-award{grid-template-columns:150px 1fr;gap:20px}.wobo-section{padding:32px 28px}.encounter-heading{align-items:flex-start;flex-direction:column;gap:12px}.encounter-heading p{margin:0}}
@media(max-width:600px){.team-gallery{grid-template-columns:1fr;gap:27px}.team-award{grid-template-columns:1fr;gap:17px;padding:26px 0;margin-bottom:26px}.team-award .photo-open{max-width:230px}.team-award p{font-size:21px}.encounters{padding-top:32px;padding-bottom:32px}.encounter-heading{margin-bottom:22px}.encounter-heading h2{font-size:39px}.encounter-controls{justify-content:flex-start;gap:9px;flex-wrap:wrap}.encounter-controls button{padding:9px 12px}.encounter-strip{gap:17px}.encounter-card{flex-basis:88%}.encounter-card figcaption strong{font-size:22px}.wobo-section{padding:27px 20px 28px;border-radius:18px;margin-top:12px;margin-bottom:45px}.wobo-years{font-size:21px}.wobo-section h2{font-size:clamp(28px,6.8vw,37px)}.wobo-intro{font-size:23px;margin:24px 0}.wobo-play{left:10px;right:10px;bottom:10px;padding:11px 12px;font-size:14pt;min-height:49px}.wobo-player{border-radius:8px}.wobo-remembrance{font-size:14pt}.wobo-thanks{font-size:52px}.memory-dialog{width:calc(100% - 22px);max-height:calc(100dvh - 22px);padding:15px;border-radius:14px}.memory-dialog img{max-height:calc(100dvh - 225px)}.memory-dialog figcaption{font-size:14pt}}
@media(prefers-reduced-motion:reduce){.photo-open img{transition:none}.encounter-strip{scroll-behavior:auto}}
@media(max-width:600px){.wobo-player{aspect-ratio:auto;overflow:visible;background:none}.wobo-player video{aspect-ratio:16/9;height:auto;border-radius:8px;background:#081825}.wobo-play{position:static;width:100%;margin-top:11px}.wobo-error{position:relative;inset:auto;margin-top:12px;border-radius:8px}}
.people-section,.encounters,.wobo-section{scroll-margin-top:calc(var(--mdkk-header-height,92px) + 18px)}
.memory-dialog{height:fit-content}

/* Textkorrektur: Nachruf sofort erkennbar, Einleitung auf grossen Ansichten einzeilig. */
.wobo-section h2 .wobo-life{color:inherit;white-space:nowrap}
.wobo-intro{max-width:none}
@media(min-width:1200px){.wobo-intro{font-size:clamp(14pt,1.55vw,26px)}}

/* Vita-Schalter unmittelbar unter dem Namen. */
.joerg-disclosure summary{justify-content:flex-start;gap:44px}
.joerg-identity{display:flex;flex-direction:column;align-items:flex-start;gap:8px;flex-wrap:nowrap}
.joerg-toggle{width:auto;justify-content:flex-start;gap:12px;font-size:14pt}
.joerg-career{margin-top:0}
@media(max-width:600px){.joerg-disclosure summary{align-items:flex-start;gap:22px}.joerg-identity{gap:9px}.joerg-career{margin-top:0}}

/* A second click on the enlarged photo returns to the gallery. */
.memory-dialog img{cursor:zoom-out}

/* Preview photos signal that a larger view is available. */
.photo-open,.photo-open img{cursor:url("lupe-plus.svg") 12 12,zoom-in}
