/* ================================================
   Schönheit-Gesundheit Ausbildungszentrum
   Modern & Elegant Stylesheet
   ================================================ */

/* -------------------- CSS Variables -------------------- */
:root {
    /* Color Palette - Warm Rose & Gold */
    --color-primary: #c9a54d;
    --color-primary-light: #dcc078;
    --color-primary-dark: #a8872e;
    
    --color-accent: #c9a87c;
    --color-accent-light: #e8d5b7;
    
    --color-rose: #d4a5a5;
    --color-rose-light: #f5e6e6;
    --color-rose-dark: #a67c7c;
    
    --color-cream: #faf8f5;
    --color-sand: #f0ebe3;
    
    --color-dark: #2c2825;
    --color-text: #4a4543;
    --color-text-light: #7a7675;
    --color-white: #ffffff;
    
    /* Typography */
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;
    --space-3xl: 8rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(44, 40, 37, 0.06);
    --shadow-md: 0 4px 20px rgba(44, 40, 37, 0.08);
    --shadow-lg: 0 8px 40px rgba(44, 40, 37, 0.12);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* -------------------- Reset & Base -------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

address {
    font-style: normal;
}

/* -------------------- Typography -------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-dark);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-md);
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    margin-bottom: var(--space-sm);
}

h4 {
    font-size: 1.125rem;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

p {
    margin-bottom: var(--space-sm);
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
    position: relative;
    padding-left: 3rem;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 2rem;
    height: 1px;
    background: var(--color-primary);
}

/* -------------------- Layout -------------------- */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-2xl);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--color-text-light);
}

/* -------------------- Buttons -------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 0.875rem 2rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(201, 165, 77, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(201, 165, 77, 0.45);
}

.btn-secondary {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-secondary:hover {
    background: var(--color-primary-dark);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-outline-light {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn-outline-light:hover {
    background: var(--color-white);
    color: var(--color-dark);
}

.btn-lg {
    padding: 1.125rem 2.5rem;
    font-size: 0.9375rem;
}

/* -------------------- Header -------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 245, 0.80);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(44, 40, 37, 0.05);
    transition: all var(--transition-normal);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
    padding: 0 4rem;
    max-width: 1600px;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-img {
    height: 45px;
    width: auto;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.logo-main {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-dark);
    line-height: 1.1;
}

.logo-sub {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-primary);
}

.nav {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    flex: 1;
    justify-content: flex-end;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin-right: auto;
    margin-left: auto;
}

.nav-list > li > a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
    padding: var(--space-xs) 0;
    position: relative;
}

.nav-list > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-normal);
}

.nav-list > li > a:hover::after,
.nav-list > li > a.active::after {
    width: 100%;
}

/* Dropdown */
.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 260px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: var(--space-sm) 0;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown li a {
    display: block;
    padding: 0.625rem var(--space-md);
    font-size: 0.875rem;
    color: var(--color-text);
    transition: all var(--transition-fast);
}

.dropdown li a:hover {
    background: var(--color-sand);
    color: var(--color-primary);
    padding-left: var(--space-lg);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-dark);
    transition: all var(--transition-normal);
}

/* -------------------- Hero Carousel Section (oben) -------------------- */
.hero-carousel-section {
    position: relative;
    height: calc(70vh + 15px);
    min-height: 465px;
    max-height: 735px;
    margin-top: 90px; /* Header height */
    margin-bottom: -85px;
    overflow: hidden;
}

.hero-carousel {
    position: absolute;
    inset: 0;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    transform: scale(1.05);
}

.carousel-slide.active {
    opacity: 1;
    animation: kenBurns 8s ease-in-out forwards;
}

/* Mirrored slide - flip image horizontally */
.carousel-slide-mirrored {
    transform: scaleX(-1) scale(1.05) !important;
}

.carousel-slide-mirrored.active {
    animation: kenBurnsMirrored 8s ease-in-out forwards !important;
}

@keyframes kenBurnsMirrored {
    0% { transform: scaleX(-1) scale(1.05); }
    100% { transform: scaleX(-1) scale(1); }
}

@keyframes kenBurns {
    0% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 10;
    cursor: pointer;
}

.scroll-indicator span {
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.scroll-arrow {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: bounceDown 2s ease-in-out infinite;
}

.scroll-arrow svg {
    stroke: var(--color-white);
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* -------------------- Hero Text Section (überlappt nach oben) -------------------- */
.hero-text-section {
    position: relative;
    background: var(--color-cream);
    padding: 25px 0 var(--space-2xl);
    text-align: center;
    margin-top: 85px;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    box-shadow: 0 -10px 40px rgba(44, 40, 37, 0.1);
    z-index: 5;
}

.hero-text-section::before {
    display: none;
}

.hero-text-section .hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 0;
    animation: fadeInUp 1s ease;
}

.hero-text-section .hero-badge {
    margin-bottom: 8px;
}

.hero-text-section h1 {
    margin-bottom: 6px;
}

.hero-text-section .hero-subtitle {
    margin-bottom: 25px;
}

.hero-text-section .hero-text {
    margin-bottom: var(--space-xl);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-text-section .hero-buttons {
    justify-content: center;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--color-white);
    border: 1px solid var(--color-primary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero h1 {
    margin-bottom: var(--space-md);
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 600;
    font-style: italic;
    color: var(--color-primary-dark);
    margin-bottom: var(--space-lg);
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-text {
    font-size: 1.125rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin-bottom: var(--space-xl);
    animation: fadeInUp 1s ease 0.5s both;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-text-light);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* -------------------- Certifications -------------------- */
.certifications {
    padding: var(--space-2xl) 0;
    background: var(--color-white);
    border-top: 1px solid var(--color-sand);
    border-bottom: 1px solid var(--color-sand);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.cert-item {
    text-align: center;
    padding: var(--space-lg);
}

.cert-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-sand);
    border-radius: 50%;
    color: var(--color-primary);
    transition: all var(--transition-normal);
}

.cert-item:hover .cert-icon {
    background: var(--color-primary);
    color: var(--color-white);
    transform: scale(1.1);
}

.cert-item h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.cert-item p {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin: 0;
}

/* -------------------- About Intro -------------------- */
.about-intro {
    padding: var(--space-3xl) 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-image {
    position: relative;
}

.about-img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    object-position: 20% center;
    border-radius: var(--radius-lg);
}

.image-placeholder {
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--color-sand) 0%, var(--color-rose-light) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    color: var(--color-text-light);
    font-style: italic;
}

.about-badge {
    position: absolute;
    bottom: 20px;
    right: -20px;
    width: 140px;
    height: 140px;
    padding: 15px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.badge-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1;
}

.badge-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: var(--space-xs);
}

.about-content h2 {
    margin-bottom: var(--space-lg);
}

.about-content > p {
    font-size: 1.125rem;
    margin-bottom: var(--space-lg);
}

.about-features {
    margin-bottom: var(--space-xl);
}

.about-features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-sand);
}

.about-features li svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

/* -------------------- Services -------------------- */
.services {
    padding: var(--space-3xl) 0;
    background: var(--color-sand);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.service-card {
    position: relative;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    padding: 0.375rem 0.875rem;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 50px;
    z-index: 10;
}

.service-image .image-placeholder {
    aspect-ratio: 16/10;
    border-radius: 0;
}

.service-img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
}

.service-content {
    padding: var(--space-lg);
}

.service-content h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.service-content p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    margin-bottom: var(--space-md);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    transition: all var(--transition-fast);
}

.service-link:hover {
    gap: var(--space-sm);
}

.service-link svg {
    transition: transform var(--transition-fast);
}

.service-link:hover svg {
    transform: translateX(4px);
}

.services-cta {
    text-align: center;
    margin-top: var(--space-2xl);
}

/* -------------------- Courses -------------------- */
.courses {
    padding: var(--space-3xl) 0;
    background: var(--color-white);
}

.courses-header {
    margin-bottom: var(--space-2xl);
}

.courses-intro {
    max-width: 600px;
}

.courses-intro h2 {
    margin-bottom: var(--space-sm);
}

.courses-intro p {
    color: var(--color-text-light);
    font-size: 1.125rem;
}

.courses-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.course-category {
    padding: var(--space-xl);
    background: var(--color-cream);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-sand);
    transition: all var(--transition-normal);
}

.course-category:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.category-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border-radius: var(--radius-md);
    color: var(--color-primary);
    margin-bottom: var(--space-md);
    transition: all var(--transition-normal);
}

.course-category:hover .category-icon {
    background: var(--color-primary);
    color: var(--color-white);
}

.course-category h3 {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.course-category ul {
    margin-bottom: var(--space-md);
}

.course-category ul li {
    padding: var(--space-xs) 0;
    font-size: 0.9375rem;
    color: var(--color-text-light);
    border-bottom: 1px dashed var(--color-sand);
}

.course-category ul li:last-child {
    border-bottom: none;
}

.category-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    transition: all var(--transition-fast);
}

.category-link:hover {
    letter-spacing: 0.02em;
}

/* -------------------- Testimonials -------------------- */
.testimonials {
    padding: var(--space-3xl) 0;
    background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-rose-light) 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.testimonial-card {
    background: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.testimonial-card blockquote {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: var(--space-lg);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-weight: 600;
    font-size: 0.875rem;
}

.author-info strong {
    display: block;
    font-size: 0.9375rem;
    color: var(--color-dark);
}

.author-info span {
    font-size: 0.8125rem;
    color: var(--color-text-light);
}

.testimonials-cta {
    text-align: center;
    margin-top: var(--space-2xl);
}

/* -------------------- CTA Section -------------------- */
.cta {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at center right, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
}

.cta-content {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    color: var(--color-white);
}

.cta-content h2 {
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.cta-content p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: var(--space-sm);
}

.cta-highlight {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    font-style: italic;
    color: var(--color-white);
    margin: var(--space-lg) 0 var(--space-xl) !important;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.cta .btn-secondary {
    background: #f1ece3;
    color: var(--color-primary-dark);
}

.cta .btn-secondary:hover {
    background: #ffffff;
}

.cta .btn-outline-light {
    border-color: #f1ece3;
    color: #f1ece3;
}

.cta .btn-outline-light:hover {
    background: #f1ece3;
    color: var(--color-primary-dark);
}

/* -------------------- Footer -------------------- */
.footer {
    background: var(--color-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--space-3xl) 0 var(--space-lg);
}

.footer .container {
    max-width: 1600px;
    padding: 0 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: var(--space-md);
}

.footer-logo .logo-main {
    color: var(--color-white);
}

.footer-logo .logo-sub {
    color: var(--color-accent);
}

.footer-brand p {
    font-size: 0.9375rem;
    margin-bottom: var(--space-lg);
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--color-white);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--color-white);
    font-size: 0.875rem;
    margin-bottom: var(--space-md);
}

.footer-links ul li {
    margin-bottom: var(--space-xs);
}

.footer-links ul li a {
    font-size: 0.9375rem;
    opacity: 0.8;
    transition: all var(--transition-fast);
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--color-accent);
    padding-left: 4px;
}

.footer-contact address p {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: 0.9375rem;
    margin-bottom: var(--space-md);
}

.footer-contact address svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-accent);
}

.footer-contact a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    opacity: 0.7;
}

.footer-legal {
    display: flex;
    gap: var(--space-lg);
}

.footer-legal a:hover {
    color: var(--color-accent);
}

/* -------------------- Responsive Design -------------------- */
@media (max-width: 1024px) {
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        gap: var(--space-2xl);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .courses-categories {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xl);
    }
}

@media (max-width: 768px) {
    :root {
        --space-2xl: 4rem;
        --space-3xl: 5rem;
    }
    
    .header .container {
        height: 70px;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 400px;
        height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px var(--space-xl) var(--space-xl);
        box-shadow: var(--shadow-lg);
        transition: right var(--transition-normal);
        overflow-y: auto;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    
    .nav-list > li {
        width: 100%;
        border-bottom: 1px solid var(--color-sand);
    }
    
    .nav-list > li > a {
        display: block;
        padding: var(--space-md) 0;
    }
    
    .dropdown {
        position: static;
        transform: none;
        box-shadow: none;
        background: var(--color-cream);
        border-radius: var(--radius-sm);
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        transition: max-height var(--transition-normal);
    }
    
    .has-dropdown:hover .dropdown,
    .has-dropdown.active .dropdown {
        max-height: 500px;
    }
    
    .nav-cta {
        width: 100%;
        margin-top: var(--space-lg);
    }
    
    .hero {
        min-height: auto;
        padding: 120px 0 var(--space-2xl);
    }
    
    .hero-scroll {
        display: none;
    }
    
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
    
    .cert-item {
        padding: var(--space-md);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .about-image {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .about-badge {
        width: 120px;
        height: 120px;
        bottom: -15px;
        right: -15px;
    }
    
    .badge-number {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .courses-categories {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
    
    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-md);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .cert-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .about-badge {
        width: 100px;
        height: 100px;
    }
    
    .badge-number {
        font-size: 1.75rem;
    }
    
    .badge-text {
        font-size: 0.625rem;
    }
}

/* -------------------- Utility Classes -------------------- */
.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0 !important;
}

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

/* ================================================
   SUBPAGE STYLES
   ================================================ */

/* -------------------- Page Hero -------------------- */
.page-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 90px;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(44, 40, 37, 0.5) 0%, rgba(44, 40, 37, 0.7) 100%);
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero-content {
    text-align: center;
    color: var(--color-white);
    padding: var(--space-3xl) 0;
}

.page-hero-tag {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-white);
    margin-bottom: var(--space-lg);
}

.page-hero h1 {
    color: var(--color-white);
    margin-bottom: var(--space-md);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.page-hero-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 400;
    font-style: italic;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* -------------------- Course Intro -------------------- */
.course-intro {
    padding: var(--space-3xl) 0;
    background: var(--color-cream);
}

.course-intro-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: var(--space-2xl);
    align-items: start;
}

.course-intro-content .lead {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: var(--space-lg);
}

.course-intro-content p {
    font-size: 1.0625rem;
    margin-bottom: var(--space-md);
}

.course-cta-buttons {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
}

/* Course Info Card */
.course-info-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: sticky;
    top: 110px;
}

/* Value-First Card Variant - Details before price */
.course-info-card--value-first .course-details-list {
    padding-top: 0;
}

.course-card-header {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    padding: var(--space-md) var(--space-lg);
    text-align: center;
}

.course-card-header h3 {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
    color: #fff8e7;
}

.course-price {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    padding: var(--space-xl);
    text-align: center;
}

/* Compact Price Variant - smaller, at bottom */
.course-price--compact {
    background: var(--color-cream);
    color: var(--color-dark);
    padding: var(--space-md) var(--space-lg);
    border-top: 1px solid var(--color-sand);
}

.course-price--compact .price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xs);
}

.course-price--compact .price-label {
    font-size: 0.8125rem;
    text-transform: none;
    letter-spacing: 0;
    opacity: 1;
    color: var(--color-text);
    margin-bottom: 0;
}

.course-price--compact .price-value {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 0;
}

.course-price--compact .price-note {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-light);
    text-align: right;
}

.price-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.9;
    margin-bottom: var(--space-xs);
}

.price-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.price-info {
    display: block;
    font-size: 0.8125rem;
    opacity: 0.85;
    line-height: 1.4;
}

.course-details-list {
    padding: var(--space-lg);
}

.course-details-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-sand);
}

.course-details-list li:last-child {
    border-bottom: none;
}

.course-details-list svg {
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.course-details-list strong {
    display: block;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-light);
    margin-bottom: 2px;
}

.course-details-list span {
    font-size: 0.9375rem;
    color: var(--color-dark);
}

/* Course Next Dates in Card */
.course-next-dates {
    background: var(--color-sand);
    padding: var(--space-md);
    margin: 0 var(--space-lg) var(--space-md);
    border-radius: var(--radius-md);
}

.next-dates-header {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
}

.next-dates-header svg {
    color: var(--color-primary);
}

.next-dates-header strong {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-light);
}

.next-dates-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.next-dates-list li {
    background: var(--color-white);
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-dark);
    border: 1px solid var(--color-primary);
}

.course-discount {
    background: var(--color-rose-light);
    padding: var(--space-md);
    margin: 0 var(--space-lg) var(--space-lg);
    border-radius: var(--radius-md);
    text-align: center;
}

.discount-badge {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-xs);
}

.course-discount p {
    font-size: 0.8125rem;
    color: var(--color-text);
    margin: 0;
    line-height: 1.5;
}

/* -------------------- Course Dates -------------------- */
.course-dates {
    padding: var(--space-2xl) 0;
    background: var(--color-sand);
}

.dates-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.dates-header {
    margin-bottom: var(--space-xl);
}

.dates-header h2 {
    margin-bottom: var(--space-xs);
}

.dates-header p {
    color: var(--color-text-light);
    margin: 0;
}

.dates-grid {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.date-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-lg) var(--space-xl);
    background: var(--color-cream);
    border-radius: var(--radius-lg);
    border: 2px solid var(--color-primary);
    min-width: 160px;
    transition: all var(--transition-normal);
}

.date-item:hover {
    background: var(--color-primary);
    transform: translateY(-4px);
}

.date-item:hover .date-day,
.date-item:hover .date-month {
    color: var(--color-white);
}

.date-day {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1;
    transition: color var(--transition-normal);
}

.date-month {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text);
    margin-top: var(--space-xs);
    transition: color var(--transition-normal);
}

/* -------------------- Certification Section -------------------- */
.certification-section {
    padding: var(--space-3xl) 0;
    background: var(--color-white);
}

.certification-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: var(--space-2xl);
    align-items: center;
}

.certification-content .lead {
    font-size: 1.25rem;
    color: var(--color-primary-dark);
    font-style: italic;
    margin-bottom: var(--space-md);
}

.certification-features {
    margin: var(--space-xl) 0;
}

.certification-features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    font-size: 1.0625rem;
}

.certification-features svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

.certification-note {
    font-size: 1rem;
    color: var(--color-text-light);
    font-style: italic;
    padding-left: var(--space-lg);
    border-left: 3px solid var(--color-primary);
}

.certification-badge-wrap {
    display: flex;
    justify-content: center;
}

.certification-badge {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    text-align: center;
    box-shadow: 0 10px 40px rgba(201, 165, 77, 0.4);
}

.certification-badge svg {
    margin-bottom: var(--space-sm);
}

.certification-badge span {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.9;
}

.certification-badge strong {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
}

/* -------------------- Course Content Section -------------------- */
.course-content-section {
    padding: var(--space-3xl) 0;
    background: var(--color-cream);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.content-category {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.content-category:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.content-category-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--color-sand);
}

.content-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-cream);
    border-radius: var(--radius-md);
    color: var(--color-primary);
    flex-shrink: 0;
}

.content-category-header h3 {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
}

.content-list li {
    padding: var(--space-sm) 0;
    border-bottom: 1px dashed var(--color-sand);
    font-size: 0.9375rem;
    color: var(--color-text);
    position: relative;
    padding-left: var(--space-md);
}

.content-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
}

.content-list li:last-child {
    border-bottom: none;
}

/* -------------------- Why Section -------------------- */
.why-section {
    padding: var(--space-3xl) 0;
    background: var(--color-white);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.why-content p {
    font-size: 1.0625rem;
    margin-bottom: var(--space-md);
}

.problem-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin: var(--space-lg) 0;
}

.problem-tag {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--color-rose-light);
    color: var(--color-rose-dark);
    font-size: 0.8125rem;
    font-weight: 500;
    border-radius: 50px;
}

.why-image {
    position: relative;
}

.why-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* -------------------- Notice Section -------------------- */
.notice-section {
    padding: var(--space-2xl) 0;
    background: var(--color-cream);
}

.notice-card {
    display: flex;
    gap: var(--space-xl);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    border-left: 4px solid var(--color-primary);
    box-shadow: var(--shadow-md);
}

.notice-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-rose-light);
    border-radius: 50%;
    color: var(--color-primary);
}

.notice-content h3 {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--color-dark);
}

.notice-content > p {
    font-size: 1rem;
    margin-bottom: var(--space-sm);
}

.notice-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xs) var(--space-lg);
    margin: var(--space-md) 0;
    padding-left: var(--space-md);
}

.notice-list li {
    position: relative;
    padding-left: var(--space-md);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-dark);
}

.notice-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

.notice-content .btn {
    margin-top: var(--space-md);
}

/* -------------------- Diploma Section -------------------- */
.diploma-section {
    padding: var(--space-3xl) 0;
    background: linear-gradient(180deg, var(--color-sand) 0%, var(--color-cream) 100%);
}

.diploma-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.diploma-icon-wrap {
    display: flex;
    justify-content: center;
}

.diploma-icon {
    width: 160px;
    height: 160px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    box-shadow: var(--shadow-lg);
}

.diploma-content p {
    font-size: 1.0625rem;
    margin-bottom: var(--space-md);
}

.diploma-list {
    margin-top: var(--space-lg);
}

.diploma-list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    font-size: 1rem;
}

.diploma-list svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

/* -------------------- FAQ Section -------------------- */
.faq-section {
    padding: var(--space-3xl) 0;
    background: var(--color-white);
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--color-sand);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-item:hover {
    border-color: var(--color-primary);
}

.faq-item.active {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    background: var(--color-cream);
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--color-dark);
    margin: 0;
    transition: all var(--transition-normal);
}

.faq-question:hover {
    background: var(--color-sand);
}

.faq-item.active .faq-question {
    background: var(--color-primary);
    color: var(--color-white);
}

.faq-question span {
    flex: 1;
    padding-right: var(--space-md);
}

.faq-question svg {
    flex-shrink: 0;
    transition: transform var(--transition-normal);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p,
.faq-answer ul {
    padding: 0 var(--space-lg);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.faq-answer p:first-child {
    padding-top: var(--space-lg);
}

.faq-answer p:last-child {
    padding-bottom: var(--space-lg);
}

.faq-answer ul {
    list-style: disc;
    padding-left: var(--space-2xl);
    margin-bottom: var(--space-sm);
}

.faq-answer a {
    color: var(--color-primary);
    font-weight: 500;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* -------------------- Subpage Responsive -------------------- */
@media (max-width: 1024px) {
    .course-intro-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .course-info-card {
        position: static;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .certification-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .certification-badge-wrap {
        order: -1;
    }
    
    .content-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .why-image {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .diploma-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }
    
    .diploma-content .section-tag {
        padding-left: 0;
    }
    
    .diploma-content .section-tag::before {
        display: none;
    }
    
    .diploma-list {
        display: inline-block;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .page-hero {
        min-height: 300px;
        margin-top: 70px;
    }
    
    .page-hero-content {
        padding: var(--space-2xl) 0;
    }
    
    .course-cta-buttons {
        flex-direction: column;
    }
    
    .dates-grid {
        flex-direction: column;
        align-items: center;
        gap: var(--space-md);
    }
    
    .date-item {
        width: 100%;
        max-width: 280px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .notice-card {
        flex-direction: column;
        text-align: center;
    }
    
    .notice-icon {
        margin: 0 auto;
    }
    
    .notice-list {
        grid-template-columns: 1fr;
        text-align: left;
    }
    
    .notice-content .btn {
        width: 100%;
    }
    
    .faq-question {
        padding: var(--space-md);
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .certification-badge {
        width: 160px;
        height: 160px;
    }
    
    .certification-badge svg {
        width: 50px;
        height: 50px;
    }
    
    .diploma-icon {
        width: 120px;
        height: 120px;
    }
    
    .diploma-icon svg {
        width: 50px;
        height: 50px;
    }
}

/* ================================================
   REGISTRATION FORM STYLES
   ================================================ */

/* -------------------- Registration Section -------------------- */
.registration-section {
    padding: var(--space-3xl) 0;
    background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-sand) 100%);
}

.registration-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.registration-form {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

/* Form Sections */
.form-section {
    padding: var(--space-lg) var(--space-xl);
    border-bottom: 1px solid var(--color-sand);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section-title {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-xs);
    border-bottom: 2px solid var(--color-primary);
    display: inline-block;
}

/* Form Groups */
.form-group {
    margin-bottom: var(--space-sm);
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-dark);
    margin-bottom: 4px;
}

.required {
    color: #e53935;
}

/* Input Fields */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group select {
    width: 100%;
    padding: 0.625rem 0.875rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--color-dark);
    background-color: var(--color-cream);
    border: 2px solid var(--color-sand);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    -webkit-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: var(--color-white);
    box-shadow: 0 0 0 4px rgba(201, 165, 77, 0.15);
}

.form-group input::placeholder {
    color: var(--color-text-light);
}

/* Readonly Field */
.readonly-field {
    background: var(--color-sand) !important;
    color: var(--color-text) !important;
    cursor: not-allowed;
    font-weight: 500;
}

/* Select Dropdown */
.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%234a4543' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 20px;
    padding-right: 3rem;
    cursor: pointer;
    /* Remove native dropdown arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Remove native dropdown arrow in IE */
.form-group select::-ms-expand {
    display: none;
}

.form-group select:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23c9a54d' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

/* Form Row (side by side) */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
}

.form-row:last-child {
    margin-bottom: 0;
}

.form-group-small {
    flex: 0 0 120px;
}

.form-group-large {
    flex: 1;
}

.form-row .form-group {
    margin-bottom: 0;
}

/* PLZ/Ort Row */
.form-row:has(.form-group-small) {
    grid-template-columns: 120px 1fr;
}

/* Checkbox Group */
.form-group-checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.form-group-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--color-primary);
    cursor: pointer;
}

.form-group-checkbox label {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--color-text);
    cursor: pointer;
    margin-bottom: 0;
}

.form-group-checkbox label a {
    color: var(--color-primary);
    font-weight: 500;
    text-decoration: underline;
}

.form-group-checkbox label a:hover {
    color: var(--color-primary-dark);
}

/* Form Submit */
.form-submit {
    padding: var(--space-lg) var(--space-xl);
    background: var(--color-cream);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

.required-note {
    font-size: 0.8125rem;
    color: var(--color-text-light);
    margin: 0;
}

.form-submit .btn {
    min-width: 280px;
}

/* Form Validation States - only show after form submission attempt */
.registration-form.submitted .form-group input:invalid {
    border-color: #e53935 !important;
    background-color: #fff5f5 !important;
}

.registration-form.submitted .form-group select:invalid {
    border-color: #e53935 !important;
}

.registration-form.submitted .form-group-checkbox input:invalid ~ label {
    color: #e53935;
}

/* Success state - show when field is valid and has value */
.registration-form .form-group input:valid:not(:placeholder-shown):not(.readonly-field) {
    border-color: #43a047;
}

/* Select success state - only when valid AND has a selected value */
.registration-form .form-group select:valid:not(.select-empty) {
    border-color: #43a047;
}

/* -------------------- Registration Form Responsive -------------------- */
@media (max-width: 768px) {
    .form-section {
        padding: var(--space-md) var(--space-lg);
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .form-row:has(.form-group-small) {
        grid-template-columns: 1fr;
    }
    
    .form-row .form-group {
        margin-bottom: 0;
    }
    
    .form-submit {
        padding: var(--space-md) var(--space-lg);
    }
    
    .form-submit .btn {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .registration-form {
        border-radius: var(--radius-lg);
    }
    
    .form-section {
        padding: var(--space-sm) var(--space-md);
    }
    
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"],
    .form-group input[type="date"],
    .form-group select {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }
}

