html {
  font-size: 16px;
}

p {
  font-size: 14px;
}

span {
  font-size: 16px;
}

@media (max-width: 767px) {
  html {
    font-size: 14px;
  }
  span, p {
  font-size: 12px;
  }  
  .contract-form-section {
  position: relative;
  margin-top: 2rem;
  padding-bottom: 30px;
}
}

h1, h3, h4 {
  font-size: 4vw;
}


@media (min-width: 1000px) {
	h1, h3, h4 {
	font-size: 25px;
	}
	span, p {
	font-size: 13px;
	}
	.contract-detail-list p{
	font-size: 15px;
	}	
	.contract-headline h1 {
	font-size: 30px;
	}
	
}



@media (max-width: 300px) {
  h1, h3, h4 {
    font-size: 18px;
  }
  span, p {
  font-size: 12px;
  }
  .contract-headline h1 {
  font-size: 20px;
  }
}

.progress-div {
  margin-top: 1.5em;
  margin-bottom: 1.5rem;
}

.progress-bar {
  width: 100%;
  background-color: #e0e0e0;
  position: relative;
  overflow: visible;
  justify-content: space-between;
}

.progress {
  height: 20px;
  background-color: #4CAF50;
  text-align: center;
  line-height: 20px;
  color: white;
  border-radius: 5px;
  transition: width 0.4s ease;
}

.progress-steps {
  position: absolute;
  display: flex;
  width: 100%;
  justify-content: space-between;
  top: 30px;
  padding-right: 15px;
  padding-left: 15px;
}

.progress-steps span {
  cursor: pointer;
  color: #000;
  font-weight: bold;
  text-transform: uppercase;
}

.contracts-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  padding: 20px;
}
.contract-headline {
  position: relative;
  margin-top: 3rem;
  margin-bottom: 1em;
	
}
.contract-headline h1 {
  color: #19c515;
  font-family: 'Audiowide';
  font-size: 40px;
  text-transform: uppercase;
  text-shadow: 2px 1px 2px rgb(0,0,0);
  font-weight: 700;
  text-align: center;
}

.contract-option {
  flex: 0 0 100%;
  
  padding: 10px;
  cursor: default;
  transition: background-color 0.3s;
  box-sizing: border-box;
}
.contract-include {
  padding: 1.5px 0 0 9px !important;
  text-align: left;
  border: 0;
  font-weight: 500;	
}
.contract-options {
	text-align: center;
}
.contract-options .list-group-item {
  padding: 0.3rem;
}
.contract-option .card-title1 {
 margin-bottom: .5rem !important;
  text-align: center !important;
  text-transform: uppercase !important;
  font-weight: bolder !important;
  color: #000;
  font-family: 'Audiowide'; 
  
  
}
.contract-option .card-body {
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 1.25rem 0.3rem;
}
.contract-option .list-group-item {
  padding: 0.3rem;
}
.line-clamp-2 {
  -webkit-line-clamp: 2;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}
@media (min-width: 501px) and (max-width: 800px) {
    .contract-option {
        flex: 0 0 50%; 
    }
}
@media (min-width: 801px) and (max-width: 1099px) {
    .contract-option {
        flex: 0 0 33%; 
    }
}

@media (min-width: 1100px) {
    .contract-option {
        flex: 0 0 25%; 
    }
}

.form {
  /*
  margin: 20px;
  padding: 20px;
  */
}

/*
.form-container {
  display: flex;
  gap: 20px;
}
*/
.form-container {
    display: flex;
    width: 100%;
}

.left-column {
    flex: 65%; 
}

.right-column {
    flex: 35%; 
}
/* Anpassung für Mobilgeräte */
@media (max-width: 600px) {
    .form-container {
        flex-direction: column; 
    }

    .left-column, .right-column {
        flex: 100%; 
    }
}
.form-content, .contract-details {
  flex: 1;
}
.contract-title {
 margin-bottom: .5rem !important;
  text-align: center !important;
  text-transform: uppercase !important;
  font-weight: bolder !important;
  color: #000;
  font-family: 'Audiowide'; 
  
  
}
.contract-subtitle {
  font-size: 0.8em;
  line-height: 1.50063;
  letter-spacing: 0.0625em;
  color: #666666;
  text-transform: uppercase;
  font-weight: bold;
  z-index: -1;
}
.text-muted {
  --bs-text-opacity: 1;
  color: #6c757d !important;
  text-align: center;
}
.contract-price {
  text-align: center;
  font-weight: bolder;
  font-size: 2.5em;
  color: #000;
}
.contract-info {
  text-align: center;
  color: #6c757d !important;
  font-size: 14px;
  font-weight: normal;
  position: relative;
  line-height: 1.8em;
}
.left-column .default-form.style-two .form-group input, .default-form.style-two .form-group textarea {
  background-color: #e6e6e6;
  border-radius: 10px;
  box-shadow: 0px 1px 1px 1px #c6c6c6;
}
.contract-form-section {
  position: relative;
  padding-top: 2rem;
  padding-bottom: 30px;
}
.contract-details {
  height: 100vh;
  position: sticky;
  top: 3.4rem;
  padding: 20px;
  /*border-left: 1px solid #ccc;*/
  overflow-y: auto;
  text-align: right;
  font-size: 15px;
}
.contract-details h3 {
	margin-bottom: 2rem;
  
}
.contract-detail-list {
  display: flex;
  flex-grow: 1 !important;
  flex-direction: row !important;
  flex-shrink: 1 !important;
  justify-content: space-between !important;
  
}
.contract-detail-list p{
  font-weight: bold;
  
}
.contract-details span {
  font-size: 15px;
}
.contract-details button {
  padding: 10px 20px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 10px;
}

.contract-details button:hover {
  background-color: #367c39;
}
.contract-button-info {
	background-color: transparent;
	color: #2ECC40;
	display: inline-flex;
	margin-bottom: 1rem;
	width: 100%;
	justify-content: center;
}
.contract-button-text {
	text-align: center;
  font-size: 12px;
  color: #0009;
  padding-left: 5px;
}
.contract-button-info:hover {
  cursor: help;
}


.contract-save {
    padding: 0.5em 1.5em; 
    font-size: 1rem;
    background-color: #19c515;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

@media (max-width: 768px) {  
  .form-container {
    flex-direction: column-reverse;
  }	
    .contract-save {
        font-size: 0.9rem;
        padding: 0.8em 1.2em;
    }
  .contract-details {
    order: -1;
    position: relative;
    height: auto;
    border-left: none;
  }
  .form-content {
    order: 1;
  }  
}

@media (max-width: 480px) { 
    .contract-save {
        font-size: 0.8rem;
        padding: 0.7em 1em;
        width: 90%; 
    }
}

.forminfolink {
	font-weight: bold;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none; 
}

.popup {
    position: fixed;
    max-width: 400px; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000; 
    display: none;
    border-radius: 10px;
    max-height: 90vh; 
    overflow-y: auto;
}
.popup span {
  font-size: 12px;
}
.poph4 {
  font-size: 18px;
  text-align: center;
  font-weight: 600;
}
.popp {
  text-align: center;
  color: #777;
}

.popup-close-btn {
  position: absolute;
  right: 0px;
  top: 3px;
  z-index: 2;
  background-color: transparent;
}
.popup-close-btn:hover {
  background-color: transparent;
  color: #000;
}
.popupInfos {
position: fixed;
  width: 80%;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  background-color: white;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: none;
  border-radius: 10px;
  max-height: 90vh;
  overflow-y: auto;
}

.highlight-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #1ec603;
  color: white;
  padding: 8px 0;
    padding-bottom: 8px;
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  padding-bottom: 10px;
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;

	
}

.corner-ribbon {
  width: 120px;
  background: #ff4081;
  position: absolute;
  top: 15px;
  left: -40px;
  text-align: center;
  line-height: 25px;
  letter-spacing: 1px;
  color: white;
  font-weight: bold;
  transform: rotate(-45deg);
  box-shadow: 0 0 5px rgba(0,0,0,0.3);
  animation: pulse 1.5s infinite;
  z-index: 10;
}

@keyframes pulse {
  0% { transform: rotate(-45deg) scale(1); }
  50% { transform: rotate(-45deg) scale(1.08); }
  100% { transform: rotate(-45deg) scale(1); }
}

.aktion-banner {
  background: #00c853;
  color: white;
  font-weight: bold;
  padding: 5px 10px;
  font-size: 16px;
  border-radius: 5px;
  text-align: center;
}

.aktion-info-box {
  background: #e8f5e9;
  color: #1b5e20;
  padding: 10px;
  border-radius: 5px;
  margin: 10px 0;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
}
/* Neues Aktions-Badge */
.aktions-badge {
  background-color: #1ec603;
  color: white;
  font-weight: bold;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 4px;
  text-align: center;
  margin-bottom: 10px;
  animation: fadeHighlight 2s ease-in-out infinite alternate;
}

/* Countdown-Infobox */
.aktion-info-box {
  background: #e6fbe3;
  color: #1b5e20;
  padding: 10px;
  border-radius: 5px;
  margin: 10px 0;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
}

@keyframes fadeHighlight {
  from { opacity: 1; }
  to { opacity: 0.85; }
}

/* === AKTIONSBEREICH TARIFE === */
.aktionsbereich, .standardtarife {
  background: #f5f5f5;
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 3rem;
  border: 2px solid #1ec603;
}

.aktionsheadline {
  text-align: center;
  color: #1ec603;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: bold;
}

.aktions-boxen {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.aktionsbox {
  flex: 1 1 280px;
  max-width: 300px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 1rem;
}

/* === Responsive Design === */
@media (max-width: 768px) {
  .aktions-boxen {
    flex-direction: column;
    align-items: center;
  }

  .aktionsbox {
    width: 100%;
    max-width: 90%;
  }
}

.aktions-hinweis {
  background: #eaffea;
  border: 1px solid #1ec603;
  border-radius: 8px;
  padding: 0.5rem;
  margin-bottom: 1rem;
  text-align: center;
  font-size: 0.95rem;
}

.aktions-countdown {
  font-family: monospace;
  font-weight: bold;
  font-size: 0.95rem;
  margin-top: 0.3rem;
  color: #333;
}

.aktions-badge {
  background: linear-gradient(90deg, #38b000, #70e000);
  color: white;
  font-size: 16px;
  padding: 10px 15px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 10px;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  animation: pulse 1.5s infinite;
}

.highlight {
  border: 2px solid #38b000;
  box-shadow: 0 4px 15px rgba(56, 176, 0, 0.2);
}

.contract-price {
  font-size: 36px;
  font-weight: bold;
  color: #000;
}

.anmelden {
  background: #38b000;
  color: white;
  font-weight: bold;
  margin-top: 10px;
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 6px;
  transition: 0.3s ease;
}
.anmelden:hover {
  background: #2a9400;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

.aktions-badge {
  background: linear-gradient(90deg, #32cd32, #adff2f);
  padding: 10px 15px;
  font-weight: bold;
  font-size: 16px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 0 12px rgba(0,0,0,0.1);
  margin-bottom: 10px;
  animation: pulse 1.5s infinite;
}

.anmelden {
  background: #32cd32;
  color: white;
  font-weight: bold;
  border-radius: 6px;
  font-size: 16px;
  padding: 12px 20px;
  margin-top: 10px;
  transition: 0.3s;
}

.anmelden:hover {
  background: #228b22;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}
/* NEU */


/* === MODERNES TARIF-DESIGN === */
.tarif-box {
  width: 420px;
  max-width: 100%;
  background: #fff;
  border: 2px solid #1ec603;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 30px 20px;
  margin: 20px auto;
  text-align: center;
  font-family: 'Helvetica Neue', sans-serif;
  transition: transform 0.3s ease;
}

.tarif-box:hover {
  transform: translateY(-5px);
}

.highlight-aktion {
  border-color: #38b000;
  box-shadow: 0 0 30px rgba(56, 176, 0, 0.1);
}

/* Aktion */
.aktion-banner {
  background: linear-gradient(90deg, #38b000, #70e000);
  color: white;
  padding: 10px 15px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 10px;
  animation: pulse 1.5s infinite;
}

.aktion-countdown {
  font-family: monospace;
  font-size: 15px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
}

/* Titel & Dauer */
.tarif-titel {
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.tarif-sub {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
  text-transform: uppercase;
}

/* Preis */
.tarif-preis {
  font-size: 38px;
  font-weight: bold;
  color: #000;
  margin: 10px 0 20px;
}
.tarif-preis span {
  font-size: 14px;
  color: #444;
  font-weight: normal;
}

/* Info */
.tarif-info {
  font-size: 14px;
  color: #777;
  margin-bottom: 15px;
}

/* Buttons */
.tarif-info-btn {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 13px;
  background: transparent;
  color: #1ec603;
  border: none;
  cursor: pointer;
  text-decoration: underline;
}

.tarif-cta {
  display: block;
  width: 100%;
  background: #32cd32;
  color: white;
  border: none;
  padding: 14px 0;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.tarif-cta:hover {
  background: #228b22;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

@media (max-width: 768px) {
  .tarif-box {
    width: 90%;
  }
}


/* NEUE */

.aktionsbereich-neu {
  padding: 20px;
  background: #f6fdf6;
  border: 3px solid #39b54a;
  border-radius: 12px;

  margin-bottom: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
}

.aktionsheadline-neu {
  font-size: 28px;
  font-weight: bold;
  color: #39b54a;
  text-shadow: 1px 1px 2px #000;
  margin-bottom: 10px;
  line-height: 3rem;
}

.aktions-countdown {
  display: inline-block;
  background-color: #39b54a;
  color: #fff;
  font-size: 22px;
  font-weight: bold;
  padding: 6px 16px;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
  margin-top: 8px;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .aktions-countdown {
    font-size: 18px;
    padding: 5px 12px;
    margin-top: 6px;
  }
}


@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.aktions-countdown {
  animation: pulse 2s infinite ease-in-out;
}

.aktions-box-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.aktionsbox-neu {
  flex: 1 1 300px;
  max-width: 100%;
  padding: 20px;

  background: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.aktionsbox-neu .btn {
  white-space: normal;   
  word-break: break-word;  
  padding: 12px 16px;     
  font-size: 14px;         
  max-width: 100%;        
}
.tarif-hinweis {
  font-size: 13px;
  color: #555;
  margin-top: 8px;
}
.tarif-btn {
  display: inline-block;
  background-color: #27c93f;
  color: #fff;
  font-weight: bold;
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
}

@media screen and (min-width: 768px) {
  .aktionsbox-neu .btn {
    font-size: 1.1rem;
    padding: 1rem 1.5rem;
  }
}

@media (min-width: 768px) {
  .aktionsbox-neu {
    max-width: 480px; 
  }
}

.cta-tarif-box {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border: 2px solid #38b000;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(56, 176, 0, 0.15);
  padding: 24px;
  margin: 10px auto;
  transition: transform 0.2s ease;
  display: flex;
  justify-content: center;
}
.cta-tarif-box:hover {
  transform: translateY(-4px);
}

.cta-inner {
  text-align: center;
  width: 100%;
}

.cta-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 6px;
  color: #000;
}

.cta-subtitle {
  font-size: 14px;
  color: #555;
  margin-bottom: 16px;
}

.cta-preis {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #000;
}
.preis-wert sup {
  font-size: 14px;
  top: -0.8em;
}
.cta-einheit {
  font-size: 14px;
  color: #666;
  margin-left: 5px;
}

.cta-leistungen {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

.cta-info-btn {
  background: none;
  border: none;
  font-size: 14px;
  color: #0070cc;
  margin-bottom: 16px;
  cursor: pointer;
  text-decoration: underline;
}

.cta-button {
  background: #38b000;
  color: white;
  font-weight: bold;
  font-size: 15px;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s;
}
.cta-button:hover {
  background: #2a9400;
}

@media screen and (max-width: 768px) {
  .cta-tarif-box {
    max-width: 100%;
    padding: 16px;
  }

  .cta-title {
    font-size: 20px;
  }

  .cta-preis {
    font-size: 28px;
  }
}

