/* ========================================
   LOGISTIKLABOR - h_da Design System
   Angelehnt an logistikcampus-h-da.de
   ======================================== */

/* h_da Custom Font - HDA DIN Office */
@font-face {
    font-family: 'HDA DIN Office';
    src: url('fonts/HDADINOff.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HDA DIN Office';
    src: url('fonts/HDADINOffMed.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HDA DIN Office';
    src: url('fonts/HDADINOffBld.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    /* h_da Farben - Logistikcampus Style */
    --hda-navy: #182E64;
    --hda-navy-light: #1A3A7A;
    --hda-navy-dark: #0F1E42;
    --hda-blue-accent: #1863DC;
    /* Accent-Farbe: Hellerer Blauton statt Gelb (CD-konform) */
    --hda-accent: #4A90D9;
    --hda-accent-dark: #3178C6;
    --hda-accent-light: #6BA3E0;
    --hda-red: #D35050;

    /* Neutrale Farben */
    --white: #FFFFFF;
    --gray-50: #F8F9FA;
    --gray-100: #F5F5F5;
    --gray-200: #E9ECEF;
    --gray-300: #d5d8dc;
    --gray-600: #6C757D;
    --gray-800: #343A40;
    --gray-900: #212121;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    /* Typography - HDA Style */
    --font-family: 'HDA DIN Office', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3.5rem;

    /* Shadows - Logistikcampus Style */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(24,46,100,0.15);
    --shadow-lg: 0 10px 40px rgba(24,46,100,0.2);
    --shadow-xl: 0 32px 68px rgba(0,0,0,0.3);

    /* Border Radius - Logistikcampus Style (rounded) */
    --radius-sm: 10px;
    --radius-md: 20px;
    --radius-lg: 35px;
    --radius-pill: 50px;
    --radius-full: 50%;

    /* Transitions - Logistikcampus Style */
    --transition-fast: 150ms ease;
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   RESET & BASE
   ======================================== */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--gray-900);
    background-color: var(--white);
}

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

a {
    color: inherit;
    text-decoration: none;
}

/* ========================================
   LAYOUT
   ======================================== */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ========================================
   HEADER - Logistikcampus Style
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    z-index: 1000;
    transition: background var(--transition-base), box-shadow var(--transition-base);
}

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

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
    transition: height var(--transition-base);
}

.header.scrolled .header-inner {
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.logo img {
    height: 70px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: height var(--transition-base), filter var(--transition-base);
}

.header.scrolled .logo img {
    height: 50px;
    filter: none;
}

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

.nav-link {
    font-weight: 600;
    font-size: var(--font-size-sm);
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color var(--transition-fast);
    position: relative;
    padding: var(--space-xs) 0;
}

.header.scrolled .nav-link {
    color: var(--gray-800);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--white), var(--hda-accent));
    transition: width var(--transition-base);
}

.header.scrolled .nav-link::after {
    background: linear-gradient(90deg, var(--hda-navy), var(--hda-accent));
}

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

.header.scrolled .nav-link:hover {
    color: var(--hda-navy);
}

.nav-link:hover::after {
    width: 100%;
}

.lang-switch {
    font-size: var(--font-size-sm);
    color: rgba(255,255,255,0.8);
    transition: color var(--transition-base);
}

.header.scrolled .lang-switch {
    color: var(--gray-600);
}

.lang-active {
    font-weight: 700;
    color: var(--white);
}

.header.scrolled .lang-active {
    color: var(--hda-navy);
}

/* ========================================
   HERO - Logistikcampus Style
   ======================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    margin-top: 0;
    padding-top: 100px;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(24, 46, 100, 0.92) 0%,
        rgba(24, 46, 100, 0.80) 40%,
        rgba(24, 46, 100, 0.65) 100%
    );
}

/* Hero Decorations */
.hero-decorations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

/* Floating Shapes - ENTFERNT (nicht CD-konform) */
.hero-shape,
.hero-network,
.hero-orb {
    display: none;
}

/* Geometric decorations removed - now using inline SVGs in HTML */

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    padding: var(--space-3xl) 0;
}

.hero-content h1,
.hero-content .hero-subtitle,
.hero-content .hero-text {
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-pill);
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
    border: 1px solid rgba(255,255,255,0.2);
}

/* Hero Title */
.hero h1 {
    font-size: var(--font-size-5xl);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-md);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--white);
    margin-bottom: var(--space-xl);
    opacity: 0.9;
    font-weight: 500;
}

.hero-text {
    font-size: var(--font-size-xl);
    max-width: 550px;
    margin-bottom: var(--space-xl);
    opacity: 0.9;
    line-height: 1.6;
}

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

/* ========================================
   BUTTONS - Logistikcampus Style (Pill)
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: var(--font-size-base);
    font-weight: 600;
    border-radius: var(--radius-pill);
    transition: all var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--white);
    color: var(--hda-navy);
    border-color: var(--white);
}

.btn-primary:hover {
    background: var(--gray-100);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: var(--white);
    color: var(--hda-navy);
    transform: translateY(-3px);
}

.btn-navy {
    background: var(--hda-navy);
    color: var(--white);
    border-color: var(--hda-navy);
}

.btn-navy:hover {
    background: var(--hda-navy-dark);
    border-color: var(--hda-navy-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-outline-navy {
    background: transparent;
    color: var(--hda-navy);
    border-color: var(--hda-navy);
}

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

.btn-large {
    padding: 18px 40px;
    font-size: var(--font-size-lg);
}

/* ========================================
   SECTIONS
   ======================================== */

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

/* Modern Section Headers */
.section-header {
    margin-bottom: var(--space-xl);
}

.section-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--hda-navy);
    margin-bottom: var(--space-sm);
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--hda-accent) 0%, var(--hda-accent-dark) 100%);
    border-radius: 2px;
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--gray-600);
    font-weight: 400;
    line-height: 1.6;
    max-width: 600px;
}

.section-intro {
    font-size: var(--font-size-lg);
    color: var(--gray-600);
    max-width: 700px;
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

/* ========================================
   LEARNING HUBS - Angepasst
   ======================================== */

.learning-hubs {
    background: var(--gray-50);
}

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

.learning-hub-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    text-align: center;
    padding-bottom: var(--space-lg);
    position: relative;
}

.learning-hub-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--hda-accent), var(--hda-accent-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.learning-hub-card:hover::before {
    transform: scaleX(1);
}

.learning-hub-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.learning-hub-image {
    position: relative;
    padding: var(--space-lg);
    background: var(--hda-navy);
}

.learning-hub-image img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: var(--radius-full);
    margin: 0 auto;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-md);
}

.learning-hub-badge {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    background: var(--white);
    color: var(--hda-navy);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.outdoor-badge {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    background: var(--hda-accent);
    color: var(--hda-navy);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.learning-hub-card h3 {
    font-size: var(--font-size-base);
    font-weight: 700;
    color: var(--hda-navy);
    margin: var(--space-md) var(--space-sm) var(--space-xs);
    line-height: 1.3;
}

.learning-hub-partner {
    font-size: var(--font-size-sm);
    color: var(--gray-600);
    padding: 0 var(--space-sm);
}

/* ========================================
   PARTNER - Logistikcampus Style
   ======================================== */

.partner {
    background: var(--white);
}

.partner-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md) var(--space-lg);
    background: var(--gray-50);
    border-radius: var(--radius-md);
    font-weight: 700;
    color: var(--gray-600);
    font-size: var(--font-size-sm);
    transition: all var(--transition-base);
    min-width: 140px;
    border: 1px solid var(--gray-200);
}

.partner-logo.placeholder {
    flex-direction: column;
    gap: var(--space-xs);
    border: 2px dashed var(--gray-300);
    background: repeating-linear-gradient(
        -45deg,
        var(--gray-50),
        var(--gray-50) 10px,
        var(--gray-100) 10px,
        var(--gray-100) 20px
    );
    min-height: 80px;
}

.placeholder-icon {
    font-size: 1.5rem;
    opacity: 0.5;
}

.placeholder-text {
    font-size: var(--font-size-sm);
    color: var(--gray-600);
}

.placeholder-notice {
    text-align: center;
    margin-top: var(--space-lg);
    font-size: var(--font-size-sm);
    color: var(--gray-600);
    font-style: italic;
}

.partner-logo:hover {
    background: transparent;
    transform: scale(1.05);
}

.partner-logo.placeholder:hover {
    background: transparent;
}

.partner-logo.placeholder:hover .placeholder-icon,
.partner-logo.placeholder:hover .placeholder-text {
    color: var(--white);
    opacity: 1;
}

/* ========================================
   VIDEO SECTION
   ======================================== */

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

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
}

.video-wrapper.placeholder {
    border: 2px dashed var(--gray-300);
    background: repeating-linear-gradient(
        -45deg,
        var(--gray-50),
        var(--gray-50) 10px,
        var(--gray-100) 10px,
        var(--gray-100) 20px
    );
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 0;
    height: 400px;
}

.video-placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--gray-600);
}

.video-icon {
    font-size: 4rem;
    width: 100px;
    height: 100px;
    background: var(--hda-navy);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 8px;
}

.video-text {
    font-size: var(--font-size-xl);
    font-weight: 700;
}

.video-url {
    font-size: var(--font-size-sm);
    color: var(--gray-600);
}

/* ========================================
   TEAM SECTION
   ======================================== */

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

.team-section .section-intro {
    max-width: 800px;
}

.team-section .section-intro + .section-intro {
    margin-top: var(--space-md);
}

/* ========================================
   TERMINE / KALENDER
   ======================================== */

.termine {
    background: var(--gray-50);
}

.termine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.termin-card {
    display: flex;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border-left: 4px solid var(--hda-navy);
}

.termin-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.termin-card.master {
    border-left-color: var(--hda-blue-accent);
}

.termin-card.summer {
    border-left-color: var(--hda-accent);
}

.termin-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    background: var(--hda-navy);
    color: var(--white);
    min-width: 80px;
}

.termin-card.master .termin-date {
    background: var(--hda-blue-accent);
}

.termin-card.summer .termin-date {
    background: var(--hda-accent);
    color: var(--hda-navy);
}

.termin-month {
    font-size: var(--font-size-xl);
    font-weight: 700;
    text-transform: uppercase;
}

.termin-year {
    font-size: var(--font-size-sm);
    opacity: 0.8;
}

.termin-content {
    padding: var(--space-md);
    flex: 1;
}

.termin-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: var(--hda-navy);
    color: var(--white);
    margin-bottom: var(--space-xs);
}

.termin-badge.master {
    background: var(--hda-blue-accent);
}

.termin-badge.summer {
    background: var(--hda-accent);
    color: var(--hda-navy);
}

.termin-content h3 {
    font-size: var(--font-size-base);
    font-weight: 700;
    color: var(--hda-navy);
    margin-bottom: var(--space-xs);
    line-height: 1.3;
}

.termin-content p {
    font-size: var(--font-size-sm);
    color: var(--gray-600);
}

.termine-notice {
    text-align: center;
    margin-top: var(--space-xl);
    font-size: var(--font-size-sm);
    color: var(--gray-600);
    font-style: italic;
}

/* ========================================
   INSTAGRAM FEED
   ======================================== */

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

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-sm);
}

.instagram-post {
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
}

.instagram-post.placeholder {
    border: 2px dashed var(--gray-300);
    background: repeating-linear-gradient(
        -45deg,
        var(--gray-50),
        var(--gray-50) 10px,
        var(--gray-100) 10px,
        var(--gray-100) 20px
    );
}

.instagram-placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: var(--space-xs);
    color: var(--gray-600);
    font-size: var(--font-size-sm);
}

.instagram-icon {
    font-size: 2rem;
    opacity: 0.5;
}

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

/* ========================================
   DOWNLOADS
   ======================================== */

.downloads {
    background: var(--gray-50);
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.download-card {
    display: flex;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

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

.download-image {
    width: 200px;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    background: var(--hda-navy);
    color: var(--white);
}

.download-image.placeholder {
    background: repeating-linear-gradient(
        -45deg,
        var(--hda-navy),
        var(--hda-navy) 10px,
        var(--hda-navy-dark) 10px,
        var(--hda-navy-dark) 20px
    );
}

.download-icon {
    font-size: 3rem;
    opacity: 0.8;
}

.download-content {
    flex: 1;
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.download-content h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--hda-navy);
    margin-bottom: var(--space-sm);
}

.download-content p {
    font-size: var(--font-size-base);
    color: var(--gray-600);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

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

    .download-card {
        flex-direction: column;
    }

    .download-image {
        width: 100%;
        min-height: 150px;
    }
}

/* ========================================
   CTA - Modern Style
   ======================================== */

.cta {
    background: linear-gradient(135deg, var(--hda-navy) 0%, var(--hda-navy-dark) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-accent-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--hda-accent);
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--space-md);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.cta p {
    font-size: var(--font-size-xl);
    opacity: 0.9;
    margin-bottom: var(--space-xl);
    font-weight: 400;
}

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

/* ========================================
   FOOTER - Logistikcampus Style
   ======================================== */

.footer {
    background: var(--gray-900);
    color: var(--white);
    padding-top: var(--space-3xl);
}

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

.footer-logo {
    margin-bottom: var(--space-md);
}

.footer-logo img {
    height: 45px;
    filter: brightness(0) invert(1);
}

.footer-col p {
    color: var(--gray-300);
    line-height: 1.8;
}

.footer-col h4 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-md);
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: var(--font-size-sm);
}

.footer-col a {
    color: var(--gray-300);
    transition: color var(--transition-fast);
}

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

.footer-link {
    display: block;
    margin-bottom: var(--space-xs);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: var(--space-md) 0;
}

.footer-bottom p {
    color: var(--gray-600);
    font-size: var(--font-size-sm);
}

/* ========================================
   KEY VISUAL ELEMENTS - Logistikcampus
   ======================================== */

/* Floating decoration - Entfernt (nicht CD-konform) */
.floating-element {
    /* Animation entfernt */
}

/* Gradient text - Entfernt, da nicht CD-konform */
.gradient-text {
    color: var(--white);
}

/* Card with hover lift */
.card-lift {
    transition: all var(--transition-base);
}

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

/* Stats counter style */
.stat-number {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--hda-navy);
    line-height: 1;
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ========================================
   MODERN DECORATIVE ELEMENTS
   ======================================== */

/* Accent underline animation */
.animated-underline {
    position: relative;
    display: inline-block;
}

.animated-underline::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--hda-accent), var(--hda-accent-dark));
    transition: width var(--transition-base);
}

.animated-underline:hover::after {
    width: 100%;
}

/* ========================================
   AUSBLENDBARE BEREICHE (für spätere Aktivierung)
   ======================================== */

/* Versteckte Sektionen können per data-hidden="true" ausgeblendet werden */
[data-hidden="true"] {
    display: none !important;
}

/* Kooperationspartner-Bereich auf Learning Hub Seiten */
.cooperation-partner {
    margin-top: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    color: var(--gray-600);
}

.cooperation-partner.hidden {
    display: none;
}

.cooperation-partner img {
    max-height: 40px;
    margin-left: var(--space-sm);
    vertical-align: middle;
}

/* Partner-Zitate Sektion */
.partner-testimonials {
    margin-top: var(--space-xl);
}

.partner-testimonials.hidden {
    display: none;
}

.partner-quote {
    background: var(--gray-50);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--hda-accent);
    margin-bottom: var(--space-md);
}

.partner-quote blockquote {
    font-size: var(--font-size-lg);
    font-style: italic;
    color: var(--gray-800);
    margin-bottom: var(--space-sm);
}

.partner-quote cite {
    font-size: var(--font-size-sm);
    color: var(--gray-600);
    font-style: normal;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .learning-hubs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .header-inner {
        height: 80px;
    }

    .header.scrolled .header-inner {
        height: 70px;
    }

    .logo img {
        height: 50px;
    }

    .header.scrolled .logo img {
        height: 40px;
    }

    .hero {
        min-height: 80vh;
        padding-top: 80px;
    }

    .hero h1 {
        font-size: var(--font-size-3xl);
    }

    .hero-subtitle {
        font-size: var(--font-size-lg);
    }

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

    .learning-hubs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .section-title {
        font-size: var(--font-size-2xl);
    }

    .logo img {
        height: 40px;
    }

    /* Instagram responsive */
    .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Termine responsive */
    .termine-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 60vh;
    }

    .hero h1 {
        font-size: var(--font-size-2xl);
    }

    .hero-subtitle {
        font-size: var(--font-size-base);
    }

    .hero-text {
        font-size: var(--font-size-base);
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .section-subtitle {
        font-size: var(--font-size-base);
    }

    .learning-hub-image img {
        width: 100px;
        height: 100px;
    }

    .learning-hub-card h3 {
        font-size: var(--font-size-sm);
    }

    /* Instagram responsive mobile */
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .learning-hub-badge {
        font-size: 0.65rem;
        padding: 4px 8px;
    }
}

/* ========================================
   ACCESSIBILITY - Focus States
   ======================================== */

/* Focus-visible für Tastaturnavigation */
*:focus-visible {
    outline: 3px solid var(--hda-accent);
    outline-offset: 2px;
}

.btn:focus-visible {
    outline: 3px solid var(--hda-accent);
    outline-offset: 3px;
    box-shadow: 0 0 0 6px rgba(74, 144, 217, 0.2);
}

.nav-link:focus-visible {
    outline: 2px solid var(--hda-accent);
    outline-offset: 4px;
}

.learning-hub-card:focus-visible {
    outline: 3px solid var(--hda-accent);
    outline-offset: 4px;
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

/* Skip Link für Screenreader */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--hda-navy);
    color: var(--white);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-pill);
    z-index: 9999;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: var(--space-sm);
}

/* ========================================
   PARTNER LOGO - Verbesserter Hover
   ======================================== */

.partner-logo img {
    transition: all var(--transition-base);
    max-height: 60px;
    width: auto;
}

/* Sanfter Hover-Effekt ohne Filter */
.partner-logo:hover img {
    transform: scale(1.05);
}

/* ========================================
   MOBILE NAVIGATION - Hamburger Menu
   ======================================== */

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    position: relative;
    transition: all var(--transition-base);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.header.scrolled .hamburger,
.header.scrolled .hamburger::before,
.header.scrolled .hamburger::after {
    background: var(--hda-navy);
}

/* Hamburger Animation */
.mobile-menu-toggle.active .hamburger {
    background: transparent;
}

.mobile-menu-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-menu-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Mobile Navigation Overlay */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--hda-navy);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav .nav-link {
    font-size: var(--font-size-2xl);
    color: var(--white);
    padding: var(--space-sm);
}

.mobile-nav .nav-link:hover {
    color: var(--hda-accent);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
}


/* ========================================
   STICKY HEADER RESIZE FIX
   Elementor setzt eine feste Pixel-Breite auf den
   fixed-Container. Bei Resize bleibt die alte Breite.
   width: 100% ueberschreibt die Inline-Pixel-Breite.
   ======================================== */

.elementor-sticky--effects,
.elementor-sticky--active {
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
}

/* ========================================
   IMAGE LOADING STATES
   ======================================== */

/* Nur Content-Bilder mit lazy loading bekommen Platzhalter-Hintergrund */
img[loading="lazy"] {
    background-color: transparent;
    transition: opacity var(--transition-base);
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    .header,
    .footer,
    .mobile-menu-toggle,
    .hero-decorations,
    .btn,
    .navigation-arrows {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
    }

    .hero {
        min-height: auto;
        padding: 20pt 0;
    }

    section {
        padding: 20pt 0;
        page-break-inside: avoid;
    }

    .learning-hub-card,
    .lernziel-card,
    .testimonial-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }

    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 10pt;
        color: #666;
    }
}
