:root{
  color-scheme: light;
  --bg:#ffffff;
  --surface:#ffffff;
  --surface-soft:#fbf8f8;
  --card:#ffffff;
  --border:#e7e2e2;
  --border-strong:#d7cdcd;
  --text:#13072F;
  --muted:#5f5c6e;
  --accent:#D32025;
  --accent-dark:#b71d21;
  --accent-soft:#fff1f1;
  --success:#19a65a;
  --shadow:0 14px 42px rgba(19,7,47,.08);
}

*{box-sizing:border-box}
html,body{
  margin:0;
  min-height:100%;
  font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  background:var(--bg);
  color:var(--text)
}
body{overflow-x:hidden}

.shell{
  min-height:100dvh;
  display:flex;
  flex-direction:column;
  padding:clamp(22px,3vh,42px) clamp(22px,3.2vw,56px) 18px;
  background:
    radial-gradient(circle at top right, rgba(211,32,37,.07), transparent 28%),
    linear-gradient(180deg,#fff 0%, #fff 64%, #faf7f7 100%);
}

.top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  padding-bottom:clamp(18px,2.8vh,30px);
  border-bottom:2px solid var(--border);
}

.identity{display:flex;align-items:center;gap:22px;min-width:0}

.eyebrow,.about-kicker,.aside-label,.service-title{
  font-size:clamp(12px,1.1vw,18px);
  font-weight:800;
  letter-spacing:.12em;
}
.eyebrow,.about-kicker,.aside-label,.service-title span:last-child,.service-title{color:var(--accent)}

h1{
  font-size:clamp(28px,3vw,52px);
  line-height:1.02;
  letter-spacing:-.04em;
  margin:10px 0 8px;
}
h1 span{font-weight:500}
.identity p{
  font-size:clamp(13px,1.25vw,19px);
  margin:0;
  color:var(--muted)
}

.clockbox{
  text-align:right;
  white-space:nowrap;
  padding:16px 18px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.9);
  border-radius:18px;
  box-shadow:0 8px 24px rgba(19,7,47,.05)
}
#day{font-size:clamp(14px,1.35vw,20px);color:var(--muted)}
#clock{font-size:clamp(34px,4vw,62px);font-weight:700;letter-spacing:-.06em;color:var(--text)}

main{
  display:grid;
  grid-template-columns:minmax(0,1.65fr) minmax(315px,1fr);
  gap:clamp(22px,2.5vw,42px);
  padding:clamp(24px,3.2vh,46px) 0;
  flex:1
}
.service{min-width:0}
.service-title{display:flex;gap:14px;align-items:center}
.live-dot{
  width:12px;
  height:12px;
  background:var(--success);
  border-radius:50%;
  box-shadow:0 0 0 6px rgba(25,166,90,.12)
}
.service-heading h2{
  font-size:clamp(37px,4vw,74px);
  letter-spacing:-.06em;
  line-height:1.02;
  margin:20px 0 12px;
}
.service-heading p{
  color:var(--muted);
  font-size:clamp(16px,1.65vw,25px);
  margin:0 0 34px
}
.sectionbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:2px solid var(--border);
  padding-bottom:14px;
  gap:12px;
  font-size:clamp(13px,1.2vw,18px)
}
#period{font-weight:800}
#updated{color:var(--accent);font-size:.88em;text-align:right;font-weight:700}

.cards{display:grid;gap:clamp(14px,1.7vh,20px);padding-top:20px}
.duty-card{
  position:relative;
  background:var(--card);
  border:1px solid var(--border);
  border-left:8px solid var(--accent);
  border-radius:22px;
  padding:clamp(18px,2vw,30px);
  display:grid;
  grid-template-columns:1fr auto;
  gap:16px;
  min-width:0;
  box-shadow:var(--shadow)
}
.duty-card.featured{
  background:linear-gradient(180deg,#fff, var(--accent-soft));
  border-color:#efd9da;
  border-left-color:var(--accent-dark)
}
.tag{
  display:inline-block;
  color:#fff;
  background:var(--accent);
  font-size:clamp(10px,.95vw,14px);
  font-weight:850;
  letter-spacing:.08em;
  border-radius:999px;
  padding:7px 11px;
  margin-bottom:14px
}
.duty-card h3{
  font-size:clamp(24px,2.2vw,39px);
  letter-spacing:-.04em;
  margin:0 0 12px;
  line-height:1.08
}
.duty-card .address{
  font-size:clamp(14px,1.3vw,21px);
  color:var(--muted);
  line-height:1.45
}
.info-side{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  justify-content:space-between;
  min-width:138px;
  gap:8px
}
.distance{color:var(--accent);font-size:clamp(12px,1vw,17px);font-weight:800}
.phone{font-size:clamp(17px,1.55vw,25px);font-weight:800;white-space:nowrap;color:var(--text)}
.phone:before{content:'☎';color:var(--accent);margin-right:9px}
.until{color:var(--muted);font-size:clamp(12px,1.02vw,17px);text-align:right}
.note{color:var(--muted);font-size:clamp(11px,1vw,14px);margin-top:20px;line-height:1.5}

.about{
  border:1px solid var(--border);
  background:linear-gradient(180deg,#ffffff 0%, #fff8f8 100%);
  border-radius:24px;
  padding:clamp(22px,2.8vw,40px);
  display:flex;
  flex-direction:column;
  min-width:0;
  box-shadow:var(--shadow)
}
.about-top{display:flex;flex-direction:column;align-items:flex-start}
.about-logo{
  width:min(100%, 330px);
  height:auto;
  object-fit:contain;
  display:block;
  margin:0 0 22px;
}
.about-address{
  font-size:clamp(17px,1.55vw,24px);
  line-height:1.5;
  color:var(--text)
}
.about-hours{margin-top:auto;padding-top:36px}
.hours-row{
  display:flex;
  justify-content:space-between;
  gap:8px;
  border-bottom:1px solid var(--border);
  padding:12px 0;
  font-size:clamp(13px,1.23vw,19px)
}
.hours-row strong{white-space:nowrap}
.contact{margin-top:28px}
.contact-row{
  display:flex;
  align-items:center;
  gap:13px;
  font-size:clamp(17px,1.7vw,28px);
  margin-top:16px
}
.contact-icon{color:var(--accent)}
.contact-row.email{font-size:clamp(12px,1.15vw,18px);overflow-wrap:anywhere}
.bottomline{
  border-top:1px solid var(--border);
  margin-top:34px;
  padding-top:18px;
  display:flex;
  align-items:center;
  gap:13px;
  font-size:clamp(12px,1vw,17px);
  color:var(--muted)
}
.cross{font-size:28px;color:var(--accent)}

footer{
  border-top:2px solid var(--border);
  padding:18px 0 2px;
  display:flex;
  justify-content:space-between;
  gap:20px;
  color:var(--muted);
  letter-spacing:.09em;
  font-size:clamp(10px,.9vw,14px)
}
.loading{
  border:1px solid var(--border-strong);
  border-radius:22px;
  padding:32px;
  color:var(--text);
  background:linear-gradient(180deg,#fff, #fff6f6);
  font-size:23px;
  box-shadow:var(--shadow)
}

@media (max-width:850px){
  .shell{padding:22px}
  main{grid-template-columns:1fr}
  .about-hours{margin-top:0}
  .service-heading p{margin-bottom:25px}
  .about{gap:5px}
  .about-hours{padding-top:25px}
  .contact{margin-top:15px}
  .clockbox{padding:12px 14px}
}

@media (orientation:portrait) and (min-width:650px){
  main{grid-template-columns:1fr}
  .about{display:grid;grid-template-columns:1fr 1fr;gap:25px}
  .about-top{grid-row:span 2}
  .about-hours{padding-top:0}
  .contact{margin-top:0}
  .bottomline{grid-column:1/-1;margin-top:0}
  .service-heading h2{font-size:clamp(45px,5.8vw,68px)}
}

@media(max-width:540px){
  .top{align-items:flex-start}
  .identity{gap:12px}
  .identity .eyebrow,.identity p{display:none}
  .identity h1{font-size:20px;margin:0}
  #clock{font-size:27px}
  .clockbox #day{font-size:10px}
  .duty-card{grid-template-columns:1fr}
  .info-side{align-items:flex-start}
  .until{text-align:left}
  .about{display:flex}
  .service-heading h2{font-size:39px}
  footer{letter-spacing:0;flex-direction:column}
}

/* Schaufensterbetrieb: iPad fest im Querformat (1024×768 / 1180×820 / 1366×1024). */
@media (orientation: landscape) and (min-width: 900px) {
  html,body{height:100%;overflow:hidden}
  .shell{
    height:100dvh;
    min-height:0;
    padding:10px clamp(18px,2.2vw,34px) 8px;
  }
  .top{flex:0 0 auto;padding-bottom:8px}
  .identity{gap:16px}
  .eyebrow{font-size:11px}
  .identity h1{font-size:clamp(24px,2.3vw,34px);margin:2px 0 3px}
  .identity p{font-size:11px}
  .clockbox{padding:8px 14px;border-radius:14px}
  #day{font-size:12px}
  #clock{font-size:clamp(30px,3.1vw,42px)}
  main{
    flex:1 1 auto;
    min-height:0;
    grid-template-columns:minmax(0,1.72fr) minmax(300px,.9fr);
    gap:18px;
    padding:12px 0 8px;
  }
  .service{display:flex;flex-direction:column;min-height:0}
  .service-title{font-size:11px;gap:10px}
  .live-dot{width:10px;height:10px}
  .service-heading h2{font-size:clamp(30px,3.1vw,43px);margin:8px 0 2px}
  .service-heading p{font-size:clamp(12px,1.15vw,17px);margin-bottom:8px}
  .sectionbar{padding-bottom:7px;font-size:12px}
  .cards{display:grid;grid-template-rows:repeat(auto-fit,minmax(0,1fr));min-height:0;overflow:hidden;padding:8px 0 4px;gap:8px}
  .cards.count-4{grid-template-rows:repeat(4,minmax(0,1fr))}
  .cards.count-4 .duty-card,
  .cards.count-5 .duty-card,
  .cards.count-6 .duty-card{
    padding:10px 14px;
    border-radius:14px;
  }
  .duty-card{border-radius:15px;padding:12px 16px;gap:10px}
  .tag{margin-bottom:6px;font-size:9px;padding:5px 8px}
  .duty-card h3{font-size:clamp(17px,1.7vw,24px);margin-bottom:4px;line-height:1.02}
  .duty-card .address{font-size:clamp(11px,1vw,15px);line-height:1.25}
  .info-side{min-width:126px;gap:5px}
  .phone{font-size:clamp(14px,1.35vw,19px)}
  .phone:before{margin-right:6px}
  .distance,.until{font-size:11px}
  .note{font-size:10px;line-height:1.25;margin-top:4px}
  .about{min-height:0;overflow:hidden;border-radius:20px;padding:16px 20px}
  .about-logo{width:min(100%,245px);margin:0 0 12px}
  .about-address{font-size:clamp(14px,1.2vw,18px);line-height:1.25}
  .about-hours{padding-top:14px}
  .about-kicker,.aside-label{font-size:10px}
  .hours-row{font-size:clamp(11px,1vw,14px);padding:7px 0}
  .contact{margin-top:12px}
  .contact-row{font-size:clamp(14px,1.25vw,19px);margin-top:9px}
  .contact-row.email{font-size:clamp(11px,1vw,15px)}
  .bottomline{margin-top:12px;padding-top:10px;font-size:11px}
  .cross{font-size:22px}
  footer{flex:0 0 auto;padding:6px 0 0;font-size:9px}
}

