/* ══════════════════════════════════════════
   Jog690Social – PREISE PAGE CSS
   Datei: template-sites/assets/preise.css
   (wird von pages/preise.php per ts_open() geladen,
    global.css mit den tt-/sv-Klassen und Variablen ist schon aktiv)
══════════════════════════════════════════ */

/* ── Pricing Slider ─────────────────────────────────── */
.price-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 32px 26px;
    position: relative;
    transition: all 0.25s;
    box-shadow: var(--shadow);
}

.price-slider-outer {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 var(--px);
  max-width: calc(var(--content) + 2 * var(--px) + 80px);
  margin: 0 auto;
}
.price-slider-viewport {
  overflow: hidden;
  flex: 1;
  padding: 16px 0 16px;
}
.price-slider-track {
  display: flex;
  gap: 20px;
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.price-slide {
  flex-shrink: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 32px 24px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
}
.price-slide:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.price-card--featured {
  background: linear-gradient(160deg, var(--blue), var(--dark));
  border-color: transparent;
  color: #fff;
}
.price-badge {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  padding: 3px 14px 3px 8px;
  border-radius: 100px;
  margin-bottom: 14px;
  align-self: flex-start;
  font-family: var(--fh);
  letter-spacing: .04em;
}
.price-name {
  font-family: var(--fh);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 6px;
}
.price-card--featured .price-name { color: rgba(255,255,255,0.65); }

.price-subtitle {
  font-size: .75rem;
  color: var(--font-color);
  margin-bottom: 12px;
  opacity: .75;
  line-height: 1.4;
}
.price-card--featured .price-subtitle { color: rgba(255,255,255,0.6); }

.price-amount {
  font-family: var(--fh);
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 4px;
}
.price-amount sup { font-size: 1.1rem; vertical-align: middle; margin-right: 2px; }
.price-card--featured .price-amount { color: #fff; }

.price-period {
  font-size: .78rem;
  color: #888;
  margin-bottom: 24px;
}
.price-card--featured .price-period { color: rgba(255,255,255,0.55); }

.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}
.price-features li {
  font-size: .84rem;
  color: var(--font-color);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.45;
}
.price-card--featured .price-features li { color: rgba(255,255,255,0.85); }
.price-features .check { color: var(--teal); font-weight: 800; flex-shrink: 0; }
.price-features .cross { color: #cbd5e1; flex-shrink: 0; }
.price-card--featured .price-features .check { color: #6ee7df; }

.price-cta {
  display: block;
  text-align: center;
  padding: 12px 20px;
  border-radius: 10px;
  font-family: var(--fh);
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity .2s, transform .15s;
  margin-top: auto;
}
.price-cta:hover { opacity: .88; transform: translateY(-1px); }
.price-cta--outline {
  border: 2px solid var(--border);
  color: var(--blue);
  background: transparent;
}
.price-cta--outline:hover { border-color: var(--blue); }
.price-cta--white {
  background: #fff;
  color: var(--blue);
  border: none;
}

/* Digistore Badge */
.ds24-note {
  text-align: center;
  margin: 0 auto 32px;
  max-width: 520px;
  background: var(--bl);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 12px 20px;
  font-size: .84rem;
  color: var(--font-color);
}

/* Slider arrows */
.slider-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--blue);
  font-size: 1.4rem;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, box-shadow .15s;
  box-shadow: var(--shadow);
}
.slider-arrow:hover:not(:disabled) { background: var(--bl); box-shadow: var(--shadow-md); }
.slider-arrow:disabled { opacity: .3; cursor: default; }

/* Slider dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s;
}
.slider-dot.active {
  background: var(--blue);
  transform: scale(1.3);
}

/* ── Planvergleich Tabelle ──────────────────────────── */
.compare2-wrap {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 var(--px);
}
.compare2-scroll-wrap {
  overflow: auto;
  max-height: 95vh;
  border-radius: var(--r);
  box-shadow: var(--shadow-md);
  -webkit-overflow-scrolling: touch;
}
.compare2-scroll-wrap::-webkit-scrollbar { height: 8px; width: 0; }
.compare2-scroll-wrap::-webkit-scrollbar-track { background: var(--gray); border-radius: 4px; }
.compare2-scroll-wrap::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 4px; }

.compare2-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 700px;
  background: var(--bg);
}
.compare2-table thead { position: sticky; top: 0; z-index: 10; }
.compare2-table thead tr th { position: sticky; top: 0; padding: 0; vertical-align: top; }

.c2th-inner { padding: 20px 16px 16px; text-align: center; }
.c2th-inner .plan-name {
  font-family: var(--fh);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.c2th-inner .price-main {
  font-family: var(--fh);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}
.c2th-inner .price-main sup { font-size: .9rem; vertical-align: middle; margin-right: 1px; }
.c2th-inner .price-period { font-size: .72rem; margin-top: 4px; opacity: .75; }
.c2th-inner .plan-badge {
  display: inline-block;
  margin-top: 8px;
  background: var(--teal);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 50px;
  font-family: var(--fh);
}

th.c2tc-label {
  background: var(--dark);
  color: #fff;
  width: 220px;
  min-width: 180px;
  position: sticky;
  left: 0;
  z-index: 12;
  box-shadow: 2px 0 6px rgba(0,0,0,0.1);
}
td.c2td-label {
  text-align: left;
  color: var(--dark);
  font-weight: 500;
  padding: 8px 14px;
  background: var(--bg);
  border-right: 2px solid var(--border);
  position: sticky;
  left: 0;
  z-index: 5;
  box-shadow: 2px 0 6px rgba(0,0,0,0.05);
  font-size: .82rem;
}
td.c2td-label small {
  display: block;
  color: #94a3b8;
  font-size: .72rem;
  font-weight: 400;
}

tr.c2tr-cat td {
  background: var(--dark);
  color: #fff;
  font-family: var(--fh);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 8px 14px;
}
tr.c2tr-cat td:first-child {
  position: sticky;
  left: 0;
  z-index: 6;
  box-shadow: 2px 0 6px rgba(0,0,0,0.12);
}
tr.c2tr-cat td:not(:first-child) { padding: 0; }

tr.c2tr-data { border-bottom: 1px solid var(--border); }
tr.c2tr-data:nth-child(even) { background: var(--gray); }
tr.c2tr-data:hover { background: var(--bl) !important; }
tr.c2tr-data:nth-child(even) td.c2td-label { background: var(--gray) !important; }
tr.c2tr-data:hover td.c2td-label { background: var(--bl) !important; }

.compare2-table td {
  padding: 8px 12px;
  text-align: center;
  vertical-align: middle;
  font-size: .82rem;
}

.cv     { font-weight: 700; color: var(--dark); }
.cv-yes { color: #16a34a; font-size: 1rem; }
.cv-no  { color: #cbd5e1; font-size: 1rem; }
.cv-teal { font-weight: 700; color: var(--teal); }
.cv-inf { font-weight: 700; color: #a855f7; }

td.c2td-featured { background: rgba(26,91,150,0.04); }
th.c2th-featured { background: linear-gradient(160deg, var(--blue), var(--dark)) !important; color: #fff; border-bottom: 3px solid var(--teal); }

th.c2th-free     { background: var(--gray);  color: var(--dark); border-bottom: 3px solid #94a3b8; }
th.c2th-starter  { background: #eff6ff;      color: var(--dark); border-bottom: 3px solid #3b82f6; }
th.c2th-business { background: #f0fdf4;      color: var(--dark); border-bottom: 3px solid #16a34a; }
th.c2th-manager  { background: #fdf4ff;      color: var(--dark); border-bottom: 3px solid #a855f7; }

.compare2-legend { display:flex; gap:20px; margin-top:16px; flex-wrap:wrap; padding: 0 var(--px); max-width:1100px; margin-left:auto; margin-right:auto; }
.compare2-legend-item { display:flex; align-items:center; gap:6px; font-size:.78rem; color:var(--font-color); }

.compare2-scroll-hint { display:none; text-align:center; color:#94a3b8; font-size:.75rem; padding:6px; margin-bottom:6px; }
@media(max-width:700px){ .compare2-scroll-hint { display:block; } }

@media(max-width:900px){
  .compare2-table td, .compare2-table th { padding: 7px 10px; font-size: .78rem; }
  .c2th-inner { padding: 14px 8px 10px; }
  .c2th-inner .price-main { font-size: 1.2rem; }
  td.c2td-label { min-width: 140px; }
}
@media(max-width:600px){
  th.c2tc-label { width: 100px; min-width: 100px; }
  td.c2td-label { min-width: 100px; max-width: 100px; font-size: .70rem; padding: 5px 7px; word-break: break-word; hyphens: auto; }
  td.c2td-label small { display: none; }
  .compare2-table td { font-size: .70rem; padding: 5px; }
  .c2th-inner .price-main { font-size: .95rem; }
  .c2th-inner { padding: 10px 5px 8px; }
}

.preise-hero { 
    background:var(--bg);
    padding: clamp(3.5rem, 7vw, 7rem) var(--px) clamp(3rem, 5.5vw, 5rem);
    text-align: center;
    position: relative;
    overflow: hidden;
}



.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.slider-prev { left: -4px; }
.slider-next { right: -4px; }

/* ── Intro-Rabatt (Slider + Tabellenkopf) ───────────── */
.price-intro-pill{
  display:block; margin:0 0 14px; padding:8px 14px;
  background:#ffe8a8; color:#3a2a00; border-radius:8px;
  font-weight:700; font-size:.85rem; text-align:center;
}
.price-was{ opacity:.8; font-size:.95rem; margin-bottom:2px; }
.price-card--featured .price-period{ color:#ffe8a8; font-weight:600; }
.price-card--featured .price-was{ color:#fff; }
.c2th-inner .price-intro-line{ color:#ffe8a8; font-weight:700; font-size:.8rem; margin-top:2px; }

/* ── FAQ ────────────────────────────────────────────── */
.tt-faq-wrap { max-width: 780px; margin: 0 auto; }
.tt-faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow .2s;
}
.tt-faq-item[open] { box-shadow: var(--shadow); }
.tt-faq-q {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--fh);
  font-weight: 700;
  font-size: .98rem;
  color: #0f1923;
  user-select: none;
}
.tt-faq-q::-webkit-details-marker { display: none; }
.tt-faq-q::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--teal);
  transition: transform .25s;
  line-height: 1;
}
.tt-faq-item[open] .tt-faq-q::after { transform: rotate(45deg); }
.tt-faq-a {
  padding: 0 24px 20px;
  font-family: var(--fb);
  font-size: .87rem;
  line-height: 1.7;
  color: var(--fc);
}
.tt-faq-a strong { color: #0f1923; }
@media (prefers-reduced-motion: reduce) {
  .tt-faq-q::after { transition: none; }
}

/* ── Hero-Überschrift (ohne .wrap/.section-sub aus dem alten CSS) ── */
.preise-hero h1{
  font-family: var(--fh);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--dark);
  margin: 0 0 14px;
  line-height: 1.15;
}

.tt-w {max-width: 1600px;}
