html {
  overflow-x: hidden;
  overflow-y: auto;
}

.preise-body {
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 100vh;
}

.preise-shell {
  height: auto;
  min-height: 100dvh;
  padding-bottom: 112px;
}

.preise-frame {
  position: relative;
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(33, 105, 235, 0.42);
  background:
    radial-gradient(140% 130% at 88% 2%, rgba(11, 58, 140, 0.28), transparent 52%),
    radial-gradient(160% 140% at 0% 100%, rgba(12, 39, 95, 0.22), transparent 52%),
    linear-gradient(180deg, rgba(2, 8, 26, 0.9), rgba(2, 8, 21, 0.94));
  box-shadow:
    inset 0 0 0 1px rgba(90, 145, 255, 0.12),
    0 26px 56px rgba(1, 6, 20, 0.62);
  padding: 20px 20px 96px;
}

.preise-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(30, 84, 189, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 84, 189, 0.08) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.22;
}

.preise-hero,
.preise-flow-grid,
.preise-usage-grid,
.preise-plan-grid,
.preise-code-card,
.preise-value,
.preise-steps {
  position: relative;
  z-index: 1;
}

.preise-kicker {
  margin: 0;
  color: #33a8ff;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
}

.preise-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.9fr);
  gap: 18px;
  align-items: stretch;
}

.preise-hero-copy h1 {
  margin: 8px 0 0;
  color: #f2f8ff;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.preise-lead {
  margin: 14px 0 0;
  color: #e7f1ff;
  font-size: 22px;
  line-height: 1.35;
}

.preise-sublead {
  margin: 12px 0 0;
  color: rgba(211, 225, 246, 0.88);
  font-size: 18px;
  line-height: 1.5;
  max-width: 930px;
}

.preise-hero-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.preise-cta {
  min-height: 50px;
  border-radius: 12px;
  border: 1px solid rgba(52, 124, 248, 0.58);
  background: linear-gradient(180deg, rgba(5, 20, 50, 0.9), rgba(2, 10, 28, 0.94));
  color: #eaf3ff;
  font-size: 15px;
  font-weight: 700;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.preise-cta img {
  width: 18px;
  height: 18px;
}

.preise-cta:hover {
  transform: translateY(-1px);
  border-color: rgba(91, 160, 255, 0.9);
  box-shadow: 0 12px 22px rgba(4, 16, 41, 0.5);
}

.preise-cta-primary {
  background: linear-gradient(180deg, rgba(36, 124, 255, 0.96), rgba(10, 70, 200, 0.99));
  border-color: rgba(81, 154, 255, 0.72);
}

.preise-status-card {
  border-radius: 14px;
  border: 1px solid rgba(39, 109, 225, 0.5);
  background: linear-gradient(180deg, rgba(4, 16, 43, 0.84), rgba(2, 10, 27, 0.92));
  box-shadow: inset 0 0 0 1px rgba(108, 159, 255, 0.08);
  padding: 15px 14px;
}

.preise-status-card h2 {
  margin: 0;
  color: #f2f8ff;
  font-size: 22px;
}

.preise-status-card dl {
  margin: 14px 0 0;
  display: grid;
  gap: 8px;
}

.preise-status-card dl > div {
  border-radius: 10px;
  border: 1px solid rgba(42, 109, 225, 0.38);
  background: linear-gradient(180deg, rgba(3, 13, 35, 0.7), rgba(2, 9, 24, 0.8));
  padding: 8px 10px;
}

.preise-status-card dt {
  margin: 0;
  color: rgba(184, 204, 236, 0.84);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.preise-status-card dd {
  margin: 4px 0 0;
  color: #f0f6ff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.preise-flow-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.preise-flow-card {
  min-height: 152px;
  border-radius: 13px;
  border: 1px solid rgba(38, 110, 239, 0.46);
  background: linear-gradient(180deg, rgba(3, 12, 34, 0.8), rgba(2, 9, 25, 0.9));
  padding: 14px;
}

.preise-flow-card-green {
  border-color: rgba(38, 182, 128, 0.5);
}

.preise-flow-card-violet {
  border-color: rgba(146, 96, 255, 0.5);
}

.preise-flow-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(50, 138, 255, 0.6);
  background: linear-gradient(180deg, rgba(6, 31, 76, 0.84), rgba(2, 14, 40, 0.9));
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.preise-flow-card-green .preise-flow-icon {
  border-color: rgba(45, 194, 138, 0.72);
  background: linear-gradient(180deg, rgba(5, 56, 40, 0.84), rgba(2, 32, 24, 0.9));
}

.preise-flow-card-violet .preise-flow-icon {
  border-color: rgba(147, 100, 255, 0.72);
  background: linear-gradient(180deg, rgba(50, 24, 91, 0.84), rgba(26, 14, 52, 0.9));
}

.preise-flow-icon img {
  width: 19px;
  height: 19px;
}

.preise-flow-card h3 {
  margin: 9px 0 0;
  color: #f2f8ff;
  font-size: 24px;
}

.preise-flow-card p {
  margin: 4px 0 0;
  color: #dff0ff;
  font-size: 18px;
  font-weight: 600;
}

.preise-flow-card small {
  display: block;
  margin-top: 8px;
  color: rgba(189, 208, 238, 0.85);
  font-size: 14px;
  line-height: 1.4;
}

.preise-usage-grid {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.preise-usage-card {
  border-radius: 14px;
  border: 1px solid rgba(39, 110, 227, 0.43);
  background: linear-gradient(180deg, rgba(3, 13, 35, 0.8), rgba(2, 10, 28, 0.9));
  padding: 16px 16px 14px;
}

.preise-usage-card h2 {
  margin: 0;
  color: #f2f8ff;
  font-size: 30px;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

.preise-usage-card p {
  margin: 9px 0 0;
  color: rgba(206, 223, 250, 0.9);
  font-size: 18px;
  line-height: 1.45;
}

.preise-usage-card ul {
  margin: 11px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}

.preise-usage-card li {
  position: relative;
  padding-left: 22px;
  color: rgba(217, 231, 252, 0.94);
  font-size: 16px;
  line-height: 1.45;
}

.preise-usage-card li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: #31b0ff;
  font-weight: 700;
}

.preise-plan-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.preise-plan-card {
  border-radius: 14px;
  border: 1px solid rgba(39, 110, 227, 0.44);
  background: linear-gradient(180deg, rgba(3, 13, 35, 0.84), rgba(2, 10, 28, 0.92));
  padding: 14px 14px 13px;
  display: flex;
  flex-direction: column;
}

.preise-plan-card.is-current {
  border-color: rgba(79, 166, 255, 0.92);
  box-shadow:
    inset 0 0 0 1px rgba(120, 186, 255, 0.2),
    0 0 24px rgba(22, 113, 255, 0.24);
}

.preise-plan-guest {
  border-color: rgba(47, 196, 138, 0.5);
}

.preise-plan-free {
  border-color: rgba(45, 132, 255, 0.58);
}

.preise-plan-premium {
  border-color: rgba(151, 105, 255, 0.56);
}

.preise-plan-kicker {
  margin: 0;
  color: rgba(173, 200, 242, 0.84);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 11px;
}

.preise-plan-card h3 {
  margin: 7px 0 0;
  color: #f2f8ff;
  font-size: 30px;
  line-height: 1.1;
}

.preise-plan-copy {
  margin: 10px 0 0;
  color: rgba(206, 222, 248, 0.9);
  font-size: 15px;
  line-height: 1.45;
}

.preise-plan-price {
  margin: 12px 0 0;
  color: #f2f8ff;
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
}

.preise-plan-meta {
  margin: 3px 0 0;
  color: rgba(173, 200, 242, 0.82);
  font-size: 14px;
}

.preise-plan-card ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}

.preise-plan-card li {
  position: relative;
  padding-left: 20px;
  color: rgba(217, 231, 252, 0.94);
  font-size: 14px;
  line-height: 1.45;
}

.preise-plan-card li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: #31b0ff;
  font-weight: 700;
}

.preise-plan-actions {
  margin-top: auto;
  padding-top: 12px;
  display: grid;
  gap: 8px;
}

.preise-plan-btn {
  min-height: 44px;
  border-radius: 11px;
  border: 1px solid rgba(54, 129, 251, 0.62);
  background: linear-gradient(180deg, rgba(28, 116, 245, 0.94), rgba(8, 70, 194, 0.96));
  color: #f4f9ff;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease, border-color 0.18s ease;
}

.preise-plan-btn img {
  width: 17px;
  height: 17px;
}

.preise-plan-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  border-color: rgba(117, 181, 255, 0.92);
}

.preise-plan-btn:disabled,
.preise-code-row button:disabled {
  opacity: 0.62;
  cursor: not-allowed;
  filter: grayscale(0.2);
}

.preise-plan-btn:disabled:hover,
.preise-code-row button:disabled:hover {
  transform: none;
  border-color: rgba(54, 129, 251, 0.62);
}

.preise-plan-btn-alt {
  background: linear-gradient(180deg, rgba(4, 17, 45, 0.88), rgba(2, 10, 28, 0.92));
  border-color: rgba(43, 110, 226, 0.48);
  color: rgba(220, 235, 255, 0.95);
}

.preise-plan-btn-paypal {
  border-color: rgba(88, 166, 255, 0.76);
  background: linear-gradient(180deg, rgba(45, 125, 245, 0.96), rgba(8, 68, 176, 0.98));
}

.preise-paypal-hint {
  margin: 10px 0 0;
  color: rgba(195, 214, 245, 0.88);
  font-size: 13px;
  line-height: 1.35;
}

.preise-inline-state {
  margin: 8px 0 0;
  min-height: 18px;
  color: rgba(192, 210, 241, 0.88);
  font-size: 13px;
  line-height: 1.35;
}

.preise-inline-state[aria-busy="true"]::after {
  content: " Lädt ...";
  color: rgba(166, 200, 248, 0.95);
}

.preise-inline-state.is-ok {
  color: #75efb2;
}

.preise-inline-state.is-error {
  color: #ff99a6;
}

.preise-code-card {
  margin-top: 16px;
  border-radius: 14px;
  border: 1px solid rgba(39, 110, 227, 0.43);
  background: linear-gradient(180deg, rgba(3, 13, 35, 0.8), rgba(2, 10, 28, 0.9));
  padding: 14px 16px;
}

.preise-code-card h2 {
  margin: 0;
  color: #f2f8ff;
  font-size: 28px;
  line-height: 1.15;
}

.preise-code-card p {
  margin: 8px 0 0;
  color: rgba(202, 220, 248, 0.9);
  font-size: 16px;
}

.preise-code-row {
  margin-top: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.preise-code-row input {
  min-height: 44px;
  border-radius: 11px;
  border: 1px solid rgba(43, 111, 226, 0.58);
  background: linear-gradient(180deg, rgba(4, 17, 44, 0.88), rgba(2, 10, 27, 0.92));
  color: #eef6ff;
  padding: 0 12px;
  font-size: 14px;
}

.preise-code-row input:focus {
  outline: none;
  border-color: rgba(91, 159, 255, 0.92);
  box-shadow: 0 0 0 3px rgba(44, 111, 224, 0.2);
}

.preise-code-row button {
  min-height: 44px;
  border-radius: 11px;
  border: 1px solid rgba(52, 130, 255, 0.7);
  background: linear-gradient(180deg, rgba(34, 124, 255, 0.96), rgba(8, 70, 198, 0.98));
  color: #f4f9ff;
  font-size: 14px;
  font-weight: 700;
  padding: 0 14px;
  cursor: pointer;
}

.preise-code-row button:disabled {
  opacity: 0.65;
  cursor: progress;
}

.preise-value {
  margin-top: 16px;
  border-radius: 14px;
  border: 1px solid rgba(38, 108, 226, 0.44);
  background: linear-gradient(180deg, rgba(3, 13, 35, 0.8), rgba(2, 10, 28, 0.9));
  padding: 16px;
}

.preise-value h2 {
  margin: 8px 0 0;
  color: #f2f8ff;
  font-size: 34px;
  line-height: 1.14;
}

.preise-value > p {
  margin: 10px 0 0;
  color: rgba(208, 223, 248, 0.9);
  font-size: 18px;
  line-height: 1.45;
  max-width: 1100px;
}

.preise-value-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.preise-value-grid article {
  border-radius: 12px;
  border: 1px solid rgba(40, 108, 223, 0.42);
  background: linear-gradient(180deg, rgba(4, 16, 41, 0.78), rgba(2, 9, 23, 0.88));
  padding: 12px;
}

.preise-value-grid h3 {
  margin: 0;
  color: #f1f7ff;
  font-size: 19px;
  line-height: 1.2;
}

.preise-value-grid p {
  margin: 8px 0 0;
  color: rgba(195, 213, 243, 0.85);
  font-size: 14px;
  line-height: 1.4;
}

.preise-steps {
  margin-top: 16px;
}

.preise-steps h2 {
  margin: 8px 0 0;
  color: #f2f8ff;
  font-size: 34px;
  line-height: 1.14;
}

.preise-step-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.preise-step-card {
  border-radius: 13px;
  border: 1px solid rgba(39, 109, 225, 0.45);
  background: linear-gradient(180deg, rgba(3, 13, 35, 0.8), rgba(2, 10, 28, 0.9));
  padding: 14px 14px 13px;
}

.preise-step-card span {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(40, 127, 255, 0.96), rgba(12, 78, 212, 0.98));
  color: #f3f9ff;
  font-size: 15px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.preise-step-card h3 {
  margin: 11px 0 0;
  color: #f1f7ff;
  font-size: 24px;
  line-height: 1.15;
}

.preise-step-card p {
  margin: 8px 0 0;
  color: rgba(195, 213, 243, 0.86);
  font-size: 16px;
  line-height: 1.45;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.35s ease, transform 0.42s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(62, 128, 235, 0.5);
  background: linear-gradient(180deg, rgba(8, 29, 71, 0.88), rgba(4, 15, 42, 0.94));
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  z-index: 32;
}

.mobile-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: #d7ebff;
}

.mobile-menu-profile,
.nav-link-mobile-auth {
  display: none;
}

.preise-footer {
  margin: 0 auto;
  width: calc(100vw - 128px);
  position: fixed;
  left: 64px;
  bottom: 10px;
  z-index: 60;
  border-radius: 13px;
  border: 1px solid rgba(40, 110, 226, 0.44);
  background: linear-gradient(180deg, rgba(3, 13, 35, 0.8), rgba(2, 10, 28, 0.9));
  padding: 12px 14px;
  color: rgba(196, 215, 246, 0.88);
  font-size: 14px;
}

.preise-footer p {
  margin: 0;
}

.preise-footer a {
  color: #c6defe;
  text-decoration: none;
}

.preise-footer a:hover {
  color: #f2f8ff;
  text-decoration: underline;
}

@media (max-width: 1500px) {
  .preise-footer {
    left: 40px;
    width: calc(100vw - 80px);
  }
}

@media (max-width: 1600px) {
  .preise-status-card h2 {
    font-size: 20px;
  }

  .preise-usage-card h2 {
    font-size: 28px;
  }

  .preise-value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1280px) {
  .preise-hero {
    grid-template-columns: 1fr;
  }

  .preise-flow-grid,
  .preise-plan-grid,
  .preise-step-grid {
    grid-template-columns: 1fr;
  }

  .preise-value h2,
  .preise-steps h2 {
    font-size: 30px;
  }
}

@media (max-width: 900px) {
  .top-bar {
    position: relative;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    flex-direction: column;
    margin-left: auto;
  }

  .main-nav {
    display: none;
  }

  .main-nav.main-nav-mobile-open {
    display: grid;
    grid-auto-rows: min-content;
    gap: 9px;
    position: absolute;
    top: calc(100% + 10px);
    left: 12px;
    right: 12px;
    z-index: 31;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(61, 132, 247, 0.46);
    background: linear-gradient(180deg, rgba(3, 12, 34, 0.97), rgba(2, 9, 25, 0.98));
    box-shadow: 0 18px 34px rgba(1, 8, 24, 0.62);
  }

  .main-nav.main-nav-mobile-open .nav-link {
    justify-content: center;
  }

  .main-nav.main-nav-mobile-open .mobile-menu-profile {
    display: grid;
    gap: 4px;
    border-radius: 10px;
    border: 1px solid rgba(49, 122, 236, 0.35);
    background: linear-gradient(180deg, rgba(6, 23, 56, 0.82), rgba(3, 14, 36, 0.9));
    padding: 10px 11px;
  }

  .mobile-menu-greeting {
    margin: 0;
    color: #eff6ff;
    font-size: 14px;
    font-weight: 700;
  }

  .mobile-menu-status {
    color: rgba(184, 204, 236, 0.88);
    font-size: 12px;
  }

  .mobile-menu-status.mobile-menu-status-auth {
    color: #6de9aa;
  }

  .main-nav.main-nav-mobile-open .nav-link-mobile-auth {
    display: inline-flex;
  }

  .main-nav.main-nav-mobile-open .nav-link-mobile-logout {
    border: 1px solid rgba(255, 109, 129, 0.55);
    background: linear-gradient(180deg, rgba(73, 13, 25, 0.86), rgba(43, 7, 16, 0.9));
    color: #ffd8df;
    cursor: pointer;
  }

  .preise-shell {
    padding-bottom: 58px;
  }

  .preise-frame {
    padding: 12px;
  }

  .preise-hero-copy h1 {
    font-size: clamp(30px, 8vw, 42px);
  }

  .preise-lead {
    font-size: 18px;
  }

  .preise-sublead {
    font-size: 15px;
  }

  .preise-cta {
    width: 100%;
    justify-content: center;
  }

  .preise-flow-card h3 {
    font-size: 21px;
  }

  .preise-flow-card p {
    font-size: 16px;
  }

  .preise-usage-card h2 {
    font-size: 24px;
  }

  .preise-usage-card p,
  .preise-step-card p {
    font-size: 15px;
  }

  .preise-plan-card h3 {
    font-size: 26px;
  }

  .preise-plan-price {
    font-size: 34px;
  }

  .preise-code-card h2,
  .preise-value h2,
  .preise-steps h2 {
    font-size: 25px;
  }

  .preise-value > p {
    font-size: 15px;
  }

  .preise-value-grid {
    grid-template-columns: 1fr;
  }

  .preise-code-row {
    grid-template-columns: 1fr;
  }

  .preise-footer {
    width: min(1720px, calc(100% - 26px));
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    margin-top: -20px;
    font-size: 13px;
    z-index: 25;
  }
}
