/*
 * Mittelmeiers Theme - Base Styles
 * Variables, reset, typography
 */

/* ── CSS VARIABLES ─────────────────────────── */
:root {
  --rot:        #c0002a;
  --schwarz:    #1a1a1a;
  --grau-tief:  #444;
  --grau-mittel:#777;
  --grau-hell:  #e8e8e8;
  --weiss:      #ffffff;
  --creme:      #fafaf8;
  --linie:      1px solid #e0e0e0;
}

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

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

body {
  background: var(--weiss);
  color: var(--schwarz);
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 300;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  /*padding-top: 72px;*/
  padding-top: 90px;
}

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

a {
  color: inherit;
  text-decoration: none;
}

strong {
  color: var(--schwarz);
  font-weight: 600;
}

/* ── TYPOGRAPHY HELPERS ───────────────────── */
.section-rubrik {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rot);
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-titel {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--schwarz);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 0.97rem;
  color: var(--grau-tief);
  max-width: 58ch;
  margin: 0 auto;
  line-height: 1.8;
}

.fliesstext {
  font-size: 0.97rem;
  line-height: 1.88;
  color: var(--grau-tief);
  margin-bottom: 1.2rem;
  max-width: 64ch;
}
.fliesstext:last-child {
  margin-bottom: 0;
}

.fliesstext strong {
  color: var(--schwarz);
  font-weight: 600;
}

.fliesstext em {
  font-style: italic;
}

/* ── BREADCRUMB ──────────────────────────── */
.breadcrumb {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grau-mittel);
  margin-bottom: 1.6rem;
}

.breadcrumb a {
  color: var(--rot);
  text-decoration: none;
}

/* ── RUBRIK (Kategorie-Label mit Strich) ──── */
.rubrik {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rot);
  font-weight: 600;
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.rubrik::before {
  content: '';
  width: 2.5rem;
  height: 2px;
  background: var(--rot);
  flex-shrink: 0;
}

/* ── ANIMATIONS ──────────────────────────── */
@keyframes einblenden {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
