/* Fahrrad Gäde Werkstattbuchung – Frontend + Admin */
.fgwb-fullbleed,
.fgwb-fullbleed *,
.fgwb-admin,
.fgwb-admin * { box-sizing: border-box; }

.fgwb-fullbleed {
  --fg-orange: #da5f06;
  --fg-orange-dark: #b84d02;
  --fg-ink: #151515;
  --fg-charcoal: #242424;
  --fg-slate: #3a3a3a;
  --fg-paper: #ffffff;
  --fg-soft: #f5f3ef;
  --fg-rustic: #e9dfd2;
  --fg-rustic-dark: #5c4634;
  --fg-line: #dedbd5;
  --fg-muted: #68645f;
  --fg-shadow: 0 22px 60px rgba(21,21,21,.10);
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow-x: clip;
  background: var(--fg-paper);
  color: var(--fg-ink);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.55;
}

.fgwb-page-shell { width: 100%; }

.fgwb-hero {
  width: 100%;
  min-height: 590px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  padding: clamp(52px, 8vw, 112px) max(24px, calc((100vw - 1180px) / 2));
  background:
    radial-gradient(circle at 10% 10%, rgba(218,95,6,.17), transparent 35%),
    linear-gradient(135deg, #101010 0%, #222 64%, #171717 100%);
  color: #fff;
}

.fgwb-hero-copy { max-width: 680px; }
.fgwb-kicker,
.fgwb-eyebrow {
  margin: 0 0 12px;
  color: var(--fg-orange);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.fgwb-company-name {
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 5.3vw, 72px);
  font-weight: 620;
  letter-spacing: -.035em;
  line-height: 1.02;
  text-wrap: balance;
}
.fgwb-intro {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.78);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.65;
}
.fgwb-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.fgwb-primary-link,
.fgwb-secondary-link {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  padding: 12px 20px;
  font-weight: 720;
  text-decoration: none !important;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}
.fgwb-primary-link { background: var(--fg-orange); color: #fff !important; border: 1px solid var(--fg-orange); }
.fgwb-primary-link:hover { background: var(--fg-orange-dark); border-color: var(--fg-orange-dark); transform: translateY(-1px); }
.fgwb-secondary-link { color: #fff !important; border: 1px solid rgba(255,255,255,.32); background: rgba(255,255,255,.04); }
.fgwb-secondary-link:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }

.fgwb-hero-media {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  min-height: 370px;
  background: #303030;
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: 0 36px 90px rgba(0,0,0,.34);
}
.fgwb-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: inherit;
}
.fgwb-hero-image,
.fgwb-hero-video,
.fgwb-media-embed,
.fgwb-media-embed iframe { width: 100%; height: 100%; min-height: 370px; display: block; object-fit: cover; border: 0; }
.fgwb-media-placeholder {
  min-height: 370px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 30px;
  color: rgba(255,255,255,.7);
  text-align: center;
  background: linear-gradient(145deg, #333, #1f1f1f);
}
.fgwb-placeholder-icon { font-size: 54px; line-height: 1; color: var(--fg-orange); }
.fgwb-media-placeholder strong { color: #fff; font-size: 24px; font-weight: 600; }
.fgwb-media-placeholder small { font-size: 13px; }

.fgwb-trustbar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  max-width: 1180px;
  margin: -42px auto 0;
  position: relative;
  z-index: 2;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--fg-shadow);
}
.fgwb-trustbar > div {
  min-height: 126px;
  padding: 24px 28px;
  background: #fff;
  border-right: 1px solid var(--fg-line);
  display: grid;
  grid-template-columns: 38px 1fr;
  align-content: center;
  column-gap: 12px;
}
.fgwb-trustbar > div:last-child { border-right: 0; }
.fgwb-trustbar span {
  grid-row: 1 / span 2;
  color: var(--fg-orange);
  font-weight: 800;
  font-size: 13px;
  padding-top: 2px;
}
.fgwb-trustbar strong { font-size: 16px; font-weight: 680; line-height: 1.25; }
.fgwb-trustbar small { margin-top: 4px; color: var(--fg-muted); font-size: 13px; }

.fgwb-booking {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(72px, 8vw, 118px) max(20px, calc((100vw - 1180px) / 2));
  background: #fff;
}
.fgwb-booking-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.fgwb-booking-head h2 {
  margin: 0;
  color: var(--fg-ink);
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 560;
  letter-spacing: -.025em;
  line-height: 1.12;
}
.fgwb-booking-head > p:last-child { margin: 18px auto 0; color: var(--fg-muted); font-size: 17px; }
.fgwb-form { max-width: 1180px; margin: 0 auto; }

.fgwb-section {
  width: 100%;
  margin: 0 0 22px;
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid var(--fg-line);
  border-radius: 13px;
  box-shadow: 0 14px 40px rgba(21,21,21,.055);
}
.fgwb-section-white { background: #fff; }
.fgwb-section-soft { background: var(--fg-soft); }
.fgwb-section-rustic { background: var(--fg-rustic); border-color: #d4c3ae; }
.fgwb-section-dark { background: var(--fg-charcoal); color: #fff; border-color: #333; }
.fgwb-final-section { background: #fff; border-top: 4px solid var(--fg-orange); }
.fgwb-section-title { display: flex; gap: 15px; align-items: flex-start; margin-bottom: 25px; }
.fgwb-section-title > span {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--fg-orange);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.fgwb-section-title h3 { margin: 0; font-size: clamp(21px, 2.2vw, 28px); font-weight: 600; line-height: 1.18; }
.fgwb-section-title p { margin: 6px 0 0; color: var(--fg-muted); font-size: 14px; }
.fgwb-section-dark .fgwb-section-title p,
.fgwb-section-dark .fgwb-help { color: rgba(255,255,255,.68); }

.fgwb-two-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 54px); }
.fgwb-service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); gap: 13px; }
.fgwb-service-card,
.fgwb-slot,
.fgwb-submit {
  appearance: none;
  font: inherit;
  cursor: pointer;
  transition: transform .17s ease, border-color .17s ease, background-color .17s ease, box-shadow .17s ease;
}
.fgwb-service-card {
  min-height: 104px;
  padding: 18px;
  text-align: left;
  color: var(--fg-ink);
  background: #fff;
  border: 1px solid #d8d4cd;
  border-radius: 9px;
}
.fgwb-service-card:hover { transform: translateY(-2px); border-color: var(--fg-orange); box-shadow: 0 12px 28px rgba(218,95,6,.11); }
.fgwb-service-card.is-active { background: #fff5ed; border-color: var(--fg-orange); box-shadow: inset 0 0 0 1px var(--fg-orange); }
.fgwb-service-title { display: block; margin-bottom: 9px; font-size: 17px; font-weight: 680; line-height: 1.25; }
.fgwb-service-meta { display: block; color: var(--fg-muted); font-size: 13px; }

.fgwb-form label { display: block; margin: 15px 0 7px; color: inherit; font-size: 14px; font-weight: 650; }
.fgwb-form input[type="text"],
.fgwb-form input[type="email"],
.fgwb-form input[type="tel"],
.fgwb-form input[type="date"],
.fgwb-form input[type="file"],
.fgwb-form select,
.fgwb-form textarea {
  width: 100%;
  min-height: 49px;
  padding: 12px 13px;
  color: var(--fg-ink);
  background: #fff;
  border: 1px solid #cbc7c0;
  border-radius: 7px;
  font: inherit;
  box-shadow: none;
  outline: none;
}
.fgwb-form textarea { min-height: 112px; resize: vertical; }
.fgwb-form input:focus,
.fgwb-form select:focus,
.fgwb-form textarea:focus { border-color: var(--fg-orange); box-shadow: 0 0 0 3px rgba(218,95,6,.12); }
.fgwb-section-dark input,
.fgwb-section-dark select,
.fgwb-section-dark textarea { background: #fff; color: var(--fg-ink); }
.fgwb-help { margin: 9px 0 0; color: var(--fg-muted); font-size: 13px; }
.fgwb-notice { margin-top: 18px; padding: 15px 17px; border-left: 4px solid var(--fg-orange); background: rgba(255,255,255,.58); color: #403a34; font-size: 14px; }

.fgwb-slots { display: flex; flex-wrap: wrap; gap: 9px; min-height: 52px; align-items: flex-start; }
.fgwb-slot {
  min-width: 92px;
  min-height: 45px;
  padding: 10px 13px;
  color: var(--fg-ink);
  background: #fff;
  border: 1px solid #cbc7c0;
  border-radius: 7px;
  font-weight: 680;
}
.fgwb-slot:hover { border-color: var(--fg-orange); color: var(--fg-orange-dark); }
.fgwb-slot.is-active { color: #fff; background: var(--fg-orange); border-color: var(--fg-orange); }
.fgwb-checkbox { display: flex !important; align-items: flex-start; gap: 10px; font-weight: 560 !important; line-height: 1.45; }
.fgwb-checkbox input { flex: 0 0 auto; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--fg-orange); }
.fgwb-conditional[hidden] { display: none !important; }
.fgwb-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  margin-top: 22px;
  padding: 13px 24px;
  color: #fff;
  background: var(--fg-orange);
  border: 1px solid var(--fg-orange);
  border-radius: 7px;
  font-weight: 760;
}
.fgwb-submit:hover { background: var(--fg-orange-dark); border-color: var(--fg-orange-dark); transform: translateY(-1px); }
.fgwb-submit:disabled { opacity: .65; cursor: wait; transform: none; }
.fgwb-submit-note { margin: 11px 0 0; color: var(--fg-muted); font-size: 13px; }
.fgwb-result { margin-top: 16px; font-weight: 650; }
.fgwb-result-success,
.fgwb-result-error { padding: 14px 16px; border-radius: 7px; }
.fgwb-result-success { color: #215f35; background: #eef8f1; border: 1px solid #b8ddc3; }
.fgwb-result-error { color: #8e2930; background: #fff2f2; border: 1px solid #e5b9bc; }

/* Admin */
.fgwb-admin { --fgwb-admin-orange: #da5f06; max-width: 1280px; }
.fgwb-admin > h1 { font-weight: 600; letter-spacing: -.02em; }
.fgwb-admin h2 { margin-top: 34px; padding-top: 20px; border-top: 1px solid #dcdcde; font-weight: 600; }
.fgwb-admin .button-primary { background: var(--fgwb-admin-orange); border-color: var(--fgwb-admin-orange); }
.fgwb-admin .button-primary:hover { background: #b84d02; border-color: #b84d02; }
.fgwb-admin-actions,
.fgwb-filter-form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 14px 0; }
.fgwb-admin-table td { vertical-align: top; }
.fgwb-inline-form { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 8px; }
.fgwb-day-check { margin-right: 12px; white-space: nowrap; }
.fgwb-services-table input[type="text"] { width: 100%; max-width: 270px; }
.fgwb-services-table input[type="number"] { width: 88px; }
.fgwb-new-row { background: #fff8f2 !important; }
.fgwb-status { display: inline-block; padding: 4px 9px; border-radius: 99px; background: #f1f1f1; font-size: 12px; font-weight: 700; }
.fgwb-status-confirmed { background: #dcfce7; }
.fgwb-status-in_progress { background: #fef3c7; }
.fgwb-status-done { background: #e0f2fe; }
.fgwb-status-cancelled { background: #fee2e2; }
.fgwb-media-preview img { display: block; width: 220px; max-height: 130px; object-fit: cover; margin-top: 12px; border-radius: 6px; border: 1px solid #dcdcde; }

@media (max-width: 900px) {
  .fgwb-hero { grid-template-columns: 1fr; min-height: auto; }
  .fgwb-hero-media { min-height: 300px; }
  .fgwb-hero-image, .fgwb-hero-video, .fgwb-media-embed, .fgwb-media-embed iframe, .fgwb-media-placeholder { min-height: 300px; }
  .fgwb-trustbar { margin: 0; max-width: none; border-radius: 0; box-shadow: none; }
}

@media (max-width: 720px) {
  .fgwb-fullbleed { font-size: 15px; }
  .fgwb-hero { padding: 54px 20px 44px; }
  .fgwb-company-name { font-size: clamp(36px, 12vw, 52px); }
  .fgwb-hero-actions { flex-direction: column; align-items: stretch; }
  .fgwb-primary-link, .fgwb-secondary-link { width: 100%; }
  .fgwb-trustbar { grid-template-columns: 1fr; }
  .fgwb-trustbar > div { min-height: 98px; border-right: 0; border-bottom: 1px solid var(--fg-line); }
  .fgwb-trustbar > div:last-child { border-bottom: 0; }
  .fgwb-booking { padding: 64px 16px; }
  .fgwb-booking-head { margin-bottom: 34px; }
  .fgwb-two-cols { grid-template-columns: 1fr; }
  .fgwb-section { padding: 23px 18px; border-radius: 10px; }
  .fgwb-service-grid { grid-template-columns: 1fr; }
  .fgwb-submit { width: 100%; }
}
