/* Verwaltung und dezenter Besucherzähler – Update 01 */
.cms-tabbed [hidden] { display: none !important; }
.redaktion-page .hours-tab { display: none; }
.cms-admin-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.cms-admin-header h2 { margin: 6px 0 12px; font-size: clamp(28px, 4vw, 38px); line-height: 1.15; }
.cms-admin-header .eyebrow { color: #57708f; }
.cms-admin-header #cms-account { margin: 0; overflow-wrap: anywhere; }
.cms-admin-session { flex-shrink: 0; }
.cms-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 7px; background: #eaf0f7; border: 1px solid #dbe3ee; border-radius: 12px; margin-bottom: 28px; }
.cms-tabs [role="tab"] { flex: 1 1 auto; min-height: 48px; padding: 12px 17px; border: 0; border-radius: 7px; background: transparent; color: #304768; font: inherit; font-weight: 600; font-size: 15px; line-height: 1.4; cursor: pointer; white-space: nowrap; }
.cms-tabs [role="tab"]:hover { background: #dce6f3; color: #17376b; }
.cms-tabs [role="tab"][aria-selected="true"] { color: #fff; background: #1b386c; box-shadow: 0 2px 5px #1835651f; }
.cms-tabs [role="tab"]:focus-visible, .cms-tab-panel:focus-visible { outline: 3px solid #3e78bb; outline-offset: 3px; }
.cms-tab-panel { min-width: 0; }
.cms-tabbed .cms-tab-panel > .cms-tab-section { border: 1px solid #dbe3ee; border-radius: 12px; padding: 28px; margin: 0 0 22px; background: #fff; box-shadow: 0 4px 18px #16345e06; }
.cms-tab-section > summary { display: none; }
.cms-tab-section > .cms-tab-heading { margin: 0 0 24px; font-size: 25px; line-height: 1.3; color: #1b386c; }
.cms-tab-section > div { padding: 0; }
.cms-tabbed .cms-toolbar { padding: 4px 0; }
.cms-tabbed .cms-toolbar h2 { font-size: 26px; }
.cms-tabbed .cms-help { background: #f6f8fb; border: 1px solid #e0e7ef; border-radius: 8px; }
.cms-tabbed .cms-list { margin-bottom: 24px; }
.cms-tabbed .cms-list-item { padding: 22px; border: 1px solid #dbe3ee; border-radius: 10px; margin-bottom: 12px; background: white; }
.cms-tabbed .cms-list-item h3 { margin-top: 6px; }
.cms-tabbed .cms-panel { border-radius: 10px; }
.cms-tabbed .cms-filters { margin: 24px 0; }
.cms-tabbed .cms-filters input, .cms-tabbed .cms-filters select, .cms-tabbed .cms-panel input, .cms-tabbed .cms-panel select, .cms-tabbed .cms-panel textarea { border-radius: 5px; }
.stats-paused { padding: 25px; border: 1px solid #cfdae9; border-radius: 10px; background: #f1f5fa; }
.stats-paused-label { display: inline-flex; align-items: center; gap: 8px; color: #536781; font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.stats-paused-label::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #71849e; }
.stats-paused h3 { margin: 12px 0 8px; font-size: 24px; }
.stats-paused p { margin: 0; max-width: 65ch; }
.cms-tabbed .stats-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cms-tabbed .stats-kpis > div { border: 1px solid #dbe3ee; border-radius: 8px; background: #f6f8fb; }
.cms-tabbed .stats-kpis strong { font-size: clamp(22px, 2.5vw, 30px); overflow-wrap: anywhere; }
.cms-tabbed .stats-kpis span { font-size: 13px; color: #425a79; }
.stats-actions { margin-top: 24px; }
.stats-download-summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; padding: 20px 0; border-top: 1px solid #dbe3ee; border-bottom: 1px solid #dbe3ee; margin: 28px 0; }
.stats-download-summary span { font-size: 13px; color: #425a79; }
.cms-footer { padding-top: 18px; padding-bottom: 24px; }
.cms-footer[hidden] { display: none !important; }
.visitor-counter { display: inline-flex; align-items: center; gap: 12px; padding: 10px 15px; border: 1px solid #ffffff30; border-radius: 8px; color: #fff; background: #ffffff08; font-size: 13px; line-height: 1.4; text-decoration: none; }
.visitor-counter svg { width: 20px; height: 20px; opacity: .8; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.visitor-counter-label { display: block; color: #e0e8f5; }
.visitor-counter strong { font-size: 17px; font-variant-numeric: tabular-nums; }
.visitor-counter-period { display: block; color: #d4deed; font-size: 11px; margin-top: 2px; }
.visitor-counter { font-family: inherit; text-align: left; cursor: pointer; }
.visitor-counter:hover { background: #ffffff17; border-color: #ffffff70; }
.visitor-counter:focus-visible { outline: 3px solid white; outline-offset: 4px; }
.stats-regions { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; }
.statistics-dialog .stats-kpis { grid-template-columns: repeat(2, minmax(0,1fr)); }
.statistics-dialog .stats-kpis > div { border: 1px solid #dbe3ee; border-radius: 8px; }
.stats-region { padding: 22px; border: 1px solid #dbe3ee; border-radius: 10px; background: #f3f6fa; }
.stats-region strong { display: block; color: #19386c; font-size: 30px; line-height: 1.3; }
.stats-region span { display: block; margin-top: 6px; font-weight: 600; }
.stats-source { font-size: 12px; color: #536781; line-height: 1.6; margin-top: 18px; }
.stats-source a { color: inherit; }
.stats-section-title { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; margin-bottom:20px; }
.stats-section-title h3 { margin:0 0 6px; font-size:24px; }
.stats-section-title p { margin:0; color:#5c6b80; font-size:13px; }
.stats-period-tag { border:1px solid #cbd9e9; border-radius:20px; padding:5px 11px; color:#24446d; font-size:12px; white-space:nowrap; }
.stats-trend { margin:30px 0; padding:24px; border:1px solid #d8e2ef; border-radius:12px; background:#fff; }
.stats-trend-summary { display:flex; gap:28px; flex-wrap:wrap; color:#566b84; font-size:12px; margin-bottom:15px; }
.stats-trend-summary strong { display:block; color:#19386c; font-size:25px; line-height:1.4; }
.stats-trend-scroll { overflow-x:auto; padding:4px 0; }
.stats-trend-svg { stroke:none; stroke-width:0; fill:none; display:block; width:100%; height:auto; min-width:650px; }
.stats-weekend { fill:#edf2f7; }
.stats-grid-line { stroke:#dbe3ed; stroke-width:1; }
.stats-axis { fill:#53667e; font:11px Arial,sans-serif; }
.stats-weekday { font-size:10px; }
.stats-trend-line { fill:none; stroke:#234c82; stroke-width:2.6; stroke-linejoin:round; stroke-linecap:round; }
.stats-day { cursor:pointer; }
.stats-day circle { fill:#315b90; stroke:white; stroke-width:1.5; }
.stats-day-hit { fill:transparent; }
.stats-day.is-unmeasured circle { fill:#b3bfce; stroke:none; }
.stats-day.is-selected circle,.stats-day:focus circle { fill:#de991d; stroke:#17366a; stroke-width:2; r:6px; }
.stats-day:focus { outline:none; }
.stats-day:focus .stats-day-hit { fill:#19386c10; stroke:#294e7c; stroke-dasharray:3 3; }
.stats-chart-detail { min-height:26px; margin:8px 0; font-weight:600; color:#1a3d6e; font-size:14px; }
.stats-chart-note { color:#5c6b80; font-size:12px; line-height:1.7; margin:12px 0 0; }
.stats-map-section { margin:30px 0 10px; }
.stats-map-layout { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(230px,1fr); gap:26px; align-items:start; }
.stats-map-canvas { padding:12px 16px; border:1px solid #d8e2ef; border-radius:12px; background:linear-gradient(145deg,#f7faff,#edf3fa); }
.stats-germany { stroke:none; stroke-width:0; fill:none; width:100%; height:auto; max-height:475px; display:block; margin:auto; overflow:visible; }
.stats-state { fill:var(--state-fill); stroke:#fff; stroke-width:1.4; stroke-linejoin:round; cursor:pointer; transition:fill .12s; }
.stats-state:hover,.stats-state:focus { stroke:#183c70; stroke-width:2.2; outline:none; }
.stats-state.is-selected { fill:#dfad4b; stroke:#826427; stroke-width:1.8; }
.stats-state-label { text-anchor:middle; dominant-baseline:middle; font:bold 11px Arial,sans-serif; fill:#183c70; paint-order:stroke; stroke:#ffffffbd; stroke-width:2.5; pointer-events:none; }
.stats-city-point { cursor:pointer; }
.stats-city-hit { fill:transparent; }
.stats-city-dot { fill:#174879; stroke:white; stroke-width:1.7; }
.stats-city-point:hover .stats-city-dot,.stats-city-point:focus .stats-city-dot,.stats-city-point.is-selected .stats-city-dot { fill:#c56d14; stroke:#fff; stroke-width:2.2; }
.stats-city-point:focus { outline:none; }
.stats-city-point:focus .stats-city-hit { stroke:#17366a; stroke-width:1.5; }
.stats-city-point.is-muted { opacity:.25; }
.stats-map-key { display:flex; align-items:center; justify-content:center; gap:7px; flex-wrap:wrap; font-size:11px; color:#4e647f; margin:10px 0 4px; }
.stats-map-key span { width:40px; height:8px; background:linear-gradient(to right,#d5e2f3,#315b90); border-radius:2px; }
.stats-map-key i { display:inline-block; width:7px; height:7px; margin-left:8px; background:#174879; border-radius:50%; }
.stats-state-select-label { display:block; font-size:13px; font-weight:600; color:#1f416b; }
.stats-state-select-label select { display:block; width:100%; margin-top:8px; padding:11px 9px; border:1px solid #bdcde1; border-radius:6px; background:#fff; color:#163d6d; font:inherit; }
.stats-state-summary { padding:22px 0 20px; border-bottom:1px solid #d8e2ef; }
.stats-state-summary span,.stats-state-summary strong,.stats-state-summary small { display:block; }
.stats-state-summary span { font-size:16px; font-weight:600; }
.stats-state-summary strong { color:#19386c; font-size:36px; line-height:1.35; }
.stats-state-summary small { color:#627087; font-size:12px; }
.stats-city-selection { margin:16px 0; padding:12px; background:#fff4db; border-left:3px solid #cc922e; font-size:13px; color:#5d4418; }
.stats-map-cities { max-height:260px; overflow-y:auto; }
.stats-map-cities h4 { margin:18px 0 8px; font-size:16px; }
.stats-map-cities ul { list-style:none; padding:0; margin:0; }
.stats-map-cities li { border-bottom:1px solid #e0e7f0; }
.stats-map-cities li button { display:flex; width:100%; justify-content:space-between; align-items:center; gap:12px; text-align:left; padding:12px 4px; border:0; background:transparent; cursor:pointer; font:inherit; font-size:14px; color:#1f416b; }
.stats-map-cities li button:hover { background:#edf3fa; }
.stats-map-cities li button:focus-visible { outline:2px solid #1e4a80; outline-offset:-2px; }
.stats-map-cities small { display:block; font-size:11px; color:#687991; margin-top:3px; }
.stats-map-cities strong { font-size:17px; }
.stats-map-source { font-size:11px; color:#687991; margin-top:8px; }
.stats-map-source a { color:inherit; }
@media(max-width:660px) {
  .stats-map-layout { grid-template-columns:1fr; gap:18px; }
  .stats-map-canvas { padding:10px; }
  .stats-germany { max-height:410px; }
  .stats-trend { padding:18px 12px; }
  .stats-section-title h3 { font-size:21px; }
  .stats-section-title { flex-wrap:wrap; gap:8px; }
  .stats-state-summary { padding:14px 0; }
}
.school-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.school-card { display: flex; flex-direction: column; gap: 16px; padding: 24px; border: 1px solid #c3d3e8; border-radius: 10px; background: #fff; text-decoration: none; color: #17366a; transition: border-color .15s, box-shadow .15s; }
.school-card:hover { border-color: #335c91; box-shadow: 0 5px 20px #17366a14; }
.school-card:focus-visible { outline: 3px solid #335c91; outline-offset: 4px; }
.school-logo { display: flex; align-items: center; justify-content: center; height: 100px; width: 100%; }
.school-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.school-name { font-size: 17px; font-weight: 600; line-height: 1.4; }
.school-action { margin-top: auto; padding-top: 14px; border-top: 1px solid #e0e7ef; display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.school-action svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
@media (max-width: 900px) { .school-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 560px) { .school-grid { grid-template-columns: 1fr; } .school-card { padding: 22px; } }
@media (max-width: 760px) {
  .cms-admin-header { align-items: flex-start; gap: 12px; }
  .cms-admin-session .btn { padding: 10px 14px; font-size: 13px; }
  .cms-tabs { gap: 4px; padding: 5px; }
  .cms-tabs [role="tab"] { flex: 1 1 calc(33.333% - 8px); padding: 10px 6px; font-size: 13px; }
  .cms-tabbed .cms-tab-panel > .cms-tab-section { padding: 20px 16px; }
  .cms-tab-section > .cms-tab-heading { font-size: 23px; }
  .cms-tabbed .cms-list-item { padding: 18px; }
  .cms-tabbed .stats-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .cms-admin-header { flex-direction: column; }
  .cms-tabs [role="tab"] { flex-basis: calc(50% - 4px); }
  .stats-paused { padding: 20px; }
}
/* Beiträge und Redaktionszugänge – Update 02 */
.cms-tabbed .cms-entry-search { grid-template-columns:1fr; }
.cms-entry-tabs { display:flex; flex-wrap:wrap; gap:6px; padding-bottom:18px; margin-bottom:18px; border-bottom:1px solid #d8e2ef; }
.cms-entry-tabs button { display:flex; align-items:center; gap:9px; padding:11px 14px; border:1px solid #d8e2ef; border-radius:6px; background:#fff; color:#23436e; font:inherit; font-size:14px; cursor:pointer; }
.cms-entry-tabs button[aria-selected="true"] { background:#1b386c; color:#fff; border-color:#1b386c; }
.cms-entry-tabs span { border-radius:12px; min-width:22px; padding:1px 6px; font-size:11px; background:#e5edf7; color:#18396b; }
.cms-entry-tabs button:focus-visible { outline:3px solid #5687bf; outline-offset:3px; }
.cms-archive-tools { display:flex; justify-content:space-between; align-items:center; gap:24px; padding:16px 20px; border:1px solid #e5d8d1; background:#fffaf7; margin-bottom:20px; border-radius:8px; }
.cms-archive-tools p { margin:0; font-size:13px; max-width:65ch; }
.cms-archive-tools button { flex-shrink:0; }
.cms-danger { color:#9b342c!important; }
.cms-tabbed .team-member { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:15px; padding:18px 0; border-bottom:1px solid #d8e2ef; }
.team-member strong { overflow-wrap:anywhere; }
.team-member p { margin:5px 0 0; }
.team-actions { display:flex; align-items:center; flex-wrap:wrap; gap:18px; }
.cms-team-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.cms-team-form label { display:flex; flex-direction:column; gap:7px; min-width:0; }
.cms-team-form select,.cms-team-form input { width:100%; padding:12px; font:inherit; border:1px solid #bdcde1; border-radius:5px; background:white; color:#18396b; }
.cms-team-form .small,.cms-team-form .button-row { grid-column:1/-1; margin:0; }
@media(max-width:660px){.cms-team-form{grid-template-columns:1fr}.cms-archive-tools{align-items:flex-start;flex-direction:column}.cms-entry-tabs button{font-size:13px;padding:10px}.team-actions{gap:14px}}

/* Sichtbarer Urlaubshinweis auf der Startseite. */
.home-closure-notice[hidden] { display:none!important; }
.home-closure-notice { background:#fff0d7; color:#18396b; border-top:4px solid #f18724; border-bottom:1px solid #e6c396; }
.home-closure-inner { display:flex; align-items:center; gap:24px; padding-top:26px; padding-bottom:26px; }
.home-closure-icon { flex:0 0 54px; width:54px; height:54px; display:grid; place-items:center; border-radius:50%; background:#f7d4a2; }
.home-closure-icon svg { width:28px; height:28px; fill:none; stroke:currentColor; stroke-width:1.7; }
.home-closure-copy { flex:1; min-width:0; }
.home-closure-copy .eyebrow { font-size:11px; letter-spacing:.1em; color:#875219; }
.home-closure-copy h2 { margin:4px 0 8px; font-size:clamp(23px,3vw,30px); line-height:1.2; }
.home-closure-lead { margin:0 0 10px; font-size:15px; }
.home-closure-period { margin:8px 0; }
.home-closure-period strong { font-size:19px; }
.home-closure-period p { font-size:14px; margin:4px 0 0; white-space:pre-line; overflow-wrap:anywhere; }
.home-closure-inclusive { font-size:11px; margin:8px 0 0; color:#685844; }
.home-closure-inner>.btn { flex-shrink:0; background:#ffffff65; border-color:#18396b; }
@media(max-width:760px){.home-closure-inner{align-items:flex-start;flex-wrap:wrap;gap:14px}.home-closure-copy{flex-basis:calc(100% - 72px)}.home-closure-inner>.btn{margin-left:68px;font-size:13px;padding:11px 14px}}
@media(max-width:420px){.home-closure-icon{display:none}.home-closure-copy{flex-basis:100%}.home-closure-inner>.btn{margin-left:0}}

.hours-notice-days { display:block; margin:16px 0; }
.hours-notice-days input { display:block; width:110px; margin:7px 0; padding:10px; }
.hours-notice-days small { display:block; font-weight:400; color:#5b6a80; line-height:1.6; }
