:root {
  --ink: #16223f;
  --page: #ffffff;
  --base: #f2f2f2;
  --surface: #f2f2f2;
  --muted: #5c6572;
  --border: #dcdcdc;
  --accent: #1f6f5c;
  --accent-ink: #0f3a30;
  --warn: #a9682f;
  --warn-bg: #f3e6d4;
  --accent-bg: #e0efe9;
  --rec: #3a5b8c;
  --rec-bg: #e3e9f3;
  --err: #b3402f;
  --err-bg: #f7e3df;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
html,
body {
  margin: 0;
}
* {
  box-sizing: border-box;
}
body {
  background: var(--page);
  color: var(--ink);
  padding-bottom: 5rem;
}
.hero {
  max-width: none;
  margin: 0;
  padding: 0;
  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(31, 111, 92, 0.38),
      transparent 32%
    ),
    linear-gradient(135deg, #16223f 0%, #1b2d50 100%);
  color: #fff;
}

.hero-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 1.4rem 1.5rem 2.5rem;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 2.5rem;
  font-family: "Inter", sans-serif;
}

.hero-logo {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
}

.hero-divider {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.3);
}

.hero-area {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
}

.hero-content {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 0.65rem;
  color: #86c7b7;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero h1 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 560;
  font-size: clamp(2rem, 5vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 0.8rem;
  color: #fff;
}

.hero p {
  max-width: 550px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
  font-size: 0.96rem;
}

.hero-language {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
}

.hero-language-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #1f6f5c;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
}

.hero-language small {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.68rem;
  margin-bottom: 0.12rem;
}

.hero-language strong {
  display: block;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
}

@media (max-width: 650px) {
  .hero-inner {
    padding: 1.2rem 1.25rem 2rem;
  }

  .hero-brand {
    margin-bottom: 1.8rem;
  }

  .hero-content {
    display: block;
  }

  .hero-language {
    margin-top: 1.5rem;
    width: fit-content;
  }
}
h1 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 560;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: -0.01em;
  margin: 0 0 0.6rem;
  line-height: 1.15;
}
header p {
  color: var(--muted);
  max-width: 56ch;
  line-height: 1.55;
  margin: 0;
  font-size: 0.98rem;
}
.src-note {
  max-width: 780px;
  margin: 0.6rem auto 0;
  padding: 0 1.5rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.tabs {
  max-width: 780px;
  margin: 0 auto;
  padding: 1.2rem 1.5rem 0.4rem;
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.tabs button {
  font-family: inherit;
  font-size: 0.88rem;
  padding: 0.45rem 0.9rem;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
}
.tabs button.active {
  background: var(--ink);
  color: var(--base);
  border-color: var(--ink);
}
main {
  max-width: 780px;
  margin: 0 auto;
  padding: 0.6rem 1.5rem 4rem;
}
.empty {
  color: var(--muted);
  padding: 2rem 0;
  font-size: 0.95rem;
}
.job {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 1.3rem 1.4rem;
  margin-bottom: 0.9rem;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.job.selected {
  background: var(--accent-bg);
  border-color: var(--accent);
}
.job-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}
.job h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 560;
  font-size: 1.15rem;
  margin: 0 0 0.3rem;
}
.job .meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 0.4rem;
}
.badge {
  font-size: 0.8rem;
  padding: 0.28rem 0.7rem;
  border-radius: 99px;
  white-space: nowrap;
  font-weight: 500;
}
.badge.offen {
  background: var(--warn-bg);
  color: var(--warn);
}
.badge.teil {
  background: var(--accent-bg);
  color: var(--accent-ink);
}
.badge.rec {
  background: var(--rec-bg);
  color: var(--rec);
}
.badge.once {
  background: var(--base);
  color: var(--muted);
  border: 1px solid var(--border);
}
.details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
  margin: 0.9rem 0 0;
  font-size: 0.92rem;
}
.details div span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  margin-bottom: 0.1rem;
}
.sonstiges {
  margin-top: 0.8rem;
  font-size: 0.88rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 0.7rem;
}
.sonstiges b {
  color: var(--ink);
  font-weight: 500;
}
.nextdates summary {
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--rec);
  margin-top: 0.7rem;
}
.nextdates .dates {
  margin-top: 0.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.datechip {
  font-size: 0.8rem;
  padding: 0.28rem 0.65rem;
  border-radius: 99px;
}
.sel-list {
  margin: 0 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.sel-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  background: var(--base);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 0.5rem 0.7rem;
  font-size: 0.85rem;
}
.sel-item button {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--border);
  color: var(--ink);
  border: none;
  font-size: 0.85rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
  transition:
    background 0.15s,
    color 0.15s;
}
.sel-item button:hover {
  background: var(--err);
  color: #fff;
}
.sel-empty {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0 0 1rem;
}
.termine-label {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.9rem;
}
.termin-list {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.termin-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.88rem;
  background: var(--surface);
  transition:
    background 0.15s,
    border-color 0.15s;
}
.termin-row:hover {
  border-color: var(--ink);
}
.termin-row.selected {
  background: var(--accent-bg);
  border-color: var(--accent);
}
.termin-row.locked {
  cursor: default;
  opacity: 0.85;
}
.termin-row .box {
  width: 18px;
  height: 18px;
  border: 2px solid var(--border);
  border-radius: 5px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  color: #fff;
}
.termin-row.selected .box {
  background: var(--accent);
  border-color: var(--accent);
}
.termin-row .info {
  flex: 1;
}
.termin-row .count {
  font-size: 0.78rem;
  padding: 0.2rem 0.55rem;
  border-radius: 99px;
  white-space: nowrap;
}
.termin-row .count.offen {
  background: var(--warn-bg);
  color: var(--warn);
}
.termin-row .count.besetzt {
  background: var(--accent-bg);
  color: var(--accent-ink);
}
.apply-row {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.apply-row button {
  font-family: inherit;
  font-size: 0.86rem;
  padding: 0.5rem 0.9rem;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}
.apply-row button.on {
  background: var(--ink);
  color: var(--base);
  border-color: var(--ink);
}
.apply-row button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.job-title {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin-top: 0.9rem;
}
.job-title input {
  margin-top: 0.15rem;
  width: 17px;
  height: 17px;
  accent-color: var(--accent);
  cursor: pointer;
}
footer.info {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1.5rem 2rem;
  color: var(--muted);
  font-size: 0.85rem;
}
.bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  transform: translateY(110%);
  transition: transform 0.25s ease;
  background: var(--ink);
  color: var(--base);
  padding: 0.9rem 1.2rem calc(0.9rem + env(safe-area-inset-bottom, 0px));
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  z-index: 20;
}
.bar.show {
  transform: translateY(0);
}
.bar button {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.55rem 1.1rem;
  border-radius: 7px;
  font-size: 0.92rem;
  cursor: pointer;
  font-family: inherit;
}
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  z-index: 30;
}
.overlay.show {
  display: flex;
}
.modal {
  background: var(--surface);
  border-radius: 12px;
  padding: 1.8rem;
  max-width: 500px;
  width: 100%;
}
.modal h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 560;
  margin: 0 0 0.3rem;
  font-size: 1.2rem;
}
.modal .list {
  color: var(--muted);
  font-size: 0.86rem;
  margin: 0 0 1rem;
  line-height: 1.5;
}
.modal label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.7rem 0 0.25rem;
}
.modal input,
.modal textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--base);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.92rem;
}
.modal textarea {
  min-height: 4em;
  resize: vertical;
}
.modal .row {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.2rem;
}
.modal .send {
  flex: 1;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.6rem;
  border-radius: 7px;
  cursor: pointer;
  font-family: inherit;
}
.modal .send:disabled {
  opacity: 0.6;
  cursor: wait;
}
.modal .cancel {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--ink);
  padding: 0.6rem 0.9rem;
  border-radius: 7px;
  cursor: pointer;
  font-family: inherit;
}
.confirm-box {
  text-align: center;
  padding: 1rem 0;
}
.confirm-box p {
  color: var(--accent-ink);
}
.error-box {
  background: var(--err-bg);
  color: var(--err);
  font-size: 0.85rem;
  padding: 0.7rem 0.9rem;
  border-radius: 7px;
  margin-top: 0.8rem;
  display: none;
}
.error-box.show {
  display: block;
}
