/*
Theme Name: Dr. Kirsch & Dr. Köneke Hausärzte
Theme URI: https://dr-med-tanja-kirsch-und-dr-med-bernd-kon.lead.bummeltech.com/
Author: bummeltech
Description: Clinical-Confidence-Theme für die Hausarztpraxis Dr. med. Tanja Kirsch und Dr. med. Bernd Köneke.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: drkkpraxis
*/

/* ===========================================================
   Design-Tokens — Clinical Confidence
   =========================================================== */
:root {
  --primary: #0F3D3E;
  --primary-soft: oklch(34% 0.045 190);
  --bg: #FAF8F4;
  --bg-oklch: oklch(98% 0.01 80);
  --surface: #FFFFFF;
  --accent: #C77B5B;
  --text: #22272B;
  --text-oklch: oklch(34% 0.04 190);
  --text-soft: #5B6360;
  --line: #D8D2C6;
  --radius: 2px;
  --radius-feature: 8px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --space-s: clamp(1rem, 2vw, 1.5rem);
  --space-m: clamp(2rem, 4vw, 4rem);
  --space-l: clamp(4rem, 8vw, 10rem);
  --space-xl: clamp(6rem, 12vw, 160px);
  --container: 1280px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 180ms;
  --dur-med: 280ms;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, 0.98rem + 0.25vw, 1.125rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
video,
iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

svg {
  max-width: 100%;
  height: auto;
}

.icon {
  width: 1.4em;
  height: 1.4em;
  flex: 0 0 auto;
  vertical-align: middle;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  color: var(--text);
  margin: 0 0 0.5em;
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

h1 {
  font-size: clamp(2.75rem, 2rem + 3.2vw, 4.74rem);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(2rem, 1.6rem + 1.8vw, 3.16rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.78rem);
}

h4 {
  font-size: 1.33rem;
}

p {
  max-width: 65ch;
}

a {
  color: var(--primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}

a:hover {
  color: var(--accent);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

ul.wp-block-list,
ol.wp-block-list {
  padding-left: 1.3em;
}

.wp-block-list li {
  margin-bottom: 0.4em;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
