/* Struktur des Preisabschnitts.
 *
 * Wie die uebrigen eigenen Stilblaetter steht diese Datei vor styles.css:
 * hier liegt nur das Geruest - wie viele Karten nebeneinander stehen, wo der
 * Preis sitzt, wann umgebrochen wird. Farben und Anmutung kommen aus
 * styles.css und gehoeren dorthin.
 */

.preis-tafel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: stretch;
}

.preis-karte {
    display: flex;
    flex-direction: column;
    padding: 29px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: linear-gradient(145deg, #151b20, #0e1317);
    transition: .18s;
}

.preis-karte:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 196, 0, .35);
}

/* Ein Paket wird hervorgehoben: die Karte, die zur groessten Zahl von
 * Betrieben passt. Wer vor drei gleich aussehenden Karten steht, entscheidet
 * sich haeufig fuer keine. */
.preis-karte.ist-empfohlen {
    border-color: rgba(255, 196, 0, .55);
}

.preis-marke {
    align-self: flex-start;
    margin-bottom: 14px;
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--yellow);
    color: #111;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.preis-karte h3 {
    font-size: 25px;
    margin: 0 0 6px;
}

.preis-fuer {
    color: var(--muted);
    font-size: 14px;
    margin: 0 0 22px;
    min-height: 42px;
}

.preis-zahl {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.preis-zahl strong {
    font-size: 42px;
    line-height: 1;
    letter-spacing: -.04em;
}

.preis-zahl span {
    color: var(--muted);
    font-size: 13px;
}

.preis-nutzer {
    margin: 12px 0 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
    color: #c8cbce;
    font-size: 14px;
}

.preis-merkmale {
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 11px;
    font-size: 14px;
    color: #c8cbce;
}

.preis-merkmale li {
    display: grid;
    grid-template-columns: 22px 1fr;
    align-items: start;
}

.preis-merkmale li i {
    font-style: normal;
    color: var(--yellow);
}

/* Was fehlt, bleibt lesbar, tritt aber zurueck: genau diese Zeilen sind der
 * Grund, warum jemand auf das naechstgroessere Paket schaut. */
.preis-merkmale .ist-draussen {
    color: #7f868b;
}

.preis-merkmale .ist-draussen i {
    color: #4d545a;
}

.preis-karte .button {
    margin-top: auto;
    width: 100%;
}

.preis-fuss {
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    color: var(--muted);
    font-size: 13px;
}

.preis-fuss strong {
    display: block;
    margin-bottom: 5px;
    color: var(--text);
    font-size: 14px;
}

@media (max-width: 980px) {
    .preis-tafel { grid-template-columns: 1fr; }
    .preis-fuer  { min-height: 0; }
    .preis-fuss  { grid-template-columns: 1fr; gap: 18px; }
}
