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: 0;
  transform: translateY(-50%);
  height: 4px;
  width: 100%;
  z-index: -1;
}

.progress-container {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 10px;
  margin-left: 33%;
  max-width: 100%;
  width: 350px;
}

.progress-container-text {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 30px;
  margin-left: 31%;
  max-width: 100%;
  width: 350px;
  font-weight: bold;
}

.progress {
  background: var(--line-border-fill);
  position: absolute;
  top: 50%;
  left: 0;
  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;
}

#circleText2 {
  margin-left: 87px;
}

#circleText3 {
  margin-left: 87px;
}

[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: 300px) {
  .badge {
    margin-left: 40px;
  }

  h3 {
    padding-top: 10px;
  }

  .progress-container {
    margin-left: 0px;
    width: 300px;
  }

  .progress-container-text {
    margin-left: -20px;
    width: 300px;
  }

  #circleText2 {
    margin-left: 15px;
  }

  #circleText3 {
    margin-left: 15px;
  }
}

@media only screen and (min-width:300px) and (max-width: 350px) {
  .badge {
    margin-left: 40px;
  }

  h3 {
    padding-top: 10px;
  }

  .progress-container {
    margin-left: 0px;
    width: 300px;
  }

  .progress-container-text {
    margin-left: -20px;
    width: 300px;
  }

  #circleText2 {
    margin-left: 30px;
  }

  #circleText3 {
    margin-left: 30px;
  }
}

@media only screen and (min-width:350px) and (max-width: 370px) {
  .badge {
    margin-left: 40px;
  }

  h3 {
    padding-top: 10px;
  }

  .progress-container {
    margin-left: 0px;
    width: 300px;
  }

  .progress-container-text {
    margin-left: -20px;
    width: 300px;
  }

  #circleText2 {
    margin-left: 50px;
  }

  #circleText3 {
    margin-left: 50px;
  }
}

@media only screen and (min-width:371px) and (max-width: 396px) {
  .badge {
    margin-left: 40px;
  }

  h3 {
    padding-top: 10px;
  }

  .progress-container {
    margin-left: 10px;
    width: 300px;
  }

  .progress-container-text {
    margin-left: -10px;
    width: 300px;
  }

  #circleText2 {
    margin-left: 61px;
  }

  #circleText3 {
    margin-left: 63px;
  }
}

@media only screen and (min-width:396px) and (max-width: 460px) {
  .badge {
    margin-left: 40px;
  }

  h3 {
    padding-top: 10px;
  }

  .progress-container {
    margin-left: 20px;
    width: 300px;
  }

  .progress-container-text {
    margin-left: 0px;
    width: 300px;
  }

  #circleText2 {
    margin-left: 61px;
  }

  #circleText3 {
    margin-left: 63px;
  }
}

@media only screen and (min-width:461px) and (max-width: 500px) {
  .badge {
    margin-left: 40px;
  }

  h3 {
    padding-top: 10px;
  }

  .progress-container {
    margin-left: 60px;
    width: 300px;
  }

  .progress-container-text {
    margin-left: 40px;
    width: 300px;
  }

  #circleText2 {
    margin-left: 61px;
  }

  #circleText3 {
    margin-left: 63px;
  }
}

@media only screen and (min-width:501px) and (max-width: 767px) {
  .badge {
    margin-left: 40px;
  }

  h3 {
    padding-top: 10px;
  }

  .progress-container {
    margin-left: 50px;
    width: 350px;
  }

  .progress-container-text {
    margin-left: 30px;
    width: 350px;
  }

  #circleText2 {
    margin-left: 87px;
  }

  #circleText3 {
    margin-left: 87px;
  }
}

@media only screen and (min-width:768px) and (max-width: 991px) {
  .badge {
    margin-left: 40px;
  }

  h3 {
    padding-top: 10px;
  }

  .progress-container {
    margin-left: 23%;
  }

  .progress-container-text {
    margin-left: 20%;
  }
}
