/* ============================================
   SITEPACKAGE BERNHARDFLUCHE.DE
   Wissenschaftlich-elegantes Design
   ============================================ */

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
    /* Farbpalette - Erdtöne & Wissenschaftlich */
    --color-primary: #1a365d;
    --color-primary-dark: #0f2442;
    --color-primary-light: #2c5282;
    --color-secondary: #234e70;
    --color-accent: #c6a86c;
    --color-accent-light: #d4bc8a;
    --color-accent-dark: #a88b4a;
    
    /* Neutrale Farben */
    --color-white: #ffffff;
    --color-off-white: #f8fafc;
    --color-gray-100: #f1f5f9;
    --color-gray-200: #e2e8f0;
    --color-gray-300: #cbd5e1;
    --color-gray-400: #94a3b8;
    --color-gray-500: #64748b;
    --color-gray-600: #475569;
    --color-gray-700: #334155;
    --color-gray-800: #1e293b;
    --color-gray-900: #0f172a;
    
    /* Typografie */
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    
    /* Font Sizes - Fluid Typography */
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
    --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
    --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
    --text-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 2.5rem);
    --text-4xl: clamp(2.25rem, 1.75rem + 2.5vw, 3.5rem);
    --text-5xl: clamp(3rem, 2rem + 5vw, 5rem);
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;
    
    /* Layout */
    --container-max: 1280px;
    --container-narrow: 800px;
    --header-height: 80px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(198, 168, 108, 0.3);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 9999px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--color-gray-700);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-gray-900);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    padding: var(--space-sm) var(--space-md);
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-md);
    z-index: 9999;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: var(--space-md);
    color: var(--color-white);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes orbit {
    from { transform: rotate(0deg) translateX(80px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(80px) rotate(-360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

.animate-fade-up {
    animation: fadeUp 0.8s ease forwards;
    opacity: 0;
}

.animate-fade-left {
    animation: fadeLeft 0.8s ease forwards;
    opacity: 0;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all var(--transition-base);
}

.header--transparent {
    background: transparent;
    box-shadow: none;
}

.header--scrolled {
    background: var(--color-white);
    box-shadow: var(--shadow-md);
}

.header--scrolled.header--transparent {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.header__logo {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--color-primary);
    transition: color var(--transition-fast);
}

.header--transparent .header__logo {
    color: var(--color-white);
}

.header--scrolled .header__logo {
    color: var(--color-primary);
}

.header__nav-list {
    display: flex;
    gap: var(--space-xl);
    list-style: none;
}

.header__nav-link {
    position: relative;
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--color-gray-700);
    padding: var(--space-sm) 0;
    transition: color var(--transition-fast);
}

.header--transparent .header__nav-link {
    color: rgba(255, 255, 255, 0.9);
}

.header--scrolled .header__nav-link {
    color: var(--color-gray-700);
}

.header__nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition-base);
}

.header__nav-link--highlight {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    color: var(--color-gray-900) !important;
    padding: var(--space-xs) var(--space-md) !important;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
}

.header__nav-link--highlight:hover {
    background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-accent) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.header__nav-link--highlight::after {
    display: none;
}

.header--transparent .header__nav-link--highlight {
    color: var(--color-gray-900) !important;
}

.header__nav-link:hover::after,
.header__nav-item--active .header__nav-link::after {
    width: 100%;
}

.header__nav-link:hover {
    color: var(--color-accent);
}

/* Mobile Toggle */
.header__mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
    background: none;
    border: none;
    cursor: pointer;
}

.header__mobile-toggle-line {
    width: 24px;
    height: 2px;
    background: var(--color-gray-700);
    transition: all var(--transition-fast);
}

.header--transparent .header__mobile-toggle-line {
    background: var(--color-white);
}

@media (max-width: 768px) {
    .header__mobile-toggle {
        display: flex;
    }

    .header__nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--color-white);
        padding: var(--space-xl);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
        box-shadow: var(--shadow-lg);
    }

    .header__nav.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .header__nav-list {
        flex-direction: column;
        gap: var(--space-md);
    }

    .header__nav-link {
        color: var(--color-gray-700) !important;
        font-size: var(--text-lg);
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-secondary) 100%);
}

.hero__background {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero__particles {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.2), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.4), transparent),
        radial-gradient(2px 2px at 130px 80px, rgba(255,255,255,0.2), transparent),
        radial-gradient(1px 1px at 160px 120px, rgba(255,255,255,0.3), transparent);
    background-size: 200px 200px;
    animation: float 20s ease-in-out infinite;
}

.hero__gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(198, 168, 108, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(44, 82, 130, 0.3) 0%, transparent 50%);
}

.hero__content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
    padding: var(--space-5xl) 0;
}

.hero__greeting {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: var(--space-md);
}

.hero__title {
    font-size: var(--text-5xl);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.1;
    margin-bottom: var(--space-lg);
}

.hero__title--accent {
    color: var(--color-accent);
    display: inline-block;
}

.hero__subtitle {
    font-size: var(--text-xl);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-2xl);
    max-width: 500px;
}

.hero__cta {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* Hero Visual - Orbit Animation */
.hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__orbit {
    position: relative;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.hero__orbit::before,
.hero__orbit::after {
    content: '';
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.hero__orbit::before {
    inset: -40px;
}

.hero__orbit::after {
    inset: 40px;
}

.hero__planet {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4a90a4 0%, #2d5a6b 50%, #1a3a47 100%);
    box-shadow: 
        inset -20px -20px 40px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(74, 144, 164, 0.3);
}

.hero__planet::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 20%;
    width: 60%;
    height: 30%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(5px);
}

.hero__satellite {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    background: var(--color-accent);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--color-accent);
    animation: orbit 8s linear infinite;
}

/* Scroll Indicator */
.hero__scroll-indicator {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero__scroll-line {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.hero__scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-accent);
    animation: scrollLine 2s ease-in-out infinite;
}

@media (max-width: 968px) {
    .hero__content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__cta {
        justify-content: center;
    }

    .hero__visual {
        display: none;
    }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn--primary {
    background: var(--color-accent);
    color: var(--color-gray-900);
    border-color: var(--color-accent);
}

.btn--primary:hover {
    background: var(--color-accent-light);
    border-color: var(--color-accent-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--outline {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.4);
}

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

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: var(--space-5xl) 0;
}

.section--about {
    background: var(--color-white);
}

.section--expertise {
    background: var(--color-gray-100);
}

.section--timeline {
    background: var(--color-white);
}

.section--contact {
    background: linear-gradient(180deg, var(--color-gray-100) 0%, var(--color-white) 100%);
}

.section__header {
    margin-bottom: var(--space-3xl);
}

.section__header--center {
    text-align: center;
}

.section__number {
    display: block;
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    color: var(--color-accent);
    letter-spacing: 2px;
    margin-bottom: var(--space-sm);
}

.section__title {
    font-size: var(--text-4xl);
    color: var(--color-gray-900);
    position: relative;
}

.section__header:not(.section__header--center) .section__title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--color-accent);
    margin-top: var(--space-md);
}

.section__header--center .section__title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--color-accent);
    margin: var(--space-md) auto 0;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about__grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: var(--space-4xl);
    align-items: start;
}

.about__image {
    position: relative;
}

.about__image-frame {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about__image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-gray-200) 0%, var(--color-gray-300) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about__image-placeholder svg {
    width: 80px;
    height: 80px;
    color: var(--color-gray-400);
}

.about__image-decoration {
    position: absolute;
    top: var(--space-xl);
    left: var(--space-xl);
    right: calc(var(--space-xl) * -1);
    bottom: calc(var(--space-xl) * -1);
    border: 3px solid var(--color-accent);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about__content {
    font-size: var(--text-lg);
    color: var(--color-gray-600);
}

.about__content p {
    margin-bottom: var(--space-lg);
}

@media (max-width: 868px) {
    .about__grid {
        grid-template-columns: 1fr;
    }

    .about__image {
        max-width: 300px;
        margin: 0 auto;
    }
}

/* ============================================
   EXPERTISE CARDS
   ============================================ */
.expertise__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.expertise__card {
    background: var(--color-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.expertise__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.expertise__card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.expertise__card:hover::before {
    transform: scaleX(1);
}

.expertise__icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.expertise__icon svg {
    width: 30px;
    height: 30px;
    color: var(--color-white);
}

.expertise__title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-md);
}

.expertise__description {
    color: var(--color-gray-600);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.expertise__tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    list-style: none;
}

.expertise__tags li {
    font-size: var(--text-xs);
    padding: var(--space-xs) var(--space-sm);
    background: var(--color-gray-100);
    color: var(--color-gray-600);
    border-radius: var(--radius-full);
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: var(--space-3xl);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-primary-light) 100%);
}

.timeline__item {
    position: relative;
    padding-bottom: var(--space-2xl);
}

.timeline__item:last-child {
    padding-bottom: 0;
}

.timeline__marker {
    position: absolute;
    left: calc(var(--space-3xl) * -1 + 1px);
    top: 6px;
    width: 16px;
    height: 16px;
    background: var(--color-white);
    border: 3px solid var(--color-accent);
    border-radius: 50%;
    z-index: 1;
}

.timeline__item:hover .timeline__marker {
    background: var(--color-accent);
    box-shadow: 0 0 0 6px rgba(198, 168, 108, 0.2);
}

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

.timeline__item:hover .timeline__content {
    box-shadow: var(--shadow-lg);
    transform: translateX(8px);
}

.timeline__date {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    color: var(--color-accent-dark);
    background: rgba(198, 168, 108, 0.1);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-sm);
}

.timeline__title {
    font-size: var(--text-lg);
    margin-bottom: var(--space-xs);
}

.timeline__location {
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.timeline__description {
    font-size: var(--text-sm);
    color: var(--color-gray-500);
}

@media (max-width: 600px) {
    .timeline {
        padding-left: var(--space-2xl);
    }

    .timeline__marker {
        left: calc(var(--space-2xl) * -1 + 1px);
    }
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact__grid {

/* ============================================
   CERTIFICATIONS SECTION
   ============================================ */
.section--certifications {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.section--certifications::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 10% 90%, rgba(198, 168, 108, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 10%, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.section--certifications .section__title {
    color: var(--color-white);
}

.section--certifications .section__title::after {
    background: var(--color-accent);
}

.certifications__intro {
    text-align: center;
    font-size: var(--text-xl);
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

.certifications__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

.certification__card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all var(--transition-base);
    display: flex;
    gap: var(--space-lg);
}

.certification__card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.certification__card--featured {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(198, 168, 108, 0.2) 0%, rgba(198, 168, 108, 0.1) 100%);
    border-color: var(--color-accent);
}

@media (min-width: 768px) {
    .certification__card--featured {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: flex-start;
    }
}

.certification__badge {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.certification__badge svg {
    width: 32px;
    height: 32px;
    color: var(--color-gray-900);
}

.certification__badge--ai {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.certification__badge--ai svg {
    color: var(--color-white);
}

.certification__content {
    flex: 1;
}

.certification__issuer {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-xs);
}

.certification__title {
    font-size: var(--text-lg);
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.certification__level {
    font-weight: 600;
    color: var(--color-accent-light);
    margin-bottom: var(--space-md);
}

.certification__description {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
    line-height: 1.6;
}

.certification__topics {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.certification__topics li {
    font-size: var(--text-xs);
    padding: var(--space-xs) var(--space-sm);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: rgba(255, 255, 255, 0.8);
}

.certification__date {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.5);
}

.certifications__cta {
    text-align: center;
}

.certifications__cta .btn--primary {
    display: inline-flex;
    align-items: center;
}

/* ============================================
   CONTACT SECTION (continued)
   ============================================ */
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: start;
}

.contact__intro {
    font-size: var(--text-xl);
    color: var(--color-gray-600);
    margin-bottom: var(--space-2xl);
    line-height: 1.7;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact__item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: var(--text-lg);
}

.contact__item svg {
    width: 24px;
    height: 24px;
    color: var(--color-accent);
    flex-shrink: 0;
}

.contact__item a {
    color: var(--color-gray-700);
}

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

@media (max-width: 768px) {
    .contact__grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    position: relative;
    background: var(--color-primary-dark);
    color: var(--color-white);
    padding-top: var(--space-4xl);
}

.footer__wave {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    transform: translateY(-99%);
    color: var(--color-primary-dark);
    line-height: 0;
}

.footer__wave svg {
    width: 100%;
    height: 80px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__logo {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 600;
    display: block;
    margin-bottom: var(--space-sm);
}

.footer__tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-sm);
}

.footer__motto {
    font-style: italic;
    color: var(--color-accent);
    font-size: var(--text-sm);
    margin-top: var(--space-sm);
}

.footer__social {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-fast);
}

.footer__social a:hover {
    background: var(--color-accent);
    color: var(--color-gray-900);
    transform: translateY(-2px);
}

.footer__heading {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-accent);
    margin-bottom: var(--space-lg);
}

.footer__nav {
    list-style: none;
}

.footer__nav li {
    margin-bottom: var(--space-sm);
}

.footer__nav a {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
    transition: color var(--transition-fast);
}

.footer__nav a:hover {
    color: var(--color-white);
}

.footer__address {
    font-style: normal;
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
    line-height: 1.8;
}

.footer__address a {
    color: rgba(255, 255, 255, 0.7);
}

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

.footer__list {
    list-style: none;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-xl) 0;
}

.footer__copyright {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.5);
}

.footer__legal {
    display: flex;
    gap: var(--space-xl);
}

.footer__legal a {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.5);
}

.footer__legal a:hover {
    color: var(--color-white);
}

@media (max-width: 968px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer__grid {
        grid-template-columns: 1fr;
    }

    .footer__bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
    z-index: 100;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-accent);
    transform: translateY(-4px);
}

/* ============================================
   CONTENT ELEMENTS (TYPO3)
   ============================================ */
.ce-bodytext {
    margin-bottom: var(--space-lg);
}

.ce-bodytext p {
    margin-bottom: var(--space-md);
}

.ce-bodytext h2 {
    font-size: var(--text-2xl);
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-lg);
}

.ce-bodytext h3 {
    font-size: var(--text-xl);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}

.ce-bodytext ul,
.ce-bodytext ol {
    margin-bottom: var(--space-lg);
    padding-left: var(--space-xl);
}

.ce-bodytext li {
    margin-bottom: var(--space-sm);
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .header,
    .footer,
    .back-to-top,
    .hero__scroll-indicator {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: var(--space-xl);
        background: var(--color-white);
        color: var(--color-gray-900);
    }

    .hero__title,
    .hero__subtitle {
        color: var(--color-gray-900);
    }

    .section {
        padding: var(--space-xl) 0;
    }
}
