:root {
  --npd-green: #006b75;
  --npd-green-dark: #005760;
  --npd-lime: #2fa7b1;
  --npd-blue: #103f46;
  --npd-blue-2: #07383e;
  --npd-cyan: #38b9c5;
  --npd-orange: #f4a027;
  --npd-red: #c94848;
  --ink: #102233;
  --muted: #617487;
  --bg: #f3f8f9;
  --card: #ffffff;
  --line: #d7e8ea;
  --shadow: 0 18px 50px rgba(16, 34, 51, 0.12);
  --radius: 24px;
  --radius-sm: 16px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #fff 0%, var(--bg) 62%, #fff 100%);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(var(--max), calc(100% - 38px));
  margin: auto;
}

.topbar {
  background: var(--npd-blue-2);
  color: #e8f2ef;
  font-size: 14px;
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 0;
  align-items: center;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  /* background: rgba(99, 179, 46, 0.16); */
  color: #dff5d0;
  padding: 7px 12px;
  font-weight: 700;
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(220, 232, 220, 0.9);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--npd-blue);
}

.logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--npd-green), var(--npd-lime));
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(0, 107, 117, 0.28);
}

.logo svg {
  width: 30px;
  height: 30px;
}

.brand span {
  display: block;
  font-size: 20px;
}

.brand small {
  display: block;
  color: var(--muted);
  font-weight: 700;
  font-size: 12px;
  margin-top: -2px;
}

nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  font-weight: 700;
  color: #425466;
  font-size: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  border-radius: 999px;
  padding: 13px 19px;
  font-weight: 900;
  cursor: pointer;
  background: var(--npd-green);
  color: #fff;
  box-shadow: 0 12px 28px rgba(0, 107, 117, 0.24);
  transition: 0.2s transform, 0.2s box-shadow, 0.2s background;
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--npd-green-dark);
  box-shadow: 0 18px 38px rgba(0, 107, 117, 0.28);
}

.btn.secondary {
  background: #fff;
  color: var(--npd-blue);
  border: 1px solid var(--line);
  box-shadow: none;
}

.btn.secondary:hover {
  background: #f3f8f9;
}

.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(
      circle at 80% 20%,
      rgba(99, 179, 46, 0.23),
      transparent 32%
    ),
    linear-gradient(135deg, #f8fff4 0%, #ffffff 45%, #edf7ff 100%);
  border-bottom: 1px solid var(--line);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 46px;
  align-items: center;
  padding: 26px 0 54px;
}

.eyebrow {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(0, 107, 117, 0.35);
  background: #fff;
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--npd-green-dark);
  font-weight: 900;
  font-size: 14px;
}

h1 {
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.06em;
  margin: 20px 0 18px;
  color: var(--npd-blue-2);
}

h1 em {
  font-style: normal;
  color: var(--npd-green-dark);
}

.lead {
  font-size: 20px;
  color: #4c6073;
  max-width: 760px;
  margin: 0 0 28px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 24px 0;
}

.trust {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.trust span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  font-weight: 800;
  color: #516272;
  font-size: 13px;
}

.hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 22px;
  box-shadow: var(--shadow);
  position: relative;
}

.mock-browser {
  border: 1px solid #d9e7d9;
  border-radius: 23px;
  overflow: hidden;
  background: #fff;
}

.browser-top {
  height: 42px;
  background: #e6f3f4;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 15px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: #9cb7a1;
}

.graphic {
  padding: 18px;
  background: linear-gradient(180deg, #fff, #f8fbf7);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.stat {
  padding: 16px;
  border-radius: 18px;
  background: #f3f8f9;
  border: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-size: 28px;
  color: var(--npd-green-dark);
  line-height: 1;
}

.stat small {
  font-weight: 800;
  color: #607384;
}

section {
  padding: 76px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 30px;
}

.kicker {
  color: var(--npd-green-dark);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
}

h2 {
  font-size: clamp(28px, 3.3vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin: 0 0 1rem;
  color: var(--npd-blue-2);
}

.section-head p {
  max-width: 560px;
  color: var(--muted);
  margin: 0;
  font-size: 17px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 12px 32px rgba(16, 34, 51, 0.06);
}

.icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--npd-green), var(--npd-lime));
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 24px;
  margin-bottom: 18px;
}

.card h3 {
  font-size: 22px;
  margin: 0 0 9px;
  color: var(--npd-blue);
}

.card p {
  margin: 0;
  color: #5d6f80;
}

.card.warn .icon {
  background: linear-gradient(135deg, var(--npd-orange), #ffd478);
}

.card.bad .icon {
  background: linear-gradient(135deg, var(--npd-red), #ee8e8e);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.timeline {
  position: relative;
  display: grid;
  gap: 16px;
}

.step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: start;
}

.num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--npd-blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.step div:last-child {
  background: #f3f8f9;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
}

.step h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.compare {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

table {
  border-collapse: collapse;
  width: 100%;
}

th,
td {
  text-align: left;
  padding: 17px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  background: #e6f3f4;
  color: var(--npd-blue);
  font-size: 15px;
}

td {
  color: #526779;
}

.tag {
  display: inline-block;
  border-radius: 999px;
  padding: 5px 10px;
  font-weight: 900;
  font-size: 12px;
  margin-bottom: 0.5rem;
}

section {
  scroll-margin-top: 70px;
}

[data-avd='results'] {
  margin-bottom: 2rem;
}

#firstContract {
  width: auto !important;
}

.tag.green {
  background: #e0f4f5;
  color: var(--npd-green-dark);
}

.tag.orange {
  background: #fff1da;
  color: #996210;
}

.tag.blue {
  background: #e0f4f5;
  color: #006b75;
}

.calculator {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.control {
  margin-bottom: 18px;
}

.control label {
  display: flex;
  justify-content: space-between;
  font-weight: 900;
  margin-bottom: 8px;
  color: var(--npd-blue);
}

input[type='range'] {
  width: 100%;
  accent-color: var(--npd-green);
}

.result {
  border-radius: 24px;
  background: linear-gradient(135deg, var(--npd-blue), var(--npd-blue-2));
  color: #fff;
  padding: 28px;
}

.result strong {
  font-size: 44px;
  line-height: 1;
  display: block;
}

.result p {
  color: #d9e8ee;
}

.bar {
  height: 12px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
  margin: 16px 0;
}

.bar span {
  display: block;
  height: 100%;
  width: 52%;
  background: linear-gradient(90deg, var(--npd-green), var(--npd-lime));
  border-radius: 99px;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  background: #fff;
  border: none;
  padding: 20px 22px;
  font-size: 17px;
  font-weight: 900;
  color: var(--npd-blue);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.faq-a {
  display: none;
  padding: 0 22px 20px;
  color: #5d6f80;
}

.faq-item.open .faq-a {
  display: block;
}

.faq-item.open .plus {
  transform: rotate(45deg);
}

.plus {
  font-size: 24px;
  color: var(--npd-green-dark);
  transition: 0.2s;
}

.cta {
  background: linear-gradient(135deg, var(--npd-blue-2), var(--npd-blue));
  color: #fff;
  border-radius: 36px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 30px;
  align-items: center;
  box-shadow: var(--shadow);
}

.cta h2 {
  color: #fff;
}

.cta p {
  color: #d8e8ee;
  font-size: 18px;
}

.cta .btn.secondary {
  background: #fff;
  color: var(--npd-blue);
}

.cta .btn {
  font-size: 21px;
  margin-inline: auto;
  display: block;
  text-align: center;
  width: 80%;
}

.footer {
  padding: 42px 0 70px;
  background: #07383e;
  color: #d7e6ee;
}

.imprint {
  display: flex;
  gap: 1rem;
}

.imprint a:hover {
  color: white;
}

.footer .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.small {
  font-size: 13px;
  color: #9fb5c2;
}

.source-list a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.float-help {
  position: fixed;
  right: 22px;
  bottom: 66px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 12px 14px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 11px;
  align-items: center;
  z-index: 40;
}

.float-help b {
  color: var(--npd-blue);
  display: block;
}

.float-help span {
  color: var(--muted);
  font-size: 13px;
}

.bubble {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--npd-green);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 21px;
}

.float-help {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.float-help.visible {
  opacity: 1;
  pointer-events: auto;
}

.ai-summary {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 12px 32px rgba(16, 34, 51, 0.06);
  margin-top: 24px;
}

.ai-summary h2 {
  font-size: 26px;
  margin: 0 0 16px;
}

.ai-summary p {
  margin: 0 0 16px;
  color: #526779;
}

.ai-summary ul {
  margin: 0;
  padding-left: 20px;
  color: #526779;
}

.ai-summary li {
  margin: 6px 0;
}

.answer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.answer-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}

.answer-box h3 {
  margin: 0 0 8px;
  color: var(--npd-blue);
  font-size: 18px;
}

.answer-box p {
  margin: 0;
  color: #5d6f80;
}

@media (max-width: 700px) {
  .answer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .hero .wrap,
  .split,
  .calculator,
  .cta,
  .footer .wrap {
    grid-template-columns: 1fr;
  }
  .cards {
    grid-template-columns: 1fr 1fr;
  }
  nav ul {
    display: none;
  }
  .section-head {
    display: block;
  }
  .hero .wrap {
    padding-top: 46px;
  }
  .float-help {
    left: 18px;
    right: 18px;
  }
}

@media (max-width: 620px) {
  .cards,
  .stat-grid {
    grid-template-columns: 1fr;
  }
  .topbar .wrap {
    display: block;
  }
  .hero-actions .btn {
    width: 100%;
  }
  section {
    padding: 54px 0;
  }
  .cta {
    padding: 30px;
  }
  th,
  td {
    display: block;
    width: 100%;
  }
  tr {
    display: block;
    border-bottom: 1px solid var(--line);
  }
}

.funding-wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
}

.funding-card,
.funding-result {
  border-radius: 28px;
  padding: 30px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 55px rgba(16, 63, 70, 0.08);
}

.funding-card {
  background: #fff;
}

.funding-result {
  background: linear-gradient(145deg, #103f46, #006b75);
  color: #fff;
}

.funding-result h2,
.funding-result h3 {
  color: #fff;
}

.funding-result p {
  color: rgba(255, 255, 255, 0.86);
}

.funding-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1/-1;
}

.field label {
  font-weight: 800;
  color: #103f46;
  font-size: 14px;
}

.field input,
.field select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cfdcde;
  border-radius: 13px;
  padding: 13px 14px;
  font: inherit;
  background: #fff;
  color: #103f46;
}

.field input:focus,
.field select:focus {
  outline: 3px solid rgba(0, 107, 117, 0.14);
  border-color: #006b75;
}

.checkline {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 0;
}

.checkline input {
  margin-top: 4px;
}

.money-big {
  font-size: 54px;
  font-weight: 950;
  line-height: 1;
  margin: 12px 0 4px;
}

.result-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.result-row strong {
  color: #fff;
}

.result-row:last-child {
  border-bottom: 0;
}

.funding-meter {
  height: 12px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  overflow: hidden;
  margin: 12px 0 6px;
}

.funding-meter span {
  display: block;
  height: 100%;
  background: #fff;
  border-radius: 999px;
  width: 0;
  transition: 0.25s;
}

.calc-note {
  font-size: 13px;
  line-height: 1.55;
  color: #607681;
  margin-top: 18px;
}

.formula-box {
  margin-top: 20px;
  padding: 18px;
  border-radius: 18px;
  background: #f2f8f8;
  border: 1px solid #d5e7e8;
}

.formula-box strong {
  color: #006b75;
}

.eligibility {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff7df;
  color: #6b5313;
  font-size: 14px;
}

@media (max-width: 900px) {
  .funding-wrap {
    grid-template-columns: 1fr;
  }
  .funding-grid {
    grid-template-columns: 1fr;
  }
  .field.full {
    grid-column: auto;
  }
  .money-big {
    font-size: 44px;
  }
}

.depot-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 28px;
}

.depot-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 28px;
  box-shadow: 0 16px 45px rgba(16, 63, 70, 0.07);
}

.depot-box.featured {
  border: 2px solid #006b75;
  position: relative;
}

.depot-box h3 {
  margin-top: 8px;
}

.depot-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.depot-list li {
  padding: 11px 0 11px 30px;
  border-bottom: 1px solid #e7eeee;
  position: relative;
}

.depot-list li:last-child {
  border-bottom: 0;
}

.depot-list li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #006b75;
  font-weight: 900;
}

.compare-table-wrap {
  overflow-x: auto;
  margin-top: 28px;
}

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}

.compare-table th,
.compare-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid #e5eeee;
  vertical-align: top;
}

.compare-table th {
  background: #006b75;
  color: #fff;
}

.compare-table tr:last-child td {
  border-bottom: 0;
}

.compare-table td:first-child {
  font-weight: 800;
  color: #103f46;
  width: 25%;
}

.plain-summary {
  margin-top: 24px;
  padding: 22px 24px;
  border-left: 5px solid #006b75;
  background: #f2f8f8;
  border-radius: 0 18px 18px 0;
}

@media (max-width: 800px) {
  .depot-compare {
    grid-template-columns: 1fr;
  }
}

.mathias-only {
  padding: 58px 0;
  background: #f5f9f9;
}

.mathias-only .mk-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
}

.mathias-only .mk-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  background: #fff;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 20px 55px rgba(16, 63, 70, 0.12);
  border: 1px solid rgba(0, 107, 117, 0.12);
}

.mathias-only .mk-photo {
  min-height: 440px;
  background: url(../images/mathias-beratung.jpg) center/cover no-repeat;
}

.mathias-only .mk-copy {
  padding: 48px;
}

.mathias-only .mk-kicker {
  color: #006b75;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
}

.mathias-only h2 {
  margin: 9px 0 14px;
  color: #103f46;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
}

.mathias-only p {
  line-height: 1.7;
  color: #334b50;
}

.mathias-only .mk-points {
  display: grid;
  gap: 9px;
  margin: 22px 0 26px;
}

.mathias-only .mk-points span:before {
  content: '✓';
  color: #006b75;
  font-weight: 900;
  margin-right: 9px;
}

.mathias-only .mk-note {
  font-size: 13px;
  color: #687b7f;
  margin-top: 16px;
}

@media (max-width: 820px) {
  .mathias-only .mk-card {
    grid-template-columns: 1fr;
  }
  .mathias-only .mk-photo {
    min-height: 360px;
  }
  .mathias-only .mk-copy {
    padding: 32px;
  }
}

.hero-photo,
.consultation-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(16, 63, 70, 0.13);
}

.hero-photo img,
.consultation-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: cover;
}

.hero-photo figcaption,
.consultation-photo figcaption {
  padding: 18px 22px;
  color: #103f46;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.mathias-only .mk-photo {
  background-position: 44% center;
}

@media (max-width: 900px) {
  .hero-photo {
    max-width: 700px;
  }
  .consultation-photo {
    width: 100%;
  }
}

.avdc {
  --teal: #006b75;
  --dark: #103f46;
  --soft: #edf7f8;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--dark);
  background: #f3f8f9;
  padding: 56px 24px;
  line-height: 1.55;
  box-sizing: border-box;
  scroll-margin-top: 100px;
}

.avd-page #foerdervergleich {
  padding: 56px 24px;
}

.avdc * {
  box-sizing: border-box;
}

.avdc [hidden] {
  display: none !important;
}

.avdc .avdc-wrap {
  max-width: 1180px;
  margin: auto;
}

.avdc h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  margin: 8px 0 18px;
  color: var(--dark);
}

.avdc h3 {
  font-size: 22px;
  margin: 0 0 18px;
  color: var(--dark);
}

.avdc p {
  margin: 0 0 16px;
}

.avdc .avdc-intro {
  max-width: 780px;
  font-size: 18px;
}

.avdc .avdc-kicker {
  color: var(--teal);
  font-weight: bold;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.avdc .avdc-card {
  background: #fff;
  border: 1px solid #d6e7e9;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 12px 30px #103f4608;
}

.avdc form {
  margin: 28px 0;
}

.avdc .avdc-fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.avdc label {
  display: block;
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 7px;
}

.avdc input,
.avdc select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #b9cfd2;
  border-radius: 12px;
  padding: 10px 12px;
  background: white;
  color: var(--dark);
  font: inherit;
  font-size: 16px;
}

.avdc input:focus,
.avdc select:focus,
.avdc button:focus-visible,
.avdc summary:focus-visible {
  outline: 3px solid #2fa7b1;
  outline-offset: 3px;
}

.avdc [aria-invalid='true'] {
  border-color: #ad3a2c;
}

.avdc small {
  display: block;
  font-size: 14px;
  color: #526b70;
  margin-top: 6px;
}

.avdc .avdc-partner {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid #d6e7e9;
}

.avdc .avdc-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.avdc .avdc-new {
  border-top: 5px solid var(--teal);
}

.avdc .avdc-old {
  border-top: 5px solid #6a858b;
}

.avdc .avdc-tag {
  font-size: 14px;
  font-weight: bold;
  color: var(--teal);
}

.avdc .avdc-quote {
  font-size: 48px;
  font-weight: bold;
  color: var(--teal);
  line-height: 1.2;
  margin: 14px 0 4px;
}

.avdc .avdc-track {
  height: 10px;
  background: #e2eef0;
  border-radius: 8px;
  margin: 18px 0 24px;
  overflow: hidden;
}

.avdc .avdc-track span {
  display: block;
  background: var(--teal);
  height: 100%;
  width: 0;
}

.avdc .avdc-old .avdc-track span {
  background: #6a858b;
}

.avdc dl {
  margin: 0;
}

.avdc dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #e3edef;
}

.avdc dt {
  font-size: 15px;
}

.avdc dd {
  margin: 0;
  font-weight: bold;
  white-space: nowrap;
}

.avdc .avdc-total {
  font-size: 19px;
  padding-top: 17px;
}

.avdc .avdc-summary {
  margin-top: 24px;
  padding: 24px;
  border-radius: 18px;
  background: #dff0f2;
}

.avdc .avdc-summary strong {
  display: block;
  font-size: 20px;
  margin-bottom: 8px;
}

.avdc .avdc-summary p {
  margin: 0;
}

.avdc .avdc-notice {
  padding: 14px 18px;
  border-radius: 12px;
  background: #fff4dd;
  font-size: 15px;
  margin: 18px 0;
}

.avdc details {
  border: 1px solid #d6e7e9;
  border-radius: 16px;
  padding: 18px 20px;
  margin-top: 18px;
  background: #fff;
}

.avdc summary {
  cursor: pointer;
  font-weight: bold;
}

.avdc details p,
.avdc details ul {
  font-size: 15px;
  margin-top: 15px;
}

.avdc details li {
  margin: 8px 0;
}

.avdc a {
  color: var(--teal);
  text-decoration: underline;
}

.avdc button {
  border: 0;
  border-radius: 22px;
  padding: 11px 18px;
  font-size: 15px;
  font-weight: bold;
  background: var(--teal);
  color: white;
  cursor: pointer;
}

.avdc .avdc-actions {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.avdc .avdc-privacy {
  font-size: 14px;
  color: #526b70;
}

.avdc .avdc-bottom {
  font-size: 14px;
  color: #526b70;
  margin-top: 20px;
}

.avdc .avdc-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 22px;
}

.avdc .avdc-check input {
  width: 20px;
  min-height: 20px;
  margin: 3px 0;
  flex-shrink: 0;
}

.avdc .avdc-check label {
  font-weight: normal;
}

@media (max-width: 950px) {
  .avdc .avdc-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .avd-page #foerdervergleich {
    padding: 38px 16px;
  }
  .avdc {
    padding: 38px 16px;
  }
  .avdc .avdc-pair,
  .avdc .avdc-fields {
    grid-template-columns: 1fr;
  }
  .avdc .avdc-card {
    padding: 22px;
  }
  .avdc .avdc-quote {
    font-size: 42px;
  }
  .avdc dl div {
    gap: 10px;
  }
  .avdc dt {
    font-size: 14px;
  }
}
