:root {
  --mp-bg: #0f1419;
  --mp-card: #1a222c;
  --mp-text: #e8eef5;
  --mp-muted: #9aa7b8;
  --mp-accent: #3d9a6e;
  --mp-accent-2: #c9a227;
  --mp-border: #2a3544;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  background: var(--mp-bg);
  color: var(--mp-text);
  line-height: 1.55;
}

a {
  color: var(--mp-accent);
}

.mp-wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.mp-header {
  border-bottom: 1px solid var(--mp-border);
  background: rgba(15, 20, 25, 0.92);
  position: sticky;
  top: 0;
  z-index: 10;
}

.mp-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.5rem;
}

.mp-logo {
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--mp-text);
}

.mp-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.mp-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--mp-muted);
}

.mp-nav a:hover {
  color: var(--mp-text);
}

.mp-main {
  padding-bottom: 3rem;
}

.mp-hero {
  padding: 3rem 1.25rem 2rem;
}

.mp-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--mp-accent-2);
  margin: 0 0 0.75rem;
}

.mp-hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}

.mp-lead {
  font-size: 1.05rem;
  color: var(--mp-muted);
  max-width: 46rem;
  margin: 0 0 1.5rem;
}

.mp-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.mp-button {
  display: inline-block;
  padding: 0.65rem 1.2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.mp-button--primary {
  background: var(--mp-accent);
  color: #041208;
}

.mp-button--ghost {
  border: 1px solid var(--mp-border);
  color: var(--mp-text);
}

.mp-section {
  padding: 2.5rem 1.25rem;
}

.mp-section h2 {
  margin: 0 0 0.5rem;
}

.mp-section__intro {
  margin: 0 0 1.5rem;
  max-width: 40rem;
}

.mp-benefits {
  display: grid;
  gap: 1rem;
  margin-top: 0.5rem;
}

@media (min-width: 640px) {
  .mp-benefits {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .mp-benefits {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mp-benefit {
  background: var(--mp-card);
  border: 1px solid var(--mp-border);
  border-radius: 0.75rem;
  padding: 1.15rem 1.25rem;
  height: 100%;
}

.mp-benefit h3 {
  margin: 0 0 0.5rem;
  font-size: 1.02rem;
  line-height: 1.3;
  color: var(--mp-text);
}

.mp-benefit p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--mp-muted);
  line-height: 1.5;
}

.mp-muted {
  color: var(--mp-muted);
  font-size: 0.95rem;
}

.mp-pricing {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 800px) {
  .mp-pricing {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mp-card {
  background: var(--mp-card);
  border: 1px solid var(--mp-border);
  border-radius: 0.75rem;
  padding: 1.25rem 1.35rem;
}

.mp-card--highlight {
  border-color: var(--mp-accent);
  box-shadow: 0 0 0 1px rgba(61, 154, 110, 0.35);
}

.mp-card h3 {
  margin: 0 0 0.35rem;
}

.mp-price {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--mp-accent-2);
}

.mp-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--mp-muted);
  font-size: 0.92rem;
}

.mp-card li {
  margin-bottom: 0.35rem;
}

.mp-note {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--mp-muted);
}

.mp-tariff-compare {
  margin-top: 2rem;
}

.mp-tariff-compare__intro {
  margin-top: 0.25rem;
  margin-bottom: 1rem;
}

.mp-pricing--compact {
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
}

.mp-pricing--compact .mp-card {
  padding: 1rem 1.1rem;
}

.mp-pricing--compact h4 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.mp-pricing--compact p {
  margin: 0;
}

.mp-table-wrap {
  overflow-x: auto;
  margin: 0.6rem 0 1.5rem;
  border: 1px solid var(--mp-border);
  border-radius: 0.65rem;
}

.mp-table-wrap--compare {
  margin-top: 1rem;
}

.mp-compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  table-layout: fixed;
}

.mp-compare-col-feature {
  width: 42%;
}

.mp-compare-col-tier {
  width: calc(58% / 3);
}

.mp-compare-table th,
.mp-compare-table td {
  border-bottom: 1px solid var(--mp-border);
  padding: 0.6rem 0.75rem;
  text-align: left;
  vertical-align: middle;
  font-size: 0.9rem;
  word-wrap: break-word;
}

.mp-compare-table th:nth-child(2),
.mp-compare-table td:nth-child(2),
.mp-compare-table th:nth-child(3),
.mp-compare-table td:nth-child(3),
.mp-compare-table th:nth-child(4),
.mp-compare-table td:nth-child(4) {
  text-align: center;
}

.mp-compare-table tbody tr:last-child td {
  border-bottom: none;
}

.mp-compare-table th {
  background: rgba(26, 34, 44, 0.96);
  color: var(--mp-text);
  font-weight: 700;
}

.mp-compare-table td {
  color: var(--mp-muted);
}

.mp-compare-section td {
  padding-top: 0.85rem;
  padding-bottom: 0.5rem;
  font-weight: 700;
  color: var(--mp-text);
  background: rgba(26, 34, 44, 0.45);
  text-align: left;
  border-bottom: 1px solid var(--mp-border);
}

.mp-compare-section:first-of-type td {
  padding-top: 0.65rem;
}

.mp-compare-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #2d9d5a;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
}

.mp-compare-dash {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--mp-muted);
  font-weight: 600;
  opacity: 0.75;
}

.mp-compare-note {
  font-size: 0.82rem;
  line-height: 1.35;
  hyphens: auto;
}

.mp-tariff-compare h4 {
  margin: 1rem 0 0.35rem;
}

.mp-band {
  background: linear-gradient(180deg, rgba(61, 154, 110, 0.08), transparent);
  border-top: 1px solid var(--mp-border);
  border-bottom: 1px solid var(--mp-border);
}

.mp-footer {
  border-top: 1px solid var(--mp-border);
  padding: 1.5rem 0;
  font-size: 0.88rem;
}

.mp-footer a {
  color: var(--mp-muted);
}

.mp-legal {
  padding: 2.5rem 1.25rem 4rem;
}

.mp-legal h1 {
  margin-top: 0;
}

.mp-legal h2 {
  font-size: 1.15rem;
  margin: 2rem 0 0.65rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--mp-border);
  color: var(--mp-text);
}

.mp-legal h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.mp-legal h3 {
  font-size: 1rem;
  margin: 1.25rem 0 0.4rem;
  color: var(--mp-text);
}

.mp-legal ul,
.mp-legal ol {
  margin: 0.5rem 0 1rem;
  padding-left: 1.35rem;
  color: var(--mp-muted);
}

.mp-legal li {
  margin-bottom: 0.35rem;
}

.mp-legal p {
  color: var(--mp-muted);
  margin: 0.65rem 0;
}

.mp-legal .mp-legal-note {
  font-size: 0.88rem;
  color: var(--mp-muted);
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--mp-border);
}

.mp-legal-table-wrap {
  overflow-x: auto;
  margin: 1rem 0;
}

.mp-legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  color: var(--mp-muted);
}

.mp-legal th,
.mp-legal td {
  border: 1px solid var(--mp-border);
  padding: 0.5rem 0.65rem;
  text-align: left;
  vertical-align: top;
}

.mp-legal th {
  background: var(--mp-card);
  color: var(--mp-text);
  font-weight: 600;
}

.mp-legal address {
  font-style: normal;
  color: var(--mp-muted);
  margin: 0.5rem 0 1rem;
  line-height: 1.6;
}

/* Jetzt buchen — Formular */
.mp-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.mp-field label,
.mp-fieldset legend {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
  color: var(--mp-text);
}

.mp-field input[type="text"],
.mp-field input[type="email"],
.mp-field input[type="password"],
.mp-field input[type="tel"],
.mp-field input[type="number"] {
  width: 100%;
  max-width: 28rem;
  padding: 0.5rem 0.65rem;
  border-radius: 0.45rem;
  border: 1px solid var(--mp-border);
  background: var(--mp-bg);
  color: var(--mp-text);
  font: inherit;
}

.mp-field textarea {
  width: 100%;
  max-width: 28rem;
  padding: 0.5rem 0.65rem;
  border-radius: 0.45rem;
  border: 1px solid var(--mp-border);
  background: var(--mp-bg);
  color: var(--mp-text);
  font: inherit;
  resize: vertical;
  min-height: 5rem;
}

.mp-field-hint {
  display: block;
  font-size: 0.82rem;
  color: var(--mp-muted);
  margin-top: 0.35rem;
}

.mp-field-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 560px) {
  .mp-field-row {
    grid-template-columns: 1fr 1fr;
    max-width: 36rem;
  }
}

.mp-fieldset {
  border: 1px solid var(--mp-border);
  border-radius: 0.65rem;
  padding: 1rem 1.1rem;
  margin: 0;
}

.mp-plan-pick {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.mp-plan-option {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  cursor: pointer;
  font-size: 0.92rem;
}

.mp-plan-option input {
  margin-top: 0.2rem;
}

.mp-field--check label {
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.45;
}

.mp-field--check input {
  margin-right: 0.45rem;
  vertical-align: middle;
}

.mp-form-error {
  color: #f0a8a8;
  font-size: 0.9rem;
  margin: 0;
}

.mp-password-match-hint {
  font-size: 0.82rem;
  margin: 0.35rem 0 0;
  max-width: 36rem;
}

.mp-password-match-hint--ok {
  color: var(--mp-accent);
}

.mp-password-match-hint--err {
  color: #f0a8a8;
}

.mp-hidden {
  display: none !important;
}

.mp-banner {
  padding: 0.85rem 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.92rem;
}

.mp-banner--hidden {
  display: none;
}

.mp-banner--info {
  background: rgba(61, 154, 110, 0.15);
  border: 1px solid rgba(61, 154, 110, 0.45);
}

.mp-banner--error {
  background: rgba(180, 80, 80, 0.2);
  border: 1px solid rgba(200, 100, 100, 0.5);
}

.mp-card--notice h2 {
  margin-top: 0;
}

button.mp-button {
  cursor: pointer;
  font: inherit;
}

/* Native <button> hat sonst hellen Browser-Hintergrund; .mp-button--ghost würde durch
   ein globales border:none (früher) zudem den Rand verlieren. */
button.mp-button--primary {
  border: none;
  background: var(--mp-accent);
  color: #041208;
}

button.mp-button--primary:hover {
  filter: brightness(1.06);
}

button.mp-button--ghost {
  background: transparent;
  color: var(--mp-text);
  border: 1px solid var(--mp-border);
}

button.mp-button--ghost:hover {
  border-color: var(--mp-muted);
  color: var(--mp-text);
}

button.mp-button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.mp-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mp-modal {
  max-width: calc(100vw - 2rem);
  width: min(32rem, 100%);
  padding: 0;
  border: 1px solid var(--mp-border);
  border-radius: 0.75rem;
  background: var(--mp-card);
  color: var(--mp-text);
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.45);
}

.mp-modal--narrow {
  width: min(24rem, 100%);
}

.mp-modal::backdrop {
  background: rgba(0, 0, 0, 0.55);
}

.mp-modal__inner {
  padding: 1.25rem 1.35rem 1.35rem;
}

.mp-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.mp-modal__title {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.25;
}

.mp-modal__x {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 0.4rem;
  background: transparent;
  color: var(--mp-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.mp-modal__x:hover {
  color: var(--mp-text);
  background: rgba(255, 255, 255, 0.06);
}

.mp-modal__intro {
  margin: 0 0 1rem;
  font-size: 0.92rem;
}

.mp-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

.mp-turnstile-mount {
  min-height: 4rem;
}
