/* provider page: /de/anbieter/<slug> */

/* ---------- first screen ---------- */
.ad-hero { min-height: min(92dvh, 900px); }
.ad-hero::after { background: linear-gradient(180deg, rgba(11, 31, 51, .6) 0%, rgba(11, 31, 51, .1) 26%, rgba(11, 31, 51, .35) 52%, rgba(11, 31, 51, .92) 100%),
  linear-gradient(90deg, rgba(11, 31, 51, .6) 0%, rgba(11, 31, 51, .25) 55%, rgba(11, 31, 51, 0) 80%); }
.ad-hero .crumbs { margin-bottom: clamp(20px, 3vw, 40px); }
.ad-hero .crumbs { color: rgba(255, 255, 255, .85); text-shadow: 0 1px 8px rgba(11, 31, 51, .8); }
.ad-hero .crumbs [aria-current] { color: #fff; }
.ad-id { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.ad-id .zone { color: #fff; background: rgba(11, 31, 51, .55); padding: 6px 12px 6px 10px; border-radius: var(--r); }
.ad-hero h1.ad-name { max-width: none; font-size: clamp(56px, 12.5vw, 184px); font-stretch: 118%; line-height: .9; letter-spacing: -.035em; overflow-wrap: normal; }
.ad-hero .lead { max-width: 52ch; margin-top: 22px; }
.ad-keys { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 36px; margin-top: 28px; }
.ad-keys p { margin: 0; }
.ad-price { display: flex; align-items: baseline; gap: 10px; }
.ad-price .price { font-size: clamp(44px, 5vw, 72px); line-height: 1; }
.ad-from, .ad-per { font-weight: 600; font-size: 17px; color: rgba(255, 255, 255, .8); }
.ad-rating { display: flex; align-items: baseline; gap: 10px; font-size: 22px; }
.ad-rating .stars { font-size: 26px; }
.muted-l { font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .75); }
.ad-hero .actions { align-items: center; margin-top: 26px; }
.ad-hero .cmp { color: #fff; }
.ad-hero .cmp:hover { background: rgba(255, 255, 255, .12); }
.ad-note { display: flex; gap: 8px; align-items: flex-start; max-width: 58ch; margin: 16px 0 0; color: rgba(255, 255, 255, .78); }
.ad-note .ph { font-size: 18px; margin-top: 1px; color: #fff; }
.ad-note .link:hover { color: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .ad-hero > img { animation: ad-settle 2.4s var(--ease) both; }
  .ad-hero .ad-name, .ad-hero .lead, .ad-keys, .ad-hero .actions { animation: ad-rise 1s var(--ease) both; }
  .ad-hero .lead { animation-delay: .12s; }
  .ad-keys { animation-delay: .2s; }
  .ad-hero .actions { animation-delay: .28s; }
}
@keyframes ad-settle { from { transform: scale(1.06); } }
@keyframes ad-rise { from { opacity: 0; transform: translateY(24px); } }

/* ---------- price dock ---------- */
.ad-dock { position: fixed; z-index: 44; background: var(--nacht); color: #fff; border-radius: var(--r); box-shadow: var(--shadow);
  visibility: hidden; opacity: 0; transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .45s; }
.ad-dock.show { visibility: visible; opacity: 1; transform: none; transition: opacity .35s var(--ease), transform .45s var(--ease); }
.ad-dock .logo-tile { width: 40px; height: 40px; }
.ad-dock .logo-tile img { width: 26px; height: 26px; }
.dock-id { display: flex; align-items: center; gap: 12px; min-width: 0; }
.dock-id > div { min-width: 0; display: flex; flex-direction: column; }
.dock-name { font-weight: 800; font-stretch: 110%; font-size: 19px; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ad-dock .stars { font-size: 14px; }
.dock-price { margin: 0; display: flex; align-items: baseline; gap: 6px; }
.dock-price .price { font-size: 40px; line-height: 1; }
.ad-dock .ad-from, .ad-dock .ad-per { font-size: 14px; color: var(--nebel); }
.dock-act { display: flex; align-items: center; gap: 6px; }
.dock-note { margin: 0; font-size: 13px; color: var(--nebel); }
.ad-dock .cmp { color: #fff; }
.dark ~ .ad-dock, .ad-dock { outline: 1px solid rgba(255, 255, 255, .14); outline-offset: -1px; }

/* wide screens: a side column next to the content */
@media (min-width: 1200px) {
  .ad-dock { top: calc(var(--head-h) + 28px); right: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); width: 272px; padding: 20px;
    display: grid; gap: 16px; transform: translateY(12px); }
  .dock-act { flex-direction: column; align-items: stretch; }
  .dock-act .btn { width: 100%; }
  .dock-act .cmp { justify-content: center; }
  #ad-root > .band > .wrap { padding-right: calc(var(--gut) + 304px); }
}
/* phones and tablets: a bar at the bottom */
@media (max-width: 1199px) {
  .ad-dock { left: 8px; right: 8px; bottom: 8px; padding: 10px 10px 10px 14px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; transform: translateY(120%); }
  .dock-id { grid-column: 1; grid-row: 1; }
  .dock-id .logo-tile, .ad-dock .stars, .dock-note, .ad-dock .cmp { display: none; }
  .dock-name { font-size: 16px; }
  .dock-price { grid-column: 1; grid-row: 2; }
  .dock-price .price { font-size: 26px; }
  .dock-act { grid-column: 2; grid-row: 1 / 3; }
  .ad-dock .ad-per { font-size: 13px; }
  body.ad-page { padding-bottom: 84px; }
  body.ad-page:has(.ad-dock.show) .tray { bottom: 92px; }
}

/* ---------- plans side by side ---------- */
.plan-table { display: grid; grid-template-columns: minmax(150px, 190px) repeat(var(--n), minmax(0, 320px)); grid-template-rows: repeat(var(--rows), auto); column-gap: 0; }
.pt-col { grid-row: 1 / span var(--rows); display: grid; grid-template-rows: subgrid; position: relative; }
.pt-cell { padding: 14px 20px; border-top: 1px solid var(--linie); display: flex; align-items: center; font-size: 16px; min-width: 0; }
.pt-labels .pt-cell { padding-left: 0; font-weight: 700; font-size: 15px; color: var(--granit); }
.pt-head { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 4px; padding-top: 28px; padding-bottom: 18px; border-top: 0; }
.pt-col.plan .pt-head { border-bottom: 2px solid var(--tinte); }
.pt-labels .pt-head { border-bottom: 2px solid var(--tinte); }
.pt-col.plan + .pt-col.plan { box-shadow: inset 1px 0 0 var(--linie); }
.pt-head h3 { font-size: clamp(20px, 1.7vw, 24px); }
.pt-price { margin: 0; font-size: clamp(32px, 3vw, 44px); line-height: 1.05; }
.pt-price small { display: block; font-size: 15px; margin: 4px 0 0; }
.pt-l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pt-v { font-weight: 600; }
.pt-col.cheap { background: #fff; box-shadow: inset 0 0 0 2px var(--rot); border-radius: var(--r); }
.pt-col.cheap + .pt-col.plan { box-shadow: none; }
.pt-col.cheap .pt-head { border-bottom-color: var(--rot); }
.pt-col.cheap .pt-price { color: var(--rot); }
.pt-tag { display: inline-block; background: var(--rot); color: #fff; font-size: 13px; font-weight: 700; padding: 3px 8px; border-radius: 3px; margin-bottom: 6px; }
.na { color: var(--granit); font-weight: 400; font-style: italic; }
.dark .na { color: var(--nebel); }
.yes, .no { display: inline-flex; align-items: center; gap: 6px; }
.yes .ph { color: var(--gruen); font-size: 18px; }
.no { color: var(--granit); font-weight: 500; }
.pt-for { display: flex; flex-wrap: wrap; gap: 6px; }
.pt-for span { font-size: 14px; font-weight: 600; padding: 2px 8px; border-radius: 3px; background: var(--eis); }
.plan-foot { margin-top: 20px; }
@media (max-width: 760px) {
  .plan-table { grid-template-columns: 1fr; grid-template-rows: none; gap: 20px; }
  .pt-labels { display: none; }
  .pt-col { grid-row: auto; display: block; }
  .pt-col.plan + .pt-col.plan { box-shadow: none; }
  .pt-col.cheap { box-shadow: inset 0 0 0 2px var(--rot); }
  .pt-cell { justify-content: space-between; gap: 16px; padding: 10px 0; }
  .pt-col.cheap .pt-cell { padding-left: 16px; padding-right: 16px; }
  .pt-head { padding-top: 16px; }
  .pt-l { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; color: var(--granit); font-size: 15px; }
  .pt-v { text-align: right; }
  .pt-for { justify-content: flex-end; }
}

/* ---------- where the data lives ---------- */
.where-grid { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.where-text h2 { font-size: clamp(32px, 3.8vw, 54px); max-width: 16ch; }
.where-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: 44px; border-radius: 2px; background: var(--c); color: #fff; padding: 8px 10px; display: flex; flex-direction: column; justify-content: space-between; opacity: .38; }
.zone-seg.on { opacity: 1; box-shadow: 0 0 0 2px #fff; }
.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; }
.strip-note { margin-top: 12px; }
.where-map { margin: 0; }
.where-map 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: 22px; font-stretch: 110%; }
.ch-map .m-names { fill: var(--nebel); font-size: 15px; }
.ch-map .m-pin { outline: none; }
@media (prefers-reduced-motion: no-preference) {
  .where-map.in .m-pin { animation: ad-pin .7s var(--ease) .4s both; }
  .where-map.in .m-pulse { animation: ad-pulse 2.8s ease-out 1.2s infinite; }
}
@keyframes ad-pin { from { opacity: 0; transform: translateY(-16px); } }
@keyframes ad-pulse { 0% { opacity: .9; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(3.2); } }
.where-loc { border-top: 2px solid #fff; padding-top: 24px; }
.zone-big { display: flex; align-items: center; gap: 14px; font-weight: 800; font-stretch: 112%; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.05; letter-spacing: -.02em; }
.zone-big i { width: 22px; height: 22px; border-radius: 50%; flex: none; }
.where-loc dl { margin: 28px 0 0; display: grid; gap: 18px; }
.where-loc dt { font-size: 14px; color: var(--nebel); }
.where-loc dd { margin: 2px 0 0; font-size: clamp(20px, 1.8vw, 24px); font-weight: 700; }
@media (max-width: 900px) {
  .where-grid { grid-template-columns: 1fr; }
  .ch-map .m-names { display: none; }
  .ch-map .m-town { font-size: 26px; }
}
@media (max-width: 480px) { .zone-seg span { display: none; } .zone-seg { min-width: 30px; padding: 8px 6px; } }

/* ---------- speed ---------- */
.speed-grid { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(32px, 5vw, 72px); align-items: end; }
.ad-speed h2 { font-size: clamp(32px, 3.8vw, 54px); }
.ad-speed .lead { margin: 18px 0 28px; }
.speed-ms { margin: 0; display: flex; align-items: baseline; gap: 8px; line-height: .85; }
.speed-ms .num { font-size: clamp(110px, 15vw, 220px); letter-spacing: -.04em; color: var(--tinte); min-width: 1ch; }
.speed-ms small { font-weight: 700; font-size: clamp(24px, 2.4vw, 34px); color: var(--granit); }
.speed-bar { display: block; height: 10px; width: var(--w, 0%); background: var(--rot); border-radius: 1px; margin-top: 18px; transition: width .9s var(--ease); }
.speed-sub { margin: 16px 0 0; font-weight: 600; min-height: 3.2em; }
.speed-note { margin-top: 12px; max-width: 60ch; }
@media (max-width: 900px) { .speed-grid { grid-template-columns: 1fr; } }

/* ---------- cost ---------- */
.cost-grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.cost-controls { display: grid; gap: 26px; }
.cost-controls .label { font-weight: 700; font-size: 15px; }
.years-word { color: var(--rot); white-space: nowrap; }
.cost-out { border-top: 2px solid var(--tinte); padding-top: 18px; }
.cost-total { margin: 0; font-size: clamp(64px, 9vw, 132px); line-height: .9; letter-spacing: -.03em; }
.cost-sub { margin: 12px 0 0; color: var(--granit); }
.cost-years { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; height: 220px; align-items: end; }
.cost-years li { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-width: 0; }
.cy-bar { display: block; height: var(--h); background: var(--tinte); border-radius: 1px; opacity: 0; transform: scaleY(.6); transform-origin: bottom; transition: opacity .35s, transform .5s var(--ease); }
.cost-years li.on .cy-bar { opacity: 1; transform: none; }
.cost-years li.last .cy-bar { background: var(--rot); }
.cy-sum { font-stretch: 68%; font-weight: 700; font-size: clamp(15px, 1.6vw, 21px); font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--granit); }
.cost-years li.on .cy-sum { color: var(--tinte); }
.cy-y { font-size: 13px; color: var(--granit); border-top: 1px solid var(--linie); padding-top: 6px; }
@media (max-width: 900px) { .cost-grid { grid-template-columns: 1fr; } .cost-years { height: 170px; } }
@media (max-width: 420px) { .cy-sum { font-size: 13px; } }

/* ---------- review ---------- */
.review-top { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.review-score { display: flex; flex-direction: column; }
.review-score .num { font-size: clamp(110px, 14vw, 210px); line-height: .78; color: var(--rot); letter-spacing: -.04em; }
.review-score .of { font-weight: 800; font-stretch: 112%; font-size: clamp(20px, 2vw, 28px); margin-top: 14px; }
.review-top h2 { font-size: clamp(30px, 3.4vw, 48px); }
.review-lead { font-size: clamp(20px, 1.8vw, 25px); line-height: 1.45; margin: 18px 0 12px; max-width: 46ch; }
.scores { list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 24px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; border-top: 2px solid var(--tinte); }
.scores li { display: flex; flex-direction: column; gap: 4px; }
.sc-l { font-weight: 700; font-size: 15px; color: var(--granit); }
.sc-n { font-size: clamp(56px, 6vw, 88px); line-height: .9; }
.sc-bar { display: block; height: 8px; width: var(--w); background: var(--tinte); border-radius: 1px; margin-top: 8px; }
.pc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); margin-top: clamp(40px, 5vw, 64px); }
.pc h3 { margin-bottom: 12px; }
.pc-list { list-style: none; margin: 0; padding: 0; }
.pc-list li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--linie); font-weight: 600; }
.pc-list .ph { flex: none; width: 26px; height: 26px; border-radius: var(--r); display: grid; place-items: center; font-size: 16px; color: #fff; margin-top: 1px; }
.pc-list.pro .ph { background: var(--gruen); }
.pc-list.con .ph { background: var(--granit); }
.review-body { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 80px); margin-top: clamp(48px, 6vw, 80px); align-items: start; }
.review-body .prose > :first-child { margin-top: 0; }
.review-side { display: grid; gap: 32px; position: sticky; top: calc(var(--head-h) + 24px); }
.verdict { margin: 0; background: var(--nacht); color: #fff; border-radius: var(--r); padding: clamp(22px, 3vw, 36px); box-shadow: inset 6px 0 0 var(--rot); }
.verdict p { margin: 8px 0 0; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.45; font-weight: 600; }
.v-label { font-weight: 800; font-stretch: 112%; color: var(--rot); font-size: 15px; letter-spacing: .02em; }
.for h3 { margin-bottom: 12px; }
.for-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.for-list li { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: var(--r); background: #fff; box-shadow: inset 0 0 0 1.5px var(--linie); font-weight: 600; font-size: 15px; }
@media (max-width: 1000px) { .scores { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .review-body { grid-template-columns: 1fr; } .review-side { position: static; } }
@media (max-width: 640px) {
  .review-top { grid-template-columns: 1fr; }
  .review-score { flex-direction: row; align-items: baseline; gap: 12px; }
  .scores { grid-template-columns: 1fr 1fr; }
  .pc { grid-template-columns: 1fr; }
}

/* ---------- alternatives ---------- */
.alt-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.alt-text h2 { font-size: clamp(30px, 3.4vw, 48px); }
.alt-text .lead { margin-top: 18px; }
.alt-list { display: grid; gap: 0; border-top: 2px solid var(--tinte); }
.alt-list .p-card { box-shadow: none; border-radius: 0; border-bottom: 1px solid var(--linie); padding: 22px 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 20px; background: transparent; }
.alt-list .p-card:hover { box-shadow: none; transform: none; }
.alt-list .p-card:hover h3 a { color: var(--rot); }
.alt-list .p-card .top { grid-column: 1; }
.alt-list .p-card > p { grid-column: 1; margin: 0; }
.alt-list .p-card .foot { grid-column: 2; grid-row: 1 / 3; flex-direction: column; align-items: flex-end; justify-content: center; margin: 0; }
.alt-diff { color: var(--tinte); }
@media (max-width: 900px) { .alt-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .alt-list .p-card { grid-template-columns: 1fr; }
  .alt-list .p-card .foot { grid-column: 1; grid-row: auto; flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ---------- facts ---------- */
.facts-grid { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.ad-facts h2 { font-size: clamp(30px, 3.4vw, 48px); margin-bottom: 28px; }
.facts { margin: 0; border-top: 2px solid #fff; }
.facts > div { display: grid; grid-template-columns: 180px 1fr; gap: 6px 20px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.facts dt { color: var(--nebel); font-size: 15px; }
.facts dd { margin: 0; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.facts .zone { color: #fff; margin-right: 10px; }
.f-loc { display: block; color: var(--nebel); font-weight: 500; margin-top: 2px; }
.f-cats { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.f-cats a { text-decoration: none; box-shadow: inset 0 -2px 0 var(--rot); }
.f-cats a:hover { color: var(--rot); }
.ad-facts .about { color: var(--nebel); font-size: 17px; }
.ad-facts .about h3 { color: #fff; margin: 0 0 14px; }
.ad-facts .about a { color: #fff; }
@media (max-width: 900px) { .facts-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .facts > div { grid-template-columns: 1fr; } }

/* ---------- unknown provider ---------- */
.missing-near { margin-top: 32px; }
.missing-near p { margin-bottom: 10px; }
.missing-near .chip { text-decoration: none; }

/* pure e-mail products below the plan table */
.mail-plans { display: flex; gap: 12px; align-items: flex-start; margin: 24px 0 0; padding: 16px 18px; background: var(--eis); border-radius: var(--r); max-width: 900px; }
.mail-plans .ph { font-size: 22px; color: var(--rot); margin-top: 2px; }

/* sources of the review (independent tests and customer ratings) */
.prose .rev-sources, .rev-sources { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 14px; }
.rev-sources li { background: #fff; border-radius: var(--r); padding: 16px 18px; box-shadow: inset 0 0 0 1px var(--linie); }
.rev-sources li::marker { content: none; }
.rs-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 6px; }
.rs-kind { font-size: 14px; color: var(--granit); }
.rs-score { margin-left: auto; font-size: 22px; color: var(--rot); }
.rs-score small { font-size: 13px; color: var(--granit); font-stretch: 100%; font-weight: 500; }
.rev-sources p { margin: 0 0 6px; font-size: 16px; }

/* deal box next to the plans heading */
.plans-top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; margin-bottom: clamp(28px, 4vw, 48px); }
.plans-top .head { margin-bottom: 0; }
#ad-deal:empty { display: none; }
@media (max-width: 900px) { .plans-top { grid-template-columns: 1fr; } }

.plans-top > * { min-width: 0; }
