
:root{
  --red:#c0131a;
  --red-dark:#9e0f15;
  --white:#ffffff;
  --text:#111111;
  --muted:#4b4b4b;
  --border:rgba(0,0,0,.12);
  --shadow: 0 8px 24px rgba(0,0,0,.12);
  --radius:14px;
  --maxw: 980px;
  --sidebar-w: 320px;
  --gap: 22px;
  --font: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background: var(--white);
}

a{color:inherit}
a:hover{opacity:.9}

.layout{
  min-height:100vh;
  display:flex;
}

/* Sidebar (Desktop) */
.sidebar{
  width:var(--sidebar-w);
  background: var(--red);
  color: var(--white);
  padding: 22px 18px;
  display:flex;
  flex-direction:column;
  gap: 16px;
}

.brand{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 10px;
  padding: 14px 10px 14px 10px;
  border-bottom: 1px solid rgba(255,255,255,.25);
  text-align:center;
}
.brand img{
  width: 88px;
  height:auto;
  display:block;
}
.brand .brandtext{ line-height:1.15; }
.brand .brand-main{ font-weight:800; font-size: 18px; letter-spacing:.2px; }
.brand .brand-sub{ font-weight:600; font-size: 13px; opacity:.95; margin-top:2px; }
.nav{
  display:flex;
  flex-direction:column;
  gap: 6px;
  padding: 6px 8px;
}
.nav a{
  text-decoration:none;
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
}
.nav a:hover{
  background: rgba(255,255,255,.12);
}
.nav a.active{
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.28);
}

.nav .icon{
  width:18px;height:18px;flex:0 0 18px;
  fill: currentColor;
}

.sidebar-bottom{
  margin-top:auto;
  padding: 10px 10px 0 10px;
  border-top: 1px solid rgba(255,255,255,.25);
  display:flex;
  flex-direction:column;
  gap: 8px;
  font-size: 14px;
}
.sidebar-bottom .mini{
  opacity:.95;
  line-height:1.35;
}
.sidebar-bottom a{ text-decoration: none; }

/* Main */
.main{
  flex:1;
  padding: 28px 26px;
  background: var(--white);
}
.container{
  max-width: var(--maxw);
  margin: 0 auto;
}
.card{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 26px;
}

h1{
  margin: 0 0 14px 0;
  font-size: 28px;
  line-height: 1.2;
}
.lead{
  font-size: 18px;
  line-height: 1.45;
  margin: 0 0 18px 0;
}
hr.sep{
  border:0;
  border-top: 1px solid var(--border);
  margin: 18px 0;
}

.cta-row{
  margin: 14px 0 6px;
}
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  background: var(--red);
  color: var(--white);
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration:none;
  font-weight:800;
  border: 1px solid rgba(0,0,0,.08);
}
.btn:hover{ background: var(--red-dark); }
.disclaimer{
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

.kv{
  display:grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.kv-item{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  padding: 10px 12px;
  border:1px solid var(--border);
  border-radius: 12px;
}
.kv-item .icon{
  width:20px;height:20px;flex: 0 0 20px;
  fill: var(--red);
  margin-top: 2px;
}
.kv-item .label{
  font-weight:700;
}
.kv-item .value{
  color: var(--muted);
}
.kv-item a{ color: inherit; text-decoration: none; }
.kv-item a:hover{ text-decoration: underline; }

.map{
  width:100%;
  height: 360px;
  border:0;
  border-radius: 14px;
  overflow:hidden;
}

/* Products embed */
.disclaimer{
  border-left: 5px solid var(--red);
  background: rgba(192,19,26,.06);
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 14px;
  color: #1a1a1a;
}
.disclaimer small{ color: var(--muted); }
.embed{
  width:100%;
  height: 820px;
  border: 1px solid var(--border);
  border-radius: 14px;
}

/* Mobile header */
.mobilebar{
  display:none;
  position: sticky;
  top:0;
  z-index: 50;
  background: var(--red);
  color: var(--white);
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,.25);
}
.mobilebar .row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}
.mobilebar .left{
  display:flex;
  align-items:center;
  gap: 10px;
}
.mobilebar img{ width:44px; height:auto; }
.mobilebar .title{
  font-weight:800;
  line-height:1.1;
  font-size: 14px;
}
.burger{
  appearance:none;
  border:1px solid rgba(255,255,255,.30);
  background: rgba(255,255,255,.10);
  color: var(--white);
  border-radius: 12px;
  padding: 10px 12px;
  cursor:pointer;
}
.burger svg{ width:18px;height:18px; fill: currentColor; display:block; }

/* Mobile menu panel */
.menumodal{
  display:none;
  background: var(--red);
  color: var(--white);
  padding: 10px 12px 18px 12px;
  border-bottom: 1px solid rgba(255,255,255,.25);
}
.menumodal.open{ display:block; }
.menumodal a{
  display:flex;
  align-items:center;
  gap: 10px;
  text-decoration:none;
  padding: 12px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  margin-top: 8px;
}
.menumodal .icon{ width:18px;height:18px; fill: currentColor; }

@media (max-width: 860px){
  .layout{ display:block; }
  .sidebar{ display:none; }
  .mobilebar{ display:block; }
  .main{ padding: 18px 14px 26px 14px; }
  .card{ padding: 18px; }
  h1{ font-size: 22px; }
  .lead{ font-size: 16px; }
  .embed{ height: 900px; }
}


@media (min-width: 861px){
  .kv{ grid-template-columns: 1fr 1fr; }
}

.imp h2{ font-weight:800; margin-top:18px; }
.imp h3{ font-weight:800; margin-top:14px; }
.imp p{ margin: 8px 0; }

/* 2-Klick Google Maps */
.map-2click{width:100%}
.map-placeholder{
  border: 2px solid rgba(255,255,255,.9);
  background: rgba(255,255,255,.10);
  padding: 16px;
  border-radius: 14px;
}
.map-title{margin:0 0 8px 0}
.map-note{margin:0 0 12px 0; line-height:1.4}
.map-actions{display:flex; gap:10px; flex-wrap:wrap; margin:0 0 10px 0}
.map-footnote{margin:0; font-size:.95rem; opacity:.95}

.btn-primary{background: var(--red); color: var(--white)}
.btn-secondary{background: rgba(255,255,255,.92); color: var(--text); border-color: rgba(0,0,0,.15)}
.btn-secondary:hover{background: rgba(255,255,255,1)}

/* --- Utility: visually hidden but still loads (for background iframes etc.) --- */
.sr-only{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip:rect(0,0,0,0) !important;
  white-space:nowrap !important;
  border:0 !important;
}

/* --- Small inline row (used on Notdienst page) --- */
.inline-form{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin: 12px 0 12px 0;
}

.pill{
  display:inline-block;
  padding:2px 10px;
  border-radius:999px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.55);
  font-weight:700;
  font-size: 0.9rem;
}

.muted{
  opacity:0.95;
}

/* Fallback, wenn externe Einbettung blockiert wird */
.embedwrap { position: relative; }
.embed-fallback {
  margin-top: 14px;
  padding: 14px;
  border: 2px solid rgba(255,255,255,.9);
  background: rgba(255,255,255,.08);
  border-radius: 12px;
}


/* Notdienst: Buttons + Widget */
.notdienst-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin: 10px 0 14px;
}
.aponet-wrap{
  display:flex;
  justify-content:flex-start;
}
@media (max-width: 900px){
  .aponet-wrap{ justify-content:center; }
}
