.page-content {
  padding-top: clamp(44px, 7vw, 80px);
  max-width: var(--container-width);
  margin: 0 auto;
}

.pricing-header {
  text-align: center;
  margin-bottom: 50px;
}

.pricing-title {
  font-size: 2.8rem;
  margin-bottom: 10px;
  background: var(--brand-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pricing-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 40px;
  transition: color .5s ease;
}

.custom-toggle-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

.custom-toggle {
  display: inline-flex;
  position: relative;
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: 40px;
  padding: 6px;
  backdrop-filter: blur(10px);
  box-shadow: var(--glass-shadow);
  transition: all .5s ease;
}

.toggle-slider {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 6px;
  width: 50%;
  background: var(--brand-gradient);
  border-radius: 30px;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 1;
}

.toggle-btn {
  position: relative;
  z-index: 2;
  background: transparent;
  border: none;
  padding: 10px 24px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toggle-btn.active {
  color: white; 
}

.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 80px;
}

.pricing-card {
  padding: 35px 25px;
  display: flex;
  flex-direction: column;
  position: relative;
  flex: 1 1 180px;
  width: 384px;
  border-radius: 24px;
  border: 2px solid var(--card-border);
  z-index: 1;
}

.pricing-grid .pricing-card:hover {
  border-color: transparent;
  background: var(--brand-frame);
  transform: translateY(-18px);
  box-shadow: 0 25px 50px color-mix(in srgb, var(--brand) 25%, var(--brand2) 25%);
  z-index: 10; 
}

.pricing-card.highlight {
  border: 2px solid transparent;
  background: var(--brand-frame);
  box-shadow: 0 15px 40px color-mix(in srgb, var(--brand) 25%, var(--brand2) 25%);
}

.pricing-grid:has(.pricing-card:hover) .pricing-card.highlight:not(:hover) {
  border-color: var(--card-border);
  background: var(--card-bg);
  transform: translateY(0);
  box-shadow: none; 
}

.badge-container {
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  overflow: hidden;
  border-top-right-radius: 24px;
  pointer-events: none;
}

.card-badge {
  position: absolute;
  top: 25px;
  right: -32px;
  background: var(--brand-gradient);
  color: white;
  padding: 5px 40px;
  font-size: 0.8rem;
  font-weight: 600;
  transform: rotate(45deg);
  pointer-events: auto;
}

.card-header h3 {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.card-header p {
  color: var(--text-muted);
  font-size: 0.85rem;
  min-height: 40px;
  transition: color .5s ease;
}

.price-box {
  margin: 20px 0 5px 0;
  display: flex;
  align-items: baseline;
}

.currency {
  font-size: 1.2rem;
  font-weight: 600;
  margin-right: 4px;
}

.amount-wrapper {
  display: inline-block;
  overflow: hidden;
  height: 3.2rem;
}

.amount {
  display: inline-block;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.1;
  transition: transform .5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity .5s ease;
}

.amount.slide-up {
  transform: translateY(-40px);
  opacity: 0;
}

.amount.slide-down {
  transform: translateY(40px);
  opacity: 0;
}

.period {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-left: 6px;
  transition: opacity .5s ease, color .5s ease;
}

.period.fade-out {
  opacity: 0;
}

.vat-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 25px;
  opacity: 0.8;
  transition: color .5s ease;
}

.feature-list {
  list-style: none;
  margin-bottom: 30px;
  flex-grow: 1;
}

.feature-list li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  transition: transform .5s ease;
}

/* Info Tooltip Logik */
.info-icon {
  display: inline-flex;
  align-items: center;
  cursor: help;
  position: relative;
  color: var(--text-muted);
  transition: color .5s ease;
}

.info-icon:hover {
  color: var(--text-main);
}

.info-icon::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 140%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--card-bg-active);
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all .5s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 2px solid var(--card-border, rgba(255,255,255,0.1));
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  z-index: 100;
  pointer-events: none;
}

.info-icon:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Buttons */
.btn-primary {
  display: inline-block;
  text-align: center;
  background: var(--brand-gradient);
  color: white;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 24px;
  font-weight: 600;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  width: 100%;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px color-mix(in srgb, var(--brand) 25%, var(--brand2) 25%);
}

.btn-secondary {
  position: relative;
  display: inline-block;
  text-align: center;
  color: var(--text-main);
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 24px;
  font-weight: 600;
  border: 3px solid transparent;
  background: var(--brand-frame);
  cursor: pointer;
  width: 100%;
  overflow: hidden;
  z-index: 1;
  transition: transform .5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow .5s ease, border-color .5s ease, color .5s ease;
}

.btn-secondary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--brand-gradient);
  opacity: 0;
  transition: opacity .5s ease;
  z-index: -1;
}

.btn-secondary:hover {
  border-color: transparent;
  color: white;
  transform: scale(1.05);
}

.btn-secondary:hover::before {
  opacity: 1;
}

/* Active Klick-Effekt für Hauptbuttons */
.btn-primary:active, 
.btn-secondary:active {
  transform: scale(0.98) translateY(2px);
  box-shadow: none;
}

/* --- 4. Comparison Table (Mit zu 100% flüssigem CSS-Grid Akkordeon) --- */
.comparison-section {
  padding: 40px;
  border-radius: 24px;
  margin-bottom: 80px;
}

.comparison-title {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.8rem;
}

.table-responsive {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  table-layout: fixed; 
}

.col-feature { width: 40%; }
.col-paket { width: 20%; }

.comparison-table th {
  padding: 15px 20px;
  border-bottom: 2px solid var(--card-border);
  font-weight: 600;
  color: var(--text-main);
  background: rgba(0,0,0,0.02);
  transition: border-color .5s ease, color .5s ease;
}

.highlight-header {
  background: var(--brand-soft-gradient) !important;
}

.comparison-table td {
  padding: 0;
  border: none;
}

.category-row td {
  background: var(--brand-soft-gradient);
  border-bottom: 2px solid transparent;
  border-image: var(--brand-gradient) 1;
}

.category-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  padding: 15px 20px;
  cursor: pointer;
  background: linear-gradient(118deg,
    color-mix(in srgb, var(--brand) var(--option-fill, 0%), transparent),
    color-mix(in srgb, var(--brand2) var(--option-fill, 0%), transparent));
  transition: --option-fill .4s ease, color .5s ease;
}

.category-header-content:is(:hover, :focus-visible) {
  --option-fill: 12%;
}

/* toggle-icon - START */
.toggle-icon {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  background: linear-gradient(118deg,
    color-mix(in srgb, var(--brand) var(--option-fill, 0%), transparent),
    color-mix(in srgb, var(--brand2) var(--option-fill, 0%), transparent));
  transition: transform .45s ease, --option-fill .45s ease, border-color .45s ease;
}

.toggle-icon::before,
.toggle-icon::after {
  content: '';
  position: absolute;
  background: var(--text-main);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: background-color .45s ease;
  border-radius: 2px;
}

.toggle-icon::before { width: 14px; height: 2px; }
.toggle-icon::after { width: 2px; height: 14px; }

.category-header-content[aria-expanded="false"]:is(:hover, :focus-visible) .toggle-icon {
  --option-fill: 16%;
}

.category-header-content[aria-expanded="true"] .toggle-icon {
  transform: rotate(135deg);
  --option-fill: 100%;
  border-color: transparent;
}

.category-header-content[aria-expanded="true"] .toggle-icon::before,
.category-header-content[aria-expanded="true"] .toggle-icon::after {
  background: #ffffff;
}
/* toggle-icon - END */

.accordion-wrapper {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows .45s ease, opacity .35s ease;
}

.category-group.comparison-enhanced:not(.is-open) .accordion-wrapper {
  grid-template-rows: 0fr;
  opacity: 0;
}

.accordion-inner {
  min-height: 0;
  overflow: hidden;
}

.comparison-price {
  display: grid;
  row-gap: 2px;
  line-height: 1.35;
}

.comparison-price small { color: var(--text-muted); }
.comparison-price strong { color: var(--text-main); }

.detail-grid-row {
  display: flex;
  width: 100%;
  border-bottom: 2px solid var(--card-border);
  transition: background .5s ease, border-color .5s ease;
}

.detail-grid-row:hover {
  background: rgba(255, 255, 255, 0.05);
}

.detail-grid-row:last-child {
  border-bottom: none;
}

.grid-col {
  padding: 15px 20px;
  display: flex;
  align-items: center;
}

.highlight-col {
  background: var(--brand-soft-gradient);
}

.detail-grid-row:hover .highlight-col {
  background: var(--brand-soft-gradient);
}

/* --- 5. Neue Info Sections (Grid-Layout) --- */
.info-blocks-container {
  display: flex;
  gap: 30px;
  margin-bottom: 80px;
}

.info-block {
  flex: 1; 
  padding: 40px;
  border-radius: 24px;
  transition: transform .5s ease, box-shadow .5s ease;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.info-block-header {
  display: flex;
  align-items: center;
  gap: 15px;
}

.info-block-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--brand-soft-gradient); 
}

.info-block-header h2 {
  font-size: 1.6rem;
  margin-bottom: 0;
}

.info-content p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  transition: color .5s ease;
}

.info-details-list {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
}

.info-details-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--text-main);
  transition: color .5s ease;
}

.info-details-list li::before {
  content: "";
  flex: 0 0 22px;
  height: 22px;
  background: var(--brand-gradient);
  mask: var(--brand-check-mask) center / contain no-repeat;
}

@media (forced-colors: active) {
  .info-details-list li::before { forced-color-adjust: none; background: CanvasText; }
}

.info-badge-row {
  display: flex;
  align-items: center;
  gap: 15px;
}

html[data-theme="light"] .img-dark {
  display: none;
}

html[data-theme="dark"] .img-light {
  display: none;
}

.info-badge-img {
  height: 32px;
  width: auto;
  transition: filter .5s ease;
}

html[data-theme="dark"] .info-badge-img {
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.25));
}

html[data-theme="light"] .info-badge-img {
  filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.25));
}

/* --- 6. Media Queries --- */
@media (max-width: 768px) {
  /* Infoblöcke rutschen auf Mobile untereinander */
  .info-blocks-container {
    flex-direction: column;
  }
  
  .info-block {
    padding: 30px;
    text-align: center;
  }
  
  .info-badge-row {
      justify-content: center;
  }
}
.hosting-selection { margin: 0 0 64px; }
.page-content { padding: 48px 24px; }
.category-header-content { width: 100%; border: 0; color: var(--text-main); font-family: inherit; text-align: left; }
