body {
  padding-top: 20px;
  background-color: #f5f7fa;
  color: #2c3e50;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #1b304d;
  font-weight: 600;
  margin-bottom: 1rem;
}

.btn-orange {
  color: #fff;
  background-color: #F1800E;
  border-color: #F1800E;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
  padding: 8px 16px;
}

.btn-orange:hover {
  color: #fff;
  background-color: #d8720d;
  border-color: #d8720d;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(241, 128, 14, 0.2);
}

.btn-orange.disabled, .btn-orange:disabled {
  color: #fff;
  background-color: #F1800E;
  border-color: #F1800E;
  opacity: 0.7;
}

.btn-blue {
  color: #fff !important;
  background-color: #004D9F;
  border-color: #004D9F;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
  padding: 8px 16px;
}

.btn-blue:hover {
  color: #fff;
  background-color: #02458d;
  border-color: #02458d;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(0, 77, 159, 0.2);
}

.btn-blue.disabled, .btn-blue:disabled {
  color: #fff;
  background-color: #34669b;
  border-color: #34669b;
  opacity: 0.7;
}

.form-row {
  padding-top: 15px;
}

@media (max-width: 767px) {
  #zusatz {
    margin-top: 15px;
  }

  #vertragButton, #tarifeButton, #changeButton {
    margin: 8px;
  }
}

#resultContainer {
  display: none;
  text-align: center;
}

#stoerungMelden {
  display: none;
  text-align: center;
  padding: 30px 0 20px;
}

#resultButtonsLWL, #resultButtonsVDSL, #resultButtonsNone, 
#resultButtonsPruefung, #resultButtonsVDSLxMas {
  display: none;
  text-align: center;
  padding-top: 20px;
}

#resultHeadingLWL, #resultHeadingVDSL, #resultHeadingNone,
#resultHeadingPruefung, #resultHeadingVDSLxMas {
  display: none;
  text-align: center;
}

#startHeading {
  color: #1b304d;
  padding: 10px 0;
}

.img-check {
  height: 150px;
  padding-bottom: 20px;
  transition: transform 0.3s ease;
}

.img-check:hover {
  transform: scale(1.02);
}

/* FÜR STÖRUNGSSEITE */
.resultContainer {
  display: none;
  text-align: center;
  background-color: #ffffff;
  margin: 20px 0;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resultContainer:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.badge-ausfall {
  left: -45%;
  position: relative;
  background-color: #ff4757;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 4px rgba(255, 71, 87, 0.2);
  transition: all 0.3s ease;
}

.badge-wartung {
  left: -45%;
  position: relative;
  background-color: #ffa502;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 4px rgba(255, 165, 2, 0.2);
  transition: all 0.3s ease;
}

.badge-info {
  left: -44%;
  position: relative;
  background-color: #1e90ff;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 4px rgba(30, 144, 255, 0.2);
  transition: all 0.3s ease;
}

.badge-ausfall:hover, .badge-wartung:hover, .badge-info:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}

.category {
  position: relative;
}

.logo {
  width: 300px;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.02);
}

.startDate, .endDate {
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.4;
  color: #666;
  margin: 5px 0;
}

iframe {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

:root {
  --line-border-fill: #2ecc71;
  --line-border-empty: #e0e0e0;
}

.container {
  margin-top: 15px;
  text-align: center;
  margin-bottom: 100px;
}

.progress-container::before {
  content: "";
  background: var(--line-border-empty);
  position: absolute;
  top: 50%;
  left: 16.67%;
  transform: translateY(-50%);
  height: 4px;
  width: 66.66%;
  z-index: -1;
}

.progress-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  justify-items: center;
  align-items: center;
  position: relative;
  margin: 0 auto 10px auto;
  max-width: 500px;
  width: 85%;
}

.progress-container-text {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  justify-items: center;
  position: relative;
  margin: 0 auto 30px auto;
  max-width: 500px;
  width: 85%;
  font-weight: bold;
}

.circleText, .circleText2, .circleText3 {
  text-align: center;
  word-wrap: break-word;
  font-size: 0.875rem;
  line-height: 1.2;
  padding: 5px 2px;
  width: 100%;
  box-sizing: border-box;
}

.progress {
  background: var(--line-border-fill);
  position: absolute;
  top: 50%;
  left: 16.67%;
  transform: translateY(-50%);
  height: 4px;
  width: 0%;
  z-index: -1;
  transition: 0.4s ease;
}

.realCircle {
  background: #fff;
  color: #999;
  border-radius: 50%;
  height: 30px;
  width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--line-border-empty);
  transition: .4s ease;
}


[class*="realCircle"].active {
  border-color: var(--line-border-fill);
}

[class*="realCircle"] {
  background: #fff;
  color: #999;
  border-radius: 50%;
  height: 30px;
  width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--line-border-empty);
  transition: .4s ease;
}

.alert {
  margin-bottom: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

#backButtons {
  text-align: center;
  padding: 20px 0 50px;
}

.stoerungAddress, .container, .nv {
  margin-bottom: 0 !important;
}

/* Loader styles */
.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(5px);
}

/* Mobile responsiveness */
@media only screen and (max-width: 320px) {
  .badge {
    margin-left: 40px;
  }

  h3 {
    padding-top: 10px;
  }

  .progress-container {
    width: calc(100% - 4px);
    max-width: none;
    margin: 0 2px 10px 2px;
    padding: 0;
    grid-template-columns: 0.8fr 1fr 0.8fr;
  }

  .progress-container-text {
    width: calc(100% - 4px);
    max-width: none;
    margin: 0 2px 30px 2px;
    padding: 0;
    grid-template-columns: 0.8fr 1fr 0.8fr;
  }

  .circleText, .circleText2, .circleText3 {
    font-size: 0.7rem;
    padding: 2px 0;
    line-height: 1.0;
  }
}

@media only screen and (min-width: 321px) and (max-width: 480px) {
  .badge {
    margin-left: 40px;
  }

  h3 {
    padding-top: 10px;
  }

  .progress-container {
    width: 100%;
    max-width: none;
    margin: 0 1px 10px 1px;
    padding: 0;
  }

  .progress-container-text {
    width: 100%;
    max-width: none;
    margin: 0 1px 30px 1px;
    padding: 0;
  }

  .circleText, .circleText2, .circleText3 {
    font-size: 0.75rem;
    padding: 2px 1px;
    line-height: 1.1;
  }
}

@media only screen and (min-width: 481px) and (max-width: 767px) {
  .badge {
    margin-left: 40px;
  }

  h3 {
    padding-top: 10px;
  }

  .progress-container {
    width: 80%;
    max-width: 400px;
  }

  .progress-container-text {
    width: 80%;
    max-width: 400px;
  }
}

@media only screen and (min-width: 768px) {
  .badge {
    margin-left: 40px;
  }

  h3 {
    padding-top: 10px;
  }

  .progress-container {
    width: 70%;
    max-width: 500px;
  }

  .progress-container-text {
    width: 70%;
    max-width: 500px;
  }
}
