/* =========================
   RESET
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================
   BODY
========================= */

body {
  font-family: Arial, sans-serif;
  background: #637c9d;
  color: #1f1f1f;
  min-height: 100vh;
  overflow-x: hidden;
}

/* =========================
  LOGO
========================= */

.logo-area {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 30px;
  margin-bottom: 40px;
}

.logo-area h1 {
  font-size: 52px;
  font-weight: 700;
  letter-spacing: 4px;
  color: #1f1f1f;
}

.logo-area p {
  margin-top: 8px;
  font-size: 18px;
  color: #666;
}

/* =========================
   APP
========================= */

#app {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

/* =========================
   SCREEN
========================= */

.screen {
  position: absolute;

  top: 0;
  left: 0;

  width: 100%;

  opacity: 0;
  transform: translateX(30px);

  pointer-events: none;

  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.screen.active {
  position: relative;

  opacity: 1;

  transform: translateX(0);

  pointer-events: auto;

  display: flex;

  flex-direction: column;

  justify-content: space-between;

  min-height: calc(100vh - 48px);
}

/* =========================
   LOGO
========================= */

.logo-area {
  text-align: center;
  margin-top: 40px;
}

.logo-area h1 {
  font-size: 52px;
  font-weight: 700;
  letter-spacing: 4px;
  color: #1f1f1f;
}

.logo-area p {
  margin-top: 8px;
  font-size: 18px;
  color: #666;
}

/* =========================
   WELCOME CARD
========================= */

.welcome-card {
  background: white;
  border-radius: 28px;
  padding: 32px 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.welcome-card h2 {
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 18px;
  color: #1f1f1f;
}

.welcome-card p {
  font-size: 18px;
  line-height: 1.5;
  color: #666;
}

/* =========================
   BUTTONS
========================= */

.main-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

button {
  border: none;
  border-radius: 22px;
  padding: 20px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* Primary */

.primary-btn {
  background: #1f1f1f;
  color: white;
}

.primary-btn:active {
  transform: scale(0.98);
}

/* Secondary */

.secondary-btn {
  background: white;
  color: #1f1f1f;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.secondary-btn:active {
  transform: scale(0.98);
}
/* =========================
   TOP BAR
========================= */

.top-bar {
  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 16px;

  margin-top: 12px;

  margin-bottom: 18px;
}

.back-btn {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 14px 24px;

  border-radius: 18px;

  background: #1f1f1f;

  color: white;

  font-size: 16px;

  font-weight: 600;

  border: none;

  cursor: pointer;
}

.next-btn {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 14px 24px;

  border-radius: 18px;

  background: white;

  color: #1f1f1f;

  font-size: 16px;

  font-weight: 600;

  cursor: pointer;

  border: none;

  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

/* =========================
   SCREEN CONTENT
========================= */

.screen-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.screen-header h2 {
  font-size: 34px;
  line-height: 1.2;
  margin-bottom: 12px;
  color: white;
}

.screen-header p {
  font-size: 18px;
  line-height: 1.5;
  color: white;
}

/* =========================
   INPUT CARD
========================= */

.input-card {
  background: white;
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);

  display: flex;
  flex-direction: column;
  gap: 16px;
}

.input-card label {
  font-size: 18px;
  font-weight: 600;
}

.input-card input {
  border: none;
  background: #f3f3f3;
  border-radius: 18px;
  padding: 20px;
  font-size: 28px;
  font-weight: 600;
  color: #1f1f1f;
}

.input-card input:focus {
  outline: none;
}

.input-suffix {
  color: #777;
  font-size: 16px;
}

/* =========================
   BOTTOM ACTIONS
========================= */

.bottom-actions {
  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 16px;

  margin-top: 32px;

  margin-bottom: 40px;
}
/* =========================
   SELECTION GROUP
========================= */

.selection-group {
  display: flex;
  flex-direction: column;

  gap: 16px;
}

.selection-card {
  width: 100%;

  min-height: 78px;

  padding: 0 24px;

  border: 2px solid transparent;

  border-radius: 24px;

  background: #f8f8f8;

  color: #1f1f1f;

  font-size: 1.05rem;

  font-weight: 600;

  text-align: left;

  display: flex;

  align-items: center;

  justify-content: flex-start;

  cursor: pointer;

  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.12s ease,
    box-shadow 0.18s ease;

  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

/* TOUCH FEEDBACK */

.selection-card:active {
  transform: scale(0.985);
}

/* =========================
   RESULT CARD
========================= */

.result-card {
  align-items: center;
  text-align: center;
}

.result-label {
  font-size: 16px;
  color: white;
}

.result-card h3 {
  font-size: 48px;
  margin-top: 12px;
}

/* =========================
   INFO
========================= */

.info-card p,
.calm-card p {
  font-size: 17px;
  line-height: 1.6;
  color: #555;
}

/* =========================
   PROJEKTLISTE
========================= */

.projects-list {
  display: flex;
  flex-direction: column;

  gap: 14px;

  margin-top: 18px;
}

.project-item {
  background: white;

  border-radius: 22px;

  padding: 20px;

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);

  cursor: pointer;
}

.project-item h4 {
  font-size: 18px;

  margin-bottom: 6px;
}

.project-item p {
  color: #666;

  font-size: 15px;
}

/* =========================
   STARTSCREEN DARK MODE
========================= */

#start-screen {
  color: white;
}

/* Logo */

.logo-img {
  max-width: 240px;

  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.25));
}

/* Welcome Card */

.welcome-card {
  background: rgba(255, 255, 255, 0.92);

  backdrop-filter: blur(10px);
}

/* Projektliste */

.project-item {
  background: rgba(255, 255, 255, 0.92);
}

/* Einstellungen Link */

.settings-link {
  margin-top: 18px;

  text-align: center;
}

.settings-link button {
  background: transparent;

  color: rgba(255, 255, 255, 0.75);

  font-size: 14px;

  padding: 6px 10px;
}
/* =========================
   SETTINGS
========================= */

.settings-content {
  padding-bottom: 120px;
}

.settings-group {
  display: flex;

  flex-direction: column;

  gap: 18px;
}

.settings-title {
  color: white;

  font-size: 20px;

  font-weight: 700;

  margin-top: 12px;
}

.settings-placeholder {
  background: rgba(255, 255, 255, 0.08);

  border: 1px solid rgba(255, 255, 255, 0.12);

  border-radius: 22px;

  padding: 22px;

  color: rgba(255, 255, 255, 0.7);

  font-size: 15px;

  line-height: 1.5;
}

/* =========================
   INFO SYSTEM
========================= */

.info-toggle-btn {
  background: rgba(99, 124, 157, 0.1);

  color: #4c6482;

  padding: 14px 18px;

  border-radius: 16px;

  font-size: 15px;

  font-weight: 600;
}

.info-panel {
  display: none;

  flex-direction: column;

  gap: 14px;

  margin-top: 10px;

  padding: 18px;

  border-radius: 20px;

  background: rgba(99, 124, 157, 0.08);
}

.info-panel.active {
  display: flex;
}

.info-row {
  display: flex;

  justify-content: space-between;

  align-items: center;

  font-size: 15px;

  color: #1f1f1f;

  padding-bottom: 10px;

  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.info-description {
  font-size: 14px;

  line-height: 1.6;

  color: #FF6666;

  padding-top: 6px;
}

/* =========================
   PARAMETER HINTS
========================= */

.parameter-hint {
  font-size: 14px;

  color: #444;

  line-height: 1.5;

  margin-top: -4px;

  padding-left: 4px;
}

/* =========================
   FUTURE TOTAL CARD
========================= */

.future-total-card {
  margin-top: 34px;

  padding: 34px 28px;

  border-radius: 32px;

  background: rgba(255, 255, 255, 0.14);

  border: 1px solid rgba(255, 255, 255, 0.14);

  backdrop-filter: blur(12px);

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);

  display: flex;

  flex-direction: column;

  gap: 22px;
}

.future-total-label {
  font-size: 1rem;

  line-height: 1.5;

  font-weight: 600;

  color: rgba(255, 255, 255, 0.92);
}

.future-total-card h3 {
  font-size: 3.8rem;

  font-weight: 700;

  line-height: 1;

  color: #ffffff;

  letter-spacing: -1px;
}

.future-total-description {
  font-size: 0.95rem;

  line-height: 1.7;

  color: rgba(255, 255, 255, 0.78);
}

/* =========================
   PV ORIENTIERUNG
========================= */

.pv-card {
  margin-top: 28px;

  padding: 30px 28px;

  border-radius: 30px;

  background: rgba(255, 255, 255, 0.1);

  border: 1px solid rgba(255, 255, 255, 0.12);

  backdrop-filter: blur(10px);

  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
}

.pv-card .result-label {
  font-size: 1rem;

  line-height: 1.5;

  color: rgba(255, 255, 255, 0.92);
}

.pv-result {
  font-size: 3rem;

  font-weight: 700;

  line-height: 1.1;

  color: #ffffff;

  margin-top: 18px;

  margin-bottom: 18px;

  letter-spacing: -1px;
}

.pv-info {
  font-size: 0.95rem;

  line-height: 1.7;

  color: rgba(255, 255, 255, 0.78);
}

/* =========================
   SELECTION ACTIVE STATE
========================= */

.selection-card.active {
  border: 2px solid #2d5b40;

  background: rgba(95, 143, 116, 0.1);

  color: #2d5b40;

  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
}

.selection-card.active::before {
  content: "✓";

  display: flex;

  align-items: center;

  justify-content: center;

  width: 30px;
  height: 30px;

  margin-right: 14px;

  border-radius: 50%;

  background: #2d5b40;

  color: white;

  font-size: 16px;

  font-weight: 700;

  flex-shrink: 0;
}

/* =========================
   NUTZUNGSPROFIL
========================= */

.usage-profile-card {
  margin-top: 34px;

  padding: 30px 26px;

  border-radius: 30px;

  background: rgba(255, 255, 255, 0.12);

  border: 1px solid rgba(255, 255, 255, 0.14);

  backdrop-filter: blur(10px);

  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
}

.usage-stats-grid {
  display: flex;

  flex-direction: column;

  gap: 18px;

  margin-top: 26px;
}

.usage-stat-card {
  background: rgba(255, 255, 255, 0.08);

  border: 1px solid rgba(255, 255, 255, 0.1);

  border-radius: 22px;

  padding: 24px;

  text-align: left;
}

.usage-stat-value {
  font-size: 2.4rem;

  font-weight: 700;

  line-height: 1;

  color: #ffffff;

  margin-bottom: 10px;
}

.usage-stat-label {
  font-size: 0.95rem;

  line-height: 1.5;

  color: rgba(255, 255, 255, 0.82);
}

/* =========================
   PROJEKTLISTE
========================= */

.project-item {
  background: rgba(255, 255, 255, 0.92);

  border-radius: 18px;

  padding: 18px;

  margin-top: 14px;
}

.project-item h4 {
  color: #1f1f1f;

  font-size: 18px;

  margin-bottom: 6px;
}

.back-btn {
  display: inline-block;

  margin-bottom: 20px;

  padding: 14px 24px;

  border: none;

  border-radius: 18px;

  background: #1f1f1f;

  color: white;

  font-size: 16px;

  font-weight: 600;

  cursor: pointer;
}

/* =========================
   HIDDEN
========================= */

.hidden {
  display: none !important;
}

/* =========================
   EV CONSUMPTION CARD
========================= */

#ev-consumption-card {
  margin-top: 28px;

  padding: 34px 28px;

  border-radius: 32px;

  background: rgba(255, 255, 255, 0.16);

  border: 1px solid rgba(255, 255, 255, 0.18);

  backdrop-filter: blur(12px);

  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

#ev-consumption-value {
  font-size: 3.2rem;

  font-weight: 800;

  line-height: 1;

  letter-spacing: -1px;

  color: #ffffff;

  margin-top: 14px;

  margin-bottom: 18px;
}

#ev-consumption-formula {
  font-size: 0.92rem;

  line-height: 1.7;

  color: rgba(255, 255, 255, 0.78);
}

/* =========================
   HISTORISCHE BASIS
========================= */

.history-card {
  margin-top: 30px;

  padding: 26px;

  border-radius: 28px;

  background: rgba(255, 255, 255, 0.05);

  border: 1px solid rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(6px);
}

.history-title {
  font-size: 0.98rem;

  font-weight: 700;

  color: rgba(255, 255, 255, 0.78);

  margin-bottom: 20px;

  letter-spacing: 0.2px;
}

.history-grid {
  display: flex;

  flex-direction: column;

  gap: 14px;
}

.history-item {
  padding: 18px;

  border-radius: 20px;

  background: rgba(255, 255, 255, 0.04);

  border: 1px solid rgba(255, 255, 255, 0.05);
}

.history-label {
  font-size: 0.88rem;

  line-height: 1.5;

  color: rgba(255, 255, 255, 0.6);

  margin-bottom: 8px;
}

.history-value {
  font-size: 1.8rem;

  font-weight: 650;

  color: rgba(255, 255, 255, 0.92);

  letter-spacing: -0.5px;
}

/* =========================
   DYNAMISCHE TARIFE
========================= */

.tariff-card {
  margin-top: 10px;

  padding: 28px;

  border-radius: 30px;

  background: rgba(255, 255, 255, 0.06);

  border: 1px solid rgba(255, 255, 255, 0.1);

  backdrop-filter: blur(8px);
}

/* =========================
   ZEILEN
========================= */

.tariff-row {
  display: flex;

  align-items: flex-end;

  gap: 18px;

  margin-bottom: 28px;
}

.tariff-result-row {
  display: flex;

  align-items: flex-end;

  gap: 18px;

  margin-bottom: 28px;
}

/* =========================
   FELDER
========================= */

.tariff-field {
  flex: 1;

  display: flex;

  flex-direction: column;
}

.tariff-field label {
  font-size: 0.92rem;

  font-weight: 600;

  line-height: 1.4;

  margin-bottom: 10px;

  color: rgba(255, 255, 255, 0.92);
}

.tariff-field input {
  width: 100%;

  height: 64px;

  border: none;

  border-radius: 18px;

  padding: 0 18px;

  background: rgba(255, 255, 255, 0.92);

  color: #1d1d1d;

  font-size: 1.28rem;

  font-weight: 700;
}

.tariff-field input::placeholder {
  color: rgba(50, 50, 50, 0.42);

  font-weight: 500;
}

.tariff-field input:focus {
  outline: none;
}

/* =========================
   OPERATOR
========================= */

.tariff-operator {
  display: flex;

  align-items: center;

  justify-content: center;

  min-width: 44px;

  height: 64px;

  font-size: 2rem;

  font-weight: 800;

  color: white;

  opacity: 0.92;
}

.tariff-equals {
  display: flex;

  align-items: center;

  justify-content: center;

  min-width: 44px;

  height: 64px;

  font-size: 2rem;

  font-weight: 800;

  color: white;

  opacity: 0.92;
}

/* =========================
   ×20 BEREICH
========================= */

.tariff-multiplier {
  display: flex;

  align-items: center;

  justify-content: center;

  gap: 12px;

  min-width: 160px;

  height: 64px;
}

.tariff-multiplier-value {
  font-size: 1.35rem;

  font-weight: 700;

  color: white;

  white-space: nowrap;
}

.tariff-multiplier-operator {
  font-size: 2rem;

  font-weight: 800;

  color: white;

  opacity: 0.92;

  white-space: nowrap;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 480px) {
  .tariff-row,
  .tariff-result-row {
    flex-direction: column;

    align-items: stretch;
  }

  .tariff-operator,
  .tariff-equals {
    height: auto;

    min-height: 20px;
  }

  .tariff-multiplier {
    justify-content: flex-start;
  }
}

/* =========================
   TARIF BUSINESS FINETUNING
========================= */

.tariff-field input {
  font-size: 1.25rem;

  font-weight: 700;
}

.tariff-field input::placeholder {
  color: rgba(60, 60, 60, 0.42);
}

.tariff-multiplier {
  display: flex;

  align-items: center;

  justify-content: center;

  gap: 12px;

  min-height: 88px;
}

.tariff-multiplier-value {
  font-size: 1.5rem;

  font-weight: 700;

  color: white;
}

.tariff-multiplier-operator {
  font-size: 2rem;

  font-weight: 800;

  color: white;

  opacity: 0.92;
}
/* =========================
   INLINE EINHEITEN
========================= */

.tariff-input-wrapper {
  position: relative;
}

.tariff-input-wrapper input {
  padding-right: 78px;
}

.tariff-inline-unit {
  position: absolute;

  right: 18px;

  top: 50%;

  transform: translateY(-50%);

  font-size: 1rem;

  font-weight: 600;

  color: rgba(0, 0, 0, 0.45);

  pointer-events: none;
}
/* =========================
   TARIF VERTICAL FLOW
========================= */

.tariff-stack {
  display: flex;

  flex-direction: column;

  gap: 24px;

  margin-bottom: 28px;
}

.tariff-stack .tariff-field {
  width: 100%;
}

/* =========================
   ×20 VERTICAL CENTER
========================= */

.tariff-row.tariff-final-row {
  align-items: center;
}

.tariff-multiplier {
  align-items: center;

  height: 64px;

  padding-top: 22px;
}

/* =========================
   FINANCIAL SCREEN
========================= */

.financial-cost-card,
.orientation-card,
.advantage-card {
  display: flex;
  flex-direction: column;

  gap: 22px;

  padding: 30px 26px;

  border-radius: 30px;

  backdrop-filter: blur(10px);

  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
}

/* =========================
   KOSTENBLOCK
========================= */

.financial-cost-card {
  background: rgba(145, 45, 45, 0.42);

  border: 1px solid rgba(255, 210, 210, 0.18);
}

/* =========================
   ORIENTIERUNG
========================= */

.orientation-card {
  background: rgba(255, 255, 255, 0.1);

  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* =========================
   VORTEIL
========================= */

.advantage-card {
  background: rgba(75, 130, 92, 0.8);

  border: 4px solid rgba(180, 255, 205, 0.38);
}

/* =========================
   TITLES
========================= */

.financial-section-title {
  font-size: 1.15rem;

  font-weight: 700;

  line-height: 1.4;

  color: rgba(255, 255, 255, 0.94);
}

.financial-section-title.danger {
  color: white;
}

.financial-section-title.success {
  color: rgba(225, 255, 230, 0.96);
}

/* =========================
   SUBTITLE
========================= */

.financial-section-subtitle {
  font-size: 0.92rem;

  line-height: 1.6;

  color: rgba(255, 255, 255, 0.74);
}

/* =========================
   SUMMARY GRID
========================= */

.financial-summary-grid,
.financial-advantage-grid {
  display: flex;

  flex-direction: column;

  gap: 18px;
}

/* =========================
   SUMMARY ITEM
========================= */

.financial-summary-item,
.financial-advantage-item {
  padding: 24px;

  border-radius: 24px;

  background: rgba(255, 255, 255, 0.12);

  border: 1px solid rgba(255, 255, 255, 0.1);
}

.financial-cost-card .financial-summary-item {
  background: rgba(120, 40, 40, 0.22);
}

/* =========================
   LABELS
========================= */

.financial-summary-label,
.advantage-label {
  font-size: 0.92rem;

  line-height: 1.5;

  color: rgba(255, 255, 255, 0.72);

  margin-bottom: 10px;
}

/* =========================
   VALUES
========================= */

.financial-summary-value,
.advantage-value {
  font-size: 2.3rem;

  font-weight: 750;

  line-height: 1;

  letter-spacing: -1px;

  color: white;
}

/* =========================
   HIGHLIGHT
========================= */

.highlight-danger {
  background: rgba(185, 60, 60, 0.18);
}

.highlight-success {
  background: rgba(60, 145, 78, 0.18);
}

/* =========================
   ORIENTATION PLACEHOLDER
========================= */

.orientation-placeholder {
  display: flex;

  align-items: center;

  justify-content: center;

  min-height: 180px;

  border-radius: 24px;

  background: rgba(255, 255, 255, 0.08);

  border: 1px dashed rgba(255, 255, 255, 0.18);

  color: rgba(255, 255, 255, 0.58);

  font-size: 1rem;

  font-weight: 600;

  text-align: center;

  padding: 24px;
}

/* =========================
   ORIENTATION SLIDER SYSTEM
========================= */

.orientation-slider-group {
  display: flex;

  flex-direction: column;

  gap: 14px;

  margin-top: 10px;
}

/* =========================
   SLIDER HEADER
========================= */

.orientation-slider-header {
  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 18px;

  color: white;

  font-size: 1rem;

  font-weight: 600;
}

/* =========================
   RANGE SLIDER
========================= */

.orientation-slider-group input[type="range"] {
  -webkit-appearance: none;

  appearance: none;

  width: 100%;

  height: 18px;

  border-radius: 999px;

  background: rgba(255, 255, 255, 0.18);

  outline: none;
}

/* =========================
   WEBKIT TRACK
========================= */

.orientation-slider-group input[type="range"]::-webkit-slider-runnable-track {
  height: 18px;

  border-radius: 999px;

  background: rgba(255, 255, 255, 0.18);
}

/* =========================
   WEBKIT THUMB
========================= */

.orientation-slider-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;

  appearance: none;

  width: 42px;

  height: 42px;

  border-radius: 50%;

  background: white;

  border: 4px solid #637c9d;

  margin-top: -12px;

  cursor: pointer;

  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

/* =========================
   MOZ TRACK
========================= */

.orientation-slider-group input[type="range"]::-moz-range-track {
  height: 18px;

  border-radius: 999px;

  background: rgba(255, 255, 255, 0.18);
}

/* =========================
   MOZ THUMB
========================= */

.orientation-slider-group input[type="range"]::-moz-range-thumb {
  width: 42px;

  height: 42px;

  border-radius: 50%;

  background: white;

  border: 4px solid #637c9d;

  cursor: pointer;

  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

/* =========================
   RESULT CARD
========================= */

.orientation-result-card {
  margin-top: 12px;

  padding: 28px;

  border-radius: 28px;

  background: rgba(255, 255, 255, 0.12);

  border: 1px solid rgba(255, 255, 255, 0.1);

  text-align: center;
}

.orientation-result-label {
  font-size: 0.95rem;

  line-height: 1.5;

  color: rgba(255, 255, 255, 0.76);

  margin-bottom: 14px;
}

.orientation-result-value {
  font-size: 3.2rem;

  font-weight: 800;

  line-height: 1;

  letter-spacing: -1px;

  color: white;
}

/* =========================
   COMPARISON GRID
========================= */

.comparison-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 14px;
}

/* =========================
   COLUMNS
========================= */

.comparison-column {
  display: flex;

  flex-direction: column;

  gap: 18px;

  padding: 24px 18px;

  border-radius: 28px;
}

/* =========================
   RED COLUMN
========================= */

.comparison-danger {
  background: rgba(145, 35, 35, 0.52);

  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* =========================
   GREEN COLUMN
========================= */

.comparison-success {
  background: rgba(45, 125, 78, 0.52);

  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* =========================
   TITLE
========================= */

.comparison-title {
  font-size: 0.95rem;

  font-weight: 700;

  color: white;

  margin-bottom: 4px;
}

/* =========================
   ITEM
========================= */

.comparison-item {
  display: flex;

  flex-direction: column;

  justify-content: center;

  min-height: 118px;

  padding: 16px;

  border-radius: 22px;

  background: rgba(255, 255, 255, 0.14);
}

/* =========================
   LABEL
========================= */

.comparison-label {
  font-size: 0.82rem;

  color: rgba(255, 255, 255, 0.76);

  margin-bottom: 10px;
}

/* =========================
   VALUE
========================= */

.comparison-value {
  font-size: 1.65rem;

  font-weight: 800;

  line-height: 1.15;

  letter-spacing: -0.5px;

  color: white;
}

/* =========================
   HIGHLIGHT
========================= */

.comparison-highlight {
  background: rgba(255, 255, 255, 0.18);
}

/* =========================
   PROJECT CONTEXT
========================= */

.project-context-bar {
  margin: 8px 24px 18px 24px;
}

.project-context-name {
  font-size: 0.98rem;

  font-weight: 650;

  letter-spacing: 0.2px;

  color: rgba(255, 255, 255, 0.92);

  margin-bottom: 10px;
}

.project-context-line {
  width: 100%;

  height: 2px;

  border-radius: 999px;

  background: rgba(255, 255, 255, 0.18);
}

/* =========================
   EV OVERVIEW CARD
========================= */

.ev-overview-card {
  margin-top: 10px;

  padding: 30px 26px;

  border-radius: 30px;

  background: rgba(145, 45, 45, 0.42);

  border: 1px solid rgba(255, 210, 210, 0.18);

  backdrop-filter: blur(10px);

  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);

  display: flex;

  flex-direction: column;

  gap: 26px;
}

.ev-overview-title {
  font-size: 1.05rem;

  font-weight: 700;

  color: white;
}

.ev-overview-input-group {
  display: flex;

  flex-direction: column;

  gap: 14px;
}

.ev-overview-input-group label {
  font-size: 1rem;

  font-weight: 600;

  color: rgba(255, 255, 255, 0.92);
}

.ev-overview-input-group input {
  border: none;

  border-radius: 20px;

  padding: 22px;

  background: rgba(255, 255, 255, 0.88);

  color: #1f1f1f;

  font-size: 2rem;

  font-weight: 700;
}

.ev-overview-input-group input:focus {
  outline: none;
}

.ev-overview-input-group .input-suffix {
  color: rgba(255, 255, 255, 0.74);
}

.ev-overview-result {
  padding: 24px;

  border-radius: 24px;

  background: rgba(255, 255, 255, 0.12);

  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ev-overview-result-label {
  font-size: 0.95rem;

  line-height: 1.5;

  color: rgba(255, 255, 255, 0.76);

  margin-bottom: 14px;
}

.ev-overview-result-value {
  font-size: 3rem;

  font-weight: 800;

  line-height: 1;

  letter-spacing: -1px;

  color: white;

  margin-bottom: 18px;
}

.ev-overview-formula {
  font-size: 0.92rem;

  line-height: 1.7;

  color: rgba(255, 255, 255, 0.72);
}

/* =========================
   ENERGY OVERVIEW
========================= */

.energy-overview-card {
  margin-top: 26px;

  padding: 32px 28px;

  border-radius: 32px;

  background: rgba(95, 143, 116, 0.38);

  border: 1px solid rgba(255, 255, 255, 0.16);

  backdrop-filter: blur(12px);

  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.energy-overview-title {
  font-size: 1.05rem;

  font-weight: 700;

  line-height: 1.5;

  color: rgba(255, 255, 255, 0.94);

  margin-bottom: 24px;
}

.energy-overview-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 16px;
}

.energy-column {
  display: flex;

  flex-direction: column;

  gap: 18px;

  padding: 22px 18px;

  border-radius: 26px;
}

.energy-column.current {
  background: rgba(145, 35, 35, 0.42);

  border: 1px solid rgba(255, 255, 255, 0.08);
}

.energy-column.future {
  background: rgba(45, 125, 78, 0.42);

  border: 1px solid rgba(255, 255, 255, 0.08);
}

.energy-column-title {
  font-size: 1rem;

  font-weight: 700;

  line-height: 1.4;

  color: white;
}

.energy-value-card {
  padding: 20px;

  border-radius: 22px;

  background: rgba(255, 255, 255, 0.12);
}

.energy-label {
  font-size: 0.68rem;

  line-height: 1.3;

  color: rgba(255, 255, 255, 0.74);

  margin-bottom: 10px;
}

.energy-value {
  font-size: 1.8rem;

  font-weight: 800;

  line-height: 1.1;

  letter-spacing: -0.5px;

  color: white;
}

/* =========================
   PV CARD GREEN STYLE
========================= */

.pv-card {
  background: rgba(45, 125, 78, 0.42);

  border: 1px solid rgba(180, 255, 205, 0.18);
}

/* =========================
   VERGLEICH DARF NIE UMBRECHEN
========================= */

@media (max-width: 520px) {
  .comparison-grid,
  .energy-overview-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px;
  }

  .comparison-column,
  .energy-column {
    padding: 18px 12px;
    border-radius: 22px;
  }

  .comparison-item,
  .energy-value-card {
    min-height: 96px;
    padding: 14px 12px;
    border-radius: 18px;
  }

  .comparison-title,
  .energy-column-title {
    font-size: 0.82rem;
    line-height: 1.2;
  }

  .comparison-label,
  .energy-label {
    font-size: 0.72rem;
  }

  .comparison-value,
  .energy-value {
    font-size: 1.45rem;
    line-height: 1.05;
    white-space: nowrap;
  }
}

/* ===================== */
/* PV FLOW CARD */
/* ===================== */

.pv-flow-card {
  background: rgba(67, 160, 71, 0.32);

  border: 1px solid rgba(255, 255, 255, 0.08);

  border-radius: 24px;

  padding: 22px;

  margin-top: 18px;

  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.pv-flow-title {
  font-size: 1.05rem;

  font-weight: 700;

  color: #ffffff;

  margin-bottom: 18px;
}

.pv-flow-row {
  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 12px 0;

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* =========================
   PV FLOW KONTEXTZEILE
========================= */

.pv-flow-context-row {
  opacity: 0.78;
}

.pv-flow-context-row .pv-flow-label {
  font-style: italic;
}

.pv-flow-row:last-child {
  border-bottom: none;
}

.pv-flow-label {
  font-size: 0.9rem;

  color: rgba(255, 255, 255, 0.82);
}

.pv-flow-value {
  font-size: 1rem;

  font-weight: 700;

  color: #ffffff;
}

/* ===================== */
/* PV DETAIL */
/* ===================== */

.pv-orientation-detail {
  margin-top: 6px;

  font-size: 0.78rem;

  color: rgba(255, 255, 255, 0.72);
}

/* =========================
   NAVIGATION FIX
========================= */

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  margin-bottom: 18px;
}

.back-btn,
.next-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 24px;
  border-radius: 18px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  margin: 0;
}

.back-btn {
  background: #1f1f1f;
  color: white;
}

.next-btn {
  background: white;
  color: #1f1f1f;
}

/* =========================
   MOBILE FINETUNING
========================= */

/* Mehr Luft zwischen Welcome-Kachel und erstem Button */
#start-screen .welcome-card {
  margin-bottom: 24px;
}

/* PV-Orientierung: Text darf auf echten Smartphones nicht aus der Karte laufen */
.pv-result {
  font-size: clamp(1.8rem, 8vw, 2.5rem);
  line-height: 1.12;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  max-width: 100%;
  text-wrap: balance;
}

/* =========================
   ROOF CHECK
========================= */

.roof-expand-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.roof-expand-btn {
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  padding: 6px 10px;
}

.roof-visualization {
  margin-top: 24px;
  padding: 18px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 18px;
  display: grid;
  gap: 4px;
  width: 100%;
  min-height: 120px;
}

.roof-module {
  background: #1f1f1f;
  border-radius: 3px;
  width: 100%;
  height: 100%;
}

.roof-module.horizontal {
  width: 100%;
  height: 100%;
}

.roof-area-result {
  margin-top: -12px;
  margin-bottom: 6px;
  padding: 16px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}

/* =========================
   DACHNEIGUNG
========================= */

.roof-pitch-card {
  margin-top: 30px;
  padding: 28px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.roof-pitch-title {
  text-align: center;
  color: white;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.roof-pitch-visual {
  position: relative;
  width: 260px;
  height: 150px;
  margin: 0 auto;
}

.roof-pitch-horizontal {
  position: absolute;
  left: 20px;
  bottom: 26px;
  width: 190px;
  height: 3px;
  background: #1f1f1f;
}

.roof-pitch-vertical {
  position: absolute;
  left: 210px;
  bottom: 26px;
  width: 3px;
  height: 95px;
  background: #1f1f1f;
}

.roof-pitch-diagonal {
  position: absolute;
  left: 20px;
  bottom: 26px;
  width: 213px;
  height: 5px;
  background: #e6392e;
  transform: rotate(-26deg);
  transform-origin: left center;
}

.roof-pitch-input-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 10px;
}

.roof-pitch-input {
  display: block;
  border: none;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  padding: 10px;
  width: 110px;
  height: 48px;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
}

.roof-pitch-result {
  margin: 18px auto 0 auto;
  width: 140px;
  height: 50px;
  border-radius: 16px;
  background: rgba(45, 125, 78, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: white;
}

.roof-pitch-field,
.roof-pitch-result-wrapper,
.roof-length-result-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}

.roof-pitch-field label,
.roof-pitch-result-wrapper label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 2px;
}

.roof-pitch-result-wrapper {
  margin-top: 10px;
}

.roof-length-result-wrapper {
  margin-top: 10px;
}

.roof-pitch-result-wrapper .roof-pitch-result {
  margin-top: 0;
}
/* =========================
   UNIVERSAL UNIT WRAPPER
========================= */

.unit-input-wrapper {
  position: relative;
}

.unit-input-wrapper input {
  padding-right: 52px;
}

.unit-inline {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

/* Spinner entfernen */

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.roof-length-result-wrapper label {
  color: rgba(255, 255, 255, 0.72) !important;
  margin-bottom: -6px !important;
}
.roof-length-result-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 2px !important;
}

/* =========================
   HEATING TOGGLE CARD
========================= */

.heating-card {
  padding: 20px 22px;
}

.heating-toggle-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  padding: 0;
  color: #1f1f1f;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
}

#heating-selected-label {
  background: rgba(45, 125, 78, 0.92);
  color: white;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.08rem;
  min-width: 72px;
  text-align: center;
}

.heating-options-wrapper {
  margin-top: 20px;
}

.heating-selection-group {
  gap: 12px;
}

.heating-selection-group .selection-card {
  min-height: 66px;
  border-radius: 18px;
  font-size: 0.98rem;
}

.storage-flow-card,
.storage-season-card,
.storage-heatpump-card,
.storage-cycle-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 20px;
  margin-bottom: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.storage-section-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #1f2a24;
}

.storage-flow-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
}

.storage-flow-item {
  background: #f5f7f4;
  border-radius: 16px;
  padding: 14px;
  text-align: center;
  font-weight: 600;
  color: #26332b;
}

.storage-flow-arrow {
  text-align: center;
  color: #7b8a80;
  font-size: 1.2rem;
}

.storage-season-grid,
.storage-cycle-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.storage-season-box,
.storage-cycle-box {
  background: #f6f7f5;
  border-radius: 14px;
  padding: 12px 14px;
}

.storage-season-label,
.storage-cycle-label {
  font-size: 0.9rem;
  color: #6a746d;
  margin-bottom: 6px;
}

.storage-season-value,
.storage-cycle-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: #1f2a24;
  margin-bottom: 8px;
}

.storage-season-text,
.storage-info-note {
  font-size: 0.95rem;
  line-height: 1.45;
  color: #59635d;
}

.storage-toggle-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.storage-cycle-box.highlight {
  background: #eaf4ee;
}

@media (min-width: 680px) {
  .storage-season-grid,
  .storage-cycle-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .storage-toggle-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.storage-cycle-subline {
  font-size: 0.9rem;
  color: #6a746d;
  margin-bottom: 8px;
}

.storage-cycle-input {
  width: 100%;
  border: none;
  background: #ffffff;
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 1.6rem;
  font-weight: 800;
  color: #1f2a24;
  margin-bottom: 8px;
}

.storage-cycle-input:focus {
  outline: none;
}

.storage-energy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 22px;
}

.storage-energy-box {
  background: #f6f7f5;
  border-radius: 18px;
  padding: 18px;
}

.storage-energy-label {
  font-size: 0.9rem;
  color: #6a746d;
  margin-bottom: 8px;
}

.storage-energy-value {
  font-size: 2rem;
  font-weight: 800;
  color: #1f2a24;
}

.storage-season-config {
  margin-top: 22px;
}

.storage-season-config-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: #1f2a24;
}

.storage-season-config-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 680px) {
  .storage-energy-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .storage-season-config-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================
   STORAGE FLOW REFINEMENT
========================= */

.storage-pv-headline {
  width: 100%;
  margin: 14px 0 14px 0;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1.5px solid #2d5b40;
  background: rgba(95, 143, 116, 0.1);
  color: #2d5b40;
  font-size: 1.05rem;
  font-weight: 800;
  text-align: center;
}

.storage-energy-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.storage-energy-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 13px;
  background: #f5f7f4;
  color: #1f2a24;
}

.storage-energy-row span {
  font-size: 0.98rem;
  font-weight: 600;
}

.storage-energy-row strong {
  font-size: 0.98rem;
  font-weight: 800;
  white-space: nowrap;
}

.storage-flow-grid.compact {
  margin-top: 4px;
}

.storage-season-config {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.storage-season-config-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #1f2a24;
  margin-bottom: 12px;
}

.storage-season-config-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.storage-season-input-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.03);
}

.storage-season-input-card label {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: #1f2a24;
  margin-bottom: 10px;
}

.storage-season-input-card input {
  width: 100%;
  border: none;
  background: #f3f3f3;
  border-radius: 12px;
  padding: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  color: #1f1f1f;
}

.storage-season-input-card input:focus {
  outline: none;
}

.storage-season-input-card span {
  display: block;
  margin-top: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  opacity: 0.85;
}

@media (max-width: 390px) {
  .storage-season-config-grid {
    grid-template-columns: 1fr;
  }
}

.storage-leading-input {
  border: 1.5px solid rgba(45, 91, 64, 0.45);
  background: rgba(95, 143, 116, 0.08);
}

.storage-leading-input label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.storage-leading-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(45, 91, 64, 0.12);
  color: #2d5b40;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.storage-season-result-card {
  background: #f6f7f5;
  border-radius: 16px;
  padding: 12px;
}

.storage-season-result-card label {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: #1f2a24;
  margin-bottom: 10px;
}

.storage-season-result-value {
  background: #ffffff;
  border-radius: 12px;
  padding: 10px;
  font-size: clamp(1rem, 3vw, 1.35rem);
  font-weight: 800;
  color: #1f1f1f;
}

.storage-season-result-card span {
  display: block;
  margin-top: 8px;
  font-size: 0.82rem;
  color: #777;
}

.season-two-row {
  grid-template-columns: 1fr 1fr;
}

.season-summer {
  background: rgba(255, 156, 54, 0.14);
  border: 1.5px solid rgba(255, 156, 54, 0.35);
}

.season-winter {
  background: rgba(80, 135, 195, 0.14);
  border: 1.5px solid rgba(80, 135, 195, 0.35);
}

.season-summer label,
.season-summer .storage-season-result-value {
  color: #7a4300;
}

.season-winter label,
.season-winter .storage-season-result-value {
  color: #244f7a;
}

.season-summer input {
  background: rgba(255, 255, 255, 0.82);
  color: #7a4300;
}

.storage-season-result-card.season-summer,
.storage-season-result-card.season-winter {
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
}

@media (max-width: 360px) {
  .season-two-row {
    grid-template-columns: 1fr;
  }
}
.storage-season-hint {
  margin-top: -6px;
  margin-bottom: 14px;
  font-size: 0.78rem;
  color: #7b7b7b;
  font-weight: 500;
}

.storage-energy-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  margin: 16px 0;
}

.usage-season-info-card {
  background: rgba(255, 255, 255, 0.75);
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 10px;
}

.usage-season-info-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: #1f2a24;
  margin-bottom: 6px;
}

.usage-season-info-values {
  font-size: 0.95rem;
  font-weight: 700;
  color: #4f5c54;
  line-height: 1.35;
}

.percent-input-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  padding: 0 14px;
}

.percent-input-wrapper input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 14px 0;
  font-size: clamp(1.3rem, 5vw, 1.8rem);
  font-weight: 800;
}

.percent-input-wrapper span {
  font-size: clamp(1.2rem, 4vw, 1.6rem);
  font-weight: 800;
  line-height: 1;
}

.storage-mini-hint {
  margin-top: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.65;
  line-height: 1.3;
}

.season-four-row {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
}

.season-four-row > div {
  flex: 1;
  min-width: 0;
}

.season-four-row .storage-season-input-card,
.season-four-row .storage-season-result-card {
  padding: 6px;
  border-radius: 10px;
}

.season-four-row .storage-season-input-card label,
.season-four-row .storage-season-result-card label {
  font-size: 0.68rem;
  margin-bottom: 6px;
  line-height: 1.15;
}

.season-four-row .storage-season-input-card input,
.season-four-row .storage-season-result-value {
  padding: 6px 4px;
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.15;
  word-break: break-word;
}

.season-four-row .storage-season-input-card span,
.season-four-row .storage-season-result-card span {
  font-size: 0.62rem;
  line-height: 1.2;
}

.season-four-row .storage-leading-badge,
.season-four-row .storage-calculated-badge {
  font-size: 0.55rem;
  padding: 3px 5px;
}

.storage-section-subtitle {
  display: block;
  margin-top: 4px;

  font-size: 0.72rem;
  font-weight: 500;
  color: #6f756f;
}

.storage-grid-impact {
  margin-top: 14px;
  padding: 12px 14px;

  border-radius: 14px;

  background: #f3f4f2;
  border: 1px solid #d8ddd7;

  display: flex;
  flex-direction: column;
  gap: 4px;
}

.storage-grid-impact span {
  font-size: 0.72rem;
  font-weight: 600;

  color: #5b625b;

  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.storage-grid-impact strong {
  font-size: 1rem;
  font-weight: 700;

  color: #2f5f46;
}

.storage-season-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.pv-practice-box {
  margin-top: 18px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.pv-practice-title {
  margin-bottom: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.pv-practice-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 6px 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.72);
}

.pv-practice-row strong {
  color: #ffffff;
  font-weight: 700;
  text-align: right;
}

/* =========================
   SET-HINWEIS
========================= */

.set-marker {
  display: inline-block;
  font-size: 0.7em;
  font-weight: 600;
  color: #EAEA0B;
  vertical-align: sub;
  letter-spacing: 0.03em;
  margin-left: 5px;
  text-transform: lowercase;
}

/* =========================
   SET-SEPARATOR
========================= */

.set-separator {
  width: 100%;
  text-align: center;
  margin: 8px 0 10px;
  line-height: 1;
}

.set-separator .set-marker {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.58);
  vertical-align: sub;
  letter- .formula-set-note {
    margin-top: 4px;
    line-height: 1;
  }
}

.storage-season-hint {
  margin-top: 10px;
  font-size: 0.78rem;
  line-height: 1.35;
  color: rgba(40, 40, 40, 0.62);
}

/* =========================
   UTILITY BUTTONS
========================= */

.utility-link-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;

  width: 100%;

  margin-top: 12px;
  margin-bottom: 4px;
}

.utility-link-row .settings-btn,
.utility-link-row .help-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 88px;

  height: 34px;

  padding: 0 10px;

  border: none;
  border-radius: 14px;

  background: rgba(255, 255, 255, 0.92);

  color: #1f1f1f;

  font-size: 0.72rem;
  font-weight: 700;

  cursor: pointer;

  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.utility-link-row .settings-btn:hover,
.utility-link-row .help-btn:hover {
  background: #ffffff;
}

/* =========================
   HELP OVERLAY
========================= */

.help-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;

  background: rgba(20, 28, 36, 0.72);

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 20px;
}

.help-panel {
  width: 100%;
  max-width: 430px;
  max-height: 82vh;

  background: #ffffff;
  border-radius: 26px;

  overflow: hidden;

  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.help-header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 18px 20px;

  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.help-header h2 {
  font-size: 1.2rem;
  color: #1f1f1f;
}

.help-close-btn {
  width: 36px;
  height: 36px;

  padding: 0;

  border-radius: 50%;

  background: #f1f1f1;
  color: #1f1f1f;

  font-size: 1.4rem;
  line-height: 1;
}

.help-content {
  max-height: calc(82vh - 74px);
  overflow-y: auto;

  padding: 20px;

  color: #1f1f1f;
}

.help-content h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.help-content h4 {
  font-size: 0.95rem;
  margin-top: 20px;
  margin-bottom: 8px;
}

.help-content p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #4a4a4a;
}

/* =========================
   LICENSE OVERLAY
========================= */

.license-overlay {
  position: fixed;

  inset: 0;

  background: rgba(20, 20, 20, 0.92);

  display: flex;

  align-items: center;

  justify-content: center;

  z-index: 99999;

  padding: 24px;
}

.license-box {
  width: 100%;

  max-width: 420px;

  background: white;

  border-radius: 32px;

  padding: 36px 28px;

  display: flex;

  flex-direction: column;

  gap: 22px;

  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}

.license-box h2 {
  font-size: 32px;

  line-height: 1.2;

  color: #1f1f1f;
}

.license-box p {
  font-size: 16px;

  line-height: 1.6;

  color: #666;
}

#license-key-input {
  border: none;

  background: #f3f3f3;

  border-radius: 18px;

  padding: 20px;

  font-size: 20px;

  font-weight: 600;
}

#license-key-input:focus {
  outline: none;
}

#activate-license-btn {
  background: #1f1f1f;

  color: white;

  border: none;

  border-radius: 20px;

  padding: 20px;

  font-size: 18px;

  font-weight: 700;

  cursor: pointer;
}

#license-message {
  min-height: 24px;

  font-size: 15px;

  line-height: 1.5;

  color: #c0392b;
}

/* =========================
   SPEICHEREMPFEHLUNG
========================= */

.battery-recommendation-card {
  margin-top: 22px;
}

.battery-image-wrapper {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.battery-storage-image {
  width: 150px;
  max-width: 100%;
  height: auto;
  opacity: 0.96;
}

/* =========================
   ENERGIEKOSTEN ERGEBNIS
========================= */

.energy-cost-result-card {
  margin-top: 18px;
  padding: 26px 24px;
  border-radius: 26px;
  background: rgba(45, 125, 78, 0.82);
  border: 1px solid rgba(220, 255, 230, 0.28);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.energy-cost-result-card .result-label {
  margin-bottom: 14px;
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
}

.energy-cost-result-card .pv-practice-row {
  padding: 8px 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.88);
}

.energy-cost-result-card .pv-practice-row strong {
  color: #ffffff;
  font-weight: 800;
}

/* =========================
   DYNAMIC TARIFF FINAL POLISH
========================= */

.tariff-field-hint {
  margin-top: 8px;
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.68);
}

.tariff-field input[readonly] {
  background: rgba(255, 255, 255, 0.76);
  color: #1f1f1f;
  cursor: default;
}

.tariff-field input[readonly]:focus {
  outline: none;
}

@media (max-width: 480px) {
  .tariff-row,
  .tariff-result-row,
  .tariff-stack {
    gap: 12px;
  }
}
/* =========================
   ENERGY COST INPUT HEADLINES
========================= */

.energy-cost-card #energy-cost-inputs > .info-description {
  color: #8a5b6f;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
  padding-top: 10px;
  padding-left: 2px;
  letter-spacing: 0.2px;
}

/* =========================
   DYNAMIC TARIFF – VORTEILSSCREEN
========================= */

.dynamic-tariff-content {
  gap: 24px;
}

.dynamic-hero-card,
.dynamic-zero-card,
.dynamic-benefit-card,
.dynamic-seller-card {
  border-radius: 30px;
  padding: 30px 26px;
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.dynamic-hero-card {
  background: rgba(22, 48, 78, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.dynamic-zero-card {
  background: rgba(235, 249, 250, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.dynamic-benefit-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.dynamic-benefit-strong {
  border: 3px solid rgba(76, 150, 68, 0.5);
}

.dynamic-label {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.dynamic-zero-card .dynamic-label,
.dynamic-benefit-card .dynamic-label {
  color: #1f2d3d;
}

.dynamic-main-value {
  font-size: 3.7rem;
  font-weight: 850;
  line-height: 1;
  letter-spacing: -2px;
  color: white;
}

.dynamic-zero-value {
  font-size: 2.6rem;
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: -1px;
  color: #0d6f72;
}

.dynamic-benefit-value {
  font-size: 3.6rem;
  font-weight: 850;
  line-height: 1;
  letter-spacing: -2px;
  color: #3f9338;
}

.dynamic-seller-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.dynamic-seller-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1f2d3d;
  margin-bottom: 20px;
}

.dynamic-seller-card .tariff-field label {
  color: #1f2d3d;
}

.dynamic-seller-card .tariff-field input {
  background: #f3f3f3;
}

@media (max-width: 420px) {
  .dynamic-main-value,
  .dynamic-benefit-value {
    font-size: 3.1rem;
  }

  .dynamic-zero-value {
    font-size: 2.2rem;
  }
}

/* =========================
   DYNAMIC BASIS ACCORDION
========================= */

.dynamic-basis-card {
  margin-top: 0;
  padding: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
}

.dynamic-basis-toggle {
  width: 100%;
  min-height: 64px;
  padding: 0 22px;
  border-radius: 28px;
  background: transparent;
  color: #1f2d3d;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 800;
  box-shadow: none;
}

.dynamic-basis-chevron {
  font-size: 1.25rem;
  transition: transform 0.2s ease;
}

.dynamic-basis-card:not(.collapsed) .dynamic-basis-chevron {
  transform: rotate(180deg);
}

.dynamic-basis-content {
  padding: 0 28px 28px 28px;
}

.dynamic-basis-card.collapsed .dynamic-basis-content {
  display: none;
}

/* =========================================
   PDF PAGE 4
========================================= */

.pdf-page-4 {
  width: 794px;
  height: 1122px;
  overflow: hidden;
  position: relative;
  background: #ffffff;
  padding: 42px;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  color: #142033;
}

/* HERO */

.page4-hero {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 34px;
  align-items: start;
  margin-bottom: 54px;
}

.page4-kicker {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #b9903d;
  font-weight: 700;
  margin-bottom: 18px;
}

.page4-title {
  font-size: 38px;
  line-height: 1.13;
  margin: 0 0 26px 0;
  color: #061b46;
  font-weight: 400;
  letter-spacing: -0.5px;
  max-width: 380px;
}

.page4-description {
  font-size: 15px;
  line-height: 1.65;
  color: #4f5b6b;
  max-width: 390px;
}

.page4-hero-right {
  width: 382px;
  height: 252px;
  margin-top: -42px;
  margin-right: -42px;
  overflow: hidden;
  border-bottom-left-radius: 130px;
}

.page4-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* VERGLEICH */

.page4-comparison-section {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 32px;
  align-items: stretch;
  margin-bottom: 54px;
}

.page4-column-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  color: #b08a4a;
  margin-bottom: 18px;
  min-height: 30px;
}

.page4-card {
  background: #142033;
  border-radius: 20px;
  padding: 26px 26px 28px 26px;
  color: white;
  min-height: 245px;
}

.page4-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 20px;
  font-size: 15px;
}

.page4-row strong {
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
}

.page4-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin: 26px 0;
}

.page4-total {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}

.page4-total span {
  font-size: 15px;
  line-height: 1.25;
}

.page4-total strong {
  font-size: 34px;
  line-height: 1;
  color: #d8b36a;
  white-space: nowrap;
}

/* TRENNLINIE */

.page4-separator {
  width: 1px;
  background: rgba(176, 138, 74, 0.28);
}

/* LANGFRISTIG */

.page4-longterm-card {
  background: white;
  border-radius: 22px;
  padding: 34px;
  margin-bottom: 110px;
}

.page4-longterm-title {
  font-size: 22px;
  margin-bottom: 18px;
  color: #142033;
}

.page4-longterm-text {
  font-size: 14px;
  line-height: 1.65;
  color: #4f5b6b;
  margin-bottom: 30px;
}

.page4-longterm-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.page4-longterm-item span {
  display: block;
  font-size: 13px;
  color: #7d8794;
  margin-bottom: 10px;
}

.page4-longterm-item strong {
  font-size: 28px;
  color: #142033;
}

.page4-footer {
  position: absolute;
  left: 42px;
  right: 42px;
  bottom: 28px;
}

.page4-footer-line {
  display: none;
}

.page4-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page4-footer-brand {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: #142033;
}

.page4-footer-brand strong {
  font-size: 11px;
  letter-spacing: 0.8px;
}

.page4-footer-brand span {
  font-size: 8px;
  letter-spacing: 1.4px;
  color: #7f8895;
}

.page4-footer-page {
  font-size: 8px;
  letter-spacing: 1.8px;
  color: #9ca3ad;
}

/* =========================================================
   PDF Seite 5 – Moderne Energiesysteme
   ========================================================= */

.pdf-page-5 {
  width: 794px;
  height: 1122px;
  position: relative;
  overflow: hidden;
  background: #ffffff;
  color: #10294a;
  font-family: Arial, sans-serif;
  padding: 42px 42px 86px;
  box-sizing: border-box;
}

.page5-kicker {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #b9903d;
  font-weight: 700;
  margin-bottom: 18px;
}

.page5-hero {
  display: grid;
  grid-template-columns: 48% 52%;
  gap: 24px;
  min-height: 220px;
  margin: -8px -42px 22px 0;
  padding-left: 0;
}

.page5-title {
  font-size: 38px;
  line-height: 1.13;
  margin: 0 0 26px;
  color: #061b46;
  font-weight: 400;
  letter-spacing: -0.5px;
  max-width: 360px;
}

.page5-description {
  font-size: 14px;
  line-height: 1.55;
  color: #2d3542;
  margin: 0;
}

.page5-intro-text {
  margin-top: -12px;
  margin-bottom: 28px;

  font-size: 14px;
  line-height: 1.7;

  color: #39414f;
}

.page5-hero-right {
  position: relative;
  height: 220px;
  overflow: hidden;
  border-bottom-left-radius: 115px;
  border-top-left-radius: 0;
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
  background: #ffffff;
}

.page5-hero-right::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(255, 255, 255, 0.62) 36%,
    rgba(255, 255, 255, 0.16) 72%,
    rgba(255, 255, 255, 0) 100%
  );
}

.page5-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  display: block;
  transform: scale(1.06);
  filter: brightness(0.86) saturate(0.92) contrast(0.96);
}

.page5-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 16px;
}

.page5-feature-card {
  background: #fffdf8;
  border: 1px solid rgba(185, 144, 61, 0.18);
  border-radius: 18px;
  padding: 18px 20px 16px;
  box-shadow: 0 10px 28px rgba(16, 41, 74, 0.05);
}

.page5-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #10294a;
  color: #d7ab55;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 18px;
}

.page5-feature-card h2 {
  font-size: 18px;
  line-height: 1.25;
  margin: 0 0 16px;
  color: #10294a;
}

.page5-feature-card p {
  font-size: 13px;
  line-height: 1.55;
  color: #2d3542;
  margin-bottom: 10px;
}

.page5-feature-card ul {
  margin: 0;
  padding-left: 18px;
}

.page5-feature-card li {
  margin-bottom: 4px;
  font-size: 10px;
  line-height: 1.45;
  color: #5a6472;
}

.page5-card-claim {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(185, 144, 61, 0.22);
  font-weight: 700;
  color: #10294a;
}

.page5-longterm-card {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 22px;
  align-items: center;
  background: #fffdf9;
  border: 1px solid rgba(185, 144, 61, 0.18);
  border-radius: 18px;
  padding: 18px 24px;
  margin-bottom: 14px;
}

.page5-longterm-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(185, 144, 61, 0.08);
  color: #b9903d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  font-weight: 700;
}

.page5-longterm-card h2 {
  margin-bottom: 8px;
  font-size: 22px;
  color: #10294a;
}

.page5-longterm-card p {
  margin-bottom: 8px;
  font-size: 11px;
  line-height: 1.45;
  color: #2d3542;
}

.page5-longterm-card strong {
  color: #10294a;
}

.page5-bottom-row {
  display: grid;
  grid-template-columns: 34% 66%;
  gap: 16px;
  align-items: start;
  margin-top: 0;
}

.page5-control-note {
  padding-top: 16px;
}

.page5-leaf {
  font-size: 34px;
  color: #b9903d;
  margin-bottom: 12px;
}

.page5-control-note p {
  font-size: 12px;
  line-height: 1.55;
  color: #39414f;
}

.page5-potential-card {
  background: #fffdf8;
  border: 1px solid rgba(185, 144, 61, 0.18);
  border-radius: 18px;
  padding: 18px 22px;
}

.page5-potential-card h2 {
  margin-bottom: 8px;
  font-size: 18px;
  color: #10294a;
}

.page5-potential-card p {
  margin-bottom: 12px;
  font-size: 11px;
  line-height: 1.6;
  color: #39414f;
}

.page5-potential-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.page5-potential-values span {
  display: block;
  font-size: 11px;
  line-height: 1.5;
  color: #6a7280;
  margin-bottom: 8px;
}

.page5-potential-values strong {
  font-size: 28px;
  color: #10294a;
}

.page5-hint {
  margin-top: 8px;
  text-align: center;
  font-size: 11px;
  color: #6a7280;
}

.page5-footer {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
}

.page5-footer-line {
  display: none;
}

.page5-footer-inner {
  height: 42px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 0 28px;

  background: #ffffff;
}

.page5-footer-brand {
  display: flex;
  align-items: center;
  gap: 6px;

  transform: translateY(-1px);
}

.page5-footer-brand strong {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 22px;
  height: 12px;

  color: #10294a;

  font-size: 7px;
  font-weight: 700;

  letter-spacing: 0.4px;

  line-height: 1;
}

.page5-footer-brand span {
  font-size: 5.5px;
  font-weight: 500;
  letter-spacing: 1.9px;
  color: #8b92a1;
  text-transform: uppercase;

  line-height: 1;
}

.page5-footer-page {
  font-size: 5.5px;
  font-weight: 600;
  letter-spacing: 1.9px;
  color: #8b92a1;
  text-transform: uppercase;

  line-height: 1;

  transform: translateY(-1px);
}

/* =========================================================
   PAGE 6 – PREMIUM ABSCHLUSS / ZERTIFIKATSWIRKUNG
========================================================= */

.pdf-page-6 {
  width: 794px;
  height: 1122px;
  background: #ffffff;
  position: relative;
  overflow: hidden;
  font-family: Arial, sans-serif;
  color: #061b46;
}

/* HERO */

.page6-hero {
  position: relative;
  width: 100%;
  height: 292px;
  overflow: hidden;
}

.page6-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.page6-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(6, 27, 70, 0.28),
    rgba(6, 27, 70, 0.72)
  );
}

.page6-hero-content {
  position: absolute;
  left: 42px;
  bottom: 34px;
  z-index: 2;
  max-width: 660px;
}

.page6-hero-content h1 {
  margin: 0 0 14px 0;
  font-size: 36px;
  line-height: 1.12;
  letter-spacing: -0.7px;
  font-weight: 400;
  color: #ffffff;
}

.page6-hero-content p {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
  color: #d8b15a;
  font-weight: 600;
}

/* INTRO */

.page6-intro {
  padding: 34px 58px 24px 58px;
}

.page6-intro p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: #4f5b6b;
  text-align: center;
}

/* HIGHLIGHTS */

.page6-highlights {
  padding: 8px 76px 0 76px;
}

.page6-highlights-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page6-highlight-row {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: start;
  padding: 6px 0;
}

.page6-highlight-row:last-child {
  border-bottom: none;
}

.page6-highlight-badge {
  position: relative;

  width: 46px;
  height: 46px;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: radial-gradient(
    circle at 30% 30%,
    #f3d38a 0%,
    #d6ac52 45%,
    #b9903d 100%
  );

  border: 1px solid rgba(150, 108, 28, 0.55);

  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, 0.35),
    inset 0 -3px 5px rgba(90, 60, 10, 0.18),
    0 2px 5px rgba(0, 0, 0, 0.08);

  color: #ffffff;

  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0px;
}

.page6-highlight-badge::after {
  content: "";

  position: absolute;

  inset: 5px;

  border-radius: 50%;

  border: 1px dashed rgba(255, 255, 255, 0.38);
}

.page6-highlight-row h3 {
  margin: 0 0 3px 0;

  font-size: 19px;
  line-height: 1.22;
  font-weight: 700;

  color: #061b46;
}

.page6-highlight-row p {
  margin: 0;

  font-size: 13px;
  line-height: 1.48;

  color: #4f5b6b;
}

.page6-highlight-number {
  font-size: 12px;

  font-weight: 700;

  letter-spacing: 1.8px;

  color: #b9903d;

  margin-bottom: 12px;
}

.page6-highlight-card h3 {
  margin: 0 0 10px 0;

  font-size: 24px;

  line-height: 1.2;

  font-weight: 700;

  color: #061b46;
}

.page6-highlight-card p {
  margin: 0;

  font-size: 15px;

  line-height: 1.6;

  color: #4f5b6b;
}
/* EMOTIONALER ABSCHLUSS */

.page6-emotional {
  padding: 26px 58px 0 58px;

  display: flex;
  justify-content: center;
}

.page6-emotional p {
  margin: 0;

  font-size: 15px;
  line-height: 1.75;

  color: #4f5b6b;

  text-align: center;

  max-width: 640px;
}

/* KONTAKT / ABSCHLUSSZONE */

.page6-contact {
  position: absolute;
  left: 58px;
  right: 0;
  bottom: 0;

  height: 245px;
}

.page6-contact-left {
  position: absolute;
  left: 0;
  bottom: 18px;

  width: 330px;

  padding: 18px 26px;

  background: #fffdf8;
  border: 1px solid rgba(185, 144, 61, 0.18);
  border-radius: 22px;
}

.page6-contact-kicker {
  margin-bottom: 8px;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #b9903d;
  font-weight: 700;
}

.page6-contact-left h2 {
  margin: 0 0 10px 0;
  font-size: 24px;
  line-height: 1.15;
  color: #061b46;
  font-weight: 700;
}

.page6-contact-list {
  display: grid;
  gap: 5px;
  font-size: 13px;
  line-height: 1.35;
  color: #39414f;
}

.page6-contact-right {
  position: absolute;
  right: 0;
  bottom: 0;

  width: 330px;
  height: 245px;

  overflow: hidden;

  border-top-left-radius: 120px;
}

.page6-contact-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* =========================
   PDF OPTIONEN
========================= */

.pdf-options-card {
  width: 100%;
}

.pdf-options-panel {
  margin-top: 14px;

  background: rgba(255, 255, 255, 0.96);

  border-radius: 24px;

  padding: 22px;

  display: flex;

  flex-direction: column;

  gap: 16px;

  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.pdf-option-row {
  display: flex;

  align-items: center;

  gap: 16px;

  min-height: 52px;

  padding: 4px 2px;

  font-size: 17px;

  font-weight: 500;

  color: #1f1f1f;

  cursor: pointer;

  user-select: none;
}

.pdf-option-row input[type="checkbox"] {
  width: 24px;

  height: 24px;

  flex-shrink: 0;
}

.pdf-generate-btn {
  margin-top: 8px;
}

/* =========================
   PDF OPTIONEN OVERLAY
========================= */

.pdf-options-card {
  position: fixed;

  inset: 0;

  z-index: 9998;

  background: rgba(20, 28, 38, 0.55);

  display: flex;

  align-items: center;

  justify-content: center;

  padding: 24px;
}

.pdf-options-panel {
  width: 100%;

  max-width: 340px;

  background: rgba(255, 255, 255, 0.98);

  border-radius: 28px;

  padding: 24px;

  display: flex;

  flex-direction: column;

  gap: 16px;

  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.financial-section-subtitle2 {
  display: block;

  margin-top: 4px;

  font-size: 13px;

  font-weight: 500;

  color: #1f1f1f;

  opacity: 0.78;
}

/* =========================
   PDF OPTIONS OVERLAY
========================= */

.pdf-options-card {
  position: fixed;

  inset: 0;

  z-index: 99999;

  display: flex;

  align-items: center;

  justify-content: center;

  padding: 20px;

  background: rgba(0, 0, 0, 0.42);

  overflow-y: auto;
}

.pdf-options-panel {
  width: 100%;

  max-width: 420px;

  max-height: 90vh;

  overflow-y: auto;

  border-radius: 28px;

  background: white;

  padding: 26px;

  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);

  animation: pdfOverlayFade 0.18s ease;
}

@keyframes pdfOverlayFade {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   STORAGE THROUGHPUT CYCLE CALCULATOR
========================= */

.storage-throughput-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.storage-unit-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}

.storage-unit-btn {
  min-height: 52px;
  padding: 0 16px;
  border-radius: 16px;
  background: #f1f3f5;
  color: #5f6b63;
  border: 2px solid transparent;
  font-size: 1rem;
  font-weight: 800;
  text-align: center;
  justify-content: center;
}

.storage-unit-btn.active {
  background: rgba(80, 135, 195, 0.18);
  color: #244f7a;
  border-color: rgba(80, 135, 195, 0.65);
  box-shadow: 0 6px 16px rgba(80, 135, 195, 0.18);
}

.storage-throughput-conversion {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(80, 135, 195, 0.12);
  color: #244f7a;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.4;
}

.storage-throughput-formula {
  margin-top: 6px;
  padding: 14px;
  border-radius: 16px;
  background: #f6f7f5;
  color: #1f2a24;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;

  display: flex;
  flex-direction: column;
  gap: 4px;
}

@media (max-width: 360px) {
  .storage-unit-btn {
    min-height: 48px;
    font-size: 0.92rem;
  }

  .storage-throughput-formula {
    font-size: 0.86rem;
  }
}

/* =========================
   STORAGE DETAIL DUMMY PANEL
========================= */

.storage-detail-toggle {
  width: 100%;
  margin-top: 8px;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 16px;
  background: #1f2a24;
  color: white;
  font-size: 0.98rem;
  font-weight: 800;
  text-align: center;
}

.storage-detail-panel {
  margin-top: 12px;
  padding: 16px;
  border-radius: 16px;
  background: #f6f7f5;
  border: 1px solid rgba(31, 42, 36, 0.12);
}

.storage-detail-title {
  font-size: 1rem;
  font-weight: 800;
  color: #1f2a24;
  margin-bottom: 8px;
}

.storage-detail-subtitle {
  font-size: 0.82rem;
  font-weight: 700;
  color: #5f6b63;
  margin-bottom: 10px;
}

.storage-detail-quote {
  padding: 12px;
  border-radius: 12px;
  background: white;
  color: #1f2a24;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 12px;
}

.storage-detail-explanation,
.storage-detail-source {
  font-size: 0.82rem;
  line-height: 1.45;
  color: #5f6b63;
}

.storage-detail-source {
  margin-top: 8px;
  font-weight: 700;
}

/* =========================
   WARRANTY SELECT
========================= */

.storage-warranty-select-box {
  margin-top: 14px;
}

.storage-warranty-select-box label {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
  color: #1f2a24;
}

.storage-warranty-select {
  width: 100%;
  min-height: 56px;
  padding: 0 16px;

  border-radius: 16px;
  border: 2px solid rgba(31, 42, 36, 0.12);

  background: #ffffff;
  color: #1f2a24;

  font-size: 1rem;
  font-weight: 700;

  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  cursor: pointer;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.storage-warranty-select:focus {
  outline: none;
  border-color: rgba(80, 135, 195, 0.8);
  box-shadow: 0 0 0 4px rgba(80, 135, 195, 0.15);
}

/* =========================
   DETAILFRAGEN E-MOBILITÄT
========================= */

.ev-detail-questions-card {
  margin: 20px 0;
  border-radius: 22px;
  overflow: hidden;
  background: #f4f4f4;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.ev-detail-questions-toggle {
  width: 100%;
  min-height: 64px;
  border: none;
  border-radius: 0;
  background: #d8d4a8;
  color: #1f1f1f;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 0 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  cursor: pointer;
}

.ev-detail-questions-chevron {
  font-size: 1.3rem;
}

.ev-detail-questions-panel {
  margin-top: 0;
  padding: 20px;
  border-radius: 0;
  background: #f4f4f4;
}

.ev-detail-questions-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #1f2a24;
  margin-bottom: 16px;
}

.ev-detail-questions-list {
  margin: 0;
  padding-left: 22px;
}

.ev-detail-questions-list li {
  margin-bottom: 14px;
  line-height: 1.5;
  color: #1f2a24;
  font-weight: 500;
}

.ev-detail-questions-list small {
  display: block;
  margin-top: 4px;
  color: #6b6b6b;
  font-weight: 500;
}

.ev-detail-questions-card.hidden {
  display: none;
}

.storage-detail-cycle-info {
  margin-top: 6px;
  margin-bottom: 12px;

  padding: 10px 12px;

  background: rgba(31, 42, 36, 0.08);

  border-radius: 10px;

  font-size: 0.88rem;
  line-height: 1.4;

  color: #1f2a24;
  font-weight: 600;
}

/* =========================
   ROI CARD
========================= */

.roi-card {
  margin-top: 22px;

  padding: 30px 26px;

  border-radius: 30px;

  background: rgba(45,125,78,0.42);

  border: 1px solid rgba(180,255,205,0.18);

  backdrop-filter: blur(10px);

  box-shadow: 0 10px 28px rgba(0,0,0,0.05);

  display: flex;
  flex-direction: column;
  gap: 18px;
}

.roi-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.roi-item {
  padding: 18px;
  border-radius: 18px;

  background: rgba(255,255,255,0.12);
}

.roi-label {
  font-size: 0.85rem;

  color: rgba(255,255,255,0.75);

  margin-bottom: 8px;
}

.roi-value {
  font-size: 2rem;

  font-weight: 800;

  color: white;
}

.roi-description {
  font-size: 0.8rem;

  line-height: 1.5;

  color: rgba(255,255,255,0.72);
}

.roi-input-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.roi-input-item {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);

  display: flex;
  flex-direction: column;
  gap: 10px;
}

.roi-input-item label {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
}

.roi-input-item input {
  width: 100%;
  border: none;
  border-radius: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: #1f1f1f;
  font-size: 1.6rem;
  font-weight: 800;
}

.roi-input-item input:focus {
  outline: none;
}

.roi-input-item span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.68);
}

.roi-assumptions {
  margin-top: 8px;

  padding: 14px 18px;

  border-radius: 16px;

  background: rgba(255,255,255,0.08);
}

.roi-assumptions-title {
  font-size: 0.9rem;

  font-weight: 700;

  color: rgba(255,255,255,0.92);

  margin-bottom: 8px;
}

.roi-assumptions-line {
  font-size: 0.82rem;

  line-height: 1.5;

  color: rgba(255,255,255,0.78);
}