/* ---------------- SHOP CSS ---------------- */

/* ---------------- ITEMS ---------------- */

.item-row {
display: grid;
align-items: center;
transition: 0.2s;
border: 1px solid var(--black);
margin-bottom: -1px;
width: 100%;
padding: 5px;
cursor: pointer;
}


/* Produkte-Stil */
.item-row.product-style {
  grid-template-columns: auto 2fr 4fr 3fr;
  gap: 7px; /* Einheitlicher Abstand */
  background: var(--white);
}

/* Produkt-Stil aktiviert */
.item-row.in-cart {
  background-color: var(--green);
}

/************ ITEMS IM Warenkorb-Stil */

.item-family,
.item-style,
.item-price {
  font-size: var(--m);
  position: relative; 
  top: 1px
}

.item-row.cart-style {
  grid-template-columns: auto 2fr 4fr 3fr; /* 3 Spalten wie bei Produkten */
  background-color: var(--green);
  gap: 7px;
}

/* Preis im Warenkorb rechtsbündig */
.item-row.product-style .item-price,
.item-row.cart-style .item-price {
  text-align: right;
}


/* Checkbox Stil */
.checkbox-container {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.checkmark {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border: 1px solid black;
  border-radius: 50%;
  position: relative;
  transition-duration: 0.2s;
  cursor: pointer;
}
  
  .checkbox-container input:checked + .checkmark::before {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--black);
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  }

.checkmark:hover {
  background: var(--black);
}

/* Checkbox hover wenn über Warenkorb-Zeile gehovert wird */
.item-row.cart-style:hover .checkmark, .item-row.product-style:hover .checkmark {
  background: var(--black);
}






/* ---------------- Warenkorb Overlay ---------------- */

#cart-overlay {
position: fixed;
inset: 0; /* ersetzt top/left/right/bottom */
z-index: 2000;
display: flex;
flex-direction: column; /* wichtig! */
background: rgba(255,255,255,0.5); /* optional */
backdrop-filter: blur(50px);
-webkit-backdrop-filter: blur(50px);
opacity: 0;
visibility: hidden;
transition: opacity 0.3s ease, visibility 0.3s ease; }


  /* Animation */
  #cart-overlay > * {
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease; }

  #cart-overlay.active > * {
    transform: translateY(0);
    opacity: 1; }
    

#cart-overlay.active {
opacity: 1;
visibility: visible; }

/*
#cart-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: transparent;
  text-align: center;
  padding: 20px; /
  border-bottom: 1px solid var(--black);
} */

/* Header bleibt fixiert oben */
div#cart-header {
position: fixed; /* ← ÄNDERN von sticky zu fixed */
top: 0;
left: 0;
right: 0;
width: 100%;
z-index: 1001;
/* background: var(--white); */
text-align: center;
padding: 20px; 
/* border-bottom: 1px solid var(--black); */
}

  
      button#close-cart, button#back-to-shop {
      color: var(--black);
      font-size: var(--m);
      cursor: pointer; }

      button#close-cart:hover, button#back-to-shop:hover {
      font-variation-settings: "MONO" 1; }

#cart-content {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: flex-start; 
  overflow-y: auto;
  padding: 20px 30px;
  padding-top: 100px;
  gap: 20px;
}


    /* Inhalt innerhalb von cart-content */
    #basket,
    #license,
    #review {
    flex: 1; /* ÄNDERN - alle drei gleich breit */
    min-width: 0; /* HINZUFÜGEN - verhindert Overflow */
    }


  #basket-noproducts
  { border: 1px solid var(--black);
  padding: 10px;
  background: var(--white);
  margin-bottom: -1px; }

#review-content {
text-align: center;
font-size: var(--m);
font-variation-settings: "MONO" 1;
border: 1px solid var(--black);
padding: 15px;
background: var(--white);
}

/* ---------------- B A S K E T ---------------- */

div#card-basket
{ margin-bottom: 20px; /* wie flex gap */
} 



  .card-catalogue-head {
      cursor: pointer;
      user-select: none;
  }

  .hidden {
      display: none;
  }






.catalogue-font-wrapper
{ padding: 20px; 
border: 1px solid var(--black); 
background: var(--white);
margin-bottom: -1px; 
text-align: center; }







/* ANIMATIONEN */


        /************ ANIMATIONEN ITEM HINZUFÜGEN, ENTFERNEN CART BOUNCE ***/
        #cart-link {
          transition: transform 0.3s ease;
        }

        /*** Optional: Zahl im Korb mittig halten ***/
        #cart-count {
        position: relative;
        z-index: 1;
        color: var(--black);
        }


        #cart-count-wrapper {
          position: relative;
          display: inline-block;
          padding: 2px 9px 2px 8px;
          background: var(--white);
          transition: background 0.3s ease;
          font-variation-settings: "MONO" 1;
          font-size: var(--xs);
          top: -1px; }

        /* Wenn Artikel im Warenkorb sind */
        #cart-count-wrapper.has-items {
          background: var(--green);
          font-variation-settings: "MONO" 1;
          font-size: var(--xs);
        }

            /*** WARENKORB STRICHZEICHNUNG ***/

            /* Korb-Form */
            #cart-count-wrapper::before {
            content: "";
            position: absolute;
            left: 0;
            bottom: -1px;
            width: 100%;
            height: 100%;
            border: 1px solid var(--black);
            border-top: none;
            pointer-events: none;
            box-sizing: border-box;
            }

            /* Griff */
            #cart-count-wrapper::after {
            content: "";
            position: absolute;
            top: -6px;
            left: 22%;
            width: 50%;
            height: 5px;
            border: 1px solid var(--black);
            border-bottom: none;
            border-radius: 4px 4px 0 0;
            pointer-events: none;
            }

                

        /* Bounce-Animation beim Hinzufügen */
        #cart-count-wrapper.bump {
          animation: count-bump 0.4s;
        }

        /* Shrink-Animation beim Entfernen */
        #cart-count-wrapper.shrink {
          animation: count-shrink 0.4s;
        }

        @keyframes count-bump {
          0% { transform: scale(1); }
          50% { transform: scale(1.5); }
          100% { transform: scale(1); }
        }

        @keyframes count-shrink {
          0% { transform: scale(1); }
          50% { transform: scale(0.5); }
          100% { transform: scale(1); }
        }






        /* Fade-out Animation für Warenkorb Items - nach unten */
        .item-row.cart-style.removing {
          animation: fade-out-down 0.3s ease-out forwards;
        }

        @keyframes fade-out-down {
          0% { 
            opacity: 1;
            max-height: 50px; /* Ungefähre Höhe einer Zeile */
          }
          50% {
            opacity: 0;
          }
          100% { 
            opacity: 0;
            max-height: 0;
            padding: 0;
            margin: 0;
          }
        }

        html:has(#cart-overlay.active) {
          overflow: hidden;
        }


        /* ✅ Fade-in Animation für neue Warenkorb Items - von oben (spiegelt fade-out) */
        .item-row.cart-style.adding {
          animation: fade-in-down 0.3s ease-out forwards;
        }

        @keyframes fade-in-down {
          0% { 
            opacity: 0;
            max-height: 0;
            padding: 0;
            margin: 0;
          }
          50% {
            opacity: 0;
          }
          100% { 
            opacity: 1;
            max-height: 50px; /* Ungefähre Höhe einer Zeile */
          }
        }


        /* ✅ Fade-Animationen für Review Items */
        .review-line-item.adding {
          animation: fade-in-review 0.3s ease-out forwards;
        }

        .review-line-item.removing {
          animation: fade-out-review 0.3s ease-out forwards;
        }

        @keyframes fade-in-review {
          0% { 
            opacity: 0;
            max-height: 0;
            margin: 0;
          }
          100% { 
            opacity: 1;
            max-height: 30px; /* Ungefähre Höhe einer Review-Zeile */
            margin: 1px 0;
          }
        }

        @keyframes fade-out-review {
          0% { 
            opacity: 1;
            max-height: 30px;
            margin: 1px 0;
          }
          100% { 
            opacity: 0;
            max-height: 0;
            margin: 0;
          }
        }



    /* ✅ Fade-out Animation für Katalog-Produkte (nach unten - wie Warenkorb) */
    .item-row.product-style.catalogue-removing {
      animation: fade-out-catalogue 0.3s ease-out forwards;
    }

    @keyframes fade-out-catalogue {
      0% { 
        opacity: 1;
        max-height: 50px;
      }
      50% {
        opacity: 0;
      }
      100% { 
        opacity: 0;
        max-height: 0;
        padding: 0;
        margin: -2px; /** macht das stocken besser, rutscht nach der animation aber wieder 1nach utnen */
      }
    }







/* ✅ Fade-in Animation für Katalog-Produkte (von oben - wie Warenkorb) */
.item-row.product-style.catalogue-adding {
  animation: fade-in-catalogue 0.3s ease-out forwards;
}

@keyframes fade-in-catalogue {
  0% { 
    opacity: 0;
    max-height: 0;
    padding: 0;
    margin: 0;
  }
  50% {
    opacity: 0;
  }
  100% { 
    opacity: 1;
    max-height: 50px;
  }
}





/* ---------------- L I C E N S I N G ---------------- */

div#license-model-wrapper,
div#license-owner-wrapper,
div#license-size-wrapper
{ margin-bottom: 20px; }

/* Head / Help Button */
.card-basket-head, .card-license-model-head, .card-license-owner-head, .card-license-size-head {
position: relative;
display: flex;
justify-content: space-between;   /* Text links, ? rechts */
align-items: center;
background: var(--white);
border: 1px solid var(--black);
width: 100%;                      /* volle Breite auf Mobile */
padding: 10px;
margin-bottom: -1px;
font-size: var(--m);
box-sizing: border-box;
}


 .card-catalogue-head
 { padding: 10px;
background: var(--white);
border: 1px solid var(--black);
text-align: left;
margin-bottom: -1px;
transition: 0.2s;
width: 100%;}

    .card-catalogue-head:hover
    { background: var(--lightgrey);}

    .card-catalogue-head {
    position: relative;
    cursor: pointer;
    }






.card-license-owner-head
{ margin-top: -1px; } 

  .card-license-model-head button, .card-license-owner-head button, .card-license-size-head button {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: none;
    font-size: var(--xs);
    background-color: var(--lightgrey);
    color: var(--black);
    cursor: pointer;
  }

/* Hilfetext Popup*/
.help-text {
  position: absolute;
  top: -1px;            /* direkt unter dem Button */
  right: -1px;                /* rechts andocken */
  background: var(--lightgrey);
  padding: 10px;
  width: calc(100% + 2px);
  display: none;
  z-index: 100;
  border: 1px solid var(--black);
  cursor: pointer;
}

.card-license-model-head.active .help-text, .card-license-owner-head.active .help-text, .card-license-size-head.active .help-text {
  display: block;
}


/* ---------------- LICENSE MODEL ---------------- */

div#license-model-des
{ border: 1px solid var(--black);
padding: 6px 10px 5px 10px;
background: var(--green); }


/* ---------------- LICENSE TYPE ---------------- */

        .license-type-options {
          display: flex;
          gap: 0px;
          margin-bottom: 20px;
        }

          .license-type-card, .license-owner-button {
            flex: 1;
            padding: 30px;
            background: var(--white);
            border: 1px solid var(--black);
            margin-right: -1px;
            cursor: pointer;
            font-size: var(--m);
            color: var(--grey);
            transition: all 0.2s ease;
            text-align: center;
          }

        .license-type-card:last-child, .license-owner-button:last-child {
          margin-right: 0;
        }

        .license-type-card:hover, .license-owner-button:hover {
          background: var(--lightgrey);
        }

        .license-type-card.active, .license-owner-button.active {
          background: var(--green);
          color: black;
        }


/* ---------------- LICENSE HOLDER ---------------- */

    div.type-buttons {
      display: flex;
      gap: 0; /* Kein Abstand */
    }

      /* Aufklapper Kunden Info */
      div#customer-info,
      div#client-info {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
      }

      div#customer-info.show,
      div#client-info.show {
        max-height: 4000px;
        opacity: 1;
      }

    /* Eingabefelder */

    .form-row {
      display: flex;
      gap: 0; /* Kein Abstand mehr */
      margin-bottom: -1px; /* Überlappende Borders */
    }

    /* Letztes Element im Formular: keine negative Margin */
    .form-row:last-child,
    .country-select:last-child {
      margin-bottom: 0;
    }

    .form-row input {
      flex: 1;
      padding: 10px;
      min-width: 0; /* Erlaubt Schrumpfen unter Standard-Mindestbreite */
      border: 1px solid var(--black);
      margin-right: -1px; /* Überlappende Borders horizontal */
      font-size: var(--m);
      transition: 0.2s;
    }


    .form-row input:hover {
      padding-left: 15px;
      padding-right: 5px;
      transition: 0.2s;
    }

    .form-row input:last-child {
      margin-right: 0;
    }

    /* Länderauswahl Dropdown */

    .custom-select {
    position: relative;
    border: 1px solid var(--black);
    cursor: pointer;
    margin-bottom: -1px;
    text-align: left; }

        .select-selected {
        padding: 10px;
        font-size: var(--m);
        color: var(--grey);
        background: var(--white);
        user-select: none;
        transition: 0.2s;  }

        .select-selected:hover {
        padding-left: 15px;
        padding-right: 5px;
        transition: 0.2s;  } 

        .select-selected.active {
        color: var(--black); }

        /* DREIECK */
        .select-selected:after, .card-catalogue-head::after  {
        content: "";
        position: absolute;
        top: 20px;
        right: 10px;
        width: 0;
        height: 0;
        border: 5px solid transparent;
        border-color: var(--grey) transparent transparent transparent;
        transform: translateY(-50%);
        transform-origin: center 25%; /* Dreht sich um die Mitte des Dreiecks */
        transition: all 0.3s ease; /* Animation hinzufügen */
        }

        .select-selected.select-arrow-active:after, .card-catalogue-head.open::after {
        transform: translateY(-50%) rotate(180deg); }

    /* LÄNDER AUSWAHL CONTAINER */
    .select-items {
    background-color: var(--white);
    z-index: 999; /* Sehr hoher z-index */
    border: 1px solid var(--black);
    border-top: 1px solid var(--lightgrey);
    overflow-y: auto;
    margin-left: -1px;
    margin-bottom: -1px;
    width: calc(100% + 2px);
    height: 287px; }

        /* EINZELNE LÄNDER REIHEN */
        .select-items div {
        padding: 10px;
        font-size: var(--m);
        cursor: pointer;
        user-select: none;
        border-bottom: 1px solid var(--lightgrey);
        z-index: 999; /* Sehr hoher z-index */
        transition: 0.2s; }

        .select-items div:last-child {
        border-bottom: none; }

        .select-items div:hover {
        background-color: var(--lightgrey);
        padding-left: 15px;
        transition: 0.2s; }

        .select-hide {
        display: none; }


    .custom-select.error .select-selected {
    background: var(--yellow);
    color: var(--black);    
    transition: 0.4s; }

        .custom-select.error .select-selected:hover {
        background: var(--white); 
        color: var(--black);  
        transition: 0.2s; }

    /* Für den Fehlerzustand bei den ausgewählten Ländern */
    .custom-select.error .select-items {
    background-color: var(--white);  
    color: var(--black);
    transition: 0.2s;     }

    /* Wenn der Fehlerzustand aktiv ist und der Dropdown offen ist */
    .custom-select.error .select-items .select-item {
    background-color: var(--yellow);
    color: var(--black);      
    transition: 0.4s; }

    /* Beim Hover über ein Fehler-Element */
    .custom-select.error .select-items .select-item:hover {
    background-color: var(--white); 
    color: var(--black);
    transition: 0.2s;  }

/* ---------------- LICENSE SIZE ---------------- */

    .license-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0; 
    }

    .license-card {
    border-radius: 0px;
    padding: 20px;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--black);
    margin-right: -1px;
    margin-bottom: -1px;
    cursor: pointer;
    transition: 0.2s;
    color: var(--grey);
    }

    /* Letzte Karte in jeder Zeile */
    .license-card:nth-child(2n) {
    margin-right: 0;
    }

    .license-card span.size {
    display: block;
    font-size: var(--l);
    }

    .license-card span.desc {
    display: block;
    font-size: var(--s);
    margin-top: 0em;
    }

    .license-card:hover {
    background: var(--lightgrey);
    }

    .license-card.active {
    background: var(--green);
    color: var(--black);
    }

    .license-card.active span.desc {
    color: var(--black);
    }




/* ---------------- R E V I E W S P A L T E ---------------- */


.receipt-line {
  border-bottom: 2px dashed var(--black);
  margin: 10px 0px;
}

.calc {
  display: flex;
  width: 100%;
}

  .calc-label {
    width: 25%;
    text-align: left;
  }

  .calc-info {
    width: 50%;
    text-align: center;
  }

  .calc-value {
    width: 25%;
    text-align: right;
  }

#review-products,
#review-license,
#review-country {
  display: flex;
  justify-content: space-between;
  margin: 1px 0;
}

#review-products {
  display: flex;
  flex-direction: column;
  font-family: monospace;
}

.review-line-item {
  display: flex;
  width: 100%;
}

.review-col {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-product {
  width: 40%;
  text-align: left;
}

.review-license {
  width: 20%;
  text-align: center;
}

.review-price {
  width: 40%;
  text-align: right;
}

select:hover {
  cursor: pointer;
}

  .placeholder-text {
  color: var(--grey); }








.promo-code-row {
    display: flex;
    gap: 0px;
    margin: -1px 0px 0px 0px;
}
.promo-code-row input {
 
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--black);
    margin-right: -1px;
    cursor: pointer;
    font-size: var(--m);
    color: var(--grey);
    transition: all 0.2s ease;
    width: 80%;
}

    .promo-code-row input:hover
    { cursor: text;
    padding-left: 15px; }

.promo-code-row button 
{background: var(--white);
border: 1px solid var(--black);
margin-right: -1px;
cursor: pointer;
font-size: var(--m);
color: var(--grey);
transition: all 0.2s ease;
width: calc(20% + 1px); }

  .promo-code-row button:hover
  { padding-left: calc(20% - 40px); }



.promo-message {
    display: block;
}
  .promo-message:empty {
      display: none;
  }

.promo-error   { 
background: var(--yellow);
padding: 10px;
border: 1px solid #111;
margin-top: -1px; }


.promo-code-row.promo-success input,
.promo-code-row.promo-success button {
    background: var(--green);
    color: var(--black);
}





/* ---------------- EULA CHECKBOX ---------------- */

label.checkbox-container-eula
{ left: 0px;
  margin: 10px 0px;
  text-align: left;
  align-items: flex-start;
} 

.text-with-checkbox {
  margin-top: 1px;
  margin-left: 10px;
  text-align: left;
}

/* ---------------- CHECKOUT BUTTON ---------------- */

.send-order-btn {
  width: 100%;
  padding: 50px; /* wie license owner */
  background: var(--white);
  color: var(--lightgrey);
  cursor: not-allowed;
  font-size: var(--m);
  transition: 0.2s;
  border: 1px solid var(--grey);
}

.send-order-btn:not(:disabled) {
  background: var(--white);
  cursor: pointer;
  color: var(--black);
  border: 1px solid var(--black);
  opacity: 1;
}

.send-order-btn:not(:disabled):hover {
  background: var(--green);
  color: var(--black);
}




/********************** Fehler-Styling für Felder ***********************/
input.error,
select.error,
#basket-noproducts.error {
  background: var(--yellow);
  color: var(--black);
  transition: 0.4s;
}
input.error:hover, select.error:hover {
  background: var(--white);
  color: var(--black);
  transition: 0.2s;
}

/* Error-Styling für Buttons und Cards */
.license-owner-button.error, .license-card.error, .license-type-card.error {
background: var(--yellow) !important;
color: var(--black);
transition: 0.4s;
}

.license-card.error .license-card.error:hover, .license-type-card.error:hover {
background: var(--white) !important;
color: var(--black);
transition: 0.2s; }

/* Error-Styling für Buttons und Cards */
.license-owner-button.error:hover, .license-card.error:hover, .license-type-card.error:hover {
background: var(--white) !important;
color: var(--black);
transition: 0.2s;
}

  input.error::placeholder,
  select.error::placeholder {
  color: var(--black);
  transition: 0.4s; }




.error-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  z-index: 1999;
  cursor: pointer;
}


/* Error Message Box */
.error-message {
  position: fixed;
  top: 20px;
  right: -400px; /* Start außerhalb des Bildschirms */
  background: var(--yellow);
  padding: 15px;
  z-index: 2000;
  text-align: left;
  opacity: 1;
  border: 1px solid var(--black);
  transition: all 0.4s ease;
  cursor: pointer;
}


  /* Sichtbare Position */
  .error-message.visible {
    right: 20px;  /* Zielposition */
    opacity: 1;
  }


.error-message p {
  margin: 5px 0;
  font-size: var(--m);
}

.error-message ul {
  list-style: none;
  padding: 0;
  margin: 10px 0px 0px 0px;
  text-align: left;
}

.error-message li {
  padding: 1px 0;
  font-size: var(--m);
}

.error-message li:before {
  content: "\25CF ";
  margin-right: 5px;
}



/********************** SUCCESS OVERLAY ***********************/



/* Success Overlay mit Fade-out Animation */
#success-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.5);
  z-index: 1002;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: opacity;
}

#success-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Animation für Content */
#success-overlay > * {
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

#success-overlay.active > * {
  transform: translateY(0);
  opacity: 1;
}

/* Header für Close Button */
#success-overlay #cart-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1003;
  text-align: center;
  padding: 20px;
}

#success-overlay button#back-to-shop {
  color: var(--black);
  font-size: var(--m);
  cursor: pointer;
  background: none;
  border: none;
}

#success-overlay button#back-to-shop:hover {
  font-variation-settings: "MONO" 1;
}

/* Payment Wrapper */
.payment-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100%;
}

.payment-content {
  max-width: calc(33vw - 22px);
  width: 100%;
  padding: 30px;
  border: 1px solid var(--black);
  background: var(--white);
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Checkmark Animation */
.success-checkmark {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 1px solid var(--black);
  background: var(--green);
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: scaleIn 0.5s ease-in-out;
}

@keyframes scaleIn {
  0% { transform: scale(0); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.success-checkmark svg {
  width: 50px;
  height: 50px;
  stroke: var(--black);
  stroke-width: 1;
  fill: none;
  animation: drawCheck 0.7s ease-in-out 0.4s forwards;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}

@keyframes drawCheck {
  to { stroke-dashoffset: 0; }
}

/* Verhindere Scrollen wenn Overlay aktiv */
html:has(#success-overlay.active) {
  overflow: hidden;
}