/* ==========================================================================
   Hot Sausage – main.css
   Mobil zuerst. Breakpoints: 768px, 1200px.
   ========================================================================== */

/* --- Tokens ------------------------------------------------------------- */
:root {
  --bg: #14100E;
  --surface: #1E1815;
  --text: #F2EAE0;
  --muted: #A89B90;
  --accent: #D4552F;
  --line: rgba(242, 234, 224, 0.12);

  --font-display: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  --font-body: "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --size-statement: clamp(2.8rem, 11vw, 7rem);
  --size-title: clamp(2.4rem, 8vw, 5rem);
  --size-body: 1.0625rem;
  --size-label: 0.7rem;

  --space-section: 7rem;
  --gutter: 1.25rem;
  --measure: 60ch;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-height: 4rem;
}

@media (min-width: 768px) {
  :root {
    --gutter: 2.5rem;
  }
}

@media (min-width: 1200px) {
  :root {
    --space-section: 12rem;
    --gutter: 4rem;
  }
}

/* --- Fonts (lokal gehostet) -------------------------------------------- */
@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/anton-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/work-sans-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Reset -------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--size-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Text-Links: Linie wächst beim Hover */
.link {
  position: relative;
  display: inline-block;
  padding-bottom: 0.15em;
}

.link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 400ms var(--ease-out);
}

.link:hover::after,
.link:focus-visible::after {
  transform: scaleX(1);
}

/* Fokus */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--bg);
  color: var(--text);
  transform: translateY(-200%);
  transition: transform 200ms var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

/* --- Typografie --------------------------------------------------------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.label {
  display: block;
  margin-bottom: 1.5rem;
  color: var(--accent);
  font-size: var(--size-label);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* --- Logo --------------------------------------------------------------- */
.logo {
  height: auto;
}

.logo--large {
  width: min(92vw, 40rem);
}

.logo--small {
  width: auto;
  height: 2.25rem;
}

@media (min-width: 768px) {
  .hero {
    padding-bottom: 16svh;
  }

  .logo--large {
    width: min(80vw, 56rem);
  }
}

@media (min-width: 1200px) {
  .logo--large {
    width: 64rem;
  }

  .logo--small {
    height: 2.5rem;
  }
}

/* --- Header ------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding: 0 var(--gutter);
  background: rgba(20, 16, 14, 0.7);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(-100%);
  transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out);
  pointer-events: none;
}

.site-header[data-visible="true"] {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.site-header__logo {
  display: flex;
  align-items: center;
  min-height: 44px;
}

.site-header__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
}

.site-header__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.6rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 400ms var(--ease-out);
}

.site-header__link:hover::after,
.site-header__link:focus-visible::after {
  transform: scaleX(1);
}

/* --- Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  display: grid;
  align-items: end;
  justify-items: center;
  min-height: 100svh;
  padding-bottom: 22svh;
  overflow: hidden;
  background: var(--bg);
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1) contrast(1.05);
}

/* Dunkler Verlauf nach unten, damit das Logo steht */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20, 16, 14, 0.15) 0%,
    rgba(20, 16, 14, 0.35) 45%,
    rgba(20, 16, 14, 0.9) 85%,
    var(--bg) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 0 var(--gutter);
}

.hero__logo {
  display: flex;
  justify-content: center;
  opacity: 0;
  animation: logo-in 600ms var(--ease-out) forwards;
}

@keyframes logo-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll-Hinweis: dünne Linie, pulsiert */
.hero__hint {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  z-index: 1;
  width: 1px;
  height: 3.5rem;
  background: var(--text);
  opacity: 0.6;
  transform-origin: top;
  animation: hint-pulse 2400ms ease-in-out infinite;
}

@keyframes hint-pulse {
  0%,
  100% {
    transform: scaleY(0.4);
    opacity: 0.25;
  }

  50% {
    transform: scaleY(1);
    opacity: 0.7;
  }
}

/* --- Abschnitt 2: Kernsatz ---------------------------------------------- */
.statement {
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: var(--space-section) var(--gutter);
  background: var(--bg);
}

.statement__text {
  max-width: 18ch;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--size-statement);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}

@media (min-width: 768px) {
  .statement__text {
    max-width: 22ch;
  }
}

/* --- Filmkorn ----------------------------------------------------------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* --- Bewegung: Fade-up beim Scrollen ------------------------------------ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
  transition-delay: var(--stagger, 0ms);
}

.fade-up.is-visible {
  opacity: 1;
  transform: none;
}

/* --- Reduzierte Bewegung ------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .hero__logo {
    opacity: 1;
    animation: none;
  }

  .hero__hint {
    animation: none;
    opacity: 0.4;
    transform: none;
  }

  .fade-up {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Abschnitte 3 bis 12
   ========================================================================== */

/* --- Abschnittsgerüst ---------------------------------------------------- */
.section {
  padding: var(--space-section) 0;
  background: var(--bg);
}

.section--surface {
  background: var(--surface);
}

.section--flush {
  padding-top: 0;
}

.section__inner {
  padding-top: var(--space-section);
}

.section--quiet {
  color: var(--muted);
  padding-top: calc(var(--space-section) * 0.6);
  padding-bottom: calc(var(--space-section) * 0.6);
}

.section--quiet .label {
  color: var(--accent);
}

.container {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--wide {
  max-width: 96rem;
  padding-inline: 0;
}

@media (min-width: 768px) {
  .container--wide {
    padding-inline: var(--gutter);
  }
}

.container + .container,
.bleed + .container {
  margin-top: 3rem;
}

.container + .bleed {
  margin-top: 4rem;
}

@media (min-width: 1200px) {
  .container + .container,
  .bleed + .container {
    margin-top: 4rem;
  }

  .container + .bleed {
    margin-top: 6rem;
  }
}

/* --- Titel und Text ------------------------------------------------------ */
.title {
  font-size: var(--size-title);
  line-height: 1.0;
  max-width: 14ch;
  text-wrap: balance;
}

.title--small {
  font-size: clamp(1.75rem, 5vw, 3rem);
}

.title--wide {
  max-width: 28ch;
}

.label + .title,
.label + .title--small {
  margin-top: 0;
}

.prose {
  max-width: var(--measure);
  margin-top: 2rem;
}

.section--quiet .prose {
  color: var(--muted);
}

/* Drei Zeilen, kein Fließtext */
.lines {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lines__item {
  font-size: clamp(1.6rem, 5.2vw, 3.6rem);
  line-height: 1.15;
  padding: 0.55em 0;
  border-top: 1px solid var(--line);
}

.lines__item:last-child {
  border-bottom: 1px solid var(--line);
}

/* --- Randlose Bilder ----------------------------------------------------- */
.bleed {
  margin: 0;
  width: 100%;
  overflow: hidden;
  background: var(--surface);
}

.bleed img {
  width: 100%;
  height: 62svh;
  object-fit: cover;
  object-position: center;
}

.bleed--tall img {
  height: 78svh;
}

.bleed--full img {
  height: 100svh;
  object-position: center 35%;
}

.bleed--mono img {
  filter: grayscale(1) contrast(1.05);
}

.bleed--color img,
.strip img {
  filter: saturate(0.85) contrast(1.05) sepia(0.08);
}

@media (min-width: 768px) {
  .bleed img {
    height: 70svh;
  }

  .bleed--tall img {
    height: 88svh;
  }
}

/* --- Video (Facade) ------------------------------------------------------ */
.video {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg);
  overflow: hidden;
}

.video__poster {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--text);
}

.video__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: transform 800ms var(--ease-out);
}

.video__poster:hover img,
.video__poster:focus-visible img {
  transform: scale(1.02);
}

.video__poster:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  transform: translate(-50%, -50%);
  transition: transform 400ms var(--ease-out);
}

.video__play svg {
  width: 2rem;
  height: 2rem;
  margin-left: 0.2rem;
}

.video__poster:hover .video__play,
.video__poster:focus-visible .video__play {
  transform: translate(-50%, -50%) scale(1.06);
}

.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- Zitate ------------------------------------------------------------- */
.quote {
  margin: 4rem 0 0;
  padding: 0;
}

.quote__text {
  font-size: clamp(1.75rem, 5.5vw, 3.5rem);
  line-height: 1.05;
  max-width: 22ch;
  text-wrap: balance;
}

.quote__source {
  margin-top: 1rem;
  color: var(--muted);
  font-size: var(--size-label);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* --- Kernsatz, kurze Variante (der alte Spruch) -------------------------- */
.statement--short {
  min-height: 70svh;
}

/* --- Streifen mit vier Live-Momenten ------------------------------------ */
.strip-section {
  padding: 0 0 var(--space-section);
  background: var(--bg);
}

.strip {
  display: flex;
  gap: 0.5rem;
  margin: 0;
  padding: 0 var(--gutter);
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.strip::-webkit-scrollbar {
  display: none;
}

.strip__item {
  flex: 0 0 78vw;
  scroll-snap-align: center;
  background: var(--surface);
}

.strip__item img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

@media (min-width: 768px) {
  .strip__item {
    flex: 0 0 42vw;
  }
}

@media (min-width: 1200px) {
  .strip {
    overflow: visible;
    max-width: 96rem;
    margin-inline: auto;
  }

  .strip__item {
    flex: 1 1 0;
    min-width: 0;
  }
}

/* --- Gut zu wissen ------------------------------------------------------- */
.faq {
  margin: 3rem 0 0;
  max-width: var(--measure);
}

.faq__item {
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.faq__item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq dt {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.faq dd {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

@media (min-width: 768px) {
  .faq__item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: baseline;
  }

  .faq dd {
    margin-top: 0;
  }
}

/* --- Downloads ----------------------------------------------------------- */
.downloads {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
}

.downloads a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* --- Anfrage ------------------------------------------------------------- */
.section--cta {
  padding-bottom: calc(var(--space-section) * 1.2);
}

.cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .cta {
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
  }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.75rem;
  padding: 0 2.5rem;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 400ms var(--ease-out), background 200ms;
}

.button:hover {
  background: #E0623B;
  transform: translateY(-2px);
}

.button:focus-visible {
  outline-offset: 6px;
}

.cta__note {
  color: var(--muted);
  max-width: 24ch;
}

.cta__alt {
  margin-top: 2.5rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

/* --- Footer -------------------------------------------------------------- */
.site-footer {
  padding: 3rem 0 calc(3rem + 4.5rem);
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

@media (min-width: 768px) {
  .site-footer {
    padding-bottom: 3rem;
  }
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .site-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* --- Sticky-Button am Handy ---------------------------------------------- */
.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0 2.25rem;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transform: translate(-50%, 200%);
  opacity: 0;
  transition: transform 500ms var(--ease-out), opacity 400ms var(--ease-out);
  pointer-events: none;
}

.sticky-cta[data-visible="true"] {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 768px) {
  .sticky-cta {
    display: none;
  }
}

/* --- Unterseiten (Impressum, Datenschutz) -------------------------------- */
.page {
  padding: calc(var(--header-height) + 4rem) 0 var(--space-section);
}

.page .prose + .prose {
  margin-top: 1.25rem;
}

.page h2.title--small {
  margin-top: 3rem;
}

.site-header--static {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .video__poster img,
  .video__play,
  .button,
  .sticky-cta {
    transition: none;
  }
}

/* ==========================================================================
   Anfrageformular (Verfügbarkeit und Anfrage laufen über Stagedyver)
   ========================================================================== */

.form {
  display: grid;
  gap: 1.75rem;
  max-width: 34rem;
  margin-top: 3rem;
}

.form[hidden] {
  display: none;
}

.field {
  position: relative;
  padding-top: 1.35rem;
}

.field input,
.field textarea,
.field__button {
  width: 100%;
  min-height: 3rem;
  margin: 0;
  padding: 0.65rem 0;
  background: transparent;
  color: var(--text);
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  font: inherit;
  line-height: 1.5;
  transition: border-color 200ms;
}

.field textarea {
  min-height: 7rem;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field__button:focus,
.field--dropdown.is-open .field__button {
  outline: none;
  border-bottom-color: var(--accent);
}

.field input:focus-visible,
.field textarea:focus-visible,
.field__button:focus-visible {
  outline: none;
}

.field label {
  position: absolute;
  top: 2rem;
  left: 0;
  color: var(--muted);
  pointer-events: none;
  transition: top 200ms var(--ease-out), font-size 200ms var(--ease-out), letter-spacing 200ms, color 200ms;
}

.field input:focus + label,
.field textarea:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:not(:placeholder-shown) + label,
.field.is-filled label,
.field--dropdown.is-open label {
  top: 0;
  color: var(--accent);
  font-size: var(--size-label);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.field.has-error input,
.field.has-error textarea,
.field.has-error .field__button {
  border-bottom-color: var(--text);
}

.field__error {
  display: none;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text);
}

.field.has-error .field__error {
  display: block;
}

.field__status {
  display: none;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

.field__status.is-visible {
  display: block;
}

.field__status.is-free {
  color: var(--accent);
}

.field.has-error .field__status {
  display: none;
}

/* Knopf, der Kalender oder Liste öffnet */
.field__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
}

.field__value {
  min-height: 1.5rem;
}

.field__chevron {
  flex: none;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 1px solid var(--muted);
  border-bottom: 1px solid var(--muted);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 200ms;
}

.field--dropdown.is-open .field__chevron {
  transform: translateY(2px) rotate(225deg);
}

/* Liste (Anlass) */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 20;
  margin: 0;
  padding: 0.5rem 0;
  list-style: none;
  background: var(--bg);
  border: 1px solid var(--line);
}

.dropdown[hidden] {
  display: none;
}

.dropdown li {
  min-height: 3rem;
  padding: 0.75rem 1rem;
  color: var(--muted);
  cursor: pointer;
}

.dropdown li:hover,
.dropdown li.is-active {
  color: var(--text);
  background: var(--surface);
}

.dropdown li[aria-selected="true"] {
  color: var(--text);
}

.dropdown:focus {
  outline: none;
}

/* Kalender (Datum) */
.calendar {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 21;
  padding: 1rem 1rem 1.1rem;
  background: var(--bg);
  border: 1px solid var(--line);
}

.calendar[hidden] {
  display: none;
}

.calendar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.calendar__month {
  font-size: 1.35rem;
  line-height: 1;
}

.calendar__nav {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
}

.calendar__nav:hover {
  color: var(--text);
}

.calendar__nav:disabled {
  opacity: 0.25;
  cursor: default;
}

.calendar__chevron {
  width: 0.55rem;
  height: 0.55rem;
  border-top: 1px solid currentColor;
  border-left: 1px solid currentColor;
}

.calendar__chevron--left {
  transform: translateX(2px) rotate(-45deg);
}

.calendar__chevron--right {
  transform: translateX(-2px) rotate(135deg);
}

.calendar__weekdays,
.calendar__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.calendar__weekdays span {
  padding: 0.5rem 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.calendar__day {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 44px;
  aspect-ratio: 1;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 50%;
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}

.calendar__day:hover:not(:disabled) {
  background: var(--surface);
}

.calendar__day--empty {
  visibility: hidden;
}

.calendar__day--past {
  color: var(--muted);
  opacity: 0.3;
  cursor: default;
}

.calendar__day--booked {
  color: var(--muted);
  opacity: 0.55;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  cursor: default;
}

.calendar__day--booked:hover {
  background: transparent;
}

.calendar__day--today::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text);
  transform: translateX(-50%);
}

.calendar__day--selected {
  box-shadow: inset 0 0 0 1px var(--accent);
  color: var(--text);
  opacity: 1;
  text-decoration: none;
}

.calendar__day:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.calendar__foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  min-height: 1.2em;
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}

.calendar__legend s {
  text-decoration: line-through;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 0.5rem;
}

.form__foot .button {
  border: 0;
  cursor: pointer;
}

.form__foot .button:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}

.form__note {
  flex-basis: 100%;
  max-width: 34rem;
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.8rem;
}

/* Formular links, die Fragen, die sonst offen bleiben, rechts daneben */
.form-columns {
  display: grid;
  gap: 4rem;
}

@media (min-width: 768px) {
  .form-columns {
    grid-template-columns: minmax(0, 34rem) minmax(0, 1fr);
    gap: clamp(3rem, 8vw, 7rem);
    align-items: start;
  }
}

.reassure dl {
  margin: 0;
  border-top: 1px solid var(--line);
}

@media (min-width: 768px) {
  .reassure dl {
    margin-top: 3rem;
  }
}

.reassure dl > div {
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.reassure dt {
  color: var(--accent);
  font-size: var(--size-label);
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.reassure dd {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.reassure__tel {
  color: var(--text);
  font-size: var(--size-body);
  border-bottom: 1px solid var(--line);
}

.reassure__tel:hover,
.reassure__tel:focus-visible {
  border-color: var(--text);
}

/* Hinweis unter einem freiwilligen Feld */
.field__hint {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--muted);
}

/* Entfernung unter der Postleitzahl */
.field__distance {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

.field__distance[hidden] {
  display: none;
}

.form__done,
.form__failed {
  display: none;
  max-width: 34rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--accent);
}

.form__done.is-visible,
.form__failed.is-visible {
  display: block;
}

.form__done .prose,
.form__failed .prose {
  margin-top: 1rem;
}

/* Beleg: was rausgegangen ist, noch einmal schwarz auf weiß */
.receipt {
  display: grid;
  gap: 0;
  margin: 2.5rem 0 0;
}

.receipt > div {
  display: grid;
  gap: 0.4rem;
  padding-block: 1.25rem;
  border-top: 1px solid var(--line);
}

.receipt > div[hidden] {
  display: none;
}

.receipt dt {
  color: var(--muted);
  font-size: var(--size-label);
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.receipt dd {
  margin: 0;
}

.receipt--long dd {
  color: var(--muted);
  white-space: pre-wrap;
}

/* Technischer Grund, nur mit ?debug=1 sichtbar */
.form__reason {
  margin-top: 1.25rem;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8125rem;
  word-break: break-word;
}

.form__reason[hidden] {
  display: none;
}

.section--cta .cta__alt {
  margin-top: 3rem;
}
