/* ============================================================
   base.css – Variablen, Reset, Typografie
   Hospiz Sankt Katharina
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* ── CSS Custom Properties ─────────────────────────────────── */
:root {
  /* Farben */
  --color-bg:         #FFFFF8;
  --color-navy:       #002B45;
  --color-amber:      #F49800;
  --color-cream:      #FCE8C8;
  --color-cream-dark: #F5D5A5;
  --color-text:       #1A1A1A;
  --color-text-muted: #555555;
  --color-white:      #FFFFFF;
  --color-border:     #E8E0D0;
  --color-overlay:    rgba(0, 43, 69, 0.45);

  /* Schriften */
  --font-serif: 'Lora', Georgia, serif;
  --font-sans:  'Plus Jakarta Sans', 'Segoe UI', sans-serif;

  /* Radien */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* Schatten */
  --shadow-sm: 0 1px 4px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.14);

  /* Layout */
  --max-width:  1160px;
  --section-py: 80px;
  --nav-height: 80px;

  /* Transition */
  --transition: .25s ease;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--color-amber); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-navy); }

/* ── Typografie ──────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--color-navy);
  line-height: 1.3;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
h5 { font-size: 1.05rem; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.5rem; margin-bottom: 1em; }
li { margin-bottom: .35em; }

blockquote {
  border-left: 4px solid var(--color-amber);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--color-navy);
  background: var(--color-cream);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

strong  { font-weight: 600; }
address { font-style: normal; }

/* ── Hilfklassen ─────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
.text-navy   { color: var(--color-navy); }
.text-amber  { color: var(--color-amber); }
.text-white  { color: var(--color-white); }
.text-muted  { color: var(--color-text-muted); }
