/* ==========================================================================
   Fonts — Self-hosted Roboto + Chivo (matching holzer-gruppe.com)
   ========================================================================== */

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('/assets/fonts/roboto-v29-latin-regular.woff2') format('woff2'),
         url('/assets/fonts/roboto-v29-latin-regular.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 400;
    src: url('/assets/fonts/roboto-v29-latin-italic.woff2') format('woff2'),
         url('/assets/fonts/roboto-v29-latin-italic.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('/assets/fonts/roboto-v29-latin-700.woff2') format('woff2'),
         url('/assets/fonts/roboto-v29-latin-700.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Chivo';
    font-style: normal;
    font-weight: 400;
    src: url('/assets/fonts/chivo-v16-latin-regular.woff2') format('woff2'),
         url('/assets/fonts/chivo-v16-latin-regular.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Chivo';
    font-style: italic;
    font-weight: 400;
    src: url('/assets/fonts/chivo-v16-latin-italic.woff2') format('woff2'),
         url('/assets/fonts/chivo-v16-latin-italic.woff') format('woff');
    font-display: swap;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

html {
    font-size: 62.5%; /* 1rem = 10px */
}

body {
    font-family: Roboto, Chivo, calibri, "Lucida Grande", "Trebuchet MS", Tahoma, Helvetica, Arial, sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    color: #333;
    background: #fff;
}

a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #eb0601;
}

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

ul {
    list-style: none;
}

/* ==========================================================================
   Header — matching holzer-gruppe.com
   ========================================================================== */

.site-header {
    background: #fff;
    border-bottom: 7px solid #cd1315;
    position: relative;
    z-index: 100;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: block;
    flex-shrink: 0;
}

.logo {
    height: 5rem;
    width: auto;
}

.main-nav ul {
    display: flex;
    gap: 3rem;
}

.main-nav a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.5rem 0;
}

.main-nav a:hover,
.main-nav a.active {
    color: #eb0601;
}

/* Hamburger (mobile) */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 2.5rem;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   Footer — matching holzer-gruppe.com
   ========================================================================== */

.site-footer {
    background: #f5f5f5;
    border-top: 1px solid #ddd;
    padding: 4rem 2rem 2rem;
    margin-top: 6rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.footer-col h4 {
    font-size: 1.5rem;
    color: #1b212d;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-col a {
    font-size: 1.4rem;
    color: #666;
}

.footer-col a:hover {
    color: #eb0601;
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid #ddd;
    text-align: center;
}

.footer-bottom p {
    font-size: 1.3rem;
    color: #333;
}

/* ==========================================================================
   Landing Page
   ========================================================================== */

.landing-hero {
    text-align: center;
    padding: 5rem 2rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.landing-hero h1 {
    font-size: 3.2rem;
    color: #455373;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.landing-hero .intro-text {
    font-size: 1.7rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 4rem;
    line-height: 1.7;
}

/* 4-step process */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto 4rem;
    padding: 0 2rem;
}

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

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 50%;
    background: #cd1315;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.step-icon {
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 0 auto 1.5rem;
    object-fit: contain;
}

.step h3 {
    font-size: 1.5rem;
    color: #455373;
    font-weight: 700;
    line-height: 1.4;
}

/* Arrow connector between steps */
.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 7rem;
    right: -1.8rem;
    width: 3rem;
    height: 2px;
    background: #cd1315;
}

/* CTA section */
.cta-section {
    text-align: center;
    padding: 2rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.btn-cta {
    display: inline-block;
    padding: 1.5rem 4rem;
    background: #cd1315;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
}

.btn-cta:hover {
    background: #eb0601;
    color: #fff;
}

.hero-image {
    display: block;
    width: 100%;
    max-width: 700px;
    margin: 3rem auto 0;
}

/* ==========================================================================
   Form Page
   ========================================================================== */

.form-page {
    max-width: 960px;
    margin: 0 auto;
    padding: 4rem 2rem 6rem;
}

.form-page h1 {
    font-size: 2.8rem;
    color: #455373;
    margin-bottom: 3rem;
    text-align: center;
}

/* Alert */
.form-alert {
    padding: 1.6rem 2rem;
    border-radius: 4px;
    margin-bottom: 3rem;
    font-size: 1.5rem;
}

.form-alert--error {
    background: #fff0f0;
    border: 1px solid #f5a0a0;
    color: #8b0000;
}

.form-alert ul {
    margin-top: 0.8rem;
    padding-left: 2rem;
    list-style: disc;
}

.form-alert li {
    margin-bottom: 0.4rem;
}

/* Fieldset / Section */
.form-section {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 2.4rem 2.8rem;
    margin-bottom: 3rem;
}

.form-section__legend {
    font-size: 1.8rem;
    font-weight: 700;
    color: #455373;
    padding: 0 1rem;
    letter-spacing: 0.02em;
}

/* Field rows and groups */
.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.field-group--full {
    grid-column: 1 / -1;
}

.field-label {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
}

.field-hint {
    font-weight: 400;
    color: #888;
    font-size: 1.3rem;
}

.required {
    color: #cd1315;
}

.field-input {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1.5rem;
    font-family: inherit;
    color: #333;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.field-input:focus {
    outline: none;
    border-color: #455373;
    box-shadow: 0 0 0 3px rgba(69, 83, 115, 0.12);
}

.field-input--error {
    border-color: #cd1315;
}

.field-textarea {
    resize: vertical;
    min-height: 12rem;
}

/* Delivery conditions */
.delivery-conditions {
    background: #f8f8f8;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    padding: 2rem 2.4rem;
    margin-bottom: 2rem;
}

.delivery-conditions__intro {
    font-size: 1.4rem;
    color: #555;
    margin-bottom: 1.2rem;
}

.delivery-conditions__list {
    list-style: disc;
    padding-left: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.delivery-conditions__list li {
    font-size: 1.4rem;
    color: #555;
    line-height: 1.5;
}

/* Checkboxes */
.field-checkbox-row {
    margin-bottom: 1.2rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    cursor: pointer;
    line-height: 1.4;
}

.checkbox-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-custom {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border: 2px solid #bbb;
    border-radius: 3px;
    background: #fff;
    margin-top: 0.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s, background 0.2s;
}

.checkbox-custom::after {
    content: '';
    display: none;
    width: 0.5rem;
    height: 1rem;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translate(-1px, -1px);
}

.checkbox-input:checked + .checkbox-custom {
    background: #cd1315;
    border-color: #cd1315;
}

.checkbox-input:checked + .checkbox-custom::after {
    display: block;
}

.checkbox-input:focus + .checkbox-custom {
    box-shadow: 0 0 0 3px rgba(205, 19, 21, 0.2);
}

.checkbox-text {
    font-size: 1.5rem;
    color: #333;
}

/* Service cards */
.service-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.4rem;
    margin-bottom: 1.6rem;
}

.service-card {
    display: block;
    cursor: pointer;
}

.service-radio {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.service-card__inner {
    border: 2px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
    height: 100%;
}

.service-card:hover .service-card__inner {
    border-color: #455373;
}

.service-radio:checked ~ .service-card__inner {
    border-color: #cd1315;
    box-shadow: 0 0 0 3px rgba(205, 19, 21, 0.12);
}

.service-card__header {
    background: #f0f2f6;
    padding: 1.6rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    border-bottom: 1px solid #ddd;
}

.service-radio:checked ~ .service-card__inner .service-card__header {
    background: #cd1315;
    border-bottom-color: #cd1315;
}

.service-card__check {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border: 2px solid #bbb;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s, background 0.2s;
}

.service-card__check::after {
    content: '';
    display: none;
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 50%;
    background: #fff;
}

.service-radio:checked ~ .service-card__inner .service-card__check {
    border-color: #fff;
    background: rgba(255,255,255,0.3);
}

.service-radio:checked ~ .service-card__inner .service-card__check::after {
    display: block;
}

.service-card__title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #455373;
    margin: 0;
}

.service-radio:checked ~ .service-card__inner .service-card__title {
    color: #fff;
}

.service-card__subtitle {
    font-size: 1.3rem;
    color: #666;
    margin-left: auto;
}

.service-radio:checked ~ .service-card__inner .service-card__subtitle {
    color: rgba(255,255,255,0.8);
}

.service-card__body {
    padding: 2rem;
}

.service-card__list {
    list-style: none;
    margin-bottom: 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.service-card__list li {
    font-size: 1.4rem;
    color: #555;
    padding-left: 1.6rem;
    position: relative;
}

.service-card__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #cd1315;
    font-weight: 700;
    font-size: 1.2rem;
}

.service-card__price {
    font-size: 2.2rem;
    font-weight: 700;
    color: #455373;
    margin-bottom: 0.8rem;
}

.service-card__meta {
    font-size: 1.3rem;
    color: #888;
    margin-bottom: 0.4rem;
}

.price-disclaimer {
    font-size: 1.3rem;
    color: #888;
    font-style: italic;
    margin-top: 0.8rem;
}

/* Time slots section */
#section-timeslots {
    transition: opacity 0.2s;
}

.hidden {
    display: none;
}

.timeslot-intro {
    font-size: 1.5rem;
    color: #555;
    margin-bottom: 1.6rem;
}

.timeslot-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Damage section */
.damage-section {
    background: #fffbf0;
    border: 1px solid #f0e0a0;
    border-radius: 4px;
    padding: 2rem 2.4rem;
    margin-bottom: 2rem;
}

.damage-section__label {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.6rem;
}

.damage-section__note {
    font-size: 1.3rem;
    color: #888;
    margin-bottom: 1.4rem;
    font-style: italic;
}

.damage-section .field-checkbox-row {
    margin-bottom: 0.8rem;
}

/* Submit row */
.form-submit {
    display: flex;
    align-items: center;
    gap: 3rem;
    justify-content: flex-end;
    margin-top: 1rem;
}

.required-note {
    font-size: 1.4rem;
    color: #888;
}

.btn-submit {
    font-size: 1.6rem;
    padding: 1.4rem 4rem;
}

.btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.7;
}

.btn-submit:disabled:hover {
    background: #ccc;
}

/* ==========================================================================
   Thank You Page
   ========================================================================== */

.thankyou-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 6rem 2rem;
    text-align: center;
}

.thankyou-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
    background: #cd1315;
    color: #fff;
    font-size: 3.5rem;
    margin-bottom: 2.4rem;
}

.thankyou-page h1 {
    font-size: 3rem;
    color: #455373;
    margin-bottom: 2rem;
}

.thankyou-page > p {
    font-size: 1.7rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.thankyou-slots,
.thankyou-conditions {
    background: #f8f8f8;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    padding: 2.4rem 3rem;
    margin: 3rem auto;
    text-align: left;
    max-width: 600px;
}

.thankyou-slots h2,
.thankyou-conditions h2 {
    font-size: 1.8rem;
    color: #455373;
    margin-bottom: 1.2rem;
}

.thankyou-slots ul,
.thankyou-conditions ul {
    list-style: disc;
    padding-left: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.thankyou-slots li,
.thankyou-conditions li {
    font-size: 1.5rem;
    color: #555;
}

.thankyou-slots__note {
    font-size: 1.4rem;
    color: #888;
    font-style: italic;
}

.thankyou-contact {
    font-size: 1.6rem;
    color: #666;
    margin: 2.4rem 0 3rem;
}

.thankyou-back {
    margin-top: 1rem;
    display: inline-block;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 3px solid #cd1315;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    .main-nav.open {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .step:not(:last-child)::after {
        display: none;
    }

    .landing-hero h1 {
        font-size: 2.4rem;
    }

    .footer-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Form responsive */
    .field-row {
        grid-template-columns: 1fr;
    }

    .field-group--full {
        grid-column: auto;
    }

    .service-cards {
        grid-template-columns: 1fr;
    }

    .form-section {
        padding: 2rem 1.6rem;
    }

    .form-submit {
        flex-direction: column;
        align-items: stretch;
        gap: 1.2rem;
    }

    .btn-submit {
        width: 100%;
        text-align: center;
    }

    .form-page h1 {
        font-size: 2.2rem;
    }

    .service-card__header {
        flex-wrap: wrap;
    }

    .service-card__subtitle {
        margin-left: 0;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .process-steps {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .landing-hero {
        padding: 3rem 1.5rem 2rem;
    }

    .form-page {
        padding: 2.4rem 1.4rem 4rem;
    }

    .delivery-conditions {
        padding: 1.6rem;
    }

    .damage-section {
        padding: 1.6rem;
    }
}
