/**
 * Stocherkahn.de - Stylesheet
 * MVP Version - Premium Tourist Design
 */

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

:root {
    --primary: #2b6cb0;
    --primary-dark: #1a365d;
    --secondary: #48bb78;
    --accent: #ed8936;
    --text: #1a202c;
    --text-light: #4a5568;
    --text-muted: #718096;
    --bg: #f7fafc;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 0.75rem;
    --radius-lg: 1rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: -0.025em;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a.active {
    color: var(--primary-dark);
}

.nav-admin {
    background: var(--primary);
    color: var(--white) !important;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.9rem;
}

.nav-admin:hover {
    background: var(--primary-dark) !important;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding-left: 0.25rem;
}

.language-switcher a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.9rem;
    min-height: 1.9rem;
    padding: 0.2rem 0.35rem;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.language-switcher a.active {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 2.5rem;
    height: 2.5rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 5px;
}

.hamburger-line {
    display: block;
    width: 1.5rem;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 4rem;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 54, 93, 0.85) 0%,
        rgba(26, 54, 93, 0.6) 50%,
        rgba(26, 54, 93, 0.4) 100%
    );
}

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

.hero-content {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 4rem;
    align-items: center;
    min-height: calc(100vh - 8rem);
    padding: 2rem 0;
}

.hero-text {
    color: var(--white);
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 500px;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
}

.feature-icon {
    width: 1.5rem;
    height: 1.5rem;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* Booking Widget */
.booking-widget {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
}

.booking-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.booking-header h2 {
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.booking-capacity {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-step {
    animation: fadeIn 0.3s ease;
}

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

.form-step label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-size: 0.95rem;
}

.form-step input,
.form-step select,
.form-step textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.2s;
    background: var(--white);
}

.form-step input:focus,
.form-step select:focus,
.form-step textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.1);
}

.guest-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.contact-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: -0.5rem 0 0.5rem;
}

.optional {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Time Slots */
.time-slots {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.time-slots .hint {
    grid-column: 1 / -1;
    color: var(--text-muted);
    font-style: italic;
    text-align: center;
    padding: 1rem;
}

.time-slot-btn {
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    background: var(--white);
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.2s;
    text-align: center;
}

.time-slot-btn:hover {
    border-color: var(--primary);
    background: #ebf8ff;
}

.time-slot-btn.selected {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.time-slot-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Extras */
.extras-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.extra-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
}

.extra-item:hover {
    border-color: var(--primary);
    background: #ebf8ff;
}

.extra-item input {
    display: none;
}

.extra-check {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #cbd5e0;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
    transition: all 0.2s;
}

.extra-item input:checked + .extra-check {
    background: var(--primary);
    border-color: var(--primary);
}

.extra-item input:checked + .extra-check::after {
    content: '✓';
    color: var(--white);
}

.extra-text {
    font-size: 0.95rem;
}

.extra-item input:checked ~ .extra-text {
    color: var(--primary);
    font-weight: 500;
}

/* Payment Info */
.payment-info {
    background: #f0fff4;
    border: 2px solid #9ae6b4;
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
    margin-top: 0.5rem;
}

.payment-info p:first-child {
    color: #22543d;
    font-size: 1.1rem;
}

.payment-info p:last-child {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* Form Navigation */
.form-navigation {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.btn-primary,
.btn-secondary {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(43, 108, 176, 0.4);
}

.btn-secondary {
    background: #e2e8f0;
    color: var(--text);
}

.btn-secondary:hover {
    background: #cbd5e0;
}

/* Form Progress */
.form-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    margin-top: 1.5rem;
}

.progress-step {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: #e2e8f0;
    transition: all 0.3s;
}

.progress-step.active {
    background: var(--primary);
    transform: scale(1.2);
}

.progress-step.completed {
    background: var(--secondary);
}

.progress-line {
    width: 1.5rem;
    height: 2px;
    background: #e2e8f0;
}

/* Messages */
.success-message {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    width: 4rem;
    height: 4rem;
    background: var(--secondary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
}

.success-message h3 {
    color: var(--text);
    margin-bottom: 0.75rem;
}

.success-message p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.error-box {
    background: #fed7d7;
    border: 1px solid #fc8181;
    border-radius: 0.5rem;
    padding: 1rem;
    color: #c53030;
    text-align: center;
}

.error-message {
    color: #c53030;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Sections */
.how-it-works,
.extras-section,
.trust-section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.25rem;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2rem;
    height: 2rem;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}

.step h3 {
    font-size: 1.25rem;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.step p {
    color: var(--text-light);
}

/* Extras Grid */
.extras-section {
    background: var(--white);
}

.extras-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.extra-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.extra-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: #e2e8f0;
}

.extra-card .extra-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.extra-card h3 {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.extra-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Trust Section */
.trust-section {
    background: var(--bg);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.trust-item {
    text-align: center;
    padding: 1.5rem;
}

.trust-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.trust-item h3 {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.trust-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background: var(--text);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content-grid {
    display: grid;
    grid-template-columns: minmax(220px, 1.35fr) repeat(4, minmax(130px, 1fr));
    align-items: start;
    gap: 2rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link-group {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.footer-link-group h4 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    color: var(--white);
}

.footer-link-group a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-link-group small {
    display: block;
    max-width: 14rem;
    color: rgba(255, 255, 255, 0.52);
    line-height: 1.4;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-links .btn-footer {
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.2s;
}

.footer-links .btn-footer:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.footer-bottom {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .booking-widget {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        flex-wrap: nowrap;
        height: 4rem;
        padding: 0 1rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 4rem;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 99;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links a {
        padding: 1rem;
        border-bottom: 1px solid #e2e8f0;
        text-align: center;
        font-size: 1rem;
    }
    
    .nav-links a:last-child {
        border-bottom: none;
    }

    .language-switcher {
        justify-content: center;
        padding: 1rem 0 0;
    }

    .language-switcher a {
        border-bottom: 1px solid #e2e8f0;
        padding: 0.4rem 0.55rem;
    }
    
    .nav-admin {
        margin-top: 0.5rem;
    }
    
    .hero {
        padding-top: 7rem;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .extras-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-content-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-link-group {
        align-items: center;
    }
    
    .booking-widget {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.75rem;
    }
    
    .extras-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
    }
    
    .time-slots {
        grid-template-columns: 1fr;
    }
    
    .duration-slots {
        grid-template-columns: 1fr;
    }
    
    .form-navigation {
        flex-direction: column;
    }
}

/* Duration Slots */
.duration-slots {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.duration-slot-btn {
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    background: var(--white);
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.2s;
    text-align: center;
}

.duration-slot-btn:hover {
    border-color: var(--primary);
    background: #ebf8ff;
}

.duration-slot-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.duration-label {
    font-weight: 600;
    font-size: 0.95rem;
}

.duration-price {
    font-size: 0.8rem;
    opacity: 0.75;
}

.duration-slot-btn.selected .duration-price {
    opacity: 1;
}

.hourly-rate-hint {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-align: center;
    padding: 0.5rem;
    background: #ebf8ff;
    border-radius: 0.375rem;
}

.duration-slot-btn.selected {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* Price Box */
.price-box {
    background: #ebf8ff;
    border: 2px solid var(--primary);
    border-radius: 0.5rem;
    padding: 1.25rem;
    margin-top: 1rem;
    text-align: center;
}

.price-box-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.price-box-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.price-box-amount {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.price-box-tax {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.price-box-payment {
    font-size: 0.85rem;
    color: #22543d;
    font-weight: 500;
}

.price-box-placeholder {
    background: #f7fafc;
    border: 2px dashed #e2e8f0;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 1rem;
    text-align: center;
}

.price-box-placeholder p {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Booking Summary */
.booking-summary {
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.summary-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
    text-align: center;
}

.summary-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

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

.summary-label {
    font-weight: 500;
    color: var(--text-light);
    font-size: 0.95rem;
}

.summary-value {
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
}

.summary-row-price {
    background: #ebf8ff;
    border-radius: 0.375rem;
    padding: 0.75rem;
    margin-top: 0.25rem;
    border-bottom: none;
}

.summary-price {
    font-size: 1.15rem;
    color: var(--primary-dark);
    font-weight: 700;
}

.summary-notes {
    background: #f0fff4;
    border: 1px solid #9ae6b4;
    border-radius: 0.375rem;
    padding: 0.75rem;
    text-align: center;
}

.summary-notes p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.summary-notes p:last-child {
    color: #22543d;
    font-weight: 500;
    margin-bottom: 0;
}

/* Submit Hint */
.submit-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.75rem;
    line-height: 1.4;
}

/* No availability message */
.no-availability {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    background: #fff5f5;
    border: 1px solid #feb2b2;
    border-radius: 0.5rem;
    margin: 1rem 0;
}

.no-availability p {
    color: #c53030;
    margin-bottom: 0.5rem;
}

/* Loading state */
.loading {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    border: 3px solid rgba(43, 108, 176, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s ease-in-out infinite;
}

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

/* Content pages */
.content-page {
    background: var(--white);
}

.content-page main {
    padding-top: 4rem;
}

.page-hero {
    min-height: 70vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.compact-hero {
    min-height: 58vh;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    padding: 4rem 1.5rem;
    max-width: 820px;
    margin: 0 auto;
}

.page-hero-content h1,
.plain-page-heading h1 {
    font-size: clamp(2.25rem, 6vw, 4rem);
    line-height: 1.05;
    margin-bottom: 1rem;
}

.page-hero-content p {
    font-size: 1.15rem;
    max-width: 680px;
}

.page-kicker,
.section-kicker {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    font-weight: 700;
}

.page-kicker {
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 0.75rem;
}

.section-kicker {
    color: var(--primary);
    margin-bottom: 0.6rem;
}

.page-actions,
.content-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    margin-top: 1.5rem;
}

.btn-primary-inline,
.btn-secondary-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-primary-inline {
    background: var(--primary);
    color: var(--white);
}

.btn-primary-inline:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-secondary-inline {
    background: rgba(255, 255, 255, 0.18);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-secondary-inline:hover {
    background: rgba(255, 255, 255, 0.28);
}

.intro-band {
    padding: 3rem 0;
    background: var(--bg);
}

.live-info-section,
.driver-showcase-section {
    padding: 4rem 0;
    background: var(--bg);
}

.live-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.live-info-card,
.driver-profile-card {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
}

.live-info-card.featured {
    grid-column: span 3;
    background: linear-gradient(135deg, #0f2f4f, #2b6cb0);
    color: var(--white);
}

.live-info-card h2,
.driver-profile-card h3 {
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.live-info-card p,
.driver-profile-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.live-info-card.featured p {
    color: rgba(255, 255, 255, 0.78);
}

.btn-secondary-content {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    padding: 0.65rem 0.9rem;
    border: 1px solid #cbd5e0;
    border-radius: 0.5rem;
    color: var(--primary-dark);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-secondary-content:hover {
    border-color: var(--primary);
    transform: translateY(-1px);
}

.driver-profile-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.driver-avatar-placeholder {
    display: grid;
    place-items: center;
    width: 4rem;
    height: 4rem;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: #ebf8ff;
    color: var(--primary-dark);
    font-size: 1.4rem;
    font-weight: 800;
}

.driver-service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.75rem;
}

.driver-service-list span {
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    background: #edf2f7;
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 700;
}

.section-index {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.section-index-card {
    display: flex;
    flex-direction: column;
    min-height: 8rem;
    padding: 1.25rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    background: var(--white);
    color: var(--text);
    text-decoration: none;
    transition: all 0.2s;
}

.section-index-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: #bee3f8;
}

.section-index-card span {
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.section-index-card small {
    color: var(--text-muted);
    line-height: 1.45;
}

.legacy-section {
    padding: 4rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.legacy-section:nth-of-type(even) {
    background: #fbfdff;
}

.legacy-section-inner {
    max-width: 900px;
}

.legacy-section h2,
.intro-band h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 1.25rem;
}

.legacy-article {
    color: var(--text-light);
    font-size: 1rem;
}

.legacy-article p,
.legacy-article ul,
.legacy-article ol {
    margin-bottom: 1rem;
}

.legacy-article ul,
.legacy-article ol {
    padding-left: 1.25rem;
}

.legacy-article a {
    color: var(--primary);
    font-weight: 600;
}

.legacy-article strong {
    color: var(--text);
}

.legacy-article img {
    display: block;
    width: min(100%, 520px);
    height: auto;
    max-height: 520px;
    object-fit: cover;
    margin: 1rem auto 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
}

.legacy-article table {
    display: block;
    width: 100%;
    overflow-x: auto;
    margin: 1.5rem 0;
    border-collapse: collapse;
}

.legacy-article td,
.legacy-article th {
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    vertical-align: top;
}

.content-actions {
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.content-actions span {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.plain-page-heading {
    padding: 7rem 0 2rem;
    background: var(--primary-dark);
    color: var(--white);
}

.two-column-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    gap: 2rem;
    align-items: center;
}

.two-column-layout p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.map-panel {
    overflow: hidden;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow);
    background: var(--white);
}

.map-panel iframe {
    display: block;
    width: 100%;
    min-height: 360px;
    border: 0;
}

@media (max-width: 1024px) {
    .section-index {
        grid-template-columns: repeat(2, 1fr);
    }

    .live-info-grid,
    .driver-profile-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .live-info-card.featured {
        grid-column: span 2;
    }

    .two-column-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-hero,
    .compact-hero {
        min-height: 62vh;
    }

    .page-hero-content {
        padding: 3rem 1rem;
    }

    .section-index {
        grid-template-columns: 1fr;
    }

    .live-info-grid,
    .driver-profile-grid {
        grid-template-columns: 1fr;
    }

    .live-info-card.featured {
        grid-column: span 1;
    }

    .legacy-section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .page-actions,
    .content-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .btn-primary-inline,
    .btn-secondary-inline {
        width: 100%;
    }
}
