/* /erstgespraech/assets/styles.css */

:root {
  --bg: #f2f2f2;
  --card: #ffffff;
  --text: #1a1a1a;
  --muted: #666;
  --border: #d6d6d6;
  --accent: #7b1026; /* HH weinrot */
  --accent-2: #5d0c1d;
  --input-bg: #eef3fb;
  --shadow: 0 0 12px rgba(0,0,0,.12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

form#wizardForm {
  max-width: 1100px;
  margin: 28px auto;
  background: var(--card);
  padding: 26px;
  box-shadow: var(--shadow);
  border-radius: 10px;
  border: 1px solid var(--border);
}

h1, h2, h3 {
  margin: 0 0 12px;
  line-height: 1.2;
}

h1 {
  font-size: 26px;
  color: var(--accent);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  margin-bottom: 18px;
}

h2 {
  margin-top: 20px;
  font-size: 18px;
  background: #e4e7ed;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #d9dde6;
}

h3 {
  margin-top: 16px;
  font-size: 15px;
  color: var(--accent-2);
}

hr {
  border: 0;
  height: 1px;
  background: #e2e2e2;
  margin: 18px 0;
}

.step {
  display: none;
}

.step.active {
  display: block;
}

.row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 10px 0 14px;
}

.field {
  flex: 1;
  min-width: 230px;
}

label {
  display: block;
  font-size: 13px;
  color: #222;
  margin: 0 0 5px;
}

input[type="text"],
input[type="date"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #9b9b9b;
  background: var(--input-bg);
  border-radius: 6px;
  font-size: 14px;
  outline: none;
}

input[type="text"]:focus,
input[type="date"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(123,16,38,0.12);
}

textarea {
  min-height: 72px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 8px 0 14px;
  padding: 6px 10px;
  border: 1px dashed #cfcfcf;
  border-radius: 8px;
  background: #fafafa;
}

.checkbox-group label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 14px;
  color: #222;
}

.checkbox-group input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

.wizard-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #e3e3e3;
}

.wizard-nav button {
  appearance: none;
  border: 0;
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  font-size: 14px;
  border-radius: 8px;
  cursor: pointer;
  min-width: 140px;
}

.wizard-nav button:hover {
  background: var(--accent-2);
}

.wizard-nav button:disabled {
  background: #999;
  cursor: not-allowed;
}

@media (max-width: 700px) {
  form#wizardForm { margin: 0; border-radius: 0; }
  .field { min-width: 100%; }
  .wizard-nav button { min-width: 120px; width: 100%; }
  .wizard-nav { flex-direction: column; }
}
