/* ==========================================================================
   Hotel Talents — Stylesheet
   ========================================================================== */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-vf.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-vf-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-vf.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  --cream: #f7f3ec;
  --sand: #efe7db;
  --sand-2: #e6dccd;
  --white: #fffdf9;
  --sage: #8d9967;
  --sage-light: #c9d0b0;
  --olive: #4a5531;
  --olive-deep: #2c331d;
  --ink: #1e1f1a;
  --muted: #6b6a60;
  --rose: #e9d6cb;
  --rose-deep: #c99a86;
  --line: rgba(30, 31, 26, 0.12);
  --line-strong: rgba(30, 31, 26, 0.22);
  --error: #a3402d;

  --f-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --f-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(88px, 12vw, 160px);
  --radius: 22px;
  --radius-lg: 32px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 84px;
  --shadow: 0 1px 2px rgba(44, 51, 29, 0.04), 0 12px 32px -12px rgba(44, 51, 29, 0.18);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html:not(.js) { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: clamp(16px, 0.5vw + 0.85rem, 18px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { margin: 0; font-weight: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--sage); color: var(--white); }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 600;
  background: var(--olive); color: var(--white); padding: 10px 16px; border-radius: 99px;
}
.skip-link:focus { top: 16px; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* soft paper grain */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 700; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Typography ---------- */
.serif { font-family: var(--f-serif); }
em, .it { font-family: var(--f-serif); font-style: italic; font-weight: 400; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--olive);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.h2 {
  font-family: var(--f-serif);
  font-weight: 380;
  font-size: clamp(2.2rem, 4.6vw, 3.9rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variation-settings: "SOFT" 100, "opsz" 144;
}
.h2 em { color: var(--sage); }
.lead { font-size: clamp(1.08rem, 1.3vw, 1.3rem); line-height: 1.6; color: var(--muted); }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--olive); color: var(--white);
  font-weight: 600; font-size: 0.98rem; letter-spacing: 0.01em;
  cursor: pointer;
  overflow: hidden; isolation: isolate;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), color 0.3s, background-color 0.3s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--olive-deep);
  transform: translateY(101%); border-radius: inherit;
  transition: transform 0.5s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(44, 51, 29, 0.55); }
.btn:hover::before { transform: none; }
.btn svg { width: 18px; height: 18px; transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--ghost { background: transparent; color: var(--olive); border-color: var(--line-strong); }
.btn--ghost::before { background: var(--sand); }
.btn--ghost:hover { box-shadow: none; }
.btn--light { background: var(--cream); color: var(--olive-deep); }
.btn--light::before { background: var(--white); }
.btn--sm { padding: 11px 20px; font-size: 0.9rem; }
.btn[disabled] { opacity: 0.6; pointer-events: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--olive);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.4s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color 0.5s var(--ease), box-shadow 0.5s var(--ease), height 0.5s var(--ease);
}
.site-header.is-scrolled {
  --header-h: 70px;
  background: rgba(247, 243, 236, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 46px; width: auto; transition: height 0.5s var(--ease); }
.site-header.is-scrolled .brand img { height: 38px; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 36px); }
.nav__links { display: flex; gap: clamp(18px, 2.4vw, 34px); }
.nav__links a { font-size: 0.95rem; font-weight: 500; color: var(--muted); transition: color 0.3s; position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--sage);
  transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }
.burger {
  display: none; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: var(--white); cursor: pointer; position: relative;
}
.burger span {
  position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink);
  transition: transform 0.45s var(--ease), top 0.45s var(--ease);
}
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 24px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .burger { display: block; }
  .nav .btn--sm { display: none; }
  .nav__links {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; gap: 6px; padding: var(--gutter);
    background: var(--cream);
    opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease), visibility 0.5s;
  }
  .nav__links a {
    font-family: var(--f-serif); font-size: clamp(2rem, 9vw, 2.8rem); color: var(--ink);
    transform: translateY(18px); opacity: 0; transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
  }
  .nav__links a::after { display: none; }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; }
  .nav.is-open .nav__links a { transform: none; opacity: 1; }
  .nav.is-open .nav__links li:nth-child(2) a { transition-delay: 0.05s; }
  .nav.is-open .nav__links li:nth-child(3) a { transition-delay: 0.1s; }
  .nav.is-open .nav__links li:nth-child(4) a { transition-delay: 0.15s; }
  .nav.is-open .nav__links li:nth-child(5) a { transition-delay: 0.2s; }
  .brand img { height: 40px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(40px, 8vh, 96px)) 0 clamp(64px, 9vw, 120px);
  overflow: hidden;
  isolation: isolate;
}
.blob {
  position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); pointer-events: none;
  animation: float 18s ease-in-out infinite alternate;
}
.blob--rose { width: 46vw; height: 46vw; right: -12vw; top: -14vw; background: rgba(233, 214, 203, 0.9); }
.blob--sage { width: 34vw; height: 34vw; left: -14vw; bottom: -10vw; background: rgba(201, 208, 176, 0.55); animation-duration: 22s; }
@keyframes float {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-3vw, 3vw, 0) scale(1.08); }
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.hero h1 {
  font-family: var(--f-serif);
  font-weight: 350;
  font-size: clamp(3rem, 7.6vw, 7rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-variation-settings: "SOFT" 100, "opsz" 144;
  margin: 24px 0 28px;
}
.hero h1 em { color: var(--sage); font-weight: 300; }
.hero .lead { max-width: 34ch; margin-bottom: 36px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 40px;
  font-size: 0.92rem; color: var(--muted);
}
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 18px; height: 18px; color: var(--sage); flex: none; }

/* Arch image */
.arch {
  position: relative;
  aspect-ratio: 4 / 5.2;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(160deg, var(--sand) 0%, var(--rose) 100%);
  box-shadow: var(--shadow);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch__placeholder {
  position: absolute; inset: 0; display: grid; place-items: center;
}
.arch__placeholder img { width: 42%; height: auto; opacity: 0.55; object-fit: contain; }
.hero__visual { position: relative; }
.hero__ring {
  position: absolute; width: 118%; aspect-ratio: 1; left: -9%; top: 50%;
  transform: translateY(-50%); pointer-events: none; z-index: -1;
}
.hero__ring circle {
  fill: none; stroke: var(--sage); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: 0.6;
  stroke-dasharray: 1; stroke-dashoffset: 0;
}
.js .hero__ring circle { stroke-dashoffset: 1; }
.js .is-loaded .hero__ring circle { animation: draw 2.6s 0.4s var(--ease) both; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.hero__badge {
  position: absolute; left: -28px; bottom: 12%;
  display: flex; align-items: center; gap: 12px;
  background: var(--white); border-radius: 999px; padding: 12px 20px 12px 12px;
  box-shadow: var(--shadow); font-size: 0.9rem; line-height: 1.3;
}
.hero__badge span:first-child {
  width: 40px; height: 40px; border-radius: 50%; background: var(--sage); color: var(--white);
  display: grid; place-items: center;
}
.hero__badge svg { width: 20px; height: 20px; }
.hero__badge strong { display: block; font-weight: 600; }

/* intro reveal of hero */
.js .hero-in { opacity: 0; transform: translateY(22px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .is-loaded .hero-in { opacity: 1; transform: none; }
.js .is-loaded .hero-in:nth-child(2) { transition-delay: 0.1s; }
.js .is-loaded .hero-in:nth-child(3) { transition-delay: 0.2s; }
.js .is-loaded .hero-in:nth-child(4) { transition-delay: 0.3s; }
.js .is-loaded .hero-in:nth-child(5) { transition-delay: 0.4s; }
.js .hero__visual .arch {
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  transition: opacity 1.2s var(--ease) 0.25s, transform 1.6s var(--ease) 0.25s;
}
.js .hero__visual .arch img { transform: scale(1.12); transition: transform 2.6s var(--ease) 0.25s; }
.js .is-loaded .hero__visual .arch { opacity: 1; transform: none; }
.js .is-loaded .hero__visual .arch img { transform: scale(1); }
.js .hero__badge { opacity: 0; transform: translateY(14px); transition: opacity 0.9s var(--ease) 1.2s, transform 0.9s var(--ease) 1.2s; }
.js .is-loaded .hero__badge { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 420px; margin: 0 auto; width: 88%; }
  .hero__badge { left: -12px; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); position: relative; }
.section--sand { background: var(--sand); }
.section__head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.section__head .eyebrow { margin-bottom: 20px; }
.section__head .h2 { margin-bottom: 20px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }

/* ---------- Benefits ---------- */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.benefit {
  background: var(--white); border-radius: var(--radius); padding: 32px 28px;
  box-shadow: 0 1px 0 var(--line);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.benefit:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.icon-bubble {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sand); color: var(--olive); margin-bottom: 26px;
  transition: background-color 0.5s, color 0.5s;
}
.benefit:hover .icon-bubble { background: var(--sage); color: var(--white); }
.icon-bubble svg { width: 24px; height: 24px; }
.benefit h3 { font-family: var(--f-serif); font-size: 1.35rem; font-weight: 450; margin-bottom: 10px; line-height: 1.2; }
.benefit p { color: var(--muted); font-size: 0.97rem; margin: 0; }
@media (max-width: 1024px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .benefits { grid-template-columns: 1fr; } }

/* ---------- Positions ---------- */
.positions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.position {
  position: relative; display: flex; flex-direction: column;
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px 26px; min-height: 250px; cursor: pointer; text-align: left;
  transition: transform 0.6s var(--ease), border-color 0.4s, background-color 0.4s, box-shadow 0.6s var(--ease);
}
.position:hover { transform: translateY(-6px); border-color: var(--sage); background: var(--white); box-shadow: var(--shadow); }
.position__num { font-family: var(--f-serif); font-style: italic; color: var(--sage); font-size: 1.1rem; }
.position h3 { font-family: var(--f-serif); font-size: 1.55rem; font-weight: 420; line-height: 1.15; margin: 18px 0 10px; }
.position h3 small { font-family: var(--f-sans); font-size: 0.8rem; color: var(--muted); font-weight: 500; letter-spacing: 0.04em; }
.position p { color: var(--muted); font-size: 0.97rem; margin: 0 0 22px; }
.position .link-arrow { margin-top: auto; }
@media (max-width: 1024px) { .positions { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .positions { grid-template-columns: 1fr; } .position { min-height: 0; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); position: relative; counter-reset: s; }
.steps::before {
  content: ""; position: absolute; top: 31px; left: 31px; right: 10%; height: 1px;
  background: repeating-linear-gradient(to right, var(--sage) 0 6px, transparent 6px 12px);
  opacity: 0.6;
}
.step { position: relative; padding-right: 24px; }
.step__num {
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); border: 1px solid var(--sage-light);
  font-family: var(--f-serif); font-size: 1.4rem; font-style: italic; color: var(--olive);
  margin-bottom: 26px; position: relative;
  transition: background-color 0.6s, color 0.6s, border-color 0.6s;
}
.step.is-visible .step__num { background: var(--sage); color: var(--white); border-color: var(--sage); transition-delay: var(--d, 0s); }
.step h3 { font-family: var(--f-serif); font-size: 1.3rem; font-weight: 450; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.95rem; margin: 0; }
@media (max-width: 1024px) {
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .steps::before { top: 0; bottom: 0; left: 31px; right: auto; width: 1px; height: auto;
    background: repeating-linear-gradient(to bottom, var(--sage) 0 6px, transparent 6px 12px); }
  .step { display: grid; grid-template-columns: 62px 1fr; gap: 0 22px; padding: 0; }
  .step__num { margin: 0; grid-row: span 2; }
  .step h3 { align-self: end; margin-top: 6px; }
}

/* ---------- Quote ---------- */
.quote-band {
  background: var(--olive); color: var(--cream);
  padding-block: clamp(88px, 11vw, 150px);
  text-align: center; position: relative; overflow: hidden; isolation: isolate;
}
.quote-band::before {
  content: ""; position: absolute; width: 60vw; aspect-ratio: 1; left: 50%; top: 50%;
  transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid rgba(247, 243, 236, 0.14); z-index: -1;
}
.quote-band blockquote { margin: 0 auto; max-width: 980px; }
.quote-band p {
  font-family: var(--f-serif); font-weight: 330;
  font-size: clamp(1.8rem, 3.8vw, 3.3rem); line-height: 1.18; letter-spacing: -0.015em;
  font-variation-settings: "SOFT" 100, "opsz" 144;
}
.quote-band p em { color: var(--sage-light); }
.quote-band footer { font-size: 0.85rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.75; }
.quote-band .quote__mark { width: 54px; margin: 0 auto 26px; opacity: 0.8; }

/* ---------- Application ---------- */
.apply__grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.form-card {
  background: var(--white); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 52px);
  box-shadow: var(--shadow);
}
.progress { margin-bottom: 36px; }
.progress__labels { display: flex; justify-content: space-between; gap: 8px; font-size: 0.85rem; color: var(--muted); margin-bottom: 12px; }
.progress__labels span.is-active { color: var(--olive); font-weight: 600; }
.progress__bar { height: 4px; border-radius: 99px; background: var(--sand); overflow: hidden; }
.progress__bar span { display: block; height: 100%; width: 33.3%; background: var(--sage); border-radius: inherit; transition: width 0.7s var(--ease); }

.fstep { border: 0; padding: 0; margin: 0; min-width: 0; }
.fstep legend { font-family: var(--f-serif); font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 420; margin-bottom: 6px; padding: 0; }
.fstep__intro { color: var(--muted); margin-bottom: 30px; }
.js .fstep { display: none; }
.js .fstep.is-active { display: block; animation: stepIn 0.6s var(--ease); }
.no-js-only { display: block; }
.js .no-js-only { display: none; }
@keyframes stepIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
html:not(.js) .fstep + .fstep { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line); }

.field { margin-bottom: 26px; }
.field > label, .field__label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 10px; }
.field__label small, .field > label small { font-weight: 400; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.input {
  width: 100%; padding: 15px 18px; border-radius: 14px;
  border: 1px solid var(--line-strong); background: var(--cream);
  transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
}
.input:hover { border-color: var(--sage); }
.input:focus { outline: none; border-color: var(--sage); background: var(--white); box-shadow: 0 0 0 4px rgba(141, 153, 103, 0.18); }
textarea.input { min-height: 120px; resize: vertical; }
.field.has-error .input, .field.has-error .chips { border-color: var(--error); }
.field__error { display: none; color: var(--error); font-size: 0.86rem; margin-top: 8px; }
.field.has-error .field__error { display: block; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; border: 1px solid transparent; border-radius: 16px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--cream);
  font-size: 0.95rem; transition: all 0.3s var(--ease); cursor: pointer; user-select: none;
}
.chip span::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--sage); transition: all 0.3s;
}
.chip:hover span { border-color: var(--sage); }
.chip input:checked + span { background: var(--olive); border-color: var(--olive); color: var(--white); }
.chip input:checked + span::before { background: var(--sage-light); border-color: var(--sage-light); }
.chip input:focus-visible + span { outline: 2px solid var(--olive); outline-offset: 3px; }

.dropzone {
  position: relative; display: flex; align-items: center; gap: 16px;
  border: 1.5px dashed var(--sage); border-radius: 18px; padding: 22px; background: var(--cream);
  transition: background-color 0.3s, border-color 0.3s; cursor: pointer;
}
.dropzone.is-over { background: rgba(201, 208, 176, 0.35); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone .icon-bubble { margin: 0; flex: none; background: var(--white); }
.dropzone strong { display: block; }
.dropzone small { color: var(--muted); }
.dropzone.has-file { border-style: solid; background: var(--white); }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.93rem; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--olive); flex: none; }
.check a { color: var(--olive); text-decoration: underline; }

.form-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 34px; }
.form-nav .btn--ghost { visibility: hidden; }
.form-nav.has-back .btn--ghost { visibility: visible; }
.form-status { margin-top: 18px; font-size: 0.93rem; color: var(--error); min-height: 1.4em; }
.form-fallback .field { margin-top: 12px; }
.form-fallback__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.form-nojs { font-size: 0.93rem; color: var(--muted); }
.form-nojs a { color: var(--olive); text-decoration: underline; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form-success { text-align: center; padding: clamp(24px, 4vw, 48px) 0; }
.form-success .icon-bubble { margin: 0 auto 24px; width: 72px; height: 72px; background: var(--sage); color: var(--white); }
.form-success .icon-bubble svg { width: 32px; height: 32px; }
.form-success h3 { font-family: var(--f-serif); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 400; margin-bottom: 12px; }

.side-card {
  border-radius: var(--radius-lg); padding: 34px 30px; background: var(--olive); color: var(--cream);
  position: relative; overflow: hidden; isolation: isolate;
}
.side-card::after {
  content: ""; position: absolute; width: 240px; height: 240px; right: -80px; bottom: -80px;
  border-radius: 50%; border: 1px solid rgba(247, 243, 236, 0.18); z-index: -1;
}
.side-card h3 { font-family: var(--f-serif); font-size: 1.7rem; font-weight: 400; line-height: 1.15; margin-bottom: 12px; }
.side-card p { color: rgba(247, 243, 236, 0.8); font-size: 0.97rem; }
.side-list { margin-top: 22px; display: grid; gap: 14px; }
.side-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; color: var(--muted); }
.side-list svg { width: 20px; height: 20px; color: var(--sage); flex: none; margin-top: 3px; }
.side-stack { display: grid; gap: 18px; position: sticky; top: calc(var(--header-h) + 24px); }
.side-plain { background: var(--white); border-radius: var(--radius-lg); padding: 28px 30px; box-shadow: 0 1px 0 var(--line); }
.side-plain h4 { font-family: var(--f-serif); font-size: 1.2rem; font-weight: 450; }
@media (max-width: 1024px) {
  .apply__grid { grid-template-columns: 1fr; }
  .side-stack { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) { .side-stack { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px 4px; font-family: var(--f-serif); font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 420;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-strong); flex: none; position: relative;
  transition: background-color 0.4s, border-color 0.4s, transform 0.5s var(--ease);
}
.faq summary .plus::before, .faq summary .plus::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--ink);
  transform: translate(-50%, -50%); transition: transform 0.4s var(--ease), background-color 0.4s;
}
.faq summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary .plus { background: var(--sage); border-color: var(--sage); transform: rotate(180deg); }
.faq details[open] summary .plus::before, .faq details[open] summary .plus::after { background: var(--white); }
.faq details[open] summary .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__body { overflow: hidden; }
.faq__body p { color: var(--muted); padding: 0 60px 26px 4px; margin: 0; }

/* ---------- Brands (Hovario) ---------- */
.brands-section { background: var(--olive-deep); color: var(--cream); }
.brands-section .eyebrow { color: var(--sage-light); }
.brands-section .h2 em { color: var(--sage-light); }
.brands-section .muted { color: rgba(247, 243, 236, 0.7); }
.brands-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 72px); }
.brands-head .h2 { margin: 20px 0 0; }
.hovario-mark { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.hovario-mark img { height: 56px; width: auto; }
.brands { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.brand-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--cream); color: var(--ink); border-radius: var(--radius); padding: 26px 22px 22px;
  min-height: 270px;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.brand-card:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.6); }
.brand-card__logo { height: 92px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.brand-card__logo img { max-height: 78px; max-width: 100%; width: auto; object-fit: contain; }
.brand-card h3 { font-family: var(--f-serif); font-size: 1.15rem; font-weight: 500; margin-bottom: 6px; }
.brand-card p { font-size: 0.9rem; color: var(--muted); margin: 0 0 16px; }
.brand-card .link-arrow { margin-top: auto; font-size: 0.9rem; }
.brand-card--current { background: var(--white); box-shadow: inset 0 0 0 2px var(--sage); }
.brand-card__badge {
  position: absolute; top: 14px; right: 14px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--sage); color: var(--white); padding: 5px 10px; border-radius: 99px;
}
@media (max-width: 1100px) { .brands { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .brands-head { grid-template-columns: 1fr; } .brands { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .brands { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band .h2 { max-width: 16ch; margin: 18px auto 22px; }
.cta-band .lead { max-width: 46ch; margin: 0 auto 34px; }
.cta-band .hero__ctas { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--sand); padding-block: 64px 36px; font-size: 0.93rem; color: var(--muted); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--line); }
.footer__grid img.logo { height: 56px; width: auto; margin-bottom: 18px; }
.footer__grid h4 { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--olive); font-weight: 600; margin-bottom: 14px; }
.footer__grid li { margin-bottom: 8px; }
.footer__grid a:hover { color: var(--ink); }
.footer__group { display: inline-flex; align-items: center; gap: 12px; margin-top: 6px; }
.footer__group img { height: 30px; width: auto; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; padding-top: 24px; font-size: 0.85rem; }
.footer__bottom nav { display: flex; gap: 22px; }
.footer__bottom a:hover { color: var(--ink); }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Legal ---------- */
.legal { padding: calc(var(--header-h) + clamp(56px, 8vw, 100px)) 0 var(--section); }
.legal .container { max-width: 860px; }
.legal h1 { font-family: var(--f-serif); font-weight: 380; font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1.05; margin: 20px 0 clamp(36px, 5vw, 60px); }
.legal h2 { font-family: var(--f-serif); font-weight: 480; font-size: 1.35rem; margin: 44px 0 12px; padding-top: 22px; border-top: 1px solid var(--line); }
.legal p, .legal li { color: #44443c; }
.legal ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1.1em; }
.legal li { margin-bottom: 0.4em; }
.legal a:not(.btn) { color: var(--olive); text-decoration: underline; }
.legal address { font-style: normal; }

/* ---------- Intro ---------- */
.intro { display: none; }
.js .intro {
  position: fixed; inset: 0; z-index: 800; display: grid; place-items: center; background: var(--cream);
  transition: transform 1.1s cubic-bezier(0.76, 0, 0.24, 1);
  animation: introFailsafe 0.6s 5s forwards;
}
.js.no-intro .intro { display: none; }
.intro.is-done { transform: translateY(-100%); }
.intro__inner {
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  transition: opacity 0.5s var(--ease), transform 1.1s var(--ease);
}
.intro.is-done .intro__inner { opacity: 0; transform: translateY(-50px); }
/* ht-Symbol zeichnet sich selbst: erst Kontur, dann Füllung */
.intro__symbol { width: clamp(104px, 11vw, 150px); height: auto; overflow: visible; }
.intro__symbol path {
  fill: var(--sage);
  fill-opacity: 0;
  stroke: var(--sage);
  stroke-width: 16;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: symDraw 1.05s 0.1s cubic-bezier(0.65, 0, 0.35, 1) forwards, symFill 0.6s 0.85s var(--ease) forwards;
}
@keyframes symDraw { to { stroke-dashoffset: 0; } }
@keyframes symFill { to { fill-opacity: 1; stroke-opacity: 0; } }
.intro__word {
  font-family: var(--f-serif); font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-weight: 450;
  text-transform: uppercase; letter-spacing: 0.6em; margin-right: -0.6em; color: var(--ink);
  opacity: 0;
  animation: wordIn 1s 0.75s var(--ease) forwards;
}
@keyframes wordIn { to { opacity: 1; letter-spacing: 0.32em; margin-right: -0.32em; } }
body.intro-running { overflow: hidden; }
@keyframes introFailsafe { to { opacity: 0; visibility: hidden; } }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: clamp(16px, 2.5vw, 32px); bottom: clamp(16px, 2.5vw, 32px); z-index: 90;
  width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255, 253, 249, 0.9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--olive); cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0.5s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top__ring circle { fill: none; stroke: var(--sage); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; }
.to-top__arrow { width: 18px; height: 18px; transition: transform 0.4s var(--ease); }
.to-top:hover .to-top__arrow { transform: translateY(-3px); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .blob { animation: none; }
}

html:not(.js) .js-only { display: none; }
.thanks { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 40px) var(--gutter) 80px; }
.thanks .icon-bubble { margin: 0 auto 26px; width: 76px; height: 76px; background: var(--sage); color: var(--white); }
.thanks .icon-bubble svg { width: 34px; height: 34px; }
.thanks h1 { font-family: var(--f-serif); font-weight: 380; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.05; margin-bottom: 16px; }
.thanks h1 em { color: var(--sage); }
.thanks p { max-width: 44ch; margin: 0 auto 32px; }

/* Offenes Mobile-Menü: backdrop-filter würde das fixed-Overlay auf die Header-Höhe begrenzen */
.site-header.menu-open {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: var(--cream);
  box-shadow: none;
  border-bottom-color: transparent;
}

/* ---------- Bilder neben Abschnittsköpfen ---------- */
.split-head {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.split-head .section__head { margin-bottom: 0; }
.split-media {
  margin: 0;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--sand-2);
  box-shadow: var(--shadow);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
/* Einschweben statt Aufdecken: Bild ist sofort komplett, bewegt sich nur sanft */
.js .reveal-media {
  opacity: 0;
  transform: translateY(36px) scale(0.97);
  transition: opacity 1.1s var(--ease), transform 1.4s var(--ease);
}
.js .reveal-media img { transform: scale(1.1); transition: transform 2.4s var(--ease); }
.js .reveal-media.is-visible { opacity: 1; transform: none; }
.js .reveal-media.is-visible img { transform: scale(1); }
@media (max-width: 900px) {
  .split-head { grid-template-columns: 1fr; }
}
/* Hero-Bild: Gesicht im Bogen halten */
.arch img { object-position: 50% 30%; }
