@font-face {
  font-family: "LauraLex DM Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/dmsans-400-n.woff2") format("woff2");
}

@font-face {
  font-family: "LauraLex DM Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/dmsans-500-n.woff2") format("woff2");
}

@font-face {
  font-family: "LauraLex Fraunces";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fraunces-400-n.woff2") format("woff2");
}

/* Give this private page its own calm frame inside the default WordPress theme. */
body:has(.ll-booking) {
  background: #fbf9ef;
  color: #2c2a1e;
  font-family: "LauraLex DM Sans", system-ui, sans-serif;
}

body:has(.ll-booking) .wp-site-blocks {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  background:
    radial-gradient(ellipse at 8% 4%, rgba(239, 235, 206, .62), transparent 34rem),
    #fbf9ef;
}

body:has(.ll-booking) .wp-site-blocks > header,
body:has(.ll-booking) .wp-site-blocks > footer,
body:has(.ll-booking) main .wp-block-post-title {
  display: none !important;
}

body:has(.ll-booking) .wp-site-blocks > main {
  box-sizing: border-box;
  width: 100% !important;
  max-width: none !important;
  flex: 1 0 auto;
  margin: 0 !important;
  padding: clamp(38px, 8vh, 88px) 24px 76px !important;
}

body:has(.ll-booking) .wp-site-blocks > main > .wp-block-group {
  box-sizing: border-box;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body:has(.ll-booking) .wp-site-blocks > main .entry-content {
  box-sizing: border-box;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ll-booking {
  --ll-ink: #2c2a1e;
  --ll-muted: #67664f;
  --ll-line: rgba(44, 42, 30, .13);
  --ll-cream: #fbf9ef;
  --ll-paper: #fffef9;
  --ll-sand: #efebce;
  --ll-rose: #8c4a55;
  --ll-rose-hover: #723c46;
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: 0;
  color: var(--ll-ink);
  font-family: "LauraLex DM Sans", system-ui, sans-serif;
}

.ll-booking,
.ll-booking *,
.ll-booking *::before,
.ll-booking *::after {
  box-sizing: border-box;
}

body:has(.ll-booking) .ll-booking {
  width: min(100%, 1040px) !important;
  max-width: 1040px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.ll-booking__header {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0 0 clamp(26px, 4vw, 42px);
  padding: clamp(34px, 6vw, 66px);
  border: 1px solid rgba(44, 42, 30, .08);
  border-radius: 30px;
  background: linear-gradient(118deg, rgba(239, 235, 206, .88), rgba(251, 249, 239, .96) 76%);
  box-shadow: 0 20px 56px rgba(44, 42, 30, .06);
}

.ll-booking__header::after {
  position: absolute;
  z-index: 0;
  top: 8px;
  right: 18px;
  width: 240px;
  height: 112px;
  background: url("assets/lauralex-floral.webp") center top / 240px auto no-repeat;
  content: "";
  opacity: .36;
  pointer-events: none;
}

.ll-booking__header > * {
  position: relative;
  z-index: 1;
}

.ll-booking__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  padding: 8px 12px;
  border: 1px solid rgba(44, 42, 30, .1);
  border-radius: 999px;
  background: rgba(255, 254, 249, .68);
  color: var(--ll-rose);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.ll-booking__header h1,
.ll-booking h2,
.ll-booking__slot h3 {
  color: var(--ll-ink);
  font-family: "LauraLex Fraunces", Georgia, serif;
  font-weight: 400;
}

.ll-booking__header h1 {
  max-width: 22ch;
  margin: 0 0 16px;
  font-size: clamp(38px, 5.3vw, 62px);
  letter-spacing: -.035em;
  line-height: 1.04;
  overflow-wrap: normal;
  word-break: normal;
}

.ll-booking__header p:last-child {
  max-width: 58ch;
  margin: 0;
  color: var(--ll-muted);
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.7;
}

.ll-booking h2 {
  margin: 0 0 18px;
  font-size: clamp(27px, 3vw, 35px);
  letter-spacing: -.025em;
  line-height: 1.15;
}

.ll-booking__login,
.ll-booking__mine,
.ll-booking__notice,
.ll-booking__empty {
  padding: 26px 30px;
  border: 1px solid var(--ll-line);
  border-radius: 20px;
  background: var(--ll-paper);
  box-shadow: 0 12px 34px rgba(44, 42, 30, .045);
}

.ll-booking__login {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 30px;
}

.ll-booking__login::before {
  grid-column: 1 / -1;
  color: var(--ll-muted);
  content: "DEIN SCHÜLERKONTO";
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .18em;
}

.ll-booking__login p {
  max-width: 60ch;
  margin: 0;
  color: var(--ll-ink);
  font-size: 16px;
  line-height: 1.65;
}

.ll-booking__button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid var(--ll-rose);
  border-radius: 999px;
  background: var(--ll-rose);
  color: #fff;
  font-family: "LauraLex DM Sans", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.ll-booking__button:hover {
  transform: translateY(-1px);
  border-color: var(--ll-rose-hover);
  background: var(--ll-rose-hover);
  color: #fff;
  box-shadow: 0 8px 20px rgba(114, 60, 70, .18);
}

.ll-booking__button:focus-visible {
  outline: 3px solid rgba(140, 74, 85, .35);
  outline-offset: 3px;
}

.ll-booking__mine {
  margin: 0 0 38px;
  background: rgba(255, 254, 249, .78);
}

.ll-booking__mine ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ll-booking__mine li {
  padding: 13px 16px;
  border-radius: 12px;
  background: rgba(239, 235, 206, .5);
  line-height: 1.5;
}

.ll-booking__mine li span {
  margin-left: 8px;
  color: var(--ll-muted);
  font-size: 13px;
}

.ll-booking > h2 {
  margin-top: 42px;
}

.ll-booking__slots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 390px), 1fr));
  gap: 16px;
}

.ll-booking__slot {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 23px 24px;
  border: 1px solid var(--ll-line);
  border-radius: 20px;
  background: var(--ll-paper);
  box-shadow: 0 12px 30px rgba(44, 42, 30, .045);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.ll-booking__slot:hover,
.ll-booking__slot:focus-within {
  transform: translateY(-2px);
  border-color: rgba(140, 74, 85, .32);
  box-shadow: 0 18px 36px rgba(44, 42, 30, .09);
}

.ll-booking__slot > div {
  min-width: 0;
}

.ll-booking__slot > div::before {
  display: block;
  margin: 0 0 9px;
  color: var(--ll-rose);
  content: "FREIER TERMIN";
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
}

.ll-booking__slot h3 {
  margin: 0 0 11px;
  font-size: clamp(20px, 2.2vw, 25px);
  letter-spacing: -.015em;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.ll-booking__slot p {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 6px 10px;
  border: 1px solid rgba(44, 42, 30, .08);
  border-radius: 999px;
  background: rgba(239, 235, 206, .52);
  color: var(--ll-muted);
  font-size: 12px;
  line-height: 1.2;
}

.ll-booking__slot form {
  flex: 0 0 auto;
}

.ll-booking__notice {
  margin: 0 0 20px;
  border-color: rgba(140, 74, 85, .32);
  background: #fff9f6;
  color: var(--ll-ink);
  line-height: 1.6;
}

.ll-booking__notice--success {
  border-color: rgba(76, 112, 78, .28);
  background: #f4f8ef;
}

.ll-booking__empty {
  color: var(--ll-muted);
  line-height: 1.65;
}

.ll-booking__footnote {
  margin: 22px 4px 0;
  color: var(--ll-muted);
  font-size: 12px;
  line-height: 1.55;
}

@media (max-width: 640px) {
  body:has(.ll-booking) .wp-site-blocks > main {
    padding: 28px 16px 42px !important;
  }

  .ll-booking__header {
    margin-bottom: 20px;
    padding: 30px 24px 34px;
    border-radius: 24px;
  }

  .ll-booking__header::after {
    display: none;
  }

  .ll-booking__eyebrow {
    margin-bottom: 18px;
    font-size: 10px;
  }

  .ll-booking__header h1 {
    max-width: none;
    font-size: clamp(27px, 8vw, 34px);
  }

  .ll-booking__login,
  .ll-booking__mine,
  .ll-booking__notice,
  .ll-booking__empty {
    padding: 22px;
    border-radius: 17px;
  }

  .ll-booking__login {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .ll-booking__login::before {
    grid-column: auto;
  }

  .ll-booking__login .ll-booking__button {
    width: 100%;
    margin-top: 6px;
  }

  .ll-booking > h2 {
    margin-top: 32px;
  }

  .ll-booking__slots {
    grid-template-columns: 1fr;
  }

  .ll-booking__slot {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding: 22px;
    border-radius: 17px;
  }

  .ll-booking__slot form,
  .ll-booking__slot .ll-booking__button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ll-booking__button,
  .ll-booking__slot {
    transition: none;
  }
}
