/* ==========================================================================
   das flax hotels — homepage
   ========================================================================== */

@font-face {
  font-family: "HelveticaNormal";
  src: url("../fonts/HelveticaNormal.woff2") format("woff2"),
       url("../fonts/HelveticaNormal.woff") format("woff"),
       url("../fonts/HelveticaNormal.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}

:root {
  --theme-color: #969C7D;
  --title-color: #ffffff;
  --body-color: #D8DBDC;
  --body-bg: #020d18;
  --light-bg: #111c26;
  --light-border: #344452;
  --line-dark: #1a2d3e;
  --black-color: #020d18;
  --black-color3: #0F1013;
  --tertiary-color: #18232e;
  --light-color2: #111c26;
  --border-color: #4D4D4D;
  --smoke-color: #F8F8F8;
  --green-color: #54b352;
  --error-color: #EB5757;
  --muted: rgba(216, 219, 220, .62);
  --line: rgba(255, 255, 255, .12);

  --title-font: "HelveticaNormal", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body-font: "HelveticaNormal", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --main-container: 1680px;
  --gutter: 24px;
  --section-space: 120px;
  --header-h: 90px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}
@media (max-width: 991px) { :root { --section-space: 80px; --header-h: 76px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; overflow-x: clip; background: var(--body-bg) url("https://ederstudio.com/dasflax/wp-content/themes/memmingen/assets/img/body-bg_shape.png") repeat center; color: var(--body-color);
  font-family: var(--body-font); font-size: 16px; line-height: 26px; font-weight: 400;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color .3s; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p { margin: 0 0 18px; } p:last-child { margin-bottom: 0; }
[hidden] { display: none !important; }
::selection { background: var(--theme-color); color: #fff; }
:focus-visible { outline: 1px solid var(--theme-color); outline-offset: 3px; }

h1, h2, h3, h4 { font-family: var(--title-font); color: var(--title-color); font-weight: 700; margin: 0 0 15px; text-wrap: balance; }

.container {
  width: 100%; max-width: calc(var(--main-container) + var(--gutter) * 2); margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
@media (max-width: 575px) { :root { --gutter: 16px; } }
.space { padding-block: var(--section-space); position: relative; }

/* ---------- titles (from reference) ---------- */
.sub-title { display: inline-block; color: var(--theme-color); font-size: 18px; line-height: 32px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 10px; }
.sec-title { font-size: 40px; line-height: 1.3; font-weight: 500; letter-spacing: .02em; }
.sec-title strong { font-weight: 700; }
.large-title, .xl-title { font-weight: 900; text-transform: uppercase; color: var(--title-color); }
.large-title { font-size: 58px; line-height: 68px; }
.xl-title { font-size: 120px; line-height: 130px; }
.large-title strong, .xl-title strong, .medium-title strong {
  font-weight: 900; color: transparent;
  -webkit-text-stroke-width: 1px; -webkit-text-stroke-color: #fff;
}
.green-text-border { -webkit-text-stroke-color: var(--green-color) !important; }
@media (max-width: 1199px) { .sec-title { font-size: 36px; } .xl-title { font-size: 92px; line-height: 1.05; } .large-title { font-size: 48px; line-height: 1.15; } }
@media (max-width: 767px)  { .sec-title { font-size: 30px; } .xl-title { font-size: 60px; } .large-title { font-size: 38px; } .sub-title { font-size: 15px; line-height: 26px; } }
@media (max-width: 375px)  { .xl-title { font-size: 48px; } .large-title { font-size: 32px; } }

/* ---------- buttons (th-btn from reference) ---------- */
.th-btn {
  position: relative; z-index: 2; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 1px solid var(--theme-color); background: var(--theme-color); color: #fff;
  font-family: var(--body-font); font-size: 16px; font-weight: 500; line-height: 1; letter-spacing: 1px;
  padding: 18px 28px; border-radius: 8px; text-transform: uppercase; white-space: nowrap;
  transition: color .4s var(--ease), border-color .4s var(--ease);
}
.th-btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: #fff;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.th-btn:hover { color: var(--theme-color); border-color: #fff; }
.th-btn:hover::before { transform: scaleX(1); transform-origin: left; }
.th-btn.style2 { background: transparent; border-color: rgba(255, 255, 255, .5); }
.th-btn.style2:hover { color: var(--body-bg); }
.th-btn svg { width: 16px; height: 16px; }

/* ---------- header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 101; background: var(--body-bg); }
.header { position: fixed; z-index: 100; left: 0; right: 0; top: env(safe-area-inset-top, 0px); transition: background .4s, transform .5s var(--ease), border-color .4s; border-bottom: 1px solid transparent; }
.header.is-sticky { background: rgba(2, 13, 24, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.logo { display: block; flex: none; }
.logo img { width: 220px; height: auto; }
@media (max-width: 575px) { .logo img { width: 170px; } }
.main-menu { display: flex; gap: 40px; align-items: center; }
.main-menu > a, .main-menu .drop > a { font-size: 16px; color: #fff; text-transform: capitalize; padding-block: 30px; position: relative; }
.main-menu > a:hover, .main-menu .drop > a:hover, .main-menu a.is-active { color: var(--theme-color); }
.drop { position: relative; }
.drop > a::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); margin-left: 9px; vertical-align: 3px; }
.drop__menu { position: absolute; top: 100%; left: -24px; min-width: 280px; background: var(--black-color); border-top: 2px solid var(--theme-color); padding: 14px 0; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .35s var(--ease); }
.drop:hover .drop__menu, .drop:focus-within .drop__menu { opacity: 1; visibility: visible; transform: none; }
.drop__menu a { display: block; padding: 10px 24px; color: var(--body-color); }
.drop__menu a small { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.drop__menu a:hover { color: var(--theme-color); }
.header__right { display: flex; align-items: center; gap: 14px; }
.header__right .th-btn { padding: 16px 24px; }
.menu-toggle { display: none; width: 50px; height: 50px; border-radius: 8px; background: var(--theme-color); position: relative; }
.menu-toggle span { position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; transition: .4s var(--ease); }
.menu-toggle span:nth-child(1) { top: 18px; } .menu-toggle span:nth-child(2) { top: 24px; } .menu-toggle span:nth-child(3) { top: 30px; }
.menu-open .menu-toggle span:nth-child(1) { top: 24px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { top: 24px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 99; background: var(--black-color); display: flex; flex-direction: column; gap: 6px;
  padding: calc(var(--header-h) + 30px + env(safe-area-inset-top, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)) calc(30px + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px));
  clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .7s var(--ease), visibility .7s; }
.menu-open .mobile-menu { clip-path: inset(0); visibility: visible; }
.mobile-menu a { font-size: 18px; color: #fff; padding: 18px 0; border-bottom: 1px solid var(--tertiary-color); }
.mobile-menu a.sub { font-size: 16px; color: var(--body-color); padding-left: 18px; }
.mobile-menu .th-btn { margin-top: 24px; border-bottom: 0; }
@media (max-width: 1199px) { .main-menu { display: none; } .menu-toggle { display: block; } }
@media (max-width: 575px) { .header__right .th-btn { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: max(640px, 100svh); display: flex; align-items: flex-end; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2,13,24,.55) 0%, rgba(2,13,24,.25) 45%, var(--body-bg) 100%); }
.hero__inner { position: relative; z-index: 2; width: 100%; padding-top: calc(var(--header-h) + 60px); padding-bottom: 150px; text-align: center; }
.hero .sub-title { color: #fff; }
.hero .xl-title { margin: 6px 0 22px; }
.hero__text { max-width: 640px; margin: 0 auto; color: var(--body-color); font-size: 18px; line-height: 30px; }
.hero__locs { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 34px; }
/* outline button: white line, white lowercase text; hover fills white, text black, arrow slides in on the left */
.line-btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 0;
  border: 1px solid #fff; border-radius: 8px; color: #fff;
  padding: 17px 28px; font-size: 16px; line-height: 1; letter-spacing: 1px; text-transform: lowercase; white-space: nowrap;
  transition: color .45s var(--ease), gap .45s var(--ease), padding .45s var(--ease);
}
.line-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.line-btn svg { width: 0; height: 16px; opacity: 0; transform: translateX(-10px); transition: width .45s var(--ease), opacity .3s, transform .45s var(--ease); }
.line-btn:hover, .line-btn:focus-visible { color: #000; gap: 10px; }
.line-btn:hover::before, .line-btn:focus-visible::before { transform: scaleX(1); }
.line-btn:hover svg, .line-btn:focus-visible svg { width: 16px; opacity: 1; transform: none; }
@media (max-width: 480px) { .line-btn { width: 100%; justify-content: center; } }
.scroll-down { position: absolute; z-index: 3; left: 50%; bottom: 34px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: #fff; }
.scroll-down span.mouse { width: 26px; height: 42px; border: 1px solid rgba(255,255,255,.6); border-radius: 14px; position: relative; }
.scroll-down span.mouse::after { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--theme-color); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- booking (reference form styles) ---------- */
.booking { position: relative; z-index: 3; padding-top: 70px; }
.booking__box { background: var(--light-bg); border: 1px solid var(--light-border); border-radius: 10px; padding: 30px; }
.booking__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 30px; margin-bottom: 26px; }
.booking__head h2 { margin: 0; font-size: 28px; font-weight: 500; }
.booking__head p { margin: 0; color: var(--theme-color); letter-spacing: .2em; text-transform: uppercase; font-size: 14px; }
.booking__form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, .8fr); gap: 24px; align-items: end; }
.form-group { display: grid; min-width: 0; position: relative; }
.form-group label { display: block; color: rgba(255, 255, 255, .5); font-size: 15px; line-height: 22px; font-weight: 500; text-transform: uppercase; margin: 0 0 16px; }
.form-control {
  height: 56px; width: 100%; padding: 14px 45px 14px 25px; background: rgba(0, 0, 0, .1);
  border: 2px solid rgba(255, 255, 255, .4); border-radius: 5px;
  font: 400 16px/24px var(--body-font); color: #fff;
  outline: none; appearance: none; -webkit-appearance: none; transition: border-color .3s, background .3s;
}
.form-control::placeholder { color: rgba(128, 129, 130, .9); }
.form-control:focus { border-color: #fff; }
select.form-control { cursor: pointer; }
select.form-control option { background: var(--black-color); color: #fff; }
.form-group .ico { position: absolute; right: 25px; bottom: 20px; width: 16px; height: 16px; pointer-events: none; color: var(--body-color); }
.form-group.is-invalid .form-control { border-color: var(--error-color) !important; }
.booking__form .th-btn { height: 56px; width: 100%; padding: 16px 26px; }
.booking__msg { margin: 16px 0 0; font-size: 15px; color: var(--error-color); }
.booking__msg.is-ok { color: var(--theme-color); }
.booking__msg:empty { display: none; }
@media (max-width: 1199px) { .booking__form { grid-template-columns: 1fr 1fr; } .booking__form .form-group:first-child { grid-column: 1 / -1; } .booking__form .th-btn { grid-column: 1 / -1; } }
@media (max-width: 575px) { .booking__box { padding: 26px 18px; } .booking__form { grid-template-columns: 1fr; gap: 16px; } }

/* "Why Book Direct?" marquee */
.why { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 30px; margin-top: 34px; }
.why h3 { margin: 0; font-size: 18px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--theme-color); white-space: nowrap; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 14px; padding-right: 44px; color: #fff; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.marquee__item svg { width: 18px; height: 18px; fill: var(--theme-color); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 767px) { .why { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- journey line ---------- */
main { position: relative; }
.journey { position: absolute; left: 0; top: 0; width: 100%; z-index: 0; pointer-events: none; overflow: visible; }
.journey__track { fill: none; stroke: rgba(150, 156, 125, .28); stroke-width: 1; stroke-dasharray: 4 8; }
.journey__progress { fill: none; stroke: var(--theme-color); stroke-width: 1.5; }
.journey__node circle { fill: var(--body-bg); stroke: rgba(150, 156, 125, .5); stroke-width: 1; transition: fill .5s, stroke .5s; }
.journey__node.is-reached circle { fill: var(--theme-color); stroke: var(--theme-color); }
.journey__node text { fill: var(--muted); font: 12px var(--body-font); letter-spacing: .2em; text-transform: uppercase; }
.journey__dot { fill: var(--theme-color); }
.journey__halo { fill: var(--theme-color); opacity: .18; transform-box: fill-box; transform-origin: center; animation: halo 2.4s ease-out infinite; }
@keyframes halo { 0% { transform: scale(.4); opacity: .4; } 100% { transform: scale(1.6); opacity: 0; } }
main > section { position: relative; z-index: 1; }
@media (max-width: 767px) { .journey__node text { display: none; } }

/* ---------- about the group ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 90px; align-items: center; }
.about__img { position: relative; display: grid; grid-template-columns: 1fr .7fr; gap: 20px; align-items: end; }
.about__img figure { margin: 0; overflow: hidden; border-radius: 10px; background: var(--light-color2); }
.about__img figure:first-child { aspect-ratio: 4/5; }
.about__img figure:last-child { aspect-ratio: 3/4; margin-bottom: 22%; }
.about__img figure { position: relative; }
.about__img img { width: 100%; height: 124%; margin-top: -12%; object-fit: cover; transition: filter .6s var(--ease); }
.hover-img::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255, 255, 255, 0); border-radius: inherit; transition: border-color .5s var(--ease), inset .5s var(--ease); pointer-events: none; }
.hover-img img { will-change: transform; }
.hover-img:hover::after { inset: 14px; border-color: rgba(255, 255, 255, .7); }
.hover-img:hover img { filter: brightness(.82); }
.hover-img > img { scale: 1; transition: scale 1s var(--ease), filter .6s var(--ease); }
.hover-img:hover > img { scale: 1.07; }
.about__body .sec-title { margin-bottom: 24px; }
.locs { margin: 30px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.locs li { border-bottom: 1px solid var(--line); }
.locs a { display: grid; grid-template-columns: 170px 1fr auto; gap: 20px; align-items: center; padding: 20px 0; }
.locs small { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--theme-color); }
.locs b { color: #fff; font-weight: 500; font-size: 20px; }
.locs svg { width: 22px; height: 22px; color: #fff; transition: transform .4s var(--ease), color .3s; }
.locs a:hover svg { transform: translateX(6px); color: var(--theme-color); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.stats div { display: grid; gap: 4px; }
.stats b { font-size: 48px; line-height: 1; font-weight: 900; color: transparent; -webkit-text-stroke: 1px #fff; font-variant-numeric: tabular-nums; }
.stats span { font-size: 14px; color: var(--muted); }
@media (max-width: 991px) { .about { grid-template-columns: minmax(0, 1fr); gap: 50px; } }
@media (max-width: 575px) { .locs a { grid-template-columns: 1fr auto; } .locs small { grid-column: 1 / -1; } .stats b { font-size: 36px; } }

/* ---------- locations (tabs + journey between hotels) ---------- */
.locations { padding-top: var(--section-space); padding-bottom: var(--section-space); }
.locations__head { text-align: center; margin-bottom: 50px; }
.locations__stage { position: relative; z-index: 2; padding-block: 20px 30px; }
.route { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; margin-bottom: 26px; }
.route__tab { display: flex; align-items: center; gap: 14px; text-align: left; padding: 10px 0; color: var(--muted); transition: color .4s; }
.route__tab:last-child { flex-direction: row-reverse; text-align: right; }
.route__tab i { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--theme-color); position: relative; transition: background .4s; }
.route__tab i::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--theme-color); transform: scale(0); transition: transform .4s var(--ease); }
.route__tab b { display: block; font-size: 22px; font-weight: 700; color: inherit; text-transform: uppercase; letter-spacing: .02em; line-height: 1.2; }
.route__tab small { display: block; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; }
.route__tab[aria-selected="true"] { color: #fff; }
.route__tab[aria-selected="true"] i::after { transform: scale(1); }
.route__line { position: relative; height: 22px; }
.route__line::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px dashed rgba(150, 156, 125, .5); }
.route__fill { position: absolute; left: 0; top: 50%; height: 1px; margin-top: -.5px; width: 0; background: var(--theme-color); }
.route__plane { position: absolute; top: 50%; left: 0; width: 22px; height: 22px; margin: -11px 0 0 -11px; color: var(--theme-color); }
.route__plane svg { width: 100%; height: 100%; }

.panels { display: grid; }
.panel { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 70px; align-items: center; opacity: 0; visibility: hidden; }
.panel.is-active { opacity: 1; visibility: visible; }
.panel__img { position: relative; margin: 0; overflow: hidden; border-radius: 10px; background: var(--light-color2); height: clamp(320px, calc(100vh - var(--header-h) - 190px), 640px); }
.panel__img img { width: 100%; height: 100%; object-fit: cover; }
.panel__badge { position: absolute; left: 20px; top: 20px; background: var(--theme-color); color: #fff; padding: 9px 16px; border-radius: 48px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.panel__body { min-width: 0; }
.panel__body .large-title { margin-bottom: 18px; font-size: clamp(34px, 3.3vw, 50px); line-height: 1.1; }
.panel__body > p { margin-bottom: 0; }
.panel__body > p { max-width: 560px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 22px 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.facts img { grid-row: span 2; width: 36px; height: 36px; object-fit: contain; }
.facts div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
.facts dt { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--theme-color); }
.facts dd { margin: 2px 0 0; color: #fff; grid-column: 2; }
.facts dt { grid-column: 2; }
.services { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
.services li { border: 1px solid var(--border-color); border-radius: 48px; padding: 8px 18px; font-size: 14px; color: var(--body-color); }
.panel__actions { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 991px) {
  .panel { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .panel__img { height: auto; aspect-ratio: 4/3; }
  .route { grid-template-columns: 1fr 1fr; gap: 10px 16px; }
  .route__line { grid-column: 1 / -1; grid-row: 2; }
  .route__tab b { font-size: 16px; }
}
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } .facts div:nth-child(even) { padding-left: 0; border-left: 0; } .route__tab small { font-size: 11px; letter-spacing: .1em; } }

/* ---------- go green (values from the reference site) ---------- */
.go-green { background: var(--light-bg) url("https://ederstudio.com/dasflax/wp-content/themes/memmingen/assets/img/go-green-tree.png") no-repeat 100% 100% / 30% auto; border-block: 1px solid var(--light-border); }
.go-green .title-area { margin-bottom: 40px; }
.go-green .sub-title { text-transform: capitalize; margin-bottom: 15px; }
.go-green .xl-title { margin-bottom: 20px; }
.go-green .sec-title strong { -webkit-text-stroke-color: var(--green-color); }
.green-row { width: 66.666%; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.feature-card { position: relative; overflow: hidden; text-align: center; min-height: 350px; padding: 60px 44px; border-radius: 10px; background: rgba(255, 255, 255, .1); border-bottom: 2px solid var(--green-color); }
.feature-shape { position: absolute; inset: 0; background: url("https://ederstudio.com/dasflax/wp-content/themes/memmingen/assets/img/go-green-bg.png") center / cover no-repeat; opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.feature-card:hover .feature-shape { opacity: 1; transform: none; }
.box-icon { position: relative; z-index: 3; width: 138px; height: 138px; margin: 0 auto 20px; border-radius: 99px; background: var(--light-bg); display: grid; place-items: center; }
.box-icon img { width: 70px; height: 80px; object-fit: contain; transition: transform .4s ease-in-out; }
.feature-card:hover .box-icon img { transform: rotateY(180deg); }
.box-text { position: relative; z-index: 3; margin: 0; font-size: 20px; line-height: 30px; color: var(--body-color); }
@media (max-width: 1399px) { .green-row { width: 76%; } .feature-card { padding: 50px 26px; } .box-text { font-size: 18px; line-height: 28px; } }
@media (max-width: 1199px) { .go-green { background-size: 34% auto; } .green-row { width: 100%; } .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .feature-card:last-child { grid-column: 1 / -1; } .go-green { padding-bottom: 300px; background-position: 100% 100%; } }
@media (max-width: 767px) { .feature-grid { grid-template-columns: minmax(0, 1fr); } .feature-card { min-height: 0; padding: 44px 24px; } .go-green { background-size: 70% auto; padding-bottom: 280px; } .box-text { font-size: 18px; line-height: 28px; } }

/* ---------- footer (values from the reference site) ---------- */
.footer { position: relative; z-index: 1; background: var(--black-color); }
.footer-logo { position: relative; text-align: center; padding-top: 0px; }
.footer-logo::before, .footer-logo::after { content: ""; position: absolute; top: 0; height: 2px; width: calc(50% - 110px); background: var(--theme-color); }
.footer-logo::before { left: 0; } .footer-logo::after { right: 0; }
.footer-logo a { display: inline-block; position: relative; background: var(--black-color); padding-inline: 30px; }
.footer-logo img { width: 110px; height: auto; display: block; margin-top: 1px; }
.widget-area { padding-top: 100px; padding-bottom: 50px; }
.footer-cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 40px; }
.footer-widget { position: relative; margin-bottom: 50px; min-width: 0; }
.footer-line::before { content: ""; position: absolute; top: 0; right: -60px; width: 1px; height: 100%; min-height: 220px; background: var(--line-dark); }
.footer-widget .widget_title { position: relative; font-size: 20px; line-height: 1; font-weight: 500; color: var(--theme-color); text-transform: uppercase; margin: 0 0 32px; padding-bottom: 20px; }
.footer-widget .widget_title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 50px; height: 3px; background: var(--theme-color); }
.footer-widget ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.footer-widget li, .footer-widget a { color: var(--body-color); }
.footer-widget a:hover { color: var(--theme-color); }
.copyright-wrap { border-top: 1px solid var(--line-dark); padding-block: 22px calc(22px + env(safe-area-inset-bottom, 0px)); }
.copyright-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 30px; }
.copyright-text { margin: 0; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 26px; }
.footer-links a:hover { color: var(--theme-color); }
@media (max-width: 1199px) { .footer-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 60px; } .footer-line:nth-child(2n)::before { display: none; } .footer-line::before { right: -30px; } }
@media (max-width: 575px) { .footer-cols { grid-template-columns: minmax(0, 1fr); } .footer-line::before { display: none; } .footer-widget { padding-bottom: 30px; border-bottom: 1px solid var(--line-dark); margin-bottom: 30px; } .footer-widget:last-child { border-bottom: 0; } .footer-logo::before, .footer-logo::after { width: calc(50% - 75px); } }

/* ---------- footer: Follow us (info-box style from the reference contact widget) ---------- */
.social-list { gap: 16px !important; }
.info-box { display: inline-flex; align-items: center; gap: 12px; color: var(--body-color); }
.info-box .box-icon { flex: none; width: 40px; height: 40px; margin: 0; border: 1px solid var(--body-color); border-radius: 50%; display: grid; place-items: center; background: transparent; color: var(--body-color); transition: .4s; }
.info-box .box-icon svg { width: 18px; height: 18px; }
.info-box:hover { color: var(--theme-color); }
.info-box:hover .box-icon { background: var(--theme-color); border-color: var(--theme-color); color: #fff; }

/* ---------- find us (map) ---------- */
.find-us { padding-block: 100px; }
.find-us__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 60px; align-items: stretch; }
.find-us__info { display: flex; flex-direction: column; min-width: 0; }
.find-us__lead { max-width: 520px; margin-bottom: 30px; }
.loc-cards { display: grid; gap: 16px; margin-top: auto; }
.loc-card { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; padding: 26px; border-radius: 10px; background: var(--light-bg); border: 1px solid var(--light-border); cursor: pointer; transition: border-color .4s var(--ease), background .4s var(--ease); }
.loc-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 0 0 10px 10px; background: var(--theme-color); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.loc-card:hover, .loc-card.is-active { border-color: rgba(150, 156, 125, .6); }
.loc-card.is-active::after { transform: scaleX(1); }
.loc-card__num { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--theme-color); color: var(--theme-color); font-weight: 700; font-size: 15px; transition: .4s; }
.loc-card.is-active .loc-card__num { background: var(--theme-color); color: #fff; }
.loc-card h3 { font-size: 22px; font-weight: 700; text-transform: uppercase; margin: 0 0 10px; }
.loc-card__addr { display: flex; gap: 8px; align-items: flex-start; color: #fff; margin: 0 0 6px; }
.loc-card__addr svg { flex: none; width: 18px; height: 18px; margin-top: 4px; color: var(--theme-color); }
.loc-card__note { color: var(--muted); font-size: 15px; margin: 0 0 14px; }
.loc-card__dir { display: inline-flex; align-items: center; gap: 8px; color: var(--theme-color); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.loc-card__dir svg { width: 18px; height: 18px; }
.loc-card__dir:hover { color: #fff; }

.find-us__map { position: relative; min-width: 0; display: flex; flex-direction: column; border-radius: 10px; overflow: hidden; border: 1px solid var(--light-border); background: var(--light-bg); }
.map-tabs { position: absolute; z-index: 500; top: 16px; left: 16px; right: 16px; display: flex; flex-wrap: wrap; gap: 8px; pointer-events: none; }
.map-tab { pointer-events: auto; padding: 10px 18px; border-radius: 48px; background: rgba(2, 13, 24, .85); border: 1px solid var(--light-border); color: var(--body-color); font-size: 14px; letter-spacing: .04em; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: .3s; }
.map-tab:hover { border-color: var(--theme-color); color: #fff; }
.map-tab[aria-pressed="true"] { background: var(--theme-color); border-color: var(--theme-color); color: #fff; }
.map { flex: 1; min-height: 580px; width: 100%; background: linear-gradient(rgba(150, 156, 125, .6), rgba(150, 156, 125, .6)), var(--black-color); }
.map-hint { position: absolute; z-index: 500; left: 50%; bottom: 16px; transform: translateX(-50%); margin: 0; padding: 6px 14px; border-radius: 48px; background: rgba(2, 13, 24, .85); color: var(--muted); font-size: 13px; white-space: nowrap; pointer-events: none; transition: opacity .4s; }
.map-hint.is-hidden { opacity: 0; }

/* leaflet dark skin */
/* map background rgba(150,156,125,.6); dark tiles are screen-blended on top so roads and labels stay readable */
.map.leaflet-container { isolation: isolate; background: linear-gradient(rgba(150, 156, 125, .6), rgba(150, 156, 125, .6)), var(--black-color); }
.map .leaflet-tile-pane { mix-blend-mode: screen; }
.map .leaflet-control-zoom { border: 1px solid var(--light-border) !important; border-radius: 8px; overflow: hidden; margin: 0 16px 16px 0 !important; }
.map .leaflet-control-zoom a { background: rgba(2, 13, 24, .9) !important; color: #fff !important; border-color: var(--light-border) !important; width: 38px !important; height: 38px !important; line-height: 36px !important; }
.map .leaflet-control-zoom a:hover { background: var(--theme-color) !important; }
.map .leaflet-control-attribution { background: rgba(2, 13, 24, .75) !important; color: var(--muted) !important; font-size: 10px; }
.map .leaflet-control-attribution a { color: var(--body-color) !important; }
.df-marker { width: 46px; height: 58px; }
.df-marker__pin { position: absolute; left: 50%; top: 0; width: 42px; height: 42px; margin-left: -21px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--light-bg); border: 2px solid var(--theme-color); box-shadow: 0 10px 24px rgba(0, 0, 0, .5); transition: background .3s; }
.df-marker__num { position: absolute; left: 0; right: 0; top: 11px; text-align: center; color: #fff; font: 700 14px/20px var(--body-font); }
.df-marker.is-active .df-marker__pin { background: var(--theme-color); }
.df-marker__pulse { position: absolute; left: 50%; bottom: 0; width: 18px; height: 8px; margin-left: -9px; border-radius: 50%; background: rgba(150, 156, 125, .5); animation: mpulse 2s ease-out infinite; }
@keyframes mpulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
.map .leaflet-popup-content-wrapper { background: var(--black-color); color: var(--body-color); border: 1px solid var(--light-border); border-radius: 10px; box-shadow: 0 20px 40px rgba(0, 0, 0, .6); }
.map .leaflet-popup-tip { background: var(--black-color); border: 1px solid var(--light-border); }
.map .leaflet-popup-content { margin: 16px 18px; font: 14px/22px var(--body-font); }
.map .leaflet-popup-content b { display: block; color: #fff; font-size: 16px; text-transform: uppercase; margin-bottom: 4px; }
.map .leaflet-popup-content a { color: var(--theme-color); }
.map .leaflet-container a.leaflet-popup-close-button { color: var(--muted); }
.route-label { background: rgba(2, 13, 24, .9); border: 1px solid var(--light-border); color: var(--body-color); border-radius: 48px; padding: 4px 12px; font: 12px var(--body-font); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; box-shadow: none; }
.route-label::before { display: none; }

/* ==========================================================================
   INNER PAGES (Gallery, Contact)
   ========================================================================== */
.text-center { text-align: center; }
.uppercase { text-transform: uppercase; }
.sub-title2 { position: relative; display: inline-flex; align-items: center; gap: 16px; color: var(--theme-color); font-size: 16px; line-height: 26px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 15px; }
.sub-title2::before, .sub-title2::after { content: ""; width: 40px; height: 1px; background: currentColor; }

/* page banner (reference .header-banner) */
.page-banner { position: relative; overflow: hidden; min-height: clamp(520px, 78vh, 880px); display: flex; align-items: center; padding-top: var(--header-h); }
.page-banner__media { position: absolute; inset: -10% 0 0; }
.page-banner__media img { width: 100%; height: 100%; object-fit: cover; }
.page-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2,13,24,.65) 0%, rgba(2,13,24,.45) 50%, var(--body-bg) 100%); }
.page-banner .container { position: relative; z-index: 2; }
.page-banner .title-area { text-align: center; }
.page-banner .xl-title { margin: 0 0 18px; }
.crumbs { display: inline-flex; gap: 12px; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.crumbs a { color: #fff; }
.crumbs a:hover { color: var(--theme-color); }

/* gallery */
.gallery-intro { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 40px; margin-bottom: 60px; }
.lead-text { max-width: 560px; margin: 0; font-size: 18px; line-height: 30px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filter { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 48px; color: #fff; font-size: 15px; letter-spacing: .04em; transition: .35s var(--ease); }
.filter sup { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.filter:hover { border-color: var(--theme-color); }
.filter[aria-pressed="true"] { background: var(--theme-color); border-color: var(--theme-color); }
.filter[aria-pressed="true"] sup { color: #fff; }
.gallery-group + .gallery-group { margin-top: 100px; }
.gallery-group__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 34px; }
.gallery-group__head .large-title { margin: 0; }
.masonry { columns: 3 320px; column-gap: 16px; }
.masonry__item { position: relative; display: block; overflow: hidden; break-inside: avoid; margin-bottom: 16px; border-radius: 10px; background: var(--light-bg); }
.masonry__item img { width: 100%; height: auto; display: block; }
.masonry__cap { position: absolute; z-index: 2; inset: auto 0 0 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; padding: 50px 20px 18px; background: linear-gradient(transparent, rgba(2, 13, 24, .9)); opacity: 0; transform: translateY(12px); transition: .5s var(--ease); }
.masonry__item:hover .masonry__cap, .masonry__item:focus-visible .masonry__cap { opacity: 1; transform: none; }
.masonry__cap b { color: #fff; font-weight: 500; }
.masonry__cap small { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--theme-color); }
@media (hover: none) { .masonry__cap { opacity: 1; transform: none; } }

/* CTA band */
.cta-band { position: relative; overflow: hidden; padding-block: 140px; text-align: center; }
.cta-band__media { position: absolute; inset: -15% 0 0; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: rgba(2, 13, 24, .72); }
.cta-band__inner { position: relative; z-index: 2; }

/* glightbox dark */
.glightbox-clean .gslide-description { background: var(--black-color) !important; }
.glightbox-clean .gslide-title { color: #fff !important; font-family: var(--body-font) !important; margin-bottom: 4px !important; }
.glightbox-clean .gslide-desc { color: var(--theme-color) !important; font-family: var(--body-font) !important; }
.goverlay { background: rgba(2, 13, 24, .94) !important; }

/* contact info box (reference .contact-info-area) */
.contact-info-area { position: relative; z-index: 3; margin-top: -170px; }
.contact-info { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; padding: 64px 48px; border-radius: 10px; background: var(--light-bg); border: 1px solid var(--light-border); }
.team-contact { display: flex; gap: 24px; min-width: 0; flex: 1; }
.team-contact .icon-btn { flex: none; width: 70px; height: 70px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .35); display: grid; place-items: center; color: var(--theme-color); transition: .4s; }
.team-contact .icon-btn svg { width: 26px; height: 26px; }
.team-contact:hover .icon-btn { background: var(--theme-color); border-color: var(--theme-color); color: #fff; }
.team-contact .media-body { min-width: 0; }
.team-contact .box-title { font-size: 24px; line-height: 34px; font-weight: 600; margin: 0 0 6px; }
.team-contact .box-text { font-style: normal; display: grid; gap: 4px; overflow-wrap: anywhere; }
@media (max-width: 400px) { .team-contact { flex-direction: column; } }
.team-contact .box-text b { color: #fff; font-weight: 500; display: block; }
.team-contact .box-text a:hover { color: var(--theme-color); }

/* contact map (full width) */
.contact-map-section { padding-bottom: var(--section-space); }
.contact-map { position: relative; overflow: hidden; border: 1px solid var(--light-border); border-radius: 10px; }
.map.leaflet-container { overflow: hidden; }
.contact-map .map { height: 600px; min-height: 0; }
.contact-map .map-tabs { left: 16px; right: 16px; top: 16px; }

/* hotel contacts (reference "Our Director" layout) */
.hotel-contacts .title-area { margin-bottom: 60px; }
.hc-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 70px; align-items: center; max-width: 1240px; margin: 0 auto; }
.hc-row + .hc-row { margin-top: 90px; }
.hc-row--rev .th-team { order: 2; }
.th-team { position: relative; }
.th-team__img { margin: 0; aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; background: var(--light-bg); position: relative; }
.th-team__img img { width: 100%; height: 120%; margin-top: -10%; object-fit: cover; }
.th-team .box-content { position: relative; margin: -60px 30px 0; padding: 26px 30px; background: var(--light-bg); border: 1px solid var(--light-border); border-radius: 10px; }
.th-team .box-title { font-size: 26px; font-weight: 700; margin: 0 0 4px; }
.th-team .box-desig { color: var(--theme-color); text-transform: uppercase; letter-spacing: .1em; font-size: 14px; }
.team-info-list { display: grid; }
.info-row { padding: 22px 0; border-bottom: 1px solid var(--light-border); }
.info-row:first-child { padding-top: 0; }
.info-row .box-title { position: relative; font-size: 17px; font-weight: 500; margin: 0 0 6px; padding-left: 14px; }
.info-row .box-title::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 2px; background: #fff; }
.info-row p { margin: 0; color: var(--theme-color); }
.info-row a:hover { color: #fff; }
.hc-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

@media (max-width: 1199px) {
  .contact-info { flex-direction: column; gap: 30px; padding: 44px 36px; }
  .hc-row { gap: 50px; }
}
@media (max-width: 991px) {
  .contact-info-area { margin-top: -40px; }
  .hc-row, .hc-row--rev { grid-template-columns: minmax(0, 1fr); }
  .hc-row--rev .th-team { order: 0; }
  .contact-map .map { height: 480px; }
  .gallery-group + .gallery-group { margin-top: 70px; }
  .cta-band { padding-block: 100px; }
}
@media (max-width: 575px) {
  .page-banner { min-height: 440px; }
  .sub-title2 { font-size: 13px; gap: 10px; letter-spacing: .14em; }
  .sub-title2::before, .sub-title2::after { width: 22px; }
  .contact-info { padding: 30px 20px; }
  .team-contact { gap: 16px; }
  .team-contact .icon-btn { width: 56px; height: 56px; }
  .team-contact .box-title { font-size: 20px; line-height: 28px; }
  .th-team .box-content { margin: -40px 14px 0; padding: 20px; }
  .th-team .box-title { font-size: 21px; }
  .filter { padding: 11px 16px; font-size: 14px; }
  .contact-map .map { height: 420px; }
  .hc-actions .th-btn { flex: 1 1 auto; }
  .crumbs { font-size: 12px; }
}

/* ---------- responsive refinements ---------- */
@media (max-width: 1399px) {
  .about { gap: 60px; }
  .panel { gap: 50px; }
}
@media (max-width: 1199px) {
  .find-us__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .loc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
  .map { min-height: 480px; }
  .route__tab b { font-size: 18px; }
}
@media (max-width: 991px) {
  .hero__inner { padding-bottom: 130px; }
  .booking { padding-top: 50px; }
  .locations__head { margin-bottom: 34px; }
  .find-us { padding-block: 80px; }
}
@media (max-width: 767px) {
  .loc-cards { grid-template-columns: minmax(0, 1fr); }
  .loc-card { padding: 20px; gap: 16px; }
  .loc-card h3 { font-size: 18px; }
  .map { min-height: 400px; }
  .map-tab { padding: 8px 14px; font-size: 13px; }
  .booking__head h2 { font-size: 24px; }
  .booking__head p { font-size: 12px; }
  .about__img { gap: 12px; }
  .panel__actions .th-btn { flex: 1 1 auto; }
  .why h3 { font-size: 15px; }
}
@media (max-width: 575px) {
  .hero .sub-title { font-size: 13px; letter-spacing: .14em; }
  .booking__box { padding: 22px 16px; }
  .route__tab small { font-size: 11px; }
  .footer-logo::before, .footer-logo::after { width: calc(50% - 70px); }
  .copyright-inner { flex-direction: column; align-items: flex-start; }
  .find-us { padding-block: 70px; }
}
@media (max-width: 380px) {
  .xl-title { font-size: 42px; }
  .large-title { font-size: 28px; line-height: 1.15; }
  .panel__body .large-title { font-size: 28px; }
  .route__tab b { font-size: 14px; }
  .map-tab { font-size: 12px; padding: 7px 12px; }
}
@media (hover: none) {
  .feature-card .feature-shape { opacity: .35; transform: none; }
}

/* ---------- flatpickr skin (theme colour, no gold) ---------- */
.flatpickr-calendar { background: var(--black-color) !important; border: 1px solid var(--border-color) !important; border-radius: 10px !important; box-shadow: 0 30px 60px -20px rgba(0,0,0,.8) !important; font-family: var(--body-font) !important; }
.flatpickr-calendar::before, .flatpickr-calendar::after { display: none !important; }
.flatpickr-months .flatpickr-month, .flatpickr-current-month input.cur-year, .flatpickr-current-month .flatpickr-monthDropdown-months { color: #fff !important; fill: #fff !important; background: transparent !important; }
.flatpickr-months .flatpickr-prev-month svg, .flatpickr-months .flatpickr-next-month svg { fill: var(--theme-color) !important; }
span.flatpickr-weekday { color: var(--muted) !important; background: transparent !important; }
.flatpickr-day { color: var(--body-color) !important; }
.flatpickr-day:hover { background: var(--tertiary-color) !important; border-color: var(--tertiary-color) !important; }
.flatpickr-day.flatpickr-disabled, .flatpickr-day.prevMonthDay, .flatpickr-day.nextMonthDay { color: rgba(216,219,220,.25) !important; }
.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange { background: var(--theme-color) !important; border-color: var(--theme-color) !important; color: #fff !important; }
.flatpickr-day.today { border-color: var(--theme-color) !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
