/* =============================================================================
   vergleich_excel.css — eigene Bausteine der Prüffassung „Hyptime statt Excel und Word“ (Präfix ve-)
   Basis: verkauf_seiten.css. Akzentfarbe Tannengrün #0f766e (Kontrast auf Weiß 5,5:1).
   Logische Eigenschaften (RTL-tauglich).
   ============================================================================= */
#container.ve-seite { --ve: #0f766e; --ve-l: #e7f4f2; --ve-b: rgba(15,118,110,0.28); }
#container.ve-seite .accent, #container.ve-seite .badge-label { color: var(--ve); }
#container.ve-seite .hero h1 { font-size: clamp(2.2rem, 4.2vw, 4.2rem); }
#container.ve-seite .card-icon, #container.ve-seite .feat-list .fi { background: var(--ve-l); color: var(--ve); }

/* Produktansicht im Kopf: Vorlage gegen Beleg */
#container .ve-hv { position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 18px; align-items: center; }
#container .ve-alt { background: #fbfbfc; border: 1px dashed #c9ced8; border-radius: 16px; padding: 16px; transform: rotate(-2deg); color: #6e6e73; min-width: 0; }
#container .ve-alt-kopf { display: flex; align-items: center; gap: 8px; font-size: .74rem; color: #55555a; margin-bottom: 12px; overflow-wrap: anywhere; }
#container .ve-alt-kopf i { flex: 0 0 auto; width: 18px; height: 22px; border-radius: 3px; background: #2b579a; display: block; }
#container .ve-alt ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
#container .ve-alt li { font-size: .78rem; line-height: 1.35; background: #fff; border: 1px solid #ececf0; border-radius: 8px; padding: 7px 9px; position: relative; padding-inline-start: 26px; }
#container .ve-alt li::before { content: "?"; position: absolute; inset-inline-start: 8px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: #fff3d6; color: #8a5a00; font-size: .62rem; font-weight: 600; display: flex; align-items: center; justify-content: center; }
#container .ve-tag { display: inline-block; margin-top: 12px; font-size: .7rem; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: #6e6e73; }
#container .ve-neu { background: #fff; border-radius: 18px; box-shadow: 0 30px 70px rgba(0,30,60,.14), 0 0 0 1px rgba(0,0,0,.05); overflow: hidden; min-width: 0; }
#container .ve-neu-kopf { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid #ececf0; }
#container .ve-neu-kopf b { font-family: 'Roboto Serif', serif; font-weight: 600; font-size: 1rem; color: #1d1d1f; overflow-wrap: anywhere; }
#container .ve-neu-kopf span { font-size: .7rem; font-weight: 500; color: var(--ve); background: var(--ve-l); border-radius: 50px; padding: 3px 9px; white-space: nowrap; }
#container .ve-neu-body { padding: 14px 16px 16px; }
#container .ve-kunde { font-size: .8rem; color: #55555a; margin-bottom: 10px; }
#container .ve-pos { display: flex; justify-content: space-between; gap: 10px; font-size: .8rem; color: #1d1d1f; padding: 7px 0; border-bottom: 1px solid #f1f1f4; }
#container .ve-pos.summe { border-bottom: 0; font-weight: 600; padding-top: 10px; }
#container .ve-pos span:last-child { white-space: nowrap; }
#container .ve-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
#container .ve-chips span { font-size: .7rem; font-weight: 500; border-radius: 50px; padding: 3px 9px; background: #f1f5f9; color: #334155; display: inline-flex; align-items: center; gap: 4px; }
#container .ve-chips span.ok { background: #e9f7ee; color: #1a7a3a; }
#container .ve-chips span.offen { background: #fff4d6; color: #7a5a00; }

/* Grenzen als Karten */
#container .ve-karten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
#container .ve-karten .card h3 { font-size: clamp(1.1rem, 1.3vw, 1.3rem); }

/* Vergleichstabelle */
#container.ve-seite .cmp th.us { background: var(--ve); }
#container.ve-seite .cmp td.us { background: rgba(15,118,110,0.06); }
#container .ve-legende { text-align: center; font-size: .85rem; color: #6e6e73; margin-top: 16px; }

/* Ablauf in fünf Schritten */
#container .ve-schritte { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; counter-reset: ve; }
#container .ve-schritte li { counter-increment: ve; background: #fff; border: 1px solid #ececf0; border-radius: 18px; padding: 20px 18px; position: relative; min-width: 0; }
#container .ve-schritte li::before { content: counter(ve); display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ve); color: #fff; font-weight: 500; margin-bottom: 12px; }
#container .ve-schritte h3 { font-family: 'Roboto', sans-serif; font-weight: 500; font-size: 1.02rem; margin-bottom: 6px; }
#container .ve-schritte p { font-size: .9rem; }

#container .ve-h4 { font-family: 'Roboto', sans-serif; font-weight: 500; font-size: 1.02rem; margin-bottom: 3px; }
#container .ve-link { color: var(--ve); font-weight: 500; }
#container .ve-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Umstieg-Hinweis */
#container .ve-umstieg { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px; background: var(--ve-l); border: 1px solid var(--ve-b); border-radius: 22px; padding: clamp(22px, 3vw, 34px); margin-top: 40px; }
#container .ve-umstieg h3 { font-size: clamp(1.2rem, 1.8vw, 1.6rem); margin-bottom: 6px; }
#container .ve-umstieg p { max-width: 640px; }
#container .ve-umstieg .btn { background: var(--ve); flex: 0 0 auto; }

#container.ve-seite .vk-rel a { --c: var(--ve); --cb: var(--ve-b); }
#container.ve-seite .vk-rel .go { color: var(--ve); }
#container.ve-seite .cta-section { background: linear-gradient(135deg, #0b4f4a 0%, #0f766e 55%, #148f86 100%); }
#container.ve-seite .cta-section .btn.white { color: var(--ve); }

@media (max-width: 1100px) {
    #container .ve-schritte { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    #container .ve-hv { max-width: 640px; margin: 0 auto; width: 100%; }
}
@media (max-width: 820px) {
    #container .ve-karten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #container .ve-schritte { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    #container .ve-hv { grid-template-columns: minmax(0, 1fr); }
    #container .ve-alt { transform: none; }
    #container .ve-karten, #container .ve-schritte { grid-template-columns: minmax(0, 1fr); }
    #container .ve-umstieg .btn { width: 100%; }
}
@media (min-width: 1101px) { #container.ve-seite .vk-rel { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
