/*
 * Huberhof content components: FAQ, guide hub and articles, facts box,
 * price table, related links, call to action.
 *
 * Generated pages use it via scripts/build-pages.mjs. Existing pages may use the
 * same classes; include this file after css/private-hweb.webflow.css.
 *
 * Rules: every class starts with "hh-", no global element selectors, light design
 * built from the site's own palette (cream, burlywood, olive, grey).
 *
 * Typography is copied 1:1 from the existing Webflow pages (private-hweb.webflow.css),
 * so that new blocks do not stand out:
 *   running text   "Helveticaneue 02", 16px / 35px, #918585; 15px from 767px down
 *                  (like p.paragraph-5, p.paragraph-10)
 *   page title     Montez, 60px / 72px, white, letter-spacing 0.5px; weight 600 between
 *                  480 and 767px; 35px / 42px from 479px down (like h1.white)
 *   section title  Montez, 50px / 55px, #918585, letter-spacing 0.5px; 32px / 35px and
 *                  weight 600 from 767px down, weight 400 again from 479px down
 *                  (like h2.heading-7, h2.heading-centred)
 *   card title     Montez, 40px / 45px, #918585; 32px from 991px down, line-height 34px
 *                  from 767px down (like h3.heading in the apartment cards)
 *   links in text  colour of the text, underlined (like the links in existing paragraphs)
 *   on burlywood   white (like the header bands of the existing pages)
 *   labels         "Helveticaneue 01", 14px, upper case (like the navigation, .nav-link)
 *   button         like .button-2: #a8a86d, hover #bebb83, 14px / 24px, 0.5px, 15px 25px
 * "Helveticaneue 02" is loaded in one weight only, so bold looks like regular: emphasis
 * uses capitals (like "KINDERERMÄSSIGUNGEN:" on the price page), not weight.
 * The breakpoints are Webflow's: 991px, 767px, 479px.
 */

:root {
  --hh-cream: #fffcf4;
  --hh-cream-2: #f7f4ea;
  --hh-white: #ffffff;
  --hh-line: #e6dec9;
  --hh-line-strong: #d6ccb4;
  --hh-burly: #d8c48d;
  --hh-olive: #a8a86d;
  --hh-olive-light: #b3b378;
  --hh-olive-deep: #76763f;
  --hh-khaki: #bebb83;
  --hh-green-dark: #3f463e;
  --hh-grey: #918585;
  --hh-table-head: #7d7371;
  --hh-on-burly: #ffffff;

  /* Fonts exactly as declared by the existing pages */
  --hh-script: Montez, sans-serif;
  --hh-text: "Helveticaneue 02", sans-serif;
  --hh-nav: "Helveticaneue 01", sans-serif;

  /* Type scale of the existing pages (desktop values, see media queries below) */
  --hh-fs: 16px;
  --hh-lh: 35px;
  --hh-lh-compact: 27px;
  --hh-fs-small: 14px;
  --hh-h1-fs: 60px;
  --hh-h1-lh: 72px;
  --hh-h1-w: 400;
  --hh-h2-fs: 50px;
  --hh-h2-lh: 55px;
  --hh-h2-w: 400;
  --hh-h3-fs: 40px;
  --hh-h3-lh: 45px;
  --hh-heading-ls: 0.5px;

  --hh-measure: 650px;
  --hh-wide: 1080px;
  --hh-gutter: 80px;
  --hh-anchor-offset: 150px;
}

/* ------------------------------------------------------------------ */
/* Base for every component (neutralises the site's global p/a/li/h2) */

.hh-page,
.hh-content,
.hh-section,
.hh-glance,
.hh-facts,
.hh-faq,
.hh-cards,
.hh-related,
.hh-cta-box,
.hh-table-wrap,
.hh-price-table {
  box-sizing: border-box;
  text-align: left;
}

.hh-page *,
.hh-content *,
.hh-glance *,
.hh-facts *,
.hh-faq *,
.hh-cards *,
.hh-related *,
.hh-cta-box *,
.hh-price-table * {
  box-sizing: border-box;
}

.hh-page {
  display: block;
  background-color: var(--hh-cream);
  color: var(--hh-grey);
  font-family: var(--hh-text);
  padding-bottom: 104px;
}

/* ------------------------------------------------------------------ */
/* Header band: burlywood with the site's flower pattern, white text   */
/* like the header bands of the existing pages                         */

.hh-hero {
  background-color: var(--hh-burly);
  background-image: url("../images/Fleur-Flower-Pattern.png");
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--hh-on-burly);
}

.hh-hero-inner {
  max-width: calc(var(--hh-measure) + 2 * var(--hh-gutter));
  margin: 0 auto;
  padding: 72px var(--hh-gutter) 64px;
}

.hh-page-hub .hh-hero-inner {
  max-width: calc(var(--hh-wide) + 2 * var(--hh-gutter));
}

.hh-hero-has-image .hh-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  max-width: none;
  min-height: 480px;
  padding: 0;
}

.hh-hero-media {
  position: relative;
  min-height: 360px;
  margin: 0;
  overflow: hidden;
}

.hh-hero-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.hh-hero-has-image .hh-hero-text {
  align-self: center;
  max-width: 660px;
  padding: 64px clamp(32px, 5vw, 80px);
}

/* From 992px the band has the geometry of the existing split header bands
   (.section.green.hero with .hero-split-div-right): 550px high, text 38px from the
   image edge, text column at most 582px wide. */
@media screen and (min-width: 992px) {
  .hh-hero-has-image .hh-hero-inner {
    min-height: 550px;
  }

  .hh-hero-has-image .hh-hero-text {
    max-width: 700px;
    padding: 64px 80px 64px 38px;
  }
}

/* Same as h1.white of the existing pages */
.hh-title {
  margin: 0;
  color: var(--hh-on-burly);
  font-family: var(--hh-script);
  font-size: var(--hh-h1-fs);
  font-weight: var(--hh-h1-w);
  letter-spacing: var(--hh-heading-ls);
  line-height: var(--hh-h1-lh);
  text-wrap: balance;
}

.hh-eyebrow {
  margin: 0 0 14px;
  color: var(--hh-on-burly);
  font-family: var(--hh-text);
  font-size: var(--hh-fs-small);
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 24px;
  text-align: left;
  text-transform: uppercase;
}

.hh-meta {
  margin: 22px 0 0;
  color: var(--hh-on-burly);
  font-family: var(--hh-text);
  font-size: var(--hh-fs);
  font-weight: 400;
  line-height: 1.8;
  text-align: left;
}

.hh-meta time {
  white-space: nowrap;
}

.hh-meta-sep {
  padding: 0 2px;
}

/* Breadcrumb, separators drawn with CSS (no characters in the text) */

.hh-breadcrumb {
  margin: 0 0 26px;
}

/* Inline flow instead of flex: a long last entry wraps like text and every line starts
   flush left. The separator hangs on the end of the previous entry. */
.hh-breadcrumb ol {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--hh-on-burly);
  font-family: var(--hh-text);
  font-size: var(--hh-fs-small);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.8;
}

.hh-breadcrumb li {
  display: inline;
  margin: 0;
  font-size: inherit;
}

.hh-breadcrumb li:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 11px 0 8px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  opacity: 0.85;
  vertical-align: 0.12em;
  transform: rotate(45deg);
}

.hh-breadcrumb a {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.hh-breadcrumb a:hover {
  color: inherit;
  text-decoration-thickness: 2px;
}

/* ------------------------------------------------------------------ */
/* Content column                                                      */

.hh-content {
  width: 100%;
  max-width: calc(var(--hh-measure) + 2 * var(--hh-gutter));
  margin: 0 auto;
  padding: 56px var(--hh-gutter) 0;
  color: var(--hh-grey);
  font-family: var(--hh-text);
  font-size: var(--hh-fs);
  font-weight: 400;
  line-height: var(--hh-lh);
  overflow-wrap: break-word;
}

.hh-content-wide {
  max-width: calc(var(--hh-wide) + 2 * var(--hh-gutter));
}

.hh-content-wide > :not(.hh-cards) {
  max-width: var(--hh-measure);
}

/* Generic element rules use :where() so that they stay at single class
   specificity: component classes further down override them by order, while
   they still beat the site's global p/a/h2 rules. */
.hh-content :where(p),
.hh-section :where(p),
.hh-glance :where(p),
.hh-faq :where(p),
.hh-cta-box :where(p) {
  margin: 0 0 1em;
  color: inherit;
  font-family: var(--hh-text);
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-align: left;
  text-wrap: pretty;
}

.hh-content :where(strong),
.hh-section :where(strong),
.hh-faq :where(strong) {
  color: inherit;
  font-weight: 700;
}

/* "Helveticaneue 02" exists in one weight only, so bold looks like regular. Run-in labels
   at the start of a list item are set in capitals instead, like "KINDERERMÄSSIGUNGEN:" on
   the price page. */
.hh-list li > strong:first-child {
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Text links: colour of the text and underlined, like the links in the existing
   paragraphs (buttons and cards have their own styles) */

.hh-content :where(a),
.hh-section :where(a),
.hh-faq :where(a),
.hh-facts :where(a),
.hh-cta-box :where(p a) {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.hh-content :where(a):hover,
.hh-section :where(a):hover,
.hh-faq :where(a):hover,
.hh-facts :where(a):hover,
.hh-cta-box :where(p a):hover {
  color: inherit;
  text-decoration-thickness: 2px;
}

/* Phone numbers never break across lines */
.hh-page a[href^="tel:"],
.hh-content a[href^="tel:"] {
  white-space: nowrap;
}

/* Visible keyboard focus everywhere (dark outline: visible on cream and on burlywood) */

.hh-page a:focus-visible,
.hh-page summary:focus-visible,
.hh-content a:focus-visible,
.hh-faq summary:focus-visible,
.hh-related a:focus-visible,
.hh-cta:focus-visible {
  outline: 2px solid var(--hh-green-dark);
  outline-offset: 3px;
  border-radius: 2px;
}

.hh-card:focus-visible {
  outline: 3px solid var(--hh-green-dark);
  outline-offset: 4px;
}

/* Intro paragraph: same as the running text, only the spacing sets it apart */
.hh-lead {
  margin: 0 0 44px;
  color: var(--hh-grey);
  font-family: var(--hh-text);
  font-size: var(--hh-fs);
  font-weight: 400;
  line-height: var(--hh-lh);
  text-align: left;
}

.hh-hero-caption {
  margin: -28px 0 40px;
  color: var(--hh-grey);
  font-size: var(--hh-fs-small);
  line-height: var(--hh-lh-compact);
}

/* ------------------------------------------------------------------ */
/* Sections                                                            */

.hh-section {
  margin: 56px 0 0;
  scroll-margin-top: var(--hh-anchor-offset);
}

.hh-content > .hh-section:first-child,
.hh-lead + .hh-section,
.hh-toc + .hh-section {
  margin-top: 40px;
}

/* Same as h2.heading-7 / h2.heading-centred of the existing pages, including the 40px
   below (30px from 767px down) */
.hh-section :where(h2) {
  margin: 0 0 40px;
  color: var(--hh-grey);
  font-family: var(--hh-script);
  font-size: var(--hh-h2-fs);
  font-weight: var(--hh-h2-w);
  letter-spacing: var(--hh-heading-ls);
  line-height: var(--hh-h2-lh);
  text-align: left;
  text-wrap: balance;
}

/* Sub heading inside a section: like the upper case headings of the price page
   (h2.paragraph-2.black, "KINDERERMÄSSIGUNGEN") */
.hh-section :where(h3) {
  margin: 28px 0 8px;
  color: var(--hh-grey);
  font-family: var(--hh-text);
  font-size: var(--hh-fs);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.8;
  text-transform: uppercase;
}

.hh-list {
  margin: 0 0 1em;
  padding: 0;
  list-style: none;
}

.hh-list li {
  position: relative;
  margin: 0 0 5px;
  padding-left: 28px;
  font-size: inherit;
  line-height: var(--hh-lh);
}

/* Bullet centred on the first line (line-height 35px) */
.hh-list li::before {
  content: "";
  position: absolute;
  top: calc(var(--hh-lh) / 2 - 3.5px);
  left: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--hh-olive);
}

.hh-figure {
  margin: 32px 0 0;
}

.hh-figure-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
}

.hh-figcaption {
  margin-top: 10px;
  color: var(--hh-grey);
  font-family: var(--hh-text);
  font-size: var(--hh-fs-small);
  line-height: var(--hh-lh-compact);
  text-align: left;
}

/* ------------------------------------------------------------------ */
/* Facts box ("Auf einen Blick")                                       */

.hh-glance {
  margin: 0 0 52px;
  padding: 26px 32px 8px;
  border: 1px solid var(--hh-line);
  background-color: var(--hh-cream-2);
  scroll-margin-top: var(--hh-anchor-offset);
}

/* Box and link list titles: section titles like the existing pages */
.hh-glance-title,
.hh-related-title {
  margin: 0 0 14px;
  padding: 0;
  color: var(--hh-grey);
  font-family: var(--hh-script);
  font-size: var(--hh-h2-fs);
  font-weight: var(--hh-h2-w);
  letter-spacing: var(--hh-heading-ls);
  line-height: var(--hh-h2-lh);
  text-align: left;
  text-transform: none;
}

/* Columns adapt to the available width (2 in the article column, 1 in narrow
   sidebars). Row separators are bottom borders; the last row's border is
   clipped by overflow: hidden, so it works for any number of columns. */
.hh-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  column-gap: 32px;
  margin: 0 0 32px;
  padding: 0 24px;
  overflow: hidden;
  border: 1px solid var(--hh-line);
  background-color: var(--hh-cream-2);
}

.hh-glance > .hh-facts {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}

.hh-glance > .hh-glance-title {
  margin-bottom: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hh-line);
}

.hh-facts > div {
  min-width: 0;
  margin-bottom: -1px;
  padding: 14px 0 15px;
  border-bottom: 1px solid var(--hh-line);
}

/* Label: like the navigation of the existing pages (.nav-link: "Helveticaneue 01", 14px,
   upper case), so it stands apart from the value in "Helveticaneue 02" */
.hh-facts dt {
  margin: 0 0 2px;
  color: var(--hh-grey);
  font-family: var(--hh-nav);
  font-size: var(--hh-fs-small);
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 24px;
  text-transform: uppercase;
}

/* Value: running text, compact line height */
.hh-facts dd {
  margin: 0;
  color: var(--hh-grey);
  font-family: var(--hh-text);
  font-size: var(--hh-fs);
  font-weight: 400;
  line-height: var(--hh-lh-compact);
}

/* Every facts box: at most two columns (the column minimum is just under half the width),
   and a last entry on its own spans the full row instead of leaving an empty cell next to it. */
.hh-facts {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, max(230px, calc((100% - 33px) / 2))), 1fr));
}

.hh-facts > div:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

/* Labels of one row share their height, so the values start on the same line even when one
   label needs two lines. Older browsers keep the plain stacked layout. */
@supports (grid-template-rows: subgrid) {
  .hh-glance > .hh-facts > div {
    display: grid;
    grid-row: span 2;
    grid-template-rows: subgrid;
  }

  /* A one line label next to a two line label sits directly above its value */
  .hh-glance > .hh-facts dt {
    align-self: end;
  }
}

/* ------------------------------------------------------------------ */
/* Topic chips (FAQ)                                                   */

.hh-toc {
  margin: -8px 0 0;
}

.hh-toc ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hh-toc li {
  margin: 0;
}

.hh-toc a {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid var(--hh-olive);
  border-radius: 0;
  background-color: transparent;
  color: var(--hh-grey);
  font-family: var(--hh-text);
  font-size: var(--hh-fs-small);
  font-weight: 400;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s;
}

.hh-toc a:hover {
  border-color: var(--hh-olive-deep);
  background-color: rgba(168, 168, 109, 0.16);
  color: var(--hh-grey);
}

/* ------------------------------------------------------------------ */
/* FAQ accordion                                                       */

.hh-faq {
  scroll-margin-top: var(--hh-anchor-offset);
}

.hh-faq-list {
  border-top: 1px solid var(--hh-line-strong);
}

.hh-faq-item {
  border-bottom: 1px solid var(--hh-line-strong);
  scroll-margin-top: var(--hh-anchor-offset);
}

/* Question: same font, size and colour as the running text; the rule, the plus sign and
   the tighter line height set it apart */
.hh-faq-item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  color: var(--hh-grey);
  cursor: pointer;
  font-family: var(--hh-text);
  font-size: var(--hh-fs);
  font-weight: 700;
  line-height: var(--hh-lh-compact);
  list-style: none;
  text-align: left;
}

.hh-faq-item > summary::-webkit-details-marker {
  display: none;
}

.hh-faq-item > summary::marker {
  content: "";
}

/* Plus that turns into a minus, drawn with two gradient bars */
.hh-faq-item > summary::after {
  content: "";
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--hh-olive);
  border-radius: 50%;
  background:
    linear-gradient(var(--hh-olive-deep), var(--hh-olive-deep)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--hh-olive-deep), var(--hh-olive-deep)) center / 1.5px 12px no-repeat;
  transition: background-size 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.hh-faq-item > summary:hover {
  color: var(--hh-grey);
}

.hh-faq-item > summary:hover::after {
  border-color: var(--hh-olive-deep);
  background-color: rgba(168, 168, 109, 0.16);
}

.hh-faq-item[open] > summary::after {
  border-color: var(--hh-olive-deep);
  background-color: var(--hh-cream-2);
  background-size: 12px 1.5px, 1.5px 0;
}

/* Answer: running text */
.hh-faq-answer {
  padding: 0 58px 22px 0;
  color: var(--hh-grey);
  font-family: var(--hh-text);
  font-size: var(--hh-fs);
  font-weight: 400;
  line-height: var(--hh-lh);
}

.hh-faq-answer > :last-child {
  margin-bottom: 0;
}

/* ------------------------------------------------------------------ */
/* Cards (guide overview)                                              */

.hh-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hh-cards > li {
  display: flex;
  margin: 0;
}

.hh-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  border: 0;
  background-color: var(--hh-cream-2);
  color: var(--hh-grey);
  font-family: var(--hh-text);
  font-size: inherit;
  font-weight: 400;
  line-height: inherit;
  text-decoration: none;
}

.hh-card:hover {
  color: var(--hh-grey);
}

.hh-card-media {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background-color: var(--hh-cream-2);
}

.hh-card-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hh-card:hover .hh-card-img {
  transform: scale(1.03);
}

.hh-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 24px 28px 28px;
}

/* Small drawn arrow as a "read more" cue (inline SVG, no text character) */
.hh-card-body::after {
  content: "";
  display: block;
  width: 30px;
  height: 12px;
  margin-top: auto;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='12' viewBox='0 0 30 12'%3E%3Cpath d='M0 6h28M23 1l5 5-5 5' fill='none' stroke='%2376763f' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") left center / 30px 12px no-repeat;
  transition: transform 0.25s ease;
}

.hh-card:hover .hh-card-body::after {
  transform: translateX(4px);
}

/* Same as the card titles of the existing apartment cards (h3.heading) */
.hh-card-title {
  margin: 0;
  color: var(--hh-grey);
  font-family: var(--hh-script);
  font-size: var(--hh-h3-fs);
  font-weight: 400;
  letter-spacing: var(--hh-heading-ls);
  line-height: var(--hh-h3-lh);
  text-align: left;
}

.hh-card-text {
  display: block;
  color: var(--hh-grey);
  font-family: var(--hh-text);
  font-size: var(--hh-fs);
  font-weight: 400;
  line-height: var(--hh-lh-compact);
}

/* ------------------------------------------------------------------ */
/* Price table (replaces the old image table)                          */

.hh-table-wrap {
  width: 100%;
  margin: 24px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.hh-price-table {
  width: 100%;
  margin: 0 0 24px;
  border: 1px solid var(--hh-line-strong);
  border-collapse: collapse;
  background-color: var(--hh-cream);
  color: var(--hh-grey);
  font-family: var(--hh-text);
  font-size: var(--hh-fs);
  font-weight: 400;
  line-height: 1.5;
}

.hh-table-wrap > .hh-price-table {
  margin: 0;
}

/* Caption: like the upper case headings of the price page (h2.paragraph-2.black) */
.hh-price-table caption {
  padding: 0 0 10px;
  caption-side: top;
  color: var(--hh-grey);
  font-family: var(--hh-text);
  font-size: var(--hh-fs);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.8;
  text-align: left;
  text-transform: uppercase;
}

.hh-price-table thead th {
  padding: 12px 16px;
  background-color: var(--hh-table-head);
  color: var(--hh-white);
  font-family: var(--hh-text);
  font-size: var(--hh-fs-small);
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 1.35;
  text-align: left;
  vertical-align: bottom;
}

.hh-price-table tbody th,
.hh-price-table td {
  padding: 13px 16px;
  border-top: 1px solid var(--hh-line);
  vertical-align: top;
}

/* Row labels (seasons, apartments): running text like the notes below the table */
.hh-price-table tbody th {
  color: var(--hh-grey);
  font-family: var(--hh-text);
  font-size: var(--hh-fs);
  font-weight: 700;
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
}

.hh-price-table td {
  color: var(--hh-grey);
  font-variant-numeric: tabular-nums;
  font-weight: 400;
  text-align: right;
  white-space: nowrap;
}

.hh-price-table td:first-child {
  text-align: left;
  white-space: normal;
}

.hh-price-table thead th:not(:first-child) {
  text-align: right;
}

.hh-price-table tbody tr:nth-child(even) {
  background-color: #fbf9f3;
}

/* Rows stay even when a label or a head cell needs two lines. */
.hh-price-table tbody th,
.hh-price-table tbody td {
  vertical-align: middle;
}

/* Season labels on one line where the table column is wide enough (desktop). */
@media screen and (min-width: 1280px) {
  .hh-price-table tbody th {
    white-space: nowrap;
  }

  /* Tables in guide articles have long row labels (places, routes): they wrap instead of
     pushing the table wider than the text column. */
  .hh-section .hh-price-table tbody th {
    white-space: normal;
  }
}

/* Apartment comparison on the apartment pages: the caption and the two notes sit on the
   burlywood band, so they are white like the band's heading "Wohnen mit Charme". */
#wohnungen-vergleich .hh-price-table caption {
  color: var(--hh-on-burly);
}

#wohnungen-intro,
#wohnungen-faq {
  color: var(--hh-on-burly);
  font-family: var(--hh-text);
  font-size: var(--hh-fs);
  font-weight: 400;
  line-height: var(--hh-lh);
}

/* ------------------------------------------------------------------ */
/* Related links                                                       */

.hh-related {
  margin: 64px 0 0;
  padding: 30px 0 0;
  border-top: 1px solid var(--hh-line-strong);
}

.hh-related > .hh-related-title {
  margin-bottom: 40px;
}

.hh-related ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hh-related li {
  margin: 0 0 8px;
}

.hh-related a {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  color: var(--hh-grey);
  font-family: var(--hh-text);
  font-size: var(--hh-fs);
  font-weight: 400;
  line-height: var(--hh-lh-compact);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.hh-related a::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-top: 1.5px solid var(--hh-olive-deep);
  border-right: 1.5px solid var(--hh-olive-deep);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}

.hh-related a:hover {
  color: var(--hh-grey);
  text-decoration-thickness: 2px;
}

.hh-related a:hover::before {
  transform: translate(3px, -2px) rotate(45deg);
}

/* ------------------------------------------------------------------ */
/* Call to action                                                      */

.hh-cta-box {
  margin: 64px 0 0;
  padding: 40px 32px 44px;
  border: 1px solid var(--hh-line);
  background-color: var(--hh-cream-2);
  text-align: center;
}

.hh-related + .hh-cta-box {
  margin-top: 48px;
}

.hh-cta-box .hh-cta-title {
  margin: 0 0 12px;
  color: var(--hh-grey);
  font-family: var(--hh-script);
  font-size: var(--hh-h2-fs);
  font-weight: var(--hh-h2-w);
  letter-spacing: var(--hh-heading-ls);
  line-height: var(--hh-h2-lh);
  text-align: center;
}

.hh-cta-box .hh-cta-intro {
  max-width: 520px;
  margin: 0 auto 26px;
  color: var(--hh-grey);
  font-size: var(--hh-fs);
  line-height: var(--hh-lh);
  text-align: center;
}

.hh-cta-row {
  margin: 56px 0 0;
  text-align: left;
}

.hh-related + .hh-cta-row {
  margin-top: 40px;
}

/* Same as the existing buttons (.button-2 with "Helveticaneue 02", e.g. .button-2.centreed) */
.hh-cta {
  display: inline-block;
  min-width: 200px;
  padding: 15px 25px;
  border-radius: 0;
  background-color: var(--hh-olive);
  color: var(--hh-white);
  cursor: pointer;
  font-family: var(--hh-text);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  line-height: 24px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.2s ease;
}

.hh-cta:hover {
  background-color: var(--hh-khaki);
  color: var(--hh-white);
}

/* ------------------------------------------------------------------ */
/* Responsive (Webflow breakpoints of the existing pages)              */

@media screen and (max-width: 991px) {
  :root {
    --hh-gutter: 72px;
    /* h3.heading: 32px from 991px down */
    --hh-h3-fs: 32px;
  }

  .hh-hero-has-image .hh-hero-inner {
    min-height: 420px;
  }
}

@media screen and (max-width: 767px) {
  :root {
    /* Between 480 and 767px the site's contact icons sit fixed on the left edge. */
    --hh-gutter: 72px;
    --hh-anchor-offset: 96px;
    /* p, li: 15px; h1: weight 600; h2: 32px / 35px, weight 600; h3: line-height 34px */
    --hh-fs: 15px;
    --hh-h1-w: 600;
    --hh-h2-fs: 32px;
    --hh-h2-lh: 35px;
    --hh-h2-w: 600;
    --hh-h3-lh: 34px;
  }

  .hh-hero-inner {
    padding-top: 48px;
    padding-bottom: 44px;
  }

  .hh-hero-has-image .hh-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding: 0;
  }

  .hh-hero-media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .hh-hero-has-image .hh-hero-text {
    max-width: none;
    padding: 36px var(--hh-gutter) 40px;
  }

  .hh-content {
    padding-top: 40px;
  }

  .hh-lead {
    margin-bottom: 36px;
  }

  .hh-section {
    margin-top: 48px;
  }

  .hh-glance {
    padding: 22px 20px 6px;
  }

  .hh-facts {
    padding: 0 20px;
  }

  .hh-cards {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .hh-card-body {
    padding: 20px 22px 24px;
  }

  .hh-faq-item > summary {
    gap: 16px;
    padding: 18px 0;
  }

  .hh-faq-item > summary::after {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
  }

  .hh-faq-answer {
    padding-right: 0;
  }

  .hh-cta-box {
    padding: 32px 20px 36px;
  }

  .hh-toc ul {
    gap: 8px 6px;
  }

  .hh-toc a {
    padding: 6px 11px;
    letter-spacing: 0;
  }

  .hh-section :where(h2),
  .hh-related > .hh-related-title {
    margin-bottom: 30px;
  }

  /* Price tables: tighter cells, prices may wrap */
  .hh-price-table thead th,
  .hh-price-table tbody th,
  .hh-price-table td {
    padding: 10px 8px;
  }

  .hh-price-table thead th:first-child,
  .hh-price-table tbody th {
    padding-left: 12px;
  }

  .hh-price-table thead th:last-child,
  .hh-price-table td:last-child {
    padding-right: 12px;
  }

  .hh-price-table thead th {
    letter-spacing: 0;
  }

  /* Only long season names ("Zwischensaison", 12+ letters) may break, using the browser's
     hyphenation (language from <html lang>), so the table fits on 320px screens.
     From 767px down, because between 480 and 767px the column is only about 336px wide. */
  .hh-price-table tbody th {
    -webkit-hyphens: auto;
    hyphens: auto;
    hyphenate-limit-chars: 12 6 6;
    -webkit-hyphenate-limit-before: 6;
    -webkit-hyphenate-limit-after: 6;
  }

  .hh-price-table td {
    white-space: normal;
  }
}

@media screen and (max-width: 479px) {
  :root {
    /* 20px like the running text of the existing pages (p.paragraph-5, h1.white) */
    --hh-gutter: 20px;
    /* h1.white: 35px / 42px, weight 400; h2.heading-7 / .heading-centred: weight 400 */
    --hh-h1-fs: 35px;
    --hh-h1-lh: 42px;
    --hh-h1-w: 400;
    --hh-h2-w: 400;
  }

  .hh-page {
    padding-bottom: 120px;
  }

  .hh-breadcrumb {
    margin-bottom: 20px;
  }

  /* Price pages: below 480px Webflow sets justify-self: start on the table column (per
     #w-node id), so the column grew to the table's minimum width and ran past the screen
     edge below ~365px. Stretch it to its track; anything wider scrolls inside the wrap. */
  .w-layout-grid > .div-block-2:has(> .hh-table-wrap) {
    justify-self: stretch !important;
    min-width: 0;
  }

  .hh-cta {
    display: block;
    width: 100%;
    min-width: 0;
  }
}

/* Very small phones (320 to 360px): a little tighter, so the price table fits without scrolling. */
@media screen and (max-width: 360px) {
  .hh-price-table thead th,
  .hh-price-table tbody th,
  .hh-price-table td {
    padding: 9px 6px;
  }

  .hh-price-table thead th:first-child,
  .hh-price-table tbody th {
    padding-left: 10px;
  }

  .hh-price-table thead th:last-child,
  .hh-price-table td:last-child {
    padding-right: 10px;
  }

  .hh-price-table thead th {
    font-size: 13px;
  }
}

/* Home pages (index, home-it, home-en): the "at a glance" block sits in the same column as
   the intro grid above it (Webflow gives .intro-grid 60px side margins from 992px) and keeps
   a readable line length (about 75 characters) instead of running across 1200px. */
@media screen and (min-width: 992px) {
  #hof-fakten {
    max-width: 650px;
    margin-left: 60px;
    margin-right: 60px;
  }
}

/* Respect reduced motion: no transitions, no hover movement */
@media (prefers-reduced-motion: reduce) {
  .hh-page *,
  .hh-content *,
  .hh-faq *,
  .hh-cards *,
  .hh-related *,
  .hh-cta,
  .hh-card,
  .hh-card-img,
  .hh-card-body::after,
  .hh-related a::before,
  .hh-faq-item > summary::after {
    transition: none !important;
    animation: none !important;
  }

  .hh-card:hover,
  .hh-card:hover .hh-card-img,
  .hh-card:hover .hh-card-body::after,
  .hh-related a:hover::before {
    transform: none;
  }

  .hh-related a:hover::before {
    transform: translateY(-2px) rotate(45deg);
  }
}
