/* ========================================
   LERNORT KISLAU - DESIGN TOKENS
   Basierend auf Figma Design System
   Version: 2.0 (Dezember 2025) - Bereinigt
   ======================================== */

:root {
    /* ========================================
       ASTRA CONTAINER OVERRIDE
       ======================================== */
    --ast-normal-container-width: 1600px !important;
    
    /* ========================================
       FARBSYSTEM
       ======================================== */
    
    /* Primärfarben */
    --color-gold: #BE963C;
    --color-dunkel-gold: #936E1E;
    --color-blue: #7EA2B0;
    
    /* Textfarben */
    --color-text-primary: #000000;
    --color-text-white: #FFFFFF;
    
    /* Hintergrundfarben */
    --bg-white: #FFFFFF;
    --bg-section-light: rgba(217, 217, 217, 0.30);
    
    /* ========================================
       TYPOGRAFIE
       ======================================== */
    
    /* Font Family */
    --font-primary: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    
    /* Hero / H1 */
    --h1-font-size: 56px;
    --h1-font-weight: 400;
    --h1-line-height: 70px;

    /* H2 */
    --h2-font-size: 40px;
    --h2-font-weight: 400;
    --h2-line-height: 50px;

    /* H3 */
    --h3-font-size: 32px;
    --h3-font-weight: 400;
    --h3-line-height: 40px;
    
    /* Body Text */
    --body-font-size: 18px;
    --body-font-weight: 400;
    --body-line-height: 32px;
    --body-color: var(--color-text-primary);
    
    /* Button Text */
    --button-font-size: 24px;
    --button-font-weight: 600;
    --button-line-height: 30px;
    
    /* ========================================
       SPACING SYSTEM
       ======================================== */
    
    --button-padding-vertical: 12px;
    --button-padding-horizontal: 32px;
    --section-padding-top: 60px;
    --section-padding-bottom: 60px;
    --container-max-width: 1600px;
    --container-padding: 20px;
    --grid-gap: 40px;
    --grid-gap-small: 20px;
    --icon-circle-size: 80px;
    --icon-circle-bg: var(--color-gold);
    
    /* ========================================
       EFFECTS
       ======================================== */
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

/* Farben */
.color-gold { color: var(--color-gold); }
.color-blue { color: var(--color-blue); }
.color-white { color: var(--color-text-white); }
.color-black { color: var(--color-text-primary); }

.bg-gold { background-color: var(--color-gold); }
.bg-blue { background-color: var(--color-blue); }
.bg-white { background-color: var(--bg-white); }
.bg-section-light { background-color: var(--bg-section-light); }
.bg-grau { background-color: #d9d9d93f !important; }

/* Typografie */
.font-lernort { font-family: var(--font-primary); }

.text-h1 {
    font-size: var(--h1-font-size);
    font-weight: var(--h1-font-weight);
    line-height: var(--h1-line-height);
}

.text-h2 {
    font-size: var(--h2-font-size);
    font-weight: var(--h2-font-weight);
    line-height: var(--h2-line-height);
}

.text-h3 {
    font-size: var(--h3-font-size);
    font-weight: var(--h3-font-weight);
    line-height: var(--h3-line-height);
}

.text-body {
    font-size: var(--body-font-size);
    font-weight: var(--body-font-weight);
    line-height: var(--body-line-height);
    color: var(--body-color);
}

/* Margin Utilities */
.margin-bottom-0 { margin-bottom: 0px !important; }
.margin-bottom-5 { margin-bottom: 5px !important; }
.margin-bottom-10 { margin-bottom: 10px !important; }
.margin-bottom-20 { margin-bottom: 20px !important; }
.margin-bottom-30 { margin-bottom: 30px !important; }
.margin-bottom-40 { margin-bottom: 40px !important; }
.margin-bottom-50 { margin-bottom: 50px !important; }

/* Sonstige Utilities */
.mark { background-color: yellow !important; }
.no-underline a { text-decoration: none !important; color: #fff !important; }
.lernort-ue3 { color: #000000 !important; font-size: 30px !important; }
.linker-text-groß { font-size: 30px !important; }

/* ========================================
   BASIS KOMPONENTEN
   ======================================== */

/* Icon Circle */
.icon-circle {
    width: var(--icon-circle-size);
    height: var(--icon-circle-size);
    background-color: var(--icon-circle-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-white);
    font-size: 40px;
    flex-shrink: 0;
}

/* Container */
.container-lernort {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Section */
.section-lernort {
    padding: var(--section-padding-top) 0 var(--section-padding-bottom);
}

/* Section Header mit Icon */
.section-header {
    background-color: var(--color-gold);
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.section-header .icon-circle {
    background-color: var(--color-dunkel-gold);
}

.section-header h2 {
    color: var(--color-text-white);
    margin: 0;
    font-size: var(--h2-font-size);
    font-weight: var(--h2-font-weight);
    line-height: var(--h2-line-height);
}

/* Header Anpassungen */
.site-header-section {
    align-items: self-end;
    padding-bottom: 10px;
  }

.site-header-primary-section-right {
    padding-bottom: 20px;
  }
@media (min-width: 922px) {
  .site-header-primary-section-right {
    margin-top: -15px !important;
  }
}
/* ========================================
   RESPONSIVE - BASIS
   ======================================== */

@media (max-width: 768px) {
    :root {
        --h1-font-size: 36px;
        --h1-line-height: 44px;
        --h2-font-size: 28px;
        --h2-line-height: 36px;
        --h3-font-size: 24px;
        --h3-line-height: 32px;
        --body-font-size: 16px;
        --body-line-height: 28px;
        --button-font-size: 18px;
        --button-line-height: 24px;
        --section-padding-top: 40px;
        --section-padding-bottom: 40px;
        --grid-gap: 24px;
        --icon-circle-size: 60px;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    :root {
        --container-padding: 15px;
        --button-padding-horizontal: 24px;
    }
}

@media (min-width: 1200px) {
    .ast-plain-container.ast-no-sidebar #primary {
      margin-top: 0px;
    }
}
