/* RA-MICRO Seminare — Public Styles (WordPress 1:1 Nachbau) */
/* Gradient: #667eea → #764ba2, animiert 12s */

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

:root {
    --primary: #667eea;
    --primary-dark: #764ba2;
    --text: #333;
    --text-body: #4a5568;
    --text-light: #666;
    --bg: #f8f9fa;
    --bg-light: #f0f4ff;
    --white: #fff;
    --border: #e2e8f0;
    --success: #16a34a;
    --error: #dc2626;
    --warning: #f59e0b;
    --info: #2563eb;
    --radius: 12px;
    --shadow: 0 4px 20px rgba(0,0,0,.15);
    --shadow-hover: 0 12px 32px rgba(0,0,0,.25);
    --max-width: 1400px;
    /* Kategoriefarben */
    --cat-orange: #e67e22;
    --cat-green: #81d742;
    --cat-violet: #8224e3;
    --cat-red: #dd3333;
    --cat-blue: #2980b9;
    --cat-darkblue: #1e73be;
    --cat-yellow: #f1c40f;
    --cat-brown: #dd9933;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-body);
    background: var(--bg);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 15px;
}

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.main-content { flex: 1; }

/* ============================================ */
/* === HEADER / NAVIGATION                  === */
/* ============================================ */
.site-header { position: sticky; top: 0; z-index: 100; }

@keyframes rms-grad-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.header-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--primary) 100%);
    background-size: 400% 400%;
    animation: rms-grad-shift 12s ease infinite;
    padding: 0 20px;
    box-shadow: 0 2px 20px rgba(0,0,0,.2);
}

.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 72px; max-width: var(--max-width); margin: 0 auto;
}

.logo { text-decoration: none; display: flex; align-items: center; gap: 12px; }
.logo-text {
    color: #fff; font-size: 22px; font-weight: 700;
    letter-spacing: -.3px;
}
.logo-img {
    height: 44px; width: auto;
}

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
    color: rgba(255,255,255,.9); text-decoration: none; font-size: 15px;
    font-weight: 500; transition: color .2s; position: relative;
    padding: 6px 0;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 2px; background: #fff; transform: scaleX(0);
    transition: transform .25s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-btn {
    background: rgba(255,255,255,.2) !important; padding: 8px 20px !important;
    border-radius: 6px; transition: background .2s !important;
}
.nav-btn::after { display: none !important; }
.nav-btn:hover { background: rgba(255,255,255,.3) !important; }

.mobile-menu-btn {
    display: none; flex-direction: column; gap: 5px; background: none;
    border: none; cursor: pointer; padding: 8px;
}
.mobile-menu-btn span {
    width: 24px; height: 2px; background: #fff; border-radius: 2px;
    transition: transform .3s;
}

/* ============================================ */
/* === FLASH MESSAGES                       === */
/* ============================================ */
.flash-container { margin-top: 16px; }
.flash {
    padding: 12px 16px; border-radius: 8px; margin-bottom: 8px;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 14px; animation: slideDown .3s ease;
}
.flash-success { background: #d4edda; color: #155724; border-left: 4px solid var(--success); }
.flash-error { background: #fef2f2; color: #991b1b; border-left: 4px solid var(--error); }
.flash-warning { background: #fff8e1; color: #92400e; border-left: 4px solid var(--warning); }
.flash-info { background: #eff6ff; color: #1e40af; border-left: 4px solid var(--info); }
.flash-close { background: none; border: none; font-size: 20px; cursor: pointer; color: inherit; opacity: .5; }
.flash-close:hover { opacity: 1; }

@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================ */
/* === HERO SECTION                         === */
/* ============================================ */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--primary) 100%);
    background-size: 400% 400%;
    animation: rms-grad-shift 12s ease infinite;
    color: #fff; padding: 80px 20px; text-align: center;
    position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(255,255,255,.08) 0%, transparent 60%);
    pointer-events: none;
}
.hero h1 {
    font-size: 42px; font-weight: 700; margin-bottom: 16px;
    color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.15);
    position: relative;
}
.hero p {
    font-size: 18px; opacity: .9; max-width: 600px; margin: 0 auto;
    color: #ddd5f5; position: relative;
}
.hero-subtitle {
    font-size: 24px; font-weight: 600;
    color: rgba(255,255,255,.95) !important; opacity: 1 !important;
    margin-bottom: 12px;
}
.hero-buttons {
    margin-top: 32px; display: flex; gap: 16px;
    justify-content: center; flex-wrap: wrap; position: relative;
}
.btn-hero-primary {
    display: inline-block; padding: 14px 32px; background: #fff;
    color: var(--primary); font-size: 16px; font-weight: 600;
    border-radius: 8px; text-decoration: none; border: none;
    transition: transform .25s, box-shadow .25s;
    box-shadow: 0 4px 15px rgba(0,0,0,.2);
}
.btn-hero-primary:hover {
    transform: translateY(-2px); color: var(--primary-dark);
    box-shadow: 0 8px 25px rgba(0,0,0,.3);
}
.btn-hero-ghost {
    display: inline-block; padding: 14px 32px; background: transparent;
    color: #fff; font-size: 16px; font-weight: 600;
    border-radius: 8px; text-decoration: none;
    border: 2px solid rgba(255,255,255,.5);
    transition: transform .25s, background .25s, border-color .25s;
}
.btn-hero-ghost:hover {
    transform: translateY(-2px); background: rgba(255,255,255,.15);
    border-color: rgba(255,255,255,.8); color: #fff;
}

/* Hero small (Unterseiten-Header) */
.hero-small {
    padding: 48px 20px;
}
.hero-small h1 { font-size: 32px; }

/* ============================================ */
/* === INFO SECTION (Entdecken Sie Neues)   === */
/* ============================================ */
.info-section {
    background: var(--white); padding: 64px 0;
}
.info-section-inner {
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
    align-items: center; max-width: var(--max-width); margin: 0 auto;
}
.info-text h2 {
    font-size: 28px; font-weight: 700; color: var(--text);
    margin-bottom: 16px;
}
.info-text p {
    font-size: 15px; line-height: 1.8; color: var(--text-body);
    margin-bottom: 16px;
}
.info-text a.btn { margin-top: 8px; }
.info-image img {
    width: 100%; border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(61,69,146,.15);
}

/* ============================================ */
/* === SECTION                              === */
/* ============================================ */
.section { padding: 64px 0; }
.section-title {
    font-size: 28px; font-weight: 700; margin-bottom: 32px;
    color: var(--text); text-align: center;
}
.section-subtitle {
    text-align: center; color: var(--text-body);
    max-width: 600px; margin: -16px auto 32px; font-size: 16px;
}

/* Section auf Gradient-Hintergrund */
.section-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--primary) 100%);
    background-size: 400% 400%;
    animation: rms-grad-shift 12s ease infinite;
    padding: 64px 0;
}
.section-gradient .section-title { color: #fff; }
.section-gradient .section-subtitle { color: rgba(255,255,255,.8); }

/* ============================================ */
/* === SEMINAR EVENT CARDS (5er Grid)       === */
/* ============================================ */
.event-card-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.event-card {
    background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow); overflow: hidden;
    transition: transform .25s, box-shadow .25s;
    cursor: pointer; text-decoration: none; color: var(--text);
    display: flex; flex-direction: column;
}
.event-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}
.event-card-header {
    padding: 14px 16px; color: #fff;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 13px; font-weight: 600;
}
.event-card-date {
    display: flex; flex-direction: column; align-items: flex-start;
    line-height: 1.2;
}
.event-card-date .day { font-size: 22px; font-weight: 700; }
.event-card-date .month { font-size: 12px; text-transform: uppercase; opacity: .9; }
.event-card-type {
    font-size: 11px; text-transform: uppercase; letter-spacing: .5px;
    opacity: .9; text-align: right;
}
.event-card-body { padding: 16px; }
.event-card-title {
    font-size: 15px; font-weight: 600; color: var(--text);
    margin-bottom: 8px; line-height: 1.4;
}
.event-card-title a { color: inherit; text-decoration: none; }
.event-card-title a:hover { color: var(--primary); }
.event-card-meta {
    font-size: 13px; color: var(--text-body);
    display: flex; flex-direction: column; gap: 4px;
}
.event-card-meta span { display: flex; align-items: center; gap: 6px; }
.event-card-meta .meta-icon { font-size: 14px; opacity: .7; width: 16px; text-align: center; }

/* ============================================ */
/* === CATEGORY TILES (3er Grid)            === */
/* ============================================ */
.category-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.category-tile {
    background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow); overflow: hidden;
    transition: transform .25s, box-shadow .25s;
    text-decoration: none; color: var(--text);
    display: flex; align-items: flex-start; gap: 16px;
    padding: 20px; border-left: 4px solid var(--primary);
    position: relative;
}
.category-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    color: var(--text);
}
.category-icon {
    width: 48px; height: 48px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; flex-shrink: 0;
}
.category-content { flex: 1; min-width: 0; }
.category-content h3 {
    font-size: 16px; font-weight: 600; color: var(--text);
    margin-bottom: 4px;
}
.category-content p {
    font-size: 13px; color: var(--text-body); line-height: 1.5;
    margin-bottom: 8px;
}
.category-link {
    font-size: 13px; font-weight: 600; color: var(--primary);
    display: inline-flex; align-items: center; gap: 4px;
}
.category-link:hover { color: var(--primary-dark); }
.category-badge {
    position: absolute; top: 12px; right: 12px;
    background: var(--bg); padding: 3px 10px; border-radius: 20px;
    font-size: 12px; font-weight: 600; color: var(--text-body);
}

/* ============================================ */
/* === CARDS (generisch)                    === */
/* ============================================ */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }

.card {
    background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow); overflow: hidden;
    transition: transform .25s, box-shadow .25s;
    border-left: 4px solid var(--primary);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.card-body { padding: 20px; }
.card-title { font-size: 18px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.card-title a { color: inherit; text-decoration: none; }
.card-title a:hover { color: var(--primary); }
.card-meta { font-size: 13px; color: var(--text-body); margin-bottom: 12px; }
.card-meta span { margin-right: 12px; }
.card-text { font-size: 14px; color: var(--text-body); line-height: 1.7; }
.card-footer {
    padding: 14px 20px; border-top: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center;
    font-size: 13px;
}

/* ============================================ */
/* === BADGES                               === */
/* ============================================ */
.badge {
    display: inline-block; padding: 4px 12px; border-radius: 20px;
    font-size: 12px; font-weight: 600;
}
.badge-open { background: #d4edda; color: #155724; }
.badge-full { background: #fef2f2; color: #991b1b; }
.badge-cancelled { background: #f3f4f6; color: #6b7280; }
.badge-online { background: #eff6ff; color: #1e40af; }

/* ============================================ */
/* === BUTTONS                              === */
/* ============================================ */
.btn {
    display: inline-block; padding: 10px 22px; border-radius: 8px;
    font-size: 14px; font-weight: 600; text-decoration: none;
    border: none; cursor: pointer; transition: all .25s;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); }
.btn-secondary { background: var(--bg); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { background: #e2e8f0; }
.btn-success { background: var(--success); color: #fff; }
.btn-danger { background: var(--error); color: #fff; }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }

.btn-link {
    background: none; border: none; color: var(--primary);
    font-weight: 600; padding: 0; font-size: 14px;
}
.btn-link:hover { color: var(--primary-dark); }

.btn-center { text-align: center; margin-top: 32px; }

/* ============================================ */
/* === FORMS                                === */
/* ============================================ */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-input, .form-select, .form-textarea {
    width: 100%; padding: 12px 16px; border: 1px solid var(--border);
    border-radius: 8px; font-size: 15px; font-family: inherit;
    transition: border-color .2s, box-shadow .2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none; border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(102,126,234,.15);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-hint { font-size: 12px; color: var(--text-body); margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ============================================ */
/* === TABLE                                === */
/* ============================================ */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-weight: 600; padding: 12px; border-bottom: 2px solid var(--border); color: var(--text-body); font-size: 13px; }
td { padding: 12px; border-bottom: 1px solid var(--border); }
tr:hover td { background: #f8f9fb; }

/* ============================================ */
/* === CALENDAR                             === */
/* ============================================ */
.calendar {
    background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow); overflow: hidden;
}
.calendar-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
}
.calendar-header h2 { font-size: 22px; font-weight: 700; }
.calendar-nav { display: flex; gap: 8px; }
.calendar-nav a {
    color: #fff; text-decoration: none; padding: 8px 16px;
    background: rgba(255,255,255,.2); border-radius: 6px; font-size: 14px;
    font-weight: 500; transition: background .2s;
}
.calendar-nav a:hover { background: rgba(255,255,255,.3); }
.calendar-body { padding: 24px; }

/* Kalender-Grid (Monat) */
.cal-grid {
    display: grid; grid-template-columns: repeat(7, 1fr);
    gap: 1px; background: var(--border); border-radius: 8px;
    overflow: hidden; margin-bottom: 32px;
}
.cal-header-cell {
    background: var(--bg); padding: 10px; text-align: center;
    font-size: 13px; font-weight: 600; color: var(--text-body);
}
.cal-cell {
    background: var(--white); min-height: 90px; padding: 8px;
    position: relative;
}
.cal-cell.other-month { background: #fafafa; }
.cal-cell.today { background: #f0f4ff; }
.cal-day { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.cal-event {
    display: block; font-size: 11px; padding: 2px 6px;
    border-radius: 4px; margin-bottom: 2px; color: #fff;
    text-decoration: none; white-space: nowrap; overflow: hidden;
    text-overflow: ellipsis; font-weight: 500;
}
.cal-event:hover { opacity: .85; color: #fff; }

/* Kalender-Legende */
.cal-legend {
    display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 24px;
    padding: 16px; background: var(--bg); border-radius: 8px;
}
.cal-legend-item {
    display: flex; align-items: center; gap: 8px; font-size: 13px;
    color: var(--text-body);
}
.cal-legend-dot {
    width: 12px; height: 12px; border-radius: 3px; flex-shrink: 0;
}

/* Event-Liste unter Kalender */
.event-list { margin-top: 32px; }
.event-list-title { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 20px; }

.event-item {
    display: flex; align-items: center; gap: 20px;
    padding: 16px 0; border-bottom: 1px solid var(--border);
}
.event-item:last-child { border-bottom: none; }
.event-date-box {
    min-width: 64px; text-align: center; padding: 10px 12px;
    border-radius: 10px; background: var(--bg);
}
.event-date-box .day { font-size: 26px; font-weight: 700; color: var(--primary); line-height: 1; }
.event-date-box .month { font-size: 12px; color: var(--text-body); text-transform: uppercase; margin-top: 2px; }
.event-info { flex: 1; }
.event-info h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.event-info h3 a { color: var(--text); text-decoration: none; }
.event-info h3 a:hover { color: var(--primary); }
.event-info .meta { font-size: 13px; color: var(--text-body); }
.event-actions { display: flex; gap: 8px; align-items: center; }

/* Farbiger Streifen für Kategorie */
.event-date-box-colored {
    min-width: 64px; text-align: center; padding: 10px 12px;
    border-radius: 10px; color: #fff;
}
.event-date-box-colored .day { font-size: 26px; font-weight: 700; line-height: 1; }
.event-date-box-colored .month { font-size: 12px; text-transform: uppercase; margin-top: 2px; opacity: .9; }

/* ============================================ */
/* === INSTRUCTOR CARD                      === */
/* ============================================ */
.instructor-card {
    display: flex; gap: 20px; background: var(--white);
    border-radius: var(--radius); box-shadow: var(--shadow);
    padding: 24px; transition: transform .25s;
}
.instructor-card:hover { transform: translateY(-4px); }
.instructor-photo {
    width: 80px; height: 80px; border-radius: 50%; object-fit: cover;
    background: var(--bg); flex-shrink: 0;
}
.instructor-info h3 { font-size: 18px; margin-bottom: 4px; color: var(--text); }
.instructor-info .title { color: var(--text-body); font-size: 14px; }

/* ============================================ */
/* === SEMINAR DETAIL                       === */
/* ============================================ */
.seminar-header {
    padding: 48px 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff; position: relative;
}
.seminar-header::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 80% 20%, rgba(255,255,255,.06) 0%, transparent 60%);
    pointer-events: none;
}
.seminar-header .container { position: relative; }
.seminar-header .breadcrumb {
    color: rgba(255,255,255,.7); font-size: 14px; margin-bottom: 12px;
}
.seminar-header .breadcrumb a { color: rgba(255,255,255,.8); text-decoration: none; }
.seminar-header .breadcrumb a:hover { color: #fff; }
.seminar-header h1 { font-size: 32px; margin-bottom: 8px; }
.seminar-header .subtitle { font-size: 18px; opacity: .9; }

.seminar-content { padding: 40px 0; }
.seminar-layout {
    display: grid; grid-template-columns: 1fr 380px; gap: 40px;
    max-width: var(--max-width); margin: 0 auto; padding: 0 20px;
}
.seminar-main { }
.seminar-main h2 {
    font-size: 20px; font-weight: 700; color: var(--text);
    margin: 32px 0 12px;
}
.seminar-main h2:first-child { margin-top: 0; }
.seminar-main p { color: var(--text-body); line-height: 1.8; margin-bottom: 16px; }
.seminar-main ul, .seminar-main ol {
    margin: 16px 0; padding-left: 24px;
}
.seminar-main li { margin-bottom: 8px; }

.seminar-sidebar {
    background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 24px;
    align-self: flex-start; position: sticky; top: 88px;
}
.seminar-sidebar h3 {
    font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 16px;
}

.sidebar-event {
    padding: 16px 0; border-bottom: 1px solid var(--border);
}
.sidebar-event:last-child { border-bottom: none; }
.sidebar-event-date { font-weight: 600; color: var(--text); font-size: 15px; }
.sidebar-event-meta { font-size: 13px; color: var(--text-body); margin: 4px 0 8px; }
.sidebar-event-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff; border-radius: var(--radius); padding: 24px;
    text-align: center; margin-top: 20px;
}
.cta-box h3 { color: #fff; margin-bottom: 8px; }
.cta-box p { color: rgba(255,255,255,.85); font-size: 14px; margin-bottom: 16px; }
.cta-box .btn {
    background: #fff; color: var(--primary); font-weight: 600;
}
.cta-box .btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.2); }

/* ============================================ */
/* === PRICING                              === */
/* ============================================ */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.pricing-card {
    background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 32px; text-align: center;
    transition: transform .25s;
}
.pricing-card:hover { transform: translateY(-6px); }
.pricing-card.featured { border: 2px solid var(--primary); }
.pricing-price { font-size: 36px; font-weight: 700; color: var(--primary); margin: 16px 0; }
.pricing-price span { font-size: 16px; color: var(--text-body); font-weight: 400; }

/* ============================================ */
/* === AUTH PAGES                           === */
/* ============================================ */
.auth-page { max-width: 440px; margin: 60px auto; padding: 0 20px; }
.auth-card {
    background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 40px;
}
.auth-card h1 { font-size: 24px; margin-bottom: 24px; text-align: center; color: var(--text); }

/* ============================================ */
/* === NEWSLETTER SECTION                   === */
/* ============================================ */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 64px 20px; text-align: center; color: #fff;
    border-radius: var(--radius); margin: 0;
}
.newsletter-section h2 { font-size: 28px; margin-bottom: 12px; font-weight: 700; }
.newsletter-section p { opacity: .9; margin-bottom: 32px; font-size: 16px; }
.newsletter-form-grid {
    display: grid; grid-template-columns: 1fr 1fr 1fr auto;
    gap: 12px; max-width: 800px; margin: 0 auto;
}
.newsletter-form-grid input {
    padding: 14px 18px; border: 2px solid rgba(255,255,255,.3); border-radius: 8px;
    font-size: 15px; background: rgba(255,255,255,.15); color: #fff;
    font-family: inherit;
}
.newsletter-form-grid input::placeholder { color: rgba(255,255,255,.7); }
.newsletter-form-grid input:focus {
    outline: none; border-color: rgba(255,255,255,.6);
    background: rgba(255,255,255,.2);
}
.newsletter-form-grid button {
    padding: 14px 28px; background: #fff; color: var(--primary);
    border: none; border-radius: 8px; font-weight: 600; font-size: 15px;
    cursor: pointer; transition: transform .2s, box-shadow .2s;
    white-space: nowrap;
}
.newsletter-form-grid button:hover {
    transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.2);
}

/* Simple newsletter form (fallback) */
.newsletter-form { display: flex; gap: 12px; max-width: 500px; margin: 0 auto; }
.newsletter-form input {
    flex: 1; padding: 12px 16px; border: none; border-radius: 8px;
    font-size: 15px;
}
.newsletter-form button {
    padding: 12px 24px; background: rgba(255,255,255,.2);
    color: #fff; border: 2px solid rgba(255,255,255,.4);
    border-radius: 8px; font-weight: 600; cursor: pointer;
    transition: background .2s;
}
.newsletter-form button:hover { background: rgba(255,255,255,.3); }

/* ============================================ */
/* === GOOGLE REVIEWS                       === */
/* ============================================ */
.reviews-section { padding: 64px 0; background: var(--white); }
.reviews-header { text-align: center; margin-bottom: 40px; }
.reviews-stars { color: #fb8e28; font-size: 28px; margin-bottom: 8px; letter-spacing: 2px; }
.reviews-rating {
    font-size: 16px; color: var(--text-body);
}
.reviews-rating strong { color: var(--text); font-size: 20px; }
.reviews-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px; max-width: var(--max-width); margin: 0 auto; padding: 0 20px;
}
.review-card {
    background: var(--bg); border-radius: var(--radius);
    padding: 24px; transition: transform .25s;
}
.review-card:hover { transform: translateY(-4px); }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-avatar {
    width: 46px; height: 46px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 18px; flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.review-name { font-weight: 600; color: var(--text); font-size: 15px; }
.review-date { font-size: 12px; color: var(--text-body); }
.review-stars { color: #fb8e28; font-size: 14px; margin-bottom: 8px; }
.review-text { font-size: 14px; color: var(--text-body); line-height: 1.7; }

/* ============================================ */
/* === FOOTER                               === */
/* ============================================ */
.site-footer {
    background: #2d3748; color: #a0aec0; padding: 48px 0 24px; margin-top: 0;
}
.footer-grid {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
    max-width: var(--max-width); margin: 0 auto; padding: 0 20px;
}
.footer-col h4 { color: #e2e8f0; margin-bottom: 16px; font-size: 16px; }
.footer-col p { font-size: 14px; line-height: 1.8; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #a0aec0; text-decoration: none; font-size: 14px; transition: color .2s; }
.footer-col a:hover { color: #fff; }

.footer-contact-item {
    display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px;
    font-size: 14px;
}
.footer-contact-icon { font-size: 16px; width: 20px; text-align: center; flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
    margin-top: 32px; padding-top: 20px; border-top: 1px solid #4a5568;
    text-align: center; font-size: 13px;
    max-width: var(--max-width); margin-left: auto; margin-right: auto;
    padding-left: 20px; padding-right: 20px;
}

/* ============================================ */
/* === CMS PAGE                             === */
/* ============================================ */
.cms-content { max-width: 800px; margin: 0 auto; padding: 40px 20px; }
.cms-content h1 { font-size: 28px; margin-bottom: 24px; color: var(--text); }
.cms-content h2 { font-size: 22px; margin: 24px 0 12px; color: var(--text); }
.cms-content p { margin-bottom: 16px; line-height: 1.8; }
.cms-content ul, .cms-content ol { margin: 16px 0; padding-left: 24px; }
.cms-content li { margin-bottom: 8px; }
.cms-content a { color: var(--primary); }

/* ============================================ */
/* === BOOKING FORM                         === */
/* ============================================ */
.booking-page { max-width: 700px; margin: 40px auto; padding: 0 20px; }
.booking-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; }
.booking-card h1 { font-size: 24px; margin-bottom: 8px; color: var(--text); }
.booking-card .event-info-bar {
    background: var(--bg); padding: 14px 16px; border-radius: 8px;
    margin-bottom: 24px; font-size: 14px;
}

.ticket-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.ticket-option {
    border: 2px solid var(--border); border-radius: 10px; padding: 16px;
    cursor: pointer; transition: border-color .2s; text-align: center;
}
.ticket-option:hover { border-color: var(--primary); }
.ticket-option.selected { border-color: var(--primary); background: #f0f4ff; }
.ticket-option input { display: none; }
.ticket-option .price { font-size: 20px; font-weight: 700; color: var(--primary); }

.payment-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.payment-option {
    border: 2px solid var(--border); border-radius: 10px; padding: 14px;
    cursor: pointer; text-align: center; transition: border-color .2s;
}
.payment-option:hover { border-color: var(--primary); }
.payment-option.selected { border-color: var(--primary); background: #f0f4ff; }
.payment-option input { display: none; }

/* ============================================ */
/* === VIDEO PLAYER                         === */
/* ============================================ */
.video-player-wrap {
    background: #000; border-radius: var(--radius); overflow: hidden;
    aspect-ratio: 16/9; position: relative;
}
.video-player-wrap video { width: 100%; height: 100%; }
.video-locked {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; color: #fff; gap: 16px;
    position: absolute; inset: 0; background: rgba(0,0,0,.8);
}
.video-locked .lock-icon { font-size: 48px; }

/* ============================================ */
/* === 404                                  === */
/* ============================================ */
.error-page { text-align: center; padding: 80px 20px; }
.error-page h1 { font-size: 72px; color: var(--primary); margin-bottom: 16px; }
.error-page p { font-size: 18px; color: var(--text-body); margin-bottom: 24px; }

/* ============================================ */
/* === PARTICIPANT DASHBOARD                === */
/* ============================================ */
.dashboard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.stat-card {
    background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 24px;
}
.stat-card .stat-value { font-size: 32px; font-weight: 700; color: var(--primary); }
.stat-card .stat-label { font-size: 14px; color: var(--text-body); }

/* ============================================ */
/* === CONFIRMATION                         === */
/* ============================================ */
.confirmation-page { max-width: 600px; margin: 40px auto; padding: 0 20px; }
.confirmation-card {
    background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 40px; text-align: center;
}
.confirmation-card .check-icon {
    width: 64px; height: 64px; border-radius: 50%;
    background: #d4edda; color: var(--success);
    display: flex; align-items: center; justify-content: center;
    font-size: 32px; margin: 0 auto 20px;
}

/* ============================================ */
/* === "ALLE SEMINARTERMINE" Button         === */
/* ============================================ */
.btn-all-events {
    display: inline-block; padding: 14px 32px; background: #fff;
    color: var(--primary); font-size: 15px; font-weight: 600;
    border-radius: 8px; text-decoration: none; border: none;
    transition: transform .25s, box-shadow .25s;
    box-shadow: 0 4px 15px rgba(0,0,0,.2);
}
.btn-all-events:hover {
    transform: translateY(-2px); color: var(--primary-dark);
    box-shadow: 0 8px 25px rgba(0,0,0,.3);
}

/* ============================================ */
/* === SEMINAR TILES (Flip-Box Style)       === */
/* ============================================ */
.seminar-tiles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: var(--max-width);
}
.seminar-tile {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--white);
    border-radius: 15px;
    padding: 20px 24px;
    border-left: 4px solid var(--primary);
    box-shadow: 0 2px 12px rgba(61,69,146,.12);
    text-decoration: none;
    color: var(--text);
    transition: transform .25s, box-shadow .25s;
}
.seminar-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(61,69,146,.2);
    color: var(--text);
}
.seminar-tile-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}
.seminar-tile-icon svg {
    width: 100%;
    height: 100%;
}
.seminar-tile-title {
    font: 600 15px/1.4 "Segoe UI", sans-serif;
    color: var(--text);
}

/* ============================================ */
/* === FEATURED SEMINAR CARDS               === */
/* ============================================ */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.featured-card {
    background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 24px;
    text-decoration: none; color: var(--text);
    transition: transform .25s, box-shadow .25s;
    display: flex; flex-direction: column;
}
.featured-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    color: var(--text);
}
.featured-card h3 {
    font-size: 16px; font-weight: 700;
    color: var(--text); margin-bottom: 8px;
}
.featured-card p {
    font-size: 13px; color: var(--text-body);
    line-height: 1.6; flex: 1; margin-bottom: 16px;
}
.featured-btn {
    display: inline-block; padding: 8px 16px;
    background: var(--primary); color: #fff;
    border-radius: 6px; font-size: 13px;
    font-weight: 600; text-align: center;
    transition: background .2s;
}
.featured-card:hover .featured-btn {
    background: var(--primary-dark);
}

/* ============================================ */
/* === FEATURE SECTION (Entdecken)           === */
/* ============================================ */
.feature-section {
    background: var(--bg-light); padding: 64px 0;
}
.feature-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.feature-box {
    background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 32px; text-align: center;
    transition: transform .25s;
}
.feature-box:hover { transform: translateY(-4px); }
.feature-icon { font-size: 48px; margin-bottom: 16px; }
.feature-box h3 {
    font-size: 18px; font-weight: 700;
    color: var(--text); margin-bottom: 12px;
}
.feature-box p {
    font-size: 14px; color: var(--text-body);
    line-height: 1.7; margin-bottom: 20px;
}

/* ============================================ */
/* === STATISTICS                            === */
/* ============================================ */
.stats-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    background-size: 400% 400%;
    animation: rms-grad-shift 12s ease infinite;
    padding: 64px 0; color: #fff;
}
.stats-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 32px; text-align: center;
}
.stat-counter { padding: 24px; }
.stat-number { font-size: 48px; font-weight: 700; margin-bottom: 8px; }
.stat-text {
    font-size: 18px; opacity: .85;
    text-transform: uppercase; letter-spacing: 1px;
}

/* ============================================ */
/* === CTA SECTION (Digitale Kanzlei)        === */
/* ============================================ */
.cta-section {
    padding: 80px 0; text-align: center; background: var(--white);
}
.cta-content {
    max-width: 700px; margin: 0 auto;
}
.cta-content h2 {
    font-size: 32px; font-weight: 700;
    color: var(--text); margin-bottom: 16px;
}
.cta-content p {
    font-size: 18px; color: var(--text-body);
    line-height: 1.8; margin-bottom: 32px;
}

/* ============================================ */
/* === SEMINARRAUM                           === */
/* ============================================ */
.seminarraum-section { padding: 64px 0; background: var(--bg); }
.seminarraum-content { text-align: center; }
.seminarraum-content h2 {
    font-size: 28px; font-weight: 700;
    color: var(--text); margin-bottom: 8px;
}
.seminarraum-subtitle {
    font-size: 16px; color: var(--text-body); margin-bottom: 32px;
}
.seminarraum-img {
    width: 100%; max-width: 900px;
    border-radius: var(--radius); box-shadow: var(--shadow);
}

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

/* Tablet */
@media (max-width: 1200px) {
    .event-card-grid { grid-template-columns: repeat(3, 1fr); }
    .featured-grid { grid-template-columns: repeat(3, 1fr); }
    .seminar-tiles-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .seminar-layout { grid-template-columns: 1fr; }
    .seminar-sidebar { position: static; }
    .info-section-inner { grid-template-columns: 1fr; }
    .newsletter-form-grid { grid-template-columns: 1fr 1fr; }
    .feature-grid { grid-template-columns: 1fr; }
    .featured-grid { grid-template-columns: repeat(2, 1fr); }
    .seminar-tiles-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 768px) {
    .mobile-menu-btn { display: flex; }
    .nav-links {
        display: none; flex-direction: column; position: absolute;
        top: 72px; left: 0; right: 0;
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        padding: 16px 20px; gap: 12px; box-shadow: 0 8px 20px rgba(0,0,0,.2);
    }
    .nav-links.open { display: flex; }
    .nav-links a::after { display: none; }

    .hero { padding: 48px 20px; }
    .hero h1 { font-size: 28px; }
    .hero p { font-size: 16px; }
    .hero-buttons { flex-direction: column; align-items: center; }

    .section { padding: 40px 0; }
    .section-title { font-size: 22px; }

    .event-card-grid { grid-template-columns: 1fr; }
    .card-grid { grid-template-columns: 1fr; }
    .category-grid { grid-template-columns: 1fr; }
    .cal-grid { display: none; }

    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .form-row { grid-template-columns: 1fr; }
    .event-item { flex-direction: column; align-items: flex-start; gap: 12px; }
    .event-actions { width: 100%; }

    .newsletter-form-grid {
        grid-template-columns: 1fr;
    }
    .reviews-grid { grid-template-columns: 1fr; }
    .featured-grid { grid-template-columns: 1fr; }
    .seminar-tiles-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; gap: 16px; }
    .stat-number { font-size: 36px; }

    .booking-card { padding: 20px; }
    .payment-options { grid-template-columns: 1fr; }
    .ticket-options { grid-template-columns: 1fr; }
}

/* Print */
@media print {
    .site-header, .site-footer, .newsletter-section, .hero-buttons { display: none; }
    .hero { padding: 20px; background: none !important; color: #000 !important; }
    .hero h1 { color: #000; text-shadow: none; }
    body { font-size: 12pt; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
