/*
Theme Name:   Kadence Child
Theme URI:    https://www.kadencewp.com/kadence-theme/
Description:  Child Theme fuer Kadence – digitalinhalt.de Website Rebuild. Dark Futuristic Premium Design.
Author:       digitalinhalt
Author URI:   https://digitalinhalt.de
Template:     kadence
Version:      1.0.2
License:      GNU General Public License v3.0 (or later)
License URI:  https://www.gnu.org/licenses/gpl-3.0.html
Text Domain:  kadence-child
*/

/* ==========================================================================
   CSS-VARIABLEN: Farbsystem, Typografie, Effekte
   Doppelte Deklaration (:root UND body.di-homepage) stellt sicher,
   dass Kadences Inline-Styles ueberschrieben werden.
   ========================================================================== */

:root {
  /* Hintergruende */
  --bg-primary: #06060f;
  --bg-secondary: #0d0d1a;
  --bg-card: #111125;
  --bg-card-hover: #16163a;

  /* Akzentfarben */
  --accent-primary: #7c3aed;
  --accent-secondary: #06b6d4;
  --accent-hot: #f43f5e;
  --gradient-main: linear-gradient(135deg, #7c3aed 0%, #06b6d4 100%);
  --gradient-hot: linear-gradient(135deg, #7c3aed 0%, #f43f5e 50%, #06b6d4 100%);
  --glow-violet: 0 0 40px rgba(124, 58, 237, 0.3);
  --glow-cyan: 0 0 40px rgba(6, 182, 212, 0.3);

  /* Text */
  --text-primary: #f0f0f5;
  --text-secondary: #9ca3af;
  --text-muted: #4b5563;
  --text-gradient: linear-gradient(135deg, #c4b5fd 0%, #67e8f9 100%);

  /* Borders & Surfaces */
  --border-subtle: rgba(124, 58, 237, 0.15);
  --border-glow: rgba(124, 58, 237, 0.4);
  --glass: rgba(17, 17, 37, 0.7);
  --glass-border: rgba(124, 58, 237, 0.2);

  /* Kadence-Palette ueberschreiben, falls deren Inline-CSS durchkommt */
  --global-palette1: #7c3aed;
  --global-palette2: #06b6d4;
  --global-palette3: #f0f0f5;
  --global-palette4: #9ca3af;
  --global-palette5: #4b5563;
  --global-palette6: #111125;
  --global-palette7: #0d0d1a;
  --global-palette8: #06060f;
  --global-palette9: #06060f;
  --global-body-font-family: 'Plus Jakarta Sans', sans-serif;
  --global-heading-font-family: 'Outfit', sans-serif;
}

/* ==========================================================================
   GLOBALE OVERRIDES fuer body.di-homepage
   Hohe Spezifitaet durch body.di-homepage Selektor
   ========================================================================== */

body.di-homepage {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  background-color: #06060f !important;
  background: #06060f !important;
  color: #9ca3af !important;
  margin: 0;
  padding: 0;
}

body.di-homepage h1,
body.di-homepage h2,
body.di-homepage h3,
body.di-homepage h4,
body.di-homepage h5,
body.di-homepage h6 {
  font-family: 'Outfit', sans-serif !important;
  color: #f0f0f5 !important;
}

body.di-homepage code,
body.di-homepage .price,
body.di-homepage .stat-number {
  font-family: 'JetBrains Mono', monospace !important;
}

body.di-homepage a {
  color: #7c3aed;
  text-decoration: none;
  transition: color 0.3s;
}

body.di-homepage a:hover {
  color: #06b6d4;
}

/* Kadence-Wrapper-Elemente (falls sie im DOM landen) ausblenden / zuruecksetzen */
body.di-homepage .site-container,
body.di-homepage .site,
body.di-homepage .content-wrap,
body.di-homepage .site-main {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
}

/* WordPress Admin-Bar beruecksichtigen */
body.di-homepage.admin-bar .di-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.di-homepage.admin-bar .di-header {
    top: 46px;
  }
}
