/* =============================================================================
   Grundlagen des Themes.

   Ersetzt die beiden Dateien des früheren Eltern-Themes hello-elementor:
   reset.css (5.496 B) und theme.css (5.093 B) — zusammen 10,6 KB. Übernommen ist
   nur, was diese Website tatsächlich braucht.

   Der eigentliche Seiteninhalt liegt im Namensraum .kw-neu und bringt seinen
   eigenen Reset mit (assets/kopf-fuss.css). Hier steht nur, was AUSSERHALB davon
   gilt: die Grundeinstellungen des Dokuments und die Klassen, die WordPress und
   WooCommerce von sich aus vergeben.
   ============================================================================= */

*, ::before, ::after { box-sizing: border-box; }

html { line-height: 1.15; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background-color: #fff;
  color: #3F3F3F;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    Roboto, 'Helvetica Neue', Arial, sans-serif;
}

img { border-style: none; height: auto; max-width: 100%; }

[hidden], template { display: none; }

/* Formularelemente erben die Schrift nicht von selbst. */
button, input, optgroup, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
}

a { background-color: transparent; color: #701020; }

/* -----------------------------------------------------------------------------
   Nur für Screenreader.

   PFLICHTREGEL. WordPress und WooCommerce vergeben diese Klasse selbst — an
   Feldbeschriftungen im Warenkorb, im Suchformular und an der Preisspanne auf der
   Produktseite. Ohne sie stünden diese Texte sichtbar mitten auf der Seite.
   Werte unverändert aus dem früheren Eltern-Theme übernommen.
   -------------------------------------------------------------------------- */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #eee;
  clip: auto !important;
  clip-path: none;
  color: #333;
  display: block;
  font-size: 1rem;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 12px 24px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* -----------------------------------------------------------------------------
   Klassen aus dem WordPress-Editor.

   Sie erscheinen in den Texten, die im Backend gepflegt werden — vor allem in den
   Rechtstexten und den Einleitungen der Behandlungsseiten.
   -------------------------------------------------------------------------- */
.alignleft  { float: left;  margin-right: 1rem; }
.alignright { float: right; margin-left: 1rem; }
.aligncenter { clear: both; display: block; margin-inline: auto; }

.wp-caption { margin-block-end: 1.25rem; max-width: 100%; }
.wp-caption img { display: block; margin-inline: auto; }
.wp-caption.alignleft  { margin: 5px 20px 20px 0; }
.wp-caption.alignright { margin: 5px 0 20px 20px; }
.wp-caption-text, .gallery-caption {
  margin: 0;
  padding: .75rem 0 0;
  font-size: .8125rem;
  line-height: 1.5;
  color: #6B6B6B;
}

/* Sprungmarke zum Inhalt — die erste Station der Tastaturbedienung. */
.kw-sprung {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100001;
}
.kw-sprung:focus {
  left: 8px;
  top: 8px;
  display: inline-block;
  padding: 12px 20px;
  background: #701020;
  color: #fff;
  text-decoration: none;
  border-radius: 2px;
}
