:root {
    --green: #99cc33;
    --green-dark: #669b00;
    --text: #1d1d1f;
    --muted: #5f6368;
    --bg: #ffffff;
    --bg-alt: #f5f7f2;
    --radius: 12px;
    --max: 1100px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

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

h1, h2, h3 { line-height: 1.2; margin: 0 0 .75rem; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

a { color: var(--green-dark); }
a:hover { color: var(--text); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 10;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #eee;
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px;
}
.logo img { width: 12rem; }
.site-header ul { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; margin: 0; padding: 0; }
.site-header nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; }
.site-header nav a:hover { color: var(--green-dark); }

/* Layout */
.section { padding: 80px 0; }
.alt { background: var(--bg-alt); }
.section-title { text-align: center; margin-bottom: 3rem; }

.split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 860px) {
    .split { grid-template-columns: 1fr 1fr; }
}

.lead { font-size: 1.2rem; color: var(--muted); max-width: 34rem; }

.btn {
    display: inline-block;
    padding: .8rem 1.6rem;
    border-radius: 999px;
    background: var(--green);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s;
}
.btn:hover { background: var(--green-dark); color: #fff; }

/* Hero */
.hero { padding: 60px 0 40px; }
.badges { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.badges img { height: 50px; width: auto; }
.hero-phone { justify-self: center; max-height: 560px; width: auto; }

/* Steps */
.steps {
    list-style: none; margin: 0; padding: 0;
    display: grid; gap: 3rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    text-align: center;
}
.steps p { color: var(--muted); }
.steps img { margin: 1.5rem auto 0; max-height: 480px; width: auto; }

/* Ratings */
.phone { justify-self: center; max-height: 560px; width: auto; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 2rem; margin-bottom: .6rem; }
.checks li::before {
    content: ""; position: absolute; left: 0; top: .3em;
    width: 1.1rem; height: .6rem;
    border-left: 3px solid var(--green); border-bottom: 3px solid var(--green);
    transform: rotate(-45deg);
}

/* Drivers, about, region */
.shuttle { justify-self: center; width: 20rem; transform: rotate(-12deg); }
.app-icon, .earth { justify-self: center; width: 14rem; }
.supported { margin-top: 2rem; }
.sponsor { width: 20rem; }

/* Contact */
.contact {
    padding: 100px 0;
    background: linear-gradient(rgba(0, 0, 0, .45), rgba(0, 0, 0, .45)), url("../assets/images/south-tyrol.jpg") center / cover;
}
.contact-card {
    max-width: 36rem; margin: 0 auto; padding: 2.5rem;
    background: #fff; border-radius: var(--radius); text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .2);
}
.contact-card p { color: var(--muted); }
.mail-link { word-break: break-all; }

/* Footer */
.site-footer { padding: 40px 0; text-align: center; color: var(--muted); font-size: .95rem; }
.social { display: flex; justify-content: center; gap: 1.5rem; }
.social a { color: var(--green-dark); }

/* Mobile */
@media (max-width: 859px) {
    .section { padding: 56px 0; }
    .hero, .split > div { text-align: center; }
    .lead { margin-left: auto; margin-right: auto; }
    .badges { justify-content: center; }
    .checks { display: inline-block; text-align: left; }
    .header-inner { justify-content: center; }
    .phone, .hero-phone { max-height: 440px; }
    #drivers .split > img, .alt .split > img { order: -1; }
}

/* Privacy page */
.privacy { max-width: 760px; padding-top: 40px; padding-bottom: 60px; }
.privacy h1 { font-size: 2rem; }
.privacy h2 { font-size: 1.4rem; margin-top: 2rem; }
.privacy h3 { font-size: 1.15rem; margin-top: 1.5rem; }
.privacy h4 { font-size: 1rem; margin: 1.25rem 0 .5rem; }
.back { display: inline-block; margin-bottom: 1.5rem; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn { transition: none; }
}

/* Sign-up and confirmation forms */
.form-page { max-width: 760px; padding-top: 40px; padding-bottom: 80px; }
.form-page h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.card-form {
    margin-top: 2rem; padding: 2rem;
    background: #fff; border: 1px solid #e6e6e6; border-radius: var(--radius);
}
.card-form h3 { margin-top: 2rem; font-size: 1.1rem; }
.card-form h3:first-child { margin-top: 0; }
.field { margin: 0 0 1.1rem; border: 0; padding: 0; min-width: 0; }
.field > label, .field legend { display: block; font-weight: 600; margin-bottom: .35rem; font-size: .95rem; }
.field input:not([type="checkbox"]), .field select, .field textarea {
    width: 100%; padding: .65rem .75rem; font: inherit; color: inherit;
    border: 1px solid #cfd4cc; border-radius: 8px; background: #fff;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green-dark); }
.check { display: flex; gap: .55rem; align-items: flex-start; font-weight: 400; margin: .35rem 0; }
.check input { margin-top: .3rem; accent-color: var(--green-dark); width: 1.05rem; height: 1.05rem; flex: none; }
.consent { margin: 1.5rem 0; font-size: .95rem; }
.grid2 { display: grid; gap: 0 1rem; }
@media (min-width: 600px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.invalid > label, .invalid legend, .consent.invalid { color: #c62828; }
.invalid input:not([type="checkbox"]), .invalid select, .invalid textarea { border-color: #c62828; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.choice { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }
.btn { border: 0; font: inherit; font-weight: 700; cursor: pointer; }
.btn:disabled { opacity: .6; cursor: progress; }
.btn-secondary { background: #e8ecef; color: var(--text); }
.btn-secondary:hover { background: #d6dbe0; color: var(--text); }
.status { margin-top: 1rem; min-height: 1.5em; color: var(--muted); }
.status.error { color: #c62828; }
#step-ask .choice .btn { min-width: 8rem; text-align: center; }
