:root {
  --js-ink: #14110f;
  --js-ink-soft: #2a2320;
  --js-cream: #f7f2e9;
  --js-cream-deep: #efe6d6;
  --js-gold: #b8892f;
  --js-gold-soft: #d9b26a;
  --js-rose: #8c4a4f;
  --js-line: rgba(20, 17, 15, 0.14);
  --js-body: #2d2723;
  --js-white: #fffdf8;
  --js-shadow: 0 18px 48px rgba(20, 17, 15, 0.12);
  --js-shadow-sm: 0 8px 22px rgba(20, 17, 15, 0.08);
  --js-radius: 6px;
  --js-radius-lg: 14px;
  --js-serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --js-sans: "Inter", "Helvetica Neue", Arial, sans-serif;
}

body {
  font-family: var(--js-sans);
  color: var(--js-body);
  background-color: var(--js-cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
.js-display {
  font-family: var(--js-serif);
  color: var(--js-ink);
  letter-spacing: 0.01em;
  line-height: 1.18;
}

h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  font-weight: 600;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 600;
}

p {
  color: var(--js-body);
}

a {
  color: var(--js-rose);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover,
a:focus {
  color: var(--js-gold);
}

.js-eyebrow {
  font-family: var(--js-sans);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--js-gold);
}

.js-section {
  padding: clamp(3.5rem, 8vw, 7rem) 0;
  position: relative;
}

.js-section--tight {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
}

.js-section--dark {
  background-color: var(--js-ink);
  color: var(--js-white);
}

.js-section--dark h1,
.js-section--dark h2,
.js-section--dark h3 {
  color: var(--js-white);
}

.js-section--dark p,
.js-section--dark li {
  color: #ded7ce;
}

.js-bg-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--js-white);
}

.js-bg-image h1,
.js-bg-image h2,
.js-bg-image h3,
.js-bg-image p,
.js-bg-image li {
  color: var(--js-white);
}

.js-hero {
  min-height: 78vh;
  display: flex;
  align-items: center;
}

.js-hero--compact {
  min-height: 56vh;
}

.btn-js-gold,
.btn-js-outline,
.btn-js-ink {
  border-radius: 999px;
  padding: 0.85rem 1.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.92rem;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
}

.btn-js-gold {
  background-color: var(--js-gold);
  color: var(--js-ink);
}

.btn-js-gold:hover,
.btn-js-gold:focus {
  background-color: var(--js-gold-soft);
  color: var(--js-ink);
  transform: translateY(-2px);
}

.btn-js-outline {
  border-color: var(--js-white);
  color: var(--js-white);
  background: transparent;
}

.btn-js-outline:hover,
.btn-js-outline:focus {
  background-color: var(--js-white);
  color: var(--js-ink);
}

.btn-js-ink {
  background-color: var(--js-ink);
  color: var(--js-white);
}

.btn-js-ink:hover,
.btn-js-ink:focus {
  background-color: var(--js-ink-soft);
  color: var(--js-white);
  transform: translateY(-2px);
}

.js-card {
  background-color: var(--js-white);
  border: 1px solid var(--js-line);
  border-radius: var(--js-radius-lg);
  overflow: hidden;
  box-shadow: var(--js-shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.js-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--js-shadow);
}

.js-card__media {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: 300px;
  object-fit: cover;
  display: block;
}

.js-card__body {
  padding: 1.6rem 1.5rem 1.8rem;
}

.js-card__title {
  margin-bottom: 0.6rem;
}

.js-card__price {
  font-family: var(--js-serif);
  font-size: 1.35rem;
  color: var(--js-gold);
  font-weight: 600;
}

.js-rule {
  height: 1px;
  background-color: var(--js-line);
  border: 0;
  opacity: 1;
}

.js-rule--gold {
  background-color: var(--js-gold);
  width: 68px;
  height: 2px;
}

.js-quote {
  font-family: var(--js-serif);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-style: italic;
  color: var(--js-ink);
  line-height: 1.5;
}

.js-figure {
  margin: 0;
}

.js-figure img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--js-radius);
}

.js-figure figcaption {
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

.js-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.js-list-check {
  list-style: none;
  padding-left: 0;
}

.js-list-check li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: 0.7rem;
}

.js-list-check li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--js-gold);
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-size: 0.85rem;
}

.js-step {
  border-left: 2px solid var(--js-gold);
  padding: 0.2rem 0 0.2rem 1.4rem;
  margin-bottom: 1.8rem;
}

.js-step__num {
  font-family: var(--js-serif);
  font-size: 1.4rem;
  color: var(--js-gold);
  font-weight: 700;
  display: block;
}

.js-stat__value {
  font-family: var(--js-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--js-gold);
  font-weight: 700;
  display: block;
  line-height: 1;
}

.js-stat__label {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.js-marquee {
  display: flex;
  gap: 3rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.js-marquee img {
  height: 40px;
  width: auto;
  opacity: 0.85;
  filter: grayscale(1);
}

.js-accordion .accordion-item {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--js-line);
}

.js-accordion .accordion-button {
  background: transparent;
  color: var(--js-ink);
  font-family: var(--js-serif);
  font-size: 1.15rem;
  font-weight: 600;
  padding: 1.2rem 0;
  box-shadow: none;
}

.js-accordion .accordion-button:not(.collapsed) {
  color: var(--js-gold);
}

.js-accordion .accordion-body {
  padding: 0 0 1.4rem;
}

.js-section--dark .js-accordion .accordion-button {
  color: var(--js-white);
}

.js-section--dark .js-accordion .accordion-item {
  border-bottom-color: rgba(255, 253, 248, 0.18);
}

.site-header {
  background-color: var(--js-ink);
}

.site-header .nav-link {
  color: #ded7ce;
  font-weight: 500;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus,
.site-header .nav-link.active {
  color: var(--js-gold-soft);
}

.site-header .js-contact-line {
  color: #cdc5bb;
  font-size: 0.82rem;
}

.site-header--stuck {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.site-footer {
  background-color: var(--js-ink);
  color: #cfc7bd;
}

.site-footer h4 {
  color: var(--js-white);
}

.site-footer a {
  color: #cfc7bd;
}

.site-footer a:hover,
.site-footer a:focus {
  color: var(--js-gold-soft);
}

.site-footer .js-rule {
  background-color: rgba(255, 255, 255, 0.12);
}

.js-cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1080;
  background-color: var(--js-white);
  border-top: 3px solid var(--js-gold);
  box-shadow: 0 -14px 40px rgba(20, 17, 15, 0.18);
  padding: 1.25rem 0;
  transform: translateY(120%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-cookie.is-visible {
  transform: translateY(0);
}

.js-cookie__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.js-cookie__text {
  max-width: 640px;
  font-size: 0.92rem;
  color: var(--js-body);
}

.js-cookie__actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.js-cookie__link {
  color: var(--js-rose);
  text-decoration: underline;
  font-weight: 600;
}

.js-cookie__decline,
.js-cookie__accept {
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  font-weight: 600;
  font-size: 0.86rem;
  border: 1px solid var(--js-ink);
  cursor: pointer;
}

.js-cookie__decline {
  background: transparent;
  color: var(--js-ink);
}

.js-cookie__decline:hover,
.js-cookie__decline:focus {
  background-color: var(--js-cream-deep);
}

.js-cookie__accept {
  background-color: var(--js-gold);
  color: var(--js-ink);
  border-color: var(--js-gold);
}

.js-cookie__accept:hover,
.js-cookie__accept:focus {
  background-color: var(--js-gold-soft);
}

.form-control,
.form-select {
  border-radius: var(--js-radius);
  border: 1px solid var(--js-line);
  padding: 0.75rem 0.95rem;
  background-color: var(--js-white);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--js-gold);
  box-shadow: 0 0 0 0.2rem rgba(184, 137, 47, 0.25);
}

.form-label {
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

.js-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--js-radius);
}

.js-gallery-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.js-gallery-item:hover img {
  transform: scale(1.05);
}

.js-badge-gold {
  display: inline-block;
  background-color: rgba(184, 137, 47, 0.14);
  color: var(--js-gold);
  border: 1px solid rgba(184, 137, 47, 0.35);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.carousel-inner .js-slide {
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.js-map-frame {
  width: 100%;
  min-height: 420px;
  border: 0;
  border-radius: var(--js-radius-lg);
}

@media (max-width: 767.98px) {
  .js-hero {
    min-height: 62vh;
  }

  .js-cookie__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --- Contrast overrides (appended) --- */
/* Footer body text: the global `p { color: var(--js-body) }` rule wins over the
   inherited footer color, so restore readable light text on the dark footer. */
.site-footer p,
.site-footer .js-contact-line,
.site-footer li {
  color: #cfc7bd;
}

.site-footer strong {
  color: #fffdf8;
}

.site-footer h2,
.site-footer h3,
.site-footer h4 {
  color: #fffdf8;
}

/* Eyebrow labels on light backgrounds: darken the gold so the small
   uppercase text reaches the required 4.5:1 contrast ratio. */
.js-card .js-eyebrow,
.js-section:not(.js-section--dark):not(.js-bg-image) .js-eyebrow {
  color: #8a6420;
}

/* ===== QA contrast overrides (append-only) ===== */

/* Eyebrow labels: use a darker gold on light backgrounds for AA contrast */
.js-eyebrow {
  color: #6b4c11;
}

.js-section--dark .js-eyebrow,
.site-footer .js-eyebrow,
.site-header .js-eyebrow {
  color: var(--js-gold-soft);
}

/* Gold badges: darker text on light badge backgrounds */
.js-badge-gold {
  color: #6b4c11;
}

.js-section--dark .js-badge-gold,
.site-header .js-badge-gold {
  color: var(--js-gold-soft);
}

/* Card prices need darker gold on white */
.js-card__price {
  color: #6b4c11;
}

/* Outline buttons inside light cards must not be white-on-white */
.js-card .btn-js-outline {
  color: var(--js-ink);
  border-color: var(--js-ink);
}

.js-card .btn-js-outline:hover,
.js-card .btn-js-outline:focus {
  background-color: var(--js-ink);
  color: var(--js-white);
}

/* Links on dark backgrounds: light warm tone instead of the rose brand colour */
.js-section--dark a:not(.btn-js-gold):not(.btn-js-outline):not(.btn-js-ink),
.site-footer a {
  color: #e6c98d;
}

.js-section--dark a:not(.btn-js-gold):not(.btn-js-outline):not(.btn-js-ink):hover,
.js-section--dark a:not(.btn-js-gold):not(.btn-js-outline):not(.btn-js-ink):focus,
.site-footer a:hover,
.site-footer a:focus {
  color: var(--js-white);
}

/* Footer text nodes were inheriting the dark body colour on dark ink */
.site-footer p,
.site-footer li,
.site-footer .js-contact-line {
  color: #cfc7bd;
}

.site-footer p strong {
  color: var(--js-white);
}

/* =========================================================
   QA overrides: text contrast on light and dark surfaces
   ========================================================= */

/* Gold text on light surfaces must be dark enough (>= 4.5:1) */
.js-eyebrow {
  color: #7a5a12;
}

.js-badge-gold {
  color: #7a5a12;
  border-color: rgba(122, 90, 18, 0.42);
}

/* ...but on dark surfaces the gold text stays light */
.site-header .js-eyebrow,
.site-footer .js-eyebrow,
.js-section--dark .js-eyebrow,
.js-bg-image .js-eyebrow {
  color: var(--js-gold-soft);
}

.js-badge-gold.js-badge-gold--on-dark,
.js-section--dark .js-badge-gold--on-dark {
  color: var(--js-gold-soft);
}

/* Links inside dark sections (buttons keep their own colors) */
.js-section--dark a:not([class*="btn-"]) {
  color: var(--js-gold-soft);
}

.js-section--dark a:not([class*="btn-"]):hover,
.js-section--dark a:not([class*="btn-"]):focus {
  color: var(--js-white);
}

/* Cards keep a light surface inside dark sections -> dark text inside them */
.js-section--dark .js-card p,
.js-section--dark .js-card li,
.js-section--dark .js-card strong,
.js-section--dark .js-card span,
.js-section--dark .js-card h1,
.js-section--dark .js-card h2,
.js-section--dark .js-card h3,
.js-section--dark .js-card h4,
.js-section--dark .js-card .js-card__title {
  color: var(--js-ink);
}

.js-section--dark .js-card .js-eyebrow {
  color: #7a5a12;
}

.js-section--dark .js-card a {
  color: var(--js-rose);
}

.js-section--dark .js-card a:hover,
.js-section--dark .js-card a:focus {
  color: var(--js-gold);
}

/* Footer: body-level <p> rule made footer text nearly invisible on the dark bg */
.site-footer p,
.site-footer span,
.site-footer li,
.site-footer strong {
  color: #cfc7bd;
}

.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5 {
  color: var(--js-white);
}

/* Footer logo must never be covered */
.site-footer img,
.site-footer .js-logo,
.site-footer a[href="/"] {
  position: relative;
  z-index: 2;
  filter: none;
}

/* Small mobile safety: keep hero clear of the header bar */
@media (max-width: 575.98px) {
  .js-hero {
    padding-top: 1.5rem;
  }
}

/* =========================================================
   QA fixes (contacts page): contrast + link colours
   ========================================================= */

/* Outline buttons placed on LIGHT sections would render white-on-cream.
   Keep white outline styling only on dark surfaces/heroes; elsewhere use ink. */
.js-section:not(.js-section--dark):not(.js-bg-image) .btn-js-outline {
  color: var(--js-ink);
  border-color: var(--js-ink);
}

.js-section:not(.js-section--dark):not(.js-bg-image) .btn-js-outline:hover,
.js-section:not(.js-section--dark):not(.js-bg-image) .btn-js-outline:focus {
  background-color: var(--js-ink);
  color: var(--js-white);
}

/* Accordion copy inside dark sections was inheriting the dark body colour
   on the near-black surface. Restore the light warm tone. */
.js-section--dark .js-accordion .accordion-body,
.js-section--dark .accordion-body {
  color: #ded7ce;
}

/* Links inside cards within dark sections: the earlier generic dark-section
   link rule had higher specificity and washed the text out. Force brand rose
   (readable on the light card surface) while excluding buttons. */
.js-section--dark .js-card a:not(.btn-js-gold):not(.btn-js-outline):not(.btn-js-ink) {
  color: var(--js-rose);
}

.js-section--dark .js-card a:not(.btn-js-gold):not(.btn-js-outline):not(.btn-js-ink):hover,
.js-section--dark .js-card a:not(.btn-js-gold):not(.btn-js-outline):not(.btn-js-ink):focus {
  color: var(--js-gold);
}

/* Gold buttons inside dark-section cards must keep the dark ink label. */
.js-section--dark .js-card a.btn-js-gold,
.js-section--dark .js-card a.btn-js-gold:hover,
.js-section--dark .js-card a.btn-js-gold:focus {
  color: var(--js-ink);
}

/* =========================================================
   QA fix (price page): accordion heading contrast
   The open accordion button used the brand gold (#b8892f) on the
   cream surface, which only reached 2.83:1. Use a darker gold so
   the serif heading label clears 4.5:1 on light sections.
   ========================================================= */
.js-accordion .accordion-button,
.js-accordion .accordion-button:not(.collapsed) {
  color: #6b4c11;
}

.js-accordion .accordion-button:hover,
.js-accordion .accordion-button:focus {
  color: #523a0d;
}

/* Dark surfaces keep their light gold label. */
.js-section--dark .js-accordion .accordion-button,
.js-section--dark .js-accordion .accordion-button:not(.collapsed) {
  color: var(--js-gold-soft);
}

.js-section--dark .js-accordion .accordion-button:hover,
.js-section--dark .js-accordion .accordion-button:focus {
  color: var(--js-white);
}

/* =========================================================
   QA fixes (homepage): contrast on dark image sections and
   gold text on light surfaces
   ========================================================= */

/* Sections that only had a background-image (no background-color) were
   measured against the cream body colour, so white text appeared to sit on
   a light surface. Give them a solid dark fallback behind the image. */
.js-bg-image {
  background-color: var(--js-ink);
}

/* Gold text on the cream background must be darkened to reach >= 4.5:1 */
.js-step__num {
  color: #7a5a12;
}

.js-accordion .accordion-button:not(.collapsed) {
  color: #7a5a12;
}

/* =========================================================
   QA fix (Trauring-Manufaktur page): contrast corrections
   ========================================================= */

/* The hero only carried a background-image (with an alpha gradient), so its
   white copy was measured against the light body colour. Give the hero an
   explicit dark surface so the light text has a real, solid backdrop. */
.js-hero {
  background-color: var(--js-ink);
}

/* Eyebrow labels on light surfaces: the earlier generic rule resolved to
   #8a6420 (only 4.32:1 on the deeper cream sections). Use a darker gold so
   the small uppercase text clears 4.5:1 on both cream tones. */
.js-section:not(.js-section--dark):not(.js-bg-image) .js-eyebrow {
  color: #6b4c11;
}

/* ...but the hero now sits on the dark ink surface, so its eyebrow must stay
   light gold there (placed after the rule above to win at equal specificity). */
.js-section.js-hero:not(.js-section--dark) .js-eyebrow {
  color: var(--js-gold-soft);
}

/* Pull-quote inside the dark "Erfahrung" section inherited the ink text
   colour and vanished (1:1). Restore light copy on the dark surface. */
.js-section--dark .js-quote,
.js-section--dark blockquote.js-quote {
  color: var(--js-white);
}

/* =========================================================
   QA fixes (verlobungsring-design-s7k): hero background
   fallback, quote + eyebrow contrast
   ========================================================= */

/* The hero only carried a background-image (no colour), so text was measured
   against the cream body and appeared white-on-light. Add a solid dark
   fallback behind the image. */
.js-section.js-hero {
  background-color: var(--js-ink);
}

/* Small gold eyebrow labels on light sections: the earlier
   `.js-section:not(...) .js-eyebrow` rule (#8a6420) only reached 4.32:1 on the
   deep-cream surface. Repeat it later with a darker gold to clear 4.5:1. */
.js-section:not(.js-section--dark):not(.js-bg-image) .js-eyebrow {
  color: #6b4c11;
}

/* ...but keep a light gold eyebrow on the dark hero image surface. */
.js-section.js-hero .js-eyebrow,
.js-section.js-hero:not(.js-section--dark):not(.js-bg-image) .js-eyebrow {
  color: var(--js-gold-soft);
}

/* Blockquote inside the dark "Stein, Fassung, Profil" section inherited the
   dark ink quote colour on the near-black surface. */
.js-section--dark .js-quote {
  color: #f7f2e9;
}

.navbar-toggler{
  color: #fff !important;
}