/* Custom Styles für TECCAD – hier kommen Variablen, Utilities & Sections rein */

@font-face {
  font-family: 'Saira';
  src: url('/wp-content/themes/hello-biz-child/assets/fonts/Saira/Saira-VariableFont_wdth,wght.ttf')
       format('truetype-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Saira';
  src: url('/wp-content/themes/hello-biz-child/assets/fonts/Saira/Saira-Italic-VariableFont_wdth,wght.ttf')
       format('truetype-variations');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}



 /* color, spacing & radius-var */

:root {
  /* Brand */
  --color-brand-primary: #F5FF00;
  --color-brand-primary-dark: #C4CC00;
  --color-brand-primary-light: #F0FF4C;

  /* Dark Backgrounds */
  --color-bg-dark: #12343C;          /* Base / Background Dark */
  --color-bg-deeper: #061216;        /* Base / Background Deeper */
  --color-bg-alt: #1C2426;           /* Base / Background Alt */

  /* Gradient Light Variants (+5%) */
  --color-bg-dark-light: #1A4751;    /* Gradient / Dark Light */
  --color-bg-deeper-light: #0A1B20;  /* Gradient / Deeper Light */
  --color-bg-alt-light: #263033;     /* Gradient / Alt Light */

  /* Surfaces */
  --color-surface-card: #F2F2F2;
  --color-surface-soft: #DADAD8;

  /* Text */
  --color-text-on-dark: #F2F2F2;
  --color-text-on-light: #0C0D00;
  --color-text-muted: #85867F;

  /* Border */
  --color-border: #B6B6B2;

  /* Radius */
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;

  /* Spacing Scale */
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --space-48: 48px;
  --space-64: 64px;
  --space-96: 96px;

  /* Layout */
  --container-width: 1200px;
}

/* sections & buttons */

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  font-family: 'Saira', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-on-dark);
  background-color: var(--color-bg-deeper);
}

/* Standard-Container für HTML-Sections */
.teccad-container {
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--space-16);
}

/* Text-Utilities (für HTML-Sections) */
.text-large {
  font-size: 18px;
  line-height: 1.5;
}

.text-small {
  font-size: 14px;
  line-height: 1.5;
}

.text-tiny {
  font-size: 12px;
  line-height: 1.5;
}

/* Eyebrow / Pre-Heading */
.eyebrow {
  font-size: 22px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}



/* Grundsektion – kannst du als Basis nehmen */
.section {
  padding-block: var(--space-96);
}

/* Dunkle Basis-Section (z. B. Hero, Intro) */
.section--dark {
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
}

/* Gradient-Section Hauptvariante (Hero o. ä.) */
.section--gradient-main {
  background: linear-gradient(
    180deg,
    var(--color-bg-dark-light) 0%,
    var(--color-bg-deeper) 100%
  );
  color: var(--color-text-on-dark);
}

/* Alternative dunkle Section */
.section--alt {
  background: linear-gradient(
    180deg,
    var(--color-bg-alt-light) 0%,
    var(--color-bg-alt) 100%
  );
  color: var(--color-text-on-dark);
}

/* Card auf dunklem Hintergrund */
.card {
  background-color: var(--color-surface-card);
  color: var(--color-text-on-light);
  border-radius: var(--radius-md);
  padding: var(--space-32);
  border: 1px solid var(--color-border);
}

/* Optional: Card im Dark-Look */
.card--dark {
  background-color: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-md);
  padding: var(--space-32);
  border: 1px solid rgba(255, 255, 255, 0.08);
}



/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 0;
}

/* Primary CTA */
.btn-primary {
  background-color: var(--color-text-on-light);
  color: var(--color-text-on-light);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--color-bg-dark);
}

/* Secondary – Outline */
.btn-secondary {
  background-color: transparent;
  color: var(--color-brand-primary);
  border: 2px solid var(--color-brand-primary);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background-color: rgba(245, 255, 0, 0.12);
}


/* HEADER */
.site-header, 
.section--gradient-main.header {
  /* Falls du im Theme Builder dem Header eine eigene Klasse gibst */
}

/* Container im Header */
.section--gradient-main > .teccad-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-32);
  padding-block: var(--space-16);
}

/* Logo-Bereich */
.header-logo img {
  max-height: 40px; /* ggf. anpassen */
}

/* Navigation (Nav Menu Widget mit Klasse .main-nav) */
.main-nav .elementor-nav-menu {
  display: flex;
  gap: var(--space-32);
}

.main-nav .elementor-nav-menu a {
  color: var(--color-text-on-dark);
  text-decoration: none;
  font-weight: 500;
}

.main-nav .elementor-nav-menu a:hover,
.main-nav .elementor-nav-menu a:focus {
  color: var(--color-brand-primary);
}

/* CTA im Header – wenn du die Klassen btn + btn-primary nutzt,
   brauchst du hier meistens nichts extra. Optional: */
.header-cta .elementor-button {
  font-weight: 700;
  letter-spacing: 0.03em;
}

