/*
Theme Name:  Hotel Caroline
Description: Website for Hotel Caroline Wien.
Author:      Fragmatix
Template:    dahotel
Version:     3.10.0
Text Domain: hotel-caroline
*/

/* Theme customization starts here
  -------------------------------------------------------------- */

/* ---------- Brand colors (reference) ----------
   Graublau #8AA7AF  Orange #D36226  Braun #332019  Beige #E3E2DE
   Derived shade: Dunkles Graublau #2C3B40 (menu panel)
   Orange is accent only, never body text on Beige/Graublau */


/* ---------- Fonts (self-hosted in /fonts, no Google servers) ---------- */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/dm-sans-400.woff2") format("woff2");
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/dm-sans-300.woff2") format("woff2");
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/dm-sans-600.woff2") format("woff2");
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/dm-sans-700.woff2") format("woff2");
}

@font-face {
  font-family: "DM Serif Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/dm-serif-display-400.woff2") format("woff2");
}

@font-face {
  font-family: "DM Serif Display";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/dm-serif-display-400-italic.woff2") format("woff2");
}


/* ---------- Anchors ----------
   Links like /kontakt/#anreise scroll smoothly to that part of the page;
   scroll-margin keeps the heading below the fixed header. */
html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 130px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}


/* ---------- Typography ----------
   Body and UI: DM Sans. Headings: DM Serif Display. */
body {
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: #332019;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  color: #332019;
}

button,
input,
select,
textarea {
  font-family: inherit;
}


/* ---------- Elementor ----------
   Elementor 4 widgets (heading, button, ...) sit under a container's
   background overlay and look faded. Lift all container content above it. */
.e-con > *:not(style):not(script) {
  position: relative;
  z-index: 1;
}

/* Elementor's global defaults (Roboto, grey #7A7A7A) -> our brand fonts and brown.
   Applies to every widget that has no own colour/font set. */
body[class*="elementor-kit-"] {
  --e-global-color-primary: #332019;
  --e-global-color-secondary: #8AA7AF;
  --e-global-color-text: #332019;
  --e-global-color-accent: #D36226;
  --e-global-typography-primary-font-family: "DM Serif Display";
  --e-global-typography-primary-font-weight: 400;
  --e-global-typography-secondary-font-family: "DM Serif Display";
  --e-global-typography-secondary-font-weight: 400;
  --e-global-typography-text-font-family: "DM Sans";
  --e-global-typography-text-font-weight: 400;
  --e-global-typography-accent-font-family: "DM Sans";
  --e-global-typography-accent-font-weight: 600;
}

/* Buttons keep the text exactly as typed (theme capitalises every word) */
.elementor a,
.elementor button {
  text-transform: none;
}


/* ---------- Startseite: Hero ----------
   White heading + text on the photo: soft shadow so they stay readable
   on bright parts of the photo (sky), especially on phones. */
.home .elementor > .e-con:first-child :is(h1, h2, h3, p, .elementor-heading-title) {
  text-shadow: 0 2px 18px rgba(0, 0, 0, .45), 0 1px 3px rgba(0, 0, 0, .35);
}


/* ---------- Unterseiten: Hero [hc_hero] ----------
   Markup: shortcode in functions.php. Full width photo (page featured image)
   with brown gradient, white title + text, header floats over it. */
.hc-subhero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  min-height: var(--hc-subhero-h, 50vh);
  display: flex;
  align-items: flex-end;
  background: #2C3B40 center / cover no-repeat;
  color: #fff;
}

.hc-subhero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .5) 100%);
}

.hc-subhero__inner {
  position: relative;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 140px 24px 56px;
}

.hc-subhero__title {
  margin: 0;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.05;
  color: #fff !important;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .45), 0 1px 3px rgba(0, 0, 0, .35);
}

.hc-subhero__text {
  margin: 14px 0 0;
  font-size: 20px;
  line-height: 1.5;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .5);
}

/* the Elementor container around the shortcode: no padding/gap, so no beige strips */
.e-con:has(> .e-con-inner > .elementor-widget-shortcode .hc-subhero),
.e-con:has(> .elementor-widget-shortcode .hc-subhero),
.e-con:has(.hc-subhero) > .e-con-inner {
  padding: 0 !important;
  gap: 0 !important;
}

@media (max-width: 575px) {
  .hc-subhero__inner { padding: 110px 16px 36px; }
  .hc-subhero__text { font-size: 17px; }
}


/* ---------- Lage & Kontakt [hc_kontakt] + Abschluss-Band [hc_band] ----------
   Markup: shortcodes in functions.php. Full-width sections like the hero. */
.hc-contact,
.hc-band-sc {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.hc-contact {
  background: #fff;
}

.hc-contact--form {
  background: #E3E2DE;
}

.hc-contact__inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px 72px;
  align-items: start;
  max-width: 1240px;
  margin: 0 auto;
  padding: 88px 24px;
}

.hc-contact__inner--narrow {
  display: block;
  max-width: 720px;
}

.hc-label {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #D36226;
}

.hc-contact h2 {
  margin: 0 0 28px;
  font-size: clamp(30px, 3.4vw, 40px);
  line-height: 1.15;
}

.hc-contact__list {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px 24px;
  margin: 0;
}

.hc-contact__list dt {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .02em;
  color: rgba(51, 32, 25, .65);
  padding-top: 2px;
}

.hc-contact__list dd {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
}

.hc-contact a:not(.hc-btn) {
  color: #332019;
  text-decoration: underline;
  text-decoration-color: #D36226;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.hc-contact__ways {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hc-contact__ways li {
  padding: 14px 0;
  border-top: 1px solid rgba(51, 32, 25, .12);
  font-size: 17px;
  line-height: 1.55;
}

.hc-contact__ways li:last-child {
  border-bottom: 1px solid rgba(51, 32, 25, .12);
}

.hc-contact__ways strong {
  display: block;
  margin-bottom: 2px;
  font-size: 15px;
  letter-spacing: .02em;
}

.hc-contact--form .wpcf7 form > p {
  margin: 0;
}

.hc-contact__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-bottom: 28px;
}

.hc-contact__head h2 {
  margin: 0;
}

.hc-contact a.hc-textlink {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .02em;
  color: #332019;
  text-decoration: none;
  border-bottom: 2px solid #D36226;
  padding-bottom: 2px;
  white-space: nowrap;
}

.hc-contact a.hc-textlink:hover {
  color: #D36226;
}

.hc-contact__intro {
  margin: 0 0 28px;
  font-size: 18px;
}

/* shared button (shortcodes) */
.hc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 4px;
  background: #D36226;
  color: #fff !important;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none !important;
  transition: background-color .2s ease;
}

.hc-btn:hover,
.hc-btn:focus-visible {
  background: #332019;
}

.hc-btn--small {
  padding: 11px 20px;
  font-size: 15px;
}

/* Contact Form 7 */
.hc-contact .wpcf7 label {
  display: block;
  margin-bottom: 18px;
  font-size: 15px;
  font-weight: 600;
  color: #332019 !important;
}

.hc-contact .wpcf7 input[type="text"],
.hc-contact .wpcf7 input[type="email"],
.hc-contact .wpcf7 input[type="tel"],
.hc-contact .wpcf7 textarea {
  box-sizing: border-box;
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 13px 16px;
  border: 1px solid rgba(51, 32, 25, .25);
  border-radius: 4px;
  background: #fff;
  font-size: 17px;
  font-weight: 400;
  color: #332019;
}

.hc-contact .wpcf7 textarea {
  height: 160px;
}

.hc-contact .wpcf7 input:focus,
.hc-contact .wpcf7 textarea:focus {
  outline: 2px solid #D36226;
  outline-offset: 1px;
  border-color: transparent;
}

.hc-contact .wpcf7-acceptance {
  display: block;
  margin: 4px 0 22px;
  font-size: 15px;
  font-weight: 400;
}

.hc-contact .wpcf7-acceptance label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
}

.hc-contact .wpcf7-acceptance input {
  margin-top: 5px;
  accent-color: #D36226;
}

.hc-contact .wpcf7-submit {
  appearance: none;
  border: 0;
  padding: 14px 30px;
  border-radius: 4px;
  background: #D36226;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .2s ease;
}

.hc-contact .wpcf7-submit:hover {
  background: #332019;
}

.hc-contact .wpcf7-response-output {
  margin: 20px 0 0 !important;
  padding: 12px 16px !important;
  border-radius: 4px;
}

/* closing band */
.hc-band-sc {
  background: #8AA7AF;
  text-align: center;
}

.hc-band-sc__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 24px;
}

.hc-band-sc h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3vw, 36px);
}

.hc-band-sc p {
  margin: 0 0 24px;
  font-size: 18px;
}

@media (max-width: 767px) {
  .hc-contact__inner { grid-template-columns: 1fr; padding: 64px 16px; }
  .hc-contact__list { grid-template-columns: 1fr; gap: 2px 0; }
  .hc-contact__list dd { margin-bottom: 12px; }
}


/* ---------- Anfrage [hc_anfrage] ----------
   Markup: shortcode in functions.php. Form left, "Gut zu wissen" box right.
   Uses the Contact Form 7 styles from "Lage & Kontakt". */
.hc-anfrage__inner {
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
}

.hc-anfrage .hc-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
}

.hc-anfrage .hc-row--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hc-anfrage .hc-row p { display: contents; }
.hc-anfrage .hc-row br { display: none; }

.hc-contact .wpcf7 input[type="date"],
.hc-contact .wpcf7 input[type="number"],
.hc-contact .wpcf7 select {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-height: 50px;
  margin-top: 6px;
  padding: 12px 16px;
  border: 1px solid rgba(51, 32, 25, .25);
  border-radius: 4px;
  background-color: #fff;
  font-family: inherit;
  font-size: 17px;
  font-weight: 400;
  color: #332019;
}

.hc-contact .wpcf7 select:focus {
  outline: 2px solid #D36226;
  outline-offset: 1px;
  border-color: transparent;
}

.hc-anfrage__nights {
  min-height: 1.2em;
  margin: -8px 0 16px !important;
  font-size: 15px;
  font-weight: 600;
  color: #D36226;
}

.hc-anfrage__aside {
  padding: 32px;
  border-radius: 8px;
  background: #8AA7AF;
}

.hc-anfrage__aside h3 {
  margin: 0 0 18px;
  font-size: 26px;
}

.hc-anfrage__aside ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hc-anfrage__aside li {
  padding: 16px 0;
  border-top: 1px solid rgba(51, 32, 25, .2);
  font-size: 16px;
  line-height: 1.5;
}

.hc-anfrage__aside li:first-child {
  padding-top: 0;
  border-top: 0;
}

.hc-anfrage__aside strong {
  display: block;
  margin-bottom: 2px;
}

.hc-anfrage__aside a {
  color: #332019;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid #D36226;
}

.hc-contact__intro a {
  color: #332019;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid #D36226;
}

/* Anfrage: white section, warm fields, orange accents (no grey) */
.hc-anfrage {
  background: #fff;
}

.hc-anfrage .wpcf7 form {
  accent-color: #D36226;
}

.hc-anfrage .wpcf7 input[type="text"],
.hc-anfrage .wpcf7 input[type="email"],
.hc-anfrage .wpcf7 input[type="tel"],
.hc-anfrage .wpcf7 input[type="date"],
.hc-anfrage .wpcf7 input[type="number"],
.hc-anfrage .wpcf7 select,
.hc-anfrage .wpcf7 textarea {
  border: 1px solid #E3DDD3;
  border-radius: 8px;
  background-color: #FAF7F2;
  transition: border-color .2s ease, background-color .2s ease;
}

.hc-anfrage .wpcf7 input:hover,
.hc-anfrage .wpcf7 select:hover,
.hc-anfrage .wpcf7 textarea:hover {
  border-color: rgba(211, 98, 38, .5);
}

.hc-anfrage .wpcf7 input:focus,
.hc-anfrage .wpcf7 select:focus,
.hc-anfrage .wpcf7 textarea:focus {
  background-color: #fff;
}

.hc-anfrage .wpcf7 select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23D36226' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  cursor: pointer;
}

/* calendar icon in orange */
.hc-anfrage .wpcf7 input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  filter: invert(48%) sepia(62%) saturate(1630%) hue-rotate(347deg) brightness(90%) contrast(88%);
}

.hc-anfrage .wpcf7 form br {
  display: none;
}

.hc-anfrage .wpcf7 form > p {
  margin: 0;
}

/* date fields (calendar opens on click) */
.hc-anfrage .wpcf7 input.hc-date {
  padding-right: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23D36226' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.hc-anfrage .wpcf7 input.hc-date::placeholder {
  color: rgba(51, 32, 25, .45);
}

/* − / + steppers for Zimmer, Erwachsene, Kinder */
.hc-step {
  display: flex;
  margin-top: 6px;
}

.hc-anfrage .wpcf7 .hc-step input[type="number"] {
  margin: 0;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}

.hc-anfrage .wpcf7 .hc-step input[type="number"]::-webkit-inner-spin-button,
.hc-anfrage .wpcf7 .hc-step input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.hc-step button {
  flex: 0 0 46px;
  padding: 0;
  border: 1px solid #E3DDD3 !important;
  background: #FAF7F2 !important;
  color: #D36226 !important;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}

.hc-step button:first-child {
  border-radius: 8px 0 0 8px;
}

.hc-step button:last-child {
  border-radius: 0 8px 8px 0;
}

.hc-step button:hover {
  background: #D36226 !important;
  border-color: #D36226 !important;
  color: #fff !important;
}

/* calendar (flatpickr) in hotel colours */
.flatpickr-calendar.hc-cal {
  border: 0;
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(51, 32, 25, .18), 0 2px 6px rgba(51, 32, 25, .08);
  font-family: inherit;
  color: #332019;
}

.flatpickr-calendar.hc-cal.arrowTop::before,
.flatpickr-calendar.hc-cal.arrowTop::after {
  border-bottom-color: #fff;
}

.flatpickr-calendar.hc-cal .flatpickr-months {
  padding: 8px 4px 2px;
}

.flatpickr-calendar.hc-cal .flatpickr-months .flatpickr-month {
  height: 40px;
  color: #332019;
  fill: #332019;
}

.flatpickr-calendar.hc-cal .flatpickr-current-month {
  padding-top: 8px;
  font-size: 16px;
}

.flatpickr-calendar.hc-cal .flatpickr-current-month span.cur-month,
.flatpickr-calendar.hc-cal .flatpickr-current-month input.cur-year {
  font-weight: 700;
}

.flatpickr-calendar.hc-cal .flatpickr-months .flatpickr-prev-month,
.flatpickr-calendar.hc-cal .flatpickr-months .flatpickr-next-month {
  top: 8px;
  fill: #332019;
}

.flatpickr-calendar.hc-cal .flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-calendar.hc-cal .flatpickr-months .flatpickr-next-month:hover svg {
  fill: #D36226;
}

.flatpickr-calendar.hc-cal span.flatpickr-weekday {
  color: rgba(51, 32, 25, .5);
  font-size: 12px;
  font-weight: 600;
}

.flatpickr-calendar.hc-cal .flatpickr-day {
  border-radius: 8px;
  color: #332019;
  font-weight: 500;
}

.flatpickr-calendar.hc-cal .flatpickr-day:hover,
.flatpickr-calendar.hc-cal .flatpickr-day:focus {
  border-color: #FBEDE5;
  background: #FBEDE5;
}

.flatpickr-calendar.hc-cal .flatpickr-day.today {
  border-color: #D36226;
}

.flatpickr-calendar.hc-cal .flatpickr-day.today:hover {
  color: #332019;
}

.flatpickr-calendar.hc-cal .flatpickr-day.hc-start,
.flatpickr-calendar.hc-cal .flatpickr-day.hc-start.flatpickr-disabled {
  border-color: #FBEDE5;
  background: #FBEDE5;
  color: #D36226;
  font-weight: 700;
}

.flatpickr-calendar.hc-cal .flatpickr-day.selected,
.flatpickr-calendar.hc-cal .flatpickr-day.selected:hover,
.flatpickr-calendar.hc-cal .flatpickr-day.selected:focus {
  border-color: #D36226;
  background: #D36226;
  color: #fff;
}

.flatpickr-calendar.hc-cal .flatpickr-day.flatpickr-disabled,
.flatpickr-calendar.hc-cal .flatpickr-day.flatpickr-disabled:hover,
.flatpickr-calendar.hc-cal .flatpickr-day.prevMonthDay,
.flatpickr-calendar.hc-cal .flatpickr-day.nextMonthDay {
  border-color: transparent;
  background: none;
  color: rgba(51, 32, 25, .22);
}

/* success message after sending (all forms) */
.wpcf7 form.sent .wpcf7-response-output {
  border-color: #4a7c59 !important;
  background: #eef5ef;
  color: #24452f;
}

/* invisible spam trap (functions.php) */
.hc-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 991px) {
  .hc-anfrage__inner { grid-template-columns: 1fr; }
}

@media (max-width: 575px) {
  .hc-anfrage .hc-row { grid-template-columns: 1fr; }
  .hc-anfrage .hc-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 10px; }
}


/* ---------- Foto + Text [hc_split] ----------
   Markup: shortcode in functions.php. Photo one side, text the other,
   full-width section (white or beige). */
.hc-split {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: #fff;
}

.hc-split--beige {
  background: #E3E2DE;
}

.hc-split__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 88px 24px;
}

.hc-split--right .hc-split__img {
  order: 2;
}

.hc-split__img {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  background: #8AA7AF center / cover no-repeat;
}

.hc-split h2 {
  margin: 0 0 20px;
  font-size: clamp(30px, 3.4vw, 40px);
  line-height: 1.15;
}

.hc-split__text p {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.65;
}

.hc-split__list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.hc-split__list li {
  position: relative;
  padding: 10px 0 10px 26px;
  border-top: 1px solid rgba(51, 32, 25, .12);
  font-size: 17px;
}

.hc-split__list li:last-child {
  border-bottom: 1px solid rgba(51, 32, 25, .12);
}

.hc-split__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 19px;
  width: 10px;
  height: 2px;
  background: #D36226;
}

@media (max-width: 991px) {
  .hc-split__inner { grid-template-columns: 1fr; gap: 32px; padding: 64px 16px; }
  .hc-split--right .hc-split__img { order: 0; }
}


/* ---------- Startseite: Geschichte [hc_geschichte] ----------
   Text left, today's photo right, small historic photo overlapping it. */
.hc-story {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: #fff;
}

.hc-story__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 96px 24px;
}

.hc-story h2 {
  margin: 0 0 20px;
  font-size: clamp(32px, 3.6vw, 44px);
  line-height: 1.12;
}

.hc-story__text p:not(.hc-label) {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.7;
}

.hc-story__media {
  position: relative;
}

.hc-story__media.has-old {
  padding-bottom: 64px;
}

.hc-story__big {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  background: #8AA7AF center / cover no-repeat;
}

.hc-story__old {
  position: absolute;
  left: -40px;
  bottom: 0;
  width: 44%;
  margin: 0;
  padding: 8px 8px 10px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 14px 32px rgba(51, 32, 25, .22);
  transform: rotate(-2deg);
}

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

.hc-story__old figcaption {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.35;
  color: rgba(51, 32, 25, .7);
  text-align: center;
}

@media (max-width: 991px) {
  .hc-story__inner { grid-template-columns: 1fr; gap: 40px; padding: 64px 16px; }
  .hc-story__old { left: 12px; width: 52%; }
}


/* ---------- Startseite: Zimmer-Slider [hc_zimmer_slider] ----------
   Style like kvu.at: tall photo cards side by side, the row runs out of the
   screen on the right; text on the photo; arrows bottom right. JS in functions.php. */
.hc-rs-sec {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: #fff;
  overflow: hidden;
}

/* Elementor containers that only hold our full-width shortcodes: no padding/gap */
.e-con:has(.hc-story, .hc-rs-sec, .hc-split, .hc-contact, .hc-legal, .hc-gal),
.e-con:has(.hc-story, .hc-rs-sec, .hc-split, .hc-contact, .hc-legal, .hc-gal) > .e-con-inner {
  padding: 0 !important;
  gap: 0 !important;
}

.hc-rs {
  --hc-rs-edge: max(24px, calc((100vw - 1240px) / 2 + 24px));
  padding: 96px 0;
}

.hc-rs__head,
.hc-rs__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.hc-rs__head {
  align-items: flex-end;
  margin-bottom: 32px;
}

.hc-rs__title {
  margin: 0;
  font-size: clamp(32px, 3.4vw, 46px);
  line-height: 1.1;
}

.hc-rs__all {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  color: #332019 !important;
  text-decoration: none !important;
  border-bottom: 2px solid #D36226;
  padding-bottom: 2px;
  white-space: nowrap;
}

.hc-rs__all:hover {
  color: #D36226 !important;
}

/* the row of cards */
.hc-rs__track {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0 24px 0 var(--hc-rs-edge);
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--hc-rs-edge);
  scrollbar-width: none;
  cursor: grab;
}

.hc-rs__track::-webkit-scrollbar {
  display: none;
}

.hc-rs__track.is-dragging {
  scroll-snap-type: none;
  cursor: grabbing;
}

.hc-rs__track.is-dragging .hc-rs__link {
  pointer-events: none;
}

.hc-rs__card {
  flex: 0 0 clamp(220px, 22vw, 330px);
  margin: 0;
  scroll-snap-align: start;
}

.hc-rs__link {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 6px;
  background: #8AA7AF;
  color: #fff !important;
  text-decoration: none !important;
  user-select: none;
  -webkit-user-drag: none;
}

.hc-rs__img,
.hc-rs__pic {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
}

.hc-rs__pic {
  object-fit: cover;
  transition: transform .8s ease;
}

.hc-rs__link:hover .hc-rs__pic,
.hc-rs__link:focus-visible .hc-rs__pic {
  transform: scale(1.05);
}

/* dark fade at the bottom so the white text is readable */
.hc-rs__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .25) 32%, rgba(0, 0, 0, 0) 55%);
}

.hc-rs__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 22px 20px;
}

.hc-rs__name {
  margin-bottom: 8px;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(18px, 1.4vw, 22px);
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.2;
}

.hc-rs__fact {
  font-size: 14px;
  line-height: 1.5;
  opacity: .9;
}

.hc-rs__more {
  margin-top: 14px;
  padding-bottom: 2px;
  border-bottom: 2px solid #D36226;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hc-rs__link:focus-visible {
  outline: 3px solid #D36226;
  outline-offset: 3px;
}

/* option schrift="duenn": thinner room names */
.hc-rs--thin .hc-rs__name {
  font-weight: 300;
  letter-spacing: .07em;
}

/* arrows bottom right */
.hc-rs__foot {
  justify-content: flex-end;
  margin-top: 24px;
}

.hc-rs__arrows {
  display: flex;
  gap: 8px;
}

.hc-rs__prev,
.hc-rs__next {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(51, 32, 25, .3) !important;
  border-radius: 4px;
  background: transparent !important;
  color: #332019 !important;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, opacity .2s ease;
}

.hc-rs__prev svg {
  transform: scaleX(-1);
}

.hc-rs__prev:hover:not(:disabled),
.hc-rs__next:hover:not(:disabled) {
  border-color: #D36226 !important;
  background: #D36226 !important;
  color: #fff !important;
}

.hc-rs__prev:disabled,
.hc-rs__next:disabled {
  opacity: .35;
  cursor: default;
}

.hc-rs__prev:focus-visible,
.hc-rs__next:focus-visible {
  outline: 2px solid #D36226;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .hc-rs__pic { transition: none !important; }
}

@media (max-width: 767px) {
  .hc-rs { --hc-rs-edge: 16px; padding: 56px 0 64px; }
  .hc-rs__head, .hc-rs__foot { padding: 0 16px; }
  .hc-rs__head { margin-bottom: 22px; }
  .hc-rs__track { gap: 10px; padding-right: 16px; }
  .hc-rs__card { flex-basis: 62vw; }
  .hc-rs__body { padding: 18px 18px 16px; }
  .hc-rs__arrows { display: none; }
}

/* shared text link */
.hc-rs a.hc-textlink,
.hc-textlink {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .02em;
  color: #332019 !important;
  text-decoration: none !important;
  border-bottom: 2px solid #D36226;
  padding-bottom: 2px;
}


/* ---------- Galerie [hc_galerie] ----------
   Photos come automatically from the Mediathek (file names). Filter buttons,
   masonry columns, lightbox. JS in functions.php. */
.hc-gal {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: #fff;
}

.hc-gal__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 72px 24px 104px;
  box-sizing: border-box;
}

.hc-gal__filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.hc-gal__filter button {
  appearance: none;
  padding: 10px 20px;
  border: 1px solid rgba(51, 32, 25, .2) !important;
  border-radius: 999px;
  background: #fff !important;
  color: #332019 !important;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.hc-gal__filter button:hover {
  border-color: #D36226 !important;
  color: #D36226 !important;
}

.hc-gal__filter button.is-active {
  border-color: #D36226 !important;
  background: #D36226 !important;
  color: #fff !important;
}

.hc-gal__grid {
  columns: 3 300px;
  column-gap: 14px;
}

.hc-gal__item {
  position: relative;
  display: block;
  margin: 0 0 14px;
  overflow: hidden;
  border-radius: 6px;
  break-inside: avoid;
  background: #E3E2DE;
  cursor: zoom-in;
}

.hc-gal__item[hidden] {
  display: none;
}

.hc-gal__img {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  transition: transform .6s ease;
}

.hc-gal__item:hover .hc-gal__img,
.hc-gal__item:focus-visible .hc-gal__img {
  transform: scale(1.04);
}

.hc-gal__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 16px 12px;
  background: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0));
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity .3s ease;
}

.hc-gal__item:hover .hc-gal__cap,
.hc-gal__item:focus-visible .hc-gal__cap {
  opacity: 1;
}

.hc-gal__item:focus-visible {
  outline: 3px solid #D36226;
  outline-offset: 2px;
}

/* lightbox */
html.hc-lb-open {
  overflow: hidden;
}

.hc-lb {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 72px;
  background: rgba(28, 21, 18, .94);
}

.hc-lb[hidden] {
  display: none;
}

.hc-lb__fig {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
}

.hc-lb__img {
  display: block;
  max-width: 100% !important;
  max-height: calc(100% - 40px) !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
}

.hc-lb__cap {
  margin-top: 14px;
  color: rgba(255, 255, 255, .85);
  font-size: 14px;
  letter-spacing: .06em;
  white-space: pre;
}

.hc-lb__close,
.hc-lb__prev,
.hc-lb__next {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .3) !important;
  border-radius: 50%;
  background: rgba(0, 0, 0, .25) !important;
  color: #fff !important;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}

.hc-lb__close:hover,
.hc-lb__prev:hover,
.hc-lb__next:hover {
  border-color: #D36226 !important;
  background: #D36226 !important;
}

.hc-lb__close { top: 16px; right: 16px; font-size: 30px; }
.hc-lb__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.hc-lb__next { right: 16px; top: 50%; transform: translateY(-50%); }

@media (max-width: 767px) {
  .hc-gal__inner { padding: 40px 12px 64px; }
  .hc-gal__filter { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin: 0 -12px 24px; padding: 0 12px 4px; scrollbar-width: none; }
  .hc-gal__filter::-webkit-scrollbar { display: none; }
  .hc-gal__filter button { flex: 0 0 auto; padding: 9px 16px; font-size: 14px; }
  .hc-gal__grid { columns: 2; column-gap: 8px; }
  .hc-gal__item { margin-bottom: 8px; }
  .hc-gal__cap { display: none; }
  .hc-lb { padding: 64px 8px; }
  .hc-lb__prev, .hc-lb__next { top: auto; bottom: 14px; transform: none; width: 46px; height: 46px; }
  .hc-lb__prev { left: calc(50% - 56px); }
  .hc-lb__next { right: calc(50% - 56px); }
}

/* ---------- Rechtstexte [hc_rechtstext] ----------
   Impressum + Datenschutz: narrow text column on white. */
.hc-legal {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: #fff;
}

.hc-legal__inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 72px 24px 104px;
  box-sizing: border-box;
  color: #332019;
}

.hc-legal__title {
  margin: 0 0 8px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
}

.hc-legal__date {
  margin: 0 0 40px;
  font-size: 14px;
  color: rgba(51, 32, 25, .6);
}

.hc-legal__text {
  font-size: 17px;
  line-height: 1.7;
}

.hc-legal__text h2 {
  margin: 48px 0 14px;
  padding-top: 28px;
  border-top: 1px solid rgba(51, 32, 25, .12);
  font-size: 26px;
  line-height: 1.2;
}

.hc-legal__text h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.hc-legal__text h3 {
  margin: 28px 0 8px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
}

.hc-legal__text p,
.hc-legal__text ul {
  margin: 0 0 14px;
}

.hc-legal__text ul {
  padding-left: 22px;
}

.hc-legal__text li {
  margin-bottom: 4px;
}

.hc-legal__text a {
  color: #332019;
  text-decoration: none;
  border-bottom: 1px solid #D36226;
  word-break: break-word;
}

.hc-legal__text a:hover {
  color: #D36226;
}

.hc-legal__facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 28px;
  margin: 0 0 14px;
}

.hc-legal__facts dt {
  font-weight: 700;
}

.hc-legal__facts dd {
  margin: 0;
}

@media (max-width: 575px) {
  .hc-legal__inner { padding: 48px 16px 72px; }
  .hc-legal__facts { grid-template-columns: 1fr; gap: 0; }
  .hc-legal__facts dd { margin-bottom: 10px; }
}

/* ---------- Startseite: Zimmer-Karten [hc_zimmer] ----------
   Markup: shortcode in functions.php. Heading left, "Alle Zimmer ansehen →"
   right; cards in 3 columns (6 rooms = 2 even rows), 2 columns on tablets,
   swipe row on phones. */
/* same content width as the other Startseite sections (Elementor boxed 1240px) */
.hc-rooms-wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

.hc-rooms-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px 32px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hc-rooms-head__title {
  margin: 0;
}

.hc-rooms-head__all {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .02em;
  color: #332019 !important;
  text-decoration: none !important;
  border-bottom: 2px solid #D36226;
  padding-bottom: 2px;
  white-space: nowrap;
}

.hc-rooms-head__all:hover,
.hc-rooms-head__all:focus-visible {
  color: #D36226 !important;
}

.hc-rooms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 28px;
}

.hc-rooms__card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #332019 !important;
  text-decoration: none !important;
}

.hc-rooms__img {
  display: block;
  aspect-ratio: 16 / 10;
  margin-bottom: 12px;
  border-radius: 8px;
  background: #8AA7AF center / cover no-repeat;
  transition: transform .3s ease, box-shadow .3s ease;
}

.hc-rooms__name {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 22px;
  line-height: 1.2;
  align-self: flex-start;
  background: linear-gradient(#D36226, #D36226) 0 100% / 0 2px no-repeat;
  padding-bottom: 2px;
  transition: background-size .25s ease;
}

.hc-rooms__info {
  font-size: 16px;
  line-height: 1.5;
  color: rgba(51, 32, 25, .7);
}

.hc-rooms__price {
  font-size: 15px;
  font-weight: 600;
}

.hc-rooms__card:hover .hc-rooms__img,
.hc-rooms__card:focus-visible .hc-rooms__img {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(51, 32, 25, .16);
}

.hc-rooms__card:hover .hc-rooms__name,
.hc-rooms__card:focus-visible .hc-rooms__name {
  background-size: 100% 2px;
}

@media (max-width: 991px) {
  .hc-rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Slider version [hc_zimmer slider="ja"]: one row, 3 visible (2 on tablets,
   1.3 on phones), arrows next to the heading, swipe on touch screens */
.hc-rooms-head__right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hc-rooms-nav {
  display: flex;
  gap: 8px;
}

.hc-rooms-nav button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1.5px solid rgba(51, 32, 25, .35);
  border-radius: 50%;
  background: transparent;
  color: #332019;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, opacity .2s ease;
}

.hc-rooms-nav button:hover:not(:disabled),
.hc-rooms-nav button:focus-visible {
  border-color: #D36226;
  background: rgba(255, 255, 255, .5);
}

.hc-rooms-nav button:disabled {
  opacity: .3;
  cursor: default;
}

.hc-rooms.hc-rooms--slider {
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * 32px) / 3);
  column-gap: 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 6px;
}

.hc-rooms--slider::-webkit-scrollbar {
  display: none;
}

.hc-rooms--slider .hc-rooms__card {
  scroll-snap-align: start;
}

@media (max-width: 991px) {
  .hc-rooms.hc-rooms--slider { grid-auto-columns: calc((100% - 24px) / 2); column-gap: 24px; }
}

@media (max-width: 767px) {
  .hc-rooms.hc-rooms--slider { grid-auto-columns: 78%; column-gap: 16px; }
  .hc-rooms-nav { display: none; }
}

@media (max-width: 767px) {
  .hc-rooms {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }
  .hc-rooms__card { scroll-snap-align: start; }
}

/* Zimmer overview page: on phones the cards stack below each other (no sideways row) */
@media (max-width: 767px) {
  body:not(.home) .hc-rooms:not(.hc-rooms--slider) {
    grid-auto-flow: row;
    grid-template-columns: 1fr;
    grid-auto-columns: auto;
    gap: 28px;
    overflow: visible;
  }
}


/* ---------- Header ----------
   Layout: menu button + DE | EN left, logo centre, Buchen right
   (markup: template-parts/header-layout-one.php).
   Solid bar colour (pages without hero photo, and after scrolling) –
   change only this one line: Beige #E3E2DE or Graublau #8AA7AF. */
:root {
  --hc-header-bg: #E3E2DE;
}

.hc-hdr {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--hc-header-bg);
  transition: background-color .3s ease, box-shadow .3s ease;
}

.admin-bar .hc-hdr { top: 32px; }

@media (max-width: 782px) {
  .admin-bar .hc-hdr { top: 46px; }
}

@media (max-width: 600px) {
  .admin-bar .hc-hdr { top: 0; } /* WordPress admin bar scrolls away on phones */
}

.hc-scrolled .hc-hdr {
  box-shadow: 0 6px 16px rgba(51, 32, 25, .10);
}

.hc-hdr__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  height: 112px;
  padding: 0 40px;
}

.hc-hdr__left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hc-hdr__right {
  display: flex;
  justify-content: flex-end;
}

/* menu button: two lines + "Menü" */
.hc-hdr__toggle {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 164px;
  height: 44px;
  justify-content: center;
  padding: 0 18px;
  border: 0;
  border-radius: 4px;
  background: rgba(51, 32, 25, .08);
  color: #332019;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}

.hc-hdr__toggle:hover,
.hc-hdr__toggle:focus-visible {
  background: rgba(51, 32, 25, .16);
}

.hc-hdr__lines {
  position: relative;
  width: 26px;
  height: 9px;
}

.hc-hdr__lines span {
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform .3s ease, top .3s ease;
}

.hc-hdr__lines span:first-child { top: 0; }
.hc-hdr__lines span:last-child { top: 7.5px; }

.hc-menu-open .hc-hdr__lines span:first-child { top: 3.75px; transform: rotate(45deg); }
.hc-menu-open .hc-hdr__lines span:last-child { top: 3.75px; transform: rotate(-45deg); }

/* logo, centred */
.hc-hdr__logo {
  display: block;
  width: 190px;
  line-height: 0;
}

.hc-hdr__logo img {
  width: 100%;
  height: auto;
  transition: filter .3s ease;
}

/* Buchen */
.hc-hdr__book {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 24px;
  border-radius: 4px;
  background: #D36226;
  color: #fff !important;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: background-color .2s ease;
}

.hc-hdr__book:hover,
.hc-hdr__book:focus-visible {
  background: #332019;
}

/* language switch "DE | EN" */
.hc-lang {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1;
}

.hc-lang__link {
  color: rgba(51, 32, 25, .6) !important;
  text-decoration: none !important;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}

.hc-lang__link:hover,
.hc-lang__link:focus {
  color: #332019 !important;
}

.hc-lang__link.is-active {
  color: #332019 !important;
  border-bottom-color: #D36226;
}

.hc-lang__sep {
  color: rgba(51, 32, 25, .35);
  font-weight: 400;
}


/* ---------- Transparent header ----------
   Pages with a big photo at the top (front page, room pages – list in
   functions.php, hc_has_overlay_header()) get body class "hc-overlay-header":
   the header floats over the photo, white, with a soft dark gradient.
   After 40px scrolling (body class "hc-scrolled") it becomes the solid bar.
   While the menu panel is open the header is always light-on-dark. */
.hc-overlay-header .hc-hdr {
  position: fixed;
  left: 0;
  right: 0;
}

.hc-overlay-header:not(.hc-scrolled) .hc-hdr,
.hc-menu-open .hc-hdr {
  background-color: transparent;
  box-shadow: none;
}

.hc-overlay-header .hc-hdr::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: -60px;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .22) 60%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s ease;
}

.hc-overlay-header:not(.hc-scrolled) .hc-hdr::before {
  opacity: 1;
}

.hc-menu-open .hc-hdr::before {
  opacity: 0 !important;
}

/* light-on-dark state: logo, button, language switch white */
.hc-overlay-header:not(.hc-scrolled) .hc-hdr__logo img,
.hc-menu-open .hc-hdr__logo img {
  filter: brightness(0) invert(1) drop-shadow(0 1px 6px rgba(0, 0, 0, .35));
}

.hc-menu-open .hc-hdr__logo img {
  filter: brightness(0) invert(1);
}

.hc-overlay-header:not(.hc-scrolled) .hc-hdr__toggle,
.hc-menu-open .hc-hdr__toggle {
  background: rgba(255, 255, 255, .14);
  color: #fff;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.hc-overlay-header:not(.hc-scrolled) .hc-hdr__toggle:hover,
.hc-menu-open .hc-hdr__toggle:hover {
  background: rgba(255, 255, 255, .24);
}

.hc-overlay-header:not(.hc-scrolled) .hc-lang__link,
.hc-menu-open .hc-lang__link {
  color: rgba(255, 255, 255, .75) !important;
}

.hc-overlay-header:not(.hc-scrolled) .hc-lang__link:hover,
.hc-overlay-header:not(.hc-scrolled) .hc-lang__link.is-active,
.hc-menu-open .hc-lang__link:hover,
.hc-menu-open .hc-lang__link.is-active {
  color: #fff !important;
}

.hc-overlay-header:not(.hc-scrolled) .hc-lang__sep,
.hc-menu-open .hc-lang__sep {
  color: rgba(255, 255, 255, .5);
}

/* room pages: no orange line on top of the photo under the transparent header */
.hc-overlay-header .hc-hero {
  border-top: 0;
}


/* ---------- Menu panel ----------
   Opens with the menu button: dark Graublau full screen, big menu items and
   contact details left, all rooms (photo, name, size) right. The header stays on top of it. */
html.hc-menu-open {
  overflow: hidden;
}

.hc-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  overflow-y: auto;
  background: #2C3B40; /* Dunkles Graublau = Graublau #8AA7AF, darkened (same hue) */
  color: #E3E2DE;
  opacity: 0;
  transition: opacity .3s ease;
}

.hc-menu[hidden] {
  display: none;
}

.hc-menu-open .hc-menu {
  opacity: 1;
}

.hc-menu__inner {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.35fr);
  gap: 64px;
  align-items: center;
  max-width: 1320px;
  min-height: 100%;
  margin: 0 auto;
  padding: 144px 40px 48px;
}

.admin-bar .hc-menu__inner {
  padding-top: 168px;
}

.hc-menu__list,
.hc-menu__grid {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hc-menu__item + .hc-menu__item {
  margin-top: 6px;
}

.hc-menu__link {
  display: inline-block;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 46px;
  line-height: 1.2;
  color: #E3E2DE !important;
  text-decoration: none !important;
  background: linear-gradient(#D36226, #D36226) 0 100% / 0 2px no-repeat;
  transition: background-size .25s ease, color .2s ease;
}

.hc-menu__link:hover,
.hc-menu__link:focus-visible,
.hc-menu__item.is-current > .hc-menu__link {
  color: #fff !important;
  background-size: 100% 2px;
}

.hc-menu__contact {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(227, 226, 222, .2);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(227, 226, 222, .72);
}

.hc-menu__contact p {
  margin: 0;
}

.hc-menu__contact a {
  color: #E3E2DE !important;
  text-decoration: none !important;
}

.hc-menu__contact a:hover {
  text-decoration: underline !important;
  text-decoration-color: #D36226 !important;
  text-underline-offset: 4px;
}

/* rooms on the right: photo, name, size – 2 columns (7 rooms + "Alle Zimmer") */
.hc-menu__label {
  margin: 0 0 18px;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #D36226;
}

.hc-menu__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 32px;
}

.hc-menu__room {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 6px;
  margin: -6px;
  border-radius: 6px;
  color: #E3E2DE !important;
  text-decoration: none !important;
  transition: background-color .2s ease;
}

.hc-menu__room:hover,
.hc-menu__room:focus-visible {
  background: rgba(227, 226, 222, .06);
}

.hc-menu__thumb {
  flex: none;
  width: 180px;
  height: 120px;
  border-radius: 6px;
  background: rgba(227, 226, 222, .1) center / cover no-repeat;
  transition: transform .3s ease, box-shadow .3s ease;
}

.hc-menu__rtext {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.hc-menu__rname {
  align-self: flex-start;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 21px;
  line-height: 1.2;
  background: linear-gradient(#D36226, #D36226) 0 100% / 0 2px no-repeat;
  padding-bottom: 2px;
  transition: background-size .25s ease;
}

.hc-menu__rsize {
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 14px;
  color: rgba(227, 226, 222, .65);
}

.hc-menu__room:hover .hc-menu__thumb,
.hc-menu__room:focus-visible .hc-menu__thumb {
  transform: scale(1.04);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .3);
}

.hc-menu__room:hover .hc-menu__rname,
.hc-menu__room:focus-visible .hc-menu__rname {
  background-size: 100% 2px;
}

.hc-menu__room--all {
  justify-content: center;
  height: 132px;
  margin: 0;
  border: 1.5px solid rgba(227, 226, 222, .3);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
}

.hc-menu__room--all:hover,
.hc-menu__room--all:focus-visible {
  border-color: #D36226;
}

/* Laptops: slightly smaller room photos so 4 rows fit */
@media (max-width: 1400px), (max-height: 820px) {
  .hc-menu__thumb { width: 150px; height: 100px; }
  .hc-menu__room--all { height: 112px; }
  .hc-menu__link { font-size: 40px; }
}

/* Tablets and phones */
@media (max-width: 991px) {
  .hc-hdr__bar { padding: 0 24px; height: 92px; }
  .hc-hdr__logo { width: 150px; }
  .hc-menu__inner {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 116px 24px 40px;
  }
  .hc-menu__rooms { display: none; } /* phones/tablets: "Zimmer" leads to the rooms page */
  .hc-menu__link { font-size: 36px; }
}

@media (max-width: 575px) {
  .hc-hdr__bar { padding: 0 16px; height: 72px; gap: 8px; }
  .hc-hdr__left { gap: 12px; }
  .hc-hdr__toggle { min-width: 0; padding: 0 12px; }
  .hc-hdr__toggle-text { display: none; }
  .hc-hdr__logo { width: 112px; }
  .hc-hdr__book { padding: 0 14px; letter-spacing: .08em; }
  .hc-lang { font-size: 12px; }
  .hc-menu__inner { padding-top: 100px; }
  .hc-menu__link { font-size: 30px; }
}


/* ---------- Buttons and UI on Graublau (theme default text was white) ---------- */
body .search-form .search-submit,
body .wp-block-search .wp-block-search__button,
body .comment-form .submit,
body #scrollUp,
body .team-thumb .dropdown .xbtn {
  color: #332019 !important;
}


/* ---------- Footer ----------
   Spacing to fine-tune once the footer widgets are final */
footer,
.footer-bg {
  padding-bottom: 0 !important;
}

footer [class*="footer-top"] {
  padding-top: 40px !important;
  padding-bottom: 10px !important;
}

footer,
footer p {
  font-size: 15px;
  line-height: 1.6;
}

/* Graublau footer with brown text (20.10.: management's wish; was brown).
   Beige/white text would be too weak on Graublau. */
footer,
footer.footer-bg,
.footer-bg {
  background-color: #8AA7AF !important;
  background-image: none !important;
}

footer,
footer p,
footer li,
footer span,
footer div,
footer h1, footer h2, footer h3, footer h4, footer h5, footer h6,
footer .widget-title {
  color: #332019 !important;
}

footer * {
  border-color: rgba(51, 32, 25, .2) !important;
}

footer a {
  color: #332019 !important;
}

footer a:hover {
  color: #332019 !important;
  text-decoration: underline;
  text-decoration-color: #D36226;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* Copyright bar: size to revisit once the rest of the site is built */
footer [class*="copyright"] {
  font-size: 10px;
  letter-spacing: .02em;
  padding-top: 16px !important;
  padding-bottom: 16px !important;
}

footer [class*="copyright"] .row,
footer [class*="copyright"] .container {
  margin-bottom: 0 !important;
}

/* Hide the theme's empty second copyright row (it prints "." when the
   Copyright Textarea is empty) */
.copyright-wrap .row:has(.copy-text) {
  display: none;
}


/* ---------- Footer (eigener, footer.php) ----------
   4 columns on Graublau: logo + button · Kontakt · Gut zu wissen · Lageplan. */
.hc-ftr {
  background: #8AA7AF;
  color: #332019;
}

.hc-ftr a {
  color: #332019;
  text-decoration: none;
}

.hc-ftr__inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr 1.1fr;
  gap: 40px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 72px 24px 56px;
  box-sizing: border-box;
}

.hc-ftr__logo-img {
  display: block;
  width: 170px !important;
  height: auto !important;
}

.hc-ftr__logo-text {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 28px;
}

.hc-ftr__tagline {
  margin: 18px 0 22px;
  font-size: 16px;
  line-height: 1.5;
}

.hc-ftr__title {
  margin: 0 0 16px;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #332019 !important;
}

.hc-ftr__address {
  margin: 0 0 14px;
  font-style: normal;
  font-size: 16px;
  line-height: 1.6;
}

.hc-ftr__contact {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.7;
}

.hc-ftr__contact a:hover,
.hc-ftr__legal a:hover {
  color: #fff;
}

.hc-ftr__more {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 2px solid #D36226;
  font-size: 15px;
  font-weight: 600;
}

.hc-ftr__more:hover {
  color: #fff !important;
}

.hc-ftr__facts {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  line-height: 1.5;
}

.hc-ftr__facts li {
  padding: 7px 0;
  border-bottom: 1px solid rgba(51, 32, 25, .14);
}

.hc-ftr__facts li:first-child {
  padding-top: 0;
}

.hc-ftr__facts span {
  display: inline-block;
  min-width: 82px;
  font-weight: 700;
}

/* map: own picture (OpenStreetMap), click opens Google Maps – no live embed */
.hc-ftr__map {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  background: #7A979F;
  box-shadow: 0 10px 30px rgba(51, 32, 25, .15);
}

.hc-ftr__map--empty {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .16) 2px, transparent 2px) 0 0 / 46px 46px,
    linear-gradient(rgba(255, 255, 255, .16) 2px, transparent 2px) 0 0 / 46px 46px,
    linear-gradient(35deg, transparent 47%, rgba(255, 255, 255, .45) 47%, rgba(255, 255, 255, .45) 53%, transparent 53%),
    #7A979F;
}

.hc-ftr__map-img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  transition: transform .6s ease;
}

.hc-ftr__map:hover .hc-ftr__map-img {
  transform: scale(1.03);
}

/* our own map picture already has the pin drawn in */
.hc-ftr__map:not(.hc-ftr__map--empty) .hc-ftr__pin {
  display: none;
}

/* with the real map the "open in Google Maps" pill only shows on hover */
.hc-ftr__map:not(.hc-ftr__map--empty) .hc-ftr__map-label {
  top: auto;
  bottom: 12px;
  opacity: 0;
  transition: opacity .25s ease, background-color .2s ease, color .2s ease;
}

.hc-ftr__map:not(.hc-ftr__map--empty):hover .hc-ftr__map-label,
.hc-ftr__map:not(.hc-ftr__map--empty):focus-visible .hc-ftr__map-label {
  opacity: 1;
}

.hc-ftr__pin {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -100%);
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .3));
}

.hc-ftr__map-label {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff;
  color: #332019;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
  transition: background-color .2s ease, color .2s ease;
}

.hc-ftr__map:hover .hc-ftr__map-label {
  background: #D36226;
  color: #fff;
}

.hc-ftr__osm {
  margin: 8px 0 0;
  font-size: 11px;
  opacity: .75;
}

/* bottom bar */
.hc-ftr__bar {
  border-top: 1px solid rgba(51, 32, 25, .18);
}

.hc-ftr__bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 24px;
  box-sizing: border-box;
  font-size: 13px;
}

.hc-ftr__copy {
  margin: 0;
}

.hc-ftr__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-right: auto;
}

.hc-ftr__credit {
  opacity: .7;
}

.hc-ftr__social {
  display: flex;
  gap: 10px;
}

.hc-ftr__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(51, 32, 25, .3);
  border-radius: 50%;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.hc-ftr__social a:hover {
  border-color: #D36226;
  background: #D36226;
  color: #fff;
}

@media (max-width: 991px) {
  .hc-ftr__inner { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
}

@media (max-width: 575px) {
  .hc-ftr__inner { grid-template-columns: 1fr; gap: 36px; padding: 56px 16px 40px; }
  .hc-ftr__bar-inner { padding: 18px 16px 24px; }
}

/* ---------- Startseite: gleichmäßige Abstände ----------
   All home sections are white, so their paddings added up (up to 192px gaps).
   Now every gap between sections is 80px (40 + 40), 88px at the very top/bottom. */
.home .hc-story__inner {
  padding-top: 88px;
  padding-bottom: 40px;
}

.home .hc-rs {
  padding-top: 40px;
  padding-bottom: 40px;
}

.home .elementor > .e-con.e-grid > .e-con-inner {
  padding-top: 40px !important;
  padding-bottom: 40px !important;
}

.home .elementor > .e-con:last-child > .e-con-inner {
  padding-bottom: 88px !important;
}

@media (max-width: 767px) {
  .home .hc-story__inner { padding-top: 56px; padding-bottom: 28px; }
  .home .hc-rs { padding-top: 28px; padding-bottom: 28px; }
  .home .elementor > .e-con.e-grid > .e-con-inner { padding-top: 28px !important; padding-bottom: 28px !important; }
  .home .elementor > .e-con:last-child > .e-con-inner { padding-bottom: 56px !important; }
}

/* ---------- Menu panel in Graublau (management decision 23.11.) ----------
   Same colour as the footer: Graublau #8AA7AF with brown text.
   Overrides the dark version above (and the white header-over-photo state). */
html.hc-menu-open .hc-menu {
  background: #8AA7AF !important;
  color: #332019 !important;
}

html.hc-menu-open .hc-hdr__logo img {
  filter: none !important;
}

html.hc-menu-open .hc-hdr__toggle {
  background: rgba(51, 32, 25, .08) !important;
  color: #332019 !important;
}

html.hc-menu-open .hc-hdr__toggle:hover {
  background: rgba(51, 32, 25, .15) !important;
}

html.hc-menu-open .hc-lang__link {
  color: rgba(51, 32, 25, .65) !important;
}

html.hc-menu-open .hc-lang__link:hover,
html.hc-menu-open .hc-lang__link.is-active {
  color: #332019 !important;
}

html.hc-menu-open .hc-lang__sep {
  color: rgba(51, 32, 25, .4) !important;
}

.hc-menu .hc-menu__link,
.hc-menu .hc-menu__contact a,
.hc-menu .hc-menu__room {
  color: #332019 !important;
}

.hc-menu .hc-menu__link:hover,
.hc-menu .hc-menu__link:focus-visible,
.hc-menu .hc-menu__item.is-current > .hc-menu__link {
  color: #332019 !important;
}

.hc-menu .hc-menu__contact {
  border-top-color: rgba(51, 32, 25, .2);
  color: rgba(51, 32, 25, .75);
}

.hc-menu .hc-menu__label {
  color: #332019;
}

.hc-menu .hc-menu__room:hover,
.hc-menu .hc-menu__room:focus-visible {
  background: rgba(255, 255, 255, .18);
}

.hc-menu .hc-menu__thumb {
  background-color: rgba(255, 255, 255, .25);
}

.hc-menu .hc-menu__rsize {
  color: rgba(51, 32, 25, .7);
}

.hc-menu .hc-menu__room:hover .hc-menu__thumb,
.hc-menu .hc-menu__room:focus-visible .hc-menu__thumb {
  box-shadow: 0 6px 16px rgba(51, 32, 25, .25);
}

.hc-menu .hc-menu__room--all {
  border-color: rgba(51, 32, 25, .35);
}
