/* MATOCHI – Website-Styles (Variante B) */

/* Open Sans, lokal eingebunden – siehe fonts/LIESMICH.txt */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/open-sans-latin-300.woff2") format("woff2"),
       url("../fonts/open-sans-latin-400.woff") format("woff");
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/open-sans-latin-400.woff") format("woff");
}

:root {
  --black: #000000;
  --aubergine: #2E1A2E;
  --rose: #E58AA0;
  --white: #FFFFFF;
  --soft: #D9CCD2;
  --muted: #B8AEB5;
  --faint: #8F8590;
  --line: #333333;
  --gutter: 40px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--aubergine);
  color: var(--white);
  font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p { margin: 0; }
a { color: var(--white); text-decoration: none; }
a:hover { color: var(--rose); }
a:focus-visible { outline: 2px solid var(--rose); outline-offset: 4px; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus {
  left: 16px; top: 16px; z-index: 10;
  background: var(--rose); color: var(--black); padding: 8px 16px;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 16px 28px;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid transparent;
}
.btn--primary { background: var(--rose); color: var(--black); }
.btn--primary:hover { background: var(--white); color: var(--black); }
.btn--ghost { border-color: var(--soft); color: var(--white); }
.btn--ghost:hover { border-color: var(--rose); }

/* Kopfzeile */
.site-header .container {
  padding-top: 28px;
  padding-bottom: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand svg { width: 32px; height: 32px; flex: none; }
.brand span { font-size: 18px; letter-spacing: 0.08em; }
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  font-size: 14px;
  letter-spacing: 0.06em;
}
.nav .nav-cta { padding: 10px 20px; background: var(--rose); color: var(--black); }
.nav .nav-cta:hover { background: var(--white); color: var(--black); }

/* Einstieg */
.hero .container {
  padding-top: 72px;
  padding-bottom: 120px;
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.hero-text {
  flex: 1 1 480px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 58px);
  font-weight: 300;
  line-height: 1.12;
}
.lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--soft);
  max-width: 520px;
}
.actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.hero-mark {
  flex: 1 1 360px;
  display: flex;
  justify-content: center;
}
.hero-mark svg { width: 380px; max-width: 100%; height: auto; }

/* Fokus */
.focus { background: var(--black); }
.focus .container {
  padding-top: 96px;
  padding-bottom: 96px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.focus h2 { font-size: 36px; font-weight: 300; }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.card {
  background: var(--aubergine);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card-number { font-size: 14px; color: var(--rose); }
.card h3 { font-size: 22px; font-weight: 400; }
.card p { font-size: 15px; line-height: 1.7; color: var(--soft); }

/* Prinzip */
.principle .container {
  padding-top: 96px;
  padding-bottom: 96px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.principle-head { display: flex; flex-direction: column; gap: 20px; max-width: 860px; }
.quote {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 300;
  line-height: 1.35;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
}
.pillar { display: flex; flex-direction: column; gap: 10px; }
.pillar h3 { font-size: 30px; font-weight: 300; color: var(--rose); }
.pillar p { font-size: 15px; line-height: 1.6; color: var(--soft); }

/* E-Mail + Fußzeile */
.mail { background: var(--black); }
.mail-row {
  padding-top: 88px;
  padding-bottom: 88px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.mail-text { display: flex; flex-direction: column; gap: 12px; }
.mail-text h2 { font-size: 30px; font-weight: 300; }
.mail-btn {
  padding: 18px 32px;
  background: var(--rose);
  color: var(--black);
  font-size: 15px;
  letter-spacing: 0.08em;
  overflow-wrap: anywhere;
}
.mail-btn:hover { background: var(--white); color: var(--black); }

.footer-row {
  padding-top: 24px;
  padding-bottom: 32px;
  border-top: 1px solid var(--aubergine);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--faint);
}
.footer-links { display: flex; gap: 24px; }
.footer-row a { color: var(--faint); }
.footer-row a:hover { color: var(--rose); }

/* Rechtstexte (Impressum, Datenschutz) */
.page-legal { background: var(--black); }
.page-legal .site-header { border-bottom: 1px solid var(--line); }
.legal .container {
  padding-top: 96px;
  padding-bottom: 96px;
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}
.legal-head { flex: 1 1 260px; display: flex; flex-direction: column; gap: 12px; }
.legal-head h1 { font-size: clamp(40px, 6vw, 56px); font-weight: 300; line-height: 1.05; }
.legal-head p {
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.legal-body { flex: 3 1 560px; min-width: 0; display: flex; flex-direction: column; }
.legal-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.legal-row:last-child { border-bottom: 1px solid var(--line); }
.legal-row h2 {
  flex: 0 0 220px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose);
}
.legal-text {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 18px;
  line-height: 1.7;
}
.legal-body--long .legal-text { font-size: 16px; line-height: 1.75; color: var(--soft); }
.legal-text .strong { color: var(--white); }
.legal-text a { border-bottom: 1px solid var(--rose); }
.page-legal .site-footer { border-top: 1px solid var(--line); }
.page-legal .footer-row { border-top: 0; }

/* Mobil */
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .hero .container { padding-top: 40px; padding-bottom: 72px; gap: 40px; }
  .hero-mark svg { width: 200px; }
  .lead { font-size: 17px; }
  .focus .container, .principle .container, .legal .container { padding-top: 64px; padding-bottom: 64px; }
  .mail-row { padding-top: 64px; padding-bottom: 64px; }
  .nav { gap: 20px; }
  .legal-row h2 { flex-basis: 100%; }
}

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