:root {
    --primary: #1a1a1a;
    /* Corporate Black/Dark Grey */
    --primary-light: #4a4a4a;
    --accent: #d4a017;
    /* Premium Gold/Bronze for Fixpreis/Quality */
    --accent-hover: #b8860b;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --bg-body: #f9f9f9;
    --card-bg: #ffffff;
    --border-radius: 4px;
    /* Sharper, more elegant corners */
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --transition: all 0.2s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(240, 245, 250, 0.95) 100%),
        url('https://www.doctoreyepoint.ch/wp-content/uploads/2024/07/nico_01906_A_man_looks_around_an_eyewear_store_and_stands_in_fr_196a33b2-06f4-485c-b569-14ba16452aca_home2-1.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-dark);
    padding: 20px;
    -webkit-font-smoothing: antialiased;
}

.app-container {
    width: 100%;
    max-width: 1080px;
    /* Slightly wider for the premium feel */
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

/* Header & Progress */
.main-header {
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 20px 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 0 10px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.google-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

.rating-stars {
    color: var(--accent);
}

.progress-container {
    background: transparent;
    padding: 0 10px;
    box-shadow: none;
    border-radius: 0;
}

.progress-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.3;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.step.active {
    opacity: 1;
}

.step.completed {
    opacity: 1;
}

.step-num {
    width: 32px;
    height: 32px;
    background: white;
    border: 1px solid var(--primary-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-light);
    transition: var(--transition);
}

.active .step-num {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.completed .step-num {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.step-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
}

.step-divider {
    flex-grow: 1;
    height: 1px;
    background: #e0e0e0;
    margin: 0 20px;
    margin-bottom: 24px;
}

/* Booking Card */
.booking-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 60px;
    box-shadow: var(--shadow);
    min-height: 500px;
    position: relative;
    border: 1px solid #eee;
}

h1 {
    font-size: 32px;
    margin-bottom: 16px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.subtitle {
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 16px;
    line-height: 1.5;
}

.step-content {
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.step-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Service Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.selection-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    padding: 30px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.selection-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.card-icon {
    font-size: 24px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.selection-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary);
    font-weight: 600;
}

.selection-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.card-meta {
    font-size: 11px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Location List */
.selection-card.wide {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding: 24px 30px;
}

.loc-badge {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 6px 12px;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Date & Time */
.calendar-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.mini-calendar {
    background: #fdfdfd;
    border: 1px solid #eee;
    border-radius: var(--border-radius);
    padding: 24px;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 15px;
}

.slot {
    background: white;
    border: 1px solid #ddd;
    padding: 12px;
    border-radius: 2px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    font-size: 14px;
    text-align: center;
}

.slot:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Form */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.input-group.full {
    grid-column: span 2;
}

label {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

input {
    padding: 16px;
    border-radius: 2px;
    border: 1px solid #ddd;
    font-size: 15px;
    transition: var(--transition);
    background: #fdfdfd;
}

input:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
}

.summary-box {
    background: #f9f9f9;
    padding: 24px;
    border-radius: 2px;
    margin-bottom: 30px;
    font-size: 14px;
    border-left: 3px solid var(--accent);
}

/* Buttons */
.btn-primary {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 20px;
    border-radius: 2px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: none;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    transform: none;
    background: #333;
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 14px 24px;
    border-radius: 2px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

.btn-back {
    display: block;
    margin: 30px auto 0;
    background: none;
    border: none;
    color: var(--text-light);
    font-weight: 500;
    text-decoration: underline;
    cursor: pointer;
    font-size: 14px;
}

/* Success State */
#success {
    text-align: center;
    padding: 40px 0;
}

.success-icon {
    font-size: 60px;
    margin-bottom: 24px;
    color: var(--accent);
}

.app-footer {
    text-align: center;
    margin-top: 50px;
    font-size: 12px;
    color: var(--text-light);
    opacity: 0.6;
}

.app-footer a {
    color: var(--text-dark);
    text-decoration: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {

    .service-grid,
    .form-grid,
    .calendar-wrapper {
        grid-template-columns: 1fr;
    }

    .input-group.full {
        grid-column: span 1;
    }

    .booking-card {
        padding: 30px 20px;
        min-height: auto;
    }

    .progress-bar {
        display: none;
    }

    /* Simple step indicator for mobile */
    .progress-container::after {
        content: "Schritt " attr(data-current-step) " von 4";
        display: block;
        text-align: center;
        font-weight: 600;
        font-size: 14px;
    }
}