/*
Theme Name:   Atamis Child
Theme URI:    https://atamis.de
Description:  Divi-Child-Theme für Atamis — Fonts, Basis-Typografie. Komponenten: css/atamis-design-system.css
Author:       Leonio (Johannes)
Author URI:   https://leonio.de
Template:     Divi
Version:      1.1.0
Text Domain:  atamis-child
*/

/* ==========================================================================
   1. Lokale Fonts (DSGVO! — Keine Google-Fonts-Remote-Einbindung)
   Font-Dateien per https://gwfh.mranftl.com (google-webfonts-helper)
   herunterladen und nach /wp-content/themes/atamis-child/fonts/ legen.
   ========================================================================== */

@font-face {
  font-family: 'Space Grotesk';
  src: url('fonts/space-grotesk-v22-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('fonts/space-grotesk-v22-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('fonts/space-grotesk-v22-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Outfit';
  src: url('fonts/outfit-v15-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Outfit';
  src: url('fonts/outfit-v15-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Outfit';
  src: url('fonts/outfit-v15-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   2. Basis-Typografie (Website-weit, auch außerhalb der Code-Modul-Seiten)
   ========================================================================== */

body,
#main-content,
.et_pb_text {
  font-family: 'Outfit', 'Segoe UI', sans-serif;
  color: #04041d;
  font-size: 18px;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6,
.et_pb_module_header {
  font-family: 'Space Grotesk', 'Segoe UI', sans-serif !important;
  color: #0e2d17;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

a { color: #25793e; }

/* ==========================================================================
   3. Komponenten
   → SIEHE css/atamis-design-system.css (wird via functions.php geladen)
   Dort: Tokens, Hero, Karten, Buttons, FAQ, Final-CTA, Formular-Styles usw.
   ========================================================================== */

/* ==========================================================================
   4. Zugänglichkeit
   ========================================================================== */

::selection { background: #b9a7f4; color: #04041d; }

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