.kp-open-module{--kp-border:#e5e7e5;--kp-ink:#1c2927;--kp-muted:#697570;--kp-accent:#22665c;color:var(--kp-ink);font:inherit;width:100%}.kp-open-module *{box-sizing:border-box}.kp-open-count{color:var(--kp-muted);font-size:.9rem;margin:0 0 12px}.kp-open-grid{display:grid;grid-template-columns:repeat(var(--kp-open-cols),minmax(0,1fr));gap:18px}.kp-open-card{background:#fff;border:1px solid var(--kp-border);border-radius:15px;overflow:hidden;box-shadow:0 5px 18px rgba(28,41,39,.055);min-width:0;transition:box-shadow .2s ease,transform .2s ease}.kp-open-card:hover{box-shadow:0 10px 24px rgba(28,41,39,.12);transform:translateY(-2px)}.kp-open-visual{display:block;aspect-ratio:16/10;overflow:hidden;background:#edf1eb}.kp-open-visual img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .3s ease}.kp-open-card:hover .kp-open-visual img{transform:scale(1.03)}.kp-open-placeholder{display:grid;place-items:center;width:100%;height:100%;background:linear-gradient(135deg,#e5ebe6,#f8f6ef);color:#8da39a}.kp-open-placeholder svg{width:48px;height:48px}.kp-open-body{padding:17px;display:flex;flex-direction:column;align-items:flex-start;min-height:178px}.kp-open-status{font-size:.74rem;font-weight:700;line-height:1.25;border-radius:40px;padding:5px 10px;display:inline-flex;align-items:center;gap:7px;background:#f1f3f2;color:#52615d;white-space:nowrap}.kp-open-status-open{background:#e9f7ee;color:#167340}.kp-open-status-closed{background:#f3f3f3;color:#727776}.kp-open-status-unknown{background:#fff4df;color:#8a600d}.kp-open-dot{width:7px;height:7px;border-radius:50%;background:currentColor;flex:none}.kp-open-title{font-family:inherit!important;font-weight:700!important;font-size:1.09rem!important;line-height:1.32!important;margin:12px 0 8px!important;color:var(--kp-ink)!important}.kp-open-title a{color:inherit!important;text-decoration:none!important}.kp-open-title a:hover{color:var(--kp-accent)!important}.kp-open-location,.kp-open-hours{font-size:.87rem;color:var(--kp-muted);line-height:1.45;display:flex;align-items:flex-start;gap:7px;margin:3px 0;word-break:break-word}.kp-open-location svg,.kp-open-hours svg{height:15px;width:15px;flex:none;margin-top:2px}.kp-open-link{margin-top:auto;padding-top:16px;font-size:.88rem;font-weight:700;color:var(--kp-accent)!important;text-decoration:none!important}.kp-open-link span{margin-left:3px}.kp-open-link:hover{text-decoration:underline!important}.kp-open-empty{padding:20px;border:1px solid var(--kp-border);border-radius:12px;color:var(--kp-muted)}.kp-open-admin-note{padding:9px 12px;background:#fff8dc;border:1px solid #e6d59b;color:#66582d;font-size:.82rem;border-radius:8px;margin-top:15px}.kp-open-list{grid-template-columns:1fr}.kp-open-list .kp-open-card{display:flex;align-items:stretch}.kp-open-list .kp-open-visual{aspect-ratio:auto;width:210px;min-width:210px}.kp-open-list .kp-open-body{flex:1;min-height:145px}.kp-open-list .kp-open-link{padding-top:10px}@media(max-width:1000px){.kp-open-grid:not(.kp-open-list){grid-template-columns:repeat(min(2,var(--kp-open-cols)),minmax(0,1fr))}}@media(max-width:560px){.kp-open-grid:not(.kp-open-list){grid-template-columns:1fr}.kp-open-list .kp-open-visual{width:115px;min-width:115px}.kp-open-list .kp-open-body{padding:12px;min-height:130px}.kp-open-title{font-size:1rem!important}.kp-open-list .kp-open-hours{font-size:.8rem}}@media(prefers-reduced-motion:reduce){.kp-open-card,.kp-open-visual img{transition:none}.kp-open-card:hover{transform:none}}

/* Grün umrandete Karten ausschließlich für aktuell geöffnete Anbieter. */
.kp-open-module .kp-open-card.kp-open-card-is-open{border:var(--kp-open-border-width,3px) solid var(--kp-open-border-color,#198754);}

.kp-open-filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:0 0 18px;padding:16px;background:#f5f8f5;border:1px solid #e2eae5;border-radius:14px}
.kp-open-status-filters{display:flex;flex-wrap:wrap;gap:6px}
.kp-open-status-filters button{cursor:pointer;border:1px solid #cfdad4;background:white;color:#31453e;border-radius:9px;padding:9px 13px;font:inherit;font-size:.9rem;line-height:1.4}
.kp-open-status-filters button.is-active{color:white;background:#22665c;border-color:#22665c}
.kp-open-status-filters button:focus-visible,.kp-open-filters select:focus-visible{outline:3px solid #93cbb5;outline-offset:2px}
.kp-open-filters label{display:flex;flex-direction:column;gap:4px;font-weight:600;font-size:.8rem;color:#4d6159}
.kp-open-filters select{padding:9px 32px 9px 10px;background:white;border-radius:9px;border:1px solid #cfdad4;max-width:220px;font:inherit;color:#24362e}
.kp-open-meta{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:0 0 12px}.kp-open-meta .kp-open-count{margin:0}.kp-open-updated{color:#697570;font-size:.8rem}
.kp-open-next{color:#1e6c50;background:#f0f8f2;border-radius:7px;margin-top:8px;padding:5px 9px;font-size:.82rem;font-weight:600}.kp-open-next[hidden]{display:none!important}
.kp-open-actions{width:100%;margin-top:auto;padding-top:14px;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.kp-open-actions .kp-open-link{padding-top:0;margin-top:0}.kp-open-phone{display:inline-flex;align-items:center;gap:4px;border:1px solid #cbdcd2;border-radius:7px;color:#22665c!important;padding:6px 10px;font-weight:600;text-decoration:none!important;font-size:.82rem}
.kp-open-card[hidden],.kp-open-empty[hidden]{display:none!important}
@media(max-width:600px){.kp-open-filters{padding:12px}.kp-open-status-filters{width:100%}.kp-open-status-filters button{flex:1;padding:8px 6px;font-size:.8rem}.kp-open-filters label{flex:1;min-width:120px}.kp-open-filters select{max-width:100%}}
.kp-open-module [hidden]{display:none!important}

.kp-open-kitchen{font-size:.91rem;line-height:1.55;color:var(--kp-text,inherit);margin:.35rem 0 .45rem;}
.kp-open-kitchen strong{font-weight:650;}

/* Optische Schriftgröße der Anbieternamen – ausschließlich innerhalb dieser Modulinstanz. */
.kp-open-module .kp-open-title{font-size:var(--kp-provider-title-size,1.09rem)!important;}
@media(max-width:560px){.kp-open-module .kp-open-title{font-size:var(--kp-provider-title-size,1rem)!important;}}

/* v1.10.3: Die Detailaktion wird wie der Telefonlink als klar erkennbarer Button dargestellt. */
.kp-open-module .kp-open-actions .kp-open-link,
.kp-open-module .kp-open-actions .kp-open-phone{
 display:inline-flex;align-items:center;justify-content:center;gap:6px;
 min-height:37px;padding:8px 12px;margin-top:0;
 border:1px solid #cbdcd2;border-radius:7px;
 font-size:.88rem;font-weight:700;line-height:1.25;
 text-decoration:none!important;transition:background-color .15s ease,border-color .15s ease,color .15s ease;
}
.kp-open-module .kp-open-actions .kp-open-link{
 background:#7B6C53;color:#fff!important;border-color:#7B6C53;
}
.kp-open-module .kp-open-actions .kp-open-link:hover{
 background:#6a5c46;border-color:#6a5c46;color:#fff!important;text-decoration:none!important;
}
.kp-open-module .kp-open-actions .kp-open-phone{background:#fff;color:#22665c!important;}
.kp-open-module .kp-open-actions .kp-open-phone:hover{background:#eff7f2;border-color:#22665c;text-decoration:none!important;}
.kp-open-module .kp-open-actions a:focus-visible{outline:3px solid #93cbb5;outline-offset:3px;}
@media(max-width:400px){.kp-open-module .kp-open-actions{gap:8px}.kp-open-module .kp-open-actions a{flex:1 1 auto;}}

/* Version 1.10.6: eigenständiger Küchenstatus */
.kp-open-kitchen-status{margin:.15rem 0 .55rem;font-size:.85rem;font-weight:600;line-height:1.45}
.kp-open-kitchen-status-open{color:#176b45}
.kp-open-kitchen-status-paused{color:#8b5a14}
.kp-open-kitchen-status-closed{color:#666}
.kp-open-kitchen-status[hidden]{display:none!important}

/* Version 1.10.7: zwei ruhige, getrennte Zeitbereiche statt zusätzlicher Statuszeilen. */
.kp-open-module .kp-open-time-panel{width:100%;padding:9px 11px;margin-top:9px;border-radius:8px;background:#f4f5f4;border:1px solid #e7eae7;color:#3d4944;}
.kp-open-module .kp-open-time-panel.is-open{background:#f4f5f4;border-color:#e7eae7;color:#3d4944;}
.kp-open-module .kp-open-time-heading{display:flex;flex-direction:column;gap:3px;font-size:.87rem;line-height:1.4;overflow-wrap:anywhere;}
.kp-open-module .kp-open-time-heading strong{font-weight:700;color:inherit;}
.kp-open-module .kp-open-time-heading span{color:inherit;}
.kp-open-module .kp-open-time-notice{margin-top:5px;padding-top:5px;border-top:1px solid rgba(60,80,65,.13);font-size:.85rem;font-weight:700;line-height:1.35;color:inherit;}
.kp-open-module .kp-open-time-panel[hidden],.kp-open-module .kp-open-time-notice[hidden]{display:none!important;}

/* Version 1.10.8: Grün ausschließlich hinter dem Schließhinweis, nicht hinter den Zeiten. */
.kp-open-module .kp-open-time-panel.is-open .kp-open-time-notice:not([hidden]){
  display:block;
  background:#e9f7ee;
  border:1px solid #c8e5d1;
  border-radius:7px;
  padding:6px 9px;
  margin-top:7px;
  color:#176b45;
}
.kp-open-module .kp-open-time-panel:not(.is-open) .kp-open-time-notice{
  background:transparent;
  border-top:1px solid rgba(60,80,65,.13);
}

/* v1.10.9 – Mobile Darstellung der Zeitangaben gegen Template-Regeln absichern.
   Mobile: gleiche Anordnung und Farblogik wie Desktop, nur schmaler. */
@media (max-width: 600px) {
 .kp-open-module .kp-open-body {min-width:0;}
 .kp-open-module .kp-open-time-panel,
 .kp-open-module .kp-open-time-panel.is-open {
   display:block; width:100%; min-width:0; max-width:100%;
   background:#f4f5f4!important; border:1px solid #e7eae7!important;
   border-radius:8px; padding:9px 11px; color:#3d4944!important;
   box-shadow:none; overflow-wrap:anywhere;
 }
 .kp-open-module .kp-open-time-panel[hidden] {display:none!important;}
 .kp-open-module .kp-open-time-heading {display:flex;flex-direction:column;align-items:stretch;gap:3px;}
 .kp-open-module .kp-open-time-heading strong,
 .kp-open-module .kp-open-time-heading span {background:transparent!important;color:inherit!important;}
 .kp-open-module .kp-open-time-notice {
   display:block; width:100%; max-width:100%;
   font-size:.85rem; line-height:1.4; box-sizing:border-box;
 }
 .kp-open-module .kp-open-time-notice[hidden] {display:none!important;}
 .kp-open-module .kp-open-time-panel.is-open .kp-open-time-notice:not([hidden]) {
   background:#e9f7ee!important; color:#176b45!important;
   border:1px solid #c8e5d1!important; border-radius:7px;
   padding:6px 9px; margin-top:7px;
 }
 .kp-open-module .kp-open-time-panel:not(.is-open) .kp-open-time-notice:not([hidden]) {
   background:transparent!important; color:inherit!important;
 }
}

/* Lunch badge sits at the upper-right edge next to the opening status */
.kp-open-module .kp-open-badge-row{display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap;width:100%;margin:0 0 2px}
.kp-open-module .kp-open-lunch-badge{display:inline-flex;align-items:center;justify-content:center;font-size:.74rem;line-height:1.25;font-weight:700;border-radius:40px;background:#7B6C53;color:#fff;padding:5px 10px;white-space:nowrap;margin-left:auto}
.kp-open-module .kp-open-lunch-badge[hidden]{display:none!important}
@media(max-width:560px){.kp-open-module .kp-open-badge-row{justify-content:flex-start}.kp-open-module .kp-open-lunch-badge{margin-left:auto}}
