/*
Theme Name: Chancenbuddy Child Theme
Template: kadence
Author: Chancenbuddy Team
Author URI: https://chancenbuddy.de
Description: Child Theme für Chancenbuddy basierend auf Kadence
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: chancenbuddy-child
*/

/* Import Google Fonts - Rubik */
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables - Chancenbuddy Design System */
:root {
  /* Farben */
  --cb-primary-blue: #00A3E0;
  --cb-primary-green: #8DC63F;
  --cb-dark-gray: #333333;
  --cb-light-gray: #F5F5F5;
  --cb-white: #FFFFFF;
  --cb-text-primary: #333333;
  --cb-text-secondary: #666666;
  
  /* Spacing */
  --cb-spacing-xs: 0.5rem;
  --cb-spacing-sm: 1rem;
  --cb-spacing-md: 1.5rem;
  --cb-spacing-lg: 2rem;
  --cb-spacing-xl: 3rem;
  --cb-spacing-xxl: 4rem;
  
  /* Border Radius */
  --cb-radius-sm: 8px;
  --cb-radius-md: 12px;
  --cb-radius-lg: 20px;
  --cb-radius-full: 50px;
  
  /* Shadows */
  --cb-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --cb-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --cb-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  
  /* Transitions */
  --cb-transition: all 0.3s ease;
}

/* Global Typography */
body {
  font-family: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--cb-text-primary);
  line-height: 1.6;
  background: var(--cb-light-gray);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--cb-dark-gray);
}

/* Container */
.container,
.wp-block-group__inner-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--cb-spacing-md);
}

/* Buttons */
.btn,
.wp-block-button__link {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: var(--cb-radius-full);
  font-family: 'Rubik', sans-serif;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--cb-transition);
  border: none;
  text-align: center;
}

.btn-primary,
.wp-block-button.is-style-primary .wp-block-button__link {
  background: var(--cb-primary-blue);
  color: var(--cb-white);
  box-shadow: 0 4px 12px rgba(0, 163, 224, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 163, 224, 0.4);
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--cb-primary-blue);
  color: var(--cb-white);
  padding: 8px;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

/* Weitere Styles werden durch main.css ergänzt */