.gk-rechner-page,
.gk-rechner-hub {
  max-width: 1040px;
  margin: 0 auto;
}

.gk-rechner-kicker {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4f46e5;
}

.gk-rechner-summary {
  margin: 0 0 20px;
  font-size: 1rem;
  line-height: 1.7;
  color: #334155;
}

.gk-rechner-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
  padding: 16px 18px;
  border: 1px solid #dbe4f3;
  border-radius: 16px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
}

.gk-rechner-toc p {
  width: 100%;
  margin: 0 0 4px;
  font-weight: 700;
  color: #1e293b;
}

.gk-rechner-toc a {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #d4ddf0;
  text-decoration: none;
  color: #1e293b;
  font-size: 0.88rem;
}

.gk-rechner-box {
  margin-bottom: 32px;
}

.gk-rechner {
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(145deg, #0f172a 0%, #1d4ed8 140%);
  color: #fff;
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.18);
}

.gk-rechner-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.gk-rechner-field-wrap {
  min-width: 0;
}

.gk-rechner-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.gk-rechner-control {
  position: relative;
}

.gk-rechner-input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  font-size: 0.95rem;
}

.gk-rechner-field-suffix {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 0.86rem;
  pointer-events: none;
}

.gk-rechner-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 20px 0 18px;
}

.gk-rechner-button {
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  background: #f8fafc;
  color: #0f172a;
  font-weight: 700;
  cursor: pointer;
}

.gk-rechner-note {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
}

.gk-rechner-result {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 16px;
}

.gk-rechner-result-main,
.gk-rechner-result-card {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.gk-rechner-result-main {
  padding: 18px 20px;
}

.gk-rechner-result-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.78);
}

.gk-rechner-result-value {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.1;
}

.gk-rechner-result-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
}

.gk-rechner-result-cards {
  display: grid;
  gap: 12px;
}

.gk-rechner-result-card {
  padding: 16px 18px;
}

.gk-rechner-result-card span {
  display: block;
  margin-bottom: 4px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
}

.gk-rechner-result-card strong {
  font-size: 1rem;
}

.gk-rechner-section {
  margin: 0 0 28px;
  padding: 24px 0 0;
  border-top: 1px solid #e5e7eb;
}

.gk-rechner-section h2 {
  margin-bottom: 10px;
}

.gk-rechner-section p,
.gk-rechner-section li {
  color: #334155;
  line-height: 1.75;
}

.gk-rechner-factor-list {
  margin: 12px 0 0;
}

.gk-rechner-faq details {
  padding: 14px 16px;
  border: 1px solid #dbe4f3;
  border-radius: 14px;
  background: #f8fbff;
}

.gk-rechner-faq details + details {
  margin-top: 12px;
}

.gk-rechner-faq summary {
  font-weight: 700;
  cursor: pointer;
}

.gk-rechner-related-grid,
.gk-rechner-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.gk-rechner-related-card,
.gk-rechner-hub-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid #dbe4f3;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
}

.gk-rechner-related-card strong,
.gk-rechner-hub-card strong {
  color: #0f172a;
}

.gk-rechner-related-card span,
.gk-rechner-hub-card span {
  color: #475569;
  line-height: 1.6;
  font-size: 0.92rem;
}

.gk-rechner-hub-hero {
  margin-bottom: 28px;
  padding: 26px 28px;
  border-radius: 20px;
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
  border: 1px solid #dbe4f3;
}

.gk-rechner-hub-group + .gk-rechner-hub-group {
  margin-top: 28px;
}

.gk-rechner-hub-group h3 {
  margin-bottom: 14px;
}

@media (max-width: 900px) {
  .gk-rechner-form-grid,
  .gk-rechner-result,
  .gk-rechner-related-grid,
  .gk-rechner-hub-grid {
    grid-template-columns: 1fr;
  }

  .gk-rechner-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
