@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-400.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-500.woff2") format("woff2");
}

:root {
  --paper: #f4f0e6;
  --ink: #1c1915;
  --muted: #5e574e;
  --line: #d4cbbd;
  --rust: #ad4416;
  --rust-deep: #8a3612;
  --cream: #fbf7ef;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  color-scheme: light;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  letter-spacing: -0.011em;
  min-height: 100vh;
  overflow-x: clip;
  overflow-wrap: break-word;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
img, video { max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--rust); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
button, input, select, textarea {
  font: inherit;
  color: inherit;
  border-radius: 0;
}

.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 12px; top: 12px; z-index: 10;
  background: var(--rust); color: var(--cream);
  padding: .4rem .7rem;
}

.wrap {
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  padding: 1.4rem 1.2rem 4.5rem;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 3.4rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .02em;
  flex-shrink: 0;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.mark:hover {
  background: var(--rust);
  border-color: var(--rust);
  color: var(--cream);
}
.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .2rem .9rem;
  font-size: .92rem;
}
.nav a {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
}
.nav a[aria-current="page"] { color: var(--rust); }

h1 {
  font-size: clamp(1.7rem, 3.6vw, 2.35rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin: 0 0 .8rem;
}
h1 em { font-style: normal; color: var(--rust); }
h2 {
  font-size: 1.05rem;
  font-weight: 500;
  margin: 2.2rem 0 .5rem;
}
.kicker {
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--rust);
  margin: 0 0 .6rem;
}
.lead {
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 1.6rem;
  max-width: 36rem;
}

.prose p { margin: 0 0 1em; color: var(--ink); max-width: 38rem; }
.prose p.muted, .prose .muted { color: var(--muted); }
.prose a {
  color: var(--rust);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.prose ul { margin: 0 0 1.2em; padding-left: 1.1rem; color: var(--muted); }
.prose li { margin: 0 0 .35em; }
.prose address { font-style: normal; color: var(--muted); }

.doors {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  margin: 2.4rem 0 0;
  border-top: 1px solid var(--line);
}
.doors a {
  display: grid;
  grid-template-columns: subgrid;
  grid-column: 1 / -1;
  gap: .35rem 1.4rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  transition: color .15s ease;
}
.doors a strong {
  font-weight: 500;
  white-space: nowrap;
}
.doors a strong::before {
  content: "▸";
  display: inline-block;
  margin-right: .4em;
  color: var(--muted);
  font-size: .8em;
}
.doors a span { color: var(--muted); font-size: .95rem; }
.doors a:hover span { color: var(--ink); }

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.2rem;
  color: var(--muted);
  font-size: .92rem;
  margin: 0 0 2rem;
}

form { display: grid; gap: .7rem; max-width: 26rem; margin-top: 1.4rem; }
label { font-size: .82rem; color: var(--muted); display: grid; gap: .25rem; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
input, select, textarea {
  width: 100%;
  background: var(--cream);
  border: 1px solid var(--ink);
  padding: .5rem .6rem;
}
input:focus, select:focus, textarea:focus {
  outline: 1px solid var(--rust);
  border-color: var(--rust);
}
textarea { min-height: 8rem; resize: vertical; }
.check {
  display: flex;
  gap: .5rem;
  align-items: flex-start;
  font-size: .82rem;
  color: var(--muted);
}
.check input { width: 24px; height: 24px; margin-top: .1rem; flex-shrink: 0; }
button[type=submit] {
  justify-self: start;
  background: var(--rust);
  color: var(--cream);
  border: 1px solid var(--rust);
  padding: .65rem 1.1rem;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
button[type=submit]:hover { background: var(--ink); border-color: var(--ink); }
button[type=submit]:disabled { opacity: .55; cursor: wait; }
.form-status { min-height: 1.2em; font-size: .9rem; }
.field-error { color: var(--rust); font-size: .85rem; margin: -.35rem 0 0; }
.field-error[hidden] { display: none; }
input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  box-shadow: inset 0 0 0 1px var(--rust);
}

.foot {
  margin-top: 3.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .8rem;
  color: var(--muted);
}
.foot a { color: var(--muted); min-height: 44px; display: inline-flex; align-items: center; }
.foot a:hover { color: var(--rust); }

.portrait {
  display: block;
  width: 140px;
  height: 140px;
  object-fit: cover;
  margin: 1.6rem 0 0;
  border: 1px solid var(--ink);
}

.gate {
  min-height: calc(100vh - 8rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--ink);
  margin-top: 2rem;
}
.choice a {
  min-height: 38vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem 1.2rem;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  letter-spacing: -0.03em;
  border-right: 1px solid var(--ink);
  transition: background .15s ease, color .15s ease;
}
.choice a:last-child { border-right: 0; }
.choice a:hover {
  background: var(--rust);
  color: var(--cream);
}
.who {
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1rem;
}

.facts {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: .55rem 1.2rem;
  margin: 2rem 0 0;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-size: .95rem;
}
.facts dt { color: var(--rust); font-weight: 500; }
.facts dd { margin: 0; color: var(--muted); }

.callout {
  margin: 3rem 0 0;
  padding: 1.6rem 1.6rem 1.4rem;
  border: 1px solid var(--ink);
}
.callout h2 { margin: 0 0 .5rem; font-size: 1.15rem; font-weight: 500; }
.callout p { margin: 0 0 .9rem; color: var(--muted); max-width: 34rem; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; }
.cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  background: var(--rust);
  color: var(--cream);
  padding: .6rem 1.1rem;
  font-weight: 500;
}
.cta:hover { background: var(--ink); color: var(--cream); }
.cta-quiet { color: var(--rust); text-decoration: underline; text-underline-offset: 3px; min-height: 44px; display: inline-flex; align-items: center; }

.proof {
  margin: 2rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: .92rem;
  color: var(--muted);
}

.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 0 0 1.2rem; }
.prose th, .prose td { text-align: left; padding: .5rem .6rem .5rem 0; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 500; color: var(--ink); }
.prose td { color: var(--muted); }
.prose ol { margin: 0 0 1.2em; padding-left: 1.2rem; color: var(--muted); }
.prose ol li { margin: 0 0 .4em; }
.note { font-size: .88rem; color: var(--muted); }

.faq { border-top: 1px solid var(--line); margin: 2rem 0 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  padding: .85rem 0;
  font-weight: 500;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--rust);
  font-weight: 400;
  flex-shrink: 0;
  line-height: 1.45;
}
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0 0 .9rem; color: var(--muted); max-width: 38rem; }

/* Kunden-Logos (Startseite) */
.clients { margin: 2.4rem 0 0; }
.clients h2 {
  margin: 0 0 .9rem;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.clients ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
}
.clients a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: .7rem;
  height: 100%;
  padding: 1rem .9rem .75rem;
  background: var(--cream);
  border: 1px solid var(--line);
  transition: border-color .15s ease;
}
.clients a:hover { border-color: var(--ink); }
.clients-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
}
.clients-logo picture { display: contents; }
.clients-logo img { width: auto; height: auto; max-width: 100%; max-height: 56px; }
.clients-name { font-size: .8rem; line-height: 1.3; color: var(--muted); text-align: center; }
.clients a:hover .clients-name { color: var(--ink); }
.clients a.is-dark { background: #0d1117; border-color: #0d1117; }
.clients a.is-dark .clients-name { color: #b9b2a6; }
.clients a.is-dark:hover { border-color: var(--rust); }
.clients a.is-dark:hover .clients-name { color: var(--cream); }
/* Verfuegbarkeit-Button + sanftes Scrollen zum Wochenplan */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.week { scroll-margin-top: 1.5rem; }
.avail-row { margin: .9rem 0 0; }
.cta-avail {
  display: inline-flex; align-items: center; gap: .45em;
  min-height: 44px; padding: .5rem 1.05rem;
  border: 1px solid var(--ink); color: var(--ink);
  font-size: .95rem; font-weight: 500;
}
.cta-avail:hover { background: var(--ink); color: var(--cream); }

/* Wochenplan (Kontaktseiten) */
.week { margin: 2.6rem 0 0; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.week h2 { margin: 0 0 .3rem; font-size: 1.15rem; font-weight: 500; }
.week > .note { margin: 0 0 1rem; }
.week-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.week-day {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
  gap: .4rem 1rem;
  align-items: center;
  padding: .7rem 0;
  border-bottom: 1px solid var(--line);
}
.week-head { display: flex; align-items: baseline; gap: .55rem; }
.week-name { font-weight: 500; }
.week-date { color: var(--muted); font-size: .88rem; font-variant-numeric: tabular-nums; }
.week-slots { display: flex; flex-wrap: wrap; gap: .4rem; }
.slot {
  display: inline-block;
  padding: .2rem .55rem;
  background: var(--cream);
  border: 1px solid var(--ink);
  font-size: .9rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.slot-short { border-color: var(--line); color: var(--muted); }
.slot-none { border: 0; background: none; padding-left: 0; color: var(--muted); }
.week-day.is-today .week-name { color: var(--rust); }
.week-day.is-closed .week-name { color: var(--muted); }
.week-legend { margin: .9rem 0 0; font-size: .85rem; color: var(--muted); }
.week-legend .slot { font-size: .8rem; padding: .05rem .4rem; }

@media (max-width: 720px) {
  .week-day { grid-template-columns: 1fr; gap: .35rem; }
  .clients ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap {
    padding: 1rem 1.1rem 3.4rem;
  }
  .top {
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem .8rem;
    margin-bottom: 1.7rem;
    padding-bottom: .75rem;
  }
  .nav {
    flex: 1 1 100%;
    justify-content: flex-start;
    gap: 0 1.05rem;
    font-size: .9rem;
    margin: 0;
  }
  .nav a {
    padding: 0;
    min-width: 0;
    min-height: 40px;
  }
  h1 { font-size: clamp(1.5rem, 7.5vw, 2rem); }
  .lead { font-size: 1.05rem; margin-bottom: 1.15rem; }
  .who { margin-bottom: .75rem; }

  .doors { grid-template-columns: 1fr; }
  .doors a {
    grid-template-columns: 1fr;
    gap: .18rem;
    padding: 1rem 0;
    align-items: start;
  }
  .doors a strong { white-space: nowrap; }
  .doors a span { padding-left: 1.2em; }

  .facts {
    grid-template-columns: 1fr;
    gap: .12rem 0;
    margin-top: 1.6rem;
  }
  .facts dd { margin-bottom: .9rem; }
  .facts dd:last-child { margin-bottom: 0; }

  .callout { padding: 1.15rem; margin-top: 2rem; }
  .actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .55rem .7rem;
  }
  .cta {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
  }
  .cta-quiet { justify-content: center; }

  form { max-width: none; }
  input, select, textarea {
    font-size: 16px;
    padding: .7rem .65rem;
    min-height: 44px;
  }
  textarea { min-height: 8.5rem; }
  .check { align-items: center; }
  .check input { width: 22px; height: 22px; margin: 0; }
  button[type=submit] { width: 100%; min-height: 48px; justify-self: stretch; }

  .meta-row { gap: .2rem 1.1rem; }
  .meta-row a { min-height: 44px; display: inline-flex; align-items: center; }

  .foot {
    flex-direction: column;
    align-items: flex-start;
    gap: .2rem;
  }

  .prose table,
  .prose thead,
  .prose tbody,
  .prose th,
  .prose td,
  .prose tr { display: block; width: 100%; }
  .prose thead { display: none; }
  .prose tr {
    padding: .85rem 0;
    border-bottom: 1px solid var(--line);
  }
  .prose td {
    padding: 0;
    border: 0;
  }
  .prose td:first-child {
    color: var(--ink);
    font-weight: 500;
    margin-bottom: .2rem;
  }
  .prose td:nth-child(2),
  .prose td:nth-child(3) {
    display: inline;
  }
  .prose td:nth-child(2)::after { content: " · "; color: var(--muted); }

  .choice { grid-template-columns: 1fr; }
  .choice a {
    min-height: 22vh;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }
  .choice a:last-child { border-bottom: 0; }

  .portrait { width: 112px; height: 112px; }
}

.hours {
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  margin: .35rem 0 .75rem;
  letter-spacing: .01em;
}

.hours-label {
  margin: .55rem 0 0;
  color: var(--muted);
  font-size: .95rem;
}
.hours {
  margin-top: .2rem;
}
