/*
Theme Name: Hausarztpraxis Sipplingen
Description: Block-Theme für die Hausarztpraxis Sipplingen (Corporate Design, lokale Schriften, ohne externe Dienste).
Author: mindmasters IT-Dienstleistungen
Version: 1.0.2
Requires at least: 6.5
Requires PHP: 8.0
License: Proprietary
Text Domain: hausarztpraxis-sipplingen
*/

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }

a { text-underline-offset: 0.2em; }
.wp-site-blocks > * + * { margin-block-start: 0; }

/* Bildmarke als dezentes Muster */
.hero-symbol, .team-symbol { position: relative; overflow: hidden; }
.hero-symbol::before, .team-symbol::before {
  content: ""; position: absolute; pointer-events: none; background-repeat: no-repeat; background-size: contain;
}
.hero-symbol::before {
  right: -40px; top: 80px; width: 360px; height: 760px; opacity: .16;
  background-image: url("assets/img/symbol-hellblau.svg"); background-position: right top;
}
.team-symbol::before {
  left: -60px; bottom: -80px; width: 280px; height: 560px; opacity: .55;
  background-image: url("assets/img/symbol-akzent.svg"); background-position: left bottom;
}
.hero-symbol > *, .team-symbol > * { position: relative; }

/* Sprechzeiten-Tabelle */
.sprechzeiten table { border-collapse: collapse; width: 100%; }
.sprechzeiten .wp-block-table table, .sprechzeiten .wp-block-table td { border: 0; }
.sprechzeiten .wp-block-table td { padding: .7em 0; border-bottom: 1px solid var(--wp--preset--color--hellblau); }
.sprechzeiten .wp-block-table tr:last-child td { border-bottom: 0; }
.sprechzeiten td:last-child { text-align: right; }
.sprechzeiten figure { margin: 0; }

/* Karten */
.karte { border-radius: 20px; }

/* Buttons */
.wp-block-button__link { font-weight: 500; min-height: 48px; display: inline-flex; align-items: center; }
.wp-block-button.is-style-outline .wp-block-button__link { border-color: var(--wp--preset--color--hellblau); }

/* Navigation: kein Hover-Rauschen */
.wp-block-navigation a:hover { opacity: .8; }

@media (max-width: 781px) {
  .hero-symbol::before { width: 200px; height: 420px; top: 120px; }
  .sprechzeiten td:last-child { text-align: right; }
}

/* Fokus sichtbar */
:focus-visible { outline: 3px solid var(--wp--preset--color--akzentblau); outline-offset: 3px; }
