/* Cykelbutikken – kontaktside (cb-kontakt). Bygger på forside.css (.cbf-*) */

/* Astra giver h1/h2 store bundmarginer; styr afstanden selv */
.cbf.cbk h1, .cbf.cbk h2 { margin: 0; }
.cbk figure { margin: 0; }

/* ============ INTRO + KORT ============ */
.cbk-intro { padding: clamp(48px, 7vw, 96px) 0 clamp(48px, 6vw, 80px); }
.cbf .cbk-title { font-size: clamp(42px, 6vw, 80px); }
.cbk-intro .cbf-lead { margin-top: 16px; }
.cbf .cbk-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(32px, 4vw, 48px); }
@media (max-width: 1060px) { .cbf .cbk-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cbf .cbk-cards { grid-template-columns: 1fr; gap: 12px; } }
.cbk-card { background: #fff; border-radius: var(--r); padding: 26px 24px 28px; box-shadow: inset 0 0 0 1px var(--sand-2); min-width: 0; }
.cbk-card__ikon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--orange); color: var(--ink); margin-bottom: 18px; }
.cbk-card__ikon svg { width: 24px; height: 24px; }
.cbf.cbk .cbk-card h2 { font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1.15; letter-spacing: -.01em; margin-bottom: 8px; color: var(--ink); }
.cbk-card p { font-size: 16px; color: var(--ink-2); }
.cbf .cbk-card p + p { margin-top: 6px; }
.cbf .cbk-card__big { font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1.15; color: var(--ink); letter-spacing: -.01em; }
.cbf .cbk-card__big--mail { font-size: 19px; overflow-wrap: anywhere; }
.cbf .cbk-card__big a:hover { color: var(--orange-d); }
.cbk-card__status { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.cbk-card__status[hidden] { display: none; }
.cbk-dot { width: 10px; height: 10px; border-radius: 50%; background: #B3A99E; flex: none; }
.cbk-card__status.is-open .cbk-dot { background: #2E9E4F; }

/* ============ FORMULAR + ÅBNINGSTIDER ============ */
.cbk-main { padding: clamp(56px, 7vw, 100px) 0; background: var(--sand); border-radius: 48px 48px 0 0; }
.cbk-main__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .cbk-main__grid { grid-template-columns: 1fr; } }
.cbk-formbox { background: var(--cream); border-radius: 32px; padding: clamp(24px, 4vw, 48px); scroll-margin-top: 120px; }
.cbf .cbk-h2 { font-size: clamp(30px, 3.6vw, 46px); }
.cbf .cbk-h3 { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3vw, 38px); line-height: 1.05; color: #fff; margin-bottom: 18px; }

.cbk-form { margin-top: 26px; display: grid; gap: 18px; }
.cbk-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .cbk-row { grid-template-columns: 1fr; } }
.cbk-field { display: grid; gap: 7px; min-width: 0; }
.cbf .cbk-field label { font-weight: 700; font-size: 15px; color: var(--ink); }
.cbk-opt { font-weight: 500; color: var(--ink-2); }
.cbf .cbk-field input, .cbf .cbk-field select, .cbf .cbk-field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 14px; border: 2px solid var(--sand-2);
  background: #fff; color: var(--ink); font: inherit; font-size: 16px; line-height: 1.4; box-shadow: none; margin: 0;
  transition: border-color .2s, box-shadow .2s;
}
.cbf .cbk-field textarea { min-height: 150px; resize: vertical; }
.cbf .cbk-field select { appearance: none; -webkit-appearance: none; padding-right: 44px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%231E1B19' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 20px; }
.cbf .cbk-field input:focus, .cbf .cbk-field select:focus, .cbf .cbk-field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(251,88,50,.35); }
.cbf .cbk-field [aria-invalid="true"] { border-color: #C2380F; background-color: #FFF6F3; }
.cbk-err { color: #A8300C; font-size: 14px; font-weight: 600; }
.cbk-err[hidden] { display: none; }

.cbk-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cbk-consent { font-size: 14px; color: var(--ink-2); }
.cbf .cbk-submit {
  justify-self: start; display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 14px 30px; border: 0; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 16px; line-height: 1; cursor: pointer; text-transform: none; letter-spacing: normal; font-family: inherit;
  transition: transform .35s var(--spring), background-color .2s;
}
.cbf .cbk-submit:hover, .cbf .cbk-submit:focus { background: #000; color: #fff; transform: translateY(-2px); }
.cbf .cbk-submit:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.cbf .cbk-submit[disabled] { opacity: .6; cursor: progress; transform: none; }
@media (max-width: 640px) { .cbf .cbk-submit { justify-self: stretch; justify-content: center; } }

.cbk-alert, .cbk-ok { margin-top: 22px; padding: 16px 18px; border-radius: 14px; font-size: 16px; }
.cbk-alert { background: #FFF1EC; color: #7A2209; box-shadow: inset 0 0 0 2px #E9A68F; }
.cbk-alert[hidden] { display: none; }
.cbk-ok { background: #EEF7EF; color: #1D4D2B; box-shadow: inset 0 0 0 2px #9FCDA9; }
.cbf .cbk-ok p + p { margin-top: 10px; }
.cbk-ok a { font-weight: 700; text-decoration: underline; }
.cbk-alert:focus, .cbk-ok:focus { outline: none; }

.cbk-aside { display: grid; gap: 16px; }
.cbf .cbk-hourscard { border-radius: 32px; }
.cbk-hourscard address { font-style: normal; color: rgba(255,255,255,.85); margin: -8px 0 22px; font-size: 16px; }
.cbk-photo { border-radius: 32px; overflow: hidden; aspect-ratio: 16 / 10; }
.cbk-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ============ SPØRGSMÅL ============ */
.cbk-faq { padding: clamp(64px, 8vw, 110px) 0 clamp(72px, 9vw, 120px); }
.cbk-faq__wrap { max-width: 860px; }
.cbk-faq__list { margin-top: 28px; border-top: 2px solid var(--ink); }
.cbk-faq details { border-bottom: 1px solid var(--sand-2); }
.cbk-faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 4px; font-family: var(--display); font-weight: 800; font-size: clamp(19px, 2vw, 23px); line-height: 1.2; color: var(--ink);
}
.cbk-faq summary::-webkit-details-marker { display: none; }
.cbk-faq summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' fill='none' stroke='%231E1B19' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 16px;
  transition: transform .3s var(--ease), background-color .2s;
}
.cbk-faq details[open] summary::after { transform: rotate(45deg); background-color: var(--yellow); }
.cbk-faq summary:hover { color: var(--orange-d); }
.cbk-faq summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 6px; }
.cbf .cbk-faq details p { padding: 0 4px 22px; color: var(--ink-2); max-width: 64ch; }
.cbf .cbk-faq__more { margin-top: 26px; }

/* Mobil: kortene bliver kompakte, ikonet til venstre */
@media (max-width: 560px) {
  .cbk-card { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; padding: 20px 18px; }
  .cbk-card__ikon { grid-row: 1 / span 4; width: 44px; height: 44px; margin: 0; }
  .cbk-card__ikon svg { width: 20px; height: 20px; }
  .cbk-card > :not(.cbk-card__ikon) { grid-column: 2; }
  .cbf.cbk .cbk-card h2 { font-size: 20px; margin-bottom: 4px; }
  .cbf .cbk-card__big { font-size: 23px; }
}
