/* ===== BASIS ===== */
*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  padding:20px;
  font-family: Arial, Helvetica, sans-serif;
  background:#eef3f9;
  color:#222;
}

/* ===== STARTKARTE ===== */
.card{
  max-width:520px;
  margin:20px auto;
  background:#ffffff;
  border-radius:22px;
  padding:28px 24px;
  box-shadow:0 12px 30px rgba(0,0,0,0.15);
  text-align:center;
}

.brand{
  display:flex;
  justify-content:center;
  margin-bottom:12px;
}

.brand-logo{
  max-width:160px;
  height:auto;
}

.title{
  margin:10px 0 6px;
  font-size:32px;
  line-height:1.1;
  font-weight:800;
  color:#0b2a6f;
}

.subtitle{
  margin:0 0 22px;
  font-size:15px;
  color:#555;
}

/* ===== BUTTONS ===== */
.btnlist{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.btn{
  display:block;
  padding:15px 16px;
  border-radius:14px;
  text-decoration:none;
  font-weight:700;
  font-size:15px;
  color:#fff;
  text-align:center;
}

.btn-blue{ background:#0b4bb3; }
.btn-green{ background:#22a548; }
.btn-green2{ background:#1e8f41; }
.btn-orange{ background:#f58a1f; }
.btn-gray{ background:#6b7280; }
.btn-gray2{ background:#9ca3af; }
.btn-purple{ background:#6d42c7; }

.btn:hover{
  filter:brightness(0.95);
}

/* ===== FORMULARBEREICH ===== */
.form-section{
  max-width:900px;
  margin:40px auto;
  background:#ffffff;
  border-radius:22px;
  padding:30px 26px;
  box-shadow:0 10px 26px rgba(0,0,0,0.12);
}

.form-section h2{
  margin-top:0;
  color:#0b2a6f;
}

form h3{
  margin:26px 0 10px;
  font-size:18px;
  color:#333;
}

/* ===== INPUTS ===== */
input,
select,
textarea{
  width:100%;
  padding:12px 14px;
  margin:8px 0 14px;
  border-radius:10px;
  border:1px solid #cfd4dc;
  font-size:15px;
  font-family:inherit;
}

textarea{
  min-height:110px;
  resize:vertical;
}

label{
  display:block;
  margin-bottom:10px;
}

/* ===== CHECKBOXEN ===== */
.check{
  display:block;
  margin:12px 0;
  font-size:14px;
}

.check input{
  width:auto;
  margin-right:8px;
}

/* ===== HINWEISE ===== */
.hint{
  font-size:14px;
  color:#555;
  margin:12px 0;
}

/* ===== SUBMIT ===== */
button.btn{
  border:none;
  cursor:pointer;
}

/* ===== MOBILE ===== */
@media(max-width:600px){
  body{
    padding:12px;
  }

  .title{
    font-size:26px;
  }

  .card{
    padding:22px 18px;
  }

  .form-section{
    padding:22px 18px;
  }
}
.sig-wrap{
  border:1px solid #cfd4dc;
  border-radius:14px;
  padding:12px;
  background:#fafafa;
  margin:10px 0 18px;
}

#sigCanvas{
  width:100%;
  height:260px;
  background:#fff;
  border-radius:12px;
  border:1px dashed #cfd4dc;
  touch-action:none; /* wichtig für Handy/Tablet */
}

.sig-actions{
  margin-top:10px;
  display:flex;
  justify-content:flex-end;
}
