/* Steinhalden Apotheke styling restoration
   Original site uses Material Icons + Oswald + Barlow fonts (all 503).
   Provide minimal styling so layout works without those CSS files. */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;700&family=Barlow:wght@300;400;500;600&display=swap');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { font-family: 'Barlow', 'Helvetica Neue', Arial, sans-serif; font-size: 16px; line-height: 1.55; color: #2a2e30; background: #ffffff; }
img { max-width: 100%; height: auto; display: block; }
a { color: #c41530; text-decoration: none; }
a:hover { color: #80101f; text-decoration: underline; }

h1, h2, h3, h4 { font-family: 'Oswald', sans-serif; font-weight: 500; letter-spacing: 0.5px; color: #2a2e30; line-height: 1.2; }
h1 { font-size: 32px; margin-bottom: 16px; }
h2 { font-size: 26px; margin-bottom: 14px; color: #c41530; }
h3 { font-size: 20px; margin-bottom: 10px; }

/* Material Icons replacement */
.material-icons, [class*="chevron_right"], [class*="material"] {
  font-family: 'Material Icons', 'Open Sans', sans-serif !important;
  font-style: normal;
  font-weight: normal;
  font-size: 20px;
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
}

/* Hide raw text "chevron_right" if it's rendering as text */
em.chevron_right, em[class*="chevron"] {
  font-family: 'Material Icons';
  font-style: normal;
}

/* Page layout */
body > * { display: block; }

/* Top hero / header */
header, .header, #header, .hero, .top-section {
  background: linear-gradient(135deg, #c41530 0%, #80101f 100%);
  color: white;
  padding: 24px 0;
  text-align: center;
  border-bottom: 4px solid #f0a020;
}
header *, header a, .hero *, .hero a { color: white; }
header h1, .hero h1 { color: white; font-size: 36px; }

/* Logo */
img[alt="Logo"], .logo, #logo {
  max-height: 80px;
  width: auto;
  margin: 16px auto;
  display: block;
}

/* Main content */
main, .main, #main, .content, article {
  max-width: 1140px;
  margin: 32px auto;
  padding: 0 24px;
}
main > section, article > section, .section {
  padding: 28px 0;
  border-bottom: 1px solid #e8e8e8;
}
section:last-child { border-bottom: none; }

p { margin-bottom: 14px; }
ul, ol { margin: 0 0 16px 24px; }
li { margin-bottom: 6px; }

/* "Mehr erfahren" links */
a[href*="mehr-erfahren"], a:has(em.chevron_right) {
  display: inline-block;
  padding: 10px 20px;
  background: #c41530;
  color: white;
  border-radius: 4px;
  font-weight: 600;
  margin: 8px 0;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.6px;
}
a[href*="mehr-erfahren"]:hover { background: #80101f; color: white; text-decoration: none; }

/* Cards */
.card, .feature-box {
  background: white;
  padding: 24px;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  margin-bottom: 20px;
}

/* Footer */
footer, .footer, #footer {
  background: #2a2e30;
  color: #cccccc;
  padding: 36px 24px;
  margin-top: 50px;
  font-size: 14px;
}
footer h2, footer h3, footer h4 { color: #f0a020; font-size: 18px; margin-bottom: 12px; }
footer a { color: #f0a020; }
footer a:hover { color: white; }
footer .container { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; }

/* Map */
#map, .leaflet-container, .map {
  width: 100%;
  height: 320px;
  background: #f0f0f0;
  border-radius: 6px;
  margin: 20px 0;
}

/* Mobile */
@media (max-width: 768px) {
  h1 { font-size: 26px; }
  h2 { font-size: 22px; }
  main { padding: 0 14px; }
}

/* Hide MIEYU and other "MIEYU" branding remains */
img[alt*="MIEYU"], img[alt*="schlaue"] { max-height: 30px; opacity: 0.6; }

/* Make broken images placeholders */
img:not([src]), img[src=""] {
  display: inline-block;
  width: 200px;
  height: 100px;
  background: #f4f4f4;
  border: 1px dashed #ccc;
}

/* Constrain huge decorative circles (intrinsic SVG 1323x1323 / 750x750) */
svg.el-big-circle, svg.big-circle, svg[class*="circle"] {
  display: none !important;
}
.el-big-circle, .big-circle { display: none !important; }

/* Constrain huge logo IMGs */
img.logo, img.d-inline-block { max-height: 64px !important; width: auto !important; }
