:root {
  color-scheme: light;
  --gewo-radius: 14px;
  --gewo-shadow: 0 8px 24px rgba(17, 24, 39, 0.09);
  --gewo-text: #1f2937;
  --gewo-muted: #5f6875;
  --gewo-line: #dfe4e8;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: transparent;
}

body {
  color: var(--gewo-text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

.gewo-status-frame {
  padding: 2px;
}

.gewo-status-widget {
  display: grid;
  width: 100%;
  gap: 14px;
}

/* Kompatibel mit den bisherigen Coasterbahn-Klassen. */
.coaster-status,
.freibad-status {
  display: block;
  line-height: 1.4;
}

.gewo-state--open,
.coaster-open,
.freibad-open {
  --status-bg: #e9f8ef;
  --status-color: #14532d;
  --status-dot: #199447;
  --status-border: #bde8cb;
  background: var(--status-bg);
  color: var(--status-color);
}

.gewo-state--later,
.coaster-later,
.freibad-later {
  --status-bg: #fff4e5;
  --status-color: #9a3412;
  --status-dot: #e77917;
  --status-border: #f4d4ac;
  background: var(--status-bg);
  color: var(--status-color);
}

.gewo-state--closed,
.coaster-closed,
.freibad-closed {
  --status-bg: #f8f0f0;
  --status-color: #7f1d1d;
  --status-dot: #c93434;
  --status-border: #eccdcd;
  background: var(--status-bg);
  color: var(--status-color);
}

.gewo-state--error,
.coaster-error,
.freibad-error {
  --status-bg: #fff4e5;
  --status-color: #9a3412;
  --status-dot: #d97706;
  --status-border: #f4d4ac;
  background: var(--status-bg);
  color: var(--status-color);
}

.gewo-status-card {
  min-width: 0;
  padding: 1rem 1.1rem;
  border: 1px solid var(--status-border);
  border-radius: var(--gewo-radius);
}

.gewo-status-header {
  margin-bottom: 0.75rem;
}

.gewo-status-header h2 {
  margin: 0;
  color: inherit;
  font-size: clamp(1.18rem, 3vw, 1.55rem);
  line-height: 1.2;
}

.gewo-status-kicker {
  display: block;
  margin-bottom: 0.28rem;
  color: #607080;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gewo-status-result {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.gewo-status-result-text {
  min-width: 0;
}

.gewo-status-dot {
  flex: 0 0 auto;
  width: 0.8rem;
  height: 0.8rem;
  margin-top: 0.3rem;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: var(--status-dot);
  box-shadow: 0 0 0 1px var(--status-dot), 0 0 0 4px rgba(31, 41, 55, 0.08);
}

.gewo-status-label {
  display: block;
  color: inherit;
  font-size: 1.02rem;
  font-weight: 750;
}

.gewo-status-times,
.coaster-time {
  display: grid;
  margin-top: 0.25rem;
  color: inherit;
  font-size: 0.94rem;
  font-weight: 600;
}

.gewo-status-descriptions,
.coaster-description {
  margin-top: 0.7rem;
  color: inherit;
}

.gewo-status-descriptions p {
  margin: 0;
}

.gewo-status-descriptions p + p {
  margin-top: 0.4rem;
}

.gewo-status-next {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--gewo-line);
  color: #374151;
  font-size: 0.94rem;
}

.gewo-status-note {
  margin: 0.65rem 0 0;
  color: var(--gewo-muted);
  font-size: 0.88rem;
}

/* Grosse Seitenansicht – empfohlen fuer die Coasterbahn- und Freibadseite. */
.gewo-status-view--seite .gewo-status-card {
  padding: clamp(1.05rem, 3vw, 1.45rem);
  border-color: var(--gewo-line);
  background: #ffffff;
  color: var(--gewo-text);
  box-shadow: var(--gewo-shadow);
}

.gewo-status-view--seite .gewo-status-result {
  padding: 0.85rem 1rem;
  border: 1px solid var(--status-border);
  border-radius: 11px;
  background: var(--status-bg);
  color: var(--status-color);
}

/* Normale Karte fuer Beitraege. */
.gewo-status-view--karte .gewo-status-card {
  box-shadow: 0 5px 16px rgba(17, 24, 39, 0.06);
}

/* Lange Leiste, beispielsweise unter einem grossen Startseitenbild. */
.gewo-status-view--leiste .gewo-status-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
}

.gewo-status-bar-name {
  color: inherit;
  font-weight: 750;
}

.gewo-status-bar-result {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  min-width: 0;
  text-align: right;
}

.gewo-status-bar-result .gewo-status-dot {
  margin-top: 0;
}

.gewo-status-bar-result .gewo-status-label,
.gewo-status-bar-result .gewo-status-times {
  display: inline;
  margin: 0;
  font-size: 0.94rem;
}

/* Kleine Ansicht fuer ein Seitenmodul. */
.gewo-status-view--mini {
  gap: 8px;
}

.gewo-status-view--mini .gewo-status-card {
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
}

.gewo-status-mini-line {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.gewo-status-mini-line .gewo-status-dot {
  width: 0.68rem;
  height: 0.68rem;
  margin-top: 0;
}

.gewo-status-name {
  white-space: nowrap;
}

.gewo-status-mini-line .gewo-status-label {
  min-width: 0;
  margin-left: auto;
  font-size: 0.88rem;
  text-align: right;
}

.gewo-status-view--mini .gewo-status-times {
  margin: 0.22rem 0 0 1.13rem;
  font-size: 0.8rem;
}

/* Eigene, immer gleichbleibende Startseitenansicht. */
.gewo-status-frame--startseite {
  padding: 28px 18px 18px;
}

.gewo-home-shell {
  position: relative;
  width: 100%;
  padding: 36px 20px 14px;
  border: 1px solid #e2e5e7;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.15);
}

.gewo-home-shell::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -1px;
  right: 0;
  left: 0;
  height: 4px;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(90deg, #f58220 0%, #f58220 43%, #b5d219 57%, #b5d219 100%);
}

.gewo-home-button {
  position: absolute;
  z-index: 2;
  top: -22px;
  left: 56px;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.35rem;
  border: 1px solid #353535;
  border-radius: 8px;
  background: #3f3f3f;
  color: #ffffff;
  box-shadow: 0 5px 14px rgba(17, 24, 39, 0.2);
  font-size: 0.96rem;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.gewo-home-button:hover {
  background: #2f2f2f;
  color: #ffffff;
  box-shadow: 0 7px 18px rgba(17, 24, 39, 0.25);
  transform: translateY(-1px);
}

.gewo-home-button:focus-visible {
  outline: 3px solid rgba(181, 210, 25, 0.58);
  outline-offset: 3px;
}

.gewo-status-view--startseite {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.gewo-status-count--1.gewo-status-view--startseite {
  grid-template-columns: minmax(0, 1fr);
}

.gewo-status-view--startseite .gewo-status-card {
  display: grid;
  min-height: 92px;
  grid-template-columns: minmax(135px, 0.65fr) minmax(0, 1.35fr);
  align-items: center;
  gap: 20px;
  padding: 18px 28px 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--gewo-text);
}

.gewo-status-view--startseite > .gewo-home-facility + .gewo-home-facility {
  border-left: 1px solid #dfe3e6;
}

.gewo-status-view--startseite .gewo-state--error {
  --status-dot: #858c93;
}

.gewo-home-identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.7rem;
}

.gewo-home-identity .gewo-status-dot {
  width: 0.75rem;
  height: 0.75rem;
  margin: 0;
}

.gewo-home-identity .gewo-status-name {
  min-width: 0;
  color: #252525;
  font-size: 1rem;
  font-weight: 800;
  white-space: normal;
}

.gewo-home-facts {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.gewo-home-status,
.gewo-status-view--startseite .gewo-status-times {
  display: flex;
  min-width: 0;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.55rem 0.85rem;
  border: 1px solid #dfe3e6;
  border-radius: 999px;
  background: #ffffff;
  color: #34383c;
  box-shadow: 0 2px 7px rgba(17, 24, 39, 0.05);
  text-align: center;
}

.gewo-home-status {
  flex: 1 1 205px;
  gap: 0.55rem;
}

.gewo-status-view--startseite .gewo-status-times {
  flex: 0 1 auto;
  font-size: 0.86rem;
  font-weight: 500;
  white-space: nowrap;
}

.gewo-home-status .gewo-status-label {
  min-width: 0;
  color: #34383c;
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.25;
}

.gewo-home-status-icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border: 2px solid #555c62;
  border-radius: 50%;
  opacity: 0.9;
}

.gewo-home-status-icon::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 6px;
  width: 2px;
  height: 5px;
  border-radius: 2px;
  background: #555c62;
}

.gewo-home-status-icon::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 6px;
  width: 4px;
  height: 2px;
  border-radius: 2px;
  background: #555c62;
  transform: rotate(28deg);
  transform-origin: left center;
}

.gewo-state--error .gewo-home-status-icon {
  border-radius: 4px;
}

.gewo-state--error .gewo-home-status-icon::before {
  content: "!";
  top: -4px;
  left: 3px;
  width: auto;
  height: auto;
  background: transparent;
  color: #555c62;
  font-size: 12px;
  font-weight: 900;
}

.gewo-state--error .gewo-home-status-icon::after {
  display: none;
}

.gewo-home-note {
  margin: 0;
  padding: 12px 28px 2px;
  border-top: 1px solid #dfe3e6;
  color: #5f6469;
  font-size: 0.78rem;
  line-height: 1.45;
}

.gewo-home-note strong {
  color: #35393d;
}

/* Reine Punktansicht: tatsaechlich geoeffnet = gruen, sonst rot. */
.gewo-status-view--punkt {
  display: inline-flex;
  align-items: center;
  width: auto;
  gap: 8px;
  padding: 3px;
}

.gewo-status-only-dot {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px currentColor, 0 2px 5px rgba(17, 24, 39, 0.2);
}

.gewo-dot--open {
  color: #14843d;
  background: #1daa4f;
}

.gewo-dot--closed {
  color: #a92323;
  background: #d13a3a;
}

@media (min-width: 680px) {
  .gewo-status-count--2.gewo-status-view--seite,
  .gewo-status-count--2.gewo-status-view--karte {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .gewo-status-view--leiste .gewo-status-card,
  .gewo-status-bar-result {
    align-items: flex-start;
    flex-direction: column;
  }

  .gewo-status-bar-result {
    position: relative;
    gap: 0.2rem;
    padding-left: 1.25rem;
    text-align: left;
  }

  .gewo-status-bar-result .gewo-status-dot {
    position: absolute;
    top: 0.28rem;
    left: 0;
  }

  .gewo-status-bar-result .gewo-status-label,
  .gewo-status-bar-result .gewo-status-times {
    margin-left: 0;
  }

  .gewo-status-mini-line {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .gewo-status-mini-line .gewo-status-label {
    flex-basis: calc(100% - 1.13rem);
    margin-left: 1.13rem;
    text-align: left;
  }
}

@media (max-width: 900px) {
  .gewo-status-frame--startseite {
    padding: 28px 10px 12px;
  }

  .gewo-home-shell {
    padding: 34px 12px 12px;
    border-radius: 18px;
  }

  .gewo-home-shell::before {
    border-radius: 18px 18px 0 0;
  }

  .gewo-home-button {
    top: -21px;
    left: 50%;
    max-width: calc(100% - 32px);
    min-height: 42px;
    padding: 0.65rem 1.1rem;
    font-size: 0.9rem;
    text-align: center;
    white-space: nowrap;
    transform: translateX(-50%);
  }

  .gewo-home-button:hover {
    transform: translateX(-50%) translateY(-1px);
  }

  .gewo-status-view--startseite {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .gewo-status-view--startseite .gewo-status-card {
    min-height: 144px;
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    gap: 12px;
    padding: 16px;
    border: 1px solid #e1e5e7;
    border-radius: 14px;
    background: #f8f9f7;
  }

  .gewo-status-view--startseite > .gewo-home-facility + .gewo-home-facility {
    border-left: 1px solid #e1e5e7;
  }

  .gewo-home-facts {
    display: grid;
    min-height: 42px;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 8px;
  }

  .gewo-home-status,
  .gewo-status-view--startseite .gewo-status-times {
    width: 100%;
    min-height: 42px;
    border-radius: 10px;
    white-space: normal;
  }

  .gewo-home-note {
    margin-top: 10px;
    padding: 12px 5px 2px;
    font-size: 0.76rem;
  }
}

@media (max-width: 380px) {
  .gewo-home-button {
    font-size: 0.82rem;
  }

  .gewo-status-view--startseite .gewo-status-card {
    padding: 14px 12px;
  }
}

/* Startseitenleiste 4.0: Status, Havarie und kompakte Handyansicht. */
.gewo-status-frame--startseite {
  padding: 26px 14px 10px;
}

.gewo-home-shell[data-gewo-home="1"] {
  position: relative;
  isolation: isolate;
  width: 100%;
  padding: 26px 16px 0;
  overflow: visible;
  border: 1px solid #e1e4e6;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(25, 31, 38, 0.14);
}

.gewo-home-shell[data-gewo-home="1"]::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -1px;
  right: 0;
  left: 0;
  height: 4px;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(90deg, #f47700 0%, #f47700 42%, #b1cf00 58%, #78b800 100%);
}

.gewo-home-shell[data-gewo-home="1"] .gewo-home-button {
  top: -21px;
  left: 30px;
  min-height: 42px;
  padding: 0.62rem 1.25rem;
  border-radius: 8px;
  background: linear-gradient(180deg, #444444, #303030);
  color: #ffffff;
  font-size: 0.94rem;
  transform: none;
}

.gewo-home-shell[data-gewo-home="1"] .gewo-home-button:hover {
  transform: translateY(-1px);
}

.gewo-home-main {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.38fr);
  align-items: stretch;
  gap: 16px;
}

.gewo-home-shell[data-gewo-home="1"] .gewo-status-view--startseite {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.gewo-home-shell[data-gewo-home="1"] .gewo-status-count--1.gewo-status-view--startseite {
  grid-template-columns: minmax(0, 1fr);
}

.gewo-home-shell[data-gewo-home="1"] .gewo-home-facility {
  display: grid;
  min-width: 0;
  min-height: 92px;
  grid-template-columns: minmax(120px, 0.7fr) minmax(0, 1.3fr);
  align-content: center;
  align-items: center;
  gap: 8px 16px;
  padding: 12px 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--gewo-text);
}

.gewo-home-shell[data-gewo-home="1"] .gewo-home-facility + .gewo-home-facility {
  border-left: 1px solid #dfe3e6;
}

.gewo-home-shell[data-gewo-home="1"] .gewo-state--error {
  --status-dot: #858c93;
}

.gewo-home-shell[data-gewo-home="1"] .gewo-home-identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.68rem;
}

.gewo-home-shell[data-gewo-home="1"] .gewo-home-identity .gewo-status-dot {
  width: 0.74rem;
  height: 0.74rem;
  margin: 0;
}

.gewo-home-shell[data-gewo-home="1"] .gewo-home-identity .gewo-status-name {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #25282b;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.25;
  white-space: normal;
}

.gewo-home-shell[data-gewo-home="1"] .gewo-home-facts {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.gewo-home-shell[data-gewo-home="1"] .gewo-home-status,
.gewo-home-shell[data-gewo-home="1"] .gewo-status-view--startseite .gewo-status-times {
  display: flex;
  width: auto;
  min-width: 0;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.45rem 0.72rem;
  border: 1px solid #dfe3e6;
  border-radius: 999px;
  background: #ffffff;
  color: #34383c;
  box-shadow: 0 2px 7px rgba(17, 24, 39, 0.045);
  text-align: center;
}

.gewo-home-shell[data-gewo-home="1"] .gewo-home-status {
  flex: 1 1 175px;
  gap: 0.5rem;
}

.gewo-home-shell[data-gewo-home="1"] .gewo-status-view--startseite .gewo-status-times {
  flex: 0 1 auto;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}

.gewo-home-shell[data-gewo-home="1"] .gewo-home-status .gewo-status-label {
  min-width: 0;
  color: #34383c;
  font-size: 0.8rem;
  font-weight: 750;
  line-height: 1.2;
}

.gewo-status-label-short,
.gewo-home-emergency-label-short,
.gewo-home-emergency-description-short,
.gewo-home-contacts-short,
.gewo-home-note-short {
  display: none;
}

.gewo-home-facility-alert {
  grid-column: 1 / -1;
  margin: -1px 0 0;
  color: #a43a12;
  font-size: 0.7rem;
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
}

.gewo-home-icon {
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.gewo-home-emergency {
  display: grid;
  min-width: 0;
  min-height: 84px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin: 7px 0;
  padding: 11px 12px 11px 14px;
  border: 1px solid #f8dfca;
  border-radius: 14px;
  background: linear-gradient(100deg, #fff7f0 0%, #fff1e5 100%);
  color: #2e3033;
}

.gewo-home-emergency-info {
  display: grid;
  min-width: 0;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.gewo-home-emergency-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1.5px solid #f47700;
  border-radius: 50%;
  color: #ef6800;
}

.gewo-home-emergency-icon .gewo-home-icon {
  width: 21px;
  height: 21px;
}

.gewo-home-emergency-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.gewo-home-emergency-label,
.gewo-home-emergency-number,
.gewo-home-emergency-description {
  display: block;
  min-width: 0;
}

.gewo-home-emergency-label {
  color: #303236;
  font-size: 0.78rem;
  font-weight: 780;
  line-height: 1.25;
}

.gewo-home-emergency-number {
  color: #ee6800;
  font-size: 1.06rem;
  font-weight: 850;
  line-height: 1.2;
  white-space: nowrap;
}

.gewo-home-emergency-description {
  color: #5f6266;
  font-size: 0.7rem;
  line-height: 1.25;
}

.gewo-home-emergency-call {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.54rem 0.82rem;
  border: 1px solid #ef6800;
  border-radius: 999px;
  background: #ef6800;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 160ms ease, transform 160ms ease;
}

.gewo-home-emergency-call .gewo-home-icon {
  width: 17px;
  height: 17px;
}

.gewo-home-emergency-call:hover {
  background: #d95e00;
  color: #ffffff;
  transform: translateY(-1px);
}

.gewo-home-emergency-info:focus-visible,
.gewo-home-emergency-call:focus-visible,
.gewo-home-contacts:focus-visible {
  outline: 3px solid rgba(181, 210, 25, 0.55);
  outline-offset: 3px;
}

.gewo-home-utility {
  display: grid;
  min-width: 0;
  min-height: 52px;
  grid-template-columns: minmax(210px, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: 0;
  border-top: 1px solid #dfe3e6;
}

.gewo-home-contacts,
.gewo-home-note,
.gewo-home-updated {
  display: flex;
  min-width: 0;
  align-items: center;
  margin: 0;
  padding: 10px 18px;
  color: #51565b;
  font-size: 0.72rem;
  line-height: 1.3;
}

.gewo-home-contacts {
  gap: 9px;
  padding-left: 2px;
  color: #7cae00;
  font-weight: 800;
  text-decoration: none;
}

.gewo-home-chevron {
  font-size: 1.25rem;
  line-height: 1;
}

.gewo-home-note {
  gap: 9px;
  border-top: 0;
  border-left: 1px solid #e1e4e6;
}

.gewo-home-note strong {
  color: #34383c;
}

.gewo-home-updated {
  gap: 7px;
  justify-content: flex-end;
  padding-right: 2px;
  border-left: 1px solid #e1e4e6;
  white-space: nowrap;
}

.gewo-home-updated .gewo-home-icon {
  width: 17px;
  height: 17px;
}

@keyframes gewo-home-dot-pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--status-dot) 42%, transparent); }
  70% { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.gewo-home-shell[data-gewo-home="1"] .gewo-status-dot {
  animation: gewo-home-dot-pulse 720ms ease-out 180ms 1;
}

@media (max-width: 1120px) {
  .gewo-home-main {
    grid-template-columns: minmax(0, 1fr) minmax(270px, 0.33fr);
    gap: 10px;
  }

  .gewo-home-shell[data-gewo-home="1"] .gewo-home-facility {
    grid-template-columns: minmax(105px, 0.65fr) minmax(0, 1.35fr);
    gap: 7px 10px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .gewo-home-shell[data-gewo-home="1"] .gewo-home-status,
  .gewo-home-shell[data-gewo-home="1"] .gewo-status-view--startseite .gewo-status-times {
    padding-right: 0.55rem;
    padding-left: 0.55rem;
  }

  .gewo-home-emergency-call span {
    display: none;
  }

  .gewo-home-emergency-call {
    width: 40px;
    padding: 0;
  }
}

@media (max-width: 760px) {
  .gewo-status-frame--startseite {
    padding: 22px 5px 7px;
  }

  .gewo-home-shell[data-gewo-home="1"] {
    padding: 21px 7px 0;
    border-radius: 14px;
    box-shadow: 0 7px 20px rgba(25, 31, 38, 0.14);
  }

  .gewo-home-shell[data-gewo-home="1"]::before {
    height: 3px;
    border-radius: 14px 14px 0 0;
  }

  .gewo-home-shell[data-gewo-home="1"] .gewo-home-button {
    top: -14px;
    left: 11px;
    min-height: 29px;
    max-width: calc(100% - 22px);
    padding: 0.38rem 0.72rem;
    border-radius: 5px;
    font-size: 0.72rem;
    line-height: 1;
    white-space: nowrap;
    transform: none;
  }

  .gewo-home-shell[data-gewo-home="1"] .gewo-home-button:hover {
    transform: translateY(-1px);
  }

  .gewo-home-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .gewo-home-shell[data-gewo-home="1"] .gewo-status-view--startseite {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .gewo-home-shell[data-gewo-home="1"] .gewo-home-facility {
    min-height: 48px;
    grid-template-columns: minmax(112px, 0.9fr) minmax(92px, 1.1fr) auto;
    align-content: center;
    gap: 2px 6px;
    padding: 6px 5px;
    border: 0;
    border-bottom: 1px solid #e3e6e8;
    border-radius: 0;
    background: transparent;
  }

  .gewo-home-shell[data-gewo-home="1"] .gewo-home-facility + .gewo-home-facility {
    border-left: 0;
  }

  .gewo-home-shell[data-gewo-home="1"] .gewo-home-identity {
    gap: 0.48rem;
  }

  .gewo-home-shell[data-gewo-home="1"] .gewo-home-identity .gewo-status-dot {
    width: 0.58rem;
    height: 0.58rem;
    border-width: 1px;
  }

  .gewo-home-shell[data-gewo-home="1"] .gewo-home-identity .gewo-status-name {
    font-size: 0.78rem;
    line-height: 1.15;
  }

  .gewo-home-shell[data-gewo-home="1"] .gewo-home-facts {
    display: contents;
  }

  .gewo-home-shell[data-gewo-home="1"] .gewo-home-status,
  .gewo-home-shell[data-gewo-home="1"] .gewo-status-view--startseite .gewo-status-times {
    width: auto;
    min-height: 26px;
    justify-content: flex-start;
    margin: 0;
    padding: 2px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    text-align: left;
  }

  .gewo-home-shell[data-gewo-home="1"] .gewo-home-status {
    gap: 0.32rem;
  }

  .gewo-home-shell[data-gewo-home="1"] .gewo-home-status .gewo-status-label,
  .gewo-home-shell[data-gewo-home="1"] .gewo-status-view--startseite .gewo-status-times {
    color: #3b3f43;
    font-size: 0.7rem;
    font-weight: 650;
    line-height: 1.15;
    white-space: nowrap;
  }

  .gewo-home-shell[data-gewo-home="1"] .gewo-status-view--startseite .gewo-status-times {
    justify-content: flex-end;
    font-weight: 500;
  }

  .gewo-home-shell[data-gewo-home="1"] .gewo-home-status-icon {
    width: 13px;
    height: 13px;
    flex-basis: 13px;
    border-width: 1.5px;
  }

  .gewo-home-shell[data-gewo-home="1"] .gewo-home-status-icon::before {
    top: 1px;
    left: 5px;
    width: 1.5px;
    height: 4px;
  }

  .gewo-home-shell[data-gewo-home="1"] .gewo-home-status-icon::after {
    top: 5px;
    left: 5px;
    width: 3px;
    height: 1.5px;
  }

  .gewo-status-label-full,
  .gewo-home-emergency-label-full,
  .gewo-home-emergency-description-full,
  .gewo-home-contacts-full,
  .gewo-home-note-full,
  .gewo-home-updated-uhr {
    display: none;
  }

  .gewo-status-label-short,
  .gewo-home-emergency-label-short,
  .gewo-home-emergency-description-short,
  .gewo-home-contacts-short,
  .gewo-home-note-short {
    display: inline;
  }

  .gewo-home-facility-alert {
    grid-column: 2 / -1;
    margin: -5px 0 2px;
    overflow: hidden;
    color: #b34718;
    font-size: 0.61rem;
    font-weight: 650;
    line-height: 1.15;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .gewo-home-emergency {
    min-height: 56px;
    grid-template-columns: minmax(0, 1fr) 40px;
    gap: 5px;
    margin: 1px 0 6px;
    padding: 7px 7px 7px 9px;
    border-radius: 9px;
  }

  .gewo-home-emergency-info {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 8px;
  }

  .gewo-home-emergency-icon {
    width: 32px;
    height: 32px;
  }

  .gewo-home-emergency-icon .gewo-home-icon {
    width: 17px;
    height: 17px;
  }

  .gewo-home-emergency-copy {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: baseline;
    gap: 0 8px;
  }

  .gewo-home-emergency-label {
    font-size: 0.65rem;
  }

  .gewo-home-emergency-number {
    font-size: 0.83rem;
  }

  .gewo-home-emergency-description {
    grid-column: 1 / -1;
    font-size: 0.59rem;
  }

  .gewo-home-emergency-call {
    width: 38px;
    min-height: 38px;
    padding: 0;
  }

  .gewo-home-emergency-call span {
    display: none;
  }

  .gewo-home-utility {
    min-height: 43px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) auto;
  }

  .gewo-home-contacts,
  .gewo-home-note,
  .gewo-home-updated {
    min-height: 34px;
    gap: 4px;
    padding: 5px 7px;
    font-size: 0.6rem;
    line-height: 1.12;
  }

  .gewo-home-contacts {
    padding-left: 2px;
  }

  .gewo-home-contacts .gewo-home-icon,
  .gewo-home-note .gewo-home-icon,
  .gewo-home-updated .gewo-home-icon {
    width: 15px;
    height: 15px;
    flex-basis: 15px;
  }

  .gewo-home-chevron {
    display: none;
  }

  .gewo-home-note {
    padding-right: 5px;
    padding-left: 5px;
  }

  .gewo-home-updated {
    padding-right: 2px;
    padding-left: 6px;
  }
}

@media (max-width: 360px) {
  .gewo-home-shell[data-gewo-home="1"] .gewo-home-facility {
    grid-template-columns: minmax(100px, 0.92fr) minmax(82px, 1.08fr) auto;
    gap: 2px 4px;
  }

  .gewo-home-shell[data-gewo-home="1"] .gewo-home-identity .gewo-status-name,
  .gewo-home-shell[data-gewo-home="1"] .gewo-home-status .gewo-status-label,
  .gewo-home-shell[data-gewo-home="1"] .gewo-status-view--startseite .gewo-status-times {
    font-size: 0.66rem;
  }

  .gewo-home-utility {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr) auto;
  }

  .gewo-home-contacts,
  .gewo-home-note,
  .gewo-home-updated {
    font-size: 0.55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
