/* ===== HelleB Keramik — komponent-styles ===== */

/* ---------- header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 50;
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.hdr-scrolled {
  background: rgba(240,237,229,.86);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.hdr-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--sage); color: #fff;
  display: grid; place-items: center;
}
.brand-text { font-family: var(--display); font-size: 1.55rem; font-weight: 600; letter-spacing: .01em; white-space: nowrap; }
.brand-thin { font-style: italic; color: var(--olive); }
.hdr-nav { display: flex; gap: 30px; }
.hdr-nav a { font-size: .98rem; font-weight: 600; color: var(--ink-soft); transition: color .18s ease; position: relative; }
.hdr-nav a:hover { color: var(--ink); }
.hdr-nav a::after { content: ""; position: absolute; left: 0; bottom: -5px; width: 0; height: 1.5px; background: var(--olive); transition: width .22s ease; }
.hdr-nav a:hover::after { width: 100%; }
.hdr-inquiry {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px;
  padding: 9px 16px 9px 14px; font-family: var(--body); font-size: .9rem; font-weight: 700;
  color: var(--ink); cursor: pointer; transition: all .18s ease;
}
.hdr-inquiry:hover { border-color: var(--olive); color: var(--olive); }
.hdr-badge {
  background: var(--clay); color: #fff; font-size: .72rem; font-weight: 800;
  min-width: 19px; height: 19px; border-radius: 999px; display: grid; place-items: center; padding: 0 5px;
}

/* ---------- hero shared ---------- */
.hero { padding: 56px 0 24px; }
.hero-copy h1 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); margin: 18px 0 0; line-height: 1.1; }
.hero-copy h1 .h1-line { display: block; }
.hero-copy h1 .h1-em, .hero-copy h1 em { font-style: italic; color: var(--olive); }
.hero-intro { margin-top: 22px; font-size: 1.16rem; color: var(--ink-soft); max-width: 30em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-sign { margin-top: 26px; font-family: var(--display); font-style: italic; font-size: 1.3rem; color: var(--ink-faint); }
.eyebrow-light { color: #EAE4D4; }
.eyebrow-light::before { background: #EAE4D4; }

.hero-stamp {
  position: absolute; display: flex; align-items: center; gap: 9px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 11px 17px; box-shadow: var(--shadow-md);
  font-size: .82rem; font-weight: 700; color: var(--olive-ink); line-height: 1.25; white-space: nowrap;
}
.hero-stamp-leaf { color: var(--sage); display: grid; place-items: center; }

/* hero A */
.hero-a-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-a-art { position: relative; }
.hero-a-img { aspect-ratio: 4/5; box-shadow: var(--shadow-lg); }
.hero-carousel { position: relative; overflow: hidden; border-radius: 14px; background: var(--bg-alt); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.hero-slide.on { opacity: 1; z-index: 1; }
.hero-slide img, .hero-slide video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-carousel-dots { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 2; display: flex; justify-content: center; gap: 8px; }
.hc-dot { width: 8px; height: 8px; border-radius: 999px; border: none; background: rgba(255,255,255,.55); cursor: pointer; padding: 0; }
.hc-dot.on { background: #fff; width: 20px; border-radius: 999px; }
.hero-a .hero-stamp { right: -14px; bottom: 28px; z-index: 3; }

/* hero B */
.hero-b-frame { position: relative; max-width: 1320px; margin: 0 auto; height: clamp(440px, 64vh, 660px); overflow: hidden; }
.hero-b-img { width: 100%; height: 100%; border-radius: 0; }
.hero-b-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(54,51,43,.18), rgba(54,51,43,.52)); }
.hero-b-copy { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 24px; }
.hero-b-copy h1 { color: #FBF9F3; font-size: clamp(2.3rem, 4.6vw, 3.8rem); line-height: 1.1; }
.hero-b-copy h1 .h1-line { display: block; }
.hero-b-copy h1 .h1-em { color: #DCE3CC; font-style: italic; }
.hero-b-copy .hero-intro { color: #ECE7DA; margin-left: auto; margin-right: auto; }

/* hero C */
.hero-c-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-c-collage { position: relative; height: 540px; }
.hero-c-collage > .ph { position: absolute; box-shadow: var(--shadow-md); }
.hero-c-1 { width: 54%; aspect-ratio: 3/4; left: 0; top: 8%; z-index: 2; }
.hero-c-2 { width: 42%; aspect-ratio: 3/4; right: 4%; top: 0; z-index: 1; }
.hero-c-3 { width: 52%; aspect-ratio: 4/3; right: 0; bottom: 4%; z-index: 3; box-shadow: var(--shadow-lg) !important; }
.hero-c .hero-stamp { left: 30%; bottom: 12%; z-index: 4; }

/* ---------- filters / chips ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.chip {
  font-family: var(--body); font-size: .9rem; font-weight: 700; color: var(--ink-soft);
  background: transparent; border: 1.5px solid var(--line); border-radius: 999px;
  padding: 9px 18px; cursor: pointer; transition: all .18s ease;
}
.chip:hover { border-color: var(--moss); color: var(--olive-ink); }
.chip-on { background: var(--olive); border-color: var(--olive); color: #F7F4EC; }

/* ---------- gallery grid ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.card { cursor: pointer; }
.card-art { position: relative; }
.card-img { aspect-ratio: 1/1; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.card:hover .card-img { transform: scale(1.03); }
.card-art { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card-heart {
  position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(251,249,243,.9); border: none; cursor: pointer; display: grid; place-items: center;
  color: var(--olive); backdrop-filter: blur(4px); transition: all .18s ease; box-shadow: var(--shadow-sm);
}
.card-heart:hover { transform: scale(1.08); }
.card-heart.on { color: var(--clay); }
.card-body { padding: 15px 4px 0; }
.card-name { font-size: 1.32rem; line-height: 1.15; }
.card-row { display: flex; align-items: baseline; justify-content: space-between; margin-top: 7px; gap: 10px; }
.card-cat { font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-faint); font-weight: 700; }
.card-price { font-weight: 700; color: var(--olive-ink); }
.empty { color: var(--ink-faint); font-style: italic; }

/* ---------- modal ---------- */
.modal-scrim { position: fixed; inset: 0; z-index: 100; background: rgba(40,38,32,.5); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 24px; animation: fadeUp .25s ease both; }
.modal { position: relative; background: var(--surface); border-radius: var(--radius-lg); max-width: 940px; width: 100%; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; box-shadow: var(--shadow-lg); max-height: 90vh; }
.modal-close { position: absolute; top: 16px; right: 16px; z-index: 2; background: rgba(251,249,243,.92); }
.modal-art { background: var(--bg-alt); }
.modal-img { width: 100%; height: 100%; min-height: 360px; border-radius: 0; }
.modal-info { padding: 40px 38px; overflow-y: auto; }
.modal-name { font-size: 2.1rem; margin: 12px 0 0; }
.modal-price { font-size: 1.25rem; font-weight: 700; color: var(--olive-ink); margin: 10px 0 0; }
.modal-note { margin-top: 16px; color: var(--ink-soft); }
.modal-facts { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.modal-facts li { display: flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--ink-soft); }
.modal-facts li svg { color: var(--moss); flex: none; }
.modal-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.modal-fine { margin-top: 16px; font-size: .84rem; color: var(--ink-faint); font-style: italic; }

/* ---------- drawer ---------- */
.drawer-scrim { position: fixed; inset: 0; z-index: 110; background: rgba(40,38,32,0); pointer-events: none; transition: background .3s ease; }
.drawer-scrim.show { background: rgba(40,38,32,.45); pointer-events: auto; }
.drawer { position: absolute; top: 0; right: 0; height: 100%; width: min(440px, 92vw); background: var(--surface); box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .32s cubic-bezier(.3,.8,.3,1); display: flex; flex-direction: column; }
.drawer.show { transform: none; }
.drawer-head { display: flex; align-items: flex-start; justify-content: space-between; padding: 26px 26px 18px; border-bottom: 1px solid var(--line); }
.drawer-title { font-size: 1.7rem; margin-top: 6px; }
.drawer-items { padding: 18px 26px 6px; overflow-y: auto; flex: 1; }
.drawer-item { display: flex; align-items: center; gap: 13px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.drawer-thumb { width: 54px; height: 54px; flex: none; border-radius: 10px; }
.drawer-item-info { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.drawer-item-name { font-weight: 700; font-size: .96rem; }
.drawer-item-price { color: var(--ink-soft); font-size: .88rem; }
.drawer-remove { background: none; border: none; cursor: pointer; color: var(--ink-faint); padding: 6px; border-radius: 8px; transition: all .15s ease; }
.drawer-remove:hover { color: var(--clay); background: var(--bg-alt); }
.drawer-total { display: flex; align-items: center; justify-content: space-between; padding: 16px 26px; background: var(--bg-alt); }
.drawer-total span { color: var(--ink-soft); font-size: .92rem; }
.drawer-total strong { font-size: 1.2rem; color: var(--olive-ink); }
.drawer-form { padding: 20px 26px 28px; }
.drawer-submit { width: 100%; justify-content: center; margin-top: 6px; }
.drawer-fine, .modal-fine { line-height: 1.4; }
.drawer-fine { margin-top: 12px; font-size: .82rem; color: var(--ink-faint); font-style: italic; text-align: center; }
.drawer-empty, .drawer-sent { padding: 60px 34px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; margin: auto 0; }
.drawer-empty-heart { color: var(--sage); }
.drawer-empty .muted { color: var(--ink-faint); font-size: .92rem; }
.drawer-sent h3, .kontakt-sent h3 { font-size: 1.7rem; }

/* ---------- form fields ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 15px; }
.field > span { font-size: .82rem; font-weight: 700; color: var(--ink-soft); letter-spacing: .02em; }
.field > span i { font-weight: 400; color: var(--ink-faint); font-style: normal; }
.field input, .field textarea {
  font-family: var(--body); font-size: 1rem; color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: 11px;
  padding: 12px 14px; outline: none; transition: border-color .18s ease, box-shadow .18s ease; resize: vertical;
}
.field input:focus, .field textarea:focus { border-color: var(--moss); box-shadow: 0 0 0 3px rgba(138,154,123,.18); }
.field.err input, .field.err textarea { border-color: var(--clay); }
.field em { color: var(--clay); font-size: .8rem; font-style: normal; }

.sent-badge { width: 60px; height: 60px; border-radius: 50%; background: var(--sage); color: #fff; display: grid; place-items: center; }

/* ---------- story ---------- */
.story { background: var(--bg-alt); padding: 88px 0; }
.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.story-img { aspect-ratio: 4/5; box-shadow: var(--shadow-md); }
.story-copy h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin: 14px 0 18px; }
.story-copy p { color: var(--ink-soft); font-size: 1.08rem; margin-bottom: 14px; }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.step-n { font-family: var(--display); font-style: italic; font-size: 2.4rem; color: var(--sage); }
.step-t { font-size: 1.35rem; margin: 8px 0 8px; }
.step-d { color: var(--ink-soft); font-size: .98rem; }
.bestil-cta { margin-top: 40px; }

/* ---------- contact ---------- */
.kontakt { background: var(--olive); color: #EFEDE2; }
.kontakt .eyebrow, .kontakt .eyebrow::before { color: #C9D2B5; background: #C9D2B5; }
.kontakt .eyebrow { background: transparent; }
.kontakt-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.kontakt-left h2 { color: #FBF9F3; font-size: clamp(2rem, 4vw, 3rem); margin: 14px 0 18px; }
.kontakt-lead { color: #DDE2D0; font-size: 1.1rem; max-width: 32em; }
.kontakt-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 16px; }
.kontakt-list li { display: flex; align-items: center; gap: 13px; color: #EAE7DA; font-size: 1.04rem; }
.kontakt-list a { border-bottom: 1px solid rgba(234,231,218,.35); }
.kontakt-list a:hover { border-bottom-color: #EAE7DA; }
.kontakt-list em { color: #BDC4AC; font-style: normal; font-size: .9rem; }
.ki { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; flex: none; color: #DCE3CC; }
.kontakt-card { background: var(--surface); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-lg); color: var(--ink); }
.kontakt-sent { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 8px; }
.kontakt-sent p { color: var(--ink-soft); }

/* ---------- cookie-banner ---------- */
.cookie-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 150;
  background: var(--olive-ink); color: #EFEDE2;
  padding: 18px 20px calc(18px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -4px 24px rgba(0,0,0,.18);
  animation: slideUp .35s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: none; } }
.cookie-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.cookie-text { flex: 1; min-width: 200px; }
.cookie-text strong { display: block; font-size: 1rem; margin-bottom: 6px; color: #FBF9F3; }
.cookie-text p { font-size: .88rem; color: #C9C5B4; line-height: 1.5; }
.cookie-text em { font-style: normal; font-weight: 700; color: #DCE3CC; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-link {
  background: none; border: none; cursor: pointer; padding: 0;
  color: #DCE3CC; text-decoration: underline; text-underline-offset: 2px;
  font-family: var(--body); font-size: inherit;
}
.cookie-link:hover { color: #fff; }

/* ---------- privatlivspolitik-modal ---------- */
.privacy-modal {
  background: var(--surface); border-radius: var(--radius-lg);
  max-width: 680px; width: 100%; max-height: 88vh;
  display: flex; flex-direction: column;
  box-shadow: 0 20px 60px rgba(54,51,43,.22);
  overflow: hidden;
}
.privacy-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 32px 18px; border-bottom: 1px solid var(--line); flex-shrink: 0;
}
.privacy-head h2 { font-size: 1.9rem; }
.privacy-body {
  overflow-y: auto; padding: 28px 32px 36px;
  display: flex; flex-direction: column; gap: 10px;
}
.privacy-date { font-size: .82rem; color: var(--ink-faint); font-style: italic; margin-bottom: 6px; }
.privacy-body h3 { font-family: var(--display); font-size: 1.25rem; margin-top: 16px; }
.privacy-body p, .privacy-body ul { color: var(--ink-soft); font-size: .97rem; line-height: 1.65; }
.privacy-body ul { padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.privacy-body a { color: var(--olive); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- consent-checkbox ---------- */
.consent-field {
  display: flex; align-items: flex-start; gap: 11px;
  cursor: pointer; padding: 14px 16px;
  background: var(--bg); border: 1.5px solid var(--line);
  border-radius: 11px; transition: border-color .18s;
}
.consent-field:has(input:checked) { border-color: var(--moss); }
.consent-field.err { border-color: var(--clay); }
.consent-field input[type="checkbox"] {
  width: 18px; height: 18px; min-width: 18px;
  accent-color: var(--olive); margin-top: 2px;
  cursor: pointer;
}
.consent-field span { font-size: .88rem; color: var(--ink-soft); line-height: 1.5; }
.consent-err { display: block; color: var(--clay); font-size: .78rem; font-style: normal; margin-top: 6px; }

/* ---------- footer ---------- */
.footer { background: var(--olive-ink); color: #D8D5C7; padding: 54px 0; text-align: center; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.footer .brand-text { color: #F3F1E8; }
.footer .brand-thin { color: #C9D2B5; }
.footer .brand-mark { background: rgba(255,255,255,.14); }
.footer-tag { color: #C7C4B5; }
.footer-fine { color: #9A9788; font-size: .86rem; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .kontakt-grid, .story-grid, .hero-a-grid, .hero-c-grid { grid-template-columns: 1fr; }
  .hero-c-collage { display: none; }
  .modal { grid-template-columns: 1fr; max-height: 92vh; overflow-y: auto; }
  .modal-img { min-height: 240px; }
}
@media (max-width: 720px) {
  .hdr-nav { display: none; }
  .hdr-inquiry span { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .card-name { font-size: 1.15rem; }
  .steps { grid-template-columns: 1fr; }
  .hero-a .hero-stamp, .hero-c .hero-stamp { right: 8px; }
}
