:root{--ink:#1f2937;--muted:#657186;--bg:#f5f7fa;--line:#e3e8ef;--brand:#235d82;--light:#e9f2f8}*{box-sizing:border-box}body{margin:0;background:var(--bg);font-family:system-ui,-apple-system,Segoe UI,Arial,sans-serif;color:var(--ink);line-height:1.5}a{color:var(--brand);text-decoration:none}a:hover{text-decoration:underline}header{background:white;border-bottom:1px solid var(--line)}.wrap{max-width:1100px;margin:auto;padding:20px}.head,.split{display:flex;justify-content:space-between;align-items:center;gap:16px}.brand{font-size:20px;font-weight:750;color:var(--ink)}nav,.actions,.navchips{display:flex;align-items:center;flex-wrap:wrap;gap:13px}nav a{font-weight:600;font-size:14px}main{min-height:72vh}footer{font-size:12px;color:var(--muted)}h1{font-size:clamp(27px,4vw,40px);line-height:1.15;margin:8px 0 16px}h2{font-size:21px;margin:0 0 16px}h3{margin:0 0 6px;font-size:17px}.hero{padding:45px 26px;background:linear-gradient(120deg,#edf5f9,#fff);border:1px solid var(--line);border-radius:17px;margin-bottom:20px}.hero.small{padding:28px}.eyebrow{color:var(--brand);text-transform:uppercase;letter-spacing:1px;font-weight:750;font-size:12px}.lead{font-size:17px;max-width:700px}.card{background:white;border:1px solid var(--line);border-radius:15px;padding:23px;margin-bottom:20px;box-shadow:0 2px 12px #1f293708}.columns{display:grid;grid-template-columns:1fr 1fr;gap:20px}.narrow{max-width:540px;margin:25px auto}.button{display:inline-flex;align-items:center;justify-content:center;background:var(--brand);color:white;border:0;border-radius:9px;padding:11px 18px;font:inherit;font-weight:650;cursor:pointer}.button:hover{background:#194761;color:white;text-decoration:none}.button.secondary{background:var(--light);color:var(--brand)}button:disabled{opacity:.5;cursor:not-allowed}label{display:block;font-weight:650;margin:12px 0 15px}input:not([type=radio]):not([type=checkbox]):not([type=hidden]),textarea,select{display:block;width:100%;background:white;border:1px solid #c9d4df;padding:10px;border-radius:8px;font:inherit;margin:6px 0;min-width:0}input[type=file]{padding:8px}.fields2{display:grid;grid-template-columns:1fr 1fr;gap:12px}.muted{color:var(--muted);font-size:13px}.pre{white-space:pre-wrap}.shiftrow{border-bottom:1px solid var(--line);padding:15px 0}.shiftrow:last-child{border-bottom:none}.stack{display:grid;gap:15px}.shift{margin:0}.pill{border-radius:20px;background:#e9f5ef;padding:5px 11px;font-size:12px;white-space:nowrap;color:#23634a}.pill.warning{background:#fff0de;color:#94540e}.counts{background:#f4f6f9;padding:9px;border-radius:7px;font-size:13px;color:var(--muted)}.locked{padding:12px;background:#e9f5ef;border-radius:8px;color:#23634a;font-weight:650}.options{display:flex;gap:7px;flex-wrap:wrap;margin:15px 0}.option{border:1px solid var(--line);border-radius:8px;padding:9px 13px;margin:0;font-weight:550;cursor:pointer}.option:has(input:checked){border-color:#245c83;background:#eef6fb}.option input{margin-right:7px}.adminhead{margin:14px 0 23px}.navchips a{background:white;padding:9px 12px;border-radius:9px;border:1px solid var(--line);font-size:14px}.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:20px}.tile{background:white;border:1px solid var(--line);border-radius:12px;padding:17px;color:var(--ink)}.tile b{font-size:25px;display:block;color:var(--brand)}table{border-collapse:collapse;width:100%}td,th{padding:12px 9px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}th{font-size:12px;color:var(--muted)}.assignment{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:10px;align-items:center;border-bottom:1px solid var(--line);padding:10px 0}.assignment select{margin:0}.check{margin:0;white-space:nowrap}.notice{padding:12px 16px;border-radius:9px;background:#e8f2fa;margin:12px 0}.notice.error{background:#fff0ed;color:#9b3026}.notice.success{background:#e6f6ec;color:#296c42}.inline{display:inline}.linkbutton{border:0;background:none;color:var(--brand);padding:0;font:inherit;cursor:pointer}.danger{color:#ad3535}.log{margin:5px 0;font-size:12px;color:var(--muted)}hr{border:0;border-top:1px solid var(--line);margin:22px 0}code{background:#f2f4f7;padding:3px 5px;border-radius:4px}@media(max-width:720px){.wrap{padding:14px}.head{align-items:flex-start;flex-direction:column}.columns,.tiles{grid-template-columns:1fr}.card{padding:17px}.assignment{grid-template-columns:1fr 1fr}.assignment>div:first-of-type{grid-column:1/-1}.hero{padding:26px 18px}table{font-size:12px}td,th{padding:8px 5px}}


/* Persönliche Helferübersicht */
.helper-intro {
    padding: 18px 22px;
    margin-bottom: 24px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 14px;
}
.helper-intro-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.helper-intro h1 {
    font-size: 20px;
    margin: 6px 0;
}
.helper-shift-title {
    font-size: clamp(24px, 3vw, 30px);
    line-height: 1.2;
    margin-bottom: 10px;
}
.shift .muted {
    font-size: 15px;
}
.print-only { display: none; }

@media print {
    @page { size: A4; margin: 15mm; }
    body { background: white; color: black; }
    header, footer, button, form, .helper-print-button,
    .counts, .options { display: none !important; }
    main.wrap { max-width: none; padding: 0; }
    .helper-intro, .card {
        border: 0;
        box-shadow: none;
        padding: 10px 0;
        margin: 0 0 15px;
    }
    .hero, .helper-intro { background: white; }
    .shift { break-inside: avoid; border-bottom: 1px solid #ccc; }
    .print-only { display: block; }
    .print-status { font-weight: bold; }
    .locked { background: none; padding: 5px 0; }
}


/* HELFERPORTAL_V02 */
.helper-intro{padding:18px 22px;margin-bottom:24px;background:white;border:1px solid var(--line);border-radius:14px}
.helper-intro-top{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.helper-intro h1{font-size:20px;line-height:1.35;margin:4px 0}
.helper-shift-head{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px}
.helper-shift-title{font-size:clamp(25px,3.5vw,34px);margin:0 0 9px;font-weight:800}
.helper-when{display:flex;gap:16px;flex-wrap:wrap;font-size:18px;font-weight:750;color:var(--ink)}
.helper-description{font-size:16px;margin:13px 0 16px}
.helper-status{background:#eaf1fa;border-radius:12px;padding:11px 15px;font-size:15px;font-weight:750}
.helper-status.is-confirmed{background:#e3f3e9;color:#185c3b}
.helper-figures{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0;padding:12px;background:#f5f7fa;border-radius:10px;font-size:13px}
.helper-figures>span{padding-right:10px}
.conflict-notice{background:#fff2d9;color:#854b12;border:1px solid #f5cc82;border-radius:8px;padding:9px 12px;margin:10px 0;font-size:13px}
.conflict-notice ul{margin:5px 0 0;padding-left:20px}
.admin-shift{padding:15px 0;border-top:1px solid var(--line)}
.admin-people{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}
.person-status{background:#f0f3f7;border-radius:8px;padding:5px 10px;font-size:13px}
.person-status.confirmed{background:#e3f3e9;color:#185c3b}
.timeline-day{margin:18px 0 8px}
.timeline-scroll{overflow-x:auto}.timeline-inner{min-width:680px}
.timeline-hours,.timeline-row{display:grid;grid-template-columns:145px 1fr;gap:10px;align-items:center}
.timeline-hours{display:grid;grid-template-columns:145px repeat(7,1fr);font-size:11px;color:var(--muted);margin-bottom:4px}
.timeline-hours span:not(:first-child){text-align:left}
.timeline-label{font-size:13px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.timeline-row{margin:7px 0}
.timeline-track{height:28px;position:relative;border-radius:5px;background:repeating-linear-gradient(90deg,#f5f7fa 0,#f5f7fa calc(16.6667% - 1px),#dce4ed calc(16.6667% - 1px),#dce4ed 16.6667%)}
.timeline-bar{display:flex;position:absolute;top:2px;bottom:2px;background:#316e9b;border-radius:5px;align-items:center;justify-content:center;color:white;min-width:12px;overflow:hidden;white-space:nowrap;font-size:11px}
.timeline-bar.timeline-conflict{background:#bd6236}
.timeline-bar:hover{color:white;text-decoration:none}
@media(max-width:720px){.helper-when{font-size:16px}.helper-shift-head{align-items:flex-start}.helper-status{font-size:14px}}
@media print{
 @page{size:A4;margin:14mm}
 body{background:#fff;color:#000}header,footer,nav,button,form,.helper-print-button,.adminhead,.navchips,.helper-disclaimer{display:none!important}
 main.wrap{padding:0;max-width:100%;min-height:0}
 .helper-intro,.helper-card{border:0;box-shadow:none;border-bottom:1px solid #bbb;border-radius:0;padding:9px 0;margin:0 0 12px;break-inside:avoid}
 .helper-shift-title{font-size:22pt}.helper-when{font-size:12pt}
 .helper-status{color:#000;background:none;border:1px solid #aaa;padding:4px 9px}
 .helper-figures{background:none;border:1px solid #ddd}
 .conflict-notice{background:none;color:#000;border:1px solid #aaa}
 .locked{background:none;color:#000;padding:6px 0}
}


/* HELFERPORTAL_V03 */
.v3{display:grid;gap:12px}
.v3 [hidden]{display:none!important}
.v3-head,.v3-toolbar{
 display:flex;justify-content:space-between;
 align-items:center;gap:12px;flex-wrap:wrap
}
.v3-head h2{font-size:23px;margin:0}
.v3-actions,.v3-links{
 display:flex;gap:10px;align-items:center;flex-wrap:wrap
}
.v3-actions .button{font-size:13px;padding:8px 12px}
.v3-toolbar,.v3-panel{
 background:white;border:1px solid var(--line);
 border-radius:12px;padding:13px
}
.v3-toolbar label{
 display:flex;align-items:center;gap:10px;
 font-size:13px;margin:0
}
.v3-toolbar select{width:auto;margin:0;padding:6px}
.v3-links a{font-size:12px}
.v3-panel h3{font-size:17px;margin:0 0 8px}
.v3-day{border-top:1px solid var(--line);padding-top:9px}
.v3-daytitle{font-size:13px;font-weight:700;margin-bottom:8px}
.v3-scroll{overflow-x:auto}
.v3-timeline{min-width:510px}
.v3-axis,.v3-row{
 display:grid;grid-template-columns:140px minmax(0,1fr);
 gap:10px;align-items:center
}
.v3-axis{font-size:10px;color:var(--muted)}
.v3-hours{display:flex;justify-content:space-between}
.v3-row{margin:5px 0}
.v3-name{
 font-size:12px;overflow:hidden;
 text-overflow:ellipsis;white-space:nowrap
}
.v3-track{
 height:26px;position:relative;border-radius:5px;
 background:repeating-linear-gradient(
 90deg,#f2f5f9 0,
 #f2f5f9 calc(16.6667% - 1px),
 #dbe2ec calc(16.6667% - 1px),
 #dbe2ec 16.6667%)
}
.v3-bar{
 position:absolute;top:2px;bottom:2px;
 min-width:14px;border-radius:4px;
 background:#bd7e30;color:white!important;
 display:flex;align-items:center;justify-content:center;
 font-size:11px;font-weight:750;white-space:nowrap;
 overflow:hidden
}
.v3-bar.full{background:#277e6d}
.v3-bar.conflict{background:#b44c42}
.v3-legend{display:flex;gap:13px;flex-wrap:wrap;
 font-size:11px;margin-top:11px;color:var(--muted)}
.v3-shift{
 padding:12px 0;border-top:1px solid var(--line);
 scroll-margin-top:20px
}
.v3-summary{
 display:grid;grid-template-columns:minmax(0,2fr) 75px 78px 65px;
 align-items:center;gap:10px
}
.v3-identity{display:flex;flex-direction:column;gap:3px}
.v3-identity strong{font-size:15px}
.v3-identity span{font-size:12px;color:var(--muted)}
.v3-number{display:flex;flex-direction:column}
.v3-number strong{font-size:17px;line-height:1.2}
.v3-number small{font-size:10px;color:var(--muted)}
.v3-gap{
 background:#fff0df;color:#895312;
 padding:6px;border-radius:7px;text-align:center;
 font-size:12px;font-weight:750
}
.v3-gap.ok{background:#e5f3eb;color:#246645}
.v3-summary>a:last-child{font-size:12px;text-align:right}
.v3-people{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}
.v3-person{
 background:#f0f3f7;padding:4px 8px;border-radius:6px;
 font-size:12px;display:inline-flex;gap:7px
}
.v3-person.definitiv{background:#e2f4e9;color:#185b3c}
.v3-person.ja{background:#e8f0fa}
.v3-person.vielleicht{background:#fff0d8}
.v3-person.nein{background:#f9e9e9;color:#963c3c}
.v3-warning{font-size:12px;color:#a0442d;margin-top:8px}

@media(max-width:700px){
 .adminhead h1{font-size:24px}
 .v3-head h2{font-size:20px}
 .v3-panel{padding:11px}
 .v3-summary{
  grid-template-columns:minmax(0,1fr) 65px 76px;gap:7px
 }
 .v3-summary>a:last-child{
  grid-column:1/-1;text-align:left
 }
 .v3-axis,.v3-row{grid-template-columns:105px 1fr;gap:6px}
 .v3-timeline{min-width:480px}
}
@media print{
 .v3-toolbar,.v3-actions,.v3-summary>a:last-child{
  display:none!important
 }
 .v3-panel{border:0;padding:5px;box-shadow:none}
 .v3-shift{break-inside:avoid}
}


/* FASNACHT_V04 */
:root {
 --ink:#291543;
 --muted:#675b79;
 --bg:#fbf7ff;
 --line:#e9dcf0;
 --brand:#aa087c;
 --light:#fce3f4;
}

body {
 background:
  radial-gradient(circle at 2% 12%,#fce6f4 0,transparent 25%),
  radial-gradient(circle at 99% 70%,#eee5ff 0,transparent 27%),
  var(--bg);
 color:var(--ink);
}

header {
 background:#fff;
 border-bottom:2px solid #ead4ed;
}

.brand {
 color:#32114b;
 font-size:20px;
 display:inline-flex;
 align-items:center;
 gap:8px;
}

.brand-mask {font-size:28px}

header nav a {
 color:#3f2054;
 border-radius:20px;
 padding:7px 10px;
}

header nav a:hover {
 background:#f9e5f2;
 text-decoration:none;
}

.wrap {max-width:1480px}

main.wrap {padding-top:18px}

.fasnacht-banner {
 position:relative;
 overflow:hidden;
 padding:23px 26px 12px;
 border-radius:20px;
 background:
  radial-gradient(circle at 13% 12%,#ffca33 0 3px,transparent 4px),
  radial-gradient(circle at 43% 18%,#ff6587 0 4px,transparent 5px),
  radial-gradient(circle at 70% 25%,#20c5c1 0 4px,transparent 5px),
  radial-gradient(circle at 90% 15%,#ffc23d 0 4px,transparent 5px),
  linear-gradient(115deg,#56166f,#a40d83 58%,#ec4b92);
 color:white;
 box-shadow:0 9px 25px #67156c24;
 margin:4px 0 17px;
}

.fasnacht-banner:before {
 content:"";
 position:absolute;
 inset:0;
 pointer-events:none;
 opacity:.32;
 background:
 repeating-linear-gradient(145deg,
 transparent 0 105px,
 #ffc65a 107px 110px,
 transparent 112px 172px);
}

.fasnacht-headline {position:relative;z-index:1}

.fasnacht-kicker {
 font-size:11px;
 font-weight:800;
 letter-spacing:1.8px;
 color:#ffeab3;
}

.fasnacht-banner h1 {
 font-size:clamp(25px,3vw,37px);
 color:white;
 margin:3px 0;
}

.fasnacht-banner p {
 font-size:14px;
 margin:3px 0 14px;
 color:#fce7f7;
}

.fasnacht-art {
 position:absolute;
 right:32px;
 top:9px;
 display:flex;
 gap:8px;
 align-items:center;
 transform:rotate(-8deg);
 opacity:.95;
}

.fasnacht-art span:first-child {font-size:64px}
.fasnacht-art span:nth-child(2) {font-size:39px}
.fasnacht-art span:nth-child(3) {font-size:46px}

.fasnacht-banner .navchips {
 position:relative;
 z-index:2;
 padding-top:10px;
 border-top:1px solid #ffffff45;
 gap:7px;
}

.fasnacht-banner .navchips a {
 background:#ffffffeb;
 color:#55236c;
 border:0;
 border-radius:12px;
 font-weight:700;
 padding:9px 15px;
 box-shadow:0 2px 7px #350a4933;
}

.fasnacht-banner .navchips a:hover {
 background:#ffe4f5;
 text-decoration:none;
}

.fasnacht-stats {
 display:grid;
 grid-template-columns:repeat(5,minmax(0,1fr));
 gap:10px;
 margin:0 0 15px;
}

.fasnacht-stat {
 min-width:0;
 background:linear-gradient(140deg,#fff,#f4eafe);
 border:1px solid #eadbf4;
 border-radius:15px;
 padding:13px 15px;
 display:grid;
 grid-template-columns:34px 1fr;
 gap:1px 8px;
 align-items:center;
 color:#35174e;
}

.fasnacht-stat:nth-child(2) {
 background:linear-gradient(135deg,#fff,#e4f7eb);
}
.fasnacht-stat:nth-child(3) {
 background:linear-gradient(135deg,#fff,#e5f1ff);
}
.fasnacht-stat:nth-child(4) {
 background:linear-gradient(135deg,#fff,#fff0dc);
}
.fasnacht-stat.stat-alert {
 background:linear-gradient(135deg,#fff,#ffe2e9);
}

.stat-icon {font-size:25px;grid-row:span 2}
.fasnacht-stat strong {
 font-size:clamp(22px,2vw,30px);
 line-height:1.1;
}
.fasnacht-stat small {
 font-size:12px;
 color:#635273;
}

.v3-panel,.card {
 border:1px solid #e8d9ef;
 box-shadow:0 5px 20px #57276b0d;
 border-radius:16px;
}

.v3-panel h3 {
 color:#4c1767;
 font-size:18px;
}

.v3-toolbar {
 background:#fff;
 border:1px solid #edddef;
 border-radius:13px;
}

.v3-bar {
 background:linear-gradient(90deg,#e99526,#f5ba45);
 color:#2c173e!important;
}

.v3-bar.full {
 background:linear-gradient(90deg,#129d86,#47c6a4);
 color:#fff!important;
}

.v3-bar.conflict {
 background:linear-gradient(90deg,#dd4266,#f27481);
 color:#fff!important;
}

.v3-track {
 background:repeating-linear-gradient(
 90deg,#faf6fe 0,
 #faf6fe calc(16.6667% - 1px),
 #e4d8ed calc(16.6667% - 1px),
 #e4d8ed 16.6667%);
}

.v3-daytitle {
 color:#57196f;
 font-weight:800;
}

.v3-people {gap:7px}

.v3-person.definitiv {
 background:#dff5e8;
 color:#176442;
}
.v3-person.ja {
 background:#e0f0ff;
 color:#194d83;
}
.v3-person.vielleicht {
 background:#fff0ce;
 color:#835518;
}
.v3-person.nein {
 background:#ffe3ea;
 color:#ae2851;
}

.v3-gap {background:#fff0d6;color:#8b5413}
.v3-gap.ok {background:#dff4e6;color:#176442}

.button {
 background:linear-gradient(110deg,#b60880,#da2c9b);
 border-radius:11px;
 box-shadow:0 3px 8px #a00d7524;
}

.button:hover {background:#870d6d}

.button.secondary {
 background:#f4e4f6;
 color:#65167d;
 box-shadow:none;
}

.button.secondary:hover {background:#ead3f2}

.navchips a:hover, .linkbutton:hover {
 color:#a4097a;
}

input:focus,select:focus,textarea:focus {
 outline:2px solid #c65ab8;
 outline-offset:1px;
}

@media(max-width:900px) {
 .fasnacht-stats {grid-template-columns:repeat(3,minmax(0,1fr))}
 .fasnacht-art {opacity:.48}
}

@media(max-width:600px) {
 .wrap {padding:12px}
 .fasnacht-banner {padding:18px 14px 12px}
 .fasnacht-banner h1 {font-size:25px}
 .fasnacht-banner p {max-width:80%;font-size:12px}
 .fasnacht-art {right:5px;top:15px}
 .fasnacht-art span:first-child {font-size:38px}
 .fasnacht-art span:nth-child(n+2) {display:none}
 .fasnacht-banner .navchips {gap:5px}
 .fasnacht-banner .navchips a {
  font-size:12px;padding:8px 10px
 }
 .fasnacht-stats {grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .fasnacht-stat {padding:10px}
 .fasnacht-stat:last-child {grid-column:span 2}
 .v3-head h2 {font-size:19px}
 .v3-timeline {min-width:480px}
 .v3-panel {padding:10px}
 .v3-summary {gap:6px}
}

@media print {
 body {background:#fff}
 .fasnacht-banner,.fasnacht-stats,.fasnacht-art,
 .v3-toolbar,header,footer {display:none!important}
 .v3-panel,.card {box-shadow:none;border:0}
}


/* V05_MOUSEOVER */
.v3-bar {
 border:0;
 cursor:pointer;
 font-family:inherit;
 padding:0 3px;
}

.v3-bar:focus-visible {
 outline:3px solid #552069;
 outline-offset:2px;
}

.v5-popover[hidden] {display:none!important}

.v5-popover {
 position:fixed;
 z-index:99999;
 box-sizing:border-box;
 max-height:calc(100vh - 20px);
 overflow:auto;
 padding:14px;
 background:#fff;
 color:#291543;
 border:1px solid #e4cfe9;
 border-radius:13px;
 box-shadow:0 12px 35px #35104b40;
 font-size:13px;
 line-height:1.4;
}

.v5-pop-title {
 font-size:17px;
 font-weight:800;
 margin-bottom:3px;
}

.v5-pop-time {
 color:#71627c;
 font-size:12px;
 margin-bottom:10px;
}

.v5-pop-summary {
 display:flex;
 justify-content:space-between;
 align-items:center;
 flex-wrap:wrap;
 gap:6px;
 background:#f7f0fa;
 padding:8px;
 border-radius:8px;
 margin-bottom:10px;
}

.v5-pop-people {
 display:grid;
 gap:5px;
}

.v5-pop-person {
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:10px;
 border-bottom:1px solid #f1eaf5;
 padding:5px 0;
}

.v5-pop-person strong {
 overflow-wrap:anywhere;
}

.v5-state {
 padding:3px 7px;
 border-radius:6px;
 white-space:nowrap;
 background:#f0f0f0;
}

.v5-state.definitiv {background:#dff5e8;color:#176442}
.v5-state.ja {background:#e2efff;color:#194d83}
.v5-state.vielleicht {background:#fff0d3;color:#835518}
.v5-state.nein {background:#ffe5eb;color:#a32d4a}
.v5-state.offen {background:#eceaf0;color:#5b5363}

.v5-pop-empty {
 color:#71627c;
 font-size:12px;
 padding:8px 0;
}

.v5-pop-warning {
 color:#ab3e38;
 font-weight:700;
 margin-top:8px;
}

.v5-pop-action {
 display:block;
 margin-top:11px;
 padding:9px;
 background:#f4e4f6;
 border-radius:8px;
 text-align:center;
 font-weight:700;
}

@media (max-width:600px) {
 .v5-popover {
  font-size:13px;
  padding:12px;
 }
}

@media print {
 .v5-popover {display:none!important}
}


/* ADMIN_READABILITY_V08 */

/* Überschrift der Einsatzübersicht */
.v3-panel h3 {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.25;
    color: #39134e;
    margin-bottom: 12px;
}

/* Einzelne Einsätze */
.v3-shift {
    padding: 16px 0;
    border-top: 1px solid #e7d9ed;
}

/* Einsatztitel */
.v3-identity strong {
    display: block;
    font-size: clamp(19px, 1.6vw, 23px);
    font-weight: 800;
    line-height: 1.25;
    color: #321344;
    margin-bottom: 5px;
}

/* Datum und Uhrzeit */
.v3-identity span {
    display: block;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 700;
    color: #544064;
    font-variant-numeric: tabular-nums;
}

/* Definitive Besetzung */
.v3-number strong {
    font-size: 23px;
    font-weight: 800;
    line-height: 1.1;
    color: #35134b;
}

.v3-number small {
    font-size: 12px;
    font-weight: 600;
    color: #665770;
}

/* Offene Plätze */
.v3-gap {
    font-size: 13px;
    font-weight: 800;
    padding: 8px 10px;
    border-radius: 8px;
}

/* Helfernamen und Rückmeldungen */
.v3-people {
    margin-top: 11px;
    gap: 7px;
}

.v3-person {
    font-size: 13px;
    line-height: 1.4;
    padding: 6px 9px;
    border-radius: 7px;
}

.v3-person strong {
    font-weight: 800;
}

/* Aktionen */
.v3-summary > a:last-child {
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

/* Desktop */
@media (min-width: 901px) {
    .v3-summary {
        grid-template-columns:
            minmax(0, 2fr) 85px 92px 80px;
        gap: 14px;
        align-items: center;
    }
}

/* Tablet */
@media (max-width: 900px) {
    .v3-identity strong {
        font-size: 20px;
    }

    .v3-identity span {
        font-size: 15px;
    }
}

/* Smartphone */
@media (max-width: 600px) {
    .v3-shift {
        padding: 13px 0;
    }

    .v3-summary {
        grid-template-columns:
            minmax(0, 1fr) 65px 76px;
        gap: 8px;
    }

    .v3-identity strong {
        font-size: 19px;
    }

    .v3-identity span {
        font-size: 14px;
    }

    .v3-number strong {
        font-size: 19px;
    }

    .v3-summary > a:last-child {
        grid-column: 1 / -1;
        text-align: left;
    }

    .v3-person {
        font-size: 12px;
    }
}

/* Druckansicht */
@media print {
    .v3-identity strong {
        font-size: 17pt;
        color: black;
    }

    .v3-identity span {
        font-size: 12pt;
        color: black;
    }

    .v3-shift {
        break-inside: avoid;
    }
}



/* COMPACT_LAYOUT_V11 */

/* Grundlegende Abstände */
body {
    line-height: 1.4;
}

main {
    padding-top: 12px;
    padding-bottom: 18px;
}

h1, h2, h3 {
    line-height: 1.2;
}

h1 {
    font-size: clamp(23px, 2.4vw, 30px);
    margin: 0 0 10px;
}

h2 {
    font-size: clamp(18px, 1.8vw, 22px);
    margin: 0 0 10px;
}

h3 {
    font-size: clamp(16px, 1.5vw, 19px);
    margin: 0 0 7px;
}

p {
    margin-top: 5px;
    margin-bottom: 9px;
}

/* Karten kompakter */
.card {
    padding: 15px 18px;
    margin-bottom: 11px;
}

.stack {
    gap: 10px;
}

.columns {
    gap: 13px;
}

.fields2 {
    gap: 10px;
}

/* Kopfbereich Administration */
.adminhead {
    padding: 14px 18px;
    margin-bottom: 12px;
}

.adminhead h1 {
    font-size: 25px;
    margin-bottom: 5px;
}

.adminhead p {
    margin: 3px 0;
}

/* Navigation */
nav a {
    font-size: 13px;
}

nav {
    gap: 6px;
}

/* Formulare */
label {
    font-size: 13px;
    font-weight: 650;
}

input, select, textarea {
    font-size: 14px;
}

input:not([type="radio"]):not([type="checkbox"]),
select, textarea {
    padding: 8px 10px;
}

button, .button {
    font-size: 13px;
    line-height: 1.3;
    padding: 8px 12px;
}

/* Allgemeine Einsatzlisten */
.shiftrow {
    padding: 10px 0;
}

.shiftrow strong {
    font-size: 16px;
}

.shiftrow .muted {
    font-size: 13px;
    line-height: 1.4;
}

.shiftrow p {
    margin: 4px 0 7px;
}

/* Admin: Zeitachse */
.v3-day {
    margin-bottom: 13px;
}

.v3-row {
    margin-bottom: 5px;
}

.v3-name {
    font-size: 13px;
    font-weight: 700;
}

.v3-bar {
    font-size: 12px;
    font-weight: 750;
}

/* Admin: Einsatz- und Rückmeldungsübersicht */
.v3-shift {
    padding-top: 11px;
    padding-bottom: 11px;
}

.v3-identity strong {
    font-size: 18px;
    line-height: 1.25;
    font-weight: 800;
    margin-bottom: 3px;
}

.v3-identity span {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.v3-number strong {
    font-size: 20px;
}

.v3-gap {
    padding: 5px 8px;
    font-size: 12px;
}

.v3-people {
    margin-top: 7px;
    gap: 5px;
}

.v3-person {
    padding: 5px 8px;
    font-size: 12px;
}

/* Helfer: Kopfbereich */
.helper-intro {
    padding-top: 12px;
    padding-bottom: 12px;
    margin-bottom: 12px;
}

.helper-intro h1 {
    font-size: clamp(22px, 2.3vw, 28px);
    margin: 4px 0 7px;
}

.helper-intro p {
    margin: 4px 0;
}

.helper-intro-top {
    gap: 10px;
}

/* Helfer: Einsätze */
.helper-card {
    padding: 13px 16px;
    margin-bottom: 0;
}

.helper-shift-head {
    gap: 10px;
    margin-bottom: 7px;
}

.helper-shift-title {
    font-size: 19px;
    line-height: 1.25;
    margin: 0 0 5px;
}

.helper-when {
    font-size: 15px;
    font-weight: 700;
    gap: 9px;
}

.helper-description {
    margin: 6px 0;
    font-size: 13px;
}

.helper-figures {
    margin: 8px 0;
    gap: 9px;
    font-size: 13px;
}

.helper-status {
    font-size: 12px;
    font-weight: 750;
    padding: 6px 9px;
}

.helper-form {
    margin-top: 8px;
}

/* Weniger Höhe, ohne Klickflächen zu klein zu machen */
.options {
    gap: 7px;
}

.option {
    padding: 7px 9px;
    font-size: 13px;
}

/* Mobil: kompakt, aber gut bedienbar */
@media (max-width: 700px) {
    main {
        padding-top: 8px;
    }

    .card {
        padding: 12px;
        margin-bottom: 9px;
    }

    h1 {
        font-size: 23px;
    }

    h2 {
        font-size: 19px;
    }

    .adminhead {
        padding: 12px;
    }

    .adminhead h1 {
        font-size: 23px;
    }

    .helper-intro {
        padding: 10px 12px;
    }

    .helper-shift-title {
        font-size: 18px;
    }

    .helper-when {
        font-size: 14px;
    }

    .helper-card {
        padding: 12px;
    }

    button, .button {
        min-height: 36px;
    }
}

/* Druckausgabe bleibt unabhängig */
@media print {
    main {
        padding: 0;
    }
}

/* PF_TEXTS_V17 */
.pf-editor-v17 {
 max-width:850px;
 margin:0 auto;
}
.pf-editor-v17 h3 {
 font-size:18px;
 margin:17px 0 9px;
}
.pf-editor-v17 textarea {
 width:100%;
 line-height:1.5;
 font-weight:400;
}
.pf-editor-v17 input {
 width:100%;
 font-weight:400;
}
.pf-editor-v17 hr {
 border:0;
 border-top:1px solid #e8d9ea;
 margin:18px 0;
}



/* APRES_SKI_2027 */

/* Gesamte Helferansicht */
.apres-page {
  --apres-red:#b71e35;
  --apres-blue:#146da1;
  --apres-wood:#633a25;
  --apres-ice:#eef8ff;
  color:#192638;
  background:
    linear-gradient(180deg,
      rgba(237,247,255,.15),
      rgba(238,247,255,.92) 340px),
    url('/static/apres-ski-berge.svg')
      center top / 100% auto no-repeat;
  border-radius:16px;
  padding:14px;
  margin-bottom:18px;
}

/* Winterliche Kopfzone */
.apres-banner {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  padding:20px 26px;
  min-height:125px;
  border-radius:13px;
  border:3px solid #d9b78b;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,.045) 0 2px,
      transparent 2px 28px
    ),
    linear-gradient(120deg,
      #402518,#85502e 55%,#56321d);
  box-shadow:0 7px 20px rgba(39,37,39,.16);
  color:#fff;
}

.apres-banner-inner {
  min-width:0;
}

.apres-kicker {
  font-size:11px;
  letter-spacing:.09em;
  font-weight:800;
  color:#ffe6bd;
}

.apres-banner h1 {
  color:white;
  font-size:clamp(30px,4vw,45px);
  line-height:1.05;
  font-weight:900;
  margin:5px 0;
  text-shadow:1px 2px 2px rgba(0,0,0,.4);
}

.apres-banner p {
  color:#f9e9d8;
  font-size:14px;
  margin:5px 0 0;
}

.apres-decor {
  font-size:38px;
  white-space:nowrap;
}

/* Linke Einsatzübersicht und rechte Seitenleiste */
.apres-layout {
  display:grid;
  grid-template-columns:minmax(0,2.1fr) minmax(245px,1fr);
  gap:14px;
  margin-top:14px;
  align-items:start;
}

.apres-main,
.apres-sidebar {
  min-width:0;
}

.apres-sidebar {
  display:grid;
  gap:12px;
}

.apres-sidecard {
  background:rgba(255,255,255,.96);
  border:1px solid #c9ddeb;
  border-radius:12px;
  padding:17px;
  box-shadow:0 3px 12px rgba(24,57,89,.07);
}

.apres-sidecard h2 {
  font-size:18px;
  margin:0 0 12px;
  color:#243850;
}

.apres-sidecard p {
  font-size:14px;
  line-height:1.5;
}

.apres-person-name {
  font-size:18px !important;
  font-weight:800;
  margin:0 0 6px;
}

.apres-contact {
  overflow-wrap:anywhere;
}

.apres-action {
  display:block;
  background:#176caa;
  border-radius:8px;
  padding:11px 12px;
  text-align:center;
  text-decoration:none;
  color:white !important;
  font-weight:750;
  margin-top:14px;
}

.apres-action:hover {
  background:#105485;
}

.apres-cheers {
  text-align:center;
  background:#f7fbff;
}

.apres-cheers span {
  display:block;
  font-size:25px;
  margin-bottom:8px;
}

.apres-cheers strong {
  display:block;
  font-size:16px;
  color:#9f2033;
}

.apres-help {
  border-top:4px solid #c62a47;
}

/* Vorhandene Helferübersicht kompakter gestalten */
.apres-main .helper-intro {
  border-radius:12px;
  border:1px solid #c9ddeb;
  background:rgba(255,255,255,.96);
  padding:13px 17px;
  margin:0 0 12px;
}

.apres-main .helper-intro h1 {
  font-size:21px;
  color:#1e344a;
  margin:3px 0 5px;
}

.apres-main .helper-intro p {
  font-size:13px;
  margin:5px 0;
}

.apres-main > h2 {
  background:#fff;
  border-radius:10px 10px 0 0;
  border:1px solid #d5e2ed;
  padding:12px 15px;
  margin:0 0 9px;
  font-size:20px;
}

.apres-main .stack {
  gap:9px;
}

.apres-main .helper-card {
  background:rgba(255,255,255,.98);
  border:1px solid #d2e1ea;
  border-left:5px solid #c02742;
  border-radius:10px;
  padding:12px 15px;
  box-shadow:0 2px 8px rgba(24,57,89,.055);
}

.apres-main .helper-shift-title {
  font-size:19px;
  font-weight:850;
  color:#1c3045;
}

.apres-main .helper-when {
  font-size:15px;
  color:#253f5c;
  font-weight:700;
}

.apres-main .helper-status {
  font-size:13px;
  font-weight:800;
}

.apres-main .helper-status.is-confirmed {
  background:#d9f4e6;
  color:#13683c;
}

.apres-main .helper-figures {
  font-size:13px;
  margin:8px 0;
}

.apres-main .button {
  border-radius:8px;
}

.apres-main .helper-form {
  margin-top:8px;
}

.apres-main .option {
  padding:8px 10px;
}

/* Rückmeldungen gut sichtbar */
.apres-main .helper-card .locked {
  background:#e7f4ea;
  border-radius:8px;
  padding:9px 12px;
  color:#175e3a;
}

/* Druckausgabe bleibt schlicht */
@media print {
  .apres-page {
    background:white;
    padding:0;
  }
  .apres-banner,
  .apres-sidebar {
    display:none !important;
  }
  .apres-layout {
    display:block;
    margin:0;
  }
}

/* Tablet */
@media (max-width:950px) {
  .apres-layout {
    grid-template-columns:1fr;
  }
  .apres-sidebar {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

/* Smartphone */
@media (max-width:600px) {
  .apres-page {
    padding:7px;
    background-size:auto 320px;
  }
  .apres-banner {
    padding:15px;
    min-height:105px;
  }
  .apres-banner h1 {
    font-size:31px;
  }
  .apres-decor {
    font-size:24px;
  }
  .apres-layout {
    gap:10px;
    margin-top:10px;
  }
  .apres-sidebar {
    grid-template-columns:1fr;
  }
  .apres-sidecard {
    padding:14px;
  }
  .apres-main .helper-card {
    padding:11px;
  }
  .apres-main .helper-shift-title {
    font-size:18px;
  }
}




/* PFARRBAR V4.0 · Ein einziges einheitliches Après-Ski-Theme */
:root {--ink:#162b46;--muted:#52647a;--line:#ccdaeb;--brand:#b91835;--light:#e8f3ff;--ski-wood:#673e28;--ski-red:#b81730}
html {scroll-behavior:smooth}
body.pf-v4 {margin:0;overflow-x:hidden;color:var(--ink);background:#d9ebf9 url('/static/pfarrbar-apres-hintergrund-v48.webp') center top / cover fixed no-repeat; font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;line-height:1.45}
body.pf-v4::before {content:"";position:fixed;inset:0;background:linear-gradient(90deg,transparent 0%,#e7f4ff0e 30%,#e7f4ff0e 70%,transparent 100%);pointer-events:none;z-index:-1}
.pf-v4 .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.pf-v4 .pf-skip{position:absolute;left:14px;top:-60px;z-index:100;background:white;color:var(--ink);padding:10px;border-radius:8px}.pf-v4 .pf-skip:focus{top:10px}
.pf-v4 .pf-ski-shell{display:block;max-width:1220px;margin:0 auto;padding:0 18px;background:none!important;border:0!important}
.pf-v4 .pf-ski-hero {height:195px;display:block;background:#633c25 url('/static/pfarrbar-apres-banner.webp') center center/cover no-repeat;border-radius:0 0 0 0;box-shadow:0 7px 24px #1f314748;position:relative}
.pf-v4 .pf-ski-nav{display:flex;align-items:center;flex-wrap:wrap;gap:5px;position:relative;z-index:2;min-height:52px;padding:6px 13px;border:2px solid #bd8863;border-top:0;border-radius:0 0 13px 13px;background:repeating-linear-gradient(0deg,transparent 0 23px,#fff1 24px 25px),linear-gradient(90deg,#4c2b1d,#865035 52%,#4b2c1f);box-shadow:0 7px 14px #2c233455}
.pf-v4 .pf-ski-nav a,.pf-v4 .pf-ski-nav button,.pf-v4 .pf-ski-user{color:#fff!important;text-shadow:0 1px 2px #0009;font-size:13px;font-weight:750;border:0;border-radius:8px;display:inline-flex;align-items:center;padding:9px 12px;text-decoration:none;white-space:nowrap;line-height:1.25;background:none;cursor:pointer}
.pf-v4 .pf-ski-nav a:hover,.pf-v4 .pf-ski-nav button:hover{background:#ffffff24}.pf-v4 .pf-ski-nav a.is-current,.pf-v4 .pf-ski-nav .pf-ski-home,.pf-v4 .pf-ski-nav .pf-ski-signin{background:linear-gradient(#db2d42,#a80e26);box-shadow:0 3px 9px #280c1966}
.pf-v4 .pf-ski-nav-space{flex:1}.pf-v4 .pf-ski-nav form.inline{margin:0;display:inline-flex}.pf-v4 .pf-ski-user{font-size:12px;max-width:230px;overflow:hidden;text-overflow:ellipsis}
.pf-v4 .pf-ski-content.wrap{max-width:1220px;width:100%;margin:auto;padding:16px 22px 32px;min-height:55vh}
.pf-v4 .pf-ski-footer{padding:9px 15px 24px;text-align:center;font-size:12px;color:#21364c;text-shadow:0 1px 2px #fff9}
.pf-v4 h1,.pf-v4 h2,.pf-v4 h3{color:#142b46!important;font-weight:800;letter-spacing:-.025em;line-height:1.2}.pf-v4 h1{font-size:clamp(24px,2.8vw,38px);margin:3px 0 10px}.pf-v4 h2{font-size:clamp(18px,1.7vw,23px);margin:0 0 9px}.pf-v4 h3{font-size:17px;margin:0 0 7px}.pf-v4 p{color:#24374f}.pf-v4 .muted{color:#546579}
.pf-v4 .v4-frost,.pf-v4 .card,.pf-v4 .v3-panel,.pf-v4 .v3-toolbar,.pf-v4 .shiftitem-v06,.pf-v4 .apres-sidecard{background:linear-gradient(155deg,rgba(255,255,255,.985),rgba(246,250,255,.945))!important;border:1px solid #d1dff0!important;border-radius:15px!important;box-shadow:0 7px 22px #193b6340,0 1px 0 #fff inset!important;backdrop-filter:blur(3px)}
.pf-v4 .card{padding:18px 21px;margin-bottom:13px}.pf-v4 .narrow{max-width:600px;margin:18px auto}.pf-v4 .columns{gap:13px}.pf-v4 .stack{gap:10px}
.pf-v4 .button,.pf-v4 a.button,.pf-v4 button.button{min-height:37px;border:1px solid #a91d35;border-radius:9px;padding:9px 14px;background:linear-gradient(180deg,#d52542,#a50c2b)!important;color:white!important;text-shadow:none;box-shadow:0 2px 6px #971a3530;font-size:13px;font-weight:750;text-decoration:none}
.pf-v4 .button:hover,.pf-v4 a.button:hover,.pf-v4 button.button:hover{filter:brightness(1.06)}.pf-v4 .button.secondary,.pf-v4 a.button.secondary,.pf-v4 button.button.secondary{background:linear-gradient(#fff,#e5eef9)!important;color:#174b7a!important;border-color:#b7cde4!important;text-shadow:none}
.pf-v4 label{font-size:13px;font-weight:700;color:#233851}.pf-v4 input:not([type=radio]):not([type=checkbox]):not([type=hidden]),.pf-v4 select,.pf-v4 textarea{color:#1b3149;background:#ffffffec;border:1px solid #adc3df;border-radius:9px;padding:9px 11px;font-size:14px;line-height:1.35;font-weight:500}.pf-v4 textarea{min-height:64px;resize:vertical}.pf-v4 input:focus-visible,.pf-v4 textarea:focus-visible,.pf-v4 a:focus-visible,.pf-v4 button:focus-visible{outline:3px solid #1577b7;outline-offset:2px}
.pf-v4 .v4-eyebrow{display:block;color:#ac2234;font-weight:850;letter-spacing:.11em;font-size:11px;margin-bottom:6px}
.pf-v4 .v4-welcome{padding:21px 26px;margin:0 0 15px;position:relative;overflow:hidden;border-left:4px solid #fff!important}
.pf-v4 .v4-welcome::before{content:"";position:absolute;right:10%;top:-80px;width:220px;height:220px;background:radial-gradient(circle,#d0e8fd60,transparent 73%);pointer-events:none}
.pf-v4 .v4-welcome-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(220px,.75fr);gap:18px;align-items:center}.pf-v4 .v4-lead,.pf-v4 .v4-copy{white-space:pre-line;font-size:15px;line-height:1.52;max-width:720px}.pf-v4 .v4-actionrow{display:flex;flex-wrap:wrap;gap:10px;margin-top:15px}.pf-v4 .v4-welcome-art{display:flex;align-items:center;justify-content:center;gap:12px;min-height:130px;position:relative}.pf-v4 .v4-cheers{font-size:55px;filter:drop-shadow(0 3px 3px #ad6c3866)}.pf-v4 .v4-mountain-mark{font-size:40px;color:#c5e1f8}.pf-v4 .v4-signpost{background:linear-gradient(#865338,#5b2d1e);border:3px solid #a77a50;box-shadow:0 5px 10px #51321b44;border-radius:8px;color:white;transform:rotate(-3deg);text-align:center;font-family:Georgia,serif;font-size:20px;font-style:italic;font-weight:750;line-height:1.1;padding:12px;text-shadow:0 2px 2px #0008}
.pf-v4 .v4-home-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.pf-v4 .v4-tile{min-width:0;padding:17px 16px;display:flex;flex-direction:column;gap:6px}.pf-v4 .v4-tile h2{font-size:18px;display:flex;align-items:center;gap:7px;margin:0 0 6px}.pf-v4 .v4-tile p{font-size:13px;margin:0 0 7px;line-height:1.45}.pf-v4 .v4-tile-icon{color:#bd2237;font-size:23px}.pf-v4 .v4-textlink{margin-top:auto;color:#164b7e;font-size:13px;font-weight:800;display:inline-block;padding-top:10px}.pf-v4 .v4-textlink:hover{text-decoration:underline}
/* Verwaltung */
.pf-v4 .adminhead.v4-admin-hero{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:0;padding:19px 20px 13px!important;margin:0 0 14px;background:linear-gradient(105deg,#fbfdfffa,#e2f0fff2)!important;border:1px solid #c0daf2!important;border-radius:16px!important;box-shadow:0 8px 20px #163d6444!important;overflow:hidden}
.pf-v4 .adminhead.v4-admin-hero::before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(140deg,transparent 0,transparent 230px,#d6a75c24 230px,#d6a75c24 233px);pointer-events:none}.pf-v4 .adminhead.v4-admin-hero::after{display:none!important}.pf-v4 .v4-admin-hero .fasnacht-headline{flex:1 1 65%;position:relative;z-index:1}.pf-v4 .v4-admin-hero .fasnacht-kicker{font-size:11px;color:#ad2530;letter-spacing:.11em;font-weight:800}.pf-v4 .v4-admin-hero h1{font-size:28px!important;color:#183752!important;margin:4px 0!important}.pf-v4 .v4-admin-hero p{font-size:14px;color:#445a71!important;margin:3px 0 9px}.pf-v4 .v4-admin-hero .fasnacht-art{display:flex;align-items:center;gap:13px;font-size:24px;position:relative;z-index:1}.pf-v4 .v4-admin-hero .navchips{display:flex;flex-wrap:wrap;gap:7px;flex:1 1 100%;position:relative;z-index:1;margin-top:6px}.pf-v4 .v4-admin-hero .navchips a{font-size:13px;display:inline-flex;align-items:center;min-height:36px;background:linear-gradient(#fffdfc,#f4e7d9)!important;color:#572e26!important;border:1px solid #e4d1be!important;border-radius:9px;padding:8px 12px;font-weight:750;box-shadow:0 2px 5px #432c1c20;text-decoration:none}.pf-v4 .v4-admin-hero .navchips a.is-current{background:linear-gradient(#d82d44,#ac122c)!important;border-color:#a82037!important;color:#fff!important}
.pf-v4 .fasnacht-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:13px}.pf-v4 .fasnacht-stat{background:linear-gradient(145deg,#fdfcff,#f1f4fc)!important;border:1px solid #d2ddeb!important;border-radius:12px;padding:12px;display:flex;align-items:center;gap:9px;min-width:0;text-decoration:none}.pf-v4 .fasnacht-stat:nth-child(2){background:#ecf8f1!important}.pf-v4 .fasnacht-stat:nth-child(3){background:#f0f7fc!important}.pf-v4 .fasnacht-stat:nth-child(4){background:#fff7e9!important}.pf-v4 .fasnacht-stat:nth-child(5){background:#fff0f2!important}.pf-v4 .fasnacht-stat strong{font-size:24px;color:#153451}.pf-v4 .fasnacht-stat small{font-size:12px;color:#556a7c}.pf-v4 .fasnacht-stat .stat-icon{font-size:22px}
.pf-v4 .v3-head{padding:3px 2px}.pf-v4 .v3-head h2{font-size:21px}.pf-v4 .v3-head .muted{font-size:12px}.pf-v4 .v3{gap:11px}.pf-v4 .v3-panel{padding:15px 17px!important}.pf-v4 .v3-toolbar{padding:9px 13px!important}.pf-v4 .v3-shift{padding:11px 0}.pf-v4 .v3-identity strong{font-size:18px}.pf-v4 .v3-identity span{font-size:14px;font-weight:700;color:#245779}.pf-v4 .v3-bar{color:#402b10!important;background:#efbb62;border-radius:7px;font-weight:850}.pf-v4 .v3-bar.full{background:#64bb88;color:#14482b!important}.pf-v4 .v3-bar.conflict{background:#c72a42;color:white!important}.pf-v4 .v3-gap{background:#fff1d8;color:#88510b}.pf-v4 .v3-gap.ok{background:#e2f4e6;color:#206040}.pf-v4 .v3-people{gap:6px}.pf-v4 .v3-person{border-radius:8px}.pf-v4 .v3-person.definitiv{background:#def2e6}
.pf-v4 .pf-editor-v17{max-width:960px!important;margin:0 auto}.pf-v4 .pf-editor-v17>h2{background:repeating-linear-gradient(0deg,transparent 0 21px,#ffffff09 22px),linear-gradient(90deg,#63351f,#9e6642,#60321f);color:#fff!important;padding:12px 15px;border-radius:10px;margin:-1px -1px 12px!important;box-shadow:0 4px 10px #3c241c30}.pf-v4 .pf-editor-v17 h3{font-size:17px;padding:8px 12px;background:linear-gradient(90deg,#f9e5d6,#f5e0d0);border-left:4px solid #b8223d;border-radius:8px;color:#712e28!important;margin:17px 0 9px}
/* Helferansicht */
.pf-v4 .v4-helper-hero{padding:17px 21px}.pf-v4 .v4-helper-hero h1{font-size:27px}.pf-v4 .v4-helper-hero p{font-size:14px;margin:5px 0}.pf-v4 .v4-helper-grid{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(245px,1fr);gap:13px;align-items:start}.pf-v4 .v4-helper-primary,.pf-v4 .v4-helper-aside{display:grid;gap:12px;min-width:0}.pf-v4 .v4-panel{padding:17px 18px}.pf-v4 .v4-panel-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-bottom:11px}.pf-v4 .v4-panel-heading h2{margin:0;font-size:23px}.pf-v4 .v4-panel-heading p{margin:3px 0 0;font-size:13px}.pf-v4 .v4-shift-list{display:grid;gap:8px}.pf-v4 .v4-shift{border:1px solid #d3dfe9;border-left:6px solid #adc6d9;background:rgba(255,255,255,.94);border-radius:10px;padding:10px 11px}.pf-v4 .v4-shift.v4-state-definitiv,.pf-v4 .v4-shift.v4-state-yes{border-left-color:#42b46a}.pf-v4 .v4-shift.v4-state-maybe{border-left-color:#eea928}.pf-v4 .v4-shift.v4-state-no{border-left-color:#ce314b}.pf-v4 .v4-shift-head{display:flex;align-items:center;gap:11px}.pf-v4 .v4-shift-symbol{font-size:25px;flex:0 0 36px;text-align:center}.pf-v4 .v4-shift-info{flex:1;min-width:0}.pf-v4 .v4-shift-info h3{font-size:19px;margin:0 0 2px}.pf-v4 .v4-shift-time{margin:0;color:#244462;font-size:14px;font-weight:700}.pf-v4 .v4-status{font-size:12px;font-weight:800;white-space:nowrap;padding:7px 9px;border-radius:8px;background:#e8edf2;color:#33495b}.pf-v4 .v4-status.confirmed,.pf-v4 .v4-status.yes{background:#d5f0db;color:#145b33}.pf-v4 .v4-status.maybe{background:#fff0d3;color:#87480e}.pf-v4 .v4-status.no{background:#ffe2e4;color:#a22838}.pf-v4 .v4-description{font-size:13px;margin:8px 0 0}.pf-v4 .v4-shift-foot{display:flex;flex-wrap:wrap;gap:10px;color:#53657a;font-size:12px;margin:8px 0 3px;padding-top:7px;border-top:1px solid #e2e8f0}.pf-v4 .v4-shift-foot strong{color:#1c536e}.pf-v4 .v4-helper-form{margin-top:7px}.pf-v4 .v4-helper-form .options{margin:7px 0}.pf-v4 .v4-helper-form .option{padding:7px 10px;background:#f5f9ff;border:1px solid #d0ddea;font-size:12px}.pf-v4 .v4-helper-form button{margin-top:3px}.pf-v4 .v4-shift .locked{padding:8px 10px;margin:8px 0;background:#e2f5e8;color:#165d37;font-size:13px}.pf-v4 .v4-profile-card strong{font-size:17px}.pf-v4 .v4-profile-card p{font-size:14px;overflow-wrap:anywhere}.pf-v4 .v4-wide{display:flex;width:100%}.pf-v4 .v4-thanks{text-align:center}.pf-v4 .v4-thanks>span{font-size:26px}.pf-v4 .v4-thanks h2{font-size:18px;margin:7px 0}.pf-v4 .v4-thanks p{font-size:13px;margin:0}.pf-v4 .v4-empty{padding:10px;font-size:14px}.pf-v4 .v4-schedule .v4-panel-heading h2{font-size:20px}.pf-v4 .v4-agenda-day{border-top:1px solid #e0e8ef;padding:9px 0}.pf-v4 .v4-agenda-day>strong{font-size:13px;color:#284762}.pf-v4 .v4-agenda-rows{margin-top:5px;display:grid;gap:5px}.pf-v4 .v4-agenda-row{display:grid;grid-template-columns:125px 1fr;align-items:center;gap:8px}.pf-v4 .v4-agenda-row>span{font-size:12px;font-weight:700;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.pf-v4 .v4-agenda-track{height:28px;position:relative;background:repeating-linear-gradient(90deg,#f2f6fb 0,#f2f6fb calc(16.66% - 1px),#d4e2f0 calc(16.66% - 1px),#d4e2f0 16.66%);border-radius:7px}.pf-v4 .v4-agenda-bar{position:absolute;top:3px;bottom:3px;min-width:35px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;align-items:center;justify-content:center;padding:0 4px;background:#ccddea;border-radius:6px;font-size:11px;font-weight:750}.pf-v4 .v4-agenda-bar.confirmed,.pf-v4 .v4-agenda-bar.yes{background:#91d49d}.pf-v4 .v4-agenda-bar.maybe{background:#ffdb83}.pf-v4 .v4-agenda-bar.no{background:#f6a8ad}.pf-v4 .v4-request-row{border-bottom:1px solid #dce5ef;padding:8px 0;margin:0}
/* Andere Formulare und Listen */
.pf-v4 .shiftrow{padding:10px 0}.pf-v4 .shiftrow strong{font-size:15px}.pf-v4 .assignment{border-bottom-color:#dce4eb}.pf-v4 .navchips a:hover{filter:brightness(.98)}.pf-v4 .notice{border:1px solid #bdd7e8;background:#eaf5ff}.pf-v4 .notice.error{background:#fff0ef;border-color:#f2c9c9}.pf-v4 .notice.success{background:#ecf8ef;border-color:#c0e5cc}
@media(max-width:1150px){.pf-v4 .v4-home-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pf-v4 .fasnacht-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){.pf-v4 .pf-ski-hero{height:146px}.pf-v4 .v4-helper-grid{grid-template-columns:1fr}.pf-v4 .v4-helper-aside{grid-template-columns:repeat(2,minmax(0,1fr))}.pf-v4 .v4-welcome-grid{grid-template-columns:1fr}.pf-v4 .v4-welcome-art{display:none}}
@media(max-width:650px){.pf-v4 .pf-ski-shell{padding:0 5px}.pf-v4 .pf-ski-hero{height:100px;background-position:center}.pf-v4 .pf-ski-nav{gap:3px;padding:5px}.pf-v4 .pf-ski-nav a,.pf-v4 .pf-ski-nav button{font-size:12px;padding:8px}.pf-v4 .pf-ski-nav-space{display:none}.pf-v4 .pf-ski-user{display:none}.pf-v4 .pf-ski-content.wrap{padding:11px 10px 25px}.pf-v4 .v4-welcome{padding:17px}.pf-v4 .v4-home-grid{grid-template-columns:1fr}.pf-v4 .fasnacht-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.pf-v4 .v4-admin-hero{padding:12px!important}.pf-v4 .v4-admin-hero .fasnacht-art{display:none}.pf-v4 .v4-admin-hero .navchips{gap:5px}.pf-v4 .v4-admin-hero .navchips a{font-size:12px;padding:7px 9px;min-height:34px}.pf-v4 .v4-helper-aside{grid-template-columns:1fr}.pf-v4 .v4-shift-head{flex-wrap:wrap}.pf-v4 .v4-status{margin-left:46px}.pf-v4 .v4-panel{padding:13px}.pf-v4 .v4-agenda-row{grid-template-columns:85px 1fr}.pf-v4 .v4-panel-heading h2{font-size:19px}.pf-v4 .v3-panel{padding:11px!important}}
@media print{@page{size:A4;margin:13mm}body.pf-v4{background:white!important;color:#111}.pf-v4 .pf-ski-shell,.pf-v4 .pf-ski-footer,.pf-v4 .v4-helper-aside,.pf-v4 .v4-actionrow,.pf-v4 .v4-admin-hero{display:none!important}.pf-v4 .pf-ski-content.wrap{width:100%;max-width:none;padding:0!important}.pf-v4 .v4-frost,.pf-v4 .card,.pf-v4 .v3-panel{background:white!important;box-shadow:none!important;border:1px solid #ddd!important}.pf-v4 .v4-shift{break-inside:avoid}.pf-v4 form,.pf-v4 button{display:none!important}}

/* PFARRBAR_BANNER_RATIO_V44 */

/* Originalbild vollständig und proportional anzeigen */
body.pf-v4 .pf-ski-hero {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1586 / 187;
    background-size: 100% 100% !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}


/* PFARRBAR_HOME_V45_FIX */
.pf-v4 .pf-home-v45 {
    padding:20px 24px!important;
    margin-bottom:13px!important;
}
.pf-v4 .pf-home-v45 h1 {
    font-size:clamp(25px,2.7vw,34px);
    margin-bottom:9px;
}
.pf-v4 .pf-home-join-v45 {
    background:#ba1e39!important;
    color:white!important;
    font-weight:800;
}
.pf-v4 .pf-home-cards-v45 {
    gap:12px;
    align-items:stretch;
}
.pf-v4 .pf-home-cards-v45 > * {
    display:flex;
    flex-direction:column;
    min-height:150px;
    padding:16px!important;
    border-radius:14px!important;
    background:linear-gradient(
        145deg,
        rgba(255,255,255,.98),
        rgba(238,247,255,.96)
    )!important;
}
.pf-v4 .pf-home-cards-v45 h2 {
    font-size:17px!important;
}
.pf-v4 .pf-home-cards-v45 .v4-textlink {
    margin-top:auto;
    padding-top:10px;
    font-weight:800;
}
@media(max-width:650px) {
    .pf-v4 .pf-home-v45 {
        padding:15px!important;
    }
    .pf-v4 .pf-home-cards-v45 > * {
        min-height:0;
        padding:14px!important;
    }
}


/* PFARRBAR_HOME_TRANSPARENT_V46 */

/* Startseite: leeren unteren Bereich nicht deckend anzeigen */
.pf-v4 .pf-ski-content.wrap:has(.pf-home-v45){
  position: relative;
  min-height: auto !important;
  background: rgba(245,250,255,.10) !important;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  padding-bottom: 18px !important;
  border-radius: 0 0 18px 18px;
}

/* z-Ebene für Inhalt */
.pf-v4 .pf-ski-content.wrap:has(.pf-home-v45) > *{
  position: relative;
  z-index: 1;
}

/* ganz leichte milchige Fläche statt deckendem Block */
.pf-v4 .pf-ski-content.wrap:has(.pf-home-v45)::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.08) 0%,
    rgba(255,255,255,.04) 35%,
    rgba(255,255,255,0) 100%
  );
}

/* Karten bewusst lesbar lassen */
.pf-v4 .pf-ski-content.wrap:has(.pf-home-v45) .pf-home-cards-v45 > *,
.pf-v4 .pf-ski-content.wrap:has(.pf-home-v45) .pf-home-v45{
  background: rgba(255,255,255,.92) !important;
  box-shadow: 0 8px 22px rgba(20,44,70,.12) !important;
}

/* etwas kompakterer Abschluss */
.pf-v4 .pf-ski-content.wrap:has(.pf-home-v45) .pf-home-cards-v45{
  margin-bottom: 10px !important;
}


/* PFARRBAR_PRIVACY_STYLE_V1 */
.pf-privacy-footer {
    text-align:center;
    padding:10px 12px 24px;
    font-size:12px;
}
.pf-privacy-footer a {
    color:#244f78;
    background:rgba(255,255,255,.75);
    border-radius:8px;
    padding:6px 12px;
}
.pf-privacy-page {
    max-width:800px;
    margin:16px auto;
    padding:22px;
}
.pf-privacy-content {
    white-space:pre-line;
    line-height:1.65;
    font-size:14px;
}
.pf-privacy-page textarea {
    width:100%;
    line-height:1.6;
}
.pf-privacy-note {
    font-size:12px;
    color:#53677a;
    margin-top:12px;
}


/* PFARRBAR_DATENSCHUTZ_V49 */
.pf-privacy-footer {
    max-width: 1220px;
    margin: 8px auto 20px;
    text-align: center;
    font-size: 12px;
}
.pf-privacy-footer a {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(255,255,255,.70);
    color: #284e70;
}
.pf-privacy-page {
    max-width: 820px;
    margin: 18px auto;
    padding: 22px;
}
.pf-privacy-text {
    white-space: pre-line;
    line-height: 1.65;
    font-size: 14px;
}
.pf-privacy-page textarea {
    width: 100%;
    line-height: 1.5;
}
.pf-privacy-note {
    font-size: 12px;
    line-height: 1.5;
    margin-top: 12px;
}
