/* Datei: ArcheStyles.css */

/* Grundlayout */
body {
    font-family: system-ui, sans-serif;
    margin: 0;
    padding: 20px;
    background: url('../img/WallPaper-PowerC.webp') no-repeat center center fixed;
    background-size: cover;
    color: #222;
    line-height: 1.6;
}
.dev-indicator {
  position: fixed;
  top: 25px;
  left: 25px;
  width: 25px;
  height: 25px;
  background-color: red;
  border-radius: 50%;
  z-index: 9999;
}

.workArea{
    width: 90%;
    max-width: 1000px;
    margin: auto;
    padding: 25px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
}

.bgPaper{
      max-width: 1000px;
      width: 100%;
      margin: 5px auto;
      position: relative;
      background-color: rgba(255, 255, 255, 0.8);
      padding: 10px;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
      display: flex;
      overflow: hidden;
      flex-direction: column;
      align-items: left;
}

h1, h2 {
    color: #003366;
    margin-top: 0.8em;
}

h1 {
    font-size: 1.7rem;
    margin-bottom: 1.2em;
    padding: 5px 10px;
    background-color: rgba(154, 153, 153, 0.5);
    border-radius: 8px;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 0.8em;
    background-color: rgba(154, 153, 153, 0.3);
    padding: 3px 10px;
}

h3, h4{
    font-size: 1.3rem;
    margin-bottom: 0.7em;
}

p, li {
    font-size: 1.15rem;
    line-height: 1.3;
    margin-bottom: 0.5em;
}
li {
    font-size: 1.15rem;
    line-height: 1.2;
    margin-bottom: 0.5em;
    list-style-position: inside;
}
.einzug {
  display: block;
  padding-left: 1em; /* entspricht ca. 0.1em optisch bei Schriftgröße 1.2em */
}

li.MyStrong{
  font-weight: 525;
}
.MyBlue{
    color: blue;
}


ul.li-FeatureUp {
  background-color: rgb(175, 211, 212);
  border: solid 1px red;
  padding: 1.2em;
  border-radius: 10px;
  margin: 0.3em 2em;
  list-style: none;
}

ul.li-FeatureUp li {
  position: relative;
  list-style-position: inside;
  color: rgb(8, 8, 8);
  border: solid 1px rgb(154, 153, 153);
  margin-bottom: 0.4em;
  padding: 0.3em 3em;
  border-radius: 4px;
  padding-bottom: 0.4em;
}

ul.li-FeatureUp li::before {
  position: absolute;
  content: '❓'; /* Unicode: U+2753 */
  color: red;
  position: absolute;
  left: 0.5em;
  top: -0.2em;
  font-size: 1.4em;
  line-height: 1.6;
}

.blueText{
    color: blue;
    letter-spacing: 0.08em;
    font-size: 120%; 
    font-weight: 525;
}

button {
    background-color: #005fa3;
    color: white;
    border: none;
    padding: 10px 15px;
    margin: 10px 5px;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 1px 2px 6px rgba(0, 0, 0, 0.2);
    width: auto;
    height: auto;
    background-image: none;

}

.divButtonRow{
     display: flex;
     gap: 10px;
}

.askButton {
    background-color: rgba(3, 197, 84, 0.7);
    color: rgb(217, 221, 219);
    font-weight: 600;
    width: 35px;
    height: 35px;
    padding: 8px 8px;
    margin-left: 10px;
    margin-right: 10px;  
}

button:hover {
    background-color: #007acc;
}

.disabledBtn {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}


/* Tabellenlayout */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: rgba(255, 255, 255, 0.8);
}


th, td {
    padding: 10px;
    border: 1px solid #ccc;
    text-align: left;
    font-size: 1rem;
}

th {
    background-color: #eaeaea;
    font-weight: bold;
}

.inputArea{
    background-color: rgba(245, 245, 245, 0.6);
    border-radius:12px;
    padding: 10px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    /*max-width: 800px;*/
}
/* Horizontale Zentrierung */
.form-centered{
    align-items: center;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 95%;
}

.form-group {
    display: flex;
    justify-content: flex-start; /*space-between;*/
    align-items: center;
    gap: 20px;
}

.form-group label {
    flex: 1;
    min-width: 200px;
}

label {
    display: block;
    margin-top: 15px;
    margin-right: 5px;;
    font-size: 1.2rem;
    color: #222;
  }


.form-group input {
    flex: 2;
}

.divCentered{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    padding:3px;
    width: 100%;
}

.divInfoText{
    margin-top:15px; 
    margin-bottom: 8px;
    padding: 10px 25px; 
    background-color:rgba(245, 245, 245, 0.8); 
    border:1px solid  #003366;
    border-radius:10px;
}
 
.divErrorText{
    margin-top:20px; 
    padding:25px; 
    background-color:#b85260; 
    border:1px solid #cce; 
    border-radius:12px;
    font-weight: bold;
    color:#ccc;
    font-size: 1.3rem;
}


.divInput{
    margin-top:15px;
    padding: 10px 25px; 
    border:1px solid rgba(240, 240, 240, 0.8); 
    border-radius:12px;
}
.divInput .innerArea{
    margin-left:15px;
    padding: 5px;
}

.legalText{
    color:#222;
    font-style: italic;
    font-size: 0.9rem;
}


/* Formularelemente */
input[type="text"],
input[type="email"],
select {
    width: 90%;
    max-width: 50ch;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    background-color: rgba(212, 211, 211, 0.8);
    border-radius: 5px;
    font-size: 1rem;
}

input[type="text"]:required,
input[type="email"]:required,
textarea:required,
select:required {
    border: 1px solid orange;
}

input[type="text"].saftycode {
  font-weight: 500; 
  letter-spacing: 0.08em;
  line-height: 1.3;
  max-width: 150px;
  border-color: blue;
}

textarea::placeholder {
    color: #888;
    font-style: italic;
    font-size: 0.9rem;
}

textarea {
    font-size: 1.1rem;
    border-radius: 5px;
    padding: 5px;
}
/* -- Zähler für Textarea Zeichen */
.textCounter{
    color: #888;
    font-style: italic;
    font-size: 0.8rem;
    margin-top: 2px;
}

select{
    appearance: none;
    background-color: rgba(212, 211, 211, 0.8);
    font-size: 1.2rem;
    margin-top: 5px;
    margin-bottom: 10px;
  }

option {
    padding: 10px;
    font-size: 1.15rem;
}

.hidden {
    display: none;
}

/* ---- für die Checkboxen in Coach1 --*/
.form-check {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.4;
  }
  
  .form-check input[type="checkbox"] {
    width: 1.2rem;
    height: 1.2rem;
    margin-top: 1rem;
    flex-shrink: 0;
  }
  
  .form-check label {
    flex: 1;
  }

/* ----------Responsive Bereich ------------- */
/* ------------------------------------------ */

@media (prefers-color-scheme: dark) {
  body {
    background-color: white;
    color: black;
  }
}

  
@media (max-width: 600px) {
    body {
        background-image: none !important;
    }
    html, body {
        min-height: auto;
        height: auto;
      }

    ul.li-FeatureUp {
        padding: 0.3em;
        border-radius: 8px;
        margin: 0.3em 0.5em;
    }

    ul.li-FeatureUp li {
        position: relative;
        margin-bottom: 0.3em;
        padding: 0.3em 2em;
        border-radius: 4px;
        padding-bottom: 0.3em;
        line-height: 1.5;
    }

    ul.li-FeatureUp li::before {
        position: absolute;
        left: 0.1em;
        top: 0.0em;
        margin-right: 0.3em;
        font-size: 1.3em;
        line-height: 1.5;
    }

}

@media (max-width: 768px) {
    body {
        padding: 10px;
        line-height: 1.45;
    }
    .workArea{
        width: 98%;
        margin: auto;
        padding: 15px;
    }
        
    ul.li-FeatureUp li::before {
        top: 0.1em;
        font-size: 1.2em;
        line-height: 1.4;
    }
    h1 {
        font-size: 1.6rem;
    }

    h2 {
        font-size: 1.45rem;
    }
    h3, h4{
        font-size: 1.25rem;
    }

    p, th, td, input, select, button, li {
        font-size: 1rem;
    }
    li{
        line-height: 1.1;
    }
    p{
        line-height: 1.25;
    }

    label {
        font-size: 1.3rem;
      }

    select{
        margin-top: 15px;
        margin-bottom: 15px;
        font-size: 1.3rem;
    }
    option {
          font-size: 1rem;
    }

    table {
        font-size: 0.95rem;
    }
    form {
        max-width: 100%;
    }

    .form-group {
        flex-direction: column;
        align-items: flex-start;
        background-color: rgba(221, 220, 220, 0.5);
    }

    .form-group label{
        margin-top: 5px;
    }
    .form-group input, select{
        margin-left: 5px;
        margin-bottom: 5px;
    }

    .divInfoText{
        margin-top:15px; 
        padding:5px 10px; 
        background-color:#f0f8ff; 
        border:1px solid #cce; 
        border-radius:8px;
    }
    .divInput{
        margin-top:10px; 
        padding:5px 10px; 
        border:1px solid #cce; 
        border-radius:8px;
    }


    button {
        padding: 8px 12px;
        font-size: 1.2rem;
    }
    .askButton{
        width: 45px;
        height: 45px;
        padding: 10px 10px;
    }
}
