/* Custom Design System based on Maker Faire Official Style Guide */
:root {
    --blue: #00aeef; /* Official Maker Faire Cyan Brand Color */
    --blue-dark: #0077b6; /* High-contrast blue for buttons */
    --blue-text: #006699; /* Readable blue for text on light backgrounds */
    --green: #00aeef; /* Official Maker Faire Cyan */
    --yellow: #f59e0b; /* Vibrant Yellow/Amber */
    --orange: #ed1c24; /* Official Maker Faire Red */
    --red: #ed1c24; /* Official Maker Faire Red */
    --cream: #f2fbfe; /* 15% Cyan Tint Background */
    --ink: #1a1a1a; /* Maker Faire Dark Gray (Text) */
    --ink-soft: #233039;
    --dark-gradient: linear-gradient(160deg, #1e293b 0%, #0f172a 100%);
    --footer-gradient: linear-gradient(160deg, #0f172a 0%, #020617 100%);
    --white: #ffffff;
    --light-gray: #f4f4f4;
    --shadow: rgba(0, 174, 239, 0.12);
    --shadow-hover: rgba(0, 174, 239, 0.22);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--cream);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
}

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

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: #004466;
}

ul {
    list-style: none;
}

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

/* Utilities & Layout */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.text-center { text-align: center; }
.text-light { color: var(--cream) !important; }
.d-none { display: none !important; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.btn-block { width: 100%; display: block; text-align: center; }

/* Colors utility */
.color-blue { color: var(--blue-text) !important; }
.color-green { color: #00875a !important; }
.color-yellow { color: #d97706 !important; }
.color-orange { color: #ed1c24 !important; }
.color-red { color: #ed1c24 !important; }

.section-subtitle.color-yellow { color: #fbbf24 !important; text-shadow: 0 1px 2px rgba(0,0,0,0.4); }
.section-subtitle.color-green { color: #34d399 !important; text-shadow: 0 1px 2px rgba(0,0,0,0.4); }

.bg-blue { background-color: #00aeef; color: var(--white); }
.bg-green { background-color: #00aeef; color: var(--white); }
.bg-yellow { background-color: #f59e0b; color: #0f172a; }
.bg-orange { background-color: #ed1c24; color: var(--white); }
.bg-red { background-color: #ed1c24; color: var(--white); }
.bg-cream { background-color: var(--cream); }
.bg-ink { background: var(--dark-gradient); color: var(--cream); }

/* Highlights */
.highlight-yellow {
    background: linear-gradient(180deg, rgba(255,255,255,0) 65%, rgba(239, 201, 76, 0.4) 65%);
    padding: 0 4px;
}
.highlight-green {
    background: linear-gradient(180deg, rgba(255,255,255,0) 65%, rgba(69, 178, 157, 0.4) 65%);
    padding: 0 4px;
}

/* Scroll Offset for Navigation */
.scroll-margin {
    scroll-margin-top: 80px;
}

/* Sticky Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid rgba(0, 174, 239, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    max-width: 100% !important;
    width: 95% !important;
}

.main-header .container {
    max-width: 1350px;
    width: 95%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 1.6rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    color: var(--ink);
}

.logo img,
.header-logo-img,
a.logo img,
header .logo img {
    height: 44px !important;
    max-height: 44px !important;
    width: auto !important;
    max-width: 240px !important;
    display: block !important;
    object-fit: contain !important;
    transition: transform 0.2s ease;
}

.logo:hover img,
.logo:hover .header-logo-img {
    transform: scale(1.02);
}

.logo-maker {
    color: #ed1c24 !important; /* Official Maker Faire Red */
}

.logo-faire {
    color: #00aeef !important; /* Official Maker Faire Cyan Blue */
}

.logo-city {
    font-weight: 600;
    font-size: 0.9rem;
    background-color: #00aeef; /* Maker Faire Cyan */
    color: #ffffff !important;
    padding: 3px 10px;
    border-radius: 6px;
    margin-left: 6px;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem; /* Larger, readable menu font */
    color: #1e293b !important;
    position: relative;
    padding: 8px 14px;
    border-radius: 8px;
    white-space: nowrap;
    transition: var(--transition);
}

.nav-link:hover {
    color: #00aeef !important;
    background-color: rgba(0, 174, 239, 0.08);
}

.nav-cta {
    background-color: #ed1c24 !important; /* Prominent Official Maker Faire Red */
    color: #ffffff !important;
    padding: 0.65rem 1.3rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 14px rgba(237, 28, 36, 0.4);
    white-space: nowrap;
    border: none;
    transition: var(--transition);
}

.nav-cta:hover {
    background-color: #c81018 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(200, 16, 24, 0.5);
}

.lang-switch {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    transition: var(--transition);
}

.lang-switch:hover {
    color: var(--blue-dark);
    background-color: rgba(0, 114, 206, 0.08);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger {
    display: block;
    position: relative;
    width: 24px;
    height: 2px;
    background-color: var(--ink);
    transition: var(--transition);
}

.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--ink);
    transition: var(--transition);
}

.hamburger::before { top: -6px; }
.hamburger::after { bottom: -6px; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

/* ==========================================================================
   THEME-AWARE BUTTON SYSTEM (LIGHT VS. DARK SECTIONS)
   ========================================================================== */

/* 1. Light Theme Default Buttons (for white & cream sections) */
.btn-primary {
    background-color: #0072ce;
    color: #ffffff !important;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 114, 206, 0.35);
    font-weight: 700;
}

.btn-primary:hover {
    background-color: #00569e;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 86, 158, 0.45);
}

.btn-secondary {
    background-color: #ffffff;
    color: #006699 !important;
    border: 2px solid #0077b6;
    box-shadow: 0 4px 14px rgba(0, 119, 182, 0.15);
    font-weight: 600;
}

.btn-secondary:hover {
    background-color: #0077b6;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 119, 182, 0.35);
}

.btn-outline {
    background-color: #ffffff;
    color: #0077b6 !important;
    border: 2px solid #0077b6;
    font-weight: 600;
}

.btn-outline:hover {
    background-color: #0077b6;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.btn-login {
    background-color: #ffffff;
    color: var(--blue) !important;
    border: 2px solid var(--blue);
    box-shadow: 0 4px 15px rgba(0, 174, 239, 0.12);
    font-weight: 600;
}

.btn-login:hover {
    background-color: var(--blue);
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 174, 239, 0.3);
}

.btn-login-dark {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-weight: 600;
}

.btn-login-dark:hover {
    background-color: #ffffff;
    color: var(--ink) !important;
    border-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
}

/* 2. Dark Theme Buttons (inside .bg-ink sections) */
.bg-ink .btn-primary {
    background-color: #00aeef !important;
    color: #0f172a !important;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 174, 239, 0.4);
    font-weight: 700;
}

.bg-ink .btn-primary:hover {
    background-color: #38bdf8 !important;
    color: #0f172a !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.5);
}

.bg-ink .btn-secondary {
    background-color: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    border: 2px solid #ed1c24 !important;
    box-shadow: 0 4px 15px rgba(237, 28, 36, 0.25);
    font-weight: 600;
}

.bg-ink .btn-secondary:hover {
    background-color: #ed1c24 !important;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(237, 28, 36, 0.4);
}

.bg-ink .btn-outline {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #38bdf8 !important;
    border: 2px solid #38bdf8 !important;
}

.bg-ink .btn-outline:hover {
    background-color: #38bdf8 !important;
    color: #0f172a !important;
}

.btn-yellow {
    background-color: #f59e0b !important;
    color: #0f172a !important;
    font-weight: 700;
    border: none;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.btn-yellow:hover {
    background-color: #d97706 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.5);
}

.btn-blue {
    background-color: #00aeef !important;
    color: #0f172a !important;
    font-weight: 700;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 174, 239, 0.4);
}

.btn-blue:hover {
    background-color: #0077b6 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 119, 182, 0.5);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* Sections Base */
section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--blue-text);
    font-weight: 500;
}

/* Hero Section */
.hero-section {
    padding-top: 160px;
    padding-bottom: 100px;
    background: linear-gradient(185deg, rgba(248, 243, 238, 1) 0%, rgba(244, 235, 220, 0.7) 100%);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.hero-tagline {
    font-size: 1.55rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.hero-lead {
    font-size: 1.2rem;
    color: #334155;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: #fee2e2;
    color: #991b1b;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    border: 1px solid #fecaca;
}

.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 15px 35px var(--shadow);
    z-index: 2;
    transform: rotate(1deg);
    transition: var(--transition);
}

.hero-image:hover {
    transform: rotate(0deg) scale(1.02);
}

.logo-image {
    border-radius: 0;
    box-shadow: none;
    transform: none;
    filter: drop-shadow(0 12px 24px rgba(31, 42, 48, 0.12));
}

.logo-image:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 16px 28px rgba(31, 42, 48, 0.18));
}

.hero-blob {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 105%;
    height: 105%;
    background-color: #00aeef !important; /* Vibrant Maker Faire Cyan Blue Wave */
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    opacity: 0.25;
    z-index: 1;
    animation: blobMorph 12s infinite linear;
}

@keyframes blobMorph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    33% { border-radius: 50% 50% 30% 70% / 50% 60% 40% 50%; }
    66% { border-radius: 70% 30% 50% 50% / 30% 40% 60% 70%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

.hero-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.hero-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 50px;
}

.hero-divider .shape-fill {
    fill: var(--cream);
}

/* Stats Section */
.stats-section {
    margin-top: 1.5rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card {
    background-color: var(--white);
    padding: 30px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px var(--shadow);
    text-align: center;
    border-bottom: 4px solid transparent;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--shadow-hover);
}

.stat-card:nth-child(1) { border-bottom-color: var(--blue-dark); }
.stat-card:nth-child(2) { border-bottom-color: var(--green); }
.stat-card:nth-child(3) { border-bottom-color: var(--orange); }
.stat-card:nth-child(4) { border-bottom-color: var(--red); }

.stat-num {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.95rem;
    color: #475569;
    font-weight: 600;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.feature-item h3 {
    font-size: 1.15rem;
    margin-bottom: 5px;
}

.feature-item p {
    color: #334155;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.about-card {
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(31, 42, 48, 0.08);
    box-shadow: 0 10px 30px var(--shadow);
}

.about-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    color: var(--blue);
}

.about-card p {
    margin-bottom: 1.8rem;
    font-size: 1rem;
}

/* Exhibitors Section (Dark) */
.exhibitors-section {
    position: relative;
}

.exhibitor-hero-card {
    margin-bottom: 3.5rem !important;
    padding: 2.5rem;
    border-radius: 20px;
}

.exhibitor-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.exhibitor-facts-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 1.8rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.exhibitor-facts-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.exhibitor-facts-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.exhibitor-topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 28px !important;
    margin-top: 1.5rem !important;
    margin-bottom: 4rem !important;
}

.exhibitor-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 992px) {
    .exhibitor-hero-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    .exhibitor-hero-card {
        padding: 1.5rem !important;
    }
}

.exhibitor-content h3 {
    color: var(--cream);
    font-size: 2rem;
    margin-bottom: 1.2rem;
}

.exhibitor-content p {
    color: rgba(248, 243, 232, 0.8);
    font-size: 1.1rem;
}

.maker-benefits {
    margin: 25px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.benefit {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 500;
}

.benefit i {
    margin-top: 4px;
    flex-shrink: 0;
}

.benefit strong {
    white-space: nowrap;
}

.exhibitor-topics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.topic-box {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 25px;
    border-radius: 16px;
    transition: var(--transition);
}

.topic-box:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

/* Exhibitor Teaser Grid on Mainpage */
.featured-makers-section {
    margin-top: 3.5rem !important;
    padding-top: 3rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.exhibitor-teaser-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px !important;
    margin-top: 2rem !important;
    margin-bottom: 3rem !important;
}

.exhibitor-teaser-grid .exhibitor-card {
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: left;
}

.exhibitor-teaser-grid .exhibitor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.exhibitor-teaser-grid .exhibitor-card h4 {
    font-size: 1.2rem;
    color: var(--ink);
    margin: 0.5rem 0 0.2rem 0;
}

.exhibitor-teaser-grid .card-desc {
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.5;
    margin: 0.5rem 0 1rem 0;
}

.exhibitor-teaser-grid .btn-more-toggle {
    background: none;
    border: none;
    padding: 0;
    margin-left: 4px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--blue-dark, #0077b6);
    cursor: pointer;
    text-decoration: underline;
    display: inline;
    vertical-align: baseline;
    font-family: inherit;
    transition: color 0.15s ease;
}

.exhibitor-teaser-grid .btn-more-toggle:hover,
.exhibitor-teaser-grid .btn-more-toggle:focus-visible {
    color: var(--blue, #00aeef);
    outline: none;
}

.topic-box i {
    font-size: 2rem;
    margin-bottom: 15px;
}

.topic-box h4 {
    color: var(--cream);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.topic-box p {
    font-size: 0.9rem;
    color: rgba(248, 243, 232, 0.7);
    margin-bottom: 0;
}

/* Sponsors Section */
.sponsors-intro {
    max-width: 800px;
    margin: 0 auto 50px;
}

.sponsors-intro .lead {
    font-size: 1.15rem;
    color: #334155;
    max-width: 820px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

/* Confirmed supporters & sponsors grid (supports 1 to 4+ supporter cards) */
.supporters-block {
    max-width: 1140px;
    margin: 0 auto 45px;
}

.supporters-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ink);
    text-align: center;
    margin-bottom: 24px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.supporters-heading::before,
.supporters-heading::after {
    content: "";
    height: 1px;
    background: #cbd5e1;
    flex: 1;
    max-width: 120px;
}

.supporters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
    gap: 20px;
    justify-content: center;
}

/* Optimal max-width when only 1 supporter card is present */
.supporters-grid:has(.supporter-card:only-child) {
    max-width: 680px;
    margin: 0 auto;
    grid-template-columns: 1fr;
}

.supporter-card {
    background-color: var(--white);
    border: 1.5px solid #e2e8f0;
    border-left: 5px solid var(--yellow);
    border-radius: 14px;
    padding: 20px 24px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 22px;
    text-align: left;
}

.supporter-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
    border-left-color: var(--yellow);
}

.supporter-logo-box {
    width: 170px;
    height: 75px;
    flex-shrink: 0;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    margin-bottom: 0;
}

.supporter-logo {
    max-height: 55px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
}

.supporter-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.supporter-badge {
    align-self: flex-start;
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.supporter-body h4,
.supporter-text h4 {
    margin: 0 0 6px 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.supporter-body p,
.supporter-text p {
    margin: 0;
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.5;
}

/* Compatibility fallback for .supporter-row */
.supporter-row {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    flex-wrap: wrap;
    justify-content: center;
    background-color: var(--white);
    border: 1.5px solid #e2e8f0;
    border-left: 5px solid var(--yellow);
    border-radius: 14px;
    padding: 20px 24px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.supporter-text {
    text-align: left;
    max-width: 560px;
}

@media (max-width: 680px) {
    .supporters-grid {
        grid-template-columns: 1fr;
    }
    
    .supporter-card,
    .supporter-row {
        flex-direction: column;
        text-align: center;
        border-left: 1.5px solid #e2e8f0;
        border-top: 4px solid var(--yellow);
    }

    .supporter-logo-box {
        width: 100%;
    }

    .supporter-badge {
        align-self: center;
    }

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

.sponsors-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.sponsor-card {
    background-color: var(--white);
    border: 1px solid rgba(31, 42, 48, 0.05);
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    box-shadow: 0 10px 30px var(--shadow);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.sponsor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-hover);
}

.sponsor-card.featured {
    border: 2px solid var(--green);
    transform: scale(1.03);
    z-index: 5;
}

.sponsor-card.featured:hover {
    transform: scale(1.03) translateY(-5px);
}

.sponsor-badge {
    position: absolute;
    top: -15px;
    left: 30px;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sponsor-card h3 {
    font-size: 1.8rem;
    margin-top: 10px;
    margin-bottom: 10px;
}

.sponsor-desc {
    font-size: 0.95rem;
    color: var(--blue);
    margin-bottom: 25px;
    min-height: 70px;
}

.sponsor-features {
    margin-bottom: 35px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}

.sponsor-features li {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sponsor-features li i {
    color: var(--green);
}

.sponsor-footer-note {
    background-color: var(--white);
    border-radius: 16px;
    padding: 30px;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 5px 20px var(--shadow);
}

.sponsor-footer-note p {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0;
}

/* Visitors Section */
.visitor-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.visitor-info-box h3 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
}

.visitor-details-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.v-detail {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.v-detail i {
    font-size: 1.8rem;
    margin-top: 4px;
    width: 30px;
    text-align: center;
}

.v-detail strong {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 3px;
}

.v-detail p {
    font-size: 0.95rem;
    color: var(--blue);
    margin-bottom: 0;
}

.visitor-faq-container h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.faq-item {
    background-color: var(--white);
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid rgba(31, 42, 48, 0.05);
    box-shadow: 0 4px 15px rgba(31, 42, 48, 0.03);
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: var(--transition);
}

.faq-question i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    background-color: rgba(248, 243, 232, 0.3);
}

.faq-answer p {
    padding: 0 20px 20px;
    font-size: 0.95rem;
    color: var(--blue);
    margin-bottom: 0;
}

/* Active FAQ styles */
.faq-item.active {
    box-shadow: 0 6px 20px var(--shadow);
}

.faq-item.active .faq-question {
    color: var(--orange);
}

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

.faq-item.active .faq-answer {
    max-height: 1000px;
    transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

/* Location Section */
.location-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: center;
}

.location-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
}

.location-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.venue-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 8px;
}

.address {
    font-size: 1.05rem;
    color: var(--blue);
    margin-bottom: 30px;
    border-left: 3px solid var(--red);
    padding-left: 15px;
}

.directions-group h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.directions-group p {
    font-size: 0.9rem;
    color: var(--blue);
    margin-bottom: 20px;
}

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

.map-mockup {
    width: 100%;
    height: 400px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px var(--shadow);
    border: 8px solid var(--white);
    position: relative;
}

.map-mockup iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.map-consent {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: 30px;
    background-color: #e4f4fc;
    color: var(--ink);
}

.map-consent i {
    font-size: 2.6rem;
    color: var(--blue);
}

.map-consent p {
    font-size: 0.9rem;
    color: var(--ink);
    max-width: 380px;
    margin: 0;
    line-height: 1.55;
}

.map-consent a {
    color: var(--blue);
    text-decoration: underline;
}

.map-link {
    position: absolute;
    bottom: 14px;
    right: 14px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--blue);
    color: var(--white);
    padding: 9px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: var(--transition);
}

.map-link:hover {
    background-color: #0083bd;
    transform: translateY(-2px);
}

/* Contact & Newsletter Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.newsletter-box, .contact-box {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px;
    border-radius: 20px;
}

.newsletter-box h3, .contact-box h3 {
    color: var(--cream);
    font-size: 1.6rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.newsletter-box p, .contact-box p {
    color: rgba(248, 243, 232, 0.7);
    margin-bottom: 25px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group input, .form-group textarea, .contact-form input, .contact-form textarea {
    width: 100%;
    padding: 14px 20px;
    border-radius: 10px;
    border: 2px solid #cbd5e1;
    background-color: #ffffff !important;
    color: #0f172a !important;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.form-group input::placeholder, .form-group textarea::placeholder,
.contact-form input::placeholder, .contact-form textarea::placeholder {
    color: #64748b !important;
}

.form-group input:focus, .form-group textarea:focus,
.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: #00aeef !important;
    box-shadow: 0 0 0 4px rgba(0, 174, 239, 0.25) !important;
}

.form-group-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 5px;
}

.form-group-checkbox input[type="checkbox"] {
    margin-top: 4px;
    cursor: pointer;
    width: 18px;
    height: 18px;
}

.form-group-checkbox label {
    font-size: 0.88rem;
    color: #f8fafc !important;
    cursor: pointer;
    user-select: none;
    line-height: 1.4;
}

.form-success-msg {
    background-color: rgba(69, 178, 157, 0.15);
    border: 1px solid var(--green);
    color: var(--green);
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 0.95rem;
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-privacy-note {
    font-size: 0.82rem;
    color: #cbd5e1 !important;
    margin: 0 0 16px;
    line-height: 1.5;
}

.form-privacy-note a {
    color: #38bdf8 !important;
    text-decoration: underline;
}

/* Footer */
.main-footer {
    background: var(--footer-gradient);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 0 20px;
    color: #f8fafc;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: #cbd5e1 !important;
    font-size: 0.9rem;
    margin-top: 10px;
}

.footer-logos {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.footer-logo-img {
    height: 42px;
    max-height: 42px;
    width: auto;
    object-fit: contain;
    display: block;
}

.footer-logo-divider {
    color: #64748b;
    font-size: 1.2rem;
    font-weight: 300;
}

.footer-fablab-img {
    height: 36px;
    max-height: 36px;
    width: auto;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.footer-fablab-img:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

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

.social-links a:hover {
    background-color: var(--blue-dark);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-links h4, .footer-legal h4 {
    color: #ffffff !important;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-links ul, .footer-legal ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a, .footer-legal a {
    color: #cbd5e1 !important;
    font-size: 0.9rem;
}

.footer-links a:hover, .footer-legal a:hover {
    color: #38bdf8 !important;
    padding-left: 5px;
}

.footer-supporters-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 22px 0;
    margin-bottom: 8px;
}

.footer-supporters-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-supporters-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #94a3b8;
}

.footer-supporters-list {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-supporter-pill {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 6px 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.footer-supporter-pill:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.footer-supporter-role {
    font-size: 0.68rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding-right: 8px;
    border-right: 1px solid #cbd5e1;
}

.footer-supporter-logo {
    height: 24px;
    max-height: 24px;
    max-width: 130px;
    width: auto;
    object-fit: contain;
    display: block;
}

@media (max-width: 768px) {
    .footer-supporters-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-supporters-list {
        width: 100%;
    }
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.85rem;
    color: #94a3b8 !important;
}

.footer-bottom p {
    color: #94a3b8 !important;
}

.fs-sm { font-size: 0.75rem; }

/* Scroll reveal helper classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Info Grid */
.hero-info-grid {
    display: flex;
    gap: 30px;
    margin: 25px 0 35px;
    flex-wrap: wrap;
}

.hero-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-info-item i {
    font-size: 1.8rem;
}

.hero-info-item strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: var(--ink);
}

.hero-info-item p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #334155;
}

/* Partners & Network */
.partner-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
}

.partner-item {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.heise-box {
    background-color: var(--light-gray);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--blue-dark);
    margin-top: 25px;
}

.heise-box h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.heise-box p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: #334155;
}

/* Stempelkarte & Workshops */
.stempelkarte-intro {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--yellow);
    border-radius: 20px;
    padding: 40px;
    max-width: 850px;
    margin: 0 auto 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stempelkarte-badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--yellow);
    color: var(--ink);
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.stempelkarte-intro h3 {
    color: var(--cream);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.stempelkarte-intro p {
    color: rgba(248, 243, 232, 0.8);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.workshops-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.workshop-card {
    background-color: var(--white);
    color: var(--ink);
    border-radius: 18px;
    padding: 30px 25px;
    box-shadow: 0 10px 25px var(--shadow);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.workshop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--shadow-hover);
}

.ws-number {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(31, 42, 48, 0.06);
    line-height: 1;
    font-family: 'Montserrat', sans-serif;
}

.ws-icon {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.ws-partner {
    font-size: 0.8rem;
    color: var(--blue);
    font-weight: 600;
    margin-bottom: 12px;
}

.workshop-card h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.workshop-card p:not(.ws-partner) {
    font-size: 0.9rem;
    color: rgba(31, 42, 48, 0.8);
    margin-bottom: 25px;
    line-height: 1.5;
}

.ws-tag {
    display: inline-block;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 700;
    color: var(--white);
    margin-top: auto;
    width: max-content;
}

/* Zonen & Raumplan */
.zonen-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.zone-card {
    background-color: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(31, 42, 48, 0.05);
    transition: var(--transition);
}

.zone-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--shadow-hover);
}

.zone-header {
    padding: 25px;
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.zone-header h3 {
    color: var(--white);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.zone-size {
    font-size: 0.75rem;
    font-weight: 700;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    color: var(--white);
    text-transform: uppercase;
}

.zone-body {
    padding: 30px;
    flex-grow: 1;
}

.zone-body ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.zone-body li {
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
    padding-left: 20px;
}

.zone-body li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}

/* Volunteers / Crew Section */
.volunteers-section {
    background-color: #e4f4fc;
    border-top: 1px solid rgba(0, 174, 239, 0.12);
    border-bottom: 1px solid rgba(0, 174, 239, 0.12);
}

.volunteers-intro {
    max-width: 800px;
    margin: 0 auto 50px;
}

.volunteers-intro .lead {
    font-size: 1.2rem;
    color: var(--ink);
}

.volunteers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.volunteer-card {
    background-color: var(--white);
    border-radius: 20px;
    padding: 35px 30px;
    box-shadow: 0 10px 30px var(--shadow);
    border: 1px solid rgba(31, 42, 48, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.volunteer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--shadow-hover);
}

.volunteer-card .feature-icon {
    margin-bottom: 20px;
}

.volunteer-card h3 {
    font-size: 1.35rem;
    margin-bottom: 10px;
}

.volunteer-card > p {
    color: var(--blue);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.volunteer-card ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
}

.volunteer-card ul:not(.benefits-list) li {
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
    padding-left: 20px;
}

.volunteer-card ul:not(.benefits-list) li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}

.volunteer-card.benefits-card {
    background: linear-gradient(140deg, #00aeef 0%, #0083bd 100%);
    border: none;
    box-shadow: 0 12px 30px rgba(0, 131, 189, 0.25);
}

.volunteer-card.benefits-card h3 {
    color: #ffffff;
}

.benefits-list li {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.benefits-list li i {
    margin-top: 3px;
    flex-shrink: 0;
    color: #ffffff;
}

.volunteers-cta {
    max-width: 700px;
    margin: 0 auto;
}

.volunteers-cta .lead {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

/* Responsive styles */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-lead {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-image-container {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .exhibitor-grid {
        grid-template-columns: 1fr;
    }
    
    .sponsors-options-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .sponsor-card.featured {
        transform: scale(1);
    }
    .sponsor-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .visitor-grid {
        grid-template-columns: 1fr;
    }
    
    .location-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .workshops-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .zonen-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .volunteers-grid {
        grid-template-columns: 1fr;
    }

    .hero-info-grid {
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .logo img,
    .header-logo-img,
    a.logo img,
    header .logo img {
        height: 36px !important;
        max-height: 36px !important;
        max-width: 180px !important;
    }

    section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Navigation burger */
    .nav-toggle {
        display: block;
        z-index: 1001;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--cream);
        box-shadow: -5px 0 25px var(--shadow);
        z-index: 1000;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 100px 40px;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        width: 100%;
    }
    
    .main-nav li {
        width: 100%;
    }
    
    .nav-link {
        font-size: 1.1rem;
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid rgba(31, 42, 48, 0.05);
    }
    
    .nav-cta {
        display: block;
        text-align: center;
        margin-top: 10px;
    }
    
    .lang-switch {
        display: block;
        text-align: center;
        margin-top: 10px;
        border: 1px solid rgba(0, 174, 239, 0.2);
        width: 100%;
    }
    
    /* Active hamburger icon */
    .nav-toggle.active .hamburger {
        background-color: transparent;
    }
    
    .nav-toggle.active .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }
    
    .nav-toggle.active .hamburger::after {
        transform: rotate(-45deg);
        bottom: 0;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .exhibitor-topics {
        grid-template-columns: 1fr;
    }
    
    .workshops-grid {
        grid-template-columns: 1fr;
    }
    
    .zonen-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   PORTAL STYLES (Aussteller-Portal & Admin-Portal)
   ========================================================================== */

.portal-section {
    padding-top: 130px;
    padding-bottom: 80px;
    min-height: 85vh;
}

.portal-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    padding: 1.25rem 1.75rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 174, 239, 0.08);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 174, 239, 0.12);
    flex-wrap: wrap;
    gap: 1rem;
}

.portal-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.portal-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.portal-user-details h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.portal-user-details p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

/* Status Banners */
.status-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-weight: 500;
    animation: fadeIn 0.3s ease-in-out;
}

.status-banner-warning {
    background-color: #fff8e6;
    border: 1px solid #ffe0b2;
    color: #b7791f;
}

.status-banner-success {
    background-color: #e6fffa;
    border: 1px solid #b2f5ea;
    color: #234e52;
}

.status-banner-info {
    background-color: #ebf8ff;
    border: 1px solid #bee3f8;
    color: #2b6cb0;
}

.status-banner i {
    font-size: 1.4rem;
    flex-shrink: 0;
}

/* Auth / Login Card */
.auth-card-wrapper {
    max-width: 480px;
    margin: 40px auto;
}

.auth-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 174, 239, 0.12);
    border: 1px solid rgba(0, 174, 239, 0.15);
}

.auth-card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-card-header i {
    font-size: 2.8rem;
    color: var(--blue);
    margin-bottom: 1rem;
}

.auth-card-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    color: var(--ink);
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    background-color: #fcfcfc;
}

.form-control:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.15);
    background-color: var(--white);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.demo-credentials-box {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    padding: 0.9rem;
    border-radius: 10px;
    margin-top: 1.5rem;
    font-size: 0.85rem;
}

.demo-credentials-box button {
    background: none;
    border: none;
    color: var(--blue);
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
}

/* Tabs Navigation (Kategorie-Leiste + Unterpunkte) */
.portal-tabs-nav-grouped {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
    margin-bottom: 2rem;
    overflow: hidden;
}

.nav-cats {
    display: flex;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem 0;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    overflow-x: auto;
    scrollbar-width: thin;
}

.nav-cat-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.8rem 1.1rem;
    border: none;
    border-bottom: 3px solid transparent;
    border-radius: 8px 8px 0 0;
    background: transparent;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: #64748b;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}

.nav-cat-btn:hover {
    color: var(--blue);
    background: rgba(0, 174, 239, 0.06);
}

.nav-cat-btn.active {
    color: var(--blue);
    background: var(--white);
    border-bottom-color: var(--blue);
}

.nav-cat-badge {
    min-width: 20px;
    padding: 1px 7px;
    border-radius: 999px;
    background: var(--red);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    text-align: center;
}

.nav-panels {
    padding: 0.85rem 1rem;
}

.nav-group {
    display: none;
}

.nav-group.is-open {
    display: block;
}

.nav-group-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.portal-tabs-nav {
    display: flex;
    gap: 0.5rem;
    background: var(--white);
    padding: 0.6rem;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    margin-bottom: 2rem;
    overflow-x: auto;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.portal-tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.75rem 1.25rem;
    border: none;
    background: transparent;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--ink);
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}

.portal-tab-btn:hover {
    background: var(--cream);
    color: var(--blue);
}

.portal-tab-btn.active {
    background: var(--blue);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 174, 239, 0.3);
}

.portal-tab-pane {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.portal-tab-pane.active {
    display: block;
}

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

/* Card Boxes inside Portal */
.portal-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
    margin-bottom: 1.5rem;
}

.portal-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #edf2f7;
}

.portal-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.portal-card-title i {
    color: var(--blue);
}

/* Markdown Editor & Live Preview */
.markdown-editor-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 900px) {
    .markdown-editor-grid {
        grid-template-columns: 1fr;
    }
}

.editor-pane, .preview-pane {
    background: #fafafa;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
}

.pane-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.markdown-input {
    width: 100%;
    min-height: 350px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95rem;
    line-height: 1.5;
    padding: 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    resize: vertical;
    background: #ffffff;
}

.markdown-preview-output {
    min-height: 350px;
    background: #ffffff;
    padding: 1.25rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    overflow-y: auto;
    font-size: 0.95rem;
    line-height: 1.6;
}

.markdown-preview-output h1 { font-size: 1.6rem; margin-bottom: 0.5rem; color: var(--blue); }
.markdown-preview-output h2 { font-size: 1.3rem; margin-top: 1rem; margin-bottom: 0.4rem; color: var(--ink); }
.markdown-preview-output h3 { font-size: 1.1rem; margin-top: 0.8rem; margin-bottom: 0.3rem; }
.markdown-preview-output p { margin-bottom: 0.8rem; }
.markdown-preview-output ul { list-style: disc; margin-left: 1.5rem; margin-bottom: 0.8rem; }
.markdown-preview-output blockquote { border-left: 4px solid var(--blue); padding-left: 1rem; color: #555; font-style: italic; margin-bottom: 0.8rem; }

/* Grid of Download Items */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.download-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.download-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    border-color: var(--blue);
}

.download-card-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 0.75rem;
}

.download-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(0, 174, 239, 0.1);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.download-card-info h4 {
    font-size: 0.98rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.download-card-info p {
    font-size: 0.82rem;
    color: #64748b;
    margin: 0;
}

.download-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px dashed #cbd5e1;
}

/* Marketing & Presse: Logo-Downloads */
.press-assets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

.press-asset-card {
    gap: 0.5rem;
}

.press-asset-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1.25rem;
    min-height: 120px;
    margin-bottom: 0.9rem;
}

.press-asset-preview img {
    max-width: 100%;
    max-height: 78px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.file-meta-tag {
    font-size: 0.75rem;
    font-weight: 600;
    background: #e2e8f0;
    padding: 2px 8px;
    border-radius: 4px;
    color: #475569;
}

/* Tables & Lists */
.data-table-container {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
}

.data-table th {
    background: #f1f5f9;
    color: #334155;
    padding: 0.85rem 1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    border-bottom: 2px solid #cbd5e1;
}

.data-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
}

.data-table tbody tr:hover {
    background-color: #f8fafc;
}

/* Erledigte Zeile (z. B. nach Freigabe) weich ausblenden, statt sie hart verschwinden
   zu lassen. Die Zeile wird nach der Transition aus dem DOM entfernt. */
.data-table tbody tr.row-fade-out {
    opacity: 0;
    transform: translateX(28px);
    background-color: #dcfce7 !important;
    transition: opacity 0.35s ease, transform 0.35s ease, background-color 0.15s ease;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .data-table tbody tr.row-fade-out {
        transform: none;
        transition: opacity 0.01s linear;
    }
}

/* Status Chips */
.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
}

.chip-pending {
    background-color: #fef3c7;
    color: #92400e;
}

.chip-approved {
    background-color: #d1fae5;
    color: #065f46;
}

.chip-rejected {
    background-color: #fee2e2;
    color: #991b1b;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: #1e293b;
    color: #ffffff;
    padding: 0.9rem 1.4rem;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 280px;
    animation: slideInRight 0.3s forwards;
    font-size: 0.9rem;
}

.toast-success { border-left: 5px solid #10b981; }
.toast-error { border-left: 5px solid #ef4444; }
.toast-info { border-left: 5px solid #3b82f6; }

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Stat Cards in Admin */
.admin-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.metric-card {
    background: var(--white);
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    text-align: center;
}

.metric-card .num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--blue);
    font-family: 'Montserrat', sans-serif;
}

.metric-card .lbl {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

/* ==========================================================================
   REGISTRATION WIZARD STYLES (anmeldung.html)
   ========================================================================== */

.registration-wizard-card {
    background: var(--white);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: 0 15px 45px rgba(0, 174, 239, 0.1);
    border: 1px solid rgba(0, 174, 239, 0.15);
    max-width: 960px;
    margin: 0 auto;
}

.wizard-stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
    background: var(--white);
    padding: 0 10px;
}

.step-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    border: 2px solid transparent;
}

.step-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    transition: var(--transition);
}

@media (max-width: 600px) {
    .step-item:not(.active) .step-label {
        display: none;
    }
    .step-label {
        font-size: 0.75rem;
        white-space: nowrap;
    }
}

.step-item.active .step-circle {
    background: var(--blue);
    color: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 174, 239, 0.2);
}

.step-item.active .step-label {
    color: var(--blue);
    font-weight: 700;
}

.step-item.completed .step-circle {
    background: #10b981;
    color: var(--white);
}

.step-line {
    flex-grow: 1;
    height: 3px;
    background: #e2e8f0;
    margin: 0 -15px;
    margin-bottom: 25px;
    z-index: 1;
}

.wizard-step {
    display: none;
}

.wizard-step.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.step-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.step-desc {
    color: #64748b;
    margin-bottom: 2rem;
    font-size: 1rem;
}

/* Category Cards Grid */
.category-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.category-option-card {
    position: relative;
    cursor: pointer;
    display: block;
}

.category-option-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.option-content {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.category-option-card:hover .option-content {
    border-color: var(--blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 174, 239, 0.1);
}

.category-option-card input[type="radio"]:checked + .option-content {
    border-color: var(--blue);
    background: #f0f9ff;
    box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.2);
}

.option-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.option-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.option-content p {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.badge-free, .badge-commercial, .badge-sponsor, .badge-volunteer, .badge-speaker, .badge-other {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    width: max-content;
}

.badge-free { background: #d1fae5; color: #065f46; }
.badge-commercial { background: #e0f2fe; color: #0369a1; }

/* PREVIOUS EXHIBITOR SELECTION CARDS */
.prev-exhibitor-card {
    position: relative;
    cursor: pointer;
    display: block;
    user-select: none;
}

.prev-exhibitor-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.prev-exhibitor-card-body {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: #ffffff;
    border: 2px solid #cbd5e1;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.prev-exhibitor-card:hover .prev-exhibitor-card-body {
    border-color: var(--blue, #00aeef);
    background: #f8fafc;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.prev-exhibitor-card input[type="radio"]:checked + .prev-exhibitor-card-body {
    border-color: var(--blue, #00aeef);
    background: #f0f9ff;
    box-shadow: 0 4px 12px rgba(0, 174, 239, 0.15);
}

.prev-exhibitor-radio-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #94a3b8;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.prev-exhibitor-radio-dot::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--blue, #00aeef);
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s ease;
}

.prev-exhibitor-card input[type="radio"]:checked + .prev-exhibitor-card-body .prev-exhibitor-radio-dot {
    border-color: var(--blue, #00aeef);
}

.prev-exhibitor-card input[type="radio"]:checked + .prev-exhibitor-card-body .prev-exhibitor-radio-dot::after {
    opacity: 1;
    transform: scale(1);
}

.prev-exhibitor-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.prev-exhibitor-info strong {
    font-size: 0.95rem;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 6px;
}

.prev-exhibitor-info span {
    font-size: 0.8rem;
    color: #64748b;
}
.badge-sponsor { background: #fef3c7; color: #92400e; }
.badge-volunteer { background: #fee2e2; color: #991b1b; }
.badge-speaker { background: #ede9fe; color: #5b21b6; }
.badge-other { background: #f1f5f9; color: #475569; }

.info-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.info-alert-yellow {
    background: #fffbe6;
    border: 1px solid #ffe58f;
    color: #873800;
}

.info-alert-blue {
    background: #e6f7ff;
    border: 1px solid #91d5ff;
    color: #003a8c;
}

.req { color: var(--red); font-weight: 700; }

.form-group-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: #0f172a !important;
}

.form-group-checkbox label {
    color: #0f172a !important;
    line-height: 1.5;
}

.form-group-checkbox input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    accent-color: var(--blue);
    cursor: pointer;
}

.highlight-checkbox-box {
    background: #f0f9ff !important;
    border: 1px solid #7dd3fc !important;
    padding: 1rem 1.25rem;
    border-radius: 12px;
}

.wizard-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.summary-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.summary-item strong {
    display: block;
    font-size: 0.8rem;
    color: #64748b;
    text-transform: uppercase;
}

.summary-item span {
    font-size: 0.95rem;
    font-weight: 600;
}

.summary-desc-box {
    border-top: 1px dashed #cbd5e1;
    padding-top: 1rem;
}

/* Freitext in der Zusammenfassung wird als Markdown gerendert - kompakte
   Typografie, damit eine Ueberschrift den Wizard-Schritt nicht sprengt. */
.summary-desc-box h1 { font-size: 1.15rem; margin: 0.6rem 0 0.35rem; color: var(--blue); }
.summary-desc-box h2 { font-size: 1.05rem; margin: 0.6rem 0 0.3rem; color: var(--ink); }
.summary-desc-box h3 { font-size: 0.98rem; margin: 0.5rem 0 0.25rem; color: var(--ink); }
.summary-desc-box p { margin: 0.35rem 0; }
.summary-desc-box ul { list-style: disc; margin: 0.35rem 0 0.35rem 1.4rem; }
.summary-desc-box blockquote { border-left: 3px solid var(--blue); padding-left: 0.8rem; color: #555; font-style: italic; margin: 0.4rem 0; }
.summary-desc-box code { background: #f1f5f9; padding: 2px 6px; border-radius: 4px; font-family: monospace; font-size: 0.85rem; }
.summary-desc-box pre { background: #1e293b; color: #f8fafc; padding: 0.9rem; border-radius: 8px; overflow-x: auto; margin: 0.5rem 0; }
.summary-desc-box a { color: var(--blue); text-decoration: underline; }

.success-confirmation-card {
    text-align: center;
    padding: 2rem 1rem;
}

.success-icon {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 1rem;
}

.success-details-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 1.25rem;
    border-radius: 14px;
    margin: 1.5rem auto;
    max-width: 600px;
    text-align: left;
}

/* ==========================================================================
   PUBLIC DIRECTORY STYLES (aussteller.html "Meet the Makers")
   ========================================================================== */

.directory-controls-box {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 174, 239, 0.08);
    border: 1px solid rgba(0, 174, 239, 0.12);
    margin-bottom: 2rem;
}

.search-bar-wrapper {
    position: relative;
    margin-bottom: 1.25rem;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1.1rem;
}

.search-input {
    width: 100%;
    padding: 0.9rem 1rem 0.9rem 3rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(0, 174, 239, 0.15);
}

.clear-search-btn {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 1.1rem;
}

.category-filters-scroll {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    padding-bottom: 5px;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.6rem 1.1rem;
    border-radius: 30px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}

.filter-btn:hover {
    background: #f1f5f9;
    border-color: var(--blue);
    color: var(--blue);
}

.filter-btn.active {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
    box-shadow: 0 4px 12px rgba(0, 174, 239, 0.3);
}

.results-status-bar {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

.makers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.75rem;
    margin-bottom: 3rem;
}

.maker-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    cursor: pointer;
}

.maker-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 174, 239, 0.15);
    border-color: rgba(0, 174, 239, 0.3);
}

.maker-card-header {
    padding: 1.25rem 1.25rem 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.maker-category-tag {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--blue);
    background: rgba(0, 174, 239, 0.08);
    padding: 4px 10px;
    border-radius: 12px;
}

.maker-stempel-badge {
    font-size: 0.72rem;
    font-weight: 700;
    color: #873800;
    background: #fffbe6;
    border: 1px solid #ffe58f;
    padding: 3px 8px;
    border-radius: 10px;
}

.maker-card-body {
    padding: 1rem 1.25rem;
    flex-grow: 1;
}

.maker-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--ink);
    line-height: 1.3;
}

.maker-author {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.maker-excerpt {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.5;
    margin: 0;
}

.maker-card-footer {
    padding: 1rem 1.25rem;
    background: #f8fafc;
    border-top: 1px solid #edf2f7;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.maker-location {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

.btn-outline-primary {
    border: 1px solid var(--blue);
    color: var(--blue);
    background: transparent;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

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

.empty-results-box {
    background: var(--white);
    padding: 4rem 2rem;
    border-radius: 20px;
    border: 2px dashed #cbd5e1;
    margin: 2rem 0;
}

.empty-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.directory-register-cta {
    background: var(--dark-gradient);
    color: var(--cream);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.directory-register-cta h3 {
    color: var(--cream);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.directory-register-cta p {
    color: rgba(248, 243, 232, 0.8);
    margin: 0;
    max-width: 650px;
}

/* ==========================================================================
   DETAIL MODAL STYLES
   ========================================================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(6px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.modal-card {
    background: var(--white);
    border-radius: 24px;
    width: 100%;
    max-width: 780px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    animation: modalPopIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPopIn {
    from { opacity: 0; transform: scale(0.95) translateY(15px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: var(--transition);
}

.modal-close-btn:hover {
    background: var(--red);
    color: var(--white);
}

.modal-header-banner {
    background: var(--dark-gradient);
    color: var(--cream);
    padding: 2.5rem 2rem 2rem;
    border-radius: 24px 24px 0 0;
}

.modal-header-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 0.75rem;
}

.badge-tag {
    background: var(--blue);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
}

.badge-role {
    background: rgba(255, 255, 255, 0.15);
    color: var(--cream);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
}

.modal-header-banner h2 {
    color: var(--cream);
    font-size: 1.8rem;
    margin-bottom: 0.4rem;
}

.modal-maker-name {
    font-size: 1rem;
    color: var(--yellow);
    font-weight: 600;
}

.modal-body-content {
    padding: 2rem;
}

.modal-info-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    background: #f8fafc;
    padding: 1.25rem;
    border-radius: 14px;
    margin-bottom: 1.5rem;
    border: 1px solid #e2e8f0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
}

.meta-item i {
    font-size: 1.3rem;
}

.meta-item strong {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
}

.markdown-rendered-content {
    font-size: 0.98rem;
    line-height: 1.65;
    color: #334155;
}

.markdown-rendered-content h2, .markdown-rendered-content h3, .markdown-rendered-content h4 {
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--ink);
}

.markdown-rendered-content ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.markdown-rendered-content blockquote {
    border-left: 4px solid var(--blue);
    padding-left: 1rem;
    color: #475569;
    font-style: italic;
    margin-bottom: 1rem;
}

.modal-footer {
    padding: 1.25rem 2rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    border-radius: 0 0 24px 24px;
}

/* ==========================================================================
   COMPONENT INTEGRATION & ALIASES (Wizard, Tabs, Markdown, Admin, Badges, Cards)
   ========================================================================== */

/* Registration Wizard Aliases & Custom Elements */
.wizard-container {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

.wizard-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    position: relative;
}

.wizard-step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    z-index: 2;
    background: var(--white);
    padding: 0 8px;
    cursor: pointer;
}

.wizard-step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
}

.wizard-step-indicator.active .wizard-step-number,
.wizard-step-number.active {
    background: var(--blue);
    color: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 174, 239, 0.2);
}

.wizard-step-indicator.completed .wizard-step-number,
.wizard-step-number.completed {
    background: #10b981;
    color: var(--white);
}

.wizard-step-panel {
    display: none;
}

.wizard-step-panel.active {
    display: block;
    animation: fadeIn 0.35s ease;
}

.wizard-progress {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.wizard-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--blue), var(--green));
    width: 0%;
    transition: width 0.4s ease;
}

/* Portal Tabs Aliases */
.portal-tabs {
    display: flex;
    gap: 0.5rem;
    background: var(--white);
    padding: 0.5rem;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    margin-bottom: 1.5rem;
    overflow-x: auto;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.tab-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.75rem 1.25rem;
    border: none;
    background: transparent;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--ink);
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}

.tab-item:hover {
    background: var(--cream);
    color: var(--blue);
}

.tab-item.active {
    background: var(--blue);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 174, 239, 0.3);
}

.tab-item-icon {
    font-size: 1rem;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Markdown Live Preview Container */
.markdown-editor-container {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.markdown-preview {
    min-height: 250px;
    background: #ffffff;
    padding: 1.25rem;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    overflow-y: auto;
    font-size: 0.95rem;
    line-height: 1.6;
}

.markdown-preview h1 { font-size: 1.5rem; margin-bottom: 0.5rem; color: var(--blue); }
.markdown-preview h2 { font-size: 1.25rem; margin-top: 0.8rem; margin-bottom: 0.4rem; color: var(--ink); }
.markdown-preview h3 { font-size: 1.1rem; margin-top: 0.6rem; margin-bottom: 0.3rem; }
.markdown-preview p { margin-bottom: 0.75rem; }
.markdown-preview ul, .markdown-preview ol { list-style: disc; margin-left: 1.5rem; margin-bottom: 0.75rem; }
.markdown-preview blockquote { border-left: 4px solid var(--blue); padding-left: 0.9rem; color: #555; font-style: italic; margin-bottom: 0.75rem; }
.markdown-preview code { background: #f1f5f9; padding: 2px 6px; border-radius: 4px; font-family: monospace; font-size: 0.88rem; }
.markdown-preview pre { background: #1e293b; color: #f8fafc; padding: 1rem; border-radius: 8px; overflow-x: auto; margin-bottom: 0.75rem; }
.markdown-preview a { color: var(--blue); text-decoration: underline; }

/* Admin Tables & Controls */
.admin-table-container {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
}

.admin-search-bar {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.admin-search-input {
    flex-grow: 1;
    min-width: 240px;
    padding: 0.65rem 1rem 0.65rem 2.5rem;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.9rem;
}

.admin-filter-select {
    padding: 0.65rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.9rem;
    background-color: #ffffff;
    cursor: pointer;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
}

.admin-table th {
    background: #f1f5f9;
    color: #334155;
    padding: 0.85rem 1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    border-bottom: 2px solid #cbd5e1;
}

.admin-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
}

.admin-table tbody tr:hover {
    background-color: #f8fafc;
}

.admin-table-actions {
    display: flex;
    gap: 6px;
    align-items: center;
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
}

.badge-pending {
    background-color: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.badge-approved {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.badge-rejected {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.badge-draft {
    background-color: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
}

.badge-admin {
    background-color: #ede9fe;
    color: #5b21b6;
    border: 1px solid #ddd6fe;
}

.badge-exhibitor {
    background-color: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

/* Exhibitor Card Grids */
.exhibitor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.exhibitor-card {
    background: var(--white);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.exhibitor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(0, 174, 239, 0.12);
    border-color: rgba(0, 174, 239, 0.3);
}

.exhibitor-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: #e2e8f0;
}

.exhibitor-card-body {
    padding: 1.25rem;
    flex-grow: 1;
}

.exhibitor-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--ink);
}

.exhibitor-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 0.75rem;
}

.exhibitor-tag {
    font-size: 0.75rem;
    background: #f1f5f9;
    color: #475569;
    padding: 3px 8px;
    border-radius: 8px;
    font-weight: 500;
}

.exhibitor-filter-bar {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   ACCESSIBILITY & CONTRAST OVERRIDES (WCAG 2.1 AA COMPLIANCE)
   ========================================================================== */

/* Fix Text Contrast in Dark Ink Sections with Light White Cards */
.bg-ink .stempelkarte-intro,
.bg-ink .workshop-card,
.bg-ink .exhibitor-teaser-grid .exhibitor-card {
    color: #1e293b !important;
}

.bg-ink .stempelkarte-intro h3,
.bg-ink .workshop-card h4,
.bg-ink .exhibitor-teaser-grid h4 {
    color: #0f172a !important;
}

.bg-ink .stempelkarte-intro p,
.bg-ink .workshop-card p,
.bg-ink .exhibitor-teaser-grid p,
.bg-ink .exhibitor-teaser-grid .card-desc {
    color: #334155 !important;
}

.bg-ink .exhibitor-teaser-grid .btn-more-toggle {
    color: #0077b6 !important;
}

.bg-ink .exhibitor-teaser-grid .btn-more-toggle:hover,
.bg-ink .exhibitor-teaser-grid .btn-more-toggle:focus-visible {
    color: #00aeef !important;
}

.bg-ink .stempelkarte-intro strong,
.bg-ink .workshop-card strong {
    color: #0f172a !important;
}

/* Exhibitor Hero Card (Dark Glass Container in bg-ink) */
.exhibitor-hero-card {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    color: #ffffff !important;
}

.exhibitor-hero-card h3 {
    color: #ffffff !important;
}

.exhibitor-hero-card p {
    color: rgba(248, 243, 232, 0.9) !important;
}

.exhibitor-hero-card strong {
    color: #ffffff !important;
}

.exhibitor-hero-card li {
    color: #f8fafc !important;
}

.exhibitor-hero-card h4, .exhibitor-facts-box h4 {
    color: #fbbf24 !important;
    margin-bottom: 1.5rem !important;
    font-size: 1.25rem !important;
}

/* Topic Boxes (Glass Cards in Dark Sektionen) */
.topic-box {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2) !important;
    color: #ffffff !important;
}

.topic-box h4 {
    color: #ffffff !important;
}

.topic-box p {
    color: rgba(248, 243, 232, 0.85) !important;
}

/* Contact Section & Newsletter Form on Dark Background */
.contact-section h2, .contact-section h3 {
    color: #ffffff !important;
}

.contact-section p {
    color: #cbd5e1 !important;
}

.contact-section label {
    color: #f8fafc !important;
    font-weight: 500;
}

/* Specific Card Backgrounds inside Dark Ink Sections */
.bg-ink .stempelkarte-intro {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 2rem;
    border-radius: 20px;
}

.bg-ink .stempelkarte-badge {
    background-color: #fef3c7 !important;
    color: #92400e !important;
    border: 1px solid #fde68a !important;
    font-weight: 700;
}

.bg-ink .exhibitor-card {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Volunteer / Helfer Section Benefits List Fix */
.volunteers-section .volunteer-card {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #1e293b !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.volunteers-section .volunteer-card h3 {
    color: #0f172a !important;
}

.volunteers-section .volunteer-card p,
.volunteers-section .volunteer-card li,
.volunteers-section .volunteer-card div {
    color: #334155 !important;
}

/* Workshop Tags & Badges High Contrast */
.ws-tag.bg-blue, .badge.bg-blue {
    background-color: #0077b6 !important;
    color: #ffffff !important;
}

.ws-tag.bg-orange, .badge.bg-orange {
    background-color: #ed1c24 !important;
    color: #ffffff !important;
}

.ws-tag.bg-green, .badge.bg-green {
    background-color: #00aeef !important;
    color: #ffffff !important;
}

/* Footer High-Contrast Formatting */
footer, .footer-section, .main-footer {
    background: var(--footer-gradient) !important;
    color: #f8fafc !important;
}

footer a, .footer-section a, .main-footer a {
    color: #cbd5e1 !important;
}

footer a:hover, .footer-section a:hover, .main-footer a:hover {
    color: #38bdf8 !important;
}

footer p, .footer-section p, .main-footer p {
    color: #cbd5e1 !important;
}

/* Placeholder Workshop Card ("7 weitere Workshops geplant") */
.workshop-card-placeholder {
    grid-column: span 3;
    background: #ffffff !important;
    border: 2px dashed #00aeef !important;
    border-radius: 20px !important;
    padding: 2.5rem 2rem !important;
    text-align: center !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.workshop-card-placeholder .ws-icon {
    font-size: 2.8rem !important;
    color: #ed1c24 !important;
    margin-bottom: 1rem !important;
}

.workshop-card-placeholder h4 {
    color: #0f172a !important;
    font-size: 1.6rem !important;
    margin-bottom: 0.75rem !important;
    font-weight: 700 !important;
}

.workshop-card-placeholder p {
    color: #334155 !important;
    font-size: 1.05rem !important;
    max-width: 580px !important;
    margin: 0 auto 1.25rem !important;
    line-height: 1.6 !important;
}

.badge-info-folgen {
    background-color: #ed1c24 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    padding: 8px 20px !important;
    border-radius: 20px !important;
    display: inline-block !important;
    box-shadow: 0 4px 14px rgba(237, 28, 36, 0.35) !important;
}

/* Danger Buttons, Role Badges & Modal Dialogs */
.btn-danger {
    background-color: #ef4444 !important;
    color: #ffffff !important;
    border: none !important;
    transition: all 0.2s ease !important;
}
.btn-danger:hover {
    background-color: #dc2626 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.chip-role-superadmin {
    background: #7c3aed;
    color: #ffffff;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.chip-role-admin {
    background: #2563eb;
    color: #ffffff;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.chip-role-moderator {
    background: #059669;
    color: #ffffff;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.chip-role-exhibitor {
    background: #475569;
    color: #ffffff;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-card {
    background: #ffffff;
    border-radius: 16px;
    max-width: 540px;
    width: 90%;
    padding: 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

/* Returning-user and central-login additions */
.account-login-card {
    max-width: 900px;
    margin: 0 auto 2.5rem;
    padding: 1.25rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-top: 4px solid var(--blue);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 174, 239, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.account-login-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(0, 174, 239, 0.14);
}

.account-card-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    font-size: 1.65rem;
    background: linear-gradient(135deg, rgba(0, 174, 239, 0.15), rgba(0, 174, 239, 0.05));
    border-radius: 12px;
}

.account-card-body {
    flex: 1;
}

.account-card-body h3 {
    margin: 0 0 0.25rem;
    color: var(--ink);
    font-size: 1.1rem;
}

.account-card-body p {
    margin: 0;
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.45;
}

.account-card-action {
    white-space: nowrap;
}

.btn-account-login {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.35rem;
    color: #ffffff !important;
    background: var(--blue);
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0, 174, 239, 0.25);
    font-size: 0.93rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.btn-account-login:hover {
    transform: translateY(-2px);
    background: #0092cb;
    box-shadow: 0 6px 20px rgba(0, 174, 239, 0.35);
}

.nav-login {
    padding: 0.55rem 1.2rem;
    color: var(--blue) !important;
    background-color: rgba(0, 174, 239, 0.08);
    border: 2px solid var(--blue);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    transition: var(--transition);
}

.nav-login:hover {
    transform: translateY(-2px);
    color: #ffffff !important;
    background-color: var(--blue);
    box-shadow: 0 4px 14px rgba(0, 174, 239, 0.25);
}

.login-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #fbf9f4 0%, #eef7fc 100%);
}

.login-main {
    flex: 1;
    display: flex;
    justify-content: center;
    width: 100%;
}

#loginView {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-section {
    width: 100%;
    min-height: 72vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8.5rem 0 5rem;
}

.login-container {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}

.login-card {
    padding: 2.25rem;
    background: #ffffff;
    border: 1px solid rgba(0, 174, 239, 0.18);
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(0, 174, 239, 0.14);
}

.login-card-header {
    margin-bottom: 1.75rem;
}

.login-card-logo {
    width: auto;
    height: 78px;
    margin-bottom: 1rem;
}

.login-card h1 {
    margin-bottom: 0.5rem;
    color: var(--ink);
    font-size: clamp(1.55rem, 5vw, 1.85rem);
}

.login-card-header p {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

.login-alert {
    margin-bottom: 1.25rem;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    color: #991b1b;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 10px;
    font-size: 0.9rem;
}

.login-alert-success {
    color: #166534;
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.login-forgot-row {
    margin-top: 1.1rem;
}

.login-forgot-link {
    padding: 0;
    border: none;
    background: none;
    color: var(--blue);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.login-forgot-link:hover {
    color: var(--ink);
}

.login-forgot-text {
    margin: 0 0 1rem;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

.login-form-group {
    margin-bottom: 1.2rem;
}

.login-form-group label {
    margin-bottom: 0.5rem;
    display: block;
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 600;
}

.login-form-group .form-control {
    width: 100%;
    box-sizing: border-box;
}

.login-card .req {
    color: var(--red);
}

.login-submit {
    width: 100%;
    margin-top: 0.15rem;
    padding: 0.85rem 1.25rem;
    justify-content: center;
    border-radius: 12px;
    font-size: 1rem;
}

.login-register-note {
    margin-top: 1.4rem;
    padding-top: 1.2rem;
    border-top: 1px solid #e2e8f0;
}

.login-register-note p {
    margin: 0;
    color: #64748b;
    font-size: 0.9rem;
}

.login-register-note a {
    color: var(--blue);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.login-footer {
    margin-top: 0;
}

@media (max-width: 768px) {
    .account-login-card {
        padding: 1.25rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .account-card-action,
    .btn-account-login {
        width: 100%;
    }

    .btn-account-login {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .login-section {
        min-height: auto;
        padding: 7rem 0 3.5rem;
    }

    .login-card {
        padding: 1.5rem;
        border-radius: 16px;
    }
}

/* Keep the full navigation visible on common 1440px laptop screens. */
@media (min-width: 1401px) and (max-width: 1599px) {
    .main-nav ul {
        gap: 0.25rem;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 8px 9px;
    }

    .lang-switch {
        font-size: 0.9rem;
        padding: 0.6rem 0.7rem;
    }

    .nav-login {
        font-size: 0.9rem;
        padding: 0.55rem 0.9rem;
    }

    .nav-cta {
        font-size: 0.9rem;
        padding: 0.65rem 1rem;
    }
}

/* Switch to the existing drawer before the navigation can be clipped. */
@media (min-width: 769px) and (max-width: 1400px) {
    .nav-toggle {
        display: block;
        z-index: 1001;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--cream);
        box-shadow: -5px 0 25px var(--shadow);
        z-index: 1000;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 100px 40px;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        width: 100%;
    }

    .main-nav li {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid rgba(31, 42, 48, 0.05);
        font-size: 1.1rem;
    }

    .nav-cta,
    .nav-login {
        display: block;
        width: 100%;
        margin-top: 10px;
        text-align: center;
    }

    .lang-switch {
        display: block;
        width: 100%;
        margin-top: 10px;
        border: 1px solid rgba(0, 174, 239, 0.2);
        text-align: center;
    }

    .nav-toggle.active .hamburger {
        background-color: transparent;
    }

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

    .nav-toggle.active .hamburger::after {
        bottom: 0;
        transform: rotate(-45deg);
    }
}

/* Avoid min-content overflow from the large 2.500m² statistic on phones. */
@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-login {
        display: block;
        width: 100%;
        margin-top: 10px;
        text-align: center;
    }
}
