/* Anmeldeformular – Farben der Website schoenauer-pferdefreunde.at */
:root {
  --bordeaux: #6c1a3b;
  --bordeaux-dunkel: #4e1129;
  --creme: #fbf6ea;
  --hell: #fffdf8;
  --gold: #efd6a2;
  --text: #3a1020;
  --text-2: #6b4b57;
  --linie: #e6d2b0;
  --rot: #b3261e;
  color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--hell); color: var(--text); font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
a { color: var(--bordeaux); }
.mono { font-family: ui-monospace, Consolas, monospace; letter-spacing: .02em; }
.klein, small { font-size: .88rem; color: var(--text-2); }
[hidden] { display: none !important; }

.kopf { background: var(--bordeaux-dunkel); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 1.25rem; flex-wrap: wrap; }
.marke { display: flex; align-items: center; gap: .7rem; color: #fff; text-decoration: none; font-weight: 800; line-height: 1.1; font-size: 1.1rem; }
.marke img { border-radius: 6px; background: #fff; }
.zurueck { color: var(--gold); text-decoration: none; font-size: .95rem; }
.zurueck:hover { text-decoration: underline; }

main { max-width: 760px; margin: 0 auto; padding: 2.2rem 1.25rem 3rem; }
h1 { color: var(--bordeaux-dunkel); font-size: 2rem; margin: 0 0 .6rem; }
.einleitung { margin-top: 0; }

fieldset { border: 2px solid var(--gold); border-radius: 18px; background: var(--creme); padding: 1.2rem 1.3rem 1.3rem; margin: 0 0 1.4rem; }
legend { color: var(--bordeaux-dunkel); font-weight: 800; font-size: 1.15rem; padding: 0 .4rem; }
.raster { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1rem; }
.breit { grid-column: 1 / -1; }
label { display: flex; flex-direction: column; gap: .3rem; font-weight: 600; font-size: .95rem; }
.feld { display: flex; flex-direction: column; gap: .4rem; margin-bottom: .6rem; }
.feldname { font-weight: 600; font-size: .95rem; }
input, select, textarea { font: inherit; font-weight: 400; color: var(--text); background: #fff; border: 1.5px solid var(--linie); border-radius: 10px; padding: .6rem .7rem; width: 100%; }
input:focus, select:focus, textarea:focus, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--bordeaux); }
input[aria-invalid="true"] { border-color: var(--rot); background: #fff6f5; }
.auswahl { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; }
.option { flex-direction: row; align-items: center; gap: .5rem; font-weight: 400; cursor: pointer; }
.option input, .check input { width: 1.2rem; height: 1.2rem; accent-color: var(--bordeaux); flex: none; margin: 0; }
.karte-option { align-items: flex-start; background: #fff; border: 1.5px solid var(--linie); border-radius: 12px; padding: .7rem .9rem; }
.karte-option input { margin-top: .25rem; }
.karte-option:has(input:checked) { border-color: var(--bordeaux); box-shadow: 0 0 0 2px var(--gold); }
.check { flex-direction: row; align-items: flex-start; gap: .7rem; font-weight: 400; margin: .9rem 0 0; cursor: pointer; }
.check input { margin-top: .2rem; }
#iban-hinweis.gut { color: #2f6b3f; }
#iban-hinweis.schlecht { color: var(--rot); }
.unsichtbar { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.fehler { background: #fff1ef; border: 2px solid var(--rot); color: var(--text); border-radius: 12px; padding: .8rem 1rem; margin: 0 0 1rem; }
button, .knopf { font: inherit; font-weight: 800; background: var(--bordeaux); color: #fff; border: 0; border-radius: 999px; padding: .85rem 2rem; cursor: pointer; text-decoration: none; display: inline-block; }
button:hover, .knopf:hover { background: var(--bordeaux-dunkel); }
button:disabled { opacity: .6; cursor: wait; }
#danke { background: var(--creme); border: 2px solid var(--gold); border-radius: 18px; padding: 2rem 1.5rem; text-align: center; outline: none; }

.fuss { display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: center; padding: 1.5rem; color: var(--text-2); font-size: .9rem; border-top: 1px solid var(--linie); }

@media (max-width: 620px) {
  .raster { grid-template-columns: 1fr; }
  h1 { font-size: 1.6rem; }
  fieldset { padding: 1rem; }
  button[type=submit] { width: 100%; }
}
