/* ==========================================================================
   Ski Rent Pedagá – Stylesheet (Nachbau von noleggiosci.com)
   Farben/Abstände sind als Variablen definiert und zentral änderbar.
   ========================================================================== */
:root {
  --c-primary: #1dafed;
  --c-light: #3bcde7;
  --c-dark: #1173b9;
  --c-navy: #0c3f78;
  --c-text: #212529;
  --c-muted: #666;
  --c-grey: #808080;
  --c-bg-soft: #f4f4f4;
  --c-bg-footer: #f5f5f5;
  --c-line: #e5e5e5;
  --c-ok: #2fb34a;
  --container: 1140px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.5; color: var(--c-text); background: #fff; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-dark); text-decoration: underline; }
h1, h2, h3, h4, h5 { margin: 0 0 .5em; font-weight: 500; line-height: 1.2; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.4em; }
iframe { border: 0; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: #fff; padding: .5rem 1rem; z-index: 2000; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--c-primary); outline-offset: 2px; }

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

/* ---------- Top bar ---------- */
.topbar { background: var(--c-bg-footer); border-bottom: 1px solid #f4f4f4; font-size: 14px; font-weight: 600; color: #999; padding: 9px 0; }
.topbar .container { display: flex; justify-content: flex-end; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar .time { font-weight: 400; }
.lang { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.lang a { display: block; line-height: 0; opacity: .6; transition: opacity .2s; }
.lang a:hover, .lang a[aria-current] { opacity: 1; }
.lang img { width: 16px; height: 11px; }

/* ---------- Header ---------- */
.header { background: #fff; position: sticky; top: 0; z-index: 900; box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.header .container { display: flex; align-items: center; justify-content: space-between; min-height: 70px; }
.brand { font-weight: 600; font-size: 20px; color: var(--c-text); letter-spacing: .2px; }
.brand:hover { text-decoration: none; color: var(--c-primary); }
.brand span { color: var(--c-primary); }
.nav-toggle { background: none; border: 0; padding: 10px; cursor: pointer; color: var(--c-primary); line-height: 0; }
.nav-toggle:hover { color: var(--c-dark); }
.nav-toggle svg { width: 26px; height: 26px; }
.main-nav { display: none; }
@media (min-width: 1100px) {
  .main-nav { display: block; }
  .main-nav > ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
  .main-nav li { position: relative; }
  .main-nav a { display: block; padding: 24px 14px; color: var(--c-text); font-weight: 500; text-transform: uppercase; font-size: 14px; letter-spacing: .3px; }
  .main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--c-primary); text-decoration: none; }
  .main-nav .sub { display: none; position: absolute; left: 0; top: 100%; min-width: 220px; background: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.12); list-style: none; margin: 0; padding: 8px 0; }
  .main-nav li:hover > .sub, .main-nav li:focus-within > .sub { display: block; }
  .main-nav .sub a { padding: 9px 20px; text-transform: none; font-weight: 400; font-size: 15px; }
  .nav-toggle { display: none; }
}

/* ---------- Off-canvas ---------- */
.offcanvas { position: fixed; inset: 0 0 0 auto; width: 320px; max-width: 86vw; background: #fff; z-index: 1500; transform: translateX(100%); transition: transform .3s ease; box-shadow: -8px 0 30px rgba(0,0,0,.15); overflow-y: auto; visibility: hidden; }
.offcanvas.is-open { transform: none; visibility: visible; }
.offcanvas-close { position: absolute; top: 12px; right: 12px; background: none; border: 0; padding: 10px; cursor: pointer; line-height: 0; color: var(--c-text); }
.offcanvas-close svg { width: 22px; height: 22px; }
.offcanvas nav { padding: 64px 28px 28px; }
.offcanvas ul { list-style: none; margin: 0; padding: 0; }
.offcanvas li a { display: block; padding: 11px 0; color: var(--c-text); border-bottom: 1px solid #eee; }
.offcanvas li a:hover, .offcanvas li a[aria-current="page"] { color: var(--c-primary); text-decoration: none; }
.offcanvas ul ul { padding-left: 18px; }
.offcanvas ul ul a { font-size: 15px; color: var(--c-muted); }
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 1400; opacity: 0; visibility: hidden; transition: opacity .3s; }
.overlay.is-open { opacity: 1; visibility: visible; }

/* ---------- Hero slider ---------- */
.hero { position: relative; overflow: hidden; background: #cfd8de; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; background-size: cover; background-position: center; display: flex; align-items: center; }
.hero-slide.is-active { opacity: 1; position: relative; z-index: 1; }
.hero-slide { min-height: clamp(380px, 52vw, 640px); }
.hero-text { max-width: 560px; text-shadow: 0 0 14px rgba(255,255,255,.9), 0 0 4px rgba(255,255,255,.7); }
.hero h1, .hero .hero-title { font-size: 40px; font-weight: 200; line-height: 1.1; margin: 0; color: var(--c-text); }
.hero small { display: block; margin-top: -3px; font-size: 60px; font-weight: 700; color: #000; line-height: 1.05; margin-left: -4px; }
.hero small span { display: block; margin-top: 8px; margin-left: 4px; font-size: 23px; font-weight: 300; line-height: 1.2; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 5; display: flex; gap: 10px; justify-content: center; }
.hero-dots button { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #fff; background: rgba(255,255,255,.35); padding: 0; cursor: pointer; }
.hero-dots button[aria-current="true"] { background: #fff; }
.hero-arrow { position: absolute; top: 50%; z-index: 5; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(0,0,0,.35); color: #fff; cursor: pointer; display: grid; place-items: center; }
.hero-arrow:hover { background: rgba(0,0,0,.6); }
.hero-arrow--prev { left: 14px; } .hero-arrow--next { right: 14px; }
.hero-arrow svg { width: 18px; height: 18px; }
@media (max-width: 767px) {
  .hero h1, .hero .hero-title { font-size: 30px; }
  .hero small { font-size: 36px; }
  .hero small span { font-size: 18px; }
  .hero-arrow { display: none; }
}

/* ---------- Sections / typography ---------- */
.section { padding: 75px 0; }
.section--soft { background: var(--c-bg-soft); }
.section--tight { padding: 60px 0; }
.title-block h1, .title-block h2 { font-size: 30px; font-weight: 500; margin-bottom: 20px; text-transform: none; }
.title-block h1 small, .title-block h2 small { font-size: 18px; font-weight: 600; }
.title-block h1 b, .title-block h2 b { font-weight: 700; }
.title-block p { max-width: 1100px; }
.page-head { padding: 60px 0 10px; }
.page-head + .section { padding-top: 30px; }
.eyebrow { margin: 0 0 8px; font-size: 18px; font-weight: 600; }

/* feature boxes (3 columns, home) */
.features { display: grid; grid-template-columns: repeat(3, 1fr); color: #fff; }
.features > div { padding: 55px clamp(20px, 4vw, 55px); min-height: 310px; display: flex; flex-direction: column; justify-content: center; }
.features h3 { text-transform: uppercase; font-weight: 400; font-size: 26px; margin: 0 0 24px; }
.features h3 b { font-weight: 700; }
.features p { margin: 0; font-size: 16px; }
.features .f1 { background: var(--c-light); } .features .f2 { background: var(--c-primary); } .features .f3 { background: var(--c-dark); }
.features ul { list-style: none; padding: 0; margin: 0; }
.features li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.25); line-height: 35px; }
@media (max-width: 767px) { .features { grid-template-columns: 1fr; } .features > div { min-height: 0; } }

/* check list (3 icons) */
.checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; margin-top: 50px; }
.checks svg { width: 100px; height: 100px; margin: 0 auto 6px; }
.checks h3 { font-size: 24px; font-weight: 500; }
.c-light { color: var(--c-light); } .c-primary { color: var(--c-primary); } .c-dark { color: var(--c-dark); }
@media (max-width: 767px) { .checks { grid-template-columns: 1fr; } }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.two-col h2, .two-col h3 { font-size: 30px; font-weight: 500; }
.video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video iframe, .video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video button { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; background: transparent; cursor: pointer; color: #fff; }
.video button span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border-radius: 50%; background: rgba(0,0,0,.65); display: grid; place-items: center; }
.video button svg { width: 28px; height: 28px; margin-left: 4px; }
.video .video-note { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; padding: 6px 10px; }
@media (max-width: 767px) { .two-col { grid-template-columns: 1fr; gap: 24px; } .two-col .video { order: 2; } }

.advice .eyebrow { font-size: 18px; text-transform: uppercase; font-weight: 600; margin-bottom: 4px; }
.advice h2 { font-size: 40px; font-weight: 300; text-transform: uppercase; margin-bottom: 25px; }
.advice h2 span { font-weight: 700; }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.card { background: #fff; padding: 35px 25px; transition: transform .3s; }
.card:hover { transform: scale(1.03); }
.card h4 { text-transform: uppercase; font-size: 20px; font-weight: 400; margin-bottom: 20px; }
.card p { color: var(--c-grey); font-weight: 600; font-size: 14px; margin: 0; }
@media (max-width: 767px) { .cards { grid-template-columns: 1fr; } }

/* image carousel */
.carousel { position: relative; overflow: hidden; background: #ddd; }
.carousel-track { display: flex; transition: transform .6s ease; }
.carousel-track > div { flex: 0 0 100%; }
.carousel-track img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; max-height: 760px; }
.carousel .hero-dots { bottom: 14px; }

.location h2 { font-size: 40px; font-weight: 300; text-transform: uppercase; margin-bottom: 20px; }
.location h2 b { font-weight: 700; }
.location h2 small { display: block; font-size: 22px; font-weight: 400; text-transform: none; margin-top: 6px; }
.map { margin-top: 30px; background: #e8eef2; position: relative; min-height: 450px; }
.map iframe { width: 100%; height: 450px; display: block; }
.map .map-consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; gap: 14px; }
.map .map-consent p { max-width: 520px; margin: 0; font-size: 14px; color: var(--c-muted); }

/* ---------- Inner pages ---------- */
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.cols-3 h4 { font-size: 22px; font-weight: 700; text-transform: uppercase; }
@media (max-width: 767px) { .cols-3 { grid-template-columns: 1fr; gap: 10px; } }
.full-img img { width: 100%; }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 30px; }
.services h3 { font-size: 24px; font-weight: 600; margin-bottom: 14px; }
.section-title h2 { font-size: 20px; text-transform: uppercase; font-weight: 600; margin: 0 0 5px; }
.section-title p { font-size: 34px; font-weight: 300; text-transform: uppercase; line-height: 1.15; margin: 0; }
.section-title p span { font-weight: 700; }
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.step { display: flex; gap: 20px; margin-top: 30px; }
.step .num { font-size: 50px; line-height: 50px; font-weight: 300; min-width: 70px; }
.step h3 { font-size: 24px; font-weight: 600; margin-bottom: 8px; }
.step p { margin: 0; }
@media (max-width: 991px) { .services, .steps { grid-template-columns: 1fr; } }

.richtext h2, .richtext h3 { font-size: 26px; margin: 1.4em 0 .6em; }
.richtext h4 { font-size: 20px; margin: 1.2em 0 .5em; }
.richtext ul { margin-bottom: 1.4rem; }
.richtext li { margin-bottom: .35rem; }
.gallery-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 30px 0; }
@media (max-width: 767px) { .gallery-2 { grid-template-columns: 1fr; } }

.faq details { border-bottom: 1px solid var(--c-line); }
.faq summary { cursor: pointer; padding: 18px 40px 18px 0; font-size: 20px; font-weight: 500; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--c-primary); border-bottom: 2px solid var(--c-primary); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 0 18px; color: #444; }

/* price tables */
.price-block { margin-bottom: 40px; }
.price-block h2 { font-size: 26px; margin: 0 0 16px; }
.table-wrap { overflow-x: auto; margin-bottom: 14px; -webkit-overflow-scrolling: touch; }
table.prices { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 16px; background: #fff; }
table.prices caption { background: var(--c-navy); color: #fff; font-weight: 700; font-size: 20px; padding: 10px; text-align: center; caption-side: top; }
table.prices th, table.prices td { border: 1px solid #222; padding: 9px 12px; text-align: center; }
table.prices thead th { background: #c0c0c0; font-weight: 700; }
table.prices tbody th { text-align: left; font-weight: 400; background: #fff; }
table.prices tbody th.group { font-weight: 700; background: #fff; vertical-align: middle; }
table.prices tbody tr:nth-child(even) td, table.prices tbody tr:nth-child(even) th:not(.group) { background: #f2f2f2; }
table.prices.is-single thead th { background: var(--c-navy); color: #fff; }
.price-note { margin: 0 0 10px; color: #333; }
.price-note strong { font-weight: 700; }
.price-note-block { margin: 12px 0 0; }

.legal h1 { font-size: 32px; margin-bottom: 24px; }
.legal h3 { font-size: 20px; margin: 1.6em 0 .6em; }
.legal p, .legal li { overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.site-bottom { background: var(--c-bg-footer); padding: 70px 0 50px; }
.site-bottom .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.site-bottom h3 { font-size: 18px; font-weight: 600; margin: 0 0 22px; }
.site-bottom p { color: var(--c-muted); margin: 0 0 8px; }
.site-bottom a { color: var(--c-primary); }
@media (max-width: 991px) { .site-bottom .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .site-bottom .grid { grid-template-columns: 1fr; } .site-bottom { padding: 45px 0 35px; } }
.site-footer { background: #fff; padding: 18px 0 25px; font-size: 14px; border-top: 1px solid #ececec; }
.site-footer ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 30px; list-style: none; margin: 0; padding: 0; text-transform: capitalize; }
.site-footer a { color: var(--c-muted); }
.site-footer a:hover { color: var(--c-primary); }

/* ---------- Cookie banner ---------- */
.cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 3000; background: #fff; box-shadow: 0 -4px 24px rgba(0,0,0,.18); padding: 18px 0 20px; }
.cookie[hidden] { display: none; }
.cookie .container { display: grid; grid-template-columns: 1fr auto; gap: 8px 30px; align-items: end; }
.cookie h2 { grid-column: 1 / -1; font-size: 17px; font-weight: 500; margin: 0; display: flex; align-items: center; gap: 12px; color: #555; }
.cookie h2 svg { width: 26px; height: 26px; color: #b07a3c; }
.cookie p { margin: 0; font-size: 13.5px; color: #555; }
.cookie .btns { display: flex; gap: 14px; }
.btn { display: inline-block; border: 0; border-radius: 3px; background: var(--c-ok); color: #fff; padding: 9px 22px; font-size: 16px; cursor: pointer; font-family: inherit; }
.btn:hover { background: #249a3d; color: #fff; text-decoration: none; }
@media (max-width: 700px) { .cookie .container { grid-template-columns: 1fr; } .cookie .btns { justify-content: flex-end; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print { .topbar, .header, .cookie, .offcanvas, .overlay, .hero-dots, .hero-arrow { display: none !important; } }
