/* Zahnarztpraxis Thomas Schmidt - Statische Version */
:root {
  --background: hsl(210 33% 98%);
  --foreground: hsl(0 0% 18%);
  --muted: hsl(213 18% 92%);
  --muted-foreground: hsl(0 0% 40%);
  --primary: hsl(210 59% 30%);
  --primary-foreground: hsl(210 33% 98%);
  --border: hsl(213 18% 88%);
  --card: hsl(210 18% 97%);
  --destructive: hsl(0 72% 51%);
  --radius: 0.5rem;
  --jameda: #00a98f;
}
* { box-sizing: border-box; }
body { font-family: Inter, system-ui, sans-serif; background: var(--background); color: var(--foreground); }
.hover-lift { transition: transform 0.2s, box-shadow 0.2s; }
.hover-lift:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.bg-primary { background: var(--primary); }
.text-primary { color: var(--primary); }
.bg-muted { background: var(--muted); }
.text-muted { color: var(--muted-foreground); }
.rounded-md { border-radius: var(--radius); }
.scroll-mt-20 { scroll-margin-top: 5rem; }

/* Lightbox Praxisgalerie */
.praxis-lightbox-dialog::backdrop {
  background: rgba(0, 0, 0, 0.9);
}
.praxis-lightbox-dialog {
  box-sizing: border-box;
}

/* Skip-Link für Barrierefreiheit */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  padding: 12px 20px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-weight: 600;
  z-index: 100;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
}

/* Formular scharf/stabil */
#kontaktformular input[type="text"],
#kontaktformular input[type="email"],
#kontaktformular input[type="tel"],
#kontaktformular textarea {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  border-width: 1.5px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
#kontaktformular input:focus,
#kontaktformular textarea:focus {
  box-shadow: 0 0 0 3px hsl(210 59% 30% / 0.15);
  border-color: hsl(210 59% 30%);
}
#kontaktformular button[type="submit"] {
  -webkit-font-smoothing: antialiased;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: opacity 0.2s, transform 0.15s;
}
#kontaktformular button[type="submit"]:hover:not(:disabled) {
  transform: translateY(-1px);
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  border-top: 1px solid var(--border);
  background: var(--card);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  padding-bottom: calc(1rem + env(safe-area-inset-bottom));
}
.cookie-banner__inner {
  max-width: 80rem;
  margin: 0 auto;
}
.cookie-banner__title {
  margin: 0 0 0.35rem 0;
  font-size: 1.125rem;
  font-weight: 600;
}
.cookie-banner__text {
  margin: 0 0 0.85rem 0;
  color: var(--muted-foreground);
  font-size: 0.95rem;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}
.cookie-banner__btn {
  border-radius: var(--radius);
  padding: 0.6rem 1rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
}
.cookie-banner__btn--primary {
  background: var(--primary);
  color: var(--primary-foreground);
}
.cookie-banner__btn--secondary {
  background: transparent;
  color: var(--foreground);
  border-color: var(--border);
}
.cookie-banner__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 0.75rem;
}
.cookie-banner__link {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: 0.875rem;
}
.cookie-banner__category {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  margin-bottom: 0.6rem;
  background: var(--background);
}
.cookie-banner__category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.cookie-banner__category-label {
  font-weight: 600;
  font-size: 0.95rem;
}
.cookie-banner__category-desc {
  margin: 0.35rem 0 0 0;
  color: var(--muted-foreground);
  font-size: 0.85rem;
}
.cookie-banner__toggle {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--primary);
  flex-shrink: 0;
}

.map-consent-placeholder {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  background: var(--muted);
}
.map-consent-placeholder__title {
  margin: 0;
  font-weight: 600;
}
.map-consent-placeholder__text {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 0.925rem;
}
.map-consent-placeholder__button {
  margin-top: 0.25rem;
  border: 1px solid var(--primary);
  background: transparent;
  color: var(--primary);
  border-radius: var(--radius);
  padding: 0.45rem 0.75rem;
  font-weight: 600;
  cursor: pointer;
}
