.ecowittw {
  --ecowittw-border: rgba(0,0,0,.10);
  --ecowittw-bg: rgba(0,0,0,.02);
  --ecowittw-muted: rgba(0,0,0,.65);

  border: 1px solid var(--ecowittw-border);
  border-radius: 14px;
  background: var(--ecowittw-bg);
  padding: 14px 14px 12px;
  max-width: 860px;
}

.ecowittw__header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}

.ecowittw__title {
  font-weight: 800;
  font-size: 18px;
  line-height: 1.2;
}

.ecowittw__status {
  font-size: 12px;
  color: var(--ecowittw-muted);
}

.ecowittw__body {
  background: rgba(255,255,255,.55);
  border: 1px solid var(--ecowittw-border);
  border-radius: 12px;
  padding: 10px 12px;
}

.ecowittw__grid {
  width: 100%;
  border-collapse: collapse;
}

.ecowittw__grid th,
.ecowittw__grid td {
  padding: 10px 8px;
  vertical-align: middle;
}

.ecowittw__grid th {
  text-align: left;
  font-weight: 650;
  color: rgba(0,0,0,.75);
}

.ecowittw__grid td {
  text-align: right;
  font-weight: 800;
}

.ecowittw__grid tr + tr th,
.ecowittw__grid tr + tr td {
  border-top: 1px dashed rgba(0,0,0,.10);
}

.ecowittw__meta,
.ecowittw__footer {
  margin-top: 10px;
  font-size: 12px;
  color: var(--ecowittw-muted);
}

.ecowittw__error {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255,0,0,.06);
  border: 1px solid rgba(255,0,0,.12);
  font-size: 14px;
}

.ecowittw__valueMain { line-height: 1.1; }
.ecowittw__valueSub {
  margin-top: 3px;
  font-weight: 600;
  font-size: 12px;
  color: rgba(0,0,0,.62);
}

/* Desktop sizing */
.ecowittw__grid--desktop th { width: 22%; white-space: nowrap; }
.ecowittw__grid--desktop td { width: 28%; }

/* Mobile switch: show mobile table, hide desktop table */
@media (max-width: 768px) {
  .ecowittw table.ecowittw__grid--desktop { display: none !important; }
  .ecowittw table.ecowittw__grid--mobile  { display: table !important; }

  .ecowittw__grid--mobile th { width: 50%; white-space: normal; font-size: 13px; font-weight: 600; }
  .ecowittw__grid--mobile td { width: 50%; font-size: 14px; font-weight: 700; }

  .ecowittw__grid--mobile th,
  .ecowittw__grid--mobile td {
    padding: 8px 6px;
  }
}

/* ===============================
   METEOBLUE – same design wrapper
   =============================== */
.ecowittw--meteoblue .ecowittw__iframeWrap{
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.55);
}

.ecowittw--meteoblue iframe{
  width: 100% !important;
  border: 0;
  display: block;
}

/* Mobile: etwas mehr Höhe, damit nix abgeschnitten wird */
@media (max-width: 768px){
  .ecowittw--meteoblue iframe{
    height: 420px !important;
  }
}