/* Skischule Sedrun-Andermatt – Stylesheet (mobile first) */

:root {
  --rot: #c8102e;
  --rot-dunkel: #a00d25;
  --navy: #14213d;
  --text: #1f2937;
  --grau: #4b5563;
  --hell: #f3f6fa;
  --schnee: #ffffff;
  --linie: #dde3ea;
  --gruen-wa: #1a7f45;
  --radius: 14px;
  --schatten: 0 6px 24px rgba(20, 33, 61, .10);
  --max: 1120px;
}

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

html { scroll-behavior: smooth; }

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(--schnee);
}

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

a { color: var(--rot-dunkel); }
a:hover { color: var(--navy); }

:focus-visible {
  outline: 3px solid #f59e0b;
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 6vw, 3.25rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.25rem); letter-spacing: -.01em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: .75rem 1rem; z-index: 200;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .8rem 1.4rem;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--rot); color: #fff; }
.btn-primary:hover { background: var(--rot-dunkel); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--hell); color: var(--navy); }
.btn-ghost-light { background: transparent; color: #fff; border-color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--navy); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--linie);
  backdrop-filter: blur(6px);
}
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 68px; }

.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--navy); margin-right: auto; }
.brand img { width: 46px; height: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1rem; }
.brand-text span { font-size: .8rem; color: var(--grau); }

.header-phone {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--hell); color: var(--navy); text-decoration: none;
}
.header-phone .label { display: none; }
.header-cta { display: none; }

.nav-toggle {
  width: 44px; height: 44px; border: 0; border-radius: 10px;
  background: var(--navy); color: #fff; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}

.main-nav { display: none; width: 100%; }
.main-nav.open { display: block; }
.main-nav ul { list-style: none; margin: 0; padding: .5rem 0 1rem; }
.main-nav a {
  display: block; padding: .75rem .25rem; text-decoration: none;
  color: var(--navy); font-weight: 600; border-bottom: 1px solid var(--linie);
}
.main-nav a[aria-current="page"] { color: var(--rot); }

.header-inner { flex-wrap: wrap; }

@media (min-width: 960px) {
  .header-inner { flex-wrap: nowrap; }
  .nav-toggle { display: none; }
  .main-nav { display: block !important; width: auto; order: 0; }
  .main-nav ul { display: flex; gap: 1.25rem; padding: 0; }
  .main-nav a { border: 0; padding: .5rem 0; font-size: .97rem; }
  .main-nav a:hover { color: var(--rot); }
  .main-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--rot); }
  .header-phone { width: auto; height: auto; background: none; gap: .4rem; font-weight: 700; }
  .header-phone .label { display: inline; }
  .header-cta { display: inline-flex; min-height: 42px; padding: .55rem 1.1rem; font-size: .95rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #0f2a4a 0%, #1d4f86 55%, #6fa3d4 100%);
  color: #fff;
  padding: 3.5rem 0 0;
}
.hero h1 { color: #fff; }
.hero .lead { font-size: 1.15rem; max-width: 36em; color: #eef4fb; }
.hero-grid { display: grid; gap: 2rem; align-items: end; }
.hero-text { padding-bottom: 2rem; position: relative; z-index: 2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.hero-mascot { position: relative; z-index: 2; justify-self: center; width: min(320px, 75%); padding-bottom: 2.5rem; }
.hero-mountains { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: auto; z-index: 1; }
.eyebrow {
  display: inline-block; font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(255, 255, 255, .15); padding: .3rem .8rem; border-radius: 999px; margin-bottom: 1rem;
}

@media (min-width: 860px) {
  .hero { padding-top: 5rem; }
  .hero-grid { grid-template-columns: 1.4fr 1fr; }
  .hero-text { padding-bottom: 6rem; }
  .hero-mascot { padding-bottom: 5rem; }
}

.page-hero {
  background: linear-gradient(180deg, #0f2a4a 0%, #1d4f86 100%);
  color: #eef4fb; padding: 3rem 0 2.5rem;
}
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero p { max-width: 40em; font-size: 1.1rem; margin: 0; }

/* ---------- Sections ---------- */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--hell); }
.section-head { max-width: 44em; margin-bottom: 2rem; }
.section-head p { color: var(--grau); font-size: 1.1rem; }

.grid { display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: #fff; border: 1px solid var(--linie); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--schatten);
  display: flex; flex-direction: column;
}
.card p:last-child { margin-bottom: 0; }
.card .btn { margin-top: auto; align-self: flex-start; }
.card-icon {
  width: 52px; height: 52px; border-radius: 12px; margin-bottom: 1rem;
  background: #fde8eb; color: var(--rot); display: flex; align-items: center; justify-content: center;
}

.usp-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
@media (min-width: 860px) { .usp-list { grid-template-columns: repeat(3, 1fr); } }
.usp-list li { background: #fff; border-radius: var(--radius); padding: 1.25rem 1.25rem 1.25rem 1.25rem; border-left: 5px solid var(--rot); box-shadow: var(--schatten); }
.usp-list strong { display: block; color: var(--navy); font-size: 1.1rem; margin-bottom: .3rem; }

.check-list { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.check-list li { position: relative; padding-left: 1.9rem; margin-bottom: .55rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--rot) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 70% no-repeat;
}

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

.placeholder-img {
  aspect-ratio: 4 / 3; border-radius: var(--radius);
  background: repeating-linear-gradient(45deg, #e9eef5, #e9eef5 12px, #f4f7fb 12px, #f4f7fb 24px);
  border: 2px dashed #9aa8bb; color: var(--grau);
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 1rem; font-weight: 600;
}

/* ---------- Preise ---------- */
.price-card { border-top: 6px solid var(--rot); }
.price-card.featured { border-top-color: var(--navy); }
.badge {
  display: inline-block; align-self: flex-start; background: var(--navy); color: #fff;
  font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: .25rem .7rem; border-radius: 999px; margin-bottom: .75rem;
}
.price-table { width: 100%; border-collapse: collapse; margin: .5rem 0 1rem; }
.price-table th, .price-table td { text-align: left; padding: .65rem 0; border-bottom: 1px solid var(--linie); vertical-align: top; }
.price-table th { font-weight: 500; color: var(--text); }
.price-table td { text-align: right; font-weight: 800; color: var(--navy); white-space: nowrap; padding-left: 1rem; }
.note { font-size: .93rem; color: var(--grau); }

.info-box {
  background: #fff; border: 1px solid var(--linie); border-left: 5px solid var(--navy);
  border-radius: var(--radius); padding: 1.25rem 1.5rem;
}

/* ---------- Ablauf / Schritte ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; counter-reset: schritt; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: schritt; background: #fff; border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--schatten); }
.steps li::before {
  content: counter(schritt); display: flex; align-items: center; justify-content: center;
  width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--rot); color: #fff; font-weight: 800; margin-bottom: .75rem;
}
.steps strong { display: block; color: var(--navy); margin-bottom: .25rem; }

/* ---------- FAQ ---------- */
.faq details { background: #fff; border: 1px solid var(--linie); border-radius: 12px; margin-bottom: .75rem; }
.faq summary { cursor: pointer; padding: 1rem 1.25rem; font-weight: 700; color: var(--navy); list-style: none; position: relative; padding-right: 3rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.25rem; top: .8rem; font-size: 1.4rem; color: var(--rot); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 1.25rem 1rem; }

/* ---------- CTA-Band ---------- */
.cta-band { background: var(--rot); color: #fff; padding: 3rem 0; }
.cta-band h2 { color: #fff; }
.cta-band-inner { display: grid; gap: 1.5rem; align-items: center; }
.cta-band-inner p { margin: 0; font-size: 1.1rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (min-width: 860px) { .cta-band-inner { grid-template-columns: 1fr auto; } }

/* ---------- Formular ---------- */
.form { display: grid; gap: 1rem; }
@media (min-width: 700px) { .form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; } }
.form label { display: block; font-weight: 600; color: var(--navy); margin-bottom: .3rem; }
.form .optional { font-weight: 400; color: var(--grau); font-size: .9rem; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; color: var(--text);
  padding: .75rem .9rem; min-height: 48px;
  border: 1.5px solid #8a97a8; border-radius: 10px; background: #fff;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--navy); outline: 3px solid #f59e0b; outline-offset: 1px; }
.form textarea { min-height: 130px; resize: vertical; }
.form .checkbox { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; color: var(--text); }
.form .checkbox input { width: 22px; height: 22px; min-height: 0; margin-top: .2rem; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .9rem; }
.contact-list a { display: flex; gap: .8rem; align-items: center; text-decoration: none; color: var(--navy); font-weight: 700; }
.contact-list .ci {
  width: 46px; height: 46px; border-radius: 12px; background: var(--hell); flex: none;
  display: flex; align-items: center; justify-content: center; color: var(--rot);
}
.contact-list small { display: block; font-weight: 400; color: var(--grau); }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 46em; }
.legal h2 { font-size: 1.4rem; margin-top: 2rem; }
.legal h3 { font-size: 1.1rem; margin-top: 1.5rem; }

.todo { background: #fff4c2; padding: 0 .25em; border-radius: 3px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #d6deea; padding: 3rem 0 6rem; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } .site-footer { padding-bottom: 2rem; } }
.site-footer h2 { color: #fff; font-size: 1.05rem; margin-bottom: .75rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 2rem; padding-top: 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }

/* ---------- WhatsApp-Button ---------- */
.wa-float {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 90;
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--gruen-wa); color: #fff; text-decoration: none; font-weight: 700;
  padding: .85rem 1.1rem; border-radius: 999px; box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}
.wa-float:hover { color: #fff; background: #146536; }
.wa-float .wa-label { display: none; }
@media (min-width: 600px) { .wa-float .wa-label { display: inline; } }

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

/* Nur für Screenreader sichtbar */
.sr-title {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.h3 { font-size: 1.35rem; }

/* Kopfzeile: zwischen 960 und 1240 px nur Telefon-Symbol, kein Anfrage-Knopf */
.main-nav a { white-space: nowrap; }
.header-phone .label { white-space: nowrap; }
@media (max-width: 959px) {
  .header-inner { flex-wrap: wrap; gap: .5rem; }
  .brand { flex: 1 1 0; min-width: 0; }
  .brand img { width: 40px; height: 40px; }
  .brand-text strong { font-size: .95rem; }
}
@media (max-width: 420px) { .brand-text span { display: none; } }
@media (min-width: 960px) { .brand-text strong, .brand-text span { white-space: nowrap; } }
.site-header .container { max-width: 1280px; }
@media (min-width: 960px) and (max-width: 1319px) {
  .header-cta { display: none; }
  .header-phone { width: 44px; height: 44px; background: var(--hell); }
  .header-phone .label { display: none; }
}
