/* Gebührenliste + Modal only – does not change original styles.css */

.fees-title {
  text-align: center;
  font-weight: 800;
  text-transform: uppercase;
  margin: 30px 0 8px;
  font-size: 26px;
  color: #111;
}

.fees-sub {
  text-align: center;
  color: #666;
  margin: 0 0 24px;
  font-size: 15px;
}

.fees-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0 0 30px;
}

.fee-card {
  border: 1px solid #ddd;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.fee-flag {
  height: 8px;
  background: linear-gradient(
    to bottom,
    #000 0%, #000 33%,
    #dd0000 33%, #dd0000 66%,
    #ffce00 66%, #ffce00 100%
  );
}

.fee-head {
  color: #fff;
  text-align: center;
  padding: 16px 10px;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  line-height: 1.3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 90px;
}

.fee-head i { font-size: 22px; }

.fee-blue .fee-head { background: #0073bb; }
.fee-green .fee-head { background: #228b22; }
.fee-orange .fee-head { background: #ee7600; }
.fee-purple .fee-head { background: #800080; }

.fee-desc {
  background: #f3f3f3;
  padding: 10px 12px;
  font-size: 12px;
  color: #555;
  text-align: center;
  line-height: 1.4;
}

.fee-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 10px 12px 4px;
  color: #333;
}

.fee-row {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  align-items: start;
  width: 100%;
  text-align: left;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #eee;
  padding: 12px 10px;
  cursor: pointer;
  font: inherit;
  color: inherit;
  appearance: none;
  -webkit-appearance: none;
}

.fee-row:hover { background: #fafafa; }

.fee-row > i {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #fff;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.fee-blue .fee-row > i { background: #0073bb; }
.fee-green .fee-row > i { background: #228b22; }
.fee-orange .fee-row > i { background: #ee7600; }
.fee-purple .fee-row > i { background: #800080; }

.fee-row b {
  display: block;
  font-size: 11px;
  margin-bottom: 4px;
}

.fee-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  line-height: 1.3;
}

.fee-back {
  background: #e8f7e8;
  border: 1px solid #b7e0b7;
  color: #176917;
  padding: 4px 6px;
  text-align: center;
  min-width: 80px;
  font-size: 10px;
}

.fee-back strong {
  display: block;
  font-size: 13px;
}

.fee-btn {
  margin: 12px 10px;
  padding: 12px;
  border: 0;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.fee-blue .fee-btn { background: #0073bb; }
.fee-green .fee-btn { background: #228b22; }
.fee-orange .fee-btn { background: #ee7600; }
.fee-purple .fee-btn { background: #800080; }

.fee-btn:hover { filter: brightness(1.08); }

.dk-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.dk-modal.open { display: flex; }

.dk-modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
}

.dk-modal-box {
  position: relative;
  background: #fff;
  width: 100%;
  max-width: 560px;
  max-height: 85vh;
  overflow: auto;
  border-radius: 8px;
  z-index: 1;
}

.dk-modal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid #eee;
}

.dk-modal-top h3 { margin: 0; font-size: 18px; }

.dk-modal-x {
  border: 0;
  background: none;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  appearance: none;
}

.dk-modal-body { padding: 18px; color: #444; line-height: 1.5; }

.dk-modal-actions {
  padding: 0 18px 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.dk-modal-go {
  background: #023869;
  color: #fff !important;
  text-decoration: none;
  padding: 10px 14px;
  font-weight: 700;
}

.dk-modal-close {
  background: #eee;
  border: 0;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
  appearance: none;
}

@media (max-width: 1100px) {
  .fees-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .fees-grid { grid-template-columns: 1fr; }
  .fees-title { font-size: 20px; }
}
