/* Anfrage-Formulare (E-Befund / Thermenservice) – meldung.latt.at
   Gemeinsames Stylesheet, damit die Formularseiten keinen doppelten Code haben.
   Branding wie latt.at (Rot #ED1B24). Copyright Peter Schuster, 1130 Wien. */

:root {
  --brand: #ED1B24;
  --brand-dark: #C5161E;
  --bg: #f6f7f9;
  --card: #ffffff;
  --border: #e3e6ea;
  --text: #1a1a1a;
  --muted: #6d7383;
  --danger: #b3261e;
}
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg,#ffffff 0,#f6f7f9 40%,#eceef1 100%);
}
header, main, footer { max-width: 980px; margin: 0 auto; padding: 16px 20px; }
header { display: flex; align-items: center; gap: 18px; }

.logo { height: 50px; width: auto; }
.brand-sub { font-size: 13px; color: var(--muted); }
.headline { font-size: clamp(26px,3.4vw,34px); margin: 8px 0 4px; font-weight: 800; color: var(--brand); }
.lead { font-size: 16px; color: var(--muted); max-width: 640px; margin: 0; }

.layout { display: grid; gap: 20px; }
.card {
  background: var(--card);
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 20px;
  box-shadow: 0 10px 30px rgba(15,23,42,0.06);
}

h2 { font-size: 18px; margin: 0 0 12px; font-weight: 700; color: var(--brand-dark); }
hr { margin: 24px 0; border: 0; border-top: 1px solid var(--border); }

fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { display: block; font-size: 13px; margin-bottom: 4px; color: var(--muted); padding: 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }

label { display: block; font-size: 13px; margin-bottom: 4px; color: var(--muted); }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
  width: 100%;
  padding: 9px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font: inherit;
  color: var(--text);
  background: #fff;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(237,27,36,0.25);
  border-color: var(--brand);
}

.field-row { margin-bottom: 14px; }

.choices { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 14px; }
.choices label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; color: var(--text); margin-bottom: 0; }

.note { font-size: 13px; color: var(--muted); margin: 0 0 10px; }
.note-warn { color: var(--danger); font-weight: 600; }

.btn-row { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
button[type="submit"] {
  border: none;
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  background: var(--brand);
  color: #fff;
}
button[type="submit"]:hover { background: var(--brand-dark); }

/* Honeypot: fuer Menschen unsichtbar, fuer Bots verfuehrerisch */
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

footer {
  margin-top: 24px;
  font-size: 12px;
  color: var(--muted);
  padding-bottom: 24px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
footer a { color: var(--brand-dark); text-decoration: none; }
footer a:hover { text-decoration: underline; }

.req { color: var(--brand); }

@media (max-width: 720px) {
  header { flex-direction: column; align-items: flex-start; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .card { padding: 16px; }
}
