/* ===== RESET & BASE ===== */
* { margin:0; padding:0; box-sizing:border-box; font-family:Arial, sans-serif; }
body { line-height:1.6; color:#333; background:#fff; }
a { text-decoration:none; color:inherit; }
ul { list-style:none; }
img { max-width:100%; display:block; }

/* ===== HEADER ===== */
.header { display:flex; justify-content:space-between; align-items:center; padding:1rem 2rem; background:#fff; position:sticky; top:0; z-index:1000; box-shadow:0 2px 5px rgba(0,0,0,0.1); }
.nav-logo img { height:50px; }
.nav { display:flex; gap:1rem; align-items:center; }
.nav a { padding:0.5rem 0.75rem; transition:0.3s; border-radius:5px; outline:none; }
.nav a:hover, .nav a:focus { background:#f2f2f2; box-shadow:0 0 0 3px rgba(0,115,230,0.5); }

/* ===== BURGER MENU ===== */
.burger { display:none; flex-direction:column; gap:5px; cursor:pointer; }
.burger span { width:25px; height:3px; background:#333; border-radius:3px; }

/* ===== HERO ===== */
.hero { position:relative; text-align:center; color:#fff; overflow:hidden; }
.hero-video { width:100%; height:80vh; object-fit:cover; }
.hero-bg { position:absolute; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.10); }
.hero-content { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); max-width:90%; text-align:center; }
.hero-content h1 { font-size:3rem; margin-bottom:1rem; color:#fff; text-shadow:0 2px 5px rgba(0,0,0,0.6); }
.hero-content p { font-size:1.25rem; margin-bottom:1.5rem; color:#fff; text-shadow:0 1px 3px rgba(0,0,0,0.6); }
.btn { display:inline-block; padding:0.75rem 1.5rem; background:#0073e6; color:#fff; border-radius:8px; transition:0.3s; outline:none; }
.btn:hover, .btn:focus { background:#005bb5; box-shadow:0 0 0 3px rgba(0,115,230,0.5); }

/* ===== SECTIONS ===== */
.section { padding:4rem 2rem; max-width:1200px; margin:0 auto; }
.section.light { background:#f9f9f9; }
.section.accent {
    background: #42C4BC;
    color: #FFFFFF;
}
.section.accent .caption, .section.accent p, .section.accent li { color:#fff; text-shadow:0 1px 2px rgba(0,0,0,0.3); }

/* ===== GRIDS ===== */
.grid-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:2rem; }
.grid-list li { text-align:center; }
.caption { font-size:0.9rem; margin-top:0.5rem; color:#666; }
.light-text .caption { color:#eee; }

/* ===== DOCTORS ===== */
.doctors { display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:2rem; margin-top:2rem; }
.doctors img { border-radius:12px; }
.doctors h3 { margin:0.5rem 0 0.25rem; }
.doctors p { margin-bottom:0.5rem; }

/* ===== CONTACT & MAP ===== */
.contact-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:2rem; }
.times { width:100%; border-collapse:collapse; }
.times th, .times td { padding:0.5rem 1rem; text-align:left; border-bottom:1px solid #ddd; }
.map { margin-top:2rem; border-radius:12px; overflow:hidden; }
.map iframe { width:100%; height:400px; border:0; }
.map-placeholder { padding:2rem; text-align:center; background:#f5f5f5; border-radius:10px; }

/* ===== FOOTER ===== */
.footer { text-align:center; padding:2rem; background:#f2f2f2; }
.footer a { color:#0073e6; outline:none; }
.footer a:hover, .footer a:focus { text-decoration:underline; box-shadow:0 0 0 3px rgba(0,115,230,0.5); }

/* ===== BUTTONS ===== */
.call-btn, .rx-btn { position:fixed; right:1rem; padding:1rem 1.5rem; border-radius:50px; color:#fff; font-weight:bold; z-index:999; box-shadow:0 2px 8px rgba(0,0,0,0.3); outline:none; }
.call-btn { bottom:6rem; background:#28a745; }
.rx-btn { bottom:1rem; background:#ffc107; }
.call-btn:hover, .call-btn:focus { background:#218838; box-shadow:0 0 0 3px rgba(40,167,69,0.5); }
.rx-btn:hover, .rx-btn:focus { background:#e0a800; box-shadow:0 0 0 3px rgba(255,193,7,0.5); }

/* ===== DETAILS / LEGAL ===== */
details summary { cursor:pointer; font-size:1.25rem; font-weight:bold; outline:none; }
details summary:focus { box-shadow:0 0 0 3px rgba(0,115,230,0.5); }
details .legal-content { margin-top:1rem; animation:fadeIn 0.3s ease-in-out; }
@keyframes fadeIn { from {opacity:0;} to{opacity:1;} }

/* ===== COOKIE MODAL ===== */
.cookie-modal { position: fixed; inset:0; background: rgba(0,0,0,0.6); display:none; justify-content:center; align-items:center; z-index:9999; }
.cookie-box { background:white; padding:2rem; max-width:500px; border-radius:12px; outline:none; }
.cookie-options { margin:1rem 0; }
.cookie-buttons { display:flex; justify-content:space-between; gap:1rem; }
.cookie-buttons button { flex:1; padding:0.5rem; border:none; border-radius:8px; background:#0073e6; color:#fff; cursor:pointer; transition:0.3s; outline:none; }
.cookie-buttons button:hover, .cookie-buttons button:focus { background:#005bb5; box-shadow:0 0 0 3px rgba(0,115,230,0.5); }

/* ===== FOCUS STYLING / BARriereFREIHEIT ===== */
a:focus, button:focus, input:focus, textarea:focus { outline:none; box-shadow:0 0 0 3px rgba(0,115,230,0.5); }
details summary:focus { box-shadow:0 0 0 3px rgba(0,115,230,0.5); }

/* ===== MEDIA QUERIES ===== */
@media(max-width:768px){
.nav { display:none; flex-direction:column; position:absolute; top:100%; left:0; width:100%; background:#fff; }
.nav.open { display:flex; }
.burger { display:flex; }
.hero-content h1 { font-size:2rem; }
.hero-content p { font-size:1rem; }
.grid-list { gap:1rem; }
.doctors { gap:1rem; }
}
.map-placeholder, .widget-placeholder {
  padding: 2rem;
  text-align: center;
  background: #f5f5f5;
  border-radius: 10px;
}

.load-map-btn, .load-doctolib-btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 6px;
  background: #0073e6;
  color: #fff;
  cursor: pointer;
  margin-top: 1rem;
}

.load-map-btn:focus, .load-doctolib-btn:focus,
.load-map-btn:hover, .load-doctolib-btn:hover {
  background: #005bb5;
  box-shadow: 0 0 0 3px rgba(0,115,230,0.5);
  outline: none;
}
/* Standard: Buttons ausblenden */
.call-btn, .rx-btn {
  display: none;
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: #0073e6;
  color: #fff;
  font-weight: bold;
  z-index: 1000;
  text-align: center;
  text-decoration: none;
}

/* mobile-only sichtbar ab max-width 768px */
@media (max-width: 768px) {
  .mobile-only {
    display: inline-block;
    margin-bottom: 0.5rem;
  }

  .call-btn {
    bottom: 5rem; /* oberhalb Rezepttelefon */
  }

  .rx-btn {
    bottom: 1rem;
  }
}

/* Hover & Focus Effekte */
.call-btn:hover, .rx-btn:hover,
.call-btn:focus, .rx-btn:focus {
  background: #005bb5;
  box-shadow: 0 0 0 3px rgba(0,115,230,0.5);
  outline: none;
}