/**
Theme Name: COSMONAUTA
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cosmonauta
Template: astra
*/

/* ============================================================
   Google Fonts (Space Grotesk + Exo 2)
   Hinweis: Sauberer waere das Laden via wp_enqueue_style in
   functions.php. @import funktioniert hier aber ohne functions.php.
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&family=Exo+2:ital,wght@0,100..900;1,100..900&display=swap');

/* ============================================================
   Design Tokens (COSMONAUTA Styleguide, offiziell)
   ============================================================ */
:root {
  /* Farben */
  --color-primary: #00E5FF;   /* Quantum Cyan */
  --color-bg: #0A0F1A;        /* Obsidian Deep */
  --color-text: #ECF1F7;      /* Moonlight */

  /* Abgeleitete Hilfstoene (keine Markenfarben) */
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(236, 241, 247, 0.12);
  --border-strong: rgba(236, 241, 247, 0.22);
  --muted: rgba(236, 241, 247, 0.62);
  --glow: rgba(0, 229, 255, 0.35);
  --glow-soft: rgba(0, 229, 255, 0.12);

  /* Schriften */
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Exo 2', system-ui, sans-serif;
}

/* ============================================================
   Grundlayout / Hintergrund
   ============================================================ */
body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Astra Site-Container transparent, damit der dunkle BG durchscheint */
#page,
.site-content,
.ast-container,
.site-primary-content-wrapper {
  background-color: transparent;
}

/* ============================================================
   Typografie
   ============================================================ */
h1, h2, h3, h4, h5, h6,
.entry-title,
.site-title {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  color: var(--color-text);
}

p, li, span, .entry-content {
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.6;
}

/* ============================================================
   Links
   ============================================================ */
a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover,
a:focus {
  color: var(--color-primary);
  opacity: 0.8;
}

/* ============================================================
   Buttons (Akzentfarbe sparsam einsetzen)
   ============================================================ */
.button,
button,
input[type="submit"],
.wp-block-button__link,
.ast-button,
.menu-toggle {
  background-color: var(--color-primary);
  color: var(--color-bg);
  font-family: var(--font-heading);
  font-weight: 500;
  border: none;
  border-radius: 10px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.button:hover,
button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover,
.ast-button:hover {
  color: var(--color-bg);
  box-shadow: 0 0 0 1px var(--glow), 0 8px 24px var(--glow-soft);
  transform: translateY(-1px);
}

/* Sekundaere Variante (Outline) */
.is-style-outline .wp-block-button__link {
  background-color: transparent;
  color: var(--color-primary);
  border: 1px solid var(--border-strong);
}

/* ============================================================
   Header / Navigation
   ============================================================ */
.site-header,
.ast-primary-header-bar,
.main-header-bar {
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--border);
}

.main-header-menu a,
.ast-header-break-point .main-header-menu a {
  font-family: var(--font-heading);
  color: var(--color-text);
}

.main-header-menu a:hover,
.main-header-menu .current-menu-item > a {
  color: var(--color-primary);
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer,
.ast-small-footer,
.footer-sml-layout {
  background-color: var(--color-bg);
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.site-footer a {
  color: var(--color-primary);
}

/* ============================================================
   Karten / Boxen (Widgets, Eintraege)
   ============================================================ */
.ast-article-post,
.widget,
.wp-block-group.has-background {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}

/* ============================================================
   Formularfelder
   ============================================================ */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea,
select {
  background-color: var(--surface-2);
  color: var(--color-text);
  border: 1px solid var(--border);
  border-radius: 10px;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 2px var(--glow-soft);
}

/* ============================================================
   Auswahl-/Markierungsfarbe
   ============================================================ */
::selection {
  background-color: var(--glow);
  color: var(--color-bg);
}

.site-footer {
    background-repeat: no-repeat !important;
    background-position: center center;
    background-size: cover !important;
    background-attachment: scroll;
	border-top: 0px solid var(--border) !important;
}