
.gewa-app{
  --gewa-primary:#1c5f89;
  --gewa-primary-dark:#134565;
  --gewa-soft:#eef6fb;
  --gewa-border:#c7d8e3;
  --gewa-text:#1d2935;
  --gewa-muted:#60707c;
  font-family:Arial,Helvetica,sans-serif;
  color:var(--gewa-text);
}

.gewa-app *{box-sizing:border-box}

.gewa-shell{
  max-width:930px;
  margin:24px auto;
  background:#fff;
  border:1px solid var(--gewa-border);
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 14px 38px rgba(0,0,0,.08)
}

.gewa-header{
  display:flex;
  gap:20px;
  align-items:center;
  padding:28px 34px;
  background:var(--gewa-soft);
  border-bottom:1px solid var(--gewa-border)
}

.gewa-brand{
  width:58px;
  height:58px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--gewa-primary);
  color:#fff;
  font-size:34px;
  font-weight:700;
  flex:none
}

.gewa-kicker{
  margin:0 0 4px;
  color:var(--gewa-primary);
  font-size:18px;
  font-weight:700
}

.gewa-header h1{
  margin:0;
  font-size:clamp(28px,4vw,42px);
  line-height:1.12
}

.gewa-main{padding:32px}

.gewa-card{
  border:1px solid var(--gewa-border);
  border-radius:18px;
  padding:28px;
  background:#fff
}

.gewa-progress{
  height:12px;
  background:#e7edf2;
  border-radius:999px;
  overflow:hidden;
  margin-bottom:22px
}

.gewa-progress span{
  display:block;
  height:100%;
  background:var(--gewa-primary)
}

.gewa-step{
  margin:0 0 10px;
  color:var(--gewa-muted);
  font-size:16px
}

.gewa-question{
  margin:0 0 12px;
  font-size:clamp(24px,3.5vw,34px);
  line-height:1.25
}

.gewa-help{
  font-size:18px;
  line-height:1.5;
  color:var(--gewa-muted);
  margin:0 0 20px
}

.gewa-input-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:12px;
  align-items:stretch
}

.gewa-input{
  width:100%;
  min-height:60px;
  border:2px solid #91a8b7;
  border-radius:12px;
  padding:13px 15px;
  font-size:20px;
  background:#fff
}

.gewa-textarea{
  min-height:170px;
  resize:vertical
}

.gewa-mic{
  min-width:180px;
  border:2px solid var(--gewa-primary);
  border-radius:12px;
  background:#fff;
  color:var(--gewa-primary);
  font-weight:800;
  font-size:17px;
  padding:12px 16px;
  cursor:pointer
}

.gewa-date-help{
  margin:10px 0 0;
  padding:10px 12px;
  border-radius:9px;
  background:var(--gewa-soft);
  color:var(--gewa-muted)
}

.gewa-options{
  display:grid;
  gap:12px
}

.gewa-option{
  width:100%;
  min-height:60px;
  text-align:left;
  padding:14px 18px;
  border:2px solid #9fb4c3;
  border-radius:12px;
  background:#fff;
  color:#20303b;
  font-size:18px;
  font-weight:800;
  cursor:pointer
}

.gewa-option.is-selected{
  background:var(--gewa-primary);
  border-color:var(--gewa-primary);
  color:#fff
}

.gewa-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:24px
}

.gewa-button{
  border:0;
  border-radius:11px;
  padding:14px 20px;
  min-height:54px;
  font-size:17px;
  font-weight:800;
  cursor:pointer;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center
}

.gewa-button--primary{
  background:var(--gewa-primary);
  color:#fff
}

.gewa-button--secondary{
  background:#e9eef2;
  color:#25343f
}

.gewa-button--voice{
  background:#fff;
  color:var(--gewa-primary);
  border:2px solid var(--gewa-primary)
}

.gewa-button--email{
  background:#176b3a;
  color:#fff
}

.gewa-button--unsigned{
  background:#fff;
  color:#754b00;
  border:2px solid #c89222
}

.gewa-button:disabled,
.gewa-button--email:disabled,
.gewa-button--unsigned:disabled{
  background:#dfe4e8!important;
  color:#6a747b!important;
  border-color:#cbd2d7!important;
  cursor:not-allowed
}

.gewa-notice{
  margin-top:18px;
  padding:15px 17px;
  border-radius:11px;
  background:#eef7fb;
  line-height:1.5
}

.gewa-notice--error{
  background:#fff0f0;
  color:#8e2020
}

.gewa-summary{
  display:grid;
  gap:10px
}

.gewa-summary h3{
  margin:18px 0 2px;
  font-size:21px;
  color:var(--gewa-primary-dark)
}

.gewa-summary-row{
  display:grid;
  grid-template-columns:minmax(170px,32%) 1fr;
  gap:12px;
  padding:12px 14px;
  border:1px solid var(--gewa-border);
  border-radius:10px
}

.gewa-confirm{
  display:flex;
  gap:12px;
  align-items:flex-start;
  margin-top:24px;
  padding:16px;
  border:2px solid var(--gewa-border);
  border-radius:12px;
  background:#fafcfd;
  font-size:18px;
  line-height:1.45
}

.gewa-confirm input{
  width:25px;
  height:25px;
  flex:none;
  margin-top:1px
}

.gewa-two-pdf-note{
  margin:22px 0 4px;
  padding:16px 18px;
  border:2px solid #c89222;
  border-radius:12px;
  background:#fff8e8;
  color:#4f3d18;
  font-size:17px;
  line-height:1.5
}

.gewa-signature-card,
.gewa-pdf-preview-card,
.gewa-email-card{
  margin-top:26px;
  padding:20px;
  border:2px solid var(--gewa-primary);
  border-radius:15px;
  background:#f7fbfd
}

.gewa-signature-card h3,
.gewa-pdf-preview-card h3,
.gewa-email-card h3{
  margin:0 0 12px;
  font-size:24px
}

.gewa-signature-photo-help{
  margin:15px 0;
  padding:16px;
  border:1px solid #b9cbd7;
  border-radius:12px;
  background:#fff
}

.gewa-signature-photo-help h4{
  margin:0 0 13px;
  font-size:20px
}

.gewa-photo-grid{
  display:grid;
  gap:10px
}

.gewa-photo-grid>div{
  display:grid;
  grid-template-columns:38px minmax(0,1fr);
  gap:8px;
  padding:10px;
  border:1px solid #d6e1e7;
  border-radius:10px
}

.gewa-photo-grid span{
  font-size:24px
}

.gewa-photo-grid strong{
  display:block
}

.gewa-photo-grid small{
  grid-column:2;
  color:var(--gewa-muted);
  font-size:16px
}

.gewa-photo-important{
  border:2px solid var(--gewa-primary)!important;
  background:var(--gewa-soft)
}

.gewa-signature-upload{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:60px;
  padding:14px 18px;
  border:2px solid var(--gewa-primary);
  border-radius:12px;
  background:#fff;
  color:var(--gewa-primary);
  font-size:18px;
  font-weight:800;
  cursor:pointer
}

.gewa-signature-upload input{
  position:absolute;
  opacity:0;
  width:1px;
  height:1px
}

.gewa-signature-preview-wrap{
  margin-top:18px
}

.gewa-signature-preview-box{
  margin-top:8px;
  min-height:140px;
  padding:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid #b9cbd7;
  border-radius:12px;
  background:#fff;
  overflow:hidden
}

.gewa-signature-preview-box img{
  max-width:100%;
  max-height:170px
}

.gewa-signature-size-title{
  margin:18px 0 10px;
  font-weight:800;
  font-size:17px
}

.gewa-signature-size-buttons{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px
}

.gewa-size-choice{
  min-height:50px;
  border:2px solid var(--gewa-primary);
  border-radius:10px;
  background:#fff;
  color:var(--gewa-primary-dark);
  font-weight:800;
  cursor:pointer
}

.gewa-size-choice.is-selected{
  background:var(--gewa-primary);
  color:#fff
}

.gewa-signature-status,
.gewa-signature-privacy,
.gewa-email-note{
  color:var(--gewa-muted);
  line-height:1.45
}

.gewa-pdf-preview-page,
.gewa-pdf-preview-zoom{
  margin-top:12px;
  padding:8px;
  border:1px solid #b9cbd7;
  border-radius:12px;
  background:#fff;
  overflow:hidden
}

.gewa-pdf-preview-page img,
.gewa-pdf-preview-zoom img{
  display:block;
  width:100%;
  height:auto
}

.gewa-pdf-preview-card h4{
  margin:20px 0 8px;
  font-size:20px
}

.gewa-pdf-open-link{
  margin-top:14px
}

.gewa-email-note{
  margin-top:12px;
  padding:12px 14px;
  border:1px solid #cbd8e0;
  border-radius:10px;
  background:#fff
}

.gewa-footer{
  border-top:1px solid var(--gewa-border);
  padding:20px 34px;
  color:var(--gewa-muted);
  font-size:15px
}

.gewa-footer p{margin:3px 0}

@media(max-width:700px){
  .gewa-shell{
    margin:0;
    border-radius:0;
    border-left:0;
    border-right:0
  }

  .gewa-header,
  .gewa-main,
  .gewa-footer{
    padding-left:18px;
    padding-right:18px
  }

  .gewa-card{
    padding:20px 16px
  }

  .gewa-input-row{
    grid-template-columns:1fr
  }

  .gewa-mic,
  .gewa-button,
  .gewa-signature-upload,
  .gewa-pdf-open-link{
    width:100%
  }

  .gewa-actions{
    display:grid
  }

  .gewa-summary-row{
    grid-template-columns:1fr
  }

  .gewa-signature-size-buttons{
    grid-template-columns:1fr
  }
}


.gewa-dim-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.gewa-dim-card{
  padding:14px;
  border:1px solid var(--gewa-border,#c7d8e3);
  border-radius:12px;
  background:#f9fbfc;
}
.gewa-dim-card strong{display:block;margin-bottom:10px;font-size:18px}
.gewa-dim-card label{display:block;margin:8px 0;font-weight:700}
.gewa-duration-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.gewa-duration-grid label{font-weight:700}
.gewa-attachments-card{
  margin-top:24px;
  padding:18px;
  border:2px solid #c89222;
  border-radius:14px;
  background:#fff8e8;
  color:#4f3d18;
}
.gewa-attachments-card h3{margin-top:0}
.gewa-file-label{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  margin-top:12px;
  padding:12px 16px;
  border:2px solid #8c6a20;
  border-radius:10px;
  background:#fff;
  font-weight:800;
  cursor:pointer;
}
.gewa-file-label input{position:absolute;opacity:0;width:1px;height:1px}
@media(max-width:700px){
  .gewa-dim-grid,.gewa-duration-grid{grid-template-columns:1fr}
}


/* M001.1 – besonders einfache Datum-/Uhrzeit-Eingabe */
.gewa-datetime-card{
  border:2px solid var(--gewa-primary,#1c5f89);
  border-radius:16px;
  background:#f7fbfd;
  padding:18px;
}

.gewa-datetime-head{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:18px;
  font-size:22px;
}

.gewa-datetime-badge{
  width:42px;
  height:42px;
  border-radius:50%;
  display:grid;
  place-items:center;
  flex:none;
  background:var(--gewa-primary,#1c5f89);
  color:#fff;
  font-weight:800;
}

.gewa-datetime-section{
  margin-top:16px;
  padding:16px;
  border:1px solid #c8d8e2;
  border-radius:13px;
  background:#fff;
}

.gewa-datetime-section h3{
  margin:0 0 14px;
  font-size:21px;
}

.gewa-date-parts{
  display:grid;
  grid-template-columns:0.8fr 1.4fr 1fr;
  gap:10px;
}

.gewa-date-parts label,
.gewa-time-parts label{
  display:grid;
  gap:7px;
  font-weight:800;
  font-size:16px;
}

.gewa-select,
.gewa-year{
  min-height:62px!important;
  font-size:20px!important;
  font-weight:700;
}

.gewa-time-parts{
  display:grid;
  grid-template-columns:1fr 34px 1fr;
  gap:8px;
  align-items:end;
  max-width:520px;
}

.gewa-time-colon{
  min-height:62px;
  display:grid;
  place-items:center;
  font-size:34px;
  font-weight:800;
}

.gewa-quick-times{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  margin-top:14px;
}

.gewa-quick-times>span{
  width:100%;
  color:#60707c;
  font-weight:700;
}

.gewa-quick-time{
  border:2px solid var(--gewa-primary,#1c5f89);
  border-radius:10px;
  background:#fff;
  color:var(--gewa-primary,#1c5f89);
  min-width:78px;
  min-height:46px;
  font-size:16px;
  font-weight:800;
}

.gewa-button--copy-date{
  width:100%;
  margin-top:14px;
  border:2px solid #31814d;
  background:#eef9f1;
  color:#23653a;
}

.gewa-datetime-voice{
  width:100%;
  margin-top:16px;
}

.gewa-datetime-example{
  margin:10px 0 0;
  color:#60707c;
  text-align:center;
  line-height:1.4;
}

@media(max-width:700px){
  .gewa-date-parts{
    grid-template-columns:1fr 1.25fr;
  }

  .gewa-date-parts label:last-child{
    grid-column:1 / -1;
  }

  .gewa-time-parts{
    grid-template-columns:1fr 28px 1fr;
  }

  .gewa-datetime-card{
    padding:14px;
  }

  .gewa-datetime-section{
    padding:14px 12px;
  }
}


/* M001.2 – Schnellauswahl Uhrzeit eindeutig markieren */
.gewa-quick-time.is-selected,
.gewa-quick-time[aria-pressed="true"]{
  background:var(--gewa-primary,#1c5f89);
  color:#fff;
  border-color:var(--gewa-primary,#1c5f89);
  box-shadow:0 0 0 3px rgba(28,95,137,.14);
}

.gewa-quick-time:active{
  transform:translateY(1px);
}


/* M001.3 – sichtbarer Status der Datum-/Uhrzeit-Spracheingabe */
.gewa-datetime-speech-status{
  margin:12px 0 0;
  padding:12px 14px;
  border:1px solid #b9cbd7;
  border-radius:10px;
  background:#fff;
  color:#4f606c;
  line-height:1.45;
  font-size:16px;
}

.gewa-datetime-speech-status.is-success{
  border-color:#3b8b56;
  background:#eef9f1;
  color:#235f37;
  font-weight:700;
}

.gewa-datetime-speech-status.is-error{
  border-color:#c96464;
  background:#fff0f0;
  color:#8e2020;
  font-weight:700;
}

.gewa-datetime-voice:disabled{
  opacity:.78;
  cursor:wait;
}


/* M001.4 – lange Fragen auf dem Handy sicher umbrechen */
.gewa-question{
  max-width:100%;
  overflow-wrap:anywhere;
  word-break:normal;
  hyphens:auto;
}

@media(max-width:700px){
  .gewa-question{
    font-size:clamp(24px,7vw,31px);
    line-height:1.18;
  }
}


/* M001.1 – mobile Kopfzeile und stabile Navigation */
.gewa-header > div:last-child{
  min-width:0;
  max-width:100%;
}

.gewa-header h1{
  max-width:100%;
  overflow-wrap:anywhere;
  hyphens:auto;
}

@media(max-width:700px){
  .gewa-header{
    gap:14px;
    align-items:center;
    padding-top:22px;
    padding-bottom:22px;
  }

  .gewa-brand{
    width:54px;
    height:54px;
    font-size:31px;
  }

  .gewa-kicker{
    font-size:17px;
  }

  .gewa-header h1{
    font-size:clamp(25px,7vw,31px);
    line-height:1.12;
    word-break:normal;
  }
}

/* M001.2 – sichtbarer Start-Fallback statt leerem Inhaltsbereich */
.gewa-loading-card{min-height:180px;display:flex;flex-direction:column;justify-content:center;}

/* M001 - lange mobile Überschrift sicher umbrechen */
.gewa-header h1{overflow-wrap:anywhere;hyphens:auto;}
@media(max-width:700px){.gewa-header h1{font-size:clamp(29px,7.2vw,42px);line-height:1.08;}}


/* M001.1 – Angaben nach der Prüfung einzeln korrigieren */
.gewa-summary-row{
  grid-template-columns:minmax(190px,34%) minmax(0,1fr) auto;
  align-items:center;
}

.gewa-summary-edit{
  min-width:118px;
  min-height:50px;
  padding:10px 16px;
  border:2px solid var(--gewa-primary);
  border-radius:11px;
  background:#fff;
  color:var(--gewa-primary-dark);
  font:inherit;
  font-size:17px;
  font-weight:800;
  cursor:pointer;
}

.gewa-summary-edit:active{
  transform:translateY(1px);
}

@media(max-width:700px){
  .gewa-summary-row{
    grid-template-columns:1fr;
    gap:10px;
    padding:16px;
  }

  .gewa-summary-row strong{
    font-size:19px;
    line-height:1.35;
  }

  .gewa-summary-row span{
    font-size:20px;
    line-height:1.4;
  }

  .gewa-summary-edit{
    width:100%;
    min-height:58px;
    font-size:20px;
  }
}


/* M001.2 – Unterschrift: Kamera ODER vorhandene Bilddatei */
.gewa-signature-choice-box{
  margin:18px 0;
}

.gewa-signature-choice-title{
  margin:0 0 12px;
  font-weight:800;
  font-size:18px;
}

.gewa-signature-upload--camera,
.gewa-signature-upload--file{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:58px;
  margin:10px 0;
  text-align:center;
  cursor:pointer;
}

.gewa-signature-upload--file{
  background:#fff;
}

.gewa-signature-choice-help{
  margin:12px 0 0;
  color:#5f6f7a;
  font-size:16px;
  line-height:1.5;
}

@media(max-width:700px){
  .gewa-signature-choice-title{
    font-size:20px;
  }

  .gewa-signature-upload--camera,
  .gewa-signature-upload--file{
    min-height:66px;
    font-size:20px;
    line-height:1.35;
  }

  .gewa-signature-choice-help{
    font-size:18px;
    line-height:1.55;
  }
}


/* M001.6 – Ein-Button-Direktversand */
.gewa-direct-mail-privacy{
  margin:16px 0;
  padding:14px 16px;
  border:1px solid #b7c8d2;
  border-radius:12px;
  background:#f7fbfd;
  color:#405664;
  font-size:15px;
  line-height:1.5;
}

.gewa-direct-mail-privacy strong{
  color:#1e3340;
}

.gewa-notice--success{
  border-color:#2f7d42;
  background:#edf8f0;
  color:#1f6132;
}

@media(max-width:700px){
  .gewa-direct-mail-privacy{
    font-size:18px;
    line-height:1.55;
  }
}


/* M001.10 – Transparente Versandübersicht */
.gewa-send-overview{
  margin:18px 0 22px;
  padding:16px;
  border:2px solid #b7c8d2;
  border-radius:14px;
  background:#fff;
}

.gewa-send-overview-title{
  margin-bottom:14px;
  color:#1e3340;
  font-size:22px;
  font-weight:800;
}

.gewa-send-overview-item{
  padding:14px 0;
  border-top:1px solid #d8e1e6;
}

.gewa-send-overview-item:first-of-type{
  border-top:0;
}

.gewa-send-overview-item strong{
  display:block;
  margin-bottom:7px;
  color:#1e3340;
  font-size:18px;
}

.gewa-send-overview-item > span{
  display:block;
  color:#405664;
  line-height:1.5;
}

.gewa-send-letter{
  margin-top:8px;
  padding:13px 14px;
  border-radius:10px;
  background:#f5f8fa;
  color:#334955;
  font-size:15px;
  line-height:1.5;
}

.gewa-send-file-list{
  margin:9px 0 0 20px;
  padding:0;
  color:#405664;
  line-height:1.45;
  overflow-wrap:anywhere;
}

@media(max-width:700px){
  .gewa-send-overview{
    padding:16px;
  }

  .gewa-send-overview-title{
    font-size:25px;
  }

  .gewa-send-overview-item strong{
    font-size:20px;
  }

  .gewa-send-overview-item > span,
  .gewa-send-file-list{
    font-size:18px;
  }

  .gewa-send-letter{
    font-size:17px;
    line-height:1.55;
  }
}

/* M001.11 - aktueller Standard wie das letzte Bürgerhilfe-Pirna-Plugin */
.gewa-header>div:last-child{min-width:0;max-width:100%}
.gewa-header h1,.gewa-question,.gewa-help,.gewa-confirm span,.gewa-notice,.gewa-send-overview,.gewa-attachments-card{overflow-wrap:anywhere;word-break:normal}
.gewa-attachment-item{margin:14px 0;padding:14px;border:1px solid #d8c58e;border-radius:11px;background:#fff}
.gewa-attachment-item>strong{display:block;margin-bottom:8px;font-size:18px;color:#3d3218}
.gewa-attachment-status{margin:9px 0 0;color:#6b6042;line-height:1.45;overflow-wrap:anywhere}
.gewa-attachment-status.is-selected{color:#1f6132;font-weight:700}
.gewa-attachment-remove{margin-top:9px;width:100%}
.gewa-pdf-preview-card h4{margin:20px 0 8px;font-size:20px}
.gewa-pdf-preview-page img,.gewa-pdf-preview-zoom img{display:block;width:100%;height:auto}
@media(max-width:700px){
  .gewa-header{gap:14px;padding-left:18px;padding-right:18px}
  .gewa-header h1{font-size:clamp(25px,6.8vw,31px);line-height:1.1}
  .gewa-question{font-size:clamp(25px,7vw,34px);line-height:1.22}
  .gewa-confirm{display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;padding:16px}
  .gewa-confirm span{min-width:0;font-size:19px;line-height:1.48}
  .gewa-signature-size-buttons{grid-template-columns:1fr!important}
  .gewa-photo-grid>div{grid-template-columns:1fr!important;text-align:left}
  .gewa-photo-grid span,.gewa-photo-grid small{grid-column:1!important}
  .gewa-photo-grid span{font-size:28px}
  .gewa-photo-grid strong{font-size:20px;line-height:1.35}
  .gewa-photo-grid small{font-size:18px;line-height:1.5}
  .gewa-attachment-item>strong{font-size:20px}
  .gewa-file-label{min-height:62px;font-size:19px}
  .gewa-attachment-status{font-size:17px}
  .gewa-send-overview-item>span,.gewa-send-letter,.gewa-send-file-list{overflow-wrap:anywhere}
}


/* Gewerbe-Abmeldung: responsive Ergänzungen auf Basis des aktuellen Bürgerhilfe-Pirna-Standards */
/* M001.1 – besonders einfache Datum-/Uhrzeit-Eingabe */
.gewa-datetime-card{
  border:2px solid var(--gewa-primary,#1c5f89);
  border-radius:16px;
  background:#f7fbfd;
  padding:18px;
}

.gewa-datetime-head{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:18px;
  font-size:22px;
}

.gewa-datetime-badge{
  width:42px;
  height:42px;
  border-radius:50%;
  display:grid;
  place-items:center;
  flex:none;
  background:var(--gewa-primary,#1c5f89);
  color:#fff;
  font-weight:800;
}

.gewa-datetime-section{
  margin-top:16px;
  padding:16px;
  border:1px solid #c8d8e2;
  border-radius:13px;
  background:#fff;
}

.gewa-datetime-section h3{
  margin:0 0 14px;
  font-size:21px;
}

.gewa-date-parts{
  display:grid;
  grid-template-columns:0.8fr 1.4fr 1fr;
  gap:10px;
}

.gewa-date-parts label,
.gewa-time-parts label{
  display:grid;
  gap:7px;
  font-weight:800;
  font-size:16px;
}

.gewa-select,
.gewa-year{
  min-height:62px!important;
  font-size:20px!important;
  font-weight:700;
}

.gewa-time-parts{
  display:grid;
  grid-template-columns:1fr 34px 1fr;
  gap:8px;
  align-items:end;
  max-width:520px;
}

.gewa-time-colon{
  min-height:62px;
  display:grid;
  place-items:center;
  font-size:34px;
  font-weight:800;
}

.gewa-quick-times{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  margin-top:14px;
}

.gewa-quick-times>span{
  width:100%;
  color:#60707c;
  font-weight:700;
}

.gewa-quick-time{
  border:2px solid var(--gewa-primary,#1c5f89);
  border-radius:10px;
  background:#fff;
  color:var(--gewa-primary,#1c5f89);
  min-width:78px;
  min-height:46px;
  font-size:16px;
  font-weight:800;
}

.gewa-button--copy-date{
  width:100%;
  margin-top:14px;
  border:2px solid #31814d;
  background:#eef9f1;
  color:#23653a;
}

.gewa-datetime-voice{
  width:100%;
  margin-top:16px;
}

.gewa-datetime-example{
  margin:10px 0 0;
  color:#60707c;
  text-align:center;
  line-height:1.4;
}

@media(max-width:700px){
  .gewa-date-parts{
    grid-template-columns:1fr 1.25fr;
  }

  .gewa-date-parts label:last-child{
    grid-column:1 / -1;
  }

  .gewa-time-parts{
    grid-template-columns:1fr 28px 1fr;
  }

  .gewa-datetime-card{
    padding:14px;
  }

  .gewa-datetime-section{
    padding:14px 12px;
  }
}


/* M001.2 – Schnellauswahl Uhrzeit eindeutig markieren */
.gewa-quick-time.is-selected,
.gewa-quick-time[aria-pressed="true"]{
  background:var(--gewa-primary,#1c5f89);
  color:#fff;
  border-color:var(--gewa-primary,#1c5f89);
  box-shadow:0 0 0 3px rgba(28,95,137,.14);
}

.gewa-quick-time:active{
  transform:translateY(1px);
}


/* M001.3 – sichtbarer Status der Datum-/Uhrzeit-Spracheingabe */
.gewa-datetime-speech-status{
  margin:12px 0 0;
  padding:12px 14px;
  border:1px solid #b9cbd7;
  border-radius:10px;
  background:#fff;
  color:#4f606c;
  line-height:1.45;
  font-size:16px;
}

.gewa-datetime-speech-status.is-success{
  border-color:#3b8b56;
  background:#eef9f1;
  color:#235f37;
  font-weight:700;
}

.gewa-datetime-speech-status.is-error{
  border-color:#c96464;
  background:#fff0f0;
  color:#8e2020;
  font-weight:700;
}

.gewa-datetime-voice:disabled{
  opacity:.78;
  cursor:wait;
}


/* M001.4 – lange Fragen auf dem Handy sicher umbrechen */
.gewa-question{
  max-width:100%;
  overflow-wrap:anywhere;
  word-break:normal;
  hyphens:auto;
}

@media(max-width:700px){
  .gewa-question{
    font-size:clamp(24px,7vw,31px);
    line-height:1.18;
  }
}


/* M001.8 – Ein-Button-Direktversand mit transparenter Übersicht */
.gewa-send-overview{
  margin:18px 0 22px;
  padding:16px;
  border:2px solid #b7c8d2;
  border-radius:14px;
  background:#fff;
}

.gewa-send-overview-title{
  margin-bottom:14px;
  color:#1e3340;
  font-size:22px;
  font-weight:800;
}

.gewa-send-overview-item{
  padding:14px 0;
  border-top:1px solid #d8e1e6;
}

.gewa-send-overview-item:first-of-type{
  border-top:0;
}

.gewa-send-overview-item strong{
  display:block;
  margin-bottom:7px;
  color:#1e3340;
  font-size:18px;
}

.gewa-send-overview-item > span{
  display:block;
  color:#405664;
  line-height:1.5;
}

.gewa-send-letter{
  margin-top:8px;
  padding:13px 14px;
  border-radius:10px;
  background:#f5f8fa;
  color:#334955;
  font-size:15px;
  line-height:1.5;
}

.gewa-send-file-list{
  margin:9px 0 0 20px;
  padding:0;
  color:#405664;
  line-height:1.45;
  overflow-wrap:anywhere;
}

.gewa-direct-mail-privacy{
  margin:16px 0;
  padding:14px 16px;
  border:1px solid #b7c8d2;
  border-radius:12px;
  background:#f7fbfd;
  color:#405664;
  font-size:15px;
  line-height:1.5;
}

.gewa-notice--success{
  border-color:#2f7d42;
  background:#edf8f0;
  color:#1f6132;
}

@media(max-width:700px){
  .gewa-send-overview-title{font-size:25px;}
  .gewa-send-overview-item strong{font-size:20px;}
  .gewa-send-overview-item > span,
  .gewa-send-file-list{font-size:18px;}
  .gewa-send-letter,
  .gewa-direct-mail-privacy{font-size:17px;line-height:1.55;}
}


/* M001.9 – zwei klare Wege für die Unterschrift */
.gewa-signature-upload-wrap{
  display:grid;
  gap:12px;
  margin-top:14px;
}

.gewa-signature-upload{
  width:100%;
  box-sizing:border-box;
}

.gewa-signature-upload-hint{
  margin:12px 0 0;
  color:var(--gewa-muted);
  line-height:1.55;
}


/* M001.10 – Angaben nach Abschluss einzeln ändern */
.gewa-editable-summary{
  margin:20px 0 28px;
}
.gewa-editable-summary>h3{
  margin:0 0 10px;
  color:var(--gewa-primary);
  font-size:28px;
}
.gewa-editable-summary-help{
  margin:0 0 20px;
  color:var(--gewa-muted);
  line-height:1.55;
}
.gewa-editable-section-title{
  margin:24px 0 12px;
  color:var(--gewa-primary);
  font-size:24px;
}
.gewa-editable-card{
  margin:0 0 14px;
  padding:18px;
  border:1px solid #c7d7e0;
  border-radius:14px;
  background:#fff;
}
.gewa-editable-question{
  display:block;
  margin-bottom:8px;
  color:#24323d;
  font-size:19px;
  line-height:1.35;
}
.gewa-editable-value{
  margin-bottom:14px;
  color:#263845;
  font-size:19px;
  line-height:1.45;
  overflow-wrap:anywhere;
}
.gewa-button--edit-field{
  width:100%;
  min-height:54px;
  border:2px solid var(--gewa-primary);
  background:#fff;
  color:var(--gewa-primary);
  font-weight:800;
}
.gewa-summary--compact{
  margin-top:30px;
}
@media(max-width:700px){
  .gewa-editable-summary>h3{font-size:30px;}
  .gewa-editable-section-title{font-size:25px;}
  .gewa-editable-question{font-size:21px;}
  .gewa-editable-value{font-size:21px;}
  .gewa-button--edit-field{font-size:22px;min-height:64px;}
}
