/* ================================================
   SWITZERLAND ROAD PASS GUIDE
   swissvignetteguide.site — Main Stylesheet
   ================================================ */

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

:root {
  --navy:      #0D1B3E;
  --navy-mid:  #1A2B5E;
  --red:       #C8102E;
  --red-hover: #A50D25;
  --white:     #FFFFFF;
  --off-white: #F4F7FC;
  --grey-100:  #EEF1F8;
  --grey-200:  #D8DEEC;
  --text:      #0D1B3E;
  --muted:     #6B7280;
  --border:    #D1D9E6;
  --shadow:    0 4px 24px rgba(13,27,62,0.11);
  --shadow-sm: 0 2px 10px rgba(13,27,62,0.07);
  --r:         12px;
  --r-sm:      8px;
  --font:      'Segoe UI','Helvetica Neue',Arial,sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-hover); text-decoration: underline; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ── HEADER ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--navy);
  border-bottom: 3px solid var(--red);
  box-shadow: 0 2px 20px rgba(13,27,62,0.30);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.site-title {
  font-size: 1.05rem; font-weight: 700;
  color: var(--white); letter-spacing: -0.2px; line-height: 1.2;
}
.site-title em { color: var(--red); font-style: normal; }

.site-nav { display: flex; gap: 2px; align-items: center; }
.site-nav a {
  color: rgba(255,255,255,0.82); font-size: 0.84rem; font-weight: 500;
  padding: 8px 11px; border-radius: var(--r-sm);
  transition: color 0.2s, background-color 0.2s; white-space: nowrap;
}
.site-nav a:hover {
  color: var(--white); background-color: rgba(255,255,255,0.12);
  text-decoration: none;
}

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; border: none; background: none;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px; transition: all 0.3s;
}

/* ── HERO ── */
.hero {
  position: relative;
  background: linear-gradient(150deg, #0D1B3E 0%, #1A2B5E 55%, #0D1B3E 100%);
  min-height: 100vh; display: flex; align-items: center;
  padding-top: 68px; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 72% 38%, rgba(200,16,46,0.18) 0%, transparent 58%);
  pointer-events: none;
}
/* Alpine silhouette wave */
.hero::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0;
  height: 100px; background: var(--white);
  clip-path: polygon(0% 100%, 0% 78%, 7% 52%, 15% 74%, 23% 34%, 32% 62%, 40% 20%, 50% 56%, 58% 18%, 67% 50%, 76% 28%, 84% 58%, 92% 38%, 100% 66%, 100% 100%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 84px 0 120px; max-width: 760px;
}
.hero-badge {
  display: inline-block;
  background: rgba(200,16,46,0.22); border: 1px solid rgba(200,16,46,0.42);
  color: rgba(255,255,255,0.90); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.10em; text-transform: uppercase;
  padding: 6px 18px; border-radius: 20px; margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800;
  color: var(--white); line-height: 1.12; margin-bottom: 22px;
  letter-spacing: -0.6px;
}
.hero h1 .accent { color: var(--red); }
.hero-sub {
  font-size: 1.08rem; color: rgba(255,255,255,0.75);
  line-height: 1.66; margin-bottom: 38px; max-width: 600px;
}
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 28px; margin-bottom: 42px;
  align-items: center;
}
.stat-item { display: flex; flex-direction: column; }
.stat-value { font-size: 1.55rem; font-weight: 800; color: var(--white); line-height: 1; }
.stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px; }
.stat-div { width: 1px; background: rgba(255,255,255,0.20); align-self: stretch; }

.btn-primary {
  display: inline-block; background: var(--red); color: var(--white);
  padding: 16px 38px; border-radius: var(--r);
  font-size: 1rem; font-weight: 700; letter-spacing: 0.02em;
  transition: background-color 0.25s, transform 0.2s;
  border: none; cursor: pointer;
}
.btn-primary:hover {
  background-color: var(--red-hover); transform: translateY(-2px);
  color: var(--white); text-decoration: none;
}

/* ── SECTIONS ── */
section { padding: 90px 0; }
section:nth-of-type(even) { background: var(--off-white); }
section.contact-section { background: var(--navy); }

.section-tag {
  display: inline-block; font-size: 0.74rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.11em; color: var(--red); margin-bottom: 12px;
}
.section-heading {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 800;
  color: var(--navy); margin-bottom: 18px; line-height: 1.24; letter-spacing: -0.3px;
}
.section-intro {
  font-size: 1.04rem; color: var(--muted); max-width: 680px;
  margin-bottom: 48px; line-height: 1.72;
}

/* ── CARDS ── */
.cards-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px; margin-top: 40px;
}
.card {
  background: var(--white); border: 1px solid var(--border);
  border-left: 4px solid var(--red); border-radius: 0 var(--r) var(--r) 0;
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.card p { font-size: 0.91rem; color: var(--muted); line-height: 1.66; }

/* ── FEATURE LIST ── */
.feature-list {
  list-style: none;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px; margin-top: 32px;
}
.feature-list li {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 16px 20px; font-size: 0.92rem; color: var(--text); font-weight: 500;
}
.check { color: var(--red); font-weight: 900; font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }

/* ── PRICE CARDS ── */
.price-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px; margin-top: 40px;
}
.price-card {
  background: var(--white); border: 2px solid var(--border);
  border-radius: var(--r); padding: 34px 28px; text-align: center;
  position: relative;
}
.price-card.featured { border-color: var(--red); }
.price-card.featured::before {
  content: 'Standard Rate'; position: absolute; top: -14px; left: 50%;
  transform: translateX(-50%); background: var(--red); color: white;
  font-size: 0.70rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; padding: 4px 14px; border-radius: 20px; white-space: nowrap;
}
.price-amount { font-size: 2.8rem; font-weight: 900; color: var(--navy); line-height: 1; }
.price-cur { font-size: 1.3rem; color: var(--red); font-weight: 700; }
.price-desc { font-size: 0.87rem; color: var(--muted); margin-top: 12px; line-height: 1.55; }
.price-validity {
  margin-top: 18px; padding: 12px; background: var(--off-white);
  border-radius: var(--r-sm); font-size: 0.84rem; color: var(--navy); font-weight: 600;
}
.price-validity small { font-weight: 400; color: var(--muted); }

/* ── STEPS ── */
.steps-list {
  list-style: none; counter-reset: steps;
  display: flex; flex-direction: column; gap: 16px;
  margin-top: 40px; max-width: 780px;
}
.step {
  counter-increment: steps;
  display: flex; gap: 22px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r); padding: 22px 26px;
}
.step::before {
  content: counter(steps);
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; min-width: 42px;
  background: var(--navy); color: var(--white);
  font-size: 1.05rem; font-weight: 800; border-radius: 50%;
}
.step-content h4 { font-size: 0.98rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.step-content p { font-size: 0.89rem; color: var(--muted); line-height: 1.62; }

/* ── INFO NOTE ── */
.info-note {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(13,27,62,0.05); border: 1px solid rgba(13,27,62,0.12);
  border-left: 4px solid var(--navy);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 16px 20px; margin-top: 32px;
  font-size: 0.9rem; color: var(--text); line-height: 1.62;
}

/* ── TABLE ── */
.info-table { width: 100%; border-collapse: collapse; margin-top: 36px; font-size: 0.89rem; }
.info-table th {
  background: var(--navy); color: var(--white);
  padding: 14px 18px; text-align: left; font-weight: 600; font-size: 0.83rem; letter-spacing: 0.03em;
}
.info-table td { padding: 12px 18px; border-bottom: 1px solid var(--border); color: var(--text); }
.info-table tr:nth-child(even) td { background: var(--off-white); }
.info-table .yes  { color: #16a34a; font-weight: 700; }
.info-table .sep  { color: var(--red); font-weight: 700; }
.info-table .none { color: var(--muted); }

/* ── FAQ ── */
.faq-list {
  list-style: none; max-width: 840px; margin-top: 40px;
  display: flex; flex-direction: column; gap: 10px;
}
.faq-item {
  border: 1px solid var(--border); border-radius: var(--r);
  overflow: hidden; background: var(--white);
}
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; cursor: pointer; user-select: none; gap: 16px;
  transition: background-color 0.2s;
}
.faq-question:hover { background-color: var(--grey-100); }
.faq-question h4 { font-size: 0.96rem; font-weight: 600; color: var(--navy); line-height: 1.4; }
.faq-icon {
  width: 28px; height: 28px; min-width: 28px;
  background: var(--navy); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s, background-color 0.3s;
  font-size: 1.3rem; font-weight: 700; color: white; line-height: 1;
}
.faq-icon::after { content: '+'; display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); background-color: var(--red); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.36s ease; }
.faq-answer-inner {
  padding: 16px 24px 20px; font-size: 0.91rem; color: var(--muted);
  line-height: 1.70; border-top: 1px solid var(--border);
}

/* ── RESOURCES ── */
.resource-links {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px; margin-top: 36px;
}
.resource-link {
  display: flex; align-items: center; gap: 16px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r); padding: 18px 22px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.resource-link:hover {
  border-color: var(--red);
  box-shadow: 0 4px 16px rgba(200,16,46,0.10); text-decoration: none;
}
.r-dot { width: 10px; height: 10px; min-width: 10px; background: var(--red); border-radius: 50%; }
.r-title { font-size: 0.92rem; font-weight: 600; color: var(--navy); }
.r-sub { font-size: 0.79rem; color: var(--muted); margin-top: 2px; }

/* ── PROSE (legal/agb) ── */
.prose { max-width: 840px; margin-top: 32px; }
.prose h3 { font-size: 1.07rem; font-weight: 700; color: var(--navy); margin: 28px 0 10px; }
.prose p { font-size: 0.92rem; color: var(--muted); margin-bottom: 14px; line-height: 1.70; }
.prose ul { padding-left: 20px; margin-bottom: 14px; }
.prose ul li { font-size: 0.92rem; color: var(--muted); margin-bottom: 6px; line-height: 1.62; }

/* ── CONTACT FORM ── */
.contact-section .section-heading { color: var(--white); }
.contact-section .section-intro { color: rgba(255,255,255,0.65); }
.contact-section .section-tag { color: rgba(255,255,255,0.55); }

.contact-form {
  max-width: 600px; background: var(--white);
  border-radius: var(--r); padding: 44px 40px; margin-top: 40px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.22);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; margin-bottom: 20px; }
.form-group label { font-size: 0.84rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.form-group input {
  padding: 13px 16px; border: 1.5px solid var(--border);
  border-radius: var(--r-sm); font-size: 0.94rem;
  font-family: var(--font); color: var(--text); background: var(--white);
  transition: border-color 0.2s; outline: none;
}
.form-group input:focus { border-color: var(--red); }
.form-submit {
  width: 100%; background: var(--red); color: var(--white);
  padding: 15px; border: none; border-radius: var(--r-sm);
  font-size: 1rem; font-weight: 700; cursor: pointer;
  font-family: var(--font); transition: background-color 0.25s;
}
.form-submit:hover { background-color: var(--red-hover); }
.form-success {
  display: none; text-align: center; padding: 24px;
  color: #16a34a; font-weight: 600; font-size: 1rem;
}

/* ── FOOTER ── */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.72); padding: 72px 0 40px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 56px;
}
.footer-brand .site-title { color: var(--white); }
.footer-brand p { font-size: 0.87rem; color: rgba(255,255,255,0.48); margin-top: 14px; line-height: 1.66; }
.footer-col h4 {
  font-size: 0.82rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.09em; color: rgba(255,255,255,0.88); margin-bottom: 16px;
}
.footer-col h4 + h4 { margin-top: 22px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  font-size: 0.86rem; color: rgba(255,255,255,0.50);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--white); text-decoration: none; }
.footer-contact p { font-size: 0.86rem; color: rgba(255,255,255,0.50); margin-bottom: 7px; line-height: 1.5; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.11); padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 0.82rem; color: rgba(255,255,255,0.38); }
.footer-note { font-size: 0.77rem; color: rgba(255,255,255,0.30); max-width: 480px; text-align: right; line-height: 1.5; }

/* ── ANIMATIONS (no opacity:0) ── */
.reveal {
  transform: translateY(38px);
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.active { transform: translateY(0); }
.reveal-d1 { transition-delay: 0.10s; }
.reveal-d2 { transition-delay: 0.20s; }
.reveal-d3 { transition-delay: 0.30s; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--navy); flex-direction: column;
    padding: 14px 16px; gap: 2px; border-bottom: 2px solid var(--red);
  }
  .site-nav.open { display: flex; }
  .site-nav a { width: 100%; text-align: left; padding: 10px 14px; }
  .hero-stats { gap: 18px; }
  .stat-div { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-note { text-align: center; max-width: 100%; }
  .contact-form { padding: 28px 20px; }
  section { padding: 64px 0; }
  .price-card.featured::before { font-size: 0.65rem; }
}
