/* ==========================================================================
   Hotel Sterr – Footer v2 (inc/footer-v2.php)
   Red brand footer, square corners, Futura PT + IvyPresto. Scoped to .sft*.
   Breakpoints: ≤1100px two columns, ≤767px one column.
   ========================================================================== */

.sft {
  --sft-red: var(--red, #BF402B);
  --sft-line: rgba(255, 255, 255, 0.28);
  --sft-soft: rgba(255, 255, 255, 0.82);
  --sft-sans: "futura-pt", "Futura", "Jost", sans-serif;
  --sft-serif: "ivypresto-display", "ivypresto-headline", "Playfair Display", Georgia, serif;
  position: relative;
  clear: both;
  background: var(--sft-red);
  color: #ffffff;
  font-family: var(--sft-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-hyphens: manual;
  hyphens: manual;
}

.sft *,
.sft *::before,
.sft *::after {
  box-sizing: border-box;
}

/* main.css sets * { hyphens: auto } – no hyphenation in the footer. */
.sft,
.sft * {
  -webkit-hyphens: manual;
  hyphens: manual;
}

.sft a,
.sft a:visited {
  color: #ffffff;
  text-decoration: none;
}

.sft a:hover,
.sft a:focus {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sft :focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

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

.sft li {
  margin: 0;
}

.sft img {
  max-width: 100%;
  height: auto;
}

.sft__wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* --------------------------------------------------------------------------
   Top row: logo left, greeting right
   -------------------------------------------------------------------------- */
.sft__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 32px;
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--sft-line);
}

.sft a.sft__logo {
  display: inline-block;
  line-height: 0;
}

.sft__logo img {
  width: auto;
  height: 84px;
  filter: brightness(0) invert(1);
}

.sft .sft__greeting {
  margin: 0;
  font-family: var(--sft-serif);
  font-size: 34px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.2;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   Contact panel (left column)
   -------------------------------------------------------------------------- */
.sft__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 30px 30px;
  background: rgba(0, 0, 0, 0.12);
}

.sft .sft__social {
  margin-top: auto;
  padding-top: 24px;
}

/* --------------------------------------------------------------------------
   "Wir stellen ein" badge on the Karriere menu item
   -------------------------------------------------------------------------- */
.sft__hiring {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 10px;
  padding: 4px 9px 4px 8px;
  background: #ffffff;
  color: var(--sft-red);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
  vertical-align: 2px;
  white-space: nowrap;
}

.sft__hiring-dot {
  position: relative;
  flex: none;
  width: 7px;
  height: 7px;
  background: #2f9e5b;
}

.sft__hiring-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #2f9e5b;
  animation: sft-pulse 1.8s ease-out infinite;
}

@keyframes sft-pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(2.8);
    opacity: 0;
  }
}

.sft .sft__menu a:hover .sft__hiring,
.sft .sft__menu a:focus .sft__hiring {
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   Columns
   -------------------------------------------------------------------------- */
.sft__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) auto;
  gap: 40px 48px;
  align-items: start;
  padding: 48px 0 56px;
}

.sft__brand {
  align-self: stretch;
}

.sft .sft__h {
  margin: 0 0 18px;
  font-family: var(--sft-sans);
  font-size: 13px;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
  color: #ffffff;
}

.sft .sft__address {
  margin: 0 0 10px;
  font-style: normal;
  font-size: 17px;
  line-height: 1.6;
  color: var(--sft-soft);
}

.sft a.sft__link--arrow {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--sft-line);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sft a.sft__link--arrow:hover,
.sft a.sft__link--arrow:focus {
  border-bottom-color: #ffffff;
  text-decoration: none;
}

.sft__list li {
  padding: 6px 0;
  font-size: 17px;
  line-height: 1.45;
  color: var(--sft-soft);
}

.sft__list--icons li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.sft__list--icons svg {
  flex: none;
  margin-top: 1px;
  color: #ffffff;
}

.sft__list a,
.sft .sft__menu a,
.sft .sft__address {
  overflow-wrap: anywhere;
  font-family: var(--sft-sans);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
}

.sft .sft__menu a {
  overflow-wrap: normal;
  color: var(--sft-soft);
  /* main.css: footer .menu-item a { font-weight: 300 !important } */
  font-weight: 400 !important;
}

.sft .sft__menu a:hover,
.sft .sft__menu a:focus {
  color: #ffffff;
}

/* Footer menu: one link per line on desktop. */
.sft__menu li {
  padding: 5px 0;
}

/* Awards: equal square tiles, logos centred. */
.sft ul.sft__awards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 120px));
  gap: 12px;
}

.sft__award {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #ffffff;
}

.sft__award > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.sft__award img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* HolidayCheck: blue badge (or its rating widget after cookie consent). */
.sft__award--hc {
  padding: 10px;
  background: #0058a2;
  overflow: visible;
}

.sft__award--hc > div {
  display: flex;
  justify-content: center;
  width: 100%;
}

.sft .sft__hc {
  display: block;
  width: 100%;
  max-width: 120px;
}

.sft__hc img {
  height: auto;
}

/* --------------------------------------------------------------------------
   Bottom bar
   -------------------------------------------------------------------------- */
.sft__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding: 20px 0 26px;
  border-top: 1px solid var(--sft-line);
}

.sft .sft__copy {
  margin: 0;
  font-size: 14px;
  color: var(--sft-soft);
}

/* Legal links + language switch in the bottom bar (footer "next"). */
.sft .sft__legal ul,
.sft ul.sft__lang {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sft .sft__legal {
  margin-right: auto;
  margin-left: 32px;
}

.sft .sft__legal li + li::before,
.sft .sft__lang li + li::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 12px;
  margin: 0 14px;
  background: var(--sft-line);
  vertical-align: -1px;
}

.sft .sft__legal a,
.sft .sft__lang a {
  display: inline-block;
  padding: 6px 0;
  color: var(--sft-soft);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

.sft .sft__legal a:hover,
.sft .sft__legal a:focus,
.sft .sft__lang a:hover,
.sft .sft__lang a:focus {
  color: #ffffff;
}

.sft .sft__lang a.is-current {
  color: #ffffff;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.sft__social {
  display: flex;
  gap: 10px;
}

.sft__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--sft-line);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.sft__social a:hover,
.sft__social a:focus {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--sft-red);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   ≤1100px: two columns
   -------------------------------------------------------------------------- */
@media screen and (max-width: 1100px) {
  .sft__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 48px;
  }

  .sft__col--awards {
    grid-column: 1 / -1;
  }

  .sft ul.sft__awards {
    grid-template-columns: repeat(4, minmax(0, 110px));
  }
}

/* --------------------------------------------------------------------------
   ≤767px: one column
   -------------------------------------------------------------------------- */
@media screen and (max-width: 767px) {
  /* Bottom bar: copyright, legal links and languages stacked. */
  .sft__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .sft .sft__legal {
    order: -1;
    margin: 0;
  }

  /* Wrapping links: spacing instead of dividers (no stray "|" at line start). */
  .sft .sft__legal ul {
    gap: 0 20px;
  }

  .sft .sft__legal li + li::before {
    display: none;
  }

  .sft .sft__lang li + li::before {
    margin: 0 12px;
  }

  .sft .sft__legal a,
  .sft .sft__lang a {
    padding: 8px 0;
    font-size: 15px;
  }

  .sft__wrap {
    padding: 0 20px;
  }

  .sft__top {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 0 28px;
  }

  .sft__logo img {
    height: 64px;
  }

  .sft .sft__greeting {
    font-size: 26px;
  }

  .sft__brand {
    padding: 24px 20px;
  }

  .sft__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    padding: 32px 0 40px;
  }

  .sft__list li,
  .sft__list a,
  .sft .sft__menu a,
  .sft .sft__address {
    font-size: 16px;
  }

  /* Menu: two columns of links instead of one long list. */
  .sft ul.sft__menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
  }

  .sft ul.sft__menu li.sft__menu-hiring {
    grid-column: 1 / -1;
  }

  .sft ul.sft__awards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .sft__award--hc {
    padding: 6px;
  }

  /* Keep the last row clear of the floating accessibility / scroll buttons. */
  .sft__bottom {
    padding-bottom: 96px;
  }
}

@media screen and (max-width: 340px) {
  .sft ul.sft__awards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .sft__social a {
    transition: none;
  }

  .sft__hiring-dot::after {
    animation: none;
    opacity: 0;
  }
}

/* ==========================================================================
   Footer "next" (preview): photo band + five columns + newsletter
   ========================================================================== */

/* Photo band with call to action */
.sft--next .sft__band {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 300px;
  background-color: #2b2522;
  background-image:
    linear-gradient(90deg, rgba(25, 18, 14, 0.78) 0%, rgba(25, 18, 14, 0.45) 45%, rgba(25, 18, 14, 0.1) 100%),
    var(--sft-band-img);
  /* Zoomed in and anchored left so the couple sits right of the headline. */
  background-position: 0 62%;
  background-size: 135% auto;
}

.sft--next .sft__band-inner {
  width: 100%;
  padding-top: 64px;
  padding-bottom: 64px;
}

.sft--next .sft__band-h {
  max-width: 560px;
  margin: 0;
  color: #ffffff;
  font-family: var(--sft-serif);
  font-size: 46px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: none;
}

.sft--next .sft__band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.sft--next a.sft__btn,
.sft--next a.sft__btn:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 15px 30px;
  border: 1px solid #ffffff;
  font-family: var(--sft-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.sft--next a.sft__btn--solid,
.sft--next a.sft__btn--solid:visited {
  border-color: var(--sft-red);
  background: var(--sft-red);
  color: #ffffff;
}

.sft--next a.sft__btn--solid:hover,
.sft--next a.sft__btn--solid:focus {
  border-color: #a33522;
  background: #a33522;
  color: #ffffff;
  text-decoration: none;
}

.sft--next a.sft__btn--ghost,
.sft--next a.sft__btn--ghost:visited {
  background: transparent;
  color: #ffffff;
}

.sft--next a.sft__btn--ghost:hover,
.sft--next a.sft__btn--ghost:focus {
  background: #ffffff;
  color: var(--sft-red);
  text-decoration: none;
}

/* Five columns with thin dividers */
.sft--next .sft__cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1.3fr);
  padding: 56px 0 48px;
}

.sft--next .sft__col {
  padding: 0 28px;
  border-left: 1px solid var(--sft-line);
}

.sft--next .sft__col:first-child {
  padding-left: 0;
  border-left: 0;
}

.sft--next .sft__col:last-child {
  padding-right: 0;
}

.sft--next .sft__logo img {
  height: 70px;
}

.sft--next .sft__address {
  margin: 20px 0 0;
  font-size: 16px;
}

.sft--next .sft__social {
  margin-top: 20px;
  padding-top: 0;
}

.sft--next .sft__list li,
.sft--next .sft__list a,
.sft--next .sft .sft__menu a,
.sft.sft--next .sft__menu a {
  font-size: 16px;
}

.sft--next .sft__menu li {
  padding: 4px 0;
}

/* "Wir stellen ein" badge on its own line under Karriere.
   (main.css makes footer menu links flex rows, which squeezed the badge.) */
.sft.sft--next .sft__menu-hiring > a {
  display: block;
}

.sft--next .sft__menu-hiring .sft__hiring {
  display: flex;
  width: max-content;
  margin: 6px 0 2px;
}

/* Newsletter is the last column again: no right padding. */
.sft--next .sft__col--newsletter {
  padding-right: 0;
}

/* Award bar: white logos left, social buttons right. */
.sft--next .sft__awardbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  padding: 28px 0;
  border-top: 1px solid var(--sft-line);
}

.sft--next .sft__awardbar-awards,
.sft--next .sft__awardbar-follow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
}

.sft--next .sft__awardbar .sft__h {
  margin: 0;
  white-space: nowrap;
}

.sft--next ul.sft__wlogos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sft--next .sft__wlogo {
  margin: 0;
  line-height: 0;
}

.sft--next .sft__wlogo a {
  display: block;
  opacity: 0.92;
  transition: opacity 0.2s;
}

.sft--next .sft__wlogo a:hover,
.sft--next .sft__wlogo a:focus {
  opacity: 1;
}

.sft--next .sft__wlogo img {
  display: block;
  width: auto;
  height: 68px;
}

/* HolidayCheck (external image / widget): turned white with a filter. */
.sft--next .sft__wlogo--hc {
  filter: grayscale(1) contrast(3);
  mix-blend-mode: screen;
}

.sft--next .sft__wlogo--hc img {
  width: 146px;
  height: auto;
}

.sft--next .sft__awardbar .sft__social {
  margin: 0;
  padding: 0;
}

/* Newsletter */
.sft--next .sft__nl-lead {
  margin: 0 0 14px;
  color: #ffffff;
  font-family: var(--sft-serif);
  font-size: 21px;
  font-style: italic;
  line-height: 1.3;
}

.sft--next .sft__nl-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}

.sft--next .sft__nl-form input[type="email"] {
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  color: #ffffff;
  font-family: var(--sft-sans);
  font-size: 16px;
}

.sft--next .sft__nl-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.75);
  opacity: 1;
}

.sft--next .sft__nl-form input[type="email"]:focus {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  outline: 2px solid #ffffff;
  outline-offset: 1px;
}

.sft--next .sft__nl-form button {
  min-height: 48px;
  margin: 0;
  padding: 12px 18px;
  border: 1px solid #ffffff;
  border-radius: 0;
  background: #ffffff;
  color: var(--sft-red);
  font-family: var(--sft-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.sft--next .sft__nl-form button:hover,
.sft--next .sft__nl-form button:focus {
  background: var(--sft-cream, #F8EEE6);
  color: #9a3320;
}

.sft--next .sft__nl-legal {
  margin: 12px 0 0;
  color: var(--sft-soft);
  font-size: 12px;
  line-height: 1.55;
}

.sft--next .sft__nl-legal a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ≤1100px: three columns, newsletter wide */
@media screen and (max-width: 1100px) {
  .sft--next .sft__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 40px;
  }

  .sft--next .sft__col:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .sft--next .sft__col:nth-child(2) {
    padding-right: 0;
  }

  .sft--next ul.sft__awards {
    grid-template-columns: repeat(4, 110px);
  }
}

/* ≤767px: one column */
@media screen and (max-width: 767px) {
  .sft--next .sft__band {
    min-height: 0;
    background-position: 55% center;
    background-size: cover;
    background-image:
      linear-gradient(180deg, rgba(25, 18, 14, 0.35) 0%, rgba(25, 18, 14, 0.75) 100%),
      var(--sft-band-img);
  }

  .sft--next .sft__band-inner {
    padding-top: 56px;
    padding-bottom: 48px;
  }

  .sft--next .sft__band-h {
    font-size: 34px;
  }

  .sft--next .sft__band-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .sft--next .sft__cols {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 34px;
    padding: 40px 0 36px;
  }

  .sft--next .sft__col,
  .sft--next .sft__col:nth-child(3) {
    padding: 0;
    border-left: 0;
  }

  .sft--next .sft__col + .sft__col {
    padding-top: 30px;
    border-top: 1px solid var(--sft-line);
  }

  .sft--next .sft__awardbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .sft--next .sft__awardbar-awards,
  .sft--next .sft__awardbar-follow {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .sft--next ul.sft__wlogos {
    gap: 18px 20px;
  }

  .sft--next .sft__wlogo img {
    height: 46px;
  }

  .sft--next .sft__wlogo--hc img {
    width: 100px;
    max-width: 100px;
    height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sft--next a.sft__btn,
  .sft--next .sft__nl-form button {
    transition: none;
  }
}
