/* Version 02 — Tania's structure translated into the FSW Obdach Wien house style.
   Colours sampled from obdach.wien; type substitutes the proprietary FSW Sans. */

:root {
  --f-ink:    #404040;
  --f-ink-2:  #6B7075;
  --f-line:   #E3E6E8;
  --f-bg:     #FFFFFF;
  --f-soft:   #F4F6F7;
  --f-blue:   #134094;
  --f-teal:   #006D91;
  --f-orange: #E8692B;
  --f-green:  #156539;
  --f-red:    #D0301A;
}

.screen.f { background: var(--f-bg); color: var(--f-ink); }

/* --- FSW header: red mark + wordmark, mirrors the obdach.wien lockup --- */
.f .fswbar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 20px 13px;
  border-bottom: 1px solid var(--f-line);
}

.f .fswbar .logo { display: flex; align-items: center; gap: 9px; }

.f .fswbar .glyph {
  width: 26px; height: 26px;
  flex: 0 0 auto;
  display: grid; place-items: center;
}
.f .fswbar .glyph svg { width: 26px; height: 26px; }

.f .fswbar .words { line-height: 1; }
.f .fswbar .words b {
  display: block;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: .01em;
  color: var(--f-ink);
}
.f .fswbar .words span {
  display: block;
  font-size: 9.5px;
  letter-spacing: .04em;
  color: var(--f-ink-2);
  margin-top: 1px;
}

.f .fswbar .back {
  width: 36px; height: 36px;
  margin-left: -6px;
  border: 0; border-radius: 50%;
  background: var(--f-soft);
  color: var(--f-ink);
  display: grid; place-items: center;
  cursor: pointer;
  flex: 0 0 auto;
}
.f .fswbar .back:hover { background: #E9EDEF; }
.f .fswbar .back svg { width: 18px; height: 18px; }

.f .fswbar h2 {
  font-family: var(--cond);
  font-weight: 700;
  font-size: 23px;
  margin: 0;
  letter-spacing: .01em;
  color: var(--f-ink);
}

/* --- headings --- */
.f .htitle {
  font-family: var(--cond);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.08;
  letter-spacing: .005em;
  margin: 20px 0 6px;
  color: var(--f-ink);
}
.f .hsub { font-size: 15px; color: var(--f-ink-2); margin: 0 0 20px; line-height: 1.5; }

.f .lead { font-size: 15px; color: var(--f-ink-2); margin: 4px 0 18px; line-height: 1.5; }

/* --- the three branch cards --- */
.f .fcard {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  padding: 15px 14px;
  margin-bottom: 11px;
  border: 1px solid var(--f-line);
  border-left: 4px solid var(--f-blue);
  border-radius: 4px;
  background: var(--f-bg);
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: background .14s, border-color .14s, transform .14s;
}
.f .fcard:hover { background: var(--f-soft); transform: translateX(2px); }
.f .fcard.melden { border-left-color: var(--f-orange); }
.f .fcard.helfen { border-left-color: var(--f-green); }
.f .fcard.info   { border-left-color: var(--f-teal); }

.f .fcard .ic { width: 32px; height: 32px; }
.f .fcard.melden .ic { color: var(--f-orange); }
.f .fcard.helfen .ic { color: var(--f-green); }
.f .fcard.info   .ic { color: var(--f-teal); }

.f .fcard .tx { flex: 1 1 auto; min-width: 0; }
.f .fcard .tx b {
  display: block;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.15;
  color: var(--f-ink);
}
.f .fcard .tx span { display: block; font-size: 13.5px; color: var(--f-ink-2); line-height: 1.4; margin-top: 2px; }

.f .fcard .arrow { color: #B9C0C5; flex: 0 0 auto; }
.f .fcard .arrow svg { width: 17px; height: 17px; }

/* --- option rows --- */
.f .fopt {
  display: flex; align-items: center; gap: 13px;
  width: 100%; text-align: left;
  padding: 15px 14px;
  margin-bottom: 9px;
  border: 1px solid var(--f-line);
  border-radius: 4px;
  background: var(--f-bg);
  color: inherit; font: inherit; cursor: pointer;
  transition: background .14s, border-color .14s;
}
.f .fopt:hover { background: var(--f-soft); border-color: #C6CDD2; }
.f .fopt .ic { color: var(--f-teal); width: 26px; height: 26px; }
.f .fopt b { display: block; font-size: 16px; font-weight: 600; line-height: 1.25; }
.f .fopt span { display: block; font-size: 13px; color: var(--f-ink-2); margin-top: 1px; line-height: 1.4; }
.f .fopt.warn .ic { color: var(--f-red); }
.f .fopt.ok   .ic { color: var(--f-green); }

/* --- facility entries --- */
.f .fsvc {
  display: block;
  width: 100%; text-align: left;
  padding: 14px;
  margin-bottom: 10px;
  border: 1px solid var(--f-line);
  border-radius: 4px;
  background: var(--f-bg);
  color: inherit; font: inherit; cursor: pointer;
  transition: border-color .14s, box-shadow .14s;
}
.f .fsvc:hover { border-color: #C6CDD2; box-shadow: var(--shadow-s); }
.f .fsvc b {
  display: block;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.15;
  color: var(--f-ink);
}
.f .fsvc .adr { font-size: 13px; color: var(--f-ink-2); margin-top: 4px; line-height: 1.45; }
.f .fsvc .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 9px; }
.f .fsvc .tags i {
  font-style: normal; font-size: 11.5px; font-weight: 600;
  padding: 3px 8px; border-radius: 3px;
  background: var(--f-soft); color: #5A6167;
  display: inline-flex; align-items: center; gap: 4px;
}
.f .fsvc .tags i .ic { width: 13px; height: 13px; }
.f .fsvc .tags i.ok   { background: #E4F1E9; color: #10502D; }
.f .fsvc .tags i.warn { background: #FDECE1; color: #96430F; }

/* --- buttons --- */
.f .fbtn {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  width: 100%; min-height: 54px;
  border: 0; border-radius: 4px;
  background: var(--f-blue);
  color: #fff;
  font-family: var(--sans); font-size: 16.5px; font-weight: 600;
  cursor: pointer; margin-top: 8px;
  transition: background .14s;
}
.f .fbtn:hover { background: #0E3273; }
.f .fbtn .ic { width: 20px; height: 20px; }
.f .fbtn.ghost { background: var(--f-bg); color: var(--f-blue); border: 1.5px solid var(--f-line); }
.f .fbtn.ghost:hover { background: var(--f-soft); border-color: var(--f-blue); }
.f .fbtn.ghost.is-on { background: var(--f-blue); color: #fff; border-color: var(--f-blue); }
.f .fbtn.alarm { background: var(--f-red); }
.f .fbtn.alarm:hover { background: #A82414; }

/* --- splash --- */
.f.splash { background: var(--f-blue); }
.f.splash .body {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center;
  padding: 0 26px 34px;
}
.f.splash .statusbar { color: #fff; }
.f.splash .spacer { flex: 1 1 auto; }
.f.splash .wordmark {
  font-family: var(--cond);
  font-size: 54px; font-weight: 700; line-height: .95;
  letter-spacing: .01em; margin: 0; color: #fff;
}
.f.splash .tagline {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.85); margin: 12px 0 0;
}
.f.splash .rule { width: 46px; height: 3px; background: var(--f-orange); margin: 20px auto 0; }
.f.splash .startbtn {
  width: 100%; min-height: 58px;
  border: 0; border-radius: 4px; background: #fff; color: var(--f-blue);
  font-family: var(--sans); font-size: 17px; font-weight: 700; cursor: pointer;
}
.f.splash .startbtn:hover { background: #EEF1F6; }
.f.splash .promise { font-size: 13px; color: rgba(255,255,255,.85); margin: 14px 0 0; }
.f.splash .org { font-size: 11px; color: rgba(255,255,255,.6); margin: 26px 0 0; letter-spacing: .04em; }

/* --- footer note on home --- */
.f .fnote {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--f-line);
}
.f .fnote .eyebrow2 {
  font-family: var(--cond);
  font-size: 12.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--f-ink-2); margin: 0 0 6px;
}
.f .fnote p { font-size: 12.5px; color: var(--f-ink-2); margin: 0; line-height: 1.5; }
.f .fnote strong { color: var(--f-red); }

/* --- confirmation --- */
.f .fdone { text-align: center; padding-top: 30px; }
.f .fdone .ring {
  width: 78px; height: 78px; margin: 0 auto 18px;
  border-radius: 50%; background: #E4F1E9;
  display: grid; place-items: center; color: var(--f-green);
}
.f .fdone .ring .ic { width: 40px; height: 40px; }
.f .fdone h3 { font-family: var(--cond); font-weight: 700; font-size: 27px; margin: 0 0 8px; }
.f .fdone p { font-size: 14.5px; color: var(--f-ink-2); margin: 0 0 8px; line-height: 1.5; }

/* --- amount chips --- */
.f .amounts { display: flex; gap: 8px; margin-bottom: 12px; }
.f .amounts .fbtn { margin-top: 0; min-height: 62px; font-size: 19px; font-family: var(--cond); font-weight: 700; }
