/* ============================================================
   Katz und Maus Lauf - Main CSS
   Primary Orange: #F97316 | Primary Blue: #2563EB
   Background: #ffffff
   ============================================================ */

/* --- Local Fonts --- */
@font-face {
    font-family: 'FredokaOne';
    src: url('../fonts/FredokaOne-Regular.woff2') format('woff2'),
         url('../fonts/FredokaOne-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: #ffffff;
    color: #333333;
    font-family: 'FredokaOne', 'Arial Rounded MT Bold', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'FredokaOne', 'Arial Rounded MT Bold', Arial, sans-serif;
    font-weight: normal;
    color: #1a1a2e;
    line-height: 1.25;
}

a {
    color: #2563EB;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #F97316;
    text-decoration: none;
}

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

/* --- Utility --- */
.text-orange  { color: #F97316 !important; }
.text-blue    { color: #2563EB !important; }
.bg-orange    { background-color: #F97316 !important; }
.bg-blue      { background-color: #2563EB !important; }
.fw-bold      { font-weight: 700; }
.fw-black     { font-weight: 900; }

/* ============================================================
   NAVBAR
   ============================================================ */

/* ── Default state: transparent, compact, no logo ── */
.navbar-custom {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    min-height: 64px;
    padding: 0;
    margin-bottom: 0;
    border-radius: 0;
    overflow: visible;
    transition: background 0.3s ease, box-shadow 0.3s ease, min-height 0.3s ease;
}

/* Logo */
.navbar-custom .navbar-brand {
    padding: 4px 15px;
    overflow: visible;
    float: left;
}
.navbar-custom .navbar-brand img {
    height: 120px;
    width: auto;
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    position: relative;
    z-index: 1041;
    filter: drop-shadow(0 4px 10px rgba(249,115,22,0.18));
}

/* ── Scrolled / auth state: white bg, border, shadow, logo appears ── */
.navbar-custom.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 3px solid #F97316 !important;
    box-shadow: 0 4px 20px rgba(249,115,22,0.18) !important;
    min-height: 70px;
}
.navbar-custom.navbar-scrolled .navbar-brand img {
    opacity: 1;
    visibility: visible;
}

/* ── Nav links ── */
.navbar-custom .navbar-nav > li > a {
    color: #333333;
    font-family: 'FredokaOne', Arial, sans-serif;
    font-weight: 700;
    font-size: 15px;
    padding: 10px 16px;
    margin: 12px 3px;
    border: 2px solid transparent;
    border-radius: 22px;
    transition: color 0.2s ease, border-color 0.2s ease;
    letter-spacing: 0.3px;
    line-height: 1.4;
}

/* Hover & active: orange rounded outline — same style as user icon */
.navbar-custom .navbar-nav > li > a:hover,
.navbar-custom .navbar-nav > li.active > a {
    color: #F97316 !important;
    background: transparent !important;
    border-color: #F97316 !important;
}

.navbar-header {
    position: relative;
    height: 70px;
}

.navbar-toggle {
    border-color: #F97316 !important;
    margin: 0;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}
.navbar-toggle .icon-bar {
    background-color: #F97316 !important;
}

@media (max-width: 767px) {
    .navbar-header {
        height: 85px;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .navbar-custom,
    .navbar-custom.navbar-scrolled {
        min-height: 85px;
    }
    .navbar-custom .navbar-nav {
        text-align: center;
    }
    .navbar-custom .navbar-nav > li > a {
        padding: 13px 20px;
        margin: 2px 16px;
        border-radius: 22px;
        border: 2px solid transparent;
        display: inline-block;
    }
    .navbar-custom .navbar-nav > li > a:hover,
    .navbar-custom .navbar-nav > li.active > a {
        color: #F97316 !important;
        border-color: #F97316 !important;
        background: transparent !important;
    }
    .navbar-collapse {
        background: #ffffff;
        padding-bottom: 10px;
    }
}


/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    font-family: 'FredokaOne', Arial, sans-serif;
    font-weight: 700;
    border-radius: 30px;
    padding: 10px 28px;
    font-size: 15px;
    transition: all 0.25s ease;
    border: 2px solid transparent;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: linear-gradient(135deg, #F97316 0%, #ea580c 100%);
    border-color: transparent;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(249,115,22,0.35);
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(249,115,22,0.45);
    border-color: transparent;
}

.btn-secondary {
    background: linear-gradient(135deg, #2563EB 0%, #1d4ed8 100%);
    border-color: transparent;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(37,99,235,0.30);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(37,99,235,0.40);
    border-color: transparent;
}

.btn-outline-orange {
    background: transparent;
    border: 2px solid #F97316;
    color: #F97316 !important;
}

.btn-outline-orange:hover {
    background: #F97316;
    color: #ffffff !important;
}

.btn-outline-blue {
    background: transparent;
    border: 2px solid #2563EB;
    color: #2563EB !important;
}

.btn-outline-blue:hover {
    background: #2563EB;
    color: #ffffff !important;
}

.btn-lg {
    padding: 14px 40px;
    font-size: 18px;
}

.btn-sm {
    padding: 6px 18px;
    font-size: 13px;
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-color: transparent;
    color: #fff !important;
}

.btn-success-custom {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-color: transparent;
    color: #fff !important;
}


/* ============================================================
   SECTION TITLES
   ============================================================ */
.section-title {
    text-align: center;
    margin-bottom: 28px;
}

.section-title h2 {
    font-size: 38px;
    font-weight: 900;
    color: #1a1a2e;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, #F97316, #ea580c);
    border-radius: 2px;
}

.section-title p {
    font-size: 17px;
    color: #666;
    margin: 20px auto 0;
    white-space: nowrap;
}
@media (max-width: 767px) {
    .section-title p { white-space: normal; }
}

.section-title .subtitle-badge {
    display: inline-block;
    background: linear-gradient(135deg, #fff3e8 0%, #ffe8cc 100%);
    color: #F97316;
    font-family: 'FredokaOne', Arial, sans-serif;
    font-weight: 700;
    font-size: 13px;
    padding: 4px 16px;
    border-radius: 20px;
    margin-bottom: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid #fed7aa;
}


/* ============================================================
   WAVE / SVG DIVIDERS
   ============================================================ */
.wave-divider {
    position: relative;
    overflow: hidden;
    line-height: 0;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    vertical-align: bottom;
}

/* Sections with waves: no bottom padding, wave handles it */
.section-light,
.section-white,
.section-orange,
.section-blue {
    padding-bottom: 0 !important;
}

/* Section backgrounds */
.section-white  { background: #ffffff; }
.section-light  { background: #f8fafc; }
.section-orange { background: #fff7ed; }
.section-blue   { background: #eff6ff; }
.section-dark   { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); }


/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
    background: #ffffff;
    padding: 120px 0 0;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(249,115,22,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 80px;
    left: -80px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37,99,235,0.07) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-bottom: 80px;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #F97316 0%, #ea580c 100%);
    color: #ffffff;
    font-family: 'FredokaOne', Arial, sans-serif;
    font-weight: 700;
    font-size: 13px;
    padding: 6px 20px;
    border-radius: 25px;
    margin-bottom: 20px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(249,115,22,0.35);
}

.hero-title {
    font-size: 68px;
    font-weight: 900;
    color: #1a1a2e;
    line-height: 1.1;
    margin-bottom: 10px;
}

.hero-title .highlight-orange {
    color: #F97316;
    position: relative;
}

.hero-title .highlight-blue {
    color: #2563EB;
}

.hero-subtitle {
    font-size: 22px;
    color: #555;
    font-weight: 400;
    margin-bottom: 30px;
}

.hero-event-info {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    background: #ffffff;
    border: 2px solid #fed7aa;
    border-radius: 50px;
    padding: 12px 28px;
    margin-bottom: 36px;
    box-shadow: 0 4px 20px rgba(249,115,22,0.12);
    flex-wrap: wrap;
}

.hero-event-info .event-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'FredokaOne', Arial, sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: #333;
}

.hero-event-info .event-detail i {
    color: #F97316;
    font-size: 16px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

/* Floating paw animations */
.paw-float {
    position: absolute;
    opacity: 0.08;
    animation: pawFloat 6s ease-in-out infinite;
    font-size: 40px;
    color: #F97316;
    pointer-events: none;
    z-index: 1;
}

.paw-float:nth-child(2) { animation-delay: -2s; }
.paw-float:nth-child(3) { animation-delay: -4s; }

@keyframes pawFloat {
    0%, 100% { transform: translateY(0) rotate(-10deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.hero-image-area {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-logo-img {
    width: 100%;
    max-width: 420px;
    height: auto;
    animation: bounce 2s ease-in-out infinite;
    filter: drop-shadow(0 10px 24px rgba(249,115,22,0.25));
    display: block;
    margin: 0 auto;
}

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

/* Countdown */
.countdown-container {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin: 28px 0;
}

.countdown-box {
    background: #ffffff;
    border: 2px solid #fed7aa;
    border-radius: 16px;
    padding: 16px 20px;
    text-align: center;
    min-width: 80px;
    box-shadow: 0 4px 14px rgba(249,115,22,0.10);
}

.countdown-box .count-num {
    font-family: 'FredokaOne', Arial, sans-serif;
    font-size: 36px;
    font-weight: 900;
    color: #F97316;
    line-height: 1;
    display: block;
}

.countdown-box .count-label {
    font-size: 11px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-top: 4px;
}

@media (max-width: 991px) {
    .hero-section { padding: 80px 0 0; min-height: auto; }
    .hero-title { font-size: 44px; }
    .hero-logo-img { max-width: 280px; }
}

@media (max-width: 767px) {
    .hero-title { font-size: 34px; }
    .hero-subtitle { font-size: 17px; }
    .hero-buttons { flex-direction: column; align-items: flex-start; }
    .hero-image-area { margin-top: 40px; }
}


/* ============================================================
   INFO CARDS
   ============================================================ */
.row-equal-cards {
    display: flex;
    flex-wrap: wrap;
}
.row-equal-cards > [class*="col-"] {
    display: flex;
    flex-direction: column;
}
.info-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    border: 2px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    height: 100%;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 36px rgba(249,115,22,0.15);
    border-color: #fed7aa;
}

.info-card .card-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
}

.info-card .card-icon.icon-orange {
    background: linear-gradient(135deg, #fff3e8 0%, #ffedd5 100%);
    color: #F97316;
    border: 2px solid #fed7aa;
}

.info-card .card-icon.icon-blue {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #2563EB;
    border: 2px solid #bfdbfe;
}

.info-card .card-icon.icon-green {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    color: #16a34a;
    border: 2px solid #bbf7d0;
}

.info-card h4 {
    font-size: 18px;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.info-card p {
    color: #666;
    font-size: 15px;
    margin-bottom: 0;
}


/* ============================================================
   STRECKEN / KLASSENTABELLE
   ============================================================ */
.strecken-section {
    padding: 40px 0;
}

.strecken-table-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    border: 2px solid #f0f0f0;
}

.strecken-table {
    width: 100%;
    margin-bottom: 0;
    border-collapse: collapse;
}

.strecken-table thead th {
    background: linear-gradient(135deg, #F97316 0%, #ea580c 100%);
    color: #ffffff;
    font-family: 'FredokaOne', Arial, sans-serif;
    font-weight: 800;
    font-size: 15px;
    padding: 16px 20px;
    text-align: center;
    border: none;
    letter-spacing: 0.3px;
}

.strecken-table tbody tr {
    transition: background 0.2s ease;
}

.strecken-table tbody tr:nth-child(even) {
    background: #fff9f5;
}

.strecken-table tbody tr:hover {
    background: #fff3e8;
}

.strecken-table tbody td {
    padding: 14px 20px;
    text-align: center;
    border: none;
    border-bottom: 1px solid #f0ebe5;
    font-size: 15px;
    color: #444;
    vertical-align: middle;
}

.strecken-table tbody td:first-child {
    font-weight: 700;
    color: #1a1a2e;
}

.distance-badge {
    display: inline-block;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #2563EB;
    font-family: 'FredokaOne', Arial, sans-serif;
    font-weight: 800;
    font-size: 14px;
    padding: 4px 14px;
    border-radius: 20px;
    border: 1px solid #bfdbfe;
}


/* ============================================================
   RAHMENPROGRAMM CARDS
   ============================================================ */
.programm-card {
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.programm-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.programm-card.card-orange {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 2px solid #fed7aa;
}

.programm-card.card-blue {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 2px solid #bfdbfe;
}

.programm-card.card-purple {
    background: linear-gradient(135deg, #faf5ff 0%, #ede9fe 100%);
    border: 2px solid #ddd6fe;
}

.programm-card .prog-icon {
    font-size: 52px;
    margin-bottom: 20px;
    display: block;
    animation: wiggle 3s ease-in-out infinite;
}

.programm-card.card-orange .prog-icon { color: #F97316; }
.programm-card.card-blue   .prog-icon { color: #2563EB; }
.programm-card.card-purple .prog-icon { color: #7c3aed; }

@keyframes wiggle {
    0%, 100% { transform: rotate(-3deg); }
    50% { transform: rotate(3deg); }
}

.programm-card h4 {
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.programm-card p {
    font-size: 15px;
    color: #666;
    margin-bottom: 0;
}


/* ============================================================
   PREISE SECTION
   ============================================================ */
.preis-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 2px solid #f0f0f0;
    transition: transform 0.3s ease, border-color 0.3s ease;
    height: 100%;
}

/* 3-Spalten Preistext-Karten */
.preis-info-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(37,99,235,0.07);
    border: 2px solid #f0f0f0;
    height: 100%;
}
.preis-info-icon {
    font-size: 28px;
    color: #2563EB;
    display: block;
    margin-bottom: 10px;
}
.preis-info-card p {
    color: #374151;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.preis-card:hover {
    transform: translateY(-6px);
    border-color: #F97316;
    box-shadow: 0 12px 32px rgba(249,115,22,0.13);
}

.preis-card .preis-icon {
    font-size: 40px;
    margin-bottom: 14px;
    display: block;
}

.preis-card h5 {
    font-size: 16px;
    font-weight: 800;
    color: #333;
    margin-bottom: 6px;
}

.preis-card p {
    font-size: 14px;
    color: #777;
    margin-bottom: 0;
}


/* ============================================================
   SPONSORS SECTION
   ============================================================ */
.sponsors-section {
    padding: 36px 0;
    background: #f8fafc;
}

.sponsors-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.sponsor-item {
    background: #ffffff;
    border-radius: 16px;
    padding: 18px 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 14px rgba(0,0,0,0.06);
    border: 2px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    min-width: 140px;
    max-width: 200px;
}

.sponsor-item:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 10px 28px rgba(249,115,22,0.14);
    border-color: #fed7aa;
}

.sponsor-item img {
    max-height: 60px;
    max-width: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(30%);
    transition: filter 0.3s ease;
}

.sponsor-item:hover img {
    filter: grayscale(0%);
}


/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #cccccc;
    padding: 60px 0 0;
}

.footer-brand {
    text-align: center;
}
.footer-brand img {
    display: block;
    height: 170px;
    width: auto;
    margin: 0 auto 16px;
}

.footer-brand p {
    font-size: 14px;
    color: #aaa;
    max-width: 280px;
    margin: 0 auto;
    text-align: center;
}

.footer-heading {
    font-family: 'FredokaOne', Arial, sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 3px;
    background: #F97316;
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #aaa;
    font-size: 14px;
    transition: color 0.2s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #F97316;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #aaa;
}

.footer-contact-item i {
    color: #F97316;
    margin-top: 3px;
    width: 16px;
    flex-shrink: 0;
}

.footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: 18px 0;
    margin-top: 50px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 13px;
    color: #888;
}

.footer-bottom a {
    color: #F97316;
}

.footer-bottom a:hover {
    color: #ea580c;
}


/* ============================================================
   ALERTS & INLINE MESSAGES
   ============================================================ */
.alert-inline {
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    margin-top: 10px;
    display: block;
}

.alert-inline.success {
    color: #2e7d32;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.alert-inline.error {
    color: #c62828;
    background: #fff5f5;
    border: 1px solid #fecaca;
}

.alert-inline.info {
    color: #1d4ed8;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}

.alert-inline.warning {
    color: #92400e;
    background: #fffbeb;
    border: 1px solid #fde68a;
}

/* Override Bootstrap alert styles */
.alert {
    border-radius: 10px;
    border: none;
    font-size: 15px;
}

.alert-success {
    background: #f0fdf4;
    color: #2e7d32;
    border-left: 4px solid #22c55e;
}

.alert-danger {
    background: #fff5f5;
    color: #c62828;
    border-left: 4px solid #ef4444;
}

.alert-info {
    background: #eff6ff;
    color: #1d4ed8;
    border-left: 4px solid #2563EB;
}

.alert-warning {
    background: #fffbeb;
    color: #92400e;
    border-left: 4px solid #f59e0b;
}


/* ============================================================
   AUTH PAGES (Login / Register)
   ============================================================ */
.auth-section {
    display: flex;
    flex: 1 0 auto;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    padding-top: 100px;
    background: linear-gradient(135deg, #fff7ed 0%, #fffbf5 50%, #eff6ff 100%);
}

/* Wrapper: fixed max-width so card never jumps at Bootstrap breakpoints */
.auth-card-wrap {
    max-width: 500px;
    margin: 0 auto;
    float: none;
}
/* Register form is slightly wider */
.auth-card-wrap.auth-card-wrap-lg {
    max-width: 640px;
}

.auth-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 12px 48px rgba(0,0,0,0.10);
    overflow: hidden;
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
}

.auth-card-header {
    padding: 36px 36px 28px;
    text-align: center;
}

.auth-card-header.header-orange {
    background: linear-gradient(135deg, #F97316 0%, #ea580c 100%);
}

.auth-card-header.header-blue {
    background: linear-gradient(135deg, #2563EB 0%, #1d4ed8 100%);
}

.auth-card-header .auth-icon {
    font-size: 48px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 12px;
    display: block;
}

.auth-card-header h2 {
    color: #ffffff;
    font-size: 26px;
    font-weight: 900;
    margin: 0 0 4px;
}

.auth-card-header p {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    margin: 0;
}

.auth-card-body {
    padding: 36px;
}

.auth-step {
    display: none;
}

.auth-step.active {
    display: block;
}

.auth-step-title {
    font-size: 17px;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 4px;
}
.auth-step-sub {
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
}
.btn-block {
    display: block;
    width: 100%;
}
.auth-footer-link {
    text-align: center;
    padding: 0 32px 28px;
    font-size: 14px;
    color: #666;
}

.auth-footer-link a {
    color: #F97316;
    font-weight: 700;
}

.auth-footer-link a:hover {
    color: #ea580c;
}

/* Step indicator */
.auth-steps-indicator {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 28px;
}

.step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e5e7eb;
    transition: background 0.3s ease, width 0.3s ease;
}

.step-dot.active {
    background: #F97316;
    width: 28px;
    border-radius: 5px;
}

.step-dot.done {
    background: #22c55e;
}

/* Code input */
.code-input-row {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 10px 0 20px;
}

.code-digit {
    width: 48px;
    height: 56px;
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    font-family: 'FredokaOne', Arial, sans-serif;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.code-digit:focus {
    border-color: #F97316;
    box-shadow: 0 0 0 3px rgba(249,115,22,0.15);
}


/* ============================================================
   FORM CONTROLS
   ============================================================ */
.form-control {
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 15px;
    color: #333;
    height: auto;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
    border-color: #F97316;
    box-shadow: 0 0 0 3px rgba(249,115,22,0.12);
    outline: none;
}

.form-group label {
    font-weight: 700;
    font-size: 14px;
    color: #444;
    margin-bottom: 6px;
    display: block;
}

.form-group label .req {
    color: #F97316;
    margin-left: 2px;
}

select.form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23F97316' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-color: #fff;
    padding-right: 36px;
}

/* Checkbox */
.checkbox-custom {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 10px 0;
}

.checkbox-custom input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #F97316;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-custom label {
    font-size: 14px;
    color: #555;
    cursor: pointer;
    font-weight: 400;
    margin-bottom: 0;
}

.checkbox-custom label a {
    color: #F97316;
    font-weight: 700;
}


/* ============================================================
   KONTO / DASHBOARD
   ============================================================ */
.konto-section {
    padding: 32px 0 50px;
    background: #f8fafc;
    min-height: calc(100vh - 140px);
}

.konto-header {
    background: linear-gradient(135deg, #F97316 0%, #ea580c 100%);
    border-radius: 20px;
    padding: 36px 36px;
    color: #ffffff;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(249,115,22,0.30);
}

.konto-header::before {
    content: '\1F431';
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 80px;
    opacity: 0.15;
    font-style: normal;
}

.konto-header h2 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 900;
    margin: 0 0 6px;
}

.konto-header p {
    color: rgba(255,255,255,0.85);
    margin: 0;
    font-size: 15px;
}

.konto-stats-bar {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.konto-stat {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px 24px;
    flex: 1;
    min-width: 160px;
    box-shadow: 0 2px 14px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    gap: 16px;
    border: 2px solid transparent;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.konto-stat:hover {
    border-color: #fed7aa;
    transform: translateY(-3px);
}

.konto-stat .stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.konto-stat .stat-icon.orange { background: #fff3e8; color: #F97316; }
.konto-stat .stat-icon.blue   { background: #eff6ff; color: #2563EB; }
.konto-stat .stat-icon.green  { background: #f0fdf4; color: #16a34a; }

.konto-stat .stat-num {
    font-family: 'FredokaOne', Arial, sans-serif;
    font-size: 26px;
    font-weight: 900;
    color: #1a1a2e;
    line-height: 1;
    display: block;
}

.konto-stat .stat-label {
    font-size: 13px;
    color: #888;
    display: block;
    margin-top: 2px;
}

.konto-panel {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    overflow: hidden;
    margin-bottom: 28px;
}

.konto-panel-header {
    padding: 20px 28px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.konto-panel-header h3 {
    font-size: 20px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.konto-panel-header h3 i {
    color: #F97316;
}

.konto-panel-body {
    padding: 28px;
}

/* Kind card */
.kind-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 20px;
    border: 2px solid #f0f0f0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.kind-card:hover {
    border-color: #fed7aa;
    box-shadow: 0 6px 20px rgba(249,115,22,0.10);
}

.kind-card .kind-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 14px;
}

.kind-card .kind-avatar.boy  { background: #eff6ff; }
.kind-card .kind-avatar.girl { background: #fdf2f8; }

.kind-card .kind-name {
    font-family: 'FredokaOne', Arial, sans-serif;
    font-size: 17px;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.kind-card .kind-meta {
    font-size: 13px;
    color: #888;
    margin-bottom: 14px;
}

.kind-card .kind-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
    display: block;
}

.kind-card .kind-status.angemeldet {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
    display: inline-flex;
}

.kind-card .kind-status.nicht-angemeldet {
    background: #fff7ed;
    color: #ea580c;
    border: 1px solid #fed7aa;
    display: inline-flex;
}

.kind-card .kind-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 14px;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state .empty-emoji {
    font-size: 72px;
    display: block;
    margin-bottom: 20px;
    animation: bounce 2s ease-in-out infinite;
}

.empty-state h4 {
    font-size: 22px;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.empty-state p {
    color: #888;
    font-size: 15px;
    max-width: 360px;
    margin: 0 auto 24px;
}

/* Profil info */
.profil-info-grid {
    display: flex;
    flex-wrap: wrap;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.profil-info-item {
    flex: 1;
    min-width: 200px;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    border-right: 1px solid #f0f0f0;
}

.profil-info-item:last-child {
    border-right: none;
}

.profil-info-item .info-label {
    font-size: 12px;
    font-weight: 700;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: block;
    margin-bottom: 4px;
}

.profil-info-item .info-value {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}


/* ============================================================
   ANMELDUNG PAGE
   ============================================================ */
.anmeldung-section {
    padding: 32px 0 50px;
    background: #f8fafc;
    min-height: calc(100vh - 140px);
}

.event-info-banner {
    background: linear-gradient(135deg, #2563EB 0%, #1d4ed8 100%);
    border-radius: 20px;
    padding: 32px 36px;
    color: #ffffff;
    margin-bottom: 32px;
    box-shadow: 0 8px 28px rgba(37,99,235,0.25);
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.event-info-banner .event-emoji {
    font-size: 60px;
    flex-shrink: 0;
}

.event-info-banner h3 {
    color: #ffffff;
    font-size: 22px;
    font-weight: 900;
    margin: 0 0 8px;
}

.event-info-banner .event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.event-info-banner .event-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: rgba(255,255,255,0.9);
}

.event-info-banner .event-meta-item i {
    color: #93c5fd;
    font-size: 14px;
}

.no-event-box {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 2px solid #fed7aa;
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
}

.no-event-box .no-event-emoji {
    font-size: 72px;
    display: block;
    margin-bottom: 20px;
}

.no-event-box h3 {
    font-size: 24px;
    font-weight: 800;
    color: #92400e;
    margin-bottom: 10px;
}

.no-event-box p {
    color: #b45309;
    font-size: 15px;
    margin: 0;
}

/* Kind anmeldung row */
.kind-anmeldung-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    flex-wrap: wrap;
    gap: 12px;
    transition: background 0.2s ease;
}

.kind-anmeldung-row:last-child {
    border-bottom: none;
}

.kind-anmeldung-row:hover {
    background: #fafafa;
}

.kind-anmeldung-row .kind-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.kind-anmeldung-row .kind-avatar-sm {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    background: #fff3e8;
}

.kind-anmeldung-row .kind-fullname {
    font-weight: 700;
    font-size: 15px;
    color: #1a1a2e;
    display: block;
}

.kind-anmeldung-row .kind-detail {
    font-size: 13px;
    color: #888;
    display: block;
}


/* ============================================================
   KIND FORM
   ============================================================ */
.kind-form-section {
    padding: 32px 0 50px;
    background: #f8fafc;
    min-height: calc(100vh - 140px);
}

.kind-form-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 8px 36px rgba(0,0,0,0.08);
    overflow: hidden;
    max-width: 680px;
    margin: 0 auto;
}

.kind-form-header {
    background: linear-gradient(135deg, #F97316 0%, #ea580c 100%);
    padding: 32px 36px;
    text-align: center;
    color: #ffffff;
}

.kind-form-header h2 {
    color: #ffffff;
    font-size: 26px;
    font-weight: 900;
    margin: 0 0 6px;
}

.kind-form-header p {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    margin: 0;
}

.kind-form-header .form-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 12px;
}

.kind-form-body {
    padding: 36px;
}

/* Radio group for gender */
.gender-radio-group {
    display: flex;
    gap: 12px;
}

.gender-option {
    flex: 1;
    position: relative;
}

.gender-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.gender-option label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
    color: #555;
    transition: all 0.2s ease;
    margin: 0;
    width: 100%;
}

.gender-option input[type="radio"]:checked + label {
    border-color: #F97316;
    background: #fff7ed;
    color: #F97316;
}

.gender-option label:hover {
    border-color: #F97316;
    color: #F97316;
}


/* ============================================================
   PAGE SECTIONS GENERIC
   ============================================================ */
.page-section {
    padding: 32px 0;
}

.page-section-sm {
    padding: 50px 0;
}


/* ============================================================
   LOADING SPINNER
   ============================================================ */
.spinner-inline {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 3px solid rgba(249,115,22,0.3);
    border-top-color: #F97316;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
    .section-title h2  { font-size: 30px; }
    .konto-header h2   { font-size: 22px; }
    .konto-panel-body  { padding: 20px; }
    .auth-card-body    { padding: 28px; }
    .kind-form-body    { padding: 28px; }
}

@media (max-width: 767px) {
    .section-title h2  { font-size: 26px; }
    .page-section      { padding: 20px 0; }
    .konto-header      { padding: 24px; }
    .konto-stats-bar   { flex-direction: column; }
    .konto-stat        { min-width: auto; }
    .event-info-banner { padding: 24px 20px; }
    .profil-info-item  { min-width: 100%; border-right: none; }
    .code-digit        { width: 40px; height: 48px; font-size: 18px; }
    .sponsors-grid     { gap: 12px; }
    .sponsor-item      { min-width: 110px; padding: 12px 16px; }
    .sponsor-item img  { max-height: 44px; }
    .kind-form-header  { padding: 24px 20px; }
    .kind-form-body    { padding: 20px; }
    .gender-radio-group { flex-direction: column; }
    .strecken-table    { font-size: 13px; }
    .strecken-table thead th,
    .strecken-table tbody td { padding: 10px 10px; }
}

/* ============================================================
   WOW.JS hidden until animated
   ============================================================ */
.wow {
    visibility: hidden;
}


/* ============================================================
   RESPONSIVE — Mobile First Additions
   ============================================================ */

/* All sections: consistent py class instead of inline padding */
.section-py   { padding-top: 40px; padding-bottom: 40px; }
.section-py-sm { padding-top: 24px; padding-bottom: 24px; }

/* Navbar logo responsive */
@media (max-width: 767px) {
    .navbar-custom .navbar-brand img { height: 72px; }
    .navbar-custom { min-height: 84px; }
    /* spacer set via JS or inline */
}

/* Hero responsive */
@media (max-width: 991px) {
    .hero-image-area { margin-top: 30px; }
    .hero-logo-img { max-width: 260px; }
}
@media (max-width: 575px) {
    .hero-logo-img { max-width: 200px; }
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-buttons .btn { width: 100%; margin-bottom: 10px; display: block; }
    .countdown-container { gap: 8px; }
    .countdown-box { min-width: 60px; padding: 8px; }
}

/* Cards responsive */
@media (max-width: 575px) {
    .info-card, .kind-card, .anmeldung-kind-card { margin-bottom: 16px; }
    .kind-card-actions .btn { width: 100%; margin-bottom: 6px; }
}

/* Tables responsive */
@media (max-width: 575px) {
    .table-responsive-custom { font-size: 13px; }
    .table-responsive-custom td, .table-responsive-custom th { padding: 6px 8px; }
}

/* Auth cards responsive */
@media (max-width: 991px) {
    .auth-section { padding: 130px 0 50px; }
    body.page-auth .navbar-spacer { height: 70px; }
}
@media (max-width: 575px) {
    .auth-section { padding: 130px 0 30px; }
    .auth-card { border-radius: 16px; }
    .auth-card-header { padding: 24px 20px 18px; }
    .auth-card-body { padding: 20px; }
    .auth-footer-link { padding: 14px 20px; }
    .code-input-row { gap: 6px; }
    .code-digit { width: 40px; height: 48px; font-size: 18px; border-radius: 8px; }
}

/* Konto dashboard responsive */
@media (max-width: 575px) {
    .konto-stats-bar { flex-direction: column; gap: 10px; }
    .konto-stat-item { min-width: unset; width: 100%; }
    .profile-grid { grid-template-columns: 1fr; }
}

/* Section title responsive */
@media (max-width: 575px) {
    .section-title h2 { font-size: 1.6rem; }
    .section-title .subtitle-badge { font-size: 11px; padding: 3px 12px; }
}

/* Sponsors grid responsive */
@media (max-width: 575px) {
    .sponsor-logo-wrap { width: 50%; }
}

/* Footer responsive */
@media (max-width: 991px) {
    .footer-main-row {
        display: flex;
        flex-wrap: nowrap;
        align-items: flex-start;
    }
    .footer-brand-col {
        width: 40%;
        flex-shrink: 0;
    }
    .footer-links-col {
        width: 60%;
        flex-shrink: 0;
    }
    .footer-links-col .footer-col {
        margin-bottom: 20px;
    }
}

@media (max-width: 575px) {
    .footer-main-row {
        flex-wrap: wrap;
    }
    .footer-brand-col,
    .footer-links-col {
        width: 100%;
    }
    .footer-col { margin-bottom: 24px; text-align: center; }
    .footer-heading::after { left: 50%; transform: translateX(-50%); }
    .footer-contact-item { justify-content: center; }
}

@media (max-width: 767px) {
    .footer-bottom { text-align: center; }
}

/* Fix Bootstrap col gutters on very small screens */
@media (max-width: 359px) {
    .container { padding-left: 12px; padding-right: 12px; }
    .row { margin-left: -8px; margin-right: -8px; }
    [class*="col-"] { padding-left: 8px; padding-right: 8px; }
}

/* ============================================================
   NAV DROPDOWN MENU (Konto)
   ============================================================ */
.nav-user-menu {
    min-width: 200px;
    border-radius: 10px;
    border: 1px solid #ffe8d6;
    box-shadow: 0 8px 28px rgba(249,115,22,0.15);
    padding: 6px 0;
    top: calc(100% + 4px);
}
.nav-user-menu .dropdown-header {
    font-family: 'FredokaOne', Arial, sans-serif;
    color: #F97316;
    font-size: 14px;
    padding: 8px 16px;
}
.nav-user-menu li a {
    padding: 9px 18px;
    font-size: 14px;
    color: #333 !important;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.15s;
}
.nav-user-menu li a i {
    width: 16px;
    color: #F97316;
    text-align: center;
}
.nav-user-menu li a:hover {
    background: #fff7ed !important;
    color: #F97316 !important;
}
.nav-user-menu .divider {
    margin: 4px 0;
    background: #ffe8d6;
}

/* ============================================================
   STICKY SPONSOR TICKER
   ============================================================ */
.sponsor-ticker {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: #ffffff;
    border-top: 2px solid #F97316;
    box-shadow: 0 -3px 16px rgba(249,115,22,0.12);
    z-index: 1040;
    transition: none;
    display: flex;
    align-items: center;
    overflow: hidden;
    transition: box-shadow 0.3s;
}
/* When docked into footer: ticker is inside <footer> as first child,
   so position:relative places it naturally at the top of the footer */
.sponsor-ticker.ticker-docked {
    position: relative;
    box-shadow: none;
    border-top: none;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}
.ticker-viewport {
    flex: 1;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
}
.ticker-track {
    display: flex;
    align-items: center;
    /* Animation applied by JS after images load */
    will-change: transform;
    white-space: nowrap;
}
.ticker-track.is-running {
    animation: ticker-scroll var(--ticker-duration, 30s) linear infinite;
}
.ticker-item {
    flex-shrink: 0;
    width: 160px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.ticker-item img {
    height: 34px;
    width: 120px;
    object-fit: contain;
    object-position: center;
    pointer-events: none;
    filter: grayscale(15%);
    opacity: 0.88;
    transition: opacity 0.2s, filter 0.2s;
    display: block;
}
@keyframes ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(var(--ticker-move, -1280px)); }
}
@media (max-width: 767px) {
    .sponsor-ticker { height: 46px; }
    .ticker-item img { height: 24px; }
    .ticker-item { padding: 0 14px; }
}



/* ============================================================
   NAVBAR SPACER
   ============================================================ */
.navbar-spacer {
    height: 0; /* transparent navbar on homepage — hero fills behind it */
}
/* Auth pages: navbar always scrolled, spacer provides clearance */
body.page-auth .navbar-spacer {
    height: 72px;
}
@media (max-width: 767px) {
    body.page-auth .navbar-spacer { height: 85px; }
}

/* ============================================================
   PAGE LAYOUT — footer always at bottom
   ============================================================ */
.main-content {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

#site-footer {
    flex-shrink: 0;
}
