/* ============================================================
   Budgetrechner – Hochzeitsfotografin Frankfurt
   Farben & Schriften passend zur Website
   ============================================================ */
.hbr {
  --hbr-bg: #faf6ef;
  --hbr-panel: #efe4d3;
  --hbr-tile: #fffdf9;
  --hbr-text: #2b2621;
  --hbr-body: #4a4339;
  --hbr-muted: #8a7d6c;
  --hbr-line: #e2d5c0;
  --hbr-gold: #b08d57;
  --hbr-gold-dark: #8a6b3c;
  --hbr-gold-light: #e9dcc4;
  --hbr-dark: #2b2621;
  --hbr-error: #a33c3c;
  --hbr-serif: 'Cormorant Garamond', Georgia, serif;
  --hbr-sans: 'Jost', system-ui, sans-serif;

  font-family: var(--hbr-sans);
  color: var(--hbr-text);
  line-height: 1.6;
}
.hbr *, .hbr *::before, .hbr *::after { box-sizing: border-box; }
.hbr-loading { text-align: center; color: var(--hbr-muted); padding: 60px 0; font-size: 14px; }

/* Layout */
.hbr-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 60px; align-items: start; }
@media (max-width: 960px) { .hbr-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Schritte */
.hbr-step { border-top: 1px solid var(--hbr-line); padding: 34px 0 38px; }
.hbr-step:first-child { border-top: 0; padding-top: 0; }
.hbr-step-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 6px; }
.hbr-step-no { font-family: var(--hbr-serif); font-style: italic; font-size: 22px; color: var(--hbr-gold); min-width: 30px; }
.hbr-step h2 { font-family: var(--hbr-serif); font-weight: 500; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.25; margin: 0; }
.hbr-sub { font-size: 14px; color: var(--hbr-muted); margin: 0 0 20px 46px; line-height: 1.7; }
@media (max-width: 600px) { .hbr-sub { margin-left: 0; } }

/* Auswahl-Kacheln */
.hbr-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.hbr-opt { position: relative; display: block; cursor: pointer; }
.hbr-opt input { position: absolute; opacity: 0; pointer-events: none; }
.hbr-box {
  display: block; height: 100%; background: var(--hbr-tile); border: 1px solid var(--hbr-line); border-radius: 2px;
  padding: 14px 16px 14px 46px; position: relative; transition: border-color .2s, background .2s;
}
.hbr-opt:hover .hbr-box { border-color: #cdb894; }
.hbr-box::before {
  content: ""; position: absolute; left: 16px; top: 17px; width: 16px; height: 16px;
  border: 1px solid #c7b799; border-radius: 1px; background: #fff; transition: all .2s;
}
.hbr-opt input:checked + .hbr-box { border-color: var(--hbr-gold); background: var(--hbr-panel); }
.hbr-opt input:checked + .hbr-box::before {
  border-color: var(--hbr-gold);
  background: var(--hbr-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23faf6ef' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat;
}
.hbr-opt input:focus-visible + .hbr-box { outline: 2px solid var(--hbr-gold); outline-offset: 2px; }
.hbr-box strong { display: block; font-weight: 500; font-size: 15px; color: var(--hbr-text); }
.hbr-box small { display: block; font-size: 13px; color: var(--hbr-muted); line-height: 1.45; margin-top: 3px; }
.hbr-tag { display: inline-block; font-size: 12px; letter-spacing: .04em; color: var(--hbr-gold-dark); margin-top: 6px; }
.hbr-options-single { margin-top: 10px; }

/* Ort */
.hbr-ort { display: flex; gap: 10px; flex-wrap: wrap; }
.hbr-input, .hbr textarea {
  font: inherit; font-size: 14px; color: var(--hbr-text); background: var(--hbr-bg);
  border: 1px solid var(--hbr-line); border-radius: 2px; padding: 14px 16px; outline: none; width: 100%;
}
.hbr-ort .hbr-input { flex: 1 1 240px; width: auto; min-width: 0; background: var(--hbr-tile); }
.hbr-input:focus, .hbr textarea:focus { border-color: var(--hbr-gold); }
.hbr-input::placeholder, .hbr textarea::placeholder { color: #a99d8c; }
.hbr-btn-outline {
  font: inherit; font-size: 14px; letter-spacing: .04em; cursor: pointer; color: var(--hbr-text);
  background: transparent; border: 1px solid var(--hbr-gold); border-radius: 2px; padding: 13px 22px; transition: background .2s;
}
.hbr-btn-outline:hover { background: var(--hbr-panel); }
.hbr-btn-outline:disabled { opacity: .5; cursor: wait; }
.hbr-ort-info { margin: 14px 0 0; font-size: 14px; color: var(--hbr-body); min-height: 1.6em; }
.hbr-ort-info strong { font-weight: 500; color: var(--hbr-text); }
.hbr-ort-info.hbr-err { color: var(--hbr-error); }
.hbr-hint { font-size: 13px; color: var(--hbr-muted); margin: 8px 0 0; line-height: 1.6; }

/* Schieberegler */
.hbr-slider + .hbr-slider { margin-top: 30px; padding-top: 28px; border-top: 1px dashed var(--hbr-line); }
.hbr-slider-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.hbr-slider-top label { font-weight: 500; font-size: 15px; }
.hbr-value { font-family: var(--hbr-serif); font-size: 26px; color: var(--hbr-gold-dark); white-space: nowrap; line-height: 1; }
.hbr input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 3px; border-radius: 0; outline: none; margin: 10px 0;
  background: linear-gradient(to right, var(--hbr-gold) var(--fill, 50%), var(--hbr-line) var(--fill, 50%));
}
.hbr input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--hbr-bg);
  border: 1px solid var(--hbr-gold); cursor: pointer; box-shadow: 0 2px 8px rgba(43,38,33,.12);
}
.hbr input[type=range]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%; background: var(--hbr-bg); border: 1px solid var(--hbr-gold); cursor: pointer;
}
.hbr input[type=range]:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--hbr-gold); outline-offset: 2px; }
.hbr-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--hbr-muted); }
.hbr-disabled { opacity: .35; pointer-events: none; }

/* Ergebnis-Panel */
.hbr-result { position: sticky; top: 112px; }
@media (max-width: 960px) { .hbr-result { position: static; } }
.hbr-panel { background: var(--hbr-dark); color: var(--hbr-bg); padding: 40px 36px; }
@media (max-width: 600px) { .hbr-panel { padding: 32px 24px; } }
.hbr-eyebrow { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--hbr-gold); margin: 0 0 6px; }
.hbr-big { font-family: var(--hbr-serif); font-weight: 500; font-size: 56px; line-height: 1.05; margin: 0 0 12px; color: var(--hbr-bg); }
.hbr-big small { font-size: 22px; color: var(--hbr-gold-light); }
.hbr-paket { display: inline-block; border: 1px solid var(--hbr-gold); color: var(--hbr-gold-light); padding: 4px 14px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.hbr-price { font-family: var(--hbr-serif); font-size: 34px; line-height: 1.2; margin: 0; color: var(--hbr-bg); }
.hbr-sep { height: 1px; background: rgba(233,220,196,.18); margin: 26px 0; border: 0; }
.hbr-timeline { display: flex; height: 6px; overflow: hidden; margin: 0 0 16px; background: rgba(233,220,196,.15); }
.hbr-timeline div { height: 100%; transition: flex-grow .3s; }
.hbr-list { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.hbr-list li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid rgba(233,220,196,.1); color: #e9dcc4; }
.hbr-list li:last-child { border-bottom: 0; }
.hbr-list .hbr-m { color: #a99d8c; white-space: nowrap; }
.hbr-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 10px; vertical-align: 1px; }
.hbr-cta {
  display: block; width: 100%; text-align: center; background: var(--hbr-gold); color: var(--hbr-dark) !important;
  padding: 16px 20px; font: inherit; font-size: 14px; letter-spacing: .05em; border: 0; border-radius: 2px; cursor: pointer;
  margin-top: 28px; transition: background .2s;
}
.hbr-cta:hover { background: var(--hbr-gold-light); }
.hbr-note { font-size: 12px; line-height: 1.7; color: #a99d8c; margin: 14px 0 0; text-align: center; }

/* Anfrageformular */
.hbr-form-wrap { background: var(--hbr-panel); padding: 50px 44px; margin-top: 60px; scroll-margin-top: 110px; }
@media (max-width: 600px) { .hbr-form-wrap { padding: 34px 22px; } }
.hbr-form-wrap h2 { font-family: var(--hbr-serif); font-weight: 500; font-size: clamp(26px, 3vw, 36px); margin: 0 0 10px; line-height: 1.2; }
.hbr-form-intro { font-size: 15px; line-height: 1.8; color: var(--hbr-body); margin: 0 0 24px; }
.hbr-summary { background: var(--hbr-bg); border-left: 2px solid var(--hbr-gold); padding: 16px 20px; font-size: 14px; line-height: 1.8; color: var(--hbr-body); margin: 0 0 26px; }
.hbr-summary strong { color: var(--hbr-text); font-weight: 500; }
.hbr-form { display: flex; flex-direction: column; gap: 16px; }
.hbr-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 700px) { .hbr-row { grid-template-columns: 1fr; } }
.hbr-form label.hbr-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hbr-honey { display: none !important; }
.hbr-submit {
  background: var(--hbr-dark); color: var(--hbr-bg); padding: 16px; font: inherit; font-size: 14px; letter-spacing: .05em;
  border: 0; border-radius: 2px; cursor: pointer; transition: background .2s;
}
.hbr-submit:hover { background: var(--hbr-gold-dark); }
.hbr-submit:disabled { opacity: .6; cursor: wait; }
.hbr-form-err { font-size: 13px; color: var(--hbr-error); margin: 0; }
.hbr-form-err a { color: var(--hbr-error); text-decoration: underline; }
.hbr-legal { font-size: 12px; color: var(--hbr-muted); margin: 0; line-height: 1.7; }
.hbr-legal a { color: var(--hbr-gold-dark); text-decoration: underline; }
.hbr-thanks { text-align: center; padding: 20px 0; }
.hbr-thanks p:first-child { font-family: var(--hbr-serif); font-style: italic; font-size: 30px; margin: 0 0 14px; color: var(--hbr-text); }
.hbr-thanks p { font-size: 15px; line-height: 1.8; color: var(--hbr-body); margin: 0; }

/* Mobile Leiste mit Kurz-Ergebnis */
.hbr-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--hbr-dark); color: var(--hbr-bg);
  display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px;
  box-shadow: 0 -6px 20px rgba(43,38,33,.18); transform: translateY(110%); transition: transform .3s;
}
.hbr-bar.hbr-show { transform: none; }
.hbr-bar span { font-family: var(--hbr-serif); font-size: 19px; line-height: 1.2; }
.hbr-bar small { display: block; font-family: var(--hbr-sans); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--hbr-gold); }
.hbr-bar button { font: inherit; font-size: 13px; background: var(--hbr-gold); color: var(--hbr-dark); border: 0; border-radius: 2px; padding: 10px 16px; cursor: pointer; white-space: nowrap; }
@media (max-width: 960px) { .hbr-bar { display: flex; } }
