/* pricing: five plans as cards, Plus marked with the brand colour */
.preise { padding: clamp(96px, 12vw, 180px) var(--gutter); display: grid; gap: 40px; scroll-margin-top: 40px; }
.preise-head { display: grid; gap: 14px; }
.preise-karten { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.tarif { display: flex; flex-direction: column; gap: 12px; padding: 26px 22px 22px; border-radius: var(--r); background: var(--tile); }
.tarif h2 { font-size: 1.375rem; letter-spacing: -0.025em; }
.tarif-preis { font-size: clamp(2.5rem, 1.6rem + 2vw, 3.5rem); font-weight: 640; letter-spacing: -0.045em; line-height: 1; }
.tarif-preis--frage { font-size: clamp(1.75rem, 1.3rem + 1vw, 2.25rem); letter-spacing: -0.035em; padding: .2em 0 .25em; }
.tarif-was { color: var(--ink); font-weight: 600; line-height: 1.35; }
.tarif-los { margin-top: auto; padding-top: 14px; display: grid; gap: 10px; justify-items: start; }
.tarif-los .btn { padding: 13px 18px; font-size: 1rem; }
.tarif .btn-ghost { background: #fff; }
.tarif .btn-ghost:hover { background: var(--tile-2); }
.tarif-karte { color: var(--steel); font-size: .875rem; line-height: 1.4; }
.tarif--plus { background: var(--brand-tint); box-shadow: inset 0 0 0 1.5px var(--brand); }
.preise-guthaben { color: var(--ink-2); max-width: 64ch; }
.preise-netto { color: var(--ink); font-size: var(--t-lead); font-weight: 600; }
.preise-nur { color: var(--steel); font-size: .9375rem; }
@media (max-width: 1240px) {
  .preise-karten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tarif--teams { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .preise { gap: 28px; }
  .preise-karten { grid-template-columns: 1fr; gap: 12px; }
  .tarif { padding: 22px 20px 20px; }
}
.preise--seite .deko { top: clamp(78px, 7vw, 96px); width: clamp(40px, 4.4vw, 64px); }
.preise--seite { position: relative; min-height: 80svh; padding-top: clamp(96px, 8vw, 116px); gap: 26px; }
.preise--seite .preise-head { gap: 8px; }
.preise--seite .tarif { gap: 10px; padding-top: 22px; }
.tarif-liste { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; color: var(--ink-2); line-height: 1.35; }
.tarif-liste li { position: relative; padding-left: 22px; }
.tarif-liste li::before { content: ''; position: absolute; left: 3px; top: .28em; width: 5px; height: 10px; border: solid var(--brand); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.preise-zeit { justify-self: start; display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--tile); }
.preise-zeit[hidden] { display: none; }
.preise-zeit button { padding: 9px 18px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font: inherit; font-weight: 600; cursor: pointer; }
.preise-zeit button[aria-checked="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgb(0 0 0 / .08); }
.preise-zeit button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.tarif-preis small { display: block; margin-top: 6px; color: var(--steel); font-size: .875rem; font-weight: 500; letter-spacing: 0; line-height: 1.3; }
.tarif-statt { display: block; margin-bottom: 6px; color: var(--steel); font-size: .42em; font-weight: 560; letter-spacing: -0.02em; text-decoration-thickness: 1.5px; }
.tarif-statt[hidden] { display: none; }

/* The pricing page in the look of the home page: cobalt ground, white cards, one SunMate per plan. */
.preise--seite { overflow: hidden; background: var(--brand); color: #fff; min-height: 100svh; padding-top: clamp(124px, 11vw, 168px); padding-bottom: clamp(72px, 8vw, 120px); gap: clamp(28px, 3vw, 44px); align-content: start; }
.preise--seite::after { content: ''; position: absolute; right: -20vw; bottom: -40vh; width: 70vw; height: 90vh; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.14), transparent); pointer-events: none; }
.preise--seite > * { position: relative; z-index: 1; }
.preise--seite .preise-head { gap: 10px; }
.preise--seite .h2 { font-size: clamp(2.75rem, 1.2rem + 5vw, 5.75rem); font-weight: 700; letter-spacing: -0.05em; line-height: .96; margin-bottom: 8px; }
.preise--seite .preise-netto { color: #fff; }
.preise--seite .preise-nur { color: var(--on-brand-2); }
.preise--seite .preise-zeit { margin-top: 14px; background: rgba(255,255,255,.16); }
.preise--seite .preise-zeit button { color: #fff; }
.preise--seite .preise-zeit button[aria-checked="true"] { background: #fff; color: var(--brand); box-shadow: none; }
.preise--seite .preise-zeit button:focus-visible { outline-color: #fff; }
.preise--seite .tarif { position: relative; background: #fff; color: var(--ink); padding: 26px 22px 22px; box-shadow: 0 34px 60px -34px rgba(4,10,60,.8); }
.preise--seite .tarif h2 { padding-right: 64px; }
.preise--seite .tarif .btn-ghost { background: var(--tile); }
.preise--seite .tarif .btn-ghost:hover { background: var(--tile-2); }
.preise--seite .tarif--plus { background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.38), 0 40px 70px -30px rgba(4,10,60,.9); }
.tarif-fig { position: absolute; top: 14px; right: 16px; width: 54px; filter: drop-shadow(0 8px 8px rgba(8,16,80,.18)); }
@media (max-width: 640px) { .preise--seite { padding-top: 112px; } }
.preise--seite .tarif-liste { font-size: .9375rem; }
.tarif-liste--icons { gap: 9px; }
.tarif-liste--icons li { display: flex; align-items: flex-start; gap: 9px; padding-left: 0; }
.tarif-liste--icons li::before { content: none; }
.tarif-liste--icons .icon { flex: none; width: 18px; height: 18px; margin-top: .08em; color: var(--brand); }
/* the cards are always upright: on wide screens the row stays narrow enough, in between three stand side by side */
.preise--seite .preise-karten { max-width: 1400px; }
.preise--seite .tarif { width: 100%; aspect-ratio: 5 / 7.4; }
@media (max-width: 1240px) {
  .preise--seite .preise-karten { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 900px; }
  .preise--seite .tarif--teams { grid-column: auto; }
}
@media (max-width: 720px) {
  .preise--seite .preise-karten { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 620px; }
}
@media (max-width: 560px) {
  .preise--seite .preise-karten { grid-template-columns: 1fr; max-width: 360px; }
  .preise--seite .tarif { aspect-ratio: 5 / 6.4; }
}
/* so that the plans fit on one screen: the head in one row (headline left, the switch right),
   a smaller headline, tighter cards */
.preise--seite { padding-top: clamp(100px, 7.5vw, 124px); padding-bottom: clamp(48px, 5vw, 80px); gap: clamp(20px, 2vw, 30px); }
.preise--seite .preise-head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 4px 24px; max-width: 1400px; }
.preise--seite .preise-head > * { grid-column: 1; }
.preise--seite .preise-head .preise-zeit { grid-column: 2; grid-row: 1 / span 3; align-self: end; margin: 0; }
.preise--seite .h2 { font-size: clamp(2.5rem, 1.2rem + 3.4vw, 4.25rem); margin-bottom: 6px; }
.preise--seite .preise-netto { font-size: 1.0625rem; }
.preise--seite .tarif { padding: 22px 20px 20px; gap: 8px; }
.preise--seite .tarif h2 { font-size: 1.25rem; line-height: 1.15; min-height: 2.3em; padding-right: 58px; }
.preise--seite .tarif-preis { font-size: clamp(2.25rem, 1.5rem + 1.6vw, 3rem); }
.preise--seite .tarif-preis--frage { font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem); padding: .28em 0 .3em; }
.preise--seite .tarif-preis small { margin-top: 4px; }
.preise--seite .tarif-liste { font-size: .90625rem; line-height: 1.3; margin-top: 4px; }
.preise--seite .tarif-liste span { min-width: 0; overflow-wrap: break-word; hyphens: auto; hyphenate-limit-chars: 14 6 6; }
.preise--seite .tarif-los { padding-top: 10px; }
.preise--seite .tarif-los .btn { padding: 12px 16px; font-size: .9375rem; white-space: normal; text-align: center; }
.tarif-fig { top: 12px; right: 14px; width: 48px; }
@media (max-width: 900px) {
  .preise--seite .preise-head { grid-template-columns: 1fr; }
  .preise--seite .preise-head .preise-zeit { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 12px; }
}
@media (max-width: 1240px) { .preise--seite .tarif h2 { min-height: 0; } }
/* a card never gets wider than its column (its upright shape must not push the column open:
   on narrow phones the card was cut off at the right edge) */
.preise--seite { grid-template-columns: minmax(0, 1fr); }
.preise--seite .preise-karten { width: 100%; min-width: 0; }
.preise--seite .tarif { min-width: 0; }
@media (max-width: 560px) { .preise--seite .preise-karten { max-width: none; } .preise--seite .tarif { aspect-ratio: auto; min-height: 380px; } }
/* low screens: a little less air above, so the row of plans still fits */
@media (min-width: 1241px) and (max-height: 780px) {
  .preise--seite { padding-top: 86px; gap: 16px; }
  .preise--seite .h2 { font-size: clamp(2.25rem, 1rem + 2.6vw, 3.25rem); }
  .preise--seite .tarif { padding: 18px 18px 18px; }
}
