/* ============================================================
   SpiritMagicCall CRM Portal — Portal-specific styles
   Loads AFTER website.css — only overrides/additions needed
   ============================================================ */

/* === FLASH MESSAGES === */
.portal-flash {
  position: relative;
  padding: 1rem 2.5rem 1rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-size: .95rem;
  line-height: 1.5;
  z-index: 10;
}
.portal-flash-success {
  background: rgba(46,204,113,.12);
  border: 1px solid rgba(46,204,113,.3);
  color: #1a5c30;
}
.portal-flash-error {
  background: rgba(231,76,60,.12);
  border: 1px solid rgba(231,76,60,.3);
  color: #7a1a10;
}
.portal-flash-info {
  background: rgba(52,152,219,.12);
  border: 1px solid rgba(52,152,219,.3);
  color: #1a3a5c;
}
.portal-flash-close {
  position: absolute;
  top: .6rem; right: .8rem;
  background: none; border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: inherit;
  opacity: .6;
  line-height: 1;
}
.portal-flash-close:hover { opacity: 1; }

/* === PORTAL CARDS === */
.portal-card {
  background: rgba(255,248,224,.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(139,105,20,.2);
  border-radius: 12px;
  padding: 2rem 2.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 12px rgba(100,70,0,.08);
  position: relative;
  z-index: 5;
}
.portal-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(139,105,20,.15);
}
.portal-card-header h2 {
  font-family: 'CG', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #1a0a00;
  margin: 0;
}

/* === FORM STYLES === */
.portal-form-group {
  margin-bottom: 1.2rem;
}
.portal-form-group label {
  display: block;
  font-family: 'OF', system-ui, sans-serif;
  font-size: .85rem;
  font-weight: 500;
  color: #3a2000;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .4rem;
}
.portal-input {
  width: 100%;
  padding: .8rem 1rem;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(139,105,20,.3);
  border-radius: 6px;
  font-family: 'OF', system-ui, sans-serif;
  font-size: 1rem;
  color: #1a0a00;
  transition: border-color .3s, box-shadow .3s;
  box-sizing: border-box;
}
.portal-input:focus {
  outline: none;
  border-color: rgba(139,105,20,.6);
  box-shadow: 0 0 0 3px rgba(201,168,76,.15);
}
.portal-input::placeholder { color: rgba(90,64,0,.4); }
.portal-input[disabled], .portal-input[readonly] {
  background: rgba(255,255,255,.4);
  color: #5a4a2a;
  cursor: not-allowed;
}
.portal-input-hint {
  font-size: .8rem;
  color: #6a5a30;
  margin-top: .3rem;
}
select.portal-input {
  appearance: none;
  background-image: url(data:image/svg+xml,%3Csvg xmlns=http://www.w3.org/2000/svg width=12 height=12 viewBox=0 0 12 12%3E%3Cpath fill=%235a4020 d=M6 8L1 3h10z/%3E%3C/svg%3E);
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
textarea.portal-input {
  resize: vertical;
  min-height: 100px;
}

/* === PORTAL BUTTONS === */
/* Use the website .btn .bp and .bs classes primarily */
/* Additional portal-specific button styles */
.portal-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.5rem;
  border-radius: 4px;
  font-family: 'OF', system-ui, sans-serif;
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  transition: all .3s;
  border: none;
}
.portal-btn-primary {
  background: linear-gradient(135deg, #3a2000, #6b4e0a);
  color: #fff8e0;
  box-shadow: 0 4px 15px rgba(42,24,0,.3);
}
.portal-btn-primary:hover {
  background: linear-gradient(135deg, #4a3000, #7b5e1a);
  box-shadow: 0 8px 32px rgba(42,24,0,.5);
  transform: translateY(-2px);
  color: #fff8e0;
}
.portal-btn-secondary {
  background: rgba(42,24,0,.75);
  color: #f0d078;
  border: 1px solid rgba(201,168,76,.4);
}
.portal-btn-secondary:hover {
  background: rgba(42,24,0,.85);
  color: #fff8e0;
}
.portal-btn-sm { padding: .5rem 1rem; font-size: .8rem; }
.portal-btn-block { width: 100%; justify-content: center; }

/* === AUTH PAGES (Login, Register, Password) === */
.auth-wrap {
  max-width: 460px;
  margin: 0 auto;
}
.auth-wrap .portal-card {
  padding: 2.5rem 3rem;
  box-shadow: 0 4px 30px rgba(139,105,20,.15), 0 0 60px rgba(201,168,76,.08);
  border: 1px solid rgba(201,168,76,.3);
}
.auth-wrap h2 {
  font-family: 'CG', Georgia, serif;
  font-size: 1.8rem;
  font-weight: 300;
  color: #1a0a00;
  text-align: center;
  margin-bottom: 1.5rem;
}
.auth-links {
  text-align: center;
  margin-top: 1.2rem;
  font-size: .9rem;
}
.auth-links a {
  color: #5a3a00;
  text-decoration: none;
  border-bottom: 1px solid rgba(90,58,0,.3);
  transition: border-color .3s;
}
.auth-links a:hover {
  border-color: #5a3a00;
  color: #3a2000;
}

/* === PAGE HEADER (Dashboard, Bestellungen, etc.) === */
.portal-page-header {
  margin-bottom: 2rem;
}
.portal-page-header h2 {
  font-family: 'CG', Georgia, serif;
  font-size: 1.8rem;
  font-weight: 300;
  color: #1a0a00;
  margin-bottom: .3rem;
}
.portal-page-header p {
  color: #5a4a2a;
  font-size: .95rem;
}

/* === DASHBOARD === */
.dashboard-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.guthaben-display {
  text-align: center;
  padding: 1.5rem 0;
}
.guthaben-number {
  font-family: 'CG', Georgia, serif;
  font-size: 4rem;
  font-weight: 600;
  color: #6b4e0a;
  line-height: 1;
}
.guthaben-label {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #5a4a2a;
  margin-top: .5rem;
}
.quick-actions {
  display: flex;
  gap: .8rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.stat-number {
  font-family: 'CG', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: #6b4e0a;
  text-align: center;
  line-height: 1.1;
  padding-top: 1rem;
}
.stat-number.stat-open { color: #b8860b; }
.stat-label {
  text-align: center;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #5a4a2a;
  margin-top: .3rem;
}

/* === TABLES === */
.portal-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.portal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
}
.portal-table th {
  text-align: left;
  padding: .7rem 1rem;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #5a4a2a;
  border-bottom: 2px solid rgba(139,105,20,.2);
  font-weight: 600;
  white-space: nowrap;
}
.portal-table td {
  padding: .7rem 1rem;
  border-bottom: 1px solid rgba(139,105,20,.1);
  color: #1a0a00;
  vertical-align: middle;
}
.portal-table tr:last-child td { border-bottom: none; }
.portal-table a { color: #5a3a00; text-decoration: none; }
.portal-table a:hover { color: #3a2000; text-decoration: underline; }

/* === BADGES === */
.portal-badge {
  display: inline-block;
  padding: .2rem .7rem;
  border-radius: 100px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.portal-badge-neu {
  background: rgba(52,152,219,.15);
  color: #1a4a7a;
  border: 1px solid rgba(52,152,219,.3);
}
.portal-badge-bezahlt, .portal-badge-aktiv {
  background: rgba(46,204,113,.15);
  color: #1a5c30;
  border: 1px solid rgba(46,204,113,.3);
}
.portal-badge-storniert, .portal-badge-gesperrt {
  background: rgba(231,76,60,.1);
  color: #7a1a10;
  border: 1px solid rgba(231,76,60,.2);
}

/* === EMPTY STATE === */
.portal-empty {
  text-align: center;
  padding: 3rem 2rem;
  color: #5a4a2a;
}
.portal-empty p { color: #5a4a2a; margin-bottom: 1rem; }

/* === GRID LAYOUTS === */
.portal-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.portal-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
}

/* === CHECKOUT LAYOUT === */
.checkout-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: start;
}
.checkout-section {
  margin-bottom: 1.5rem;
}
.checkout-section-title {
  font-family: 'CG', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: #1a0a00;
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid rgba(139,105,20,.15);
}

/* Payment Methods */
.portal-payment-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: .8rem;
}
.portal-payment-option {
  cursor: pointer;
  display: block;
}
.portal-payment-option input[type="radio"] { display: none; }
.portal-payment-option .portal-payment-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  padding: 1rem .5rem;
  background: rgba(255,255,255,.5);
  border: 2px solid rgba(139,105,20,.2);
  border-radius: 8px;
  transition: all .3s;
}
.portal-payment-option input:checked + .portal-payment-inner {
  border-color: #8b6914;
  background: rgba(139,105,20,.1);
  box-shadow: 0 0 0 3px rgba(201,168,76,.15);
}
.portal-payment-option:hover .portal-payment-inner {
  border-color: rgba(139,105,20,.5);
}
.portal-payment-icon { font-size: 1.5rem; }
.portal-payment-label {
  font-size: .75rem;
  color: #3a2000;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 500;
}

/* Legal Checkboxes */
.portal-legal-group {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  margin-bottom: .8rem;
  padding: .8rem 1rem;
  background: rgba(255,255,255,.3);
  border: 1px solid rgba(139,105,20,.1);
  border-radius: 6px;
}
.portal-legal-group input[type="checkbox"] {
  margin-top: .3rem;
  flex-shrink: 0;
  accent-color: #8b6914;
}
.portal-legal-group label {
  font-size: .9rem;
  color: #1a0a00;
  line-height: 1.5;
  cursor: pointer;
}
.portal-legal-group a {
  color: #5a3a00;
  text-decoration: underline;
}
.portal-legal-special {
  border-color: rgba(139,105,20,.3);
  background: rgba(139,105,20,.06);
}

/* Summary Card */
.summary-card {
  position: sticky;
  top: 120px;
}
.summary-product h3 {
  font-family: 'CG', Georgia, serif;
  font-size: 1.3rem;
  color: #1a0a00;
  margin-bottom: .5rem;
}
.summary-product p { color: #3a2510; font-size: .92rem; }
.summary-minutes {
  text-align: center;
  padding: 1rem;
  margin: 1rem 0;
  background: rgba(139,105,20,.08);
  border-radius: 8px;
}
.summary-minutes .minutes-number {
  font-family: 'CG', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: #6b4e0a;
  display: block;
}
.summary-minutes .minutes-label {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #5a4a2a;
}
.summary-divider {
  width: 80px;
  height: 1px;
  background: linear-gradient(to right, transparent, #8b6914, transparent);
  margin: 1.2rem auto;
}
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  padding: .8rem 0;
}
.summary-total span { color: #3a2000; }
.summary-total strong {
  font-family: 'CG', Georgia, serif;
  font-size: 1.6rem;
  color: #6b4e0a;
}
.summary-info { font-size: .8rem; color: #5a4a2a; margin: .5rem 0 1rem; }
.summary-info p { margin-bottom: .2rem; color: #5a4a2a; font-size: .8rem; }
.summary-bank {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(139,105,20,.06);
  border: 1px solid rgba(139,105,20,.15);
  border-radius: 8px;
}
.summary-bank h4 {
  font-family: 'CG', Georgia, serif;
  font-size: 1rem;
  color: #1a0a00;
  margin-bottom: .5rem;
}
.bank-row {
  display: flex;
  justify-content: space-between;
  padding: .3rem 0;
  font-size: .85rem;
  color: #1a0a00;
}
.bank-row span:first-child { color: #5a4a2a; }
.bank-row-highlight { font-weight: 600; color: #6b4e0a; }
.summary-secure {
  text-align: center;
  margin-top: 1rem;
  font-size: .8rem;
  color: #5a4a2a;
}

/* === ANGEBOTE / STAFFEL === */
.hero-product {
  text-align: center;
  margin-bottom: 2.5rem;
  padding: 2.5rem;
  background: rgba(255,255,255,.5);
  border: 1px solid rgba(139,105,20,.2);
  border-radius: 12px;
}
.hero-badge {
  display: inline-block;
  padding: .3rem 1rem;
  border: 1px solid rgba(139,105,20,.3);
  border-radius: 100px;
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #5a4010;
  margin-bottom: 1rem;
}
.hero-product h2 {
  font-family: 'CG', Georgia, serif;
  font-size: 1.8rem;
  color: #1a0a00;
  margin-bottom: .5rem;
}
.hero-desc { color: #3a2510; margin-bottom: 1rem; }
.hero-price { margin: 1rem 0; }
.price-amount {
  font-family: 'CG', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: #6b4e0a;
}
.price-info {
  display: block;
  font-size: .85rem;
  color: #5a4a2a;
  margin-top: .3rem;
}
.staffel-section { margin-top: 2rem; }
.staffel-header {
  text-align: center;
  margin-bottom: 2rem;
}
.staffel-header h2 {
  font-family: 'CG', Georgia, serif;
  font-size: 1.8rem;
  color: #1a0a00;
}
.staffel-header p { color: #3a2510; }
.staffel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.tier-card {
  background: rgba(255,248,224,.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(139,105,20,.2);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color .3s, transform .3s;
  position: relative;
}
.tier-card:hover {
  border-color: rgba(139,105,20,.5);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(100,70,0,.15);
}
.tier-featured {
  border-color: #8b6914;
}
.tier-featured::before {
  content: '';
}
.tier-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #8b6914, #c9a84c);
  color: #fff;
  padding: .3rem 1.2rem;
  border-radius: 100px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.rabatt-badge {
  display: inline-block;
  padding: .2rem .7rem;
  background: rgba(46,204,113,.15);
  color: #1a5c30;
  border: 1px solid rgba(46,204,113,.3);
  border-radius: 100px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: .5rem;
}
.tier-card h3 {
  font-family: 'CG', Georgia, serif;
  font-size: 1.3rem;
  color: #1a0a00;
  margin-bottom: .3rem;
}
.tier-desc { color: #3a2510; font-size: .9rem; margin-bottom: 1rem; }
.tier-price .price-amount { font-size: 2rem; }
.tier-price-detail { font-size: .85rem; color: #5a4a2a; margin: .3rem 0; }
.tier-minutes {
  font-size: .9rem;
  color: #3a2510;
  margin: .8rem 0 1.2rem;
  padding: .5rem;
  background: rgba(139,105,20,.06);
  border-radius: 6px;
}
.tier-minutes strong { color: #6b4e0a; font-size: 1.2rem; }

/* Info Banner */
.info-banner {
  margin-top: 2rem;
  padding: 1.5rem 2rem;
  background: rgba(139,105,20,.08);
  border: 1px solid rgba(139,105,20,.2);
  border-left: 3px solid #8b6914;
  border-radius: 8px;
  line-height: 1.7;
  color: #1a0a00;
  font-size: .92rem;
}
.info-banner a { color: #5a3a00; }

/* === CONFIRMATION PAGE === */
.confirmation-page { max-width: 700px; margin: 0 auto; }
.confirmation-icon { text-align: center; margin-bottom: 1.5rem; }
.confirmation-title {
  font-family: 'CG', Georgia, serif;
  font-size: 1.6rem;
  color: #1a0a00;
  text-align: center;
  margin-bottom: 1.5rem;
}
.confirmation-nr {
  text-align: center;
  margin-bottom: 1.5rem;
}
.nr-label { font-size: .85rem; color: #5a4a2a; display: block; }
.nr-value {
  font-family: 'CG', Georgia, serif;
  font-size: 1.6rem;
  color: #6b4e0a;
  font-weight: 600;
}
.confirmation-details { margin: 1.5rem 0; }
.detail-row {
  display: flex;
  justify-content: space-between;
  padding: .5rem 0;
  border-bottom: 1px solid rgba(139,105,20,.1);
  color: #1a0a00;
  font-size: .92rem;
}
.detail-row span:first-child { color: #5a4a2a; }
.detail-row-total {
  font-weight: 600;
  font-size: 1.05rem;
  border-bottom: 2px solid rgba(139,105,20,.2);
}
.confirmation-payment-info {
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: rgba(139,105,20,.06);
  border: 1px solid rgba(139,105,20,.15);
  border-radius: 8px;
}
.confirmation-payment-info h3 {
  font-family: 'CG', Georgia, serif;
  font-size: 1.2rem;
  color: #1a0a00;
  margin-bottom: .8rem;
}
.confirmation-payment-info p { color: #1a0a00; font-size: .92rem; margin-bottom: .5rem; }
.bank-details-box {
  margin: 1rem 0;
  padding: 1rem;
  background: rgba(255,255,255,.4);
  border-radius: 6px;
}
.bank-note { font-size: .85rem; color: #5a4a2a; font-style: italic; margin-top: 1rem; }
.confirmation-email-note {
  text-align: center;
  padding: 1rem;
  background: rgba(139,105,20,.06);
  border-radius: 8px;
  color: #3a2510;
  font-size: .9rem;
  margin: 1rem 0;
}
.confirmation-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

/* === KONTO INFO (Profil) === */
.portal-info-item {
  padding: .5rem 0;
}
.portal-info-label {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #5a4a2a;
  margin-bottom: .2rem;
}
.portal-info-value {
  color: #1a0a00;
  font-size: 1rem;
}

/* === FORM ROW (side by side) === */
.portal-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* === STAFFEL INFO (Checkout summary) === */
.summary-staffel-info {
  margin: 1rem 0;
  padding: .8rem 1rem;
  background: rgba(139,105,20,.06);
  border: 1px solid rgba(139,105,20,.1);
  border-radius: 8px;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .portal-grid-2 {
    grid-template-columns: 1fr;
  }
  .portal-grid-3 {
    grid-template-columns: 1fr;
  }
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  .auth-wrap .portal-card {
    padding: 2rem 1.5rem;
  }
  .portal-card {
    padding: 1.5rem;
  }
  .portal-form-row {
    grid-template-columns: 1fr;
  }
}

/* === REGISTRATION OPTION (Checkout) === */
.registration-toggle {
  border-color: rgba(139,105,20,.25);
  background: rgba(139,105,20,.04);
}
.registration-toggle input[type="checkbox"] {
  margin-top: .3rem;
  flex-shrink: 0;
  accent-color: #8b6914;
}
.registration-fields {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, opacity .3s ease, padding .3s ease;
  opacity: 0;
  padding: 0 1rem;
}
.registration-fields.open {
  max-height: 200px;
  opacity: 1;
  padding: .5rem 0 0 0;
}
.registration-fields .portal-form-row {
  margin-top: .5rem;
}
.pw-hint-error {
  color: #c62828;
  font-size: .8rem;
}
.pw-hint-ok {
  color: #1a5c30;
  font-size: .8rem;
}

/* === DASHBOARD NAV TILES === */
.dashboard-nav-tiles {
  margin-bottom: 1.5rem;
}
.dashboard-tile {
  display: block;
  text-decoration: none;
  text-align: center;
  transition: transform .3s, border-color .3s, box-shadow .3s;
  cursor: pointer;
}
.dashboard-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(139,105,20,.5);
  box-shadow: 0 8px 30px rgba(100,70,0,.15);
}
.dashboard-tile-icon {
  font-size: 2.5rem;
  margin-bottom: .8rem;
}
.dashboard-tile h3 {
  font-family: 'CG', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: #1a0a00;
  margin-bottom: .4rem;
}
.dashboard-tile p {
  font-size: .85rem;
  color: #5a4a2a;
  margin: 0;
}

/* === GUTHABEN SELECTOR === */
.guthaben-selector {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: .8rem;
  margin-bottom: 1.5rem;
}
.guthaben-option {
  cursor: pointer;
  display: block;
}
.guthaben-option input[type="radio"] { display: none; }
.guthaben-option-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  padding: 1.2rem .8rem;
  background: rgba(255,255,255,.5);
  border: 2px solid rgba(139,105,20,.2);
  border-radius: 10px;
  transition: all .3s;
}
.guthaben-option.selected .guthaben-option-inner,
.guthaben-option input:checked + .guthaben-option-inner {
  border-color: #8b6914;
  background: rgba(139,105,20,.1);
  box-shadow: 0 0 0 3px rgba(201,168,76,.15);
}
.guthaben-option:hover .guthaben-option-inner {
  border-color: rgba(139,105,20,.5);
}
.guthaben-option-blocks {
  font-family: 'CG', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a0a00;
}
.guthaben-option-minutes {
  font-size: .8rem;
  color: #5a4a2a;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.guthaben-option-price {
  font-family: 'CG', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #6b4e0a;
  margin-top: .3rem;
}



/* ============================================================
   COMPACT LAYOUT — All CRM/Portal pages
   Reduces spacing between hero, content, and form elements
   ============================================================ */

/* Page hero: compact padding */
.page-hero { min-height: auto !important; align-items: flex-start !important; }
.page-hero-content { padding: 90px 2rem 0 !important; }
.page-hero h1 { margin-bottom: 0.2rem !important; font-size: clamp(1.6rem, 3.5vw, 2.5rem) !important; }
.page-hero .sb { margin-bottom: 0.3rem !important; }
.page-hero .subtitle { margin-bottom: 0 !important; font-size: 1rem !important; }

/* Content area: minimal gap between hero and content */
.content { padding-top: 10px !important; padding-bottom: 3rem !important; }

/* Body must scroll */
body.gold-bg { overflow: visible !important; }
body { overflow-x: hidden; overflow-y: auto !important; }

/* Checkout layout: minimal top margin */
.checkout-layout { margin-top: 15px !important; }

/* Portal cards: tighter padding */
.portal-card { padding: 1.5rem 2rem; margin-bottom: 1rem; }
.portal-card-header { margin-bottom: 1rem; padding-bottom: 0.7rem; }

/* Auth pages (login, register, passwort) */
.auth-wrap { margin-top: 0; }
.auth-wrap .portal-card { padding: 2rem 2.5rem; }

/* Dashboard: tighter grid */
.dashboard-grid { gap: 1rem; margin-bottom: 1rem; }

/* Portal page header: tighter */
.portal-page-header { margin-bottom: 1rem; }

/* Hero product (angebote): tighter */
.hero-product { margin-bottom: 1.5rem; padding: 1.5rem; }
.staffel-section { margin-top: 1rem; }
.staffel-header { margin-bottom: 1rem; }
.staffel-grid { gap: 1rem; }

/* Info banner */
.info-banner { margin-top: 1rem; }

/* Confirmation page */
.confirmation-page { margin-top: 0; }

/* Checkout sections */
.checkout-section { margin-bottom: 1rem; }
.checkout-section-title { margin-bottom: 0.7rem; padding-bottom: 0.3rem; }

/* Form groups tighter */
.portal-form-group { margin-bottom: 0.8rem; }

/* Legal groups tighter */
.portal-legal-group { margin-bottom: 0.5rem; padding: 0.6rem 0.8rem; }

/* Guthaben page */
.guthaben-selector { margin-bottom: 1rem; }

/* Summary card */
.summary-minutes { margin: 0.5rem 0; padding: 0.7rem; }
.summary-divider { margin: 0.8rem auto; }

/* Portal content wrapper */
.portal-content { padding-top: 10px !important; }

/* Flash messages */
.portal-flash { margin-bottom: 1rem; }

/* Tables */
.portal-table th, .portal-table td { padding: 0.5rem 0.8rem; }

/* Empty state */
.portal-empty { padding: 2rem 1.5rem; }

/* Responsive: even tighter on mobile */
@media (max-width: 900px) {
  .page-hero-content { padding: 80px 1.5rem 0 !important; }
  .content { padding: 5px 1.5rem 2rem !important; }
  .portal-card { padding: 1.2rem 1rem; }
  .auth-wrap .portal-card { padding: 1.5rem 1.2rem; }
  .hero-product { padding: 1.2rem; }
}

/* SCROLL FIX - nothing blocks scrolling */
html { overflow-y: auto !important; height: auto !important; }
body { overflow-y: auto !important; height: auto !important; min-height: 100vh; }
body.gold-bg, .gold-bg { overflow: visible !important; height: auto !important; }

/* Anrede Radio Buttons */
.anrede-radio { display: flex; gap: 2rem; margin-top: .5rem; }
.radio-label { display: flex; align-items: center; gap: .5rem; cursor: pointer; font-family: 'OF', system-ui, sans-serif; font-size: 1rem; color: #2a1500; }
.radio-label input[type=radio] { width: 18px; height: 18px; accent-color: #c9a84c; cursor: pointer; }
