/* Ergänzungen nur für Widerruf; vorhandenes Cyvelis-Design bleibt unberührt. */
.home footer .legal { flex-wrap: wrap; gap: .45rem clamp(1.15rem, 2.8vw, 3.6rem); }
.home footer .legal a { min-height: 44px; display: inline-flex; align-items: center; }
.home footer .legal a.withdrawal-footer-link { color: #eef9f9; font-weight: 600; text-decoration: underline; text-underline-offset: .38em; text-decoration-color: #75b7bc; }
.withdrawal-kicker { font-size: .82rem; color: #83bdc1; text-transform: uppercase; letter-spacing: .17em; font-weight: 600; margin-bottom: .9rem; }
.withdrawal-lead { color: #c4d0d0; font-size: clamp(1.02rem, 1.26vw, 1.17rem); line-height: 1.6; max-width: 64ch; }
.legal-panel .withdrawal-legal section { margin-top: 1.8rem; }
.withdrawal-legal .withdrawal-sample { padding: clamp(.9rem, 2.2vw, 1.5rem); border: 1px solid #3c5154; background: #111b1e; border-radius: .65rem; }
.withdrawal-legal .withdrawal-sample p { margin-block: .75rem; }
.withdrawal-inline-link { display: inline-block; padding-block: .5rem; color: #c3eceb; }
/* The withdrawal page uses normal document scrolling for long forms and keyboards. */
.home:has(#widerruf:target) { height: auto; min-height: 100svh; }
#widerruf:target {
  height: auto;
  min-height: 100%;
  overflow: visible;
  padding-block: clamp(1.75rem, 5.3svh, 4rem);
  background: linear-gradient(100deg, #080d0e 0%, #080d0ef2 49%, #061113b0 100%);
}
#widerruf:focus { outline: none; }
.withdrawal-form-page {
  --withdrawal-accent: #97d5dc;
  --withdrawal-muted: #b9c8ca;
  --withdrawal-border: #304549;
  max-width: 69rem;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 34rem);
  grid-template-areas: "intro card" "support card";
  align-content: center;
  align-items: start;
  grid-template-rows: auto 1fr;
  column-gap: clamp(2.5rem, 6vw, 7rem);
  row-gap: 1.85rem;
}
.withdrawal-intro { grid-area: intro; padding-top: .65rem; }
.withdrawal-intro .withdrawal-kicker { color: var(--withdrawal-accent); margin-bottom: .75rem; }
.withdrawal-intro h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.25rem, 3.3vw, 3.15rem);
  letter-spacing: -.035em;
  text-wrap: balance;
}
.withdrawal-intro .withdrawal-lead { max-width: 36ch; margin: 0; font-size: 1rem; }
.withdrawal-support {
  grid-area: support;
  border-top: 1px solid var(--withdrawal-border);
  padding-top: 1.15rem;
  max-width: 22rem;
}
.withdrawal-support h2 { margin: 0 0 .4rem; font-size: 1rem; font-weight: 600; }
.withdrawal-support > a { color: var(--withdrawal-accent); }
.withdrawal-support ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1.15rem;
  margin: 1.15rem 0 0;
  padding: 0;
  color: var(--withdrawal-muted);
  font-size: .875rem;
}
.withdrawal-card {
  grid-area: card;
  min-width: 0;
  padding: clamp(1.2rem, 2.7vw, 2rem);
  border: 1px solid var(--withdrawal-border);
  border-radius: .8rem;
  background: #10191be8;
}
.withdrawal-progress {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 0 0 1.45rem;
  padding: 0;
  list-style: none;
  font-size: .875rem;
  color: var(--withdrawal-muted);
}
.withdrawal-progress li { padding: 0 .1rem .7rem; border-bottom: 1px solid #3b4c50; }
.withdrawal-progress [aria-current] { color: #eff9f9; border-bottom: 2px solid var(--withdrawal-accent); }
.withdrawal-card .withdrawal-step-heading {
  margin: 0 0 1.15rem;
  font: 300 1.5rem/1.25 'Open Sans', sans-serif;
  scroll-margin-block: 1rem;
}
.withdrawal-card .withdrawal-step-heading:focus { outline: none; }
.withdrawal-card .withdrawal-description { margin: 0 0 1rem; color: var(--withdrawal-muted); }
.withdrawal-field { display: grid; gap: .42rem; margin-bottom: .95rem; }
.withdrawal-field label { font-size: .9375rem; font-weight: 600; color: #f2f6f6; }
.withdrawal-field input {
  width: 100%;
  min-height: 2.875rem;
  padding: .63rem .82rem;
  border: 1px solid #52696e;
  border-radius: .42rem;
  background: #0b1214;
  color: #f2f6f6;
  font: inherit;
}
.withdrawal-field input::placeholder { color: #a8b8bb; opacity: 1; }
.withdrawal-field input:focus-visible, .withdrawal-actions button:focus-visible {
  outline: 2px solid var(--withdrawal-accent);
  outline-offset: 3px;
}
.withdrawal-field small { font-size: .875rem; line-height: 1.45; color: var(--withdrawal-muted); }
.withdrawal-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.withdrawal-alert {
  margin: 0 0 1rem;
  padding: .75rem .85rem;
  color: #f4dedb;
  border: 1px solid #835c57;
  border-radius: .42rem;
  background: #2b2020;
  font-size: .9375rem;
  line-height: 1.5;
}
.withdrawal-alert a { display: block; width: fit-content; margin-top: .25rem; }
.withdrawal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .65rem;
  margin-top: 1.2rem;
}
.withdrawal-primary, .withdrawal-secondary {
  min-height: 2.875rem;
  padding: .68rem 1rem;
  border: 1px solid transparent;
  border-radius: .42rem;
  font: 600 .9375rem/1.25 Arial, sans-serif;
  cursor: pointer;
}
.withdrawal-primary { background: #deedf0; color: #101b1d; }
.withdrawal-primary:not(:disabled):hover { background: #b8dce2; }
.withdrawal-secondary { background: transparent; border-color: #52696e; color: #edf3f4; }
.withdrawal-secondary:not(:disabled):hover { background: #1d2b2f; }
.withdrawal-actions button:disabled { opacity: .55; cursor: not-allowed; }
.withdrawal-summary {
  margin: 0;
  border-block: 1px solid var(--withdrawal-border);
}
.withdrawal-summary > div {
  display: grid;
  grid-template-columns: minmax(0, 10rem) minmax(0, 1fr);
  gap: .4rem .75rem;
  padding: .8rem 0;
  line-height: 1.45;
}
.withdrawal-summary > div + div { border-top: 1px solid var(--withdrawal-border); }
.withdrawal-summary dt { color: var(--withdrawal-muted); }
.withdrawal-summary dd { margin: 0; overflow-wrap: anywhere; }
.withdrawal-success-mark {
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  margin-bottom: .9rem;
  border: 1px solid #536d72;
  border-radius: 50%;
  color: var(--withdrawal-accent);
  font-size: 1.25rem;
}
[hidden] { display: none !important; }
@media (max-width: 52rem) {
  .withdrawal-form-page {
    max-width: 34rem;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "intro" "card" "support";
    grid-template-rows: auto;
    row-gap: 1.5rem;
  }
  .withdrawal-intro { padding-top: 0; }
  .withdrawal-intro h1 { text-wrap: wrap; }
  .withdrawal-support { max-width: none; }
}
@media (max-width: 720px) {
  .home footer .legal { gap: 0 clamp(.65rem, 3.7vw, 1.5rem); }
  .home footer .legal a { font-size: .82rem; }
}
@media (max-width: 31rem) {
  .withdrawal-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
  .withdrawal-summary > div { grid-template-columns: minmax(0, 1fr); }
}
