/* Hausarztpraxis am Schaffrath – Rand-Infos Layout (stabil & schnell) */
:root{
  --bg:#f5f2ec;
  --card:#ffffff;
  --ink:#1b1f1e;
  --muted:#5b6661;
  --line:#e6ded4;
  --accent:#2f6a66;
  --accent2:#5f8e6d;
  --shadow: 0 10px 26px rgba(0,0,0,.08);
  --radius: 16px;
  --max: 1080px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  color:var(--ink);
  background: radial-gradient(1400px 500px at 40% 0%, #e9f2f4 0%, var(--bg) 55%, #f7f5ef 100%);
}

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

.hero{
  padding: 18px 16px 0;
}

.hero-inner{
  max-width: var(--max);
  margin: 0 auto;
  background: #f7f5ef;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}
.hero-text{
  position:absolute;
  left: 24px;
  top: 18px;
  z-index: 2;
}
.hero-kicker{
  font-weight: 800;
  font-size: 26px;
  line-height: 1.05;
  letter-spacing: .2px;
  color:#22302e;
}
.hero-kicker span{font-weight:800}
.hero-sub{
  margin-top: 10px;
  font-size: 14px;
  color: #4a5a55;
}
.hero-art{
  max-height: 280px;
  object-fit: cover;

  width:100%;
  height:auto;
  display:block;
}

.page{padding: 16px}
.grid{
  max-width: var(--max);
  margin: 0 auto;
  display:grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 16px;
  align-items: start;
}

.card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 22px rgba(0,0,0,.06);
  padding: 16px;
}

h2{
  margin:0 0 10px;
  font-size: 16px;
  letter-spacing:.2px;
}

.notice{
  background: #f2f6f5;
  border: 1px solid #d7e7e4;
  border-radius: 12px;
  padding: 12px;
  color:#264a45;
}
.notice-muted{margin-top:8px; color:#47635f; font-size: 13px}
.muted{color:var(--muted); font-size: 13px}

.hours{
  margin:0;
}
.hours > div{
  display:flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed #eee3d6;
}
.hours > div:last-child{border-bottom:0}
dt{font-weight: 700; color:#2a3a36}
dd{margin:0; color:#2a3a36}

.contact{display:grid; gap:10px}
.contact-line{display:flex; gap:10px; align-items:flex-start; color:#2a3a36}
.ico{width:22px; display:inline-flex; justify-content:center}

.btnrow{display:grid; gap:10px; margin-top: 12px}
.btn{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid #cfe0db;
  background: #f3f8f7;
  color:#1f3c38;
  text-decoration:none;
  font-weight: 700;
  font-size: 14px;
}
.btn.primary{
  background: linear-gradient(180deg, #2f6a66, #285f5c);
  color:#fff;
  border: 1px solid #245754;
}
.fineprint{
  margin-top: 10px;
  font-size: 12px;
  color:#5b6661;
}

.mapcard h2{margin-bottom: 12px}
.mapwrap{
  border-radius: 14px;
  overflow:hidden;
  border:1px solid var(--line);
  background:#eee;
}
.mapwrap iframe{
  width:100%;
  height: 330px;
  border:0;
  display:block;
}
.actions{margin-top: 12px; display:flex; gap:10px; flex-wrap:wrap}
.small{font-size:12px}

.bullets{
  margin: 0;
  padding-left: 18px;
  color:#2a3a36;
}
.bullets li{padding: 4px 0}

.footer{
  max-width: var(--max);
  margin: 16px auto 30px;
  padding: 0 6px;
  color:#6a756f;
  font-size: 12px;
}
.footer-links{display:flex; gap:14px; flex-wrap:wrap; padding: 10px 6px}
.footer-links a{text-decoration:none; border-bottom: 1px dotted #c9bfb3}
.footer-links a:hover{border-bottom-style: solid}
.copyright{padding: 0 6px 6px}

@media (max-width: 920px){
  .grid{grid-template-columns: 1fr}
  .hero-text{position: relative; left: 0; top: 0; padding: 16px 16px 0}
}


/* --- Legal pages --- */
.page { background:#f6f7f7; }
.simple-header { max-width: 980px; margin: 28px auto 0; padding: 0 18px; }
.simple-header h1 { margin: 10px 0 0; font-size: 28px; }
.backlink { color: inherit; text-decoration: none; opacity: .8; }
.backlink:hover { text-decoration: underline; }
.simple-content { max-width: 980px; margin: 18px auto; padding: 0 18px 26px; background:#fff; border-radius: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.simple-content h2 { margin-top: 22px; }
.simple-footer { max-width: 980px; margin: 0 auto 34px; padding: 0 18px; text-align:center; opacity:.8; }
.simple-footer a { color: inherit; }

.legal-links { margin-top: 10px; font-size: 13px; opacity: .85; display:flex; gap:10px; justify-content:center; flex-wrap:wrap; }
.legal-links a { color: inherit; }

.info-item { display:flex; gap:12px; padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,.06); }
.info-item:last-child { border-bottom: none; }
.badge { display:inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; background: rgba(47,90,82,.10); color: #2f5a52; white-space: nowrap; height: fit-content; }
.ruhr-hero-illustration { width: 100%; height: auto; display:block; border-radius: 18px; }
