/* ============================================================
   v2 Pages — Versicherungs-Teaser (Startseite) + Unterseiten-Feinschliff
   ============================================================ */

/* ---------- Versicherungen-Teaser auf der Startseite ---------- */
.v2-vers-teaser { background: var(--bg-1); }
.v2-vt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.v2-vt-card {
  background: #fff;
  border: 1px solid var(--gray-15);
  border-radius: 22px;
  padding: clamp(26px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: transform 350ms cubic-bezier(0.22,1,0.36,1), box-shadow 350ms ease, border-color 350ms ease;
}
.v2-vt-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 56px rgba(15,76,129,0.12);
  border-color: var(--zurich-blue-50);
}
.v2-vt-head { display: flex; align-items: center; gap: 15px; }
.v2-vt-head .ic {
  width: 50px; height: 50px; flex-shrink: 0;
  border-radius: 14px;
  background: var(--zurich-blue-10);
  color: var(--zurich-blue);
  display: flex; align-items: center; justify-content: center;
}
.v2-vt-head .ic svg { width: 24px; height: 24px; }
.v2-vt-head h3 {
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 600; color: var(--ink);
  letter-spacing: -0.01em; margin: 0;
}
.v2-vt-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.v2-vt-chip {
  display: inline-flex; align-items: center;
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--sand);
  border: 1px solid var(--sand-deep);
  font-size: 14px; font-weight: 500;
  color: var(--ink);
}
.v2-vt-cta {
  margin-top: 40px;
  display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
}
.v2-vt-link {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 15px; font-weight: 600; color: var(--zurich-blue);
  border-bottom: 1.5px solid var(--zurich-blue-50);
  padding-bottom: 3px;
  transition: gap 250ms ease, color 250ms ease;
}
.v2-vt-link svg { width: 17px; height: 17px; }
.v2-vt-link:hover { gap: 13px; text-decoration: none; }

@media (max-width: 860px) {
  .v2-vt-grid { grid-template-columns: 1fr; }
}

/* ---------- Service-Seite: schnelle Aktionen ---------- */
.v2-service { background: var(--sand); }
.v2-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.v2-service-card {
  background: #fff;
  border: 1px solid var(--gray-15);
  border-radius: 22px;
  padding: clamp(28px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 350ms cubic-bezier(0.22,1,0.36,1), box-shadow 350ms ease, border-color 350ms ease;
}
.v2-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 56px rgba(15,76,129,0.12);
  border-color: var(--zurich-blue-50);
}
.v2-service-card .ic {
  width: 56px; height: 56px; border-radius: 15px;
  background: var(--zurich-blue-10); color: var(--zurich-blue);
  display: flex; align-items: center; justify-content: center;
}
.v2-service-card .ic svg { width: 27px; height: 27px; }
.v2-service-card h3 {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 600; color: var(--ink);
  letter-spacing: -0.01em; margin: 0; line-height: 1.2;
}
.v2-service-card p { font-size: 15px; line-height: 1.6; color: var(--gray-60); margin: 0; }
.v2-service-acts { margin-top: auto; padding-top: 8px; display: flex; flex-direction: column; gap: 12px; }
.v2-service-link {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 15px; font-weight: 600; color: var(--zurich-blue);
  transition: gap 250ms ease;
  width: fit-content;
}
.v2-service-link svg { width: 16px; height: 16px; transition: transform 250ms ease; }
.v2-service-link:hover { text-decoration: none; gap: 13px; }

/* hervorgehobene Schaden-Karte */
.v2-service-card.featured {
  background: linear-gradient(135deg, #0F4C81 0%, #07203A 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 30px 70px rgba(7,32,58,0.26);
}
.v2-service-card.featured .ic { background: rgba(255,255,255,0.12); color: #9ec9ee; }
.v2-service-card.featured h3 { color: #fff; }
.v2-service-card.featured p { color: rgba(255,255,255,0.8); }
.v2-service-card.featured .v2-service-link { color: #9ec9ee; }
.v2-service-card.featured:hover { border-color: transparent; }

@media (max-width: 940px) {
  .v2-service-grid { grid-template-columns: 1fr; }
  /* Panel öffnet direkt unter der angeklickten Karte statt immer ganz unten */
  .v2-service-card { order: var(--card-order, 0); }
  .v2-change { order: var(--panel-order, 99); }
}

/* ---------- Service: aufklappbares Änderungs-Formular ---------- */
.v2-service-link.as-btn {
  background: none; border: 0; padding: 0; cursor: pointer; font: inherit;
}
.v2-service-link .chev { transition: transform 320ms cubic-bezier(0.22,1,0.36,1); }
.v2-service-link.is-open .chev { transform: rotate(180deg); }
.v2-service-card.is-active {
  border-color: var(--zurich-blue);
  box-shadow: 0 22px 48px rgba(15,76,129,0.16);
}

.v2-change {
  display: grid;
  grid-template-rows: 0fr;
  grid-column: 1 / -1;
  order: 99;
  transition: grid-template-rows 520ms cubic-bezier(0.22,1,0.36,1);
}
.v2-change.open { grid-template-rows: 1fr; }
.v2-change-inner { overflow: hidden; min-height: 0; }
.v2-change-card {
  margin-top: 26px;
  background: #fff;
  border: 1px solid var(--gray-15);
  border-radius: 24px;
  padding: clamp(26px, 3.6vw, 48px);
  box-shadow: 0 30px 70px rgba(15,76,129,0.12);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 420ms ease 140ms, transform 420ms ease 140ms;
}
.v2-change.open .v2-change-card { opacity: 1; transform: none; }

.v2-change-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 26px; }
.v2-change-head .ic {
  width: 50px; height: 50px; border-radius: 14px; flex-shrink: 0;
  background: var(--zurich-blue-10); color: var(--zurich-blue);
  display: flex; align-items: center; justify-content: center;
}
.v2-change-head .ic svg { width: 24px; height: 24px; }
.v2-change-head h3 { font-size: clamp(21px, 2.2vw, 26px); font-weight: 600; color: var(--ink); letter-spacing: -0.01em; margin: 2px 0 5px; }
.v2-change-head p { font-size: 14.5px; color: var(--gray-60); margin: 0; }

.v2-change-cats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(208px, 1fr));
  gap: 10px;
}
.v2-change-cat {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 14px;
  background: var(--sand); border: 1px solid var(--sand-deep);
  font-size: 14.5px; font-weight: 600; color: var(--ink);
  text-align: left; cursor: pointer;
  transition: background 220ms ease, border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}
.v2-change-cat i, .v2-change-cat svg { width: 19px; height: 19px; color: var(--zurich-blue); flex-shrink: 0; }
.v2-change-cat:hover { border-color: var(--zurich-blue-50); transform: translateY(-2px); }
.v2-change-cat.active {
  background: var(--zurich-blue); border-color: var(--zurich-blue); color: #fff;
  box-shadow: 0 12px 28px rgba(15,76,129,0.24);
}
.v2-change-cat.active i, .v2-change-cat.active svg { color: #fff; }

.v2-change-sec {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--zurich-blue); margin: 30px 0 16px;
}
.v2-change-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.v2-change-grid .wide { grid-column: 1 / -1; }
.v2-change-form .v2-check { margin-top: 6px; }
.v2-change-form .btn2 { margin-top: 18px; }

.v2-change-hint { margin: 26px 0 0; font-size: 14.5px; color: var(--gray-60); }

.v2-change-confirm { text-align: center; padding: 26px 8px 10px; }
.v2-change-confirm .big {
  width: 74px; height: 74px; border-radius: 50%;
  background: var(--success-bg); color: var(--success);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
  animation: pop2 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.v2-change-confirm .big svg { width: 32px; height: 32px; stroke-width: 2.5; }
.v2-change-confirm h3 { font-size: 25px; margin: 0 0 8px; color: var(--ink); }
.v2-change-confirm p { color: var(--gray-60); margin: 0 auto 18px; max-width: 48ch; }
.v2-change-confirm .v2-service-link { margin: 0 auto; }

@media (max-width: 560px) {
  .v2-change-grid { grid-template-columns: 1fr; }
  .v2-change-grid .wide { grid-column: auto; }
}
