@font-face {
  font-family: Roboto;
  src: url("./roboto.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: Poppins;
  src: url("./poppins-semibold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --ink: #303133;
  --muted: #5f6469;
  --blue: #199cde;
  --blue-text: #086d9d;
  --line: #d5d8da;
  color: var(--ink);
  background: #f7f7f7;
  font: 16px/1.55 Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  min-height: 100vh;
  margin: 0;
  background: #f7f7f7 url("./praxis-hintergrund.jpg") center top / cover no-repeat;
}
.masthead { background: #ececec; border-bottom: 1px solid #e1e1e1; }
.masthead-inner, .shell { width: min(100% - 64px, 1188px); margin-inline: auto; }
.masthead-inner { min-height: 74px; display: flex; align-items: center; }
.masthead img { display: block; width: min(100%, 459px); height: auto; }
.shell { padding-bottom: 36px; }
h1, h2 { margin: 0; line-height: 1.3; }
h1 {
  margin-bottom: 24px;
  padding: 29px 36px;
  color: #412412;
  background: rgba(255, 255, 255, .87);
  font-size: 22px;
  font-weight: 400;
}
h2 { font-size: 19px; font-weight: 700; }
p { margin: .8rem 0; }
.steps {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  background: rgba(255, 255, 255, .94);
  justify-content: center;
}
.steps li { border-bottom: 2px solid transparent; padding: 14px 3px 10px; font-size: .86rem; color: var(--muted); }
.steps [aria-current="step"] { border-color: var(--blue); color: var(--blue-text); font-weight: 700; }
.layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  background: rgba(255, 255, 255, .88);
  padding: 33px clamp(20px, 6vw, 90px) 48px;
}
.card { width: min(100%, 540px); min-width: 0; }
.summary { padding-top: 18px; border-top: 1px solid var(--line); }
.summary p { color: var(--muted); }
.summary strong { display: block; overflow-wrap: anywhere; }
hr { border: 0; border-top: 1px solid var(--line); }
button, input, select, .button { font: inherit; border-radius: 0; }
button, .button {
  min-height: 48px;
  cursor: pointer;
  border: 1px solid #aeb8bf;
  padding: 10px 16px;
  color: var(--blue-text);
  background: transparent;
  font-weight: 700;
}
.button { display: inline-flex; align-items: center; text-decoration: none; }
button:hover, .button:hover { background: #eaf6fc; }
button:disabled { opacity: .6; cursor: default; }
.primary {
  min-width: 140px;
  border-color: var(--blue);
  padding-inline: 24px;
  font-family: Poppins, Roboto, Arial, sans-serif;
  font-weight: 600;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.primary:hover:not(:disabled) { background: var(--blue-text); border-color: var(--blue-text); color: white; }
:focus-visible { outline: 3px solid var(--blue-text); outline-offset: 3px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 17px; }
.reasons-desktop { margin-top: 13px; }
.reasons-mobile { display: none; }
.reason-search { position: relative; }
#reason-search { padding-inline-end: 46px; }
.reason-search label {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 1px;
  width: 42px;
  cursor: text;
  color: var(--muted);
}
.reason-search label::before, .reason-search label::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
}
.reason-search label::before {
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 50%;
  transform: translate(-65%, -65%);
}
.reason-search label::after {
  width: 7px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transform: translate(4px, 4px) rotate(45deg);
  transform-origin: left center;
}
#date-choice { display: block; margin-top: 12px; }
.reason-list { list-style: none; margin: 10px 0 0; padding: 0; }
.reason-list li + li { margin-top: 5px; }
.reason-list button, .slot {
  display: block;
  width: 100%;
  border-color: var(--line);
  padding-inline: 13px;
  text-align: left;
  color: var(--ink);
  background: white;
}
.reason-list button:hover, .slot:hover { color: var(--blue-text); background: #f1faff; }
.slot { margin-top: 8px; }
.slot span { display: block; color: var(--muted); font-size: .92rem; font-weight: 400; }
label.field { display: grid; gap: 5px; margin: 12px 0; font-weight: 700; }
input:not([type=radio]):not([type=checkbox]), select {
  width: 100%;
  min-height: 48px;
  min-width: 0;
  padding: 9px 13px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: white;
  font-size: 1rem;
  font-weight: 400;
}
fieldset { display: flex; gap: 14px; border: 0; padding: 0; margin: 14px 0; min-width: 0; }
fieldset label {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  min-width: 88px;
  padding: 8px 12px;
  gap: 8px;
  border: 1px solid var(--line);
  cursor: pointer;
}
input[type=radio] { accent-color: var(--blue-text); width: 18px; height: 18px; margin: 0; }
.mail-opt-in { display: flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; }
.mail-opt-in input {
  accent-color: var(--blue-text);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin: 0;
}
#mail-notice { margin: 0 0 12px; font-size: .9rem; }
.error, .banner { border: 1px solid #e4c9a9; background: #fff7e9; color: #703c12; padding: 8px 12px; }
.banner { margin: 0 0 12px; font-size: .9rem; }
.success { color: #276338; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

@media (max-width: 680px), (pointer: coarse) {
  .masthead-inner, .shell { width: calc(100% - 28px); }
  .masthead-inner { min-height: 56px; }
  .masthead img { width: min(100%, 290px); }
  h1 { padding: 19px 16px; margin-bottom: 14px; }
  .layout { padding: 20px 14px 24px; }
  .steps { justify-content: flex-start; gap: 6px; padding-inline: 12px; }
  .steps li { flex: 1 1 0; min-width: 0; font-size: .77rem; overflow-wrap: anywhere; }
  .reasons-desktop { display: none; }
  .reasons-mobile { display: block; margin-top: 12px; }
}

@media (max-width: 380px) {
  .actions > * { flex: 1 1 100%; justify-content: center; }
}
