/* ==========================================================================
   home.css – Startseite: Hero mit Kartenausschnitt, Legende, Aufstiegs-Pfad,
   Leistungen, Wissen, Gipfelbuch.
   (Bergschichten und Schluss-CTA aller Seiten: landscape.css)
   ========================================================================== */

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--snow) 0%, #f2eee5 40%, #ece2d4 64%, #e3e7e5 100%);
  padding-top: clamp(28px, 5vw, 64px);
}
.hero__topo {
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 82%);
  mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 82%);
}
.hero__sky {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 40% at 72% 78%, rgba(226, 154, 107, .32), transparent 70%),
    radial-gradient(40% 30% at 20% 70%, rgba(159, 203, 216, .35), transparent 70%);
}
.hero .coord-ticks { top: 10px; }
.hero__inner {
  position: relative; z-index: 2;
  display: grid; gap: 40px; align-items: start;
  padding-top: clamp(24px, 4vw, 48px);
  padding-bottom: clamp(190px, 27vw, 330px);
}
@media (min-width: 1000px) { .hero__inner { grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); gap: 56px; } }
.hero__copy { max-width: 680px; will-change: transform, opacity; }
.hero__copy h1 { margin-bottom: .38em; }
.hero__copy .lead { margin-bottom: 30px; color: var(--granite-700); }
.hero__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; font-size: .93rem; color: var(--granite-700); }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hf-mark { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, .7); border: 1px solid var(--line); color: var(--contour-text); font-size: .78rem; }
.hero .ridges { height: clamp(240px, 37vw, 520px); z-index: 1; }

/* Kartenausschnitt-Karte */
.hero-card {
  position: relative; justify-self: center; width: 100%; max-width: 430px;
  background: rgba(251, 250, 247, .9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-2);
  padding: 18px 18px 16px;
  animation: card-float 9s ease-in-out infinite;
}
@media (min-width: 1000px) { .hero-card { justify-self: end; margin-top: 8px; } }
@keyframes card-float { 50% { transform: translateY(-8px); } }
.hero-card__head { display: flex; justify-content: space-between; align-items: center; }
.hero-card__scale { display: inline-flex; align-items: center; gap: 0; font-family: var(--font-mono); font-size: .68rem; color: var(--granite-600); }
.hero-card__scale i { display: inline-block; width: 14px; height: 5px; border: 1px solid var(--granite-700); }
.hero-card__scale i:nth-child(odd) { background: var(--granite-700); }
.hero-card__scale i:last-of-type { margin-right: 6px; }
.hero-card__title { font-family: var(--font-display); font-size: 1.32rem; margin: 12px 0 10px; line-height: 1.2; }
.hero-card__title span { color: var(--contour-text); }
.hero-card__map { border-radius: 14px; overflow: hidden; background: linear-gradient(180deg, #f3f0e6, #ece6d8); border: 1px solid var(--line); }
.hc-map { width: 100%; height: auto; }
.hc-contours path { fill: none; stroke: rgba(169, 118, 74, .4); stroke-width: .9; }
.hc-contours path.ci { stroke: rgba(169, 118, 74, .7); stroke-width: 1.3; }
.hc-contours path:nth-last-child(-n+12) { fill: rgba(255, 255, 255, .12); }
.hc-route-casing { fill: none; stroke: #fff; stroke-width: 8; stroke-linejoin: round; stroke-linecap: round; opacity: .85; }
.hc-route { fill: none; stroke: var(--granite-800); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.hc-seg { fill: none; stroke-width: 5; stroke-linecap: round; animation: fade-in .6s 2.6s both; }
.hc-seg--at { stroke: var(--pine-500); }
.hc-seg--maut { stroke: var(--alpenglow-deep); stroke-dasharray: 6 5; stroke-linecap: butt; }
.hc-pass path { fill: var(--granite-900); }
.hc-pass text, .hc-city text { font-family: var(--font-mono); font-size: 11px; fill: var(--granite-900); paint-order: stroke; stroke: rgba(246, 243, 236, .95); stroke-width: 4px; stroke-linejoin: round; }
.hc-city circle { fill: var(--white); stroke: var(--granite-900); stroke-width: 2.2; }
.hero-card__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 6px; }
.hero-card__stats dt { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--granite-600); }
.hero-card__stats dd { margin: 2px 0 0; font-family: var(--font-display); font-size: 1.16rem; font-weight: 450; letter-spacing: -0.01em; white-space: nowrap; }
.hero-card__profile { height: 56px; margin: 4px 0 10px; }
.hc-profile { width: 100%; height: 100%; }
.hc-profile__area { fill: rgba(79, 148, 171, .16); }
.hc-profile__line { fill: none; stroke: var(--glacier-700); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.hero-card__rows { list-style: none; display: grid; gap: 8px; font-size: .9rem; }
.hero-card__rows li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; background: var(--snow); }
.hero-card__rows li > span:nth-child(2) { flex: 1; min-width: 0; }
.hero-card__rows b { font-weight: 650; margin-right: 4px; }
.dot { width: 22px; height: 6px; border-radius: 3px; flex: none; }
.dot--at { background: var(--pine-500); }
.dot--maut { background: repeating-linear-gradient(90deg, var(--alpenglow-deep) 0 6px, transparent 6px 9px); }
.hero-card__link { display: inline-flex; gap: 6px; margin-top: 12px; font-weight: 620; color: var(--pine-700); text-decoration: none; }
.hero-card__link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Vorteile / Legende ---------- */
.vorteile { padding-top: clamp(40px, 6vw, 80px); }
.legend-grid { list-style: none; display: grid; gap: 34px 40px; }
@media (min-width: 700px) { .legend-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .legend-grid { grid-template-columns: repeat(3, 1fr); } }
.legend-item { padding-top: 26px; border-top: 1px solid rgba(244, 242, 236, .16); position: relative; }
.legend-item::before { content: ''; position: absolute; top: -1px; left: 0; width: 46px; height: 1px; background: var(--alpenglow); }
.legend-item h3 { color: var(--snow); }
.legend-item p { color: rgba(244, 242, 236, .72); margin: 0; }
.stats-strip {
  display: grid; gap: 28px; margin-top: clamp(56px, 7vw, 90px); padding-top: 36px;
  border-top: 1px dashed rgba(244, 242, 236, .22);
}
@media (min-width: 800px) { .stats-strip { grid-template-columns: repeat(3, 1fr) ; } .stats-strip__note { grid-column: 1 / -1; } }
.stats-strip .stat__value { color: var(--glacier-300); }
.stats-strip__note { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .85rem; color: rgba(244, 242, 236, .55); margin: 0; }

/* ---------- Ablauf als Aufstiegspfad ---------- */
.trail { position: relative; }
.trail__path { display: none; }
.trail__steps { list-style: none; display: grid; gap: 22px; position: relative; padding-left: 28px; }
.trail__steps::before { content: ''; position: absolute; left: 7px; top: 10px; bottom: 10px; border-left: 2px dashed rgba(169, 118, 74, .5); }
.step {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px 24px; box-shadow: var(--shadow-1); max-width: 470px;
}
.step::before {
  content: ''; position: absolute; left: -28px; top: 26px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--snow); border: 3px solid var(--pine-500);
}
.step__alt { display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.step__no { font-family: var(--font-display); font-size: 2.3rem; font-weight: 340; line-height: 1; color: var(--glacier-600); }
.step__m { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--contour-text); }
.step p { margin: 0; color: var(--granite-700); }
@media (min-width: 1000px) {
  .trail { min-height: 980px; }
  .trail__path { display: block; position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
  .trail__line-bg { fill: none; stroke: rgba(169, 118, 74, .45); stroke-width: 2; stroke-dasharray: 3 9; stroke-linecap: round; }
  .trail__line { fill: none; stroke: var(--pine-500); stroke-width: 3; stroke-linecap: round; }
  .trail__steps { padding-left: 0; grid-template-rows: repeat(4, 245px); gap: 0; }
  .trail__steps::before { display: none; }
  .step::before { display: none; }
  .step:nth-child(1) { justify-self: start; margin-left: 0; align-self: start; }
  .step:nth-child(2) { justify-self: end; align-self: center; }
  .step:nth-child(3) { justify-self: start; margin-left: 4%; align-self: center; }
  .step:nth-child(4) { justify-self: end; align-self: end; margin-right: 6%; }
}

/* ---------- Leistungen ---------- */
.svc-grid { display: grid; gap: clamp(18px, 2.6vw, 30px); }
@media (min-width: 900px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
.svc { display: flex; flex-direction: column; gap: 4px; }
.svc > .btn { align-self: flex-start; margin-top: 22px; }
.svc__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.svc__meta { font-size: .74rem; color: var(--granite-600); letter-spacing: .04em; }
.svc p { color: var(--granite-700); }
.svc__profile { position: relative; height: 96px; margin: 6px 0 22px; border-radius: 12px; overflow: hidden; background: repeating-linear-gradient(180deg, transparent 0 23px, rgba(30, 37, 41, .06) 23px 24px), var(--glacier-50); border: 1px solid var(--glacier-200); }
.svc-profile { width: 100%; height: 100%; }
.svc-profile__area { fill: rgba(79, 148, 171, .22); }
.svc-profile__line { fill: none; stroke: var(--glacier-700); stroke-width: 2; vector-effect: non-scaling-stroke; }
.svc__profile-label { position: absolute; top: 8px; left: 12px; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--glacier-700); }
.price-table--mini { margin: 4px 0 14px; }
.price-table--mini th, .price-table--mini td { padding: 11px 4px; }
.price-table--mini td.num { font-family: var(--font-display); font-size: 1.15rem; }

/* ---------- Wissen ---------- */
.facts { display: grid; gap: 24px; }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(3, 1fr); gap: 34px; } }
.fact { background: rgba(251, 250, 247, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid rgba(59, 125, 149, .2); border-radius: var(--radius-lg); padding: 28px; }
.fact__big { font-family: var(--font-display); font-weight: 320; font-size: clamp(3rem, 4vw + 1rem, 4.4rem); line-height: 1; letter-spacing: -0.035em; color: var(--glacier-700); margin: 0 0 18px; white-space: nowrap; }
.fact__big small { font-size: .36em; letter-spacing: 0; font-weight: 400; color: var(--granite-600); }
.fact p:last-child { margin: 0; color: var(--granite-700); }
.toll-band {
  margin-top: clamp(40px, 5vw, 64px); padding: clamp(22px, 3vw, 34px); border-radius: var(--radius-lg);
  background: var(--granite-900); color: var(--snow); display: grid; gap: 22px;
}
.toll-band__head h3 { margin-bottom: 6px; }
.toll-band__head p { margin: 0; color: rgba(244, 242, 236, .7); }
.toll-list { list-style: none; display: grid; gap: 12px; }
@media (min-width: 640px) { .toll-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .toll-list { grid-template-columns: repeat(5, 1fr); } }
.toll-list li { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 12px; background: rgba(244, 242, 236, .06); border: 1px dashed rgba(226, 154, 107, .45); font-size: .92rem; line-height: 1.4; }
.toll-list b { display: block; font-weight: 620; }
.toll-list__road { flex: none; font-family: var(--font-mono); font-weight: 500; font-size: .85rem; padding: 3px 8px; border-radius: 6px; background: var(--alpenglow); color: var(--granite-950); }
.text-link { color: var(--glacier-300); font-weight: 600; text-decoration: none; justify-self: start; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Gipfelbuch ---------- */
.book { display: grid; gap: 22px; }
@media (min-width: 900px) { .book { grid-template-columns: repeat(3, 1fr); } }
.entry {
  margin: 0; position: relative; border-radius: 6px 18px 18px 6px; padding: 24px 24px 22px 30px;
  background:
    linear-gradient(90deg, rgba(169, 118, 74, .35) 0 1px, transparent 1px) 18px 0 / 1px 100% no-repeat,
    repeating-linear-gradient(180deg, transparent 0 31px, rgba(59, 125, 149, .14) 31px 32px) 0 14px,
    var(--white);
  border: 1px solid var(--line); box-shadow: var(--shadow-1);
}
.entry:nth-child(2) { transform: rotate(.6deg); }
.entry:nth-child(3) { transform: rotate(-.5deg); }
.entry__head { display: flex; justify-content: space-between; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--contour-text); margin-bottom: 12px; }
.entry blockquote { margin: 0 0 18px; }
.entry blockquote p { font-family: var(--font-display); font-style: italic; font-size: 1.16rem; line-height: 1.6; color: var(--granite-800); margin: 0; }
.entry figcaption { display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--granite-600); }
.entry figcaption b { display: block; color: var(--ink); }
.entry__avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--pine-800); color: var(--glacier-300); font-family: var(--font-mono); font-size: .8rem; flex: none; }

@media (prefers-reduced-motion: reduce) {
  .hero-card { animation: none; }
  .hc-seg { animation: none; }
}

/* Höhenskala am Rand des Aufstiegs + Linienlegende */
.ablauf__topo { opacity: .9; }
.alt-ruler { display: none; }
@media (min-width: 1200px) {
  .alt-ruler {
    display: flex; flex-direction: column; justify-content: space-between; list-style: none;
    position: absolute; left: 14px; top: 300px; bottom: 120px; padding-left: 12px;
    border-left: 1px solid rgba(169, 118, 74, .45);
    font-family: var(--font-mono); font-size: .64rem; letter-spacing: .06em; color: var(--contour-text);
  }
  .alt-ruler li { position: relative; transform: translateY(-50%); }
  .alt-ruler li::before { content: ''; position: absolute; left: -13px; top: 50%; width: 8px; border-top: 1px solid rgba(169, 118, 74, .6); }
}
.line-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--granite-600); }
.line-legend li { display: inline-flex; align-items: center; gap: 8px; }
.dot--b { background: repeating-linear-gradient(90deg, var(--granite-600) 0 3px, transparent 3px 6px); height: 3px; }
