/* ── Fonts (self-hosted, no external font CDN) ───────────────────── */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('/assets/fonts/raleway-v37-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('/assets/fonts/roboto-v51-latin.woff2') format('woff2');
}

/* ── Design tokens ─────────────────────────────────────────────────── */
:root {
  --teal: #004F4D;
  --gray: #79717A;
  --mauve: #A68F97;
  --plum: #4B4952;
  --white: #FFFFFF;
}

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

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

body {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  color: var(--plum);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  color: var(--plum);
  line-height: 1.2;
}

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

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

ul { list-style: none; }

/* ── Layout helpers ────────────────────────────────────────────────── */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-inner.narrow { max-width: 700px; }

.section { padding: 64px 0; }
.section + .section { border-top: 1px solid rgba(75, 73, 82, 0.1); }

.section.alt {
  background: var(--mauve);
  color: var(--white);
}

.section.alt h1, .section.alt h2, .section.alt h3 { color: var(--white); }
.section.alt a { color: var(--white); text-decoration: underline; }

/* ── Header ────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid rgba(75, 73, 82, 0.1);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.logo { height: 40px; width: 40px; object-fit: contain; }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.site-nav a {
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--plum);
}

.site-nav a:hover { color: var(--teal); }

/* ── Hero (home) ───────────────────────────────────────────────────── */
.home-hero {
  text-align: center;
  padding: 64px 0 32px;
}

.home-hero img {
  max-width: 420px;
  margin: 0 auto;
}

.home-hero h1 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin: 32px 0 8px;
}

.home-hero .lead {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--gray);
  max-width: 640px;
  margin: 0 auto;
}

/* ── Page hero (legal / simple pages) ─────────────────────────────── */
.page-hero {
  padding: 56px 0 40px;
  border-bottom: 1px solid rgba(75, 73, 82, 0.1);
}

.page-hero h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
}

/* ── Content sections & headings ──────────────────────────────────── */
h2 {
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  margin-bottom: 24px;
}

h3 {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  margin-bottom: 12px;
}

p { margin-bottom: 16px; }

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

.lead {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
}

/* ── Media/text blocks ─────────────────────────────────────────────── */
.media-block { margin-bottom: 48px; }
.media-block:last-child { margin-bottom: 0; }

.media-block img {
  border-radius: 12px;
  margin-bottom: 24px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.media-block.portrait img { max-width: 360px; }

/* ── Lists ─────────────────────────────────────────────────────────── */
.bullet-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.bullet-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--teal);
}

/* ── Buttons ───────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--white) !important;
  background: var(--teal);
  padding: 12px 28px;
  border-radius: 999px;
  text-decoration: none !important;
  transition: opacity 0.2s;
}

.btn:hover { opacity: 0.85; }

.section.alt .btn {
  background: var(--white);
  color: var(--teal) !important;
}

/* ── Price tag ─────────────────────────────────────────────────────── */
.price {
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--teal);
  margin-bottom: 8px;
}

.section.alt .price { color: var(--white); }

/* ── Offer card (Seminare/Webinare entries) ────────────────────────── */
.offer-card {
  padding-bottom: 48px;
  margin-bottom: 48px;
  border-bottom: 1px solid rgba(75, 73, 82, 0.1);
}

.offer-card:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.offer-meta {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 16px;
}

/* ── Contact block ─────────────────────────────────────────────────── */
.contact-block p { margin-bottom: 8px; }

/* ── Legal section ─────────────────────────────────────────────────── */
.legal-section p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* ── Footer ────────────────────────────────────────────────────────── */
.site-footer {
  padding: 40px 0;
  background: var(--plum);
  color: rgba(255, 255, 255, 0.8);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}

.footer-brand {
  font-family: 'Raleway', sans-serif;
  color: var(--white);
  margin-bottom: 8px;
}

.footer-inner a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-inner a:hover { color: var(--white); }

.footer-social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
  font-size: 0.85rem;
}

.footer-legal {
  margin-top: 16px;
  font-size: 0.8rem;
}

.footer-legal .sep {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.4);
}

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .section-inner, .header-inner, .footer-inner { padding-left: 24px; padding-right: 24px; }
  .site-nav { justify-content: center; }
}

@media (max-width: 600px) {
  .section { padding: 48px 0; }
  .home-hero { padding: 48px 0 24px; }
  .media-block img, .home-hero img { max-width: 100%; }
}
