/* VerleihModul – Marketing-Seite. Keine externen Ressourcen, keine Cookies. */

@font-face {
  font-family: "Bricolage";
  src: url("fonts/bricolage.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("fonts/figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f4f8f7;
  --white: #ffffff;
  --ink: #10312c;
  --ink-soft: #42605b;
  --teal: #009783;
  --teal-dark: #00796a;
  --yellow: #fccc34;
  --red: #ea5369;
  --blue: #6fb9e7;
  --line: #cfdcd9;
  --tint: #e6f0ee;
  --radius: 10px;
  --head: "Bricolage", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--teal-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--head); color: var(--ink); margin: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* Kopfzeile */
.top { position: sticky; top: 0; z-index: 50; background: rgba(244, 248, 247, .94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--head); font-weight: 600; font-size: 22px; letter-spacing: -.01em; }
.brand b { color: var(--teal-dark); font-weight: 700; }
.brand img { display: block; }
.top nav { display: flex; align-items: center; gap: 22px; }
.top nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 16px; }
.top nav a:not(.btn):hover { color: var(--teal-dark); }

/* Buttons */
.btn { display: inline-block; background: var(--teal); color: #fff; border: 2px solid var(--teal); border-radius: 8px; padding: 12px 20px; font: 600 16px/1.2 var(--body); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
.btn-small { padding: 9px 16px; font-size: 15px; white-space: nowrap; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 14px; }
.small { font-size: 14px; color: var(--ink-soft); margin: 0; }

/* Hero */
.hero { padding: 72px 0 88px; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6.4vw, 76px); font-weight: 780; line-height: 1.02; letter-spacing: -.02em; margin-bottom: 28px; }
.lead { font-size: 20px; color: var(--ink-soft); max-width: 34em; margin-bottom: 28px; }

/* Beispiel-Kalender */
.demo { background: var(--white); border: 2px solid var(--ink); border-radius: 14px; overflow: hidden; box-shadow: 0 18px 40px -22px rgba(16, 49, 44, .45); }
.demo-bar { display: grid; grid-template-columns: repeat(4, 1fr); height: 8px; }
.demo-bar i:nth-child(1) { background: var(--teal); }
.demo-bar i:nth-child(2) { background: var(--red); }
.demo-bar i:nth-child(3) { background: var(--yellow); }
.demo-bar i:nth-child(4) { background: var(--blue); }
.demo-body { padding: 22px 24px 20px; }
.demo-kicker { font-size: 13px; color: var(--ink-soft); margin: 0 0 4px; }
.demo h2 { font-size: 26px; font-weight: 700; margin-bottom: 4px; }
.demo-meta { font-size: 14px; color: var(--ink-soft); margin-bottom: 16px; }

.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-family: var(--head); font-size: 17px; }
.cal-nav { width: 36px; height: 36px; border: 1.5px solid var(--line); background: #fff; border-radius: 8px; font-size: 20px; line-height: 1; cursor: pointer; color: var(--ink); }
.cal-nav:hover:not(:disabled) { border-color: var(--ink); }
.cal-nav:disabled { opacity: .35; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { text-align: center; font-size: 12px; font-weight: 600; color: var(--ink-soft); padding: 2px 0 4px; }
.cal-day { aspect-ratio: 1 / 1; border-radius: 7px; border: 1.5px solid var(--teal); background: var(--tint); color: var(--ink); font: 600 14px/1 var(--body); cursor: pointer; padding: 0; }
.cal-day:hover:not(:disabled) { background: var(--teal); color: #fff; }
.cal-day.busy { border-color: #f0b6be; background: #fbe5e8; color: #8a2c3b; cursor: not-allowed; text-decoration: line-through; }
.cal-day.past { border-color: transparent; background: transparent; color: #9db0ac; cursor: default; }
.cal-day.sel { background: var(--ink); border-color: var(--ink); color: #fff; }
.cal-day.range { background: #c9e4de; border-color: var(--teal-dark); }
.cal-day.bad, .cal-day.busy.bad { background: var(--red); border-color: var(--red); color: #fff; text-decoration: none; }
.cal-blank { visibility: hidden; }

.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 14px 0 12px; font-size: 13px; color: var(--ink-soft); }
.legend li { display: flex; align-items: center; gap: 6px; }
.sw { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid; display: inline-block; }
.sw-free { background: var(--tint); border-color: var(--teal); }
.sw-busy { background: #fbe5e8; border-color: #f0b6be; }
.sw-sel { background: var(--ink); border-color: var(--ink); }
.demo-msg { font-size: 15px; min-height: 3.2em; margin: 0 0 6px; }
.demo-msg.ok { color: var(--teal-dark); font-weight: 600; }
.demo-msg.err { color: #a3263a; font-weight: 600; }
.demo-foot { margin: 0; font-size: 14px; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--teal-dark); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.linklike:hover { color: var(--ink); }

/* Abschnitte */
.section { padding: 88px 0; }
.section.tint { background: var(--tint); }
.section h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 750; line-height: 1.1; letter-spacing: -.015em; }
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.split-head p { color: var(--ink-soft); margin-top: 18px; }

.features { border-top: 1px solid var(--line); }
.features li { position: relative; padding: 18px 0 16px 32px; border-bottom: 1px solid var(--line); }
.features li::before, .tags li::before { content: ""; position: absolute; left: 0; top: 26px; width: 13px; height: 13px; border-radius: 3px; background: var(--c, var(--teal)); }
.features h3 { font-size: 19px; font-weight: 650; margin-bottom: 4px; }
.features p { margin: 0; font-size: 16px; color: var(--ink-soft); }

.c-teal { --c: var(--teal); }
.c-red { --c: var(--red); }
.c-yellow { --c: var(--yellow); }
.c-blue { --c: var(--blue); }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.steps li { border-top: 4px solid var(--c); padding-top: 14px; }
.steps .num { display: block; font-family: var(--head); font-size: 40px; font-weight: 750; line-height: 1; margin-bottom: 8px; }
.steps h3 { font-size: 19px; font-weight: 650; margin-bottom: 6px; }
.steps p { font-size: 16px; color: var(--ink-soft); margin: 0; }

.tags { margin: 8px 0 24px; border-top: 1px solid var(--line); }
.tags li { position: relative; padding: 10px 0 10px 32px; border-bottom: 1px solid var(--line); font-weight: 600; }
.tags li::before { top: 18px; background: var(--c); }

/* Abschluss */
.cta { background: var(--ink); color: #fff; padding: 88px 0; }
.cta h2 { color: #fff; font-size: clamp(30px, 3.6vw, 44px); font-weight: 750; letter-spacing: -.015em; margin-bottom: 16px; }
.cta p { color: #cfe3df; max-width: 36em; }
.cta .actions { margin-top: 28px; gap: 20px; }
.cta-mail { color: #fff; font-weight: 600; }
.cta-mail:hover { color: var(--yellow); }

.foot { background: var(--paper); border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: 15px; color: var(--ink-soft); }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; align-items: start; }
.foot p { margin: 0 0 .6em; }
.foot-brand { display: flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 600; font-size: 19px; color: var(--ink); }
.foot-brand b { color: var(--teal-dark); }
.foot a { color: var(--ink); }
.foot-links li { margin-bottom: 6px; }

/* Schmale Bildschirme */
@media (max-width: 900px) {
  body { font-size: 17px; }
  .hero { padding: 40px 0 56px; }
  .hero-in, .split { grid-template-columns: 1fr; gap: 36px; }
  .section, .cta { padding: 60px 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-in { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .top nav a:not(.btn) { display: none; }
  .brand { font-size: 19px; gap: 8px; }
  .brand img { width: 32px; }
  .btn-small { padding: 8px 12px; font-size: 14px; }
  .steps { grid-template-columns: 1fr; }
  .demo-body { padding: 18px 16px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
