/* start page */

/* hero: the photo settles, the headline rises once */
.start-hero h1 { font-size: clamp(42px, 5.6vw, 86px); max-width: 15ch; }
@media (prefers-reduced-motion: no-preference) {
  .start-hero img { animation: settle 2.4s var(--ease) both; }
  .start-hero h1, .start-hero .lead, .start-hero .actions { animation: rise 1s var(--ease) both; }
  .start-hero .lead { animation-delay: .15s; }
  .start-hero .actions { animation-delay: .28s; }
}
@keyframes settle { from { transform: scale(1.08); } }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }

/* what should go online */
.uses h2 { margin-bottom: clamp(24px, 3vw, 40px); }
.use-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 2px solid var(--tinte); }
.use { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 26px 22px 28px 0; text-decoration: none; min-height: 210px; }
.use + .use { padding-left: 22px; box-shadow: inset 1px 0 0 var(--linie); }
.use .ph { font-size: 40px; margin-bottom: auto; transition: transform .4s var(--ease), color .3s; }
.use-name { font-weight: 800; font-stretch: 110%; font-size: clamp(20px, 1.7vw, 25px); line-height: 1.1; letter-spacing: -.01em; margin-top: 28px; }
.use-count { color: var(--granit); font-size: 15px; }
.use-count b { color: var(--tinte); font-size: 19px; }
.use::after { content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 2px; background: var(--rot); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.use + .use::after { left: 0; }
.use:hover::after, .use:focus-visible::after { transform: scaleX(1); }
.use:hover .ph { color: var(--rot); transform: translateY(-4px); }
@media (max-width: 900px) {
  .use-grid { grid-template-columns: 1fr 1fr; }
  .use { min-height: 160px; padding: 22px 16px 22px 0; }
  .use + .use { padding-left: 0; box-shadow: none; }
  .use:nth-child(even) { padding-left: 16px; box-shadow: inset 1px 0 0 var(--linie); }
  .use:nth-child(n+3) { border-top: 1px solid var(--linie); }
  .use:last-child { grid-column: 1 / -1; }
}

/* map */
.map-grid > * { min-width: 0; }
.map-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.map-text h2 { font-size: clamp(32px, 3.8vw, 54px); }
.big-n { display: block; font-size: clamp(96px, 13vw, 200px); line-height: .82; color: var(--rot); letter-spacing: -.03em; margin-bottom: 8px; }
.map-text .lead { margin-top: 20px; }
.zone-strip { display: flex; gap: 3px; margin-top: 32px; height: 64px; }
.zone-seg { flex: var(--n) 1 0; min-width: 0; overflow: hidden; border: 0; border-radius: 2px; background: var(--c); color: #fff; text-align: left; padding: 8px 10px; display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .3s var(--ease), opacity .3s; position: relative; }
.zone-seg b { font-stretch: 68%; font-size: 26px; line-height: 1; }
.zone-seg span { font-size: 12.5px; line-height: 1.1; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zone-strip:has(.zone-seg[aria-pressed="true"]) .zone-seg:not([aria-pressed="true"]) { opacity: .45; }
.zone-seg:hover { transform: translateY(-3px); }
.zone-names { margin-top: 16px; min-height: 3.2em; color: var(--nebel); font-size: 15px; line-height: 1.7; }
.zone-names a { color: #fff; text-decoration: none; }
.zone-names a:hover { color: var(--rot); }
.zone-names strong { color: #fff; }
.map-fig { margin: 0; }
.map-fig figcaption { color: var(--nebel); margin-top: 10px; }
.ch-map { width: 100%; height: auto; overflow: visible; }
.ch-map .m-cantons path { fill: #143553; stroke: #0b1f33; stroke-width: 1.2; }
.ch-map .m-lakes path { fill: #2b5d86; }
.ch-map .m-country path { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 1.6; stroke-linejoin: round; }
.ch-map .m-pin rect { fill: var(--rot); }
.ch-map .m-pulse { fill: none; stroke: var(--rot); stroke-width: 2; transform-box: fill-box; transform-origin: center; opacity: 0; }
.ch-map .m-town { fill: #fff; font-weight: 800; font-size: 17px; font-stretch: 110%; }
.ch-map .m-names { fill: var(--nebel); font-size: 13.5px; }
.ch-map .m-pin { cursor: default; outline: none; }
.ch-map .m-pin:focus-visible rect, .ch-map .m-pin:hover rect { fill: #fff; }
.ch-map .m-pin:focus-visible path, .ch-map .m-pin:hover path { fill: var(--rot); }
.ch-map.dim .m-pin { opacity: .2; transition: opacity .3s; }
@media (prefers-reduced-motion: no-preference) {
  .map-fig.in .m-pin { animation: pin-in .6s var(--ease) both; animation-delay: calc(.4s + var(--i) * .12s); }
  .map-fig.in .m-pulse { animation: pulse 2.8s ease-out infinite; animation-delay: calc(1.4s + var(--i) * .35s); }
}
@keyframes pin-in { from { opacity: 0; transform: translateY(-14px); } }
@keyframes pulse { 0% { opacity: .9; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(3.2); } }
@media (max-width: 900px) {
  .map-grid { grid-template-columns: 1fr; }
  .ch-map .m-names { display: none; }
  .ch-map .m-town { font-size: 22px; }
}

/* cost */
.cost-grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.cost-controls { display: grid; gap: 26px; position: sticky; top: calc(var(--head-h) + 24px); }
.cost-controls .label { font-weight: 700; font-size: 15px; }
.years-word { color: var(--rot); white-space: nowrap; }
.switch { display: flex; align-items: center; gap: 12px; font-weight: 600; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .track { width: 46px; height: 26px; border-radius: 13px; background: var(--linie); position: relative; flex: none; transition: background .25s; }
.switch .track::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .3s var(--ease); }
.switch input:checked + .track { background: var(--rot); }
.switch input:checked + .track::after { transform: translateX(20px); }
.switch input:focus-visible + .track { outline: 3px solid var(--rot); outline-offset: 3px; }
.cost-list { list-style: none; margin: 0; padding: 0; counter-reset: c; }
.cost-row { display: grid; grid-template-columns: 48px 1fr auto; gap: 6px 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--linie); position: relative; }
.cost-row:first-child { border-top: 2px solid var(--tinte); }
.cost-row .who { min-width: 0; }
.cost-row .who a { font-weight: 800; font-stretch: 108%; font-size: 19px; text-decoration: none; }
.cost-row .who a:hover { color: var(--rot); }
.cost-row .who div { font-size: 14px; color: var(--granit); }
.cost-row .total { text-align: right; font-size: clamp(30px, 3.4vw, 46px); line-height: 1; }
.cost-row .total small { display: block; font-size: 13px; font-stretch: 100%; font-weight: 500; color: var(--granit); margin-top: 4px; }
.cost-row .bar { grid-column: 2 / -1; height: 6px; background: var(--tinte); border-radius: 1px; width: var(--w); transition: width .7s var(--ease); }
.cost-row:first-child .bar { background: var(--rot); }
.cost-empty { padding: 24px 0; border-top: 2px solid var(--tinte); }
@media (max-width: 900px) { .cost-grid { grid-template-columns: 1fr; } .cost-controls { position: static; } }

/* speed */
.speed { overflow: hidden; isolation: isolate; }
.band-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .35; }
.speed::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--nacht) 0%, rgba(11, 31, 51, .86) 45%, rgba(11, 31, 51, .6) 100%); }
.speed-head { max-width: 760px; }
.speed-head .lead { margin: 18px 0 28px; }
.race { list-style: none; margin: clamp(32px, 4vw, 56px) 0 0; padding: 0; display: grid; gap: 6px; max-width: 980px; }
.race:empty { display: none; }
.lane { display: grid; grid-template-columns: 34px 200px 1fr 92px; gap: 14px; align-items: center; min-height: 44px; }
.lane .pos { font-stretch: 68%; font-weight: 700; color: var(--nebel); font-size: 18px; text-align: right; }
.lane .who { display: flex; align-items: center; gap: 10px; min-width: 0; font-weight: 700; }
.lane .who a { text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lane .who a:hover { color: var(--rot); }
.lane .who img { width: 22px; height: 22px; border-radius: 3px; background: #fff; padding: 2px; flex: none; }
.lane .track { height: 14px; position: relative; }
.lane .fill { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w, 0%); background: rgba(255, 255, 255, .85); border-radius: 1px; transition: width .9s var(--ease); }
.lane.first .fill { background: var(--rot); }
.lane.idle .track { border-left: 2px solid rgba(255, 255, 255, .5); }
.lane.idle .who { opacity: .75; }
.race:has(.idle) { gap: 2px; }
.lane.waiting .fill { width: 30%; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .35), rgba(255, 255, 255, 0)) 0 0 / 200% 100%; animation: shimmer 1.1s infinite linear; }
.lane .ms { font-stretch: 68%; font-weight: 700; font-size: 24px; text-align: right; font-variant-numeric: tabular-nums; }
.lane .ms small { font-size: 13px; font-stretch: 100%; font-weight: 500; color: var(--nebel); margin-left: 2px; }
.lane .zone { font-size: 12px; color: var(--nebel); }
.speed-note { color: var(--nebel); margin-top: 28px; max-width: 72ch; }
@media (max-width: 700px) {
  .lane { grid-template-columns: 22px 1fr 72px; gap: 4px 10px; }
  .lane .track { grid-column: 2 / -1; grid-row: 2; }
  .lane .ms { grid-column: 3; grid-row: 1; font-size: 20px; }
}

/* domain */
.domain h2 { max-width: 16ch; }
.domain-form { display: flex; gap: 12px; margin: clamp(28px, 4vw, 48px) 0 20px; max-width: 900px; }
.domain-input { flex: 1; display: flex; align-items: baseline; border-bottom: 4px solid var(--tinte); padding: 0 2px 6px; min-width: 0; transition: border-color .3s; }
.domain-input:focus-within { border-color: var(--rot); }
.domain-input input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-size: clamp(30px, 5vw, 64px); font-weight: 800; font-stretch: 110%; letter-spacing: -.02em; padding: 0; color: var(--tinte); }
.domain-input input::placeholder { color: #b8c6d2; }
.domain-input .www, .domain-input .tld { font-size: clamp(30px, 5vw, 64px); font-weight: 800; font-stretch: 110%; letter-spacing: -.02em; color: var(--granit); }
.domain-input .www { color: #b8c6d2; }
.domain-input .tld { color: var(--rot); }
.domain-form .btn { align-self: flex-end; min-height: 60px; padding: 0 32px; font-size: 18px; }
.domain-result { min-height: 72px; margin-bottom: 16px; }
.d-verdict { display: flex; align-items: center; gap: 14px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; font-stretch: 108%; }
.d-verdict .ph-fill { font-size: 1.4em; }
.d-verdict.free .ph-fill { color: var(--gruen); }
.d-verdict.taken .ph-fill { color: var(--rot); }
.d-more { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; }
.d-alt { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: var(--r); background: var(--eis); font-weight: 600; font-size: 15px; border: 0; }
.d-alt i { width: 9px; height: 9px; border-radius: 50%; background: var(--grau); }
.d-alt.free i { background: var(--gruen); }
.d-alt.taken i { background: var(--rot); }
@media (max-width: 640px) { .domain-form { flex-direction: column; } .domain-form .btn { align-self: stretch; } .domain-input .www { display: none; } }

/* providers slider */
.providers .head { margin-bottom: 28px; max-width: none; }
.slider { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 340px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))) 28px;
  scroll-padding: 0 max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); scrollbar-width: none; }
.slider::-webkit-scrollbar { display: none; }
.slider > * { scroll-snap-align: start; }
.slider .p-card { min-height: 250px; }
.slide-btn { box-shadow: inset 0 0 0 1.5px var(--linie); }

/* guides */
.guide-grid { display: grid; grid-template-columns: 7fr 5fr; grid-template-rows: auto auto; gap: 28px 40px; }
.g-item { text-decoration: none; display: grid; gap: 14px; align-content: start; }
.g-item img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); background: var(--eis); transition: transform .6s var(--ease); }
.g-item .imgbox { display: block; overflow: hidden; border-radius: var(--r); }
.g-item:hover img { transform: scale(1.03); }
.g-item h3 { transition: color .2s; }
.g-item:hover h3 { color: var(--rot); }
.g-item p { color: var(--granit); margin: 0; font-size: 16px; }
.g-item.main { grid-row: span 2; }
.g-item.main h3 { font-size: clamp(26px, 2.6vw, 36px); }
.g-item.side { grid-template-columns: 180px 1fr; gap: 18px; align-items: start; }
.g-item.side img { aspect-ratio: 4 / 3; }
.g-meta { font-size: 14px; color: var(--granit); }
@media (max-width: 900px) { .guide-grid { grid-template-columns: 1fr; } .g-item.main { grid-row: auto; } .g-item.side { grid-template-columns: 120px 1fr; } }

/* honest */
.honest-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.honest-figure { display: flex; flex-direction: column; }
.honest-figure .num { font-size: clamp(140px, 22vw, 320px); line-height: .78; color: var(--rot); letter-spacing: -.04em; }
.honest-figure .of { font-weight: 800; font-stretch: 112%; font-size: clamp(28px, 3vw, 44px); margin-top: 18px; }
.honest .lead { color: #fff; }
.honest p:not(.lead) { color: var(--nebel); max-width: 60ch; }
@media (max-width: 900px) { .honest-grid { grid-template-columns: 1fr; } }

/* faq */
.faq-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq-grid h2 { font-size: clamp(30px, 3.4vw, 48px); position: sticky; top: calc(var(--head-h) + 24px); }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid h2 { position: static; } }
